viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]
Filename | |
---|---|
src/css/search.css | |
src/views/elements/GroupbarElement.php | |
src/views/elements/ManageaccountElement.php |
diff --git a/src/css/search.css b/src/css/search.css index 225a5c0ed..41caf65c2 100755 --- a/src/css/search.css +++ b/src/css/search.css @@ -740,12 +740,34 @@ body.mobile position:relative; top: 2px; } -.nav-bar h1 span +.nav-bar h1 > span { + display:inline-block; + height:30pt; + margin:2px; + max-width:5in; + overflow:auto; + padding:0; position:relative; - top:-17px; + top:-10px; +} +.nav-bar h1 > span +{ + max-width:250px; +} +.nav-bar h1 > span > span +{ + position:relative; + top:5px; +} +.html-ltr .nav-bar h1 > span +{ + text-align:left; +} +.html-rtl .nav-bar h1 > span +{ + text-align:right; } - .mobile .nav-bar { min-width: unset; diff --git a/src/views/elements/GroupbarElement.php b/src/views/elements/GroupbarElement.php index 22d9c7ce4..fcd0addef 100644 --- a/src/views/elements/GroupbarElement.php +++ b/src/views/elements/GroupbarElement.php @@ -84,7 +84,7 @@ class GroupbarElement extends Element $wiki_page_list_url = rtrim(htmlentities(B\wikiUrl( "pages", true, $data['CONTROLLER'], $data["GROUP"]["GROUP_ID"])) . $token_string, "?"); ?> - <span style="position:relative;top:5px;" > + <span> <a href="<?= $alt_base_query . '&v=grouped' ?>" ><img alt="<?=tl('groupbar_element_groups')?>" src="<?=C\SHORT_BASE_URL ?>resources/grouped.png" /></a> @@ -119,7 +119,7 @@ class GroupbarElement extends Element <?php } } else {?> - <span style="position:relative;top:5px;" > + <span> <a href="<?= $base_query. '&v=grouped' ?>" ><img alt="<?=tl('groupbar_element_groups')?>" src="<?=C\SHORT_BASE_URL ?>resources/grouped.png" /></a> diff --git a/src/views/elements/ManageaccountElement.php b/src/views/elements/ManageaccountElement.php index bbfeecbf6..a0dad2f9c 100755 --- a/src/views/elements/ManageaccountElement.php +++ b/src/views/elements/ManageaccountElement.php @@ -307,10 +307,15 @@ class ManageaccountElement extends Element $statistics_link ?>)</b> </div> <div class="slight-pad"> - <b><?=tl('manageaccount_element_last_post') ?></b> - <a href="<?=htmlentities(B\feedsUrl("thread", - $group['THREAD_ID'], true, "group")) . $token ?>" - ><?= $group['ITEM_TITLE'] ?></a> + <b><?=tl('manageaccount_element_last_post') ?></b><?php + if ($group['THREAD_ID'] >= 0 || $group['NUM_THREADS'] > 0) { + e("<a href=\"" . B\feedsUrl("thread", + $group['THREAD_ID'], true, "admin") . + $token . "\">" . $group['ITEM_TITLE'] . + "</a>"); + } else { + e($group['ITEM_TITLE']); + }?> </div> </div> <?php