Changeset 1399:cdf556efc5ea for admin/blog_pref.php
- Timestamp:
- 08/16/13 14:16:11 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blog_pref.php
r1358 r1399 309 309 { 310 310 echo 311 '<p><label for="blog_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog ID:'). 312 form::field('blog_id',30,32,html::escapeHTML($blog_id)).'</ label></p>'.311 '<p><label for="blog_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog ID:').'</label>'. 312 form::field('blog_id',30,32,html::escapeHTML($blog_id)).'</p>'. 313 313 '<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').'</p> '. 314 314 '<p class="form-note warn">'.__('Please note that changing your blog ID may require changes in your public index.php file.').'</p>'; … … 316 316 317 317 echo 318 '<p><label for="blog_name" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog name:'). 319 form::field('blog_name',30,255,html::escapeHTML($blog_name)).'</ label></p>';318 '<p><label for="blog_name" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog name:').'</label>'. 319 form::field('blog_name',30,255,html::escapeHTML($blog_name)).'</p>'; 320 320 321 321 if ($core->auth->isSuperAdmin()) 322 322 { 323 323 echo 324 '<p><label for="blog_url" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog URL:'). 325 form::field('blog_url',30,255,html::escapeHTML($blog_url)).'</ label></p>'.326 327 '<p><label for="url_scan">'.__('URL scan method:'). 328 form::combo('url_scan',$url_scan_combo,$blog_settings->system->url_scan).'</ label></p>'.329 330 '<p><label for="blog_status">'.__('Blog status:'). 331 form::combo('blog_status',$status_combo,$blog_status).'</ label></p>';324 '<p><label for="blog_url" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog URL:').'</label>'. 325 form::field('blog_url',30,255,html::escapeHTML($blog_url)).'</p>'. 326 327 '<p><label for="url_scan">'.__('URL scan method:').'</label>'. 328 form::combo('url_scan',$url_scan_combo,$blog_settings->system->url_scan).'</p>'. 329 330 '<p><label for="blog_status">'.__('Blog status:').'</label>'. 331 form::combo('blog_status',$status_combo,$blog_status).'</p>'; 332 332 } 333 333 … … 342 342 '<div class="two-cols">'. 343 343 '<div class="col">'. 344 '<p><label for="editor">'.__('Blog editor name:'). 344 '<p><label for="editor">'.__('Blog editor name:').'</label>'. 345 345 form::field('editor',30,255,html::escapeHTML($blog_settings->system->editor)). 346 '</ label></p>'.347 348 '<p><label for="lang">'.__('Default language:'). 346 '</p>'. 347 348 '<p><label for="lang">'.__('Default language:').'</label>'. 349 349 form::combo('lang',$lang_combo,$blog_settings->system->lang,'l10n'). 350 '</ label></p>'.351 352 '<p><label for="blog_timezone">'.__('Blog timezone:'). 350 '</p>'. 351 352 '<p><label for="blog_timezone">'.__('Blog timezone:').'</label>'. 353 353 form::combo('blog_timezone',dt::getZones(true,true),html::escapeHTML($blog_settings->system->blog_timezone)). 354 '</ label></p>'.355 356 '<p><label for="copyright_notice">'.__('Copyright notice:'). 354 '</p>'. 355 356 '<p><label for="copyright_notice">'.__('Copyright notice:').'</label>'. 357 357 form::field('copyright_notice',30,255,html::escapeHTML($blog_settings->system->copyright_notice)). 358 '</ label></p>'.359 '</div>'. 360 361 '<div class="col">'. 362 '<p><label for="post_url_format">'.__('New post URL format:'). 358 '</p>'. 359 '</div>'. 360 361 '<div class="col">'. 362 '<p><label for="post_url_format">'.__('New post URL format:').'</label>'. 363 363 form::combo('post_url_format',$post_url_combo,html::escapeHTML($blog_settings->system->post_url_format)). 364 '</ label></p>'.365 366 '<p><label for="note_title_tag">'.__('Note title HTML tag:'). 364 '</p>'. 365 366 '<p><label for="note_title_tag">'.__('Note title HTML tag:').'</label>'. 367 367 form::combo('note_title_tag',$note_title_tag_combo,$blog_settings->system->note_title_tag). 368 '</ label></p>'.369 370 '<p><label for="enable_xmlrpc" class="classic">'. 368 '</p>'. 369 370 '<p><label for="enable_xmlrpc" class="classic">'.'</label>'. 371 371 form::checkbox('enable_xmlrpc','1',$blog_settings->system->enable_xmlrpc). 372 __('Enable XML/RPC interface').'</ label></p>';372 __('Enable XML/RPC interface').'</p>'; 373 373 374 374 echo … … 442 442 '<div class="two-cols">'. 443 443 '<div class="col">'. 444 '<p><label for="date_format">'.__('Date format:'). 444 '<p><label for="date_format">'.__('Date format:').'</label>'. 445 445 form::field('date_format',30,255,html::escapeHTML($blog_settings->system->date_format)). 446 '</ label></p>'.447 448 '<p><label for="time_format">'.__('Time format:'). 446 '</p>'. 447 448 '<p><label for="time_format">'.__('Time format:').'</label>'. 449 449 form::field('time_format',30,255,html::escapeHTML($blog_settings->system->time_format)). 450 '</ label></p>'.450 '</p>'. 451 451 452 452 '<p><label for="use_smilies" class="classic">'. … … 500 500 501 501 '<h4>'.__('Default image insertion attributes').'</h4>'. 502 '<p><label for="media_img_default_size">'.__('Image size:'). 502 '<p><label for="media_img_default_size">'.__('Image size:').'</label>'. 503 503 form::combo('media_img_default_size',$img_default_size_combo, 504 504 (html::escapeHTML($blog_settings->system->media_img_default_size) != '' ? html::escapeHTML($blog_settings->system->media_img_default_size) : 'm')). 505 '</ label></p>'.506 '<p><label for="media_img_default_alignment">'.__('Image alignment'). 505 '</p>'. 506 '<p><label for="media_img_default_alignment">'.__('Image alignment').'</label>'. 507 507 form::combo('media_img_default_alignment',$img_default_alignment_combo,html::escapeHTML($blog_settings->system->media_img_default_alignment)). 508 '</ label></p>'.508 '</p>'. 509 509 '<p><label for="media_img_default_link" class="classic">'. 510 510 form::checkbox('media_img_default_link','1',$blog_settings->system->media_img_default_link).
Note: See TracChangeset
for help on using the changeset viewer.