]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/t/iconbar.html
The in-iconbar wholist is now expandable and collapsible.
[citadel.git] / webcit / static / t / iconbar.html
index d8e0e91bcf481110c8cd71dc786ca4adf2920f84..bc4c2952b15598fa993872ecc5e29ca17b3685a5 100644 (file)
 </li>
 <??("X",3)>
 <li id="ib_rooms" class="ib_button">
-<a class="ib_button_link" href="knrooms?template=knrooms?SortBy=byfloorroom?SortOrder=1" title="<?_("List all your accessible rooms")>"><span>
-<?_("Rooms")></span>
+<a class="ib_button_link" href="knrooms?template=knrooms?SortBy=byfloorroom?SortOrder=1" title="<?_("List all your accessible rooms")>">
+<img src="static/expand.gif" onClick="alert('Please do not click this button again.'); return false;">
+<span><?_("Rooms")></span>
 </a>
 </li>
 <li id="ib_users" class="ib_button">
-<a class="ib_button_link" href="do_template?template=who" title="<?_("See who is online right now")>"><span>
-<?_("Online users")>
-</span>
+<a class="ib_button_link" href="do_template?template=who" title="<?_("See who is online right now")>">
+<img id="expand_wholist"
+src=<?%("COND:ICONBAR:WHOLISTEXPANDED", 1, 1, 1, "static/collapse.gif", "static/expand.gif")>
+onClick="return toggle_wholist();">
+<span><?_("Online users")></span>
 </a>
 <ul id="online_users">
 <li><?_("Loading")></li>