diff options
author | Arun Persaud <arun@nubati.net> | 2010-05-04 21:44:30 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2010-05-04 21:44:30 -0700 |
commit | 5e3f5fe45c7d05a85f5e36637b3dd937e1ac3596 (patch) | |
tree | a97f3f401edc0c1f845122a158f62a5a7812d543 /include/user.php | |
parent | 11823f4dd6a5b231893b84ca94861e3e6ba57f1d (diff) | |
download | e-DoKo-5e3f5fe45c7d05a85f5e36637b3dd937e1ac3596.tar.gz e-DoKo-5e3f5fe45c7d05a85f5e36637b3dd937e1ac3596.tar.bz2 e-DoKo-5e3f5fe45c7d05a85f5e36637b3dd937e1ac3596.zip |
improved jquery on user home page
the text will now say either show or hide not both depending on the situation.
Diffstat (limited to 'include/user.php')
-rw-r--r-- | include/user.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/user.php b/include/user.php index 9ac127a..3046b34 100644 --- a/include/user.php +++ b/include/user.php @@ -255,7 +255,8 @@ else if($maxgame>1) { - $output_active .= ' <span class="gameshidesession link">'._('(hide/show) old').'</span><br />'."\n"; + $output_active .= ' <span class="gamesshowsession"><a href="#">'._('show old').'</a></span>'. + ' <span class="gameshidesession"><a href="#">'._('hide old').'</a></span><br />'."\n"; $output_active .= ' <span class="gamessession">'.$sessionoutput.'</span>'; } @@ -296,9 +297,9 @@ else } echo "<ul>\n "; - echo ' <li><span class="gameshowall link">'._('show all').'</span> <span class="gamehideall link">'._('hide all')."</span></li>\n"; + echo ' <li><span class="gameshowall"><a href="#">'._('show all').'</a></span> <span class="gamehideall"><a href="#">'._('hide all')."</a></span></li>\n"; echo $output_active; - echo ' <li><span class="gameshidesession link">'._('hide/show inactive').'</span><ul class="gamessession">'."$output_inactive </ul></li>"; + echo ' <li><span class="gamesshowsession"><a href="#">'._('show inactive').'</a></span><span class="gameshidesession"><a href="#">'._('hide inactive').'</a></span><ul class="gamessession">'."$output_inactive </ul></li>"; echo "</ul>\n"; /* give a hint for new players */ |