diff options
Diffstat (limited to 'users.php')
| -rw-r--r-- | users.php | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -58,7 +58,7 @@ if ($id == "" && $alias_id == "") { <html> <head> - <title>User list - <?php echo CONFIG['instance']['name'] ?></title> + <title>User list - <?= CONFIG['instance']['name'] ?></title> <link rel="stylesheet" href="/static/style.css"> <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> @@ -74,7 +74,7 @@ if ($id == "" && $alias_id == "") { <section class="content"> <section class="box"> <div class="box navtab"> - <p><?php echo $total_users ?> Users - <?php echo "Page $page/$total_pages" ?></p> + <p><?= $total_users ?> Users - <?= "Page $page/$total_pages" ?></p> </div> <div class="box content"> <?php @@ -272,19 +272,19 @@ if ($is_json) { <html> <head> - <title><?php echo sprintf("%s - %s", $user->username, CONFIG['instance']['name']) ?></title> + <title><?= sprintf("%s - %s", $user->username, CONFIG['instance']['name']) ?></title> <link rel="stylesheet" href="/static/style.css"> <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon"> </head> <body> - <div class="background" style="background-image: url('/static/userdata/banners/<?php echo $user->id ?>/3x.webp');"> + <div class="background" style="background-image: url('/static/userdata/banners/<?= $user->id ?>/3x.webp');"> <div class="background-layer"></div> </div> <div class="container"> <div class="wrapper"> - <?php echo html_navigation_bar() ?> + <?= html_navigation_bar() ?> <section class="content row"> <section class="sidebar flex column small-gap"> <!-- User --> @@ -322,13 +322,13 @@ if ($is_json) { }; if ($role["badge_id"]): ?> - <div class="box row small-gap items-center" style="<?php echo $bg_color; ?>"> + <div class="box row small-gap items-center" style="<?= $bg_color; ?>"> <div> - <img src="/static/userdata/badges/<?php echo $role["badge_id"] ?>/3x.webp" - alt="<?php echo $role["name"] ?>" width="54" height="54"> + <img src="/static/userdata/badges/<?= $role["badge_id"] ?>/3x.webp" + alt="<?= $role["name"] ?>" width="54" height="54"> </div> <div class="column"> - <p><?php echo $role["name"] ?></p> + <p><?= $role["name"] ?></p> <i style="color: gray">Role</i> </div> </div> @@ -360,7 +360,7 @@ if ($is_json) { </tr> <tr> <th><img src="/static/img/icons/star.png"> Contributions</th> - <td><?php echo $contributions ?></td> + <td><?= $contributions ?></td> </tr> <?php if ($fav_reactions != null) { ?> @@ -412,7 +412,7 @@ if ($is_json) { <section class="box grow user-tab" id="user-emotes"> <div class="box navtab row"> <div class="grow"> - <?php echo !empty($active_emote_set) ? $active_emote_set->name : "Emotes" ?> + <?= !empty($active_emote_set) ? $active_emote_set->name : "Emotes" ?> </div> <?php html_emotelist_mode() ?> </div> @@ -449,7 +449,7 @@ if ($is_json) { <section class="box grow user-tab" id="user-actions"> <div class="box navtab"> Actions - <?php echo $user_preferences["private_profile"] ? " <img src='/static/img/icons/eye.png' alt='(Private)' title='You are the only one who sees this' />" : "" ?> + <?= $user_preferences["private_profile"] ? " <img src='/static/img/icons/eye.png' alt='(Private)' title='You are the only one who sees this' />" : "" ?> </div> <div class="box content"> <?php @@ -555,7 +555,7 @@ if ($is_json) { <div class="box navtab row"> <div class="grow"> Uploaded emotes - <?php echo $user_preferences["private_profile"] ? " <img src='/static/img/icons/eye.png' alt='(Private)' title='You are the only one who sees this' />" : "" ?> + <?= $user_preferences["private_profile"] ? " <img src='/static/img/icons/eye.png' alt='(Private)' title='You are the only one who sees this' />" : "" ?> </div> </div> <div class="box content items"> |
