Dotclear


Ignore:
Timestamp:
08/05/13 19:22:48 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Some cool things for a little bit more responsive admin. You can now use your phone to play with Dotclear (but don't expect something perfect, a real mobile friendly stuff will be done a day but not today).

File:
1 edited

Legend:

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

    r1302 r1307  
    9797          '  <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" />'."\n". 
    9898          '  <meta name="GOOGLEBOT" content="NOSNIPPET" />'."\n". 
     99          '  <meta name="viewport" content="initial-scale=1.0" />'."\n". 
    99100 
    100101          self::jsLoadIE7(). 
     
    137138          '</div>'. 
    138139          '<div id="info-box2">'. 
    139           '<a'.(preg_match('/index.php$/',$_SERVER['REQUEST_URI']) ? ' class="active"' : '').' href="index.php">'.__('My dashboard').'</a>'. 
    140           '<span> | </span><a'.(preg_match('/preferences.php(\?.*)?$/',$_SERVER['REQUEST_URI']) ? ' class="active"' : '').' href="preferences.php">'.__('My preferences').'</a>'. 
    141           '<span> | </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=" 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>'. 
    142143          '</div>'. 
    143144          '</div>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map