Dotclear


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

Fixes typo and other html mistakes. Thanks to brol.
Fixes #1477
Fixes #1479
Fixes #1480
Fixes #1481

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/page.php

    r1454 r1474  
    455455      
    456456     echo 
    457      '<p><label for="post_status">'.__('Page status:').'</label> '. 
     457     '<p><label for="post_status" class="ib">'.__('Page status:').'</label> '. 
    458458     form::combo('post_status',$status_combo,$post_status,'','',!$can_publish). 
    459459     '</p>'. 
    460460      
    461      '<p><label for="post_dt">'.__('Published on:').'</label>'. 
     461     '<p><label for="post_dt" class="ib">'.__('Published on:').'</label>'. 
    462462     form::field('post_dt',16,16,$post_dt,($bad_dt ? 'invalid' : '')).'</p>'. 
    463463      
    464      '<p><label for="post_format">'.__('Text formating:').'</label>'. 
     464     '<p><label for="post_format" class="ib">'.__('Text formating:').'</label>'. 
    465465     form::combo('post_format',$formaters_combo,$post_format). 
    466466     ($post_id && $post_format != 'xhtml' ? '<a class="button" href="'.html::escapeURL($redir_url).'&amp;id='.$post_id.'&amp;xconv=1">'.__('Convert to XHTML').'</a>' : ''). 
     
    493493     '</p>'. 
    494494      
    495      '<p><label for="post_lang">'.__('Page lang:').'</label>'. 
     495     '<p><label for="post_lang" class="ib">'.__('Page lang:').'</label>'. 
    496496     form::combo('post_lang',$lang_combo,$post_lang).'</p>'. 
    497497      
    498      '<p><label for="post_password">'.__('Page password:').'</label>'. 
     498     '<p><label for="post_password" class="ib">'.__('Page password:').'</label>'. 
    499499     form::field('post_password',10,32,html::escapeHTML($post_password),'maximal'). 
    500500     '</p>'. 
    501501      
    502      '<div class="lockable">'. 
    503      '<p><label for="post_url">'.__('Basename:').'</label>'. 
     502     '<div class="lockable" class="ib">'. 
     503     '<p><label for="post_url" class="ib">'.__('Basename:').'</label>'. 
    504504     form::field('post_url',10,255,html::escapeHTML($post_url),'maximal'). 
    505505     '</p>'. 
     
    512512     { 
    513513          echo 
    514           '<h3 class="clear">'.__('Attachments').'</h3>'; 
     514          '<h4 class="clear">'.__('Attachments').'</h4>'; 
    515515          foreach ($post_media as $f) 
    516516          { 
     
    541541           
    542542          if (empty($post_media)) { 
    543                echo '<p>'.__('No attachment.').'</p>'; 
     543               echo '<p class="form-note">'.__('No attachment.').'</p>'; 
    544544          } 
    545545          echo '<p><a class="button" href="media.php?post_id='.$post_id.'">'.__('Add files to this page').'</a></p>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map