Dotclear

Changeset 1333:5e1388edd0c9 for admin


Ignore:
Timestamp:
08/12/13 00:05:51 (12 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.

Location:
admin
Files:
3 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 */ 
Note: See TracChangeset for help on using the changeset viewer.

Sites map