Dotclear

Changeset 1474:122a77514ce1 for plugins


Ignore:
Timestamp:
08/19/13 15:22:41 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Fixes typo and other html mistakes. Thanks to brol.
Fixes #1477
Fixes #1479
Fixes #1480
Fixes #1481

Location:
plugins
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • plugins/aboutConfig/index.php

    r1358 r1474  
    8686     return 
    8787     '<tr class="line">'. 
    88      '<td scope="raw"><label for="s_'.$id.'">'.sprintf($slabel,html::escapeHTML($id)).'</label></td>'. 
     88     '<td scope="row"><label for="s_'.$id.'">'.sprintf($slabel,html::escapeHTML($id)).'</label></td>'. 
    8989     '<td>'.$field.'</td>'. 
    9090     '<td>'.$s['type'].'</td>'. 
  • plugins/antispam/_admin.php

    r1207 r1474  
    5959          if ($ttl != null && $ttl >=0) { 
    6060               echo '<p>'.sprintf(__('All spam comments older than %s day(s) will be automatically deleted.'), $ttl).' '. 
    61                sprintf(__('You can modify this duration in the %s'),'<a href="blog_pref.php#antispam_moderation_ttl"> '.__('Blog preferences').'</a>'). 
     61               sprintf(__('You can modify this duration in the %s'),'<a href="blog_pref.php#antispam_moderation_ttl"> '.__('Blog settings').'</a>'). 
    6262               '</p>'; 
    6363          } 
  • plugins/antispam/index.php

    r1423 r1474  
    170170     if ($moderationTTL != null && $moderationTTL >=0) { 
    171171          echo '<p>'.sprintf(__('All spam comments older than %s day(s) will be automatically deleted.'), $moderationTTL).' '. 
    172           sprintf(__('You can modify this duration in the %s'),'<a href="blog_pref.php#antispam_moderation_ttl"> '.__('Blog preferences').'</a>'). 
     172          sprintf(__('You can modify this duration in the %s'),'<a href="blog_pref.php#antispam_moderation_ttl"> '.__('Blog settings').'</a>'). 
    173173               '</p>'; 
    174174     } 
     
    212212          '<td class="nowrap">'.form::checkbox(array('filters_active[]'),$fid,$f->active, '', '', false, 'title="'.__('Active').'"').'</td>'. 
    213213          '<td class="nowrap">'.form::checkbox(array('filters_auto_del[]'),$fid,$f->auto_delete, '', '', false, 'title="'.__('Auto Del.').'"').'</td>'. 
    214           '<td class="nowrap" scope="raw">'.$f->name.'</td>'. 
     214          '<td class="nowrap" scope="row">'.$f->name.'</td>'. 
    215215          '<td class="maximal">'.$f->description.'</td>'. 
    216216          '<td class="status">'.$gui_link.'</td>'. 
  • plugins/pages/page.php

    r1454 r1474  
    455455      
    456456     echo 
    457      '<p><label for="post_status">'.__('Page status:').'</label> '. 
     457     '<p><label for="post_status" class="ib">'.__('Page status:').'</label> '. 
    458458     form::combo('post_status',$status_combo,$post_status,'','',!$can_publish). 
    459459     '</p>'. 
    460460      
    461      '<p><label for="post_dt">'.__('Published on:').'</label>'. 
     461     '<p><label for="post_dt" class="ib">'.__('Published on:').'</label>'. 
    462462     form::field('post_dt',16,16,$post_dt,($bad_dt ? 'invalid' : '')).'</p>'. 
    463463      
    464      '<p><label for="post_format">'.__('Text formating:').'</label>'. 
     464     '<p><label for="post_format" class="ib">'.__('Text formating:').'</label>'. 
    465465     form::combo('post_format',$formaters_combo,$post_format). 
    466466     ($post_id && $post_format != 'xhtml' ? '<a class="button" href="'.html::escapeURL($redir_url).'&amp;id='.$post_id.'&amp;xconv=1">'.__('Convert to XHTML').'</a>' : ''). 
     
    493493     '</p>'. 
    494494      
    495      '<p><label for="post_lang">'.__('Page lang:').'</label>'. 
     495     '<p><label for="post_lang" class="ib">'.__('Page lang:').'</label>'. 
    496496     form::combo('post_lang',$lang_combo,$post_lang).'</p>'. 
    497497      
    498      '<p><label for="post_password">'.__('Page password:').'</label>'. 
     498     '<p><label for="post_password" class="ib">'.__('Page password:').'</label>'. 
    499499     form::field('post_password',10,32,html::escapeHTML($post_password),'maximal'). 
    500500     '</p>'. 
    501501      
    502      '<div class="lockable">'. 
    503      '<p><label for="post_url">'.__('Basename:').'</label>'. 
     502     '<div class="lockable" class="ib">'. 
     503     '<p><label for="post_url" class="ib">'.__('Basename:').'</label>'. 
    504504     form::field('post_url',10,255,html::escapeHTML($post_url),'maximal'). 
    505505     '</p>'. 
     
    512512     { 
    513513          echo 
    514           '<h3 class="clear">'.__('Attachments').'</h3>'; 
     514          '<h4 class="clear">'.__('Attachments').'</h4>'; 
    515515          foreach ($post_media as $f) 
    516516          { 
     
    541541           
    542542          if (empty($post_media)) { 
    543                echo '<p>'.__('No attachment.').'</p>'; 
     543               echo '<p class="form-note">'.__('No attachment.').'</p>'; 
    544544          } 
    545545          echo '<p><a class="button" href="media.php?post_id='.$post_id.'">'.__('Add files to this page').'</a></p>'; 
  • plugins/simpleMenu/index.php

    r1358 r1474  
    233233                     
    234234                         // All done successfully, return to menu items list 
    235                          http::redirect($p_url.'&added=1'); 
     235                         http::redirect($p_url.'&amp;added=1'); 
    236236                    } else { 
    237237                         throw new Exception(__('Label and URL of menu item are mandatory.')); 
     
    268268                     
    269269                    // All done successfully, return to menu items list 
    270                     http::redirect($p_url.'&removed=1'); 
     270                    http::redirect($p_url.'&amp;removed=1'); 
    271271               } else { 
    272272                    throw new Exception(__('No menu items selected.')); 
     
    302302 
    303303               // All done successfully, return to menu items list 
    304                http::redirect($p_url.'&updated=1'); 
     304               http::redirect($p_url.'&amp;updated=1'); 
    305305          } 
    306306          catch (Exception $e) { 
     
    339339 
    340340               // All done successfully, return to menu items list 
    341                http::redirect($p_url.'&neworder=1'); 
     341               http::redirect($p_url.'&amp;neworder=1'); 
    342342          }  
    343343          catch (Exception $e) { 
     
    402402          case 1: 
    403403               // Selection du type d'item 
    404                echo '<form id="additem" action="'.$p_url.'&add=2" method="post">'; 
     404               echo '<form id="additem" action="'.$p_url.'&amp;add=2" method="post">'; 
    405405               echo '<fieldset><legend>'.__('Select type').'</legend>'; 
    406406               echo '<p class="field"><label for="item_type" class="classic">'.__('Type of item menu:').'</label>'.form::combo('item_type',$items_combo,'').'</p>'; 
     
    412412               if ($items[$item_type][1]) { 
    413413                    // Choix à faire 
    414                     echo '<form id="additem" action="'.$p_url.'&add=3" method="post">'; 
     414                    echo '<form id="additem" action="'.$p_url.'&amp;add=3" method="post">'; 
    415415                    echo '<fieldset><legend>'.$item_type_label.'</legend>'; 
    416416                    switch ($item_type) { 
     
    449449          case 3: 
    450450               // Libellé et description 
    451                echo '<form id="additem" action="'.$p_url.'&add=4" method="post">'; 
     451               echo '<form id="additem" action="'.$p_url.'&amp;add=4" method="post">'; 
    452452               echo '<fieldset><legend>'.$item_type_label.($item_select_label != '' ? ' ('.$item_select_label.')' : '').'</legend>'; 
    453453               echo '<p class="field"><label for="item_label" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '. 
     
    467467// Liste des items 
    468468if (!$step) { 
    469      echo '<form id="menuitemsappend" action="'.$p_url.'&add=1" method="post">'; 
     469     echo '<form id="menuitemsappend" action="'.$p_url.'&amp;add=1" method="post">'; 
    470470     echo '<p class="top-add">'.$core->formNonce().'<input class="button add" type="submit" name="appendaction" value="'.__('Add an item').'" /></p>'; 
    471471     echo '</form>'; 
  • plugins/userPref/index.php

    r1358 r1474  
    8282     return 
    8383     '<tr class="line">'. 
    84      '<td scope="raw"><label for="s_'.$id.'">'.sprintf($slabel,html::escapeHTML($id)).'</label></td>'. 
     84     '<td scope="row"><label for="s_'.$id.'">'.sprintf($slabel,html::escapeHTML($id)).'</label></td>'. 
    8585     '<td>'.$field.'</td>'. 
    8686     '<td>'.$s['type'].'</td>'. 
  • plugins/widgets/class.widgets.php

    r1454 r1474  
    246246                         '<p><label for="'.$wfid.'">'.$s['title'].'</label> '. 
    247247                         form::textarea(array($iname,$wfid),30,5,html::escapeHTML($s['value']),'maximal'). 
    248                          '</label></p>'; 
     248                         '</p>'; 
    249249                         break; 
    250250                    case 'check': 
Note: See TracChangeset for help on using the changeset viewer.

Sites map