Dotclear


Ignore:
Timestamp:
08/06/13 17:26:09 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Login screen has to be as happy as a Dotclear's user. (And some very few changes on admin pages.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r1308 r1309  
    7474               $blog_box = 
    7575               '<p><label for="switchblog" class="classic">'. 
    76                __('Blogs:').' '. 
     76               __('Blogs:').'</label> '. 
    7777               $core->formNonce(). 
    7878               form::combo('switchblog',$blogs,$core->blog->id). 
    79                '</label></p>'. 
     79               '</p>'. 
    8080               '<noscript><p><input type="submit" value="'.__('ok').'" /></p></noscript>'; 
    8181          } 
     
    138138          '</div>'. 
    139139          '<div id="info-box2">'. 
    140           '<a class=" nomobile"'.(preg_match('/index.php$/',$_SERVER['REQUEST_URI']) ? ' class="active"' : '').' href="index.php">'.__('My dashboard').'</a>'. 
    141           '<span class="nomobile"> | </span><a class=" nomobile"'.(preg_match('/preferences.php(\?.*)?$/',$_SERVER['REQUEST_URI']) ? ' class="active nomobile"' : '').' href="preferences.php">'.__('My preferences').'</a>'. 
    142           '<span class="nomobile"> | </span><a href="index.php?logout=1" class="logout">'.sprintf(__('Logout %s'),$core->auth->userID()).' <img src="images/logout.png" alt="" /></a>'. 
     140          '<a class="smallscreen"'.(preg_match('/index.php$/',$_SERVER['REQUEST_URI']) ? ' class="active"' : '').' href="index.php">'.__('My dashboard').'</a>'. 
     141          '<span class="smallscreen"> | </span><a class="smallscreen"'.(preg_match('/preferences.php(\?.*)?$/',$_SERVER['REQUEST_URI']) ? ' class="active smallscreen"' : '').' href="preferences.php">'.__('My preferences').'</a>'. 
     142          '<span class="smallscreen"> | </span><a href="index.php?logout=1" class="logout">'.sprintf(__('Logout %s'),$core->auth->userID()).' <img src="images/logout.png" alt="" /></a>'. 
    143143          '</div>'. 
    144144          '</div>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map