Changeset 3639:fe9f4d94f86b for plugins
- Timestamp:
- 12/29/17 14:17:26 (8 years ago)
- Branch:
- default
- Location:
- plugins
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/blogroll/edit.php
r3297 r3639 116 116 117 117 '<p><label for="link_desc" class="required classic"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label> '. 118 form::field('link_desc',30,255,html::escapeHTML($link_desc) ).118 form::field('link_desc',30,255,html::escapeHTML($link_desc),'','',false,'required placeholder="'.__('Title').'"'). 119 119 120 120 form::hidden('edit',1). … … 134 134 135 135 '<p><label for="link_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label> '. 136 form::field('link_title',30,255,html::escapeHTML($link_title) ).'</p>'.136 form::field('link_title',30,255,html::escapeHTML($link_title),'','',false,'required placeholder="'.__('Title').'"').'</p>'. 137 137 138 138 '<p><label for="link_href" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('URL:').'</label> '. 139 form::field('link_href',30,255,html::escapeHTML($link_href) ).'</p>'.139 form::field('link_href',30,255,html::escapeHTML($link_href),'','',false,'required placeholder="'.__('URL').'"').'</p>'. 140 140 141 141 '<p><label for="link_desc">'.__('Description:').'</label> '. -
plugins/blogroll/index.php
r3297 r3639 273 273 '<h3>'.__('Add a new link').'</h3>'. 274 274 '<p class="col"><label for="link_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label> '. 275 form::field('link_title',30,255,$link_title ).275 form::field('link_title',30,255,$link_title,'','',false,'required placeholder="'.__('Title').'"'). 276 276 '</p>'. 277 277 278 278 '<p class="col"><label for="link_href" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('URL:').'</label> '. 279 form::field('link_href',30,255,$link_href ).279 form::field('link_href',30,255,$link_href,'','',false,'required placeholder="'.__('URL').'"'). 280 280 '</p>'. 281 281 … … 298 298 '<h3>'.__('Add a new category').'</h3>'. 299 299 '<p><label for="cat_title" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label> '. 300 form::field('cat_title',30,255,$cat_title ).' '.300 form::field('cat_title',30,255,$cat_title,'','',false,'required placeholder="'.__('Title').'"').' '. 301 301 form::hidden(array('p'),'blogroll'). 302 302 $core->formNonce(). … … 312 312 '<h3>'.__('Import links').'</h3>'. 313 313 '<p><label for="links_file" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('OPML or XBEL File:').'</label> '. 314 '<input type="file" id="links_file" name="links_file" /></p>'.314 '<input type="file" id="links_file" name="links_file" required /></p>'. 315 315 '<p>'.form::hidden(array('p'),'blogroll'). 316 316 $core->formNonce(). -
plugins/importExport/inc/class.dc.import.flat.php
r3627 r3639 224 224 echo 225 225 '<p><label for="your_pwd" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label>'. 226 form::password('your_pwd',20,255 ).'</p>'.226 form::password('your_pwd',20,255,'','','',false,'required placeholder="'.__('Password').'"').'</p>'. 227 227 228 228 '<p>'. -
plugins/pages/page.php
r3627 r3639 487 487 '<p class="col">'. 488 488 '<label class="required no-margin bold" for="post_title"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label>'. 489 form::field('post_title',20,255,html::escapeHTML($post_title),'maximal' ).489 form::field('post_title',20,255,html::escapeHTML($post_title),'maximal','',false,'required placeholder="'.__('Title').'"'). 490 490 '</p>', 491 491 … … 499 499 '<p class="area" id="content-area"><label class="required bold" '. 500 500 'for="post_content"><abbr title="'.__('Required field').'">*</abbr> '.__('Content:').'</label> '. 501 form::textarea('post_content',50,$core->auth->getOption('edit_size'),html::escapeHTML($post_content) ).501 form::textarea('post_content',50,$core->auth->getOption('edit_size'),html::escapeHTML($post_content),'','',false,'required placeholder="'.__('Content').'"'). 502 502 '</p>', 503 503 … … 664 664 '<div class="constrained">'. 665 665 '<p><label for="comment_author" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Name:').'</label>'. 666 form::field('comment_author',30,255,html::escapeHTML($core->auth->getInfo('user_cn')) ).666 form::field('comment_author',30,255,html::escapeHTML($core->auth->getInfo('user_cn')),'','',false,'required placeholder="'.__('Author').'"'). 667 667 '</p>'. 668 668 … … 677 677 '<p class="area"><label for="comment_content" class="required"><abbr title="'.__('Required field').'">*</abbr> '. 678 678 __('Comment:').'</label> '. 679 form::textarea('comment_content',50,8, html::escapeHTML('')).679 form::textarea('comment_content',50,8,'','','',false,'required placeholder="'.__('Comment').'"'). 680 680 '</p>'. 681 681 -
plugins/simpleMenu/index.php
r3582 r3639 230 230 'descr' => $item_descr, 231 231 'url' => $item_url, 232 'targetBlank' => $item_targetBlank 232 'targetBlank' => $item_targetBlank 233 233 ); 234 234 235 235 // Save menu in blog settings 236 236 $core->blog->settings->system->put('simpleMenu',$menu); … … 480 480 echo '<fieldset><legend>'.$item_type_label.($item_select_label != '' ? ' ('.$item_select_label.')' : '').'</legend>'; 481 481 echo '<p class="field"><label for="item_label" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '. 482 __('Label of item menu:').'</label>'.form::field('item_label',20,255,$item_label).'</p>'; 482 __('Label of item menu:').'</label>'. 483 form::field('item_label',20,255,$item_label,'','',false,'required placeholder="'.__('Label').'"'). 484 '</p>'; 483 485 echo '<p class="field"><label for="item_descr" class="classic">'. 484 486 __('Description of item menu:').'</label>'.form::field('item_descr',30,255,$item_descr).'</p>'; 485 487 echo '<p class="field"><label for="item_url" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '. 486 __('URL of item menu:').'</label>'.form::field('item_url',40,255,$item_url).'</p>'; 488 __('URL of item menu:').'</label>'. 489 form::field('item_url',40,255,$item_url,'','',false,'required placeholder="'.__('URL').'"'). 490 '</p>'; 487 491 echo form::hidden('item_type',$item_type).form::hidden('item_select',$item_select); 488 492 echo '<p class="field"><label for="item_descr" class="classic">'. … … 537 541 foreach ($menu as $i => $m) { 538 542 echo '<tr class="line" id="l_'.$i.'">'; 539 543 540 544 //because targetBlank can not exists. This value has been added after this plugin creation. 541 545 if((isset($m['targetBlank'])) && ($m['targetBlank'])) { … … 546 550 $targetBlankStr =''; 547 551 } 548 552 549 553 if (!$step) { 550 554 $count++; … … 562 566 echo '<td class="nowrap">'.html::escapeHTML($m['url']).'</td>'; 563 567 echo '<td class="nowrap">'.$targetBlankStr.'</td>'; 564 568 565 569 } 566 570 echo '</tr>';
Note: See TracChangeset
for help on using the changeset viewer.