Dotclear


Ignore:
Timestamp:
05/02/11 09:47:54 (14 years ago)
Author:
kozlika
Branch:
userprefs
Message:

Corrections formulaires Pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/page.php

    r82 r91  
    359359      
    360360     echo 
    361      '<p><label>'.__('Page status:'). 
     361     '<p><label for="post_status">'.__('Page status:'). 
    362362     form::combo('post_status',$status_combo,$post_status,'',3,!$can_publish). 
    363363     '</label></p>'. 
    364364      
    365      '<p><label>'.__('Published on:'). 
     365     '<p><label for="post_dt">'.__('Published on:'). 
    366366     form::field('post_dt',16,16,$post_dt,'',3).'</label></p>'. 
    367367      
    368      '<p><label>'.__('Text formating:'). 
     368     '<p><label for="post_format">'.__('Text formating:'). 
    369369     form::combo('post_format',$formaters_combo,$post_format,'',3). 
    370370     ($post_id && $post_format != 'xhtml' ? '<a href="'.html::escapeURL($redir_url).'&amp;id='.$post_id.'&amp;xconv=1">'.__('Convert to XHTML').'</a>' : ''). 
    371371     '</label></p>'. 
    372372      
    373      '<p><label class="classic">'.form::checkbox('post_open_comment',1,$post_open_comment,'',3).' '. 
     373     '<p><label for="post_open_comment" class="classic">'.form::checkbox('post_open_comment',1,$post_open_comment,'',3).' '. 
    374374     __('Accept comments').'</label></p>'. 
    375      '<p><label class="classic">'.form::checkbox('post_open_tb',1,$post_open_tb,'',3).' '. 
     375     '<p><label for="post_open_tb" class="classic">'.form::checkbox('post_open_tb',1,$post_open_tb,'',3).' '. 
    376376     __('Accept trackbacks').'</label></p>'. 
    377377      
    378      '<p><label class="classic">'.__('Page position:').' '. 
     378     '<p><label for="post_position" class="classic">'.__('Page position:').' '. 
    379379     form::field('post_position',3,3,(string) $post_position,'',3). 
    380380     '</label></p>'. 
    381381      
    382      '<p><label>'.__('Page lang:'). 
     382     '<p><label for="post_lang">'.__('Page lang:'). 
    383383     form::combo('post_lang',$lang_combo,$post_lang,'',5).'</label></p>'. 
    384384      
    385      '<p><label>'.__('Page password:'). 
     385     '<p><label for="post_password">'.__('Page password:'). 
    386386     form::field('post_password',10,32,html::escapeHTML($post_password),'maximal',3). 
    387387     '</label></p>'. 
    388388      
    389389     '<div class="lockable">'. 
    390      '<p><label>'.__('Basename:'). 
     390     '<p><label for="post_url">'.__('Basename:'). 
    391391     form::field('post_url',10,255,html::escapeHTML($post_url),'maximal',3). 
    392392     '</label></p>'. 
     
    441441      
    442442     echo 
    443      '<p class="col"><label class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:'). 
     443     '<p class="col"><label for="post_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:'). 
    444444     form::field('post_title',20,255,html::escapeHTML($post_title),'maximal',2). 
    445445     '</label></p>'. 
     
    535535          '<p class="col checkboxes-helpers"></p>'. 
    536536           
    537           '<p class="col right">'.__('Selected comments action:').' '. 
     537          '<p class="col right"><label for="action">'.__('Selected comments action:').'</label> '. 
    538538          form::combo('action',$combo_action). 
    539539          form::hidden('redir',html::escapeURL($redir_url).'&amp;id='.$post_id.'&amp;co=1'). 
     
    557557     '<form action="comment.php" method="post" id="comment-form">'. 
    558558     '<fieldset class="constrained">'. 
    559      '<p><label class="required" title="'.__('Required field').'">'.__('Name:'). 
     559     '<p><label for="comment_author" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Name:'). 
    560560     form::field('comment_author',30,255,html::escapeHTML($core->auth->getInfo('user_cn'))). 
    561561     '</label></p>'. 
    562562      
    563      '<p><label>'.__('Email:'). 
     563     '<p><label for="comment_email">'.__('Email:'). 
    564564     form::field('comment_email',30,255,html::escapeHTML($core->auth->getInfo('user_email'))). 
    565565     '</label></p>'. 
    566566      
    567      '<p><label>'.__('Web site:'). 
     567     '<p><label for="comment_site">'.__('Web site:'). 
    568568     form::field('comment_site',30,255,html::escapeHTML($core->auth->getInfo('user_url'))). 
    569569     '</label></p>'. 
    570570      
    571      '<p class="area"><label for="comment_content" class="required" title="'. 
    572      __('Required field').'">'.__('Comment:').'</label> '. 
     571     '<p class="area"><label for="comment_content" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Comment:').'</label> '. 
    573572     form::textarea('comment_content',50,8,html::escapeHTML('')). 
    574573     '</p>'. 
     
    620619           
    621620          '<td class="nowrap">'. 
    622           ($has_action ? form::checkbox(array('comments[]'),$rs->comment_id,'','','',0) : '').'</td>'. 
     621          ($has_action ? form::checkbox(array('comments[]'),$rs->comment_id,'','','',0,'title="'.__('select this comment').'"') : '').'</td>'. 
    623622          '<td class="maximal">'.$rs->comment_author.'</td>'. 
    624623          '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$rs->comment_dt).'</td>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map