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).

Location:
plugins/widgets
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/widgets/class.widgets.php

    r1179 r1454  
    238238                    case 'text': 
    239239                         $res .= 
    240                          '<p><label for="'.$wfid.'">'.$s['title'].' '. 
     240                         '<p><label for="'.$wfid.'">'.$s['title'].'</label> '. 
    241241                         form::field(array($iname,$wfid),20,255,html::escapeHTML($s['value']),'maximal'). 
    242                          '</label></p>'; 
     242                         '</p>'; 
    243243                         break; 
    244244                    case 'textarea': 
    245245                         $res .= 
    246                          '<p><label for="'.$wfid.'">'.$s['title'].' '. 
     246                         '<p><label for="'.$wfid.'">'.$s['title'].'</label> '. 
    247247                         form::textarea(array($iname,$wfid),30,5,html::escapeHTML($s['value']),'maximal'). 
    248248                         '</label></p>'; 
     
    257257                    case 'combo': 
    258258                         $res .= 
    259                          '<p><label for="'.$wfid.'">'.$s['title'].' '. 
     259                         '<p><label for="'.$wfid.'">'.$s['title'].'</label> '. 
    260260                         form::combo(array($iname,$wfid),$s['options'],$s['value']). 
    261                          '</label></p>'; 
     261                         '</p>'; 
    262262                         break; 
    263263               } 
  • plugins/widgets/index.php

    r1358 r1454  
    206206     '<p class="widget-name">'.form::field(array('w[void][0][order]'),2,3,0,'hideControl').' '. 
    207207     $w->name().($w->desc() != '' ? ' <span class="form-note">('.__($w->desc()).')</span>' : '').'</p>'. 
    208      '<p class="js-remove"><label class="classic">'.__('Append to:').' '. 
    209      form::combo(array('addw['.$w->id().']'),$append_combo).'</label></p>'. 
     208     '<p class="js-remove"><label class="classic">'.__('Append to:').'</label> '. 
     209     form::combo(array('addw['.$w->id().']'),$append_combo).'</p>'. 
    210210     '<div class="widgetSettings">'.$w->formSettings('w[void][0]',$j).'</div>'. 
    211211     '</div>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map