Dotclear

Changeset 1622:8acfe7bdb542


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

HTML validation

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • admin/plugins.php

    r1605 r1622  
    374374     form::password(array('your_pwd','your_pwd2'),20,255).'</p>'. 
    375375     '<p><input type="submit" name="fetch_pkg" value="'.__('Download plugin').'" />'. 
    376      $core->formNonce(). 
    377      '</fieldset>'. 
     376     $core->formNonce().'</p>'. 
    378377     '</form>'; 
    379378} 
  • inc/admin/lib.pager.php

    r1600 r1622  
    333333          '<td class="nowrap">'. 
    334334          form::checkbox(array('comments[]'),$this->rs->comment_id,'','','',0).'</td>'. 
    335           '<td class="status class="txt-center">'. 
     335          '<td class="status txt-center">'. 
    336336               '<a href="'.$comment_url.'">'. 
    337337               '<img src="images/edit-mini.png" alt="" title="'.__('Edit').'" /> '. 
  • locales/en/main.po

    r1620 r1622  
    547547 
    548548msgid "Entries (all types)" 
    549 msgstr "Entries & pages" 
     549msgstr "Entries &amp; pages" 
    550550 
    551551msgid "Status" 
  • locales/fr/main.po

    r1621 r1622  
    578578 
    579579msgid "Entries (all types)" 
    580 msgstr "Billets & pages" 
     580msgstr "Billets &amp; pages" 
    581581 
    582582msgid "Status" 
  • 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>'. 
  • themes/ductile/_config.php

    r1526 r1622  
    471471     '<td class="handle minimal">'.form::field(array('order['.$i.']'),2,3,$count,'position','',false). 
    472472          form::hidden(array('dynorder[]','dynorder-'.$i),$i).'</td>'. 
    473      '<td>'.form::hidden(array('sticker_image[]'),$v['image']).'<img src="'.$img_url.$v['image'].'" /> '.'</td>'. 
    474      '<td scope="raw">'.form::field(array('sticker_label[]','dsl-'.$i),20,255,$v['label']).'</td>'. 
     473     '<td>'.form::hidden(array('sticker_image[]'),$v['image']).'<img src="'.$img_url.$v['image'].'" alt="'.$v['image'].'" /> '.'</td>'. 
     474     '<td scope="row">'.form::field(array('sticker_label[]','dsl-'.$i),20,255,$v['label']).'</td>'. 
    475475     '<td>'.form::field(array('sticker_url[]','dsu-'.$i),40,255,$v['url']).'</td>'. 
    476476     '</tr>'; 
     
    496496     echo  
    497497          '<tr>'. 
    498           '<td scope="raw">'.$contexts[$k].'</td>'. 
     498          '<td scope="row">'.$contexts[$k].'</td>'. 
    499499          '<td>'.form::hidden(array('list_ctx[]'),$k).form::combo(array('list_type[]'),$list_types,$v).'</td>'; 
    500500     if (array_key_exists($k,$ductile_counts)) { 
     
    517517echo '</fieldset>'; 
    518518 
    519 echo '<input type="hidden" name="conf_tab" value="html">'; 
     519echo '<p><input type="hidden" name="conf_tab" value="html" /></p>'; 
    520520echo '<p class="clear">'.form::hidden('ds_order','').'<input type="submit" value="'.__('Save').'" />'.$core->formNonce().'</p>'; 
    521521echo '</form>'; 
     
    674674echo '</div>'; 
    675675 
    676 echo '<input type="hidden" name="conf_tab" value="css">'; 
     676echo '<p><input type="hidden" name="conf_tab" value="css" /></p>'; 
    677677echo '<p class="clear"><input type="submit" value="'.__('Save').'" />'.$core->formNonce().'</p>'; 
    678678echo '</form>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map