Changeset 68:27ebb44c5e34
- Timestamp:
- 04/29/11 23:02:22 (14 years ago)
- Branch:
- userprefs
- Location:
- admin
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/media.php
r0 r68 302 302 echo 303 303 '<form action="media.php" method="get">'. 304 '<p><label class="classic">'.__('Sort files:').' '.304 '<p><label for="file_sort" class="classic">'.__('Sort files:').' '. 305 305 form::combo('file_sort',$sort_combo,$file_sort).'</label>'. 306 306 form::hidden(array('popup'),$popup). … … 332 332 $core->formNonce().'</div>'. 333 333 '<fieldset id="add-file-f">'. 334 '<p><label >'.__('Choose a file:').334 '<p><label for="upfile">'.__('Choose a file:'). 335 335 ' ('.sprintf(__('Maximum size %s'),files::size(DC_MAX_UPLOAD_SIZE)).')'. 336 '<input type="file" name="upfile" size="20" />'.336 '<input type="file" id="upfile" name="upfile" size="20" />'. 337 337 '</label></p>'. 338 '<p><label >'.__('Title:').form::field(array('upfiletitle'),35,255).'</label></p>'.339 '<p><label class="classic">'.form::checkbox(array('upfilepriv'),1).' '.338 '<p><label for="upfiletitle">'.__('Title:').form::field(array('upfiletitle'),35,255).'</label></p>'. 339 '<p><label for="upfilepriv" class="classic">'.form::checkbox(array('upfilepriv'),1).' '. 340 340 __('Private').'</label></p>'. 341 341 '<p><input type="submit" value="'.__('send').'" />'. … … 351 351 '<fieldset id="new-dir-f">'. 352 352 $core->formNonce(). 353 '<p><label >'.__('Directory Name:').353 '<p><label for="newdir">'.__('Directory Name:'). 354 354 form::field(array('newdir'),35,255).'</label></p>'. 355 355 '<p><input type="submit" value="'.__('save').'" />'. -
admin/media_item.php
r2 r68 236 236 '<h3>'.__('Image insertion').'</h3>'. 237 237 '<p>'. 238 '<label class="classic">'.form::radio(array('insertion'),'simple',true).238 '<label for="insert1" class="classic">'.form::radio(array('insertion','insert1'),'simple',true). 239 239 __('As a single image').'</label><br />'. 240 '<label class="classic">'.form::radio(array('insertion'),'link',false).240 '<label for="insert2" class="classic">'.form::radio(array('insertion','insert2'),'link',false). 241 241 __('As a link to original image').'</label>'. 242 242 '</p>'; … … 258 258 echo '<p>'; 259 259 foreach ($i_align as $k => $v) { 260 echo '<label class="classic">'.260 echo '<label for="alignment" class="classic">'. 261 261 form::radio(array('alignment'),$k,$v[1]).' '.$v[0].'</label><br /> '; 262 262 } … … 276 276 echo 277 277 '<h3>'.__('Video size').'</h3>'. 278 '<p><label class="classic">'.__('Width:').' '.278 '<p><label for="video_w" class="classic">'.__('Width:').' '. 279 279 form::field('video_w',3,4,400).' '. 280 '<label class="classic">'.__('Height:').' '.280 '<label for="video_h" class="classic">'.__('Height:').' '. 281 281 form::field('video_h',3,4,300). 282 282 '</p>'; … … 293 293 echo '<p>'; 294 294 foreach ($i_align as $k => $v) { 295 echo '<label class="classic">'.295 echo '<label for="alignment" class="classic">'. 296 296 form::radio(array('alignment'),$k,$v[1]).' '.$v[0].'</label><br /> '; 297 297 } … … 474 474 __('This will extract archive in current directory and will overwrite existing files or directory.').'</li>'. 475 475 '</ul>'. 476 '<p><label class="classic">'.__('Extract mode:').' '.476 '<p><label for="inflate_mode" class="classic">'.__('Extract mode:').' '. 477 477 form::combo('inflate_mode',$inflate_combo,'new').'</label> '. 478 478 '<input type="submit" name="unzip" value="'.__('extract').'" />'. … … 485 485 '<form class="clear" action="'.html::escapeURL($page_url).'" method="post">'. 486 486 '<fieldset><legend>'.__('Change media properties').'</legend>'. 487 '<p><label >'.__('File name:').487 '<p><label for="media_file">'.__('File name:'). 488 488 form::field('media_file',30,255,html::escapeHTML($file->basename)).'</label></p>'. 489 '<p><label >'.__('File title:').489 '<p><label for="media_title">'.__('File title:'). 490 490 form::field('media_title',30,255,html::escapeHTML($file->media_title)).'</label></p>'. 491 '<p><label >'.__('File date:').491 '<p><label for="media_dt">'.__('File date:'). 492 492 form::field('media_dt',16,16,html::escapeHTML($file->media_dtstr)).'</label></p>'. 493 '<p><label class="classic">'.form::checkbox('media_private',1,$file->media_priv).' '.493 '<p><label for="media_private" class="classic">'.form::checkbox('media_private',1,$file->media_priv).' '. 494 494 __('Private').'</label></p>'. 495 '<p><label >'.__('New directory:').495 '<p><label for="media_path">'.__('New directory:'). 496 496 form::combo('media_path',$dirs_combo,dirname($file->relname)).'</label></p>'. 497 497 '<p><input type="submit" accesskey="s" value="'.__('save').'" />'. … … 504 504 '<fieldset><legend>'.__('Change file').'</legend>'. 505 505 '<div>'.form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE).'</div>'. 506 '<p><label >'.__('Choose a file:').506 '<p><label for="upfile">'.__('Choose a file:'). 507 507 ' ('.sprintf(__('Maximum size %s'),files::size(DC_MAX_UPLOAD_SIZE)).') '. 508 '<input type="file" name="upfile" size="35" />'.508 '<input type="file" id="upfile" name="upfile" size="35" />'. 509 509 '</label></p>'. 510 510 '<p><input type="submit" value="'.__('send').'" />'. -
admin/permissions.php
r0 r68 135 135 136 136 echo 137 '<p><label class="classic">'.138 form::checkbox(array('perm['.html::escapeHTML($b).']['.html::escapeHTML($perm_id).']' ),137 '<p><label for="perm'.html::escapeHTML($b).html::escapeHTML($perm_id).'" class="classic">'. 138 form::checkbox(array('perm['.html::escapeHTML($b).']['.html::escapeHTML($perm_id).']','perm'.html::escapeHTML($b).html::escapeHTML($perm_id)), 139 139 1,$checked).' '. 140 140 __($perm).'</label></p>'; … … 144 144 echo 145 145 '<fieldset>'. 146 '<p><label >'.__('Your password:').146 '<p><label for="your_pwd">'.__('Your password:'). 147 147 form::password('your_pwd',20,255,'','',15).'</label></p>'. 148 148 '</fieldset>'. -
admin/permissions_blog.php
r3 r68 108 108 109 109 '<div class="col">'. 110 '<p><label >'.__('Order by:').' '.110 '<p><label for="sortby">'.__('Order by:').' '. 111 111 form::combo('sortby',$sortby_combo,html::escapeHTML($sortby)). 112 112 '</label> '. 113 '<label >'.__('Sort:').' '.113 '<label for="order">'.__('Sort:').' '. 114 114 form::combo('order',$order_combo,html::escapeHTML($order)). 115 115 '</label></p>'. … … 117 117 118 118 '<div class="col">'. 119 '<p><label >'.__('Search:').' '.119 '<p><label for="q">'.__('Search:').' '. 120 120 form::field('q',20,255,html::escapeHTML($q)). 121 121 '</label></p>'. 122 '<p><label class="classic">'. form::field('nb',3,3,$nb_per_page).' '.122 '<p><label for="nb" class="classic">'. form::field('nb',3,3,$nb_per_page).' '. 123 123 __('Entries per page').'</label> '. 124 124 '<input type="submit" value="'.__('Apply filters').'" />'. … … 187 187 '<tr class="line">'. 188 188 '<td class="nowrap">'. 189 form::checkbox(array('blog_id[]'),$rs->blog_id ).'</td>'.189 form::checkbox(array('blog_id[]'),$rs->blog_id,'','','',false,'title="'.__('select').' '.$rs->blog_id.'"').'</td>'. 190 190 '<td class="nowrap">'.$rs->blog_id.'</td>'. 191 191 '<td class="maximal">'.html::escapeHTML($rs->blog_name).'</td>'. -
admin/plugins.php
r3 r68 326 326 '<fieldset>'. 327 327 '<legend>'.__('Upload a zip file').'</legend>'. 328 '<p class="field"><label class="classic required" title="'.__('Required field').'">'.__('Plugin zip file:').' '.328 '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Plugin zip file:').' '. 329 329 '<input type="file" name="pkg_file" /></label></p>'. 330 '<p class="field"><label class="classic required" title="'.__('Required field').'">'.__('Your password:').' '.331 form::password(array('your_pwd' ),20,255).'</label></p>'.330 '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '. 331 form::password(array('your_pwd','your_pwd1'),20,255).'</label></p>'. 332 332 '<input type="submit" name="upload_pkg" value="'.__('Upload plugin').'" />'. 333 333 $core->formNonce(). … … 340 340 '<fieldset>'. 341 341 '<legend>'.__('Download a zip file').'</legend>'. 342 '<p class="field"><label class=" classic required" title="'.__('Required field').'">'.__('Plugin zip file URL:').' '.342 '<p class="field"><label for="pkg_url" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Plugin zip file URL:').' '. 343 343 form::field(array('pkg_url'),40,255).'</label></p>'. 344 '<p class="field"><label class="classic required" title="'.__('Required field').'">'.__('Your password:').' '.345 form::password(array('your_pwd' ),20,255).'</label></p>'.344 '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').' '. 345 form::password(array('your_pwd','your_pwd2'),20,255).'</label></p>'. 346 346 '<input type="submit" name="fetch_pkg" value="'.__('Download plugin').'" />'. 347 347 $core->formNonce(). -
admin/popup_link.php
r0 r68 40 40 echo 41 41 '<form id="link-insert-form" action="#" method="get">'. 42 '<p><label class="required" title="'.__('Required field').'">'.__('Link URL:').' '.42 '<p><label class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Link URL:').' '. 43 43 form::field('href',35,512,html::escapeHTML($href)).'</label></p>'. 44 44 '<p><label>'.__('Link title:').' '. … … 50 50 '</form>'. 51 51 52 '<p><a class="button " href="#" id="link-insert-cancel">'.__('cancel').'</a> - '.52 '<p><a class="button reset" href="#" id="link-insert-cancel">'.__('cancel').'</a> - '. 53 53 '<strong><a class="button" href="#" id="link-insert-ok">'.__('insert').'</a></strong></p>'."\n". 54 54 -
admin/popup_posts.php
r0 r68 36 36 37 37 echo '<form action="popup_posts.php" method="get">'. 38 '<p><label class="classic">'.__('Search entry:').' '.form::field('q',30,255,html::escapeHTML($q)).'</label> '.38 '<p><label for="q" class="classic">'.__('Search entry:').' '.form::field('q',30,255,html::escapeHTML($q)).'</label> '. 39 39 ' <input type="submit" value="'.__('ok').'" /></p>'. 40 40 '</form>';
Note: See TracChangeset
for help on using the changeset viewer.