Changeset 1499:fc4bc1ece727 for admin/blog_pref.php
- Timestamp:
- 08/20/13 16:47:16 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blog_pref.php
r1474 r1499 303 303 304 304 echo 305 '< fieldset><legend>'.__('Blog details').'</legend>'.305 '<div class="fieldset"><h4>'.__('Blog details').'</h4>'. 306 306 $core->formNonce(); 307 307 … … 335 335 '<p class="area"><label for="blog_desc">'.__('Blog description:').'</label>'. 336 336 form::textarea('blog_desc',60,5,html::escapeHTML($blog_desc)).'</p>'. 337 '</ fieldset>';338 339 340 echo 341 '< fieldset><legend>'.__('Blog configuration').'</legend>'.337 '</div>'; 338 339 340 echo 341 '<div class="fieldset"><h4>'.__('Blog configuration').'</h4>'. 342 342 '<div class="two-cols">'. 343 343 '<div class="col">'. … … 393 393 '</div>'. 394 394 '<br class="clear" />'. //Opera sucks 395 '</fieldset>'; 396 397 echo 398 '<fieldset><legend>'.__('Comments and trackbacks').'</legend>'. 395 '</div>'; 396 397 echo 398 '<div class="fieldset"><h4>'.__('Comments and trackbacks').'</h4>'. 399 399 400 '<div class="two-cols">'. 401 400 402 '<div class="col">'. 401 403 '<p><label for="allow_comments" class="classic">'. 402 404 form::checkbox('allow_comments','1',$blog_settings->system->allow_comments). 403 __('Accept comments').'</label></p>'. 404 405 __('Accept comments').'</label></p>'. 405 406 '<p><label for="comments_pub" class="classic">'. 406 407 form::checkbox('comments_pub','1',!$blog_settings->system->comments_pub). 407 __('Moderate comments').'</label></p>'. 408 408 __('Moderate comments').'</label></p>'. 409 409 '<p><label for="comments_ttl" class="classic">'.sprintf(__('Leave comments open for %s days'), 410 410 form::field('comments_ttl',2,3,$blog_settings->system->comments_ttl)). 411 411 '</label></p>'. 412 '<p class="form-note">'.__('Leave blank to disable this feature.').'</p>'. 413 412 '<p class="form-note">'.__('Leave blank to disable this feature.').'</p>'. 414 413 '<p><label for="wiki_comments" class="classic">'. 415 414 form::checkbox('wiki_comments','1',$blog_settings->system->wiki_comments). … … 420 419 '<p><label for="allow_trackbacks" class="classic">'. 421 420 form::checkbox('allow_trackbacks','1',$blog_settings->system->allow_trackbacks). 422 __('Accept trackbacks').'</label></p>'. 423 421 __('Accept trackbacks').'</label></p>'. 424 422 '<p><label for="trackbacks_pub" class="classic">'. 425 423 form::checkbox('trackbacks_pub','1',!$blog_settings->system->trackbacks_pub). 426 __('Moderate trackbacks').'</label></p>'. 427 424 __('Moderate trackbacks').'</label></p>'. 428 425 '<p><label for="trackbacks_ttl" class="classic">'.sprintf(__('Leave trackbacks open for %s days'), 429 426 form::field('trackbacks_ttl',2,3,$blog_settings->system->trackbacks_ttl)).'</label></p>'. 430 '<p class="form-note">'.__('Leave blank to disable this feature.').'</p>'. 431 427 '<p class="form-note">'.__('Leave blank to disable this feature.').'</p>'. 432 428 '<p><label for="comments_nofollow" class="classic">'. 433 429 form::checkbox('comments_nofollow','1',$blog_settings->system->comments_nofollow). 434 430 __('Add "nofollow" relation on comments and trackbacks links').'</label></p>'. 435 431 '</div>'. 436 '</div>'.437 432 '<br class="clear" />'. //Opera sucks 438 '</fieldset>'; 439 440 echo 441 '<fieldset><legend>'.__('Blog presentation').'</legend>'. 433 434 '</div>'. 435 '<br class="clear" />'. //Opera sucks 436 '</div>'; 437 438 echo 439 '<div class="fieldset"><h4>'.__('Blog presentation').'</h4>'. 442 440 '<div class="two-cols">'. 443 441 '<div class="col">'. … … 474 472 '</div>'. 475 473 '<br class="clear" />'. //Opera sucks 476 '</ fieldset>';477 478 echo 479 '< fieldset><legend>'.__('Media and images').'</legend>'.474 '</div>'; 475 476 echo 477 '<div class="fieldset"><h4>'.__('Media and images').'</h4>'. 480 478 '<div class="two-cols">'. 481 479 '<div class="col">'. 482 '<h 4>'.__('Generated image sizes (in pixels)').'</h4>'.480 '<h5>'.__('Generated image sizes (in pixels)').'</h5>'. 483 481 '<p class="field"><label for="media_img_t_size">'.__('Thumbnails:').' '. 484 482 form::field('media_img_t_size',3,3,$blog_settings->system->media_img_t_size).'</label></p>'. … … 492 490 493 491 '<div class="col">'. 494 '<h 4><label for="media_img_title_pattern">'.__('Inserted image title').'</label></h4>'.492 '<h5><label for="media_img_title_pattern">'.__('Inserted image title').'</label></h5>'. 495 493 '<p>'.__('This defines image tag title when you insert it in a post from the media manager. It is retrieved from the picture\'s metadata.').'</p>'. 496 494 '<p>'.form::combo('media_img_title_pattern',$img_title_combo,html::escapeHTML($blog_settings->system->media_img_title_pattern)).'</p>'. … … 499 497 __('Use original media date if possible').'</label></p>'. 500 498 501 '<h 4>'.__('Default image insertion attributes').'</h4>'.499 '<h5>'.__('Default image insertion attributes').'</h5>'. 502 500 '<p><label for="media_img_default_size">'.__('Image size:').'</label>'. 503 501 form::combo('media_img_default_size',$img_default_size_combo, … … 512 510 '</div>'. 513 511 '</div>'. 514 515 '</fieldset>'; 516 517 echo 518 '<fieldset><legend>'.__('Search engines robots policy').'</legend>'; 512 '<br class="clear" />'. //Opera sucks 513 514 '</div>'; 515 516 echo 517 '<div class="fieldset"><h4>'.__('Search engines robots policy').'</h4>'; 519 518 520 519 $i = 0; … … 526 525 } 527 526 528 echo '</ fieldset>';527 echo '</div>'; 529 528 530 529
Note: See TracChangeset
for help on using the changeset viewer.