Changeset 454:0458313d8a11 for plugins
- Timestamp:
- 06/30/11 12:19:13 (14 years ago)
- Branch:
- default
- Location:
- plugins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/blogroll/index.php
r270 r454 311 311 '<fieldset class="two-cols"><legend>'.__('Add a new link').'</legend>'. 312 312 '<p class="col"><label for="link_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '. 313 form::field('link_title',30,255,$link_title ,'',2).313 form::field('link_title',30,255,$link_title). 314 314 '</label></p>'. 315 315 316 316 '<p class="col"><label for="link_href" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('URL:').' '. 317 form::field('link_href',30,255,$link_href ,'',3).317 form::field('link_href',30,255,$link_href). 318 318 '</label></p>'. 319 319 320 320 '<p class="col"><label for="link_desc">'.__('Description:').' '. 321 form::field('link_desc',30,255,$link_desc ,'',4).321 form::field('link_desc',30,255,$link_desc). 322 322 '</label></p>'. 323 323 324 324 '<p class="col"><label for="link_lang">'.__('Language:').' '. 325 form::field('link_lang',5,5,$link_lang ,'',5).325 form::field('link_lang',5,5,$link_lang). 326 326 '</label></p>'. 327 327 '<p>'.form::hidden(array('p'),'blogroll'). 328 328 $core->formNonce(). 329 '<input type="submit" name="add_link" value="'.__('Save').'" tabindex="6"/></p>'.329 '<input type="submit" name="add_link" value="'.__('Save').'" /></p>'. 330 330 '</fieldset>'. 331 331 '</form>'. … … 337 337 '<fieldset><legend>'.__('Add a new category').'</legend>'. 338 338 '<p><label for="cat_title" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '. 339 form::field('cat_title',30,255,$cat_title ,'',7).'</label> '.339 form::field('cat_title',30,255,$cat_title).'</label> '. 340 340 form::hidden(array('p'),'blogroll'). 341 341 $core->formNonce(). 342 '<input type="submit" name="add_cat" value="'.__('Save').'" tabindex="8"/></p>'.342 '<input type="submit" name="add_cat" value="'.__('Save').'" /></p>'. 343 343 '</fieldset>'. 344 344 '</form>'. … … 355 355 '<p>'.form::hidden(array('p'),'blogroll'). 356 356 $core->formNonce(). 357 '<input type="submit" name="import_links" value="'.__('import').'" tabindex="10"/></p>'.357 '<input type="submit" name="import_links" value="'.__('import').'" /></p>'. 358 358 '</fieldset>'. 359 359 '</form>'; … … 398 398 form::hidden(array('p'),'blogroll'). 399 399 $core->formNonce(). 400 '<input type="submit" name="cancel_import" value="'.__('cancel').'" tabindex="10"/> '.401 '<input type="submit" name="import_links_do" value="'.__('import').'" tabindex="11"/></p>'.400 '<input type="submit" name="cancel_import" value="'.__('cancel').'" /> '. 401 '<input type="submit" name="import_links_do" value="'.__('import').'" /></p>'. 402 402 '</div>'; 403 403 } -
plugins/pages/page.php
r270 r454 365 365 echo 366 366 '<p><label for="post_status">'.__('Page status:'). 367 form::combo('post_status',$status_combo,$post_status,'', 3,!$can_publish).367 form::combo('post_status',$status_combo,$post_status,'','',!$can_publish). 368 368 '</label></p>'. 369 369 370 370 '<p><label for="post_dt">'.__('Published on:'). 371 form::field('post_dt',16,16,$post_dt ,'',3).'</label></p>'.371 form::field('post_dt',16,16,$post_dt).'</label></p>'. 372 372 373 373 '<p><label for="post_format">'.__('Text formating:'). 374 form::combo('post_format',$formaters_combo,$post_format ,'',3).374 form::combo('post_format',$formaters_combo,$post_format). 375 375 ($post_id && $post_format != 'xhtml' ? '<a href="'.html::escapeURL($redir_url).'&id='.$post_id.'&xconv=1">'.__('Convert to XHTML').'</a>' : ''). 376 376 '</label></p>'. 377 377 378 '<p><label for="post_open_comment" class="classic">'.form::checkbox('post_open_comment',1,$post_open_comment ,'',3).' '.378 '<p><label for="post_open_comment" class="classic">'.form::checkbox('post_open_comment',1,$post_open_comment).' '. 379 379 __('Accept comments').'</label></p>'. 380 '<p><label for="post_open_tb" class="classic">'.form::checkbox('post_open_tb',1,$post_open_tb ,'',3).' '.380 '<p><label for="post_open_tb" class="classic">'.form::checkbox('post_open_tb',1,$post_open_tb).' '. 381 381 __('Accept trackbacks').'</label></p>'. 382 382 383 383 '<p><label for="post_position" class="classic">'.__('Page position:').' '. 384 form::field('post_position',3,3,(string) $post_position ,'',3).384 form::field('post_position',3,3,(string) $post_position). 385 385 '</label></p>'. 386 386 387 387 '<p><label for="post_lang">'.__('Page lang:'). 388 form::combo('post_lang',$lang_combo,$post_lang ,'',5).'</label></p>'.388 form::combo('post_lang',$lang_combo,$post_lang).'</label></p>'. 389 389 390 390 '<p><label for="post_password">'.__('Page password:'). 391 form::field('post_password',10,32,html::escapeHTML($post_password),'maximal' ,3).391 form::field('post_password',10,32,html::escapeHTML($post_password),'maximal'). 392 392 '</label></p>'. 393 393 394 394 '<div class="lockable">'. 395 395 '<p><label for="post_url">'.__('Basename:'). 396 form::field('post_url',10,255,html::escapeHTML($post_url),'maximal' ,3).396 form::field('post_url',10,255,html::escapeHTML($post_url),'maximal'). 397 397 '</label></p>'. 398 398 '<p class="form-note warn">'. … … 447 447 echo 448 448 '<p class="col"><label for="post_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:'). 449 form::field('post_title',20,255,html::escapeHTML($post_title),'maximal' ,2).449 form::field('post_title',20,255,html::escapeHTML($post_title),'maximal'). 450 450 '</label></p>'. 451 451 452 452 '<p class="area" id="excerpt-area"><label for="post_excerpt">'.__('Excerpt:').'</label> '. 453 form::textarea('post_excerpt',50,5,html::escapeHTML($post_excerpt) ,'',2).453 form::textarea('post_excerpt',50,5,html::escapeHTML($post_excerpt)). 454 454 '</p>'. 455 455 456 456 '<p class="area"><label class="required" '. 457 457 'for="post_content"><abbr title="'.__('Required field').'">*</abbr> '.__('Content:').'</label> '. 458 form::textarea('post_content',50,$core->auth->getOption('edit_size'),html::escapeHTML($post_content) ,'',2).458 form::textarea('post_content',50,$core->auth->getOption('edit_size'),html::escapeHTML($post_content)). 459 459 '</p>'; 460 460 461 461 echo 462 462 '<p class="area" id="notes-area"><label for="post_notes">'.__('Notes:').'</label>'. 463 form::textarea('post_notes',50,5,html::escapeHTML($post_notes) ,'',2).463 form::textarea('post_notes',50,5,html::escapeHTML($post_notes)). 464 464 '</p>'; 465 465 … … 470 470 '<p>'. 471 471 ($post_id ? form::hidden('id',$post_id) : ''). 472 '<input type="submit" value="'.__('Save').' (s)" tabindex="4"'.472 '<input type="submit" value="'.__('Save').' (s)" '. 473 473 'accesskey="s" name="save" /> '. 474 474 ($can_delete ? '<input type="submit" class="delete" value="'.__('Delete').'" name="delete" />' : ''). -
plugins/tags/_admin.php
r324 r454 82 82 echo 83 83 '<h3><label for="post_tags">'.__('Tags:').'</label></h3>'. 84 '<div class="p" id="tags-edit">'.form::textarea('post_tags',20,3,$value,'maximal' ,3).'</div>';84 '<div class="p" id="tags-edit">'.form::textarea('post_tags',20,3,$value,'maximal').'</div>'; 85 85 } 86 86
Note: See TracChangeset
for help on using the changeset viewer.