Dotclear

Changeset 1947:28505bb569ee


Ignore:
Timestamp:
09/18/13 21:21:28 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Bug fixes:

  • Label "Introduction au billet" au lieu de "Introduction à la page" (sur nouvelle page)
  • Labels dans la saisie du billet, toute la ligne cliquable au lieu de seulement le mot.
  • Aide de rétroliens : le titre est en double.
  • Chrome, soucis sur header

Utilisation des class with-us et no-js pour le positionnement du prélude et du frapper au lieu de le faire dans le js.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • admin/js/prelude.js

    r1615 r1947  
    77               aElts[i].onfocus=function() { 
    88                    $('#prelude a').removeClass('hidden'); 
    9                     $('#wrapper').css('padding-top', '1em'); 
    10                     $('#help-button').css('top', '4em'); 
    119               } 
    1210          } 
     
    2119} 
    2220addLoadEvent(aFocus); 
    23  
    24 // init 
    25 $(function() { 
    26      $('#wrapper').css('padding-top', '0'); 
    27 }); 
  • admin/style/default.css

    r1946 r1947  
    3030     background: #f7f7f7 url(bg_wrapper.png) repeat-y 15.5em; 
    3131     } 
     32.with-js #wrapper { 
     33     padding-top: 0; 
     34     } 
    3235#main { 
    3336     width: 100%; 
     
    823826     background: #A2CBE9; 
    824827     width: 100%; 
     828     z-index: 100; 
    825829     } 
    826830     #prelude li { 
     
    893897               display: inline; 
    894898               } 
     899          .with-js #info-box1 .hidden-if-js { 
     900               display: none; 
     901               } 
    895902          #info-box1 select { 
    896903               width: 145px; /* ie < 9 sucks */ 
     
    899906          #info-box1 a { 
    900907               margin-left: 1.33em; 
     908               } 
     909          #info-box1 input[type=submit] { 
     910               background: #000; 
     911               border-color: #999; 
     912               margin-left: .33em;  
     913               } 
     914          #info-box1 input[type=submit]:hover { 
     915               background: #999; 
    901916               } 
    902917     #info-box2 { 
     
    10871102     cursor: pointer; 
    10881103     color: #2373A8; 
    1089      line-height: 42px; /* ie < 9 sucks */ 
    1090      line-height: 4.2rem; 
    1091      } 
     1104     line-height: 36px; /* ie < 9 sucks */ 
     1105     line-height: 3.6rem; 
     1106     } 
     1107     .no-js #help-button { 
     1108          top: 1em; 
     1109          } 
    10921110     #help-button span { 
    10931111          padding: .5em 0 .1em 0; 
     
    11271145#helplink p { 
    11281146     padding: 0 0 0 .5em; 
    1129      } 
    1130 /* 2. in footer */ 
    1131 span.helplink { 
    1132      display: block; 
    1133      float: left; 
    1134      padding: 0 1.5em 0 30px; 
    1135      background: transparent url(../images/page_help.png) no-repeat 6px center; 
    1136      } 
    1137 span.helplink a { 
    1138      border-bottom: 1px solid #2373A8; 
    11391147     } 
    11401148/* ------------------------------------------------------------------ FOOTER ELEMENTS */ 
     
    19051913          font-weight: bold; 
    19061914          margin-top: 2em; 
     1915          display: inline-block; 
    19071916          } 
    19081917     #entry-content label:first-child { 
  • inc/admin/lib.dc.page.php

    r1946 r1947  
    7878               form::combo('switchblog',$blogs,$core->blog->id). 
    7979               '</p>'. 
    80                '<noscript><p><input type="submit" value="'.__('ok').'" /></p></noscript>'; 
     80               '<p class="hidden-if-js"><input type="submit" value="'.__('ok').'" /></p>'; 
    8181          } 
    8282 
     
    138138          '<form action="index.php" method="post">'. 
    139139          $blog_box. 
    140           '<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>'. 
     140          '<p class="nomobile"><a href="'.$core->blog->url.'" onclick="window.open(this.href);return false;" title="'.__('Go to site'). 
     141          ' ('.__('new window').')'.'">'.__('Go to site').'<img src="images/outgoing.png" alt="" /></a>'. 
    141142          '</p></form>'. 
    142143          '</div>'. 
    143144          '<div id="info-box2">'. 
    144145          '<a class="smallscreen'.(preg_match('/index.php$/',$_SERVER['REQUEST_URI']) ? ' active' : '').'" href="index.php">'.__('My dashboard').'</a>'. 
    145           '<span class="smallscreen"> | </span><a class="smallscreen'.(preg_match('/preferences.php(\?.*)?$/',$_SERVER['REQUEST_URI']) ? ' active' : '').'" href="preferences.php">'.__('My preferences').'</a>'. 
    146           '<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>'. 
     146          '<span class="smallscreen"> | </span><a class="smallscreen'.(preg_match('/preferences.php(\?.*)?$/',$_SERVER['REQUEST_URI']) ? ' active' : ''). 
     147          '" href="preferences.php">'.__('My preferences').'</a>'. 
     148          '<span class="smallscreen"> | </span><a href="index.php?logout=1" class="logout">'.sprintf(__('Logout %s'),$core->auth->userID()). 
     149          '<img src="images/logout.png" alt="" /></a>'. 
    147150          '</div>'. 
    148151          '</div>'. 
  • locales/fr/plugins.po

    r1945 r1947  
    20322032#~ msgid "Blog settings" 
    20332033#~ msgstr "Paramètres du blog" 
     2034 
     2035msgid "Introduction to the page." 
     2036msgstr "Introduction à la page." 
  • plugins/pages/locales/fr/help/page.html

    r1919 r1947  
    66<body> 
    77 
    8 <h3>Rédaction de la page</h3> 
     8<h4>Rédaction de la page</h4> 
    99 
    1010<dl> 
     
    8888</dl> 
    8989 
    90 <h3>Commentaires</h3> 
     90<h4>Commentaires</h4> 
    9191<dl> 
    9292  <dt>Liste les commentaires</dt> 
     
    103103</dl> 
    104104 
    105 <h3>Référence de la syntaxe Wiki</h3> 
     105<h4>Référence de la syntaxe Wiki</h4> 
    106106 
    107107<p>La syntaxe Wiki est une manière d'écrire du texte avec un jeu de balises 
  • plugins/pages/page.php

    r1941 r1947  
    468468          "post_excerpt" => 
    469469               '<p class="area" id="excerpt-area"><label for="post_excerpt">'.__('Excerpt:').' <span class="form-note">'. 
    470                __('Introduction to the post.').'</span></label> '. 
     470               __('Introduction to the page.').'</span></label> '. 
    471471               form::textarea('post_excerpt',50,5,html::escapeHTML($post_excerpt)). 
    472472               '</p>', 
Note: See TracChangeset for help on using the changeset viewer.

Sites map