Changeset 1499:fc4bc1ece727 for admin/blog_theme.php
- Timestamp:
- 08/20/13 16:47:16 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blog_theme.php
r1428 r1499 250 250 $themes = $core->themes->getModules(); 251 251 if (isset($themes[$core->blog->settings->system->theme])) { 252 echo '<p>'.sprintf(__('You are currently using "%s"'),$themes[$core->blog->settings->system->theme]['name']).'.</p>';252 echo '<p>'.sprintf(__('You are currently using <strong>%s</strong>'),$themes[$core->blog->settings->system->theme]['name']).'.</p>'; 253 253 } 254 254 … … 299 299 # 'Upload theme' form 300 300 echo 301 '<form method="post" action="blog_theme.php" id="uploadpkg" enctype="multipart/form-data">'. 302 '<fieldset>'. 303 '<legend>'.__('Upload a zip file').'</legend>'. 301 '<form method="post" action="blog_theme.php" id="uploadpkg" enctype="multipart/form-data" class="fieldset">'. 302 '<h4>'.__('Upload a zip file').'</h4>'. 304 303 '<p class="field"><label for="pkg_file" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Theme zip file:').'</label> '. 305 304 '<input type="file" name="pkg_file" id="pkg_file" /></p>'. 306 305 '<p class="field"><label for="your_pwd1" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 307 306 form::password(array('your_pwd','your_pwd1'),20,255).'</p>'. 308 '<input type="submit" name="upload_pkg" value="'.__('Upload theme').'" />'. 309 $core->formNonce(). 310 '</fieldset>'. 307 '<p><input type="submit" name="upload_pkg" value="'.__('Upload theme').'" />'. 308 $core->formNonce().'</p>'. 311 309 '</form>'; 312 310 313 311 # 'Fetch theme' form 314 312 echo 315 '<form method="post" action="blog_theme.php" id="fetchpkg">'. 316 '<fieldset>'. 317 '<legend>'.__('Download a zip file').'</legend>'. 313 '<form method="post" action="blog_theme.php" id="fetchpkg" class="fieldset">'. 314 '<h4>'.__('Download a zip file').'</h4>'. 318 315 '<p class="field"><label for="pkg_url" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Theme zip file URL:').'</label> '. 319 316 form::field(array('pkg_url','pkg_url'),40,255).'</p>'. 320 317 '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label> '. 321 318 form::password(array('your_pwd','your_pwd2'),20,255).'</p>'. 322 '<input type="submit" name="fetch_pkg" value="'.__('Download theme').'" />'. 323 $core->formNonce(). 324 '</fieldset>'. 319 '<p><input type="submit" name="fetch_pkg" value="'.__('Download theme').'" />'. 320 $core->formNonce().'</p>'. 325 321 '</form>'; 326 322 }
Note: See TracChangeset
for help on using the changeset viewer.