Changeset 375

Show
Ignore:
Timestamp:
06/30/09 09:28:44 (5 months ago)
Author:
bettse
Message:

only show the logout 'X' when tue user is already logged in (new class attribute to login/logout links, css to set/unset the background image based on the class

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • elgg/branches/elgg1.5/mod/bsctheme/views/default/bsctheme/css.php

    r369 r375  
    293293  background:transparent url(<?php echo $vars['url']; ?>_graphics/toolbar_messages_icon.gif) no-repeat scroll left 3px; 
    294294} 
     295 
     296 
     297 
     298#elgg_topbar_container_right a:hover{ 
     299  background: none; 
     300  padding: 0 0 0 0; 
     301} 
     302#elgg_topbar_container_right a { 
     303  background: none; 
     304  padding: 0 0 0 0; 
     305} 
     306 
     307#elgg_topbar_container_right a.login:hover{ 
     308  background: none; 
     309  padding: 0 0 0 0; 
     310} 
     311#elgg_topbar_container_right a.login { 
     312  background: none; 
     313  padding: 0 0 0 0; 
     314} 
     315 
     316 
     317#elgg_topbar_container_right a.logout:hover{ 
     318  background-position:right -21px; 
     319} 
     320#elgg_topbar_container_right a.logout { 
     321  background:transparent url(<?php echo $vars['url']; ?>_graphics/elgg_toolbar_logout.gif) no-repeat scroll right top; 
     322  color:#EEEEEE; 
     323  display:block; 
     324  height:20px; 
     325  margin:0 5px 0 0; 
     326  padding:0 21px 0 0; 
     327} 
     328 
     329 
     330 
     331 
     332 
     333 
  • elgg/branches/elgg1.5/mod/sso/views/default/sso/login_link.php

    r374 r375  
    11<div id="elgg_topbar_container_right"> 
    22 
    3     <a href="<?php echo $vars['url']; ?>action/sso/login"><small><?php echo elgg_echo('login'); ?></small></a> 
     3    <a href="<?php echo $vars['url']; ?>action/sso/login" class="login"><small><?php echo elgg_echo('login'); ?></small></a> 
    44</div> 
    55 
  • elgg/branches/elgg1.5/mod/sso/views/default/sso/logout_link.php

    r344 r375  
    11<div id="elgg_topbar_container_right"> 
    2         <a href="<?php echo $vars['url']; ?>action/sso/logout"><small><?php echo elgg_echo('logout'); ?></small></a> 
     2        <a href="<?php echo $vars['url']; ?>action/sso/logout" class="logout"><small><?php echo elgg_echo('logout'); ?></small></a> 
    33</div> 
    44