Changeset 91:e3f1423902d7 for plugins/pages/page.php
- Timestamp:
- 05/02/11 09:47:54 (14 years ago)
- Branch:
- userprefs
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pages/page.php
r82 r91 359 359 360 360 echo 361 '<p><label >'.__('Page status:').361 '<p><label for="post_status">'.__('Page status:'). 362 362 form::combo('post_status',$status_combo,$post_status,'',3,!$can_publish). 363 363 '</label></p>'. 364 364 365 '<p><label >'.__('Published on:').365 '<p><label for="post_dt">'.__('Published on:'). 366 366 form::field('post_dt',16,16,$post_dt,'',3).'</label></p>'. 367 367 368 '<p><label >'.__('Text formating:').368 '<p><label for="post_format">'.__('Text formating:'). 369 369 form::combo('post_format',$formaters_combo,$post_format,'',3). 370 370 ($post_id && $post_format != 'xhtml' ? '<a href="'.html::escapeURL($redir_url).'&id='.$post_id.'&xconv=1">'.__('Convert to XHTML').'</a>' : ''). 371 371 '</label></p>'. 372 372 373 '<p><label class="classic">'.form::checkbox('post_open_comment',1,$post_open_comment,'',3).' '.373 '<p><label for="post_open_comment" class="classic">'.form::checkbox('post_open_comment',1,$post_open_comment,'',3).' '. 374 374 __('Accept comments').'</label></p>'. 375 '<p><label class="classic">'.form::checkbox('post_open_tb',1,$post_open_tb,'',3).' '.375 '<p><label for="post_open_tb" class="classic">'.form::checkbox('post_open_tb',1,$post_open_tb,'',3).' '. 376 376 __('Accept trackbacks').'</label></p>'. 377 377 378 '<p><label class="classic">'.__('Page position:').' '.378 '<p><label for="post_position" class="classic">'.__('Page position:').' '. 379 379 form::field('post_position',3,3,(string) $post_position,'',3). 380 380 '</label></p>'. 381 381 382 '<p><label >'.__('Page lang:').382 '<p><label for="post_lang">'.__('Page lang:'). 383 383 form::combo('post_lang',$lang_combo,$post_lang,'',5).'</label></p>'. 384 384 385 '<p><label >'.__('Page password:').385 '<p><label for="post_password">'.__('Page password:'). 386 386 form::field('post_password',10,32,html::escapeHTML($post_password),'maximal',3). 387 387 '</label></p>'. 388 388 389 389 '<div class="lockable">'. 390 '<p><label >'.__('Basename:').390 '<p><label for="post_url">'.__('Basename:'). 391 391 form::field('post_url',10,255,html::escapeHTML($post_url),'maximal',3). 392 392 '</label></p>'. … … 441 441 442 442 echo 443 '<p class="col"><label class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').443 '<p class="col"><label for="post_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:'). 444 444 form::field('post_title',20,255,html::escapeHTML($post_title),'maximal',2). 445 445 '</label></p>'. … … 535 535 '<p class="col checkboxes-helpers"></p>'. 536 536 537 '<p class="col right"> '.__('Selected comments action:').''.537 '<p class="col right"><label for="action">'.__('Selected comments action:').'</label> '. 538 538 form::combo('action',$combo_action). 539 539 form::hidden('redir',html::escapeURL($redir_url).'&id='.$post_id.'&co=1'). … … 557 557 '<form action="comment.php" method="post" id="comment-form">'. 558 558 '<fieldset class="constrained">'. 559 '<p><label class="required" title="'.__('Required field').'">'.__('Name:').559 '<p><label for="comment_author" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Name:'). 560 560 form::field('comment_author',30,255,html::escapeHTML($core->auth->getInfo('user_cn'))). 561 561 '</label></p>'. 562 562 563 '<p><label >'.__('Email:').563 '<p><label for="comment_email">'.__('Email:'). 564 564 form::field('comment_email',30,255,html::escapeHTML($core->auth->getInfo('user_email'))). 565 565 '</label></p>'. 566 566 567 '<p><label >'.__('Web site:').567 '<p><label for="comment_site">'.__('Web site:'). 568 568 form::field('comment_site',30,255,html::escapeHTML($core->auth->getInfo('user_url'))). 569 569 '</label></p>'. 570 570 571 '<p class="area"><label for="comment_content" class="required" title="'. 572 __('Required field').'">'.__('Comment:').'</label> '. 571 '<p class="area"><label for="comment_content" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Comment:').'</label> '. 573 572 form::textarea('comment_content',50,8,html::escapeHTML('')). 574 573 '</p>'. … … 620 619 621 620 '<td class="nowrap">'. 622 ($has_action ? form::checkbox(array('comments[]'),$rs->comment_id,'','','',0 ) : '').'</td>'.621 ($has_action ? form::checkbox(array('comments[]'),$rs->comment_id,'','','',0,'title="'.__('select this comment').'"') : '').'</td>'. 623 622 '<td class="maximal">'.$rs->comment_author.'</td>'. 624 623 '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$rs->comment_dt).'</td>'.
Note: See TracChangeset
for help on using the changeset viewer.