Changeset 782:01efbf050a8a for plugins/blogroll
- Timestamp:
- 12/06/11 11:43:14 (14 years ago)
- 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. - Location:
- plugins/blogroll
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/blogroll/index.php
r717 r782 242 242 <form action="plugin.php" method="post" id="links-form"> 243 243 <table class="maximal dragable"> 244 <caption><?php echo __('Links list'); ?></caption> 244 245 <thead> 245 246 <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> 250 251 </tr> 251 252 </thead> … … 265 266 { 266 267 echo 267 '<t dcolspan="5"><strong><a href="'.$p_url.'&edit=1&id='.$rs->link_id.'">'.268 html::escapeHTML($rs->link_desc).'</a></strong></t d>';268 '<th scope="row" colspan="5"><strong><a href="'.$p_url.'&edit=1&id='.$rs->link_id.'">'. 269 html::escapeHTML($rs->link_desc).'</a></strong></th>'; 269 270 } 270 271 else 271 272 { 272 273 echo 273 '<t d><a href="'.$p_url.'&edit=1&id='.$rs->link_id.'">'.274 html::escapeHTML($rs->link_title).'</a></t d>'.274 '<th scope="row"><a href="'.$p_url.'&edit=1&id='.$rs->link_id.'">'. 275 html::escapeHTML($rs->link_title).'</a></th>'. 275 276 '<td>'.html::escapeHTML($rs->link_desc).'</td>'. 276 277 '<td>'.html::escapeHTML($rs->link_href).'</td>'. -
plugins/blogroll/index.php
r457 r782 4 4 # This file is part of Dotclear 2. 5 5 # 6 # Copyright (c) 2003-201 0Olivier Meunier & Association Dotclear6 # Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear 7 7 # Licensed under the GPL version 2.0 license. 8 8 # See LICENSE file or … … 163 163 <html> 164 164 <head> 165 <title> Blogroll</title>165 <title><?php echo __('Blogroll'); ?></title> 166 166 <?php echo dcPage::jsToolMan(); ?> 167 167 <?php echo dcPage::jsConfirmClose('links-form','add-link-form','add-category-form'); ?> … … 215 215 216 216 <body> 217 <h2><?php echo html::escapeHTML($core->blog->name); ?> › Blogroll</h2>217 <h2><?php echo html::escapeHTML($core->blog->name); ?> › <span class="page-title"><?php echo __('Blogroll'); ?></span></h2> 218 218 219 219 <?php … … 312 312 '<fieldset class="two-cols"><legend>'.__('Add a new link').'</legend>'. 313 313 '<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).314 form::field('link_title',30,255,$link_title). 315 315 '</label></p>'. 316 316 317 317 '<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).318 form::field('link_href',30,255,$link_href). 319 319 '</label></p>'. 320 320 321 321 '<p class="col"><label for="link_desc">'.__('Description:').' '. 322 form::field('link_desc',30,255,$link_desc ,'',4).322 form::field('link_desc',30,255,$link_desc). 323 323 '</label></p>'. 324 324 325 325 '<p class="col"><label for="link_lang">'.__('Language:').' '. 326 form::field('link_lang',5,5,$link_lang ,'',5).326 form::field('link_lang',5,5,$link_lang). 327 327 '</label></p>'. 328 328 '<p>'.form::hidden(array('p'),'blogroll'). 329 329 $core->formNonce(). 330 '<input type="submit" name="add_link" value="'.__('Save').'" tabindex="6"/></p>'.330 '<input type="submit" name="add_link" value="'.__('Save').'" /></p>'. 331 331 '</fieldset>'. 332 332 '</form>'. … … 338 338 '<fieldset><legend>'.__('Add a new category').'</legend>'. 339 339 '<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> '.340 form::field('cat_title',30,255,$cat_title).'</label> '. 341 341 form::hidden(array('p'),'blogroll'). 342 342 $core->formNonce(). 343 '<input type="submit" name="add_cat" value="'.__('Save').'" tabindex="8"/></p>'.343 '<input type="submit" name="add_cat" value="'.__('Save').'" /></p>'. 344 344 '</fieldset>'. 345 345 '</form>'. … … 356 356 '<p>'.form::hidden(array('p'),'blogroll'). 357 357 $core->formNonce(). 358 '<input type="submit" name="import_links" value="'.__(' import').'" tabindex="10" /></p>'.358 '<input type="submit" name="import_links" value="'.__('Import').'" /></p>'. 359 359 '</fieldset>'. 360 360 '</form>'; … … 399 399 form::hidden(array('p'),'blogroll'). 400 400 $core->formNonce(). 401 '<input type="submit" name="cancel_import" value="'.__(' cancel').'" tabindex="10" /> '.402 '<input type="submit" name="import_links_do" value="'.__(' import').'" tabindex="11" /></p>'.401 '<input type="submit" name="cancel_import" value="'.__('Cancel').'" /> '. 402 '<input type="submit" name="import_links_do" value="'.__('Import').'" /></p>'. 403 403 '</div>'; 404 404 }
Note: See TracChangeset
for help on using the changeset viewer.