Dotclear


Ignore:
Timestamp:
08/18/13 16:27:51 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Let labels be labels, the end (I hope so).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/blogroll/index.php

    r1358 r1454  
    277277'<div class="multi-part clear" id="add-link" title="'.__('Add a link').'">'. 
    278278'<form action="plugin.php" method="post" id="add-link-form">'. 
    279 '<fieldset><legend>'.__('Add a new link').'</legend>'. 
    280 '<p class="col"><label for="link_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '. 
     279'<h3>'.__('Add a new link').'</h3>'. 
     280'<p class="col"><label for="link_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label> '. 
    281281form::field('link_title',30,255,$link_title). 
    282 '</label></p>'. 
    283  
    284 '<p class="col"><label for="link_href" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('URL:').' '. 
     282'</p>'. 
     283 
     284'<p class="col"><label for="link_href" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('URL:').'</label> '. 
    285285form::field('link_href',30,255,$link_href). 
    286 '</label></p>'. 
    287  
    288 '<p class="col"><label for="link_desc">'.__('Description:').' '. 
     286'</p>'. 
     287 
     288'<p class="col"><label for="link_desc">'.__('Description:').'</label> '. 
    289289form::field('link_desc',30,255,$link_desc). 
    290 '</label></p>'. 
    291  
    292 '<p class="col"><label for="link_lang">'.__('Language:').' '. 
     290'</p>'. 
     291 
     292'<p class="col"><label for="link_lang">'.__('Language:').'</label> '. 
    293293form::field('link_lang',5,5,$link_lang). 
    294 '</label></p>'. 
     294'</p>'. 
    295295'<p>'.form::hidden(array('p'),'blogroll'). 
    296296$core->formNonce(). 
    297297'<input type="submit" name="add_link" value="'.__('Save').'" /></p>'. 
    298 '</fieldset>'. 
    299298'</form>'. 
    300299'</div>'; 
     
    303302'<div class="multi-part" id="add-cat" title="'.__('Add a category').'">'. 
    304303'<form action="plugin.php" method="post" id="add-category-form">'. 
    305 '<fieldset><legend>'.__('Add a new category').'</legend>'. 
    306 '<p><label for="cat_title" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '. 
    307 form::field('cat_title',30,255,$cat_title).'</label> '. 
     304'<h3>'.__('Add a new category').'</h3>'. 
     305'<p><label for="cat_title" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label> '. 
     306form::field('cat_title',30,255,$cat_title).' '. 
    308307form::hidden(array('p'),'blogroll'). 
    309308$core->formNonce(). 
    310309'<input type="submit" name="add_cat" value="'.__('Save').'" /></p>'. 
    311 '</fieldset>'. 
    312310'</form>'. 
    313311'</div>'; 
     
    318316     echo 
    319317     '<form action="plugin.php" method="post" id="import-links-form" enctype="multipart/form-data">'. 
    320      '<fieldset><legend>'.__('Import links').'</legend>'. 
    321      '<p><label for="links_file" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('OPML or XBEL File:').' '. 
    322      '<input type="file" id="links_file" name="links_file" /></label></p>'. 
     318     '<h3>'.__('Import links').'</h3>'. 
     319     '<p><label for="links_file" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('OPML or XBEL File:').'</label> '. 
     320     '<input type="file" id="links_file" name="links_file" /></p>'. 
    323321     '<p>'.form::hidden(array('p'),'blogroll'). 
    324322     $core->formNonce(). 
    325323     '<input type="submit" name="import_links" value="'.__('Import').'" /></p>'. 
    326      '</fieldset>'. 
    327324     '</form>'; 
    328325} 
     
    330327     echo 
    331328     '<form action="plugin.php" method="post" id="import-links-form">'. 
    332      '<fieldset><legend>'.__('Import links').'</legend>'; 
     329     '<h3>'.__('Import links').'</h3>'; 
    333330     if (empty($imported)) { 
    334331          echo '<p>'.__('Nothing to import').'</p>'; 
     
    371368     } 
    372369     echo 
    373      '</fieldset>'. 
    374370     '</form>'; 
    375371} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map