Dotclear


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

HTML validation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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