- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/blowupConfig/index.php
r1454 r1499 235 235 236 236 echo 237 '<p><a class="back" href="blog_theme.php">'.__(' back').'</a></p>';237 '<p><a class="back" href="blog_theme.php">'.__('Back to Blog themes').'</a></p>'; 238 238 239 239 … … 249 249 echo '<form id="theme_config" action="'.$p_url.'" method="post" enctype="multipart/form-data">'; 250 250 251 echo '<fieldset><legend>'.__('General').'</legend>'; 251 echo '<div class="fieldset"><h3>'.__('Customization').'</h3>'. 252 '<h4>'.__('General').'</h4>'; 252 253 253 254 if ($can_write_images) { … … 272 273 '<p class="field"><label for="body_line_height">'.__('Text line height:').'</label> '. 273 274 form::field('body_line_height',7,7,$blowup_user['body_line_height']).'</p>'. 274 '</fieldset>'. 275 276 '<fieldset><legend>'.__('Links').'</legend>'. 275 276 '<h4 class="border-top">'.__('Links').'</h4>'. 277 277 '<p class="field"><label for="body_link_c">'.__('Links color:').'</label> '. 278 278 form::field('body_link_c',7,7,$blowup_user['body_link_c'],'colorpicker').'</p>'. … … 283 283 '<p class="field"><label for="body_link_f_c">'.__('Focus links color:').'</label> '. 284 284 form::field('body_link_f_c',7,7,$blowup_user['body_link_f_c'],'colorpicker').'</p>'. 285 '</fieldset>'. 286 287 '<fieldset><legend>'.__('Page top').'</legend>'; 285 286 '<h4 class="border-top">'.__('Page top').'</h4>'; 288 287 289 288 if ($can_write_images) { … … 310 309 311 310 '<p class="field"><label for="blog_title_p">'.__('Main title position (x:y)').'</label> '. 312 form::field('blog_title_p',7,7,$blowup_user['blog_title_p']).'</p>'. 313 '</fieldset>'; 311 form::field('blog_title_p',7,7,$blowup_user['blog_title_p']).'</p>'; 314 312 315 313 if ($can_write_images) { … … 321 319 322 320 echo 323 '< fieldset><legend>'.__('Top image').'</legend>'.321 '<h4 class="border-top">'.__('Top image').'</h4>'. 324 322 '<p class="field"><label for="top_image">'.__('Top image').'</label> '. 325 323 form::combo('top_image',$top_images,($blowup_user['top_image'] ? $blowup_user['top_image'] : 'default')).'</p>'. … … 331 329 '</p>'. 332 330 333 '<h 3>'.__('Preview').'</h3>'.331 '<h5>'.__('Preview').'</h5>'. 334 332 '<div class="grid" style="width:800px;border:1px solid #ccc;">'. 335 333 '<img style="display:block;" src="'.$preview_image.'" alt="" id="image-preview" />'. 336 '</div>'. 337 '</fieldset>'; 338 } 339 340 echo 341 '<fieldset><legend>'.__('Sidebar').'</legend>'. 334 '</div>'; 335 } 336 337 echo 338 '<h4 class="border-top">'.__('Sidebar').'</h4>'. 342 339 '<p class="field"><label for="sidebar_position">'.__('Sidebar position:').'</label> '. 343 340 form::combo('sidebar_position',array(__('right')=>'right',__('left')=>'left'),$blowup_user['sidebar_position']).'</p>'. … … 383 380 '</fieldset>'. 384 381 385 '< fieldset><legend>'.__('Entries').'</legend>'.382 '<h4 class="border-top">'.__('Entries').'</h4>'. 386 383 '<p class="field"><label for="date_title_f">'.__('Date title font:').'</label> '. 387 384 form::combo('date_title_f',blowupConfig::fontsList(),$blowup_user['date_title_f']).'</p>'. … … 421 418 '<p class="field"><label for="post_commentmy_c">'.__('My comment text color:').'</label> '. 422 419 form::field('post_commentmy_c',7,7,$blowup_user['post_commentmy_c'],'colorpicker').'</p>'. 423 '</fieldset>'. 424 425 '<fieldset><legend>'.__('Footer').'</legend>'. 420 421 '<h4 class="border-top">'.__('Footer').'</h4>'. 426 422 '<p class="field"><label for="footer_f">'.__('Footer font:').'</label> '. 427 423 form::combo('footer_f',blowupConfig::fontsList(),$blowup_user['footer_f']).'</p>'. … … 437 433 438 434 '<p class="field"><label for="footer_bg_c">'.__('Footer background color:').'</label> '. 439 form::field('footer_bg_c',7,7,$blowup_user['footer_bg_c'],'colorpicker').'</p>'. 440 '</fieldset>'; 441 442 echo 443 '<fieldset><legend>'.__('Additional CSS').'</legend>'. 435 form::field('footer_bg_c',7,7,$blowup_user['footer_bg_c'],'colorpicker').'</p>'; 436 437 echo 438 '<h4 class="border-top">'.__('Additional CSS').'</h4>'. 444 439 '<p><label for="extra_css">'.__('Any additional CSS styles (must be written using the CSS syntax):').'</label> '. 445 440 form::textarea('extra_css',72,5,html::escapeHTML($blowup_user['extra_css']),'maximal','',false,'title="'.__('Additional CSS').'"'). 446 441 '</p>'. 447 '</ fieldset>';442 '</div>'; 448 443 449 444 … … 461 456 } 462 457 echo 463 '<h3 id="bu_export">'.__('Configuration import / export').'</h3><fieldset>'. 458 '<div class="fieldset">'. 459 '<h3 id="bu_export">'.__('Configuration import / export').'</h3>'. 460 '<div id="bu_export_content">'. 464 461 '<p>'.__('You can share your configuration using the following code. To apply a configuration, paste the code, click on "Apply code" and save.').'</p>'. 465 462 '<p>'.form::textarea('export_code',72,5,implode('; ',$tmp_array),'maximal','',false,'title="'.__('Copy this code:').'"').'</p>'. 466 '</fieldset>'; 463 '</div>'. 464 '</div>'; 467 465 468 466 echo
Note: See TracChangeset
for help on using the changeset viewer.