Dotclear


Ignore:
Timestamp:
12/06/11 11:43:14 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
formfilters
Parents:
781:b509ac00bf4a (diff), 779:58c45f1b96e5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged last default changes with formfilter branch

Location:
plugins/blogroll
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/blogroll/index.php

    r717 r782  
    242242<form action="plugin.php" method="post" id="links-form"> 
    243243<table class="maximal dragable"> 
     244<caption><?php echo __('Links list'); ?></caption> 
    244245<thead> 
    245246<tr> 
    246   <th colspan="3"><?php echo __('Title'); ?></th> 
    247   <th><?php echo __('Description'); ?></th> 
    248   <th><?php echo __('URL'); ?></th> 
    249   <th><?php echo __('Lang'); ?></th> 
     247  <th scope="col" colspan="3"><?php echo __('Title'); ?></th> 
     248  <th scope="col"><?php echo __('Description'); ?></th> 
     249  <th scope="col"><?php echo __('URL'); ?></th> 
     250  <th scope="col"><?php echo __('Lang'); ?></th> 
    250251</tr> 
    251252</thead> 
     
    265266     { 
    266267          echo 
    267           '<td colspan="5"><strong><a href="'.$p_url.'&amp;edit=1&amp;id='.$rs->link_id.'">'. 
    268           html::escapeHTML($rs->link_desc).'</a></strong></td>'; 
     268          '<th scope="row" colspan="5"><strong><a href="'.$p_url.'&amp;edit=1&amp;id='.$rs->link_id.'">'. 
     269          html::escapeHTML($rs->link_desc).'</a></strong></th>'; 
    269270     } 
    270271     else 
    271272     { 
    272273          echo 
    273           '<td><a href="'.$p_url.'&amp;edit=1&amp;id='.$rs->link_id.'">'. 
    274           html::escapeHTML($rs->link_title).'</a></td>'. 
     274          '<th scope="row"><a href="'.$p_url.'&amp;edit=1&amp;id='.$rs->link_id.'">'. 
     275          html::escapeHTML($rs->link_title).'</a></th>'. 
    275276          '<td>'.html::escapeHTML($rs->link_desc).'</td>'. 
    276277          '<td>'.html::escapeHTML($rs->link_href).'</td>'. 
  • plugins/blogroll/index.php

    r457 r782  
    44# This file is part of Dotclear 2. 
    55# 
    6 # Copyright (c) 2003-2010 Olivier Meunier & Association Dotclear 
     6# Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear 
    77# Licensed under the GPL version 2.0 license. 
    88# See LICENSE file or 
     
    163163<html> 
    164164<head> 
    165   <title>Blogroll</title> 
     165  <title><?php echo __('Blogroll'); ?></title> 
    166166  <?php echo dcPage::jsToolMan(); ?> 
    167167  <?php echo dcPage::jsConfirmClose('links-form','add-link-form','add-category-form'); ?> 
     
    215215 
    216216<body> 
    217 <h2><?php echo html::escapeHTML($core->blog->name); ?> &rsaquo; Blogroll</h2> 
     217<h2><?php echo html::escapeHTML($core->blog->name); ?> &rsaquo; <span class="page-title"><?php echo __('Blogroll'); ?></span></h2> 
    218218 
    219219<?php 
     
    312312'<fieldset class="two-cols"><legend>'.__('Add a new link').'</legend>'. 
    313313'<p class="col"><label for="link_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '. 
    314 form::field('link_title',30,255,$link_title,'',2). 
     314form::field('link_title',30,255,$link_title). 
    315315'</label></p>'. 
    316316 
    317317'<p class="col"><label for="link_href" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('URL:').' '. 
    318 form::field('link_href',30,255,$link_href,'',3). 
     318form::field('link_href',30,255,$link_href). 
    319319'</label></p>'. 
    320320 
    321321'<p class="col"><label for="link_desc">'.__('Description:').' '. 
    322 form::field('link_desc',30,255,$link_desc,'',4). 
     322form::field('link_desc',30,255,$link_desc). 
    323323'</label></p>'. 
    324324 
    325325'<p class="col"><label for="link_lang">'.__('Language:').' '. 
    326 form::field('link_lang',5,5,$link_lang,'',5). 
     326form::field('link_lang',5,5,$link_lang). 
    327327'</label></p>'. 
    328328'<p>'.form::hidden(array('p'),'blogroll'). 
    329329$core->formNonce(). 
    330 '<input type="submit" name="add_link" value="'.__('Save').'" tabindex="6" /></p>'. 
     330'<input type="submit" name="add_link" value="'.__('Save').'" /></p>'. 
    331331'</fieldset>'. 
    332332'</form>'. 
     
    338338'<fieldset><legend>'.__('Add a new category').'</legend>'. 
    339339'<p><label for="cat_title" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '. 
    340 form::field('cat_title',30,255,$cat_title,'',7).'</label> '. 
     340form::field('cat_title',30,255,$cat_title).'</label> '. 
    341341form::hidden(array('p'),'blogroll'). 
    342342$core->formNonce(). 
    343 '<input type="submit" name="add_cat" value="'.__('Save').'" tabindex="8" /></p>'. 
     343'<input type="submit" name="add_cat" value="'.__('Save').'" /></p>'. 
    344344'</fieldset>'. 
    345345'</form>'. 
     
    356356     '<p>'.form::hidden(array('p'),'blogroll'). 
    357357     $core->formNonce(). 
    358      '<input type="submit" name="import_links" value="'.__('import').'" tabindex="10" /></p>'. 
     358     '<input type="submit" name="import_links" value="'.__('Import').'" /></p>'. 
    359359     '</fieldset>'. 
    360360     '</form>'; 
     
    399399          form::hidden(array('p'),'blogroll'). 
    400400          $core->formNonce(). 
    401           '<input type="submit" name="cancel_import" value="'.__('cancel').'" tabindex="10" />&nbsp;'. 
    402           '<input type="submit" name="import_links_do" value="'.__('import').'" tabindex="11" /></p>'. 
     401          '<input type="submit" name="cancel_import" value="'.__('Cancel').'" />&nbsp;'. 
     402          '<input type="submit" name="import_links_do" value="'.__('Import').'" /></p>'. 
    403403          '</div>'; 
    404404     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map