Changeset 1428:3e80fc62b404 for admin/blog_theme.php
- Timestamp:
- 08/18/13 10:32:55 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blog_theme.php
r1399 r1428 173 173 '<div class="theme-shot"><img src="'.$screenshot.'" alt="" /></div>'. 174 174 '<div class="theme-info">'. 175 '<h 3>'.form::radio(array('theme',$radio_id),html::escapeHTML($id),$current,'','',($has_parent && !$is_parent_present)).' '.175 '<h4>'.form::radio(array('theme',$radio_id),html::escapeHTML($id),$current,'','',($has_parent && !$is_parent_present)).' '. 176 176 '<label class="classic" for="'.$radio_id.'">'. 177 html::escapeHTML($details['name']).'</label></h 3>'.177 html::escapeHTML($details['name']).'</label></h4>'. 178 178 '<p><span class="theme-desc">'.html::escapeHTML($details['desc']).'</span> '. 179 179 '<span class="theme-author">'.sprintf(__('by %s'),html::escapeHTML($details['author'])).'</span> '. … … 187 187 } 188 188 if ($has_css) { 189 $res .= '< a class="theme-css" href="'.$theme_url.'/style.css">'.__('Stylesheet').'</a>';189 $res .= '<span class="theme-css"><a href="'.$theme_url.'/style.css">'.__('Stylesheet').'</a></span>'; 190 190 } 191 191 $res .= '</p>'; … … 244 244 } 245 245 246 if ($can_install) {247 echo248 '<p><strong>'.sprintf(__('You can find additional themes for your blog on %s.'),249 '<a href="http://themes.dotaddict.org/galerie-dc2/">Dotaddict</a>').'</strong> '.250 __('To install or upgrade a theme you generally just need to upload it '.251 'in "Install or upgrade a theme" section.').'</p>';252 }253 254 246 # Themes list 255 echo '<div class="multi-part" id="themes-list" title="'.__('Themes').'">'; 247 echo '<div class="multi-part" id="themes-list" title="'.__('Themes').'">'. 248 '<h3>'.__('Available themes in your installation').'</h3>'; 256 249 257 250 $themes = $core->themes->getModules(); 258 251 if (isset($themes[$core->blog->settings->system->theme])) { 259 echo '< h3>'.sprintf(__('You are currently using "%s"'),$themes[$core->blog->settings->system->theme]['name']).'</h3>';252 echo '<p>'.sprintf(__('You are currently using "%s"'),$themes[$core->blog->settings->system->theme]['name']).'.</p>'; 260 253 } 261 254 … … 279 272 280 273 echo 281 '<div class="two-cols clear" id="themes-actions">'. 282 $core->formNonce(). 283 '<p class="col"><input type="submit" name="select" value="'.__('Use selected theme').'" /></p>'; 284 274 '<div id="themes-actions">'. 275 276 '<p>'.$core->formNonce().'<input type="submit" name="select" value="'.__('Use selected theme').'" /> '; 285 277 if ($can_install) { 286 echo ' <p class="col right"><input type="submit" class="delete" name="remove" value="'.__('Delete selected theme').'" /></p>';287 } 288 289 echo278 echo ' <input type="submit" class="delete" name="remove" value="'.__('Delete selected theme').'" />'; 279 } 280 echo '</p>'. 281 290 282 '</div>'. 291 283 '</form>'. … … 296 288 { 297 289 echo 298 '<div class="multi-part clear" id="add-theme" title="'.__('Install or upgrade a theme').'">'; 290 '<div class="multi-part clear" id="add-theme" title="'.__('Install or upgrade a theme').'">'. 291 '<h3>'.__('Add themes to your installation').'</h3>'. 292 '<p>'.sprintf(__('You can find additional themes for your blog on %s.'), 293 '<a href="http://themes.dotaddict.org/galerie-dc2/">Dotaddict</a>').'</p>'; 299 294 300 295 if ($is_writable) 301 296 { 302 echo '<p>'.__('You can install themes by uploading or downloading zip files.').'</p>';297 echo '<p>'.__('You can also install themes by uploading or downloading zip files.').'</p>'; 303 298 304 299 # 'Upload theme' form
Note: See TracChangeset
for help on using the changeset viewer.