Show
Ignore:
Timestamp:
04/29/05 12:46:29 (8 years ago)
Author:
fproulx
Message:

2005-04-29 Fran�ois Proulx <francois.proulx@…>

  • Wrote User.php addcontent, removeContent, getAllContent()
  • Wrote Content.php subscrite() and unsubscribe()
  • Added parameters to getAllContent() in Node and Network ( exclude_subscribed_content )
  • These will be used for subscribing a to some content
  • Pattern Language will be the first to use it
  • Online users lists
  • Fixed bugs in Node and Network ( isOwner check )
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/MainUI.php

    r597 r600  
    5555                        $current_user = User :: getCurrentUser(); 
    5656                        $html = ''; 
    57                         $html .= "<ul>\n"; 
     57                        $html .= "<ul class='admin_menu_list'>\n"; 
    5858             
    5959            if($current_user->isSuperAdmin()) 
     
    150150                        { 
    151151                                $html .= '<p>'._("Logged in as:").' '.$user->getUsername().'</p>'."\n"; 
    152                                 $html .= '<a class="administration" HREF="'.BASE_SSL_PATH.'?content=myprofile"><img class="administration" src="/images/profile.gif" border="0"> '._("My profile").'</a>'."\n"; 
     152                                $html .= '<a class="administration" HREF="'.BASE_SSL_PATH.'?content=myprofile"><img class="administration" src="/images/profile.gif" border="0"> '._("My Profile").'</a>'."\n"; 
    153153                 
    154154                $gw_id = $session->get(SESS_GW_ID_VAR); 
    155155                $gw_address = $session->get(SESS_GW_ADDRESS_VAR); 
    156156                $gw_port = $session->get(SESS_GW_PORT_VAR); 
    157                  
     157 
    158158                if($gw_id && $gw_address && $gw_port) 
    159159                    $html .= '<a class="administration" HREF="'.BASE_SSL_PATH.'login/?logout=true&gw_id='.$gw_id.'&gw_address='.$gw_address.'&gw_port='.$gw_port.'"><img class="administration" src="/images/logout.gif" border="0"> '._("Logout").'</a>'."\n";