Changeset 1499:fc4bc1ece727 for plugins
- Timestamp:
- 08/20/13 16:47:16 (12 years ago)
- Branch:
- default
- Location:
- plugins
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/antispam/_admin.php
r1474 r1499 68 68 $ttl = $settings->antispam->antispam_moderation_ttl; 69 69 echo 70 '< fieldset><legend>Antispam</legend>'.70 '<div class="fieldset"><h4>Antispam</h4>'. 71 71 '<p><label for="antispam_moderation_ttl" class="classic">'.__('Delete junk comments older than').' '. 72 72 form::field('antispam_moderation_ttl', 3, 3, $ttl). 73 73 ' '.__('days'). 74 74 '</label></p>'. 75 '</ fieldset>';75 '</div>'; 76 76 } 77 77 -
plugins/antispam/filters/class.dc.filter.iplookup.php
r1468 r1499 76 76 77 77 $res .= 78 '<form action="'.html::escapeURL($url).'" method="post" >'.79 '< fieldset><legend>' . __('IP Lookup servers') . '</legend>'.78 '<form action="'.html::escapeURL($url).'" method="post" class="fieldset">'. 79 '<h3>' . __('IP Lookup servers') . '</h3>'. 80 80 '<p><label for="bls">'.__('Add here a coma separated list of servers.').'</label>'. 81 81 form::textarea('bls',40,3,html::escapeHTML($bls),'maximal'). … … 83 83 '<p><input type="submit" value="'.__('Save').'" /></p>'. 84 84 $this->core->formNonce().'</p>'. 85 '</fieldset>'.86 85 '</form>'; 87 86 -
plugins/blowupConfig/config.js
r89 r1499 49 49 50 50 $('#theme_config').prepend(styles_combo); 51 $(styles_combo).wrap('< fieldset></fieldset>').before('<legend>' + dotclear.msg.predefined_styles + '</legend>').wrap('<p></p>');51 $(styles_combo).wrap('<div class="fieldset"></div>').before('<h3>' + dotclear.msg.predefined_styles + '</h3>').wrap('<p></p>'); 52 52 53 53 $(styles_combo).change(function() { … … 62 62 63 63 // Code import 64 var e = $('#bu_export ~ fieldset:first');64 var e = $('#bu_export_content'); 65 65 e.toggle(); 66 66 -
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 -
plugins/daInstaller/index.php
r1454 r1499 298 298 '<!-- Search -->'. 299 299 '<div class="multi-part" id="search" title="'.__('Search').'">'. 300 '<fieldset><legend>'.__('Search options'). 301 '</legend>'. 302 '<form method="get" action="'.$p_url.'">'. 300 '<form method="get" action="'.$p_url.'" class="fieldset">'. 301 '<h3>'.__('Search').'</h3>'. 303 302 '<p>'.form::hidden('p','daInstaller'). 304 303 '<label for="q" class="classic">'.__('Query:').' </label> '. 305 form::field('q',30,255,html::escapeHTML($q)). 306 '< label for="mode" class="classic">'.304 form::field('q',30,255,html::escapeHTML($q)).'</p>'. 305 '<p><label for="mode" class="classic">'. 307 306 form::radio(array('mode','mode'),'plugins',$mode == 'plugins'). 308 307 ' '.__('Plugins').' </label> '. 309 308 '<label for="mode2" class="classic">'. 310 form::radio(array('mode','mode2'),'themes',$mode == 'themes') 311 .' '.__('Themes').' </label> '. 312 '<input type="submit" value="'.__('Search').'" /></p>'. 313 '</form>'. 314 '</fieldset>'; 309 form::radio(array('mode','mode2'),'themes',$mode == 'themes'). 310 ' '.__('Themes').' </label></p>'. 311 '<p><input type="submit" value="'.__('Search').'" /></p>'. 312 '</form>'; 315 313 if (!empty($q)) { 316 314 echo '<p><strong>'.sprintf(__('%u %s found'),$s_m_nb,__($mode)).'</strong></p>'; -
plugins/importExport/inc/class.dc.export.flat.php
r840 r1499 191 191 { 192 192 echo 193 '<form action="'.$this->getURL(true).'" method="post" >'.194 '< fieldset><legend>'.__('Single blog').'</legend>'.193 '<form action="'.$this->getURL(true).'" method="post" class="fieldset">'. 194 '<h3>'.__('Single blog').'</h3>'. 195 195 '<p>'.sprintf(__('This will create an export of your current blog: %s'),html::escapeHTML($this->core->blog->name)).'</p>'. 196 196 … … 211 211 $this->core->formNonce().'</p>'. 212 212 213 '</fieldset>'.214 213 '</form>'; 215 214 … … 217 216 { 218 217 echo 219 '<form action="'.$this->getURL(true).'" method="post" >'.220 '< fieldset><legend>'.__('Multiple blogs').'</legend>'.218 '<form action="'.$this->getURL(true).'" method="post" class="fieldset">'. 219 '<h3>'.__('Multiple blogs').'</h3>'. 221 220 '<p>'.__('This will create an export of all the content of your database.').'</p>'. 222 221 … … 234 233 $this->core->formNonce().'</p>'. 235 234 236 '</fieldset>'.237 235 '</form>'; 238 236 } -
plugins/importExport/inc/class.dc.import.flat.php
r1454 r1499 180 180 181 181 echo 182 '<form action="'.$this->getURL(true).'" method="post" enctype="multipart/form-data" >'.183 '< fieldset><legend>'.__('Single blog').'</legend>'.184 '<p>'.sprintf(__('This will import a single blog backup as new content in the current blog: %s.'),html::escapeHTML($this->core->blog->name)).'</p>'.182 '<form action="'.$this->getURL(true).'" method="post" enctype="multipart/form-data" class="fieldset">'. 183 '<h3>'.__('Single blog').'</h3>'. 184 '<p>'.sprintf(__('This will import a single blog backup as new content in the current blog: <strong>%s</strong>.'),html::escapeHTML($this->core->blog->name)).'</p>'. 185 185 186 186 '<p><label for="up_single_file" class="classic">'.__('Upload a backup file'). … … 203 203 '<input type="submit" value="'.__('Import').'" /></p>'. 204 204 205 '</fieldset>'.206 205 '</form>'; 207 206 … … 209 208 { 210 209 echo 211 '<form action="'.$this->getURL(true).'" method="post" enctype="multipart/form-data" id="formfull" >'.212 '< fieldset><legend>'.__('Multiple blogs').'</legend>'.210 '<form action="'.$this->getURL(true).'" method="post" enctype="multipart/form-data" id="formfull" class="fieldset">'. 211 '<h3>'.__('Multiple blogs').'</h3>'. 213 212 '<p class="warning">'.__('This will reset all the content of your database, except users.').'</p>'. 214 213 … … 235 234 '<input type="submit" value="'.__('Import').'" /></p>'. 236 235 237 '</fieldset>'.238 236 '</form>'; 239 237 } -
plugins/importExport/locales/fr/main.po
r841 r1499 223 223 224 224 #: inc/class.dc.import.flat.php:184 225 msgid "This will import a single blog backup as new content in the current blog: %s."225 msgid "This will import a single blog backup as new content in the current blog: <strong>%s</strong>." 226 226 msgstr "Ceci va charger une sauvegarde de blog comme un nouveau contenu dans le blog en cours : %s." 227 227
Note: See TracChangeset
for help on using the changeset viewer.