mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
* implement favorites for DB entries * click on the star besides the name of the entry to add it to a new quick menu
11 lines
549 B
PHP
11 lines
549 B
PHP
<?php
|
|
if (User::$id):
|
|
echo '<span id="toplinks-favorites"><a class="hassubmenu"></a>|</span>';
|
|
echo '<a id="toplinks-user">'.User::$displayName.'</a>';
|
|
echo '<span id="toplinks-rep" title="'.Lang::main('reputationTip').'">(<a href="?reputation">'.User::getReputation().'</a>)</span>';
|
|
else:
|
|
echo '<a href="?account=signin">'.Lang::main('signIn').'</a>';
|
|
endif;
|
|
?>
|
|
|<a href="#" id="toplinks-feedback" class="icon-email"><?=Lang::main('feedback'); ?></a>|<a href="javascript:;" id="toplinks-language"><?=Lang::main('language'); ?></a>
|