Changeset 2252 for branches

Show
Ignore:
Timestamp:
11/26/10 15:51:47 (18 months ago)
Author:
petsagouris
Message:

[Branch 1.5] Some cleaning up and code formatting on the default admin theme.

Location:
branches/1.5/content/admin_themes/admin_default
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • branches/1.5/content/admin_themes/admin_default/admin_footer.php

    r2154 r2252  
    2828?> 
    2929        <div id="ft" role="contentinfo"> 
    30                 <?php $h->pluginHook('admin_footer'); ?> 
    31                 <!-- // Link to forums... --> 
    32                 <p> <?php echo $h->lang["admin_theme_footer_having_trouble_vist_forums"]; ?></p> 
    33                 <?php if ($h->isDebug) { $h->showQueriesAndTime(); } ?> 
     30                <?php 
     31                $h->pluginHook('admin_footer'); 
     32                // Link to forums... 
     33                echo "<p>".$h->lang["admin_theme_footer_having_trouble_vist_forums"]."</p>"; 
     34                if ($h->isDebug) { 
     35                        $h->showQueriesAndTime(); 
     36                } 
     37                ?> 
    3438        </div> 
    3539</div> 
  • branches/1.5/content/admin_themes/admin_default/css/style.css

    r2160 r2252  
    405405 
    406406div.admin-menu-item a { 
    407     color:#333333; 
     407        color:#333333; 
    408408        display:block; 
     409        height:87px; 
    409410        margin:0; 
    410411        padding:0; 
    411412        text-decoration:none; 
     413        width:100px; 
    412414} 
    413415 
  • branches/1.5/content/admin_themes/admin_default/plugin_management.php

    r2246 r2252  
    222222<div class="clear"></div> 
    223223<div id="plugin_management_notice" class="info_box gray_box" style="margin-top: 2.0em;"> 
    224         <p class="info_header"><?php echo $h->lang["admin_theme_plugins_guide_title"]; ?></p> 
     224        <p class="info_header"><?php echo $h->lang["admin_theme_plugins_guide"]; ?></p> 
    225225        <?php $h->pluginHook('plugins_guide_top'); ?> 
    226         <?php echo $h->lang["admin_theme_plugins_guide_text"]; ?> 
     226        <ul> 
     227                <li><?php echo $h->lang["admin_theme_plugins_guide1"]; ?></li> 
     228                <li><?php echo $h->lang["admin_theme_plugins_guide2"]; ?></li> 
     229                <li><?php echo $h->lang["admin_theme_plugins_guide3"]; ?></li> 
     230                <li><?php echo $h->lang["admin_theme_plugins_guide4"]; ?></li> 
     231        </ul> 
    227232        <?php $h->pluginHook('plugins_guide_bottom'); ?> 
    228233</div> 
  • branches/1.5/content/admin_themes/admin_default/plugin_settings.php

    r2154 r2252  
    3535 
    3636<div id="plugin_settings"> 
    37 <?php 
    38 $result = ''; 
    39 if ($h->vars['settings_plugin']) { 
    40         $result = $h->pluginHook('admin_plugin_settings', $h->vars['settings_plugin']); 
    41 } 
     37        <?php 
     38        $result = ''; 
     39        if ($h->vars['settings_plugin']) { 
     40                $result = $h->pluginHook('admin_plugin_settings', $h->vars['settings_plugin']); 
     41        } 
    4242 
    43 if (!$result) { 
    44 ?> 
    45         <h3><?php echo $h->lang["admin_theme_plugin_settings"]; ?></h3> 
    46 <?php 
    47         $sb_links = $h->pluginHook('admin_sidebar_plugin_settings'); 
    48         if ($sb_links) { 
    49                 echo "<ul>\n"; 
    50                 $sb_links = sksort($sb_links, $subkey = "name", $type = "char", true); 
    51                 foreach ($sb_links as $plugin => $details) { 
    52                         echo "<li><a href='".SITEURL."admin_index.php?page=plugin_settings&amp;plugin=".$details['plugin']."'>".$details['name']."</a></li>"; 
     43        if (!$result) { 
     44        ?> 
     45                <h3><?php echo $h->lang["admin_theme_plugin_settings"]; ?></h3> 
     46        <?php 
     47                $sb_links = $h->pluginHook('admin_sidebar_plugin_settings'); 
     48                if ($sb_links) { 
     49                        echo "<ul>\n"; 
     50                        $sb_links = sksort($sb_links, $subkey = "name", $type = "char", true); 
     51                        foreach ($sb_links as $plugin => $details) { 
     52                                echo "<li><a href='".SITEURL."admin_index.php?page=plugin_settings&amp;plugin=".$details['plugin']."'>".$details['name']."</a></li>"; 
     53                        } 
     54                        echo "</ul>\n"; 
    5355                } 
    54                 echo "</ul>\n"; 
    5556        } 
    56 } 
    57 ?> 
     57        ?> 
    5858</div>