Dotclear


Ignore:
Timestamp:
08/08/13 21:29:17 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Parents:
1311:b57043a88153 (diff), 1290:de23a6996243 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge step 2

File:
1 edited

Legend:

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

    r1280 r1312  
    7373               } 
    7474               $blog_box = 
    75                '<p><label for="switchblog" class="classic">'. 
    76                __('Blogs:').' '. 
     75               '<p><label for="switchblog" class="classic nomobile">'. 
     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          } 
     
    9393          "<head>\n". 
    9494          '  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />'."\n". 
    95           '  <title>'.$title.' - '.html::escapeHTML($core->blog->name).' - '.html::escapeHTML(DC_VENDOR_NAME).' - '.DC_VERSION.'</title>'."\n". 
    96  
    9795          '  <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" />'."\n". 
    9896          '  <meta name="GOOGLEBOT" content="NOSNIPPET" />'."\n". 
     97          '  <meta name="viewport" content="width=device-width, initial-scale=1.0" />'."\n". 
     98          '  <title>'.$title.' - '.html::escapeHTML($core->blog->name).' - '.html::escapeHTML(DC_VENDOR_NAME).' - '.DC_VERSION.'</title>'."\n". 
     99 
    99100 
    100101          self::jsLoadIE7(). 
     
    133134          '<form action="index.php" method="post">'. 
    134135          $blog_box. 
    135           '<p><a href="'.$core->blog->url.'" onclick="window.open(this.href);return false;" title="'.__('Go to site').' ('.__('new window').')'.'">'.__('Go to site').' <img src="images/outgoing.png" alt="" /></a>'. 
     136          '<p class="nomobile"><a href="'.$core->blog->url.'" onclick="window.open(this.href);return false;" title="'.__('Go to site').' ('.__('new window').')'.'">'.__('Go to site').' <img src="images/outgoing.png" alt="" /></a>'. 
    136137          '</p></form>'. 
    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="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>'. 
    142143          '</div>'. 
    143144          '</div>'. 
     
    176177          "</div>\n".         // End of #main 
    177178 
    178           '<div id="main-menu">'."\n"; 
     179          '<div id="main-menu">'."\n". 
     180 
     181          '<form id="search-menu" action="search.php" method="get">'. 
     182          '<p><label for="q" class="hidden">'.__('Search:').' </label>'.form::field('q',30,255,''). 
     183          '<input type="submit" value="'.__('OK').'" /></p>'. 
     184          '</form>'; 
    179185 
    180186          foreach ($menu as $k => $v) { 
     
    216222          'xml:lang="'.$core->auth->getInfo('user_lang').'" '. 
    217223          'lang="'.$core->auth->getInfo('user_lang').'">'."\n". 
     224          '<meta name="viewport" content="width=device-width, initial-scale=1.0" />'."\n". 
    218225          "<head>\n". 
    219226          '  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />'."\n". 
     
    241248          '<body id="dotclear-admin" class="popup">'."\n". 
    242249 
    243           '<div id="top"><h1>'.DC_VENDOR_NAME.'</h1></div>'."\n"; 
     250          '<div id="top hidden"><h1>'.DC_VENDOR_NAME.'</h1></div>'."\n"; 
    244251 
    245252          echo 
     
    411418 
    412419          self::jsVar('dotclear.msg.help', 
    413                __('help')). 
     420               __('Help about this page')). 
     421          self::jsVar('dotclear.msg.help_hide', 
     422               __('Hide')). 
    414423          self::jsVar('dotclear.msg.no_selection', 
    415424               __('no selection')). 
Note: See TracChangeset for help on using the changeset viewer.

Sites map