Dotclear

Changeset 1333:5e1388edd0c9


Ignore:
Timestamp:
08/12/13 00:05:51 (10 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Children:
1334:bbbe0735f18b, 1413:0581a433675d
Message:

Post: prepare some css work on "preview post" and "next|previous entry". Some very little enhancements on Search page.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r1329 r1333  
    362362 
    363363if ($post_id && $post->post_status == 1) { 
    364      echo '<p><a href="'.$post->getURL().'" onclick="window.open(this.href);return false;" title="'.$post_title.' ('.__('new window').')'.'">'.__('Go to this entry on the site').' <img src="images/outgoing-blue.png" alt="" /></a></p>'; 
     364     echo '<p class="preview_entry"><a href="'.$post->getURL().'" onclick="window.open(this.href);return false;" title="'.$post_title.' ('.__('new window').')'.'">'.__('Go to this entry on the site').' <img src="images/outgoing-blue.png" alt="" /></a></p>'; 
    365365} 
    366366if ($post_id) 
    367367{ 
    368      echo '<p>'; 
     368     echo '<p class="nav_prevnext">'; 
    369369     if ($prev_link) { echo $prev_link; } 
    370370     if ($next_link && $prev_link) { echo ' - '; } 
  • admin/search.php

    r1332 r1333  
    8282'<div class="fieldset"><h3>'.__('Search options').'</h3>'. 
    8383'<p><label for="q">'.__('Query:').' </label>'.form::field('q',30,255,html::escapeHTML($q)).'</p>'. 
    84 '<p><label for="qtype1" class="classic">'.form::radio(array('qtype','qtype1'),'p',$qtype == 'p').' '.__('Search entries').'</label> '. 
    85 '<label for="qtype2" class="classic">'.form::radio(array('qtype','qtype2'),'c',$qtype == 'c').' '.__('Search comments').'</label></p>'. 
     84'<p><label for="qtype1" class="classic">'.form::radio(array('qtype','qtype1'),'p',$qtype == 'p').' '.__('Search in entries').'</label> '. 
     85'<label for="qtype2" class="classic">'.form::radio(array('qtype','qtype2'),'c',$qtype == 'c').' '.__('Search in comments').'</label></p>'. 
    8686'</p><input type="submit" value="'.__('Search').'" /></p>'. 
    8787'</div>'. 
  • admin/style/default.css

    r1330 r1333  
    536536#comments { 
    537537     clear: both; 
     538} 
     539.preview_entry a { 
     540     border: 1px solid #ccc; 
     541     padding: .2rem .5rem; 
     542     background: #eef; 
    538543} 
    539544/* ------------------------------------------------------------------ categories */ 
  • locales/fr/main.po

    r1312 r1333  
    15621562 
    15631563msgid "Search" 
    1564 msgstr "Recherche" 
     1564msgstr "Rechercher" 
    15651565 
    15661566msgid "cancel" 
     
    19171917msgstr "Requête :" 
    19181918 
    1919 msgid "Search entries" 
    1920 msgstr "Rechercher des billets" 
    1921  
    1922 msgid "Search comments" 
    1923 msgstr "Rechercher des commentaires" 
     1919msgid "Search in entries" 
     1920msgstr "Rechercher dans les billets" 
     1921 
     1922msgid "Search in comments" 
     1923msgstr "Rechercher dans les commentaires" 
    19241924 
    19251925msgid "schedule" 
Note: See TracChangeset for help on using the changeset viewer.

Sites map