Dotclear

Changeset 1622:8acfe7bdb542 for plugins


Ignore:
Timestamp:
08/30/13 11:38:25 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

HTML validation

Location:
plugins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • plugins/antispam/filters/class.dc.filter.iplookup.php

    r1499 r1622  
    8181          form::textarea('bls',40,3,html::escapeHTML($bls),'maximal'). 
    8282          '</p>'. 
    83           '<p><input type="submit" value="'.__('Save').'" /></p>'. 
     83          '<p><input type="submit" value="'.__('Save').'" />'. 
    8484          $this->core->formNonce().'</p>'. 
    8585          '</form>'; 
  • plugins/importExport/inc/class.dc.import.dc1.php

    r1569 r1622  
    160160                    '<p><label for="db_prefix">'.__('Database Tables Prefix:').'</label> '. 
    161161                    form::field('db_prefix',30,255,html::escapeHTML($this->vars['db_prefix'])).'</p>'. 
    162                     '<h3>'.__('Entries import options').'</h3>'. 
     162                    '<h3 class="vertical-separator">'.__('Entries import options').'</h3>'. 
    163163                    '<p><label for="post_limit">'.__('Number of entries to import at once:').'</label> '. 
    164164                    form::field('post_limit',3,3,html::escapeHTML($this->vars['post_limit'])).'</p>' 
     
    190190               case 6: 
    191191                    echo  
    192                     '<h3>'.__('Please read carefully').'</h3>'. 
     192                    '<h3 class="vertical-separator">'.__('Please read carefully').'</h3>'. 
    193193                    '<ul>'. 
    194194                    '<li>'.__('Every newly imported user has received a random password '. 
     
    216216          return 
    217217          '<form action="'.$this->getURL(true).'" method="post">'. 
    218           '<h3>'.$legend.'</h3>'. 
    219           $this->core->formNonce(). 
     218          '<h3 class="vertical-separator">'.$legend.'</h3>'. 
     219          '<div>'.$this->core->formNonce(). 
    220220          form::hidden(array('do'),'step'.$step). 
    221           '%s'. 
    222           '<p><input type="submit" value="'.$submit_value.'" /></p>'. 
     221          '%s'.'</div>'. 
     222          '<p class="vertical-separator"><input type="submit" value="'.$submit_value.'" /></p>'. 
    223223          '<p class="form-note info">'.__('Depending on the size of your blog, it could take a few minutes.').'</p>'. 
    224224          '</form>'; 
  • plugins/importExport/inc/class.dc.import.wp.php

    r1569 r1622  
    192192                    form::field('db_prefix',30,255,html::escapeHTML($this->vars['db_prefix'])).'</p>'. 
    193193 
    194                     '<h3>'.__('Entries import options').'</h3>'. 
     194                    '<h3 class="vertical-separator">'.__('Entries import options').'</h3>'. 
     195                    '<div class="two-cols">'. 
     196 
     197                    '<div class="col">'. 
    195198                    '<p>'.__('WordPress and Dotclear\'s handling of categories are quite different. '. 
    196199                    'You can assign several categories to a single post in WordPress. In the Dotclear world, '. 
     
    203206                    'importing your blog, as Dotclear allows you to actually keep your posts '. 
    204207                    'uncategorized.').'</p>'. 
     208                    '</div>'. 
    205209 
     210                    '<div class="col">'. 
    206211                    '<p><label for="ignore_first_cat" class="classic">'.form::checkbox('ignore_first_cat',1,$this->vars['ignore_first_cat']).' '. 
    207212                    __('Ignore the first category:').'</label></p>'. 
     
    214219                    '<p><label for="post_limit">'.__('Number of entries to import at once:').'</label> '. 
    215220                    form::field('post_limit',3,3,html::escapeHTML($this->vars['post_limit'])).'</p>'. 
     221                    '</div>'. 
    216222                     
    217                     '<h3>'.__('Content filters').'</h3>'. 
     223                    '</div>'. 
     224 
     225                    '<h3 class="clear vertical-separator">'.__('Content filters').'</h3>'. 
    218226                    '<p>'.__('You may want to process your post and/or comment content with the following filters.').'</p>'. 
    219227                    '<p><label for="post_formater">'.__('Post content formatter:').'</label> '. 
    220228                    form::combo('post_formater',$this->formaters,$this->vars['post_formater']).'</p>'. 
    221229                    '<p><label for="comment_formater">'.__('Comment content formatter:').'</label> ' 
    222                     .form::combo('comment_formater',$this->formaters,$this->vars['comment_formater']).'</label></p>' 
     230                    .form::combo('comment_formater',$this->formaters,$this->vars['comment_formater']).'</p>' 
    223231                    ); 
    224232                    break; 
     
    265273          return 
    266274          '<form action="'.$this->getURL(true).'" method="post">'. 
    267           '<h3>'.$legend.'</h3>'. 
    268           $this->core->formNonce(). 
     275          '<h3 class="vertical-separator">'.$legend.'</h3>'. 
     276          '<div>'.$this->core->formNonce(). 
    269277          form::hidden(array('do'),'step'.$step). 
    270           '%s'. 
     278          '%s'.'</div>'. 
    271279          '<p><input type="submit" value="'.$submit_value.'" /></p>'. 
    272280          '<p class="form-note info">'.__('Depending on the size of your blog, it could take a few minutes.').'</p>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map