Changeset 2246 for branches

Show
Ignore:
Timestamp:
11/26/10 13:08:53 (18 months ago)
Author:
nick_ramsay
Message:

[1.5] Merged 1.4.2 plugin management theme changes into 1.5.

Location:
branches/1.5/content
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/1.5/content/admin_language.php

    r2160 r2246  
    103103$lang["admin_theme_plugins_order_down"] = "Move down"; 
    104104$lang["admin_theme_plugins_details"] = "Details"; 
    105 $lang["admin_theme_plugins_update_available"] = "Update available"; 
    106105$lang["admin_theme_plugins_requires"] = "Requires"; 
    107106$lang["admin_theme_plugins_description"] = "Description"; 
     
    262261 
    263262/* footer */ 
    264 $lang["admin_theme_footer_having_trouble_vist_forums"] = "Having trouble? Read the <a href='http://hotarudocs.com'>Documentation</a> or ask for help in the <a href='http://forums.hotarucms.org'>Forums</a>."; 
     263$lang["admin_theme_footer_having_trouble_vist_forums"] = "Having trouble? Read the <a href='http://docs.hotarucms.org'>Documentation</a> or ask for help in the <a href='http://forums.hotarucms.org'>Forums</a>."; 
    265264 
    266265/* 404 */ 
  • branches/1.5/content/admin_themes/admin_default/plugin_management.php

    r2160 r2246  
    4444                                        &nbsp;&nbsp;<img src='<?php echo ADMIN_THEME_URL ?>images/down_12.png' alt=""><?php echo $h->lang["admin_theme_plugins_order_down"]; ?> 
    4545                                        &nbsp;&nbsp;<img src='<?php echo ADMIN_THEME_URL ?>images/info_16.png' alt=""><?php echo $h->lang["admin_theme_plugins_details"]; ?> 
    46                                         &nbsp;&nbsp;<img src='<?php echo ADMIN_THEME_URL ?>images/info_green_16.png' alt=""><?php echo $h->lang["admin_theme_plugins_update_available"]; ?> 
    4746                                        &nbsp;&nbsp;<img src='<?php echo ADMIN_THEME_URL ?>images/uninstall_16.png' alt=""><?php echo $h->lang["admin_theme_plugins_uninstall"]; ?> 
    48                                         <?php if (SYS_UPDATES == "true") { ?> 
    49                                                 <div class="plugin_management_right"> 
    50                                                 <?php 
    51                                                 /* <a href="<?php echo SITEURL ?>admin_index.php?page=plugin_search"> 
    52                                                   <img src='<?php echo ADMIN_THEME_URL ?>images/search.png' alt=""> 
    53                                                   <?php echo $h->lang["admin_theme_search"]; ?> 
    54                                                   </a> */ 
    55                                                 ?> 
    56                                                 &nbsp;&nbsp; 
    57                                                 <a href="<?php echo SITEURL ?>admin_index.php?page=plugin_management&amp;action=version_check"> 
    58                                                         <img src='<?php echo ADMIN_THEME_URL ?>images/update_16.png' alt=""> 
    59                                                         <?php echo $h->lang["admin_theme_check_latest_plugin_versions"]; ?> 
    60                                                 </a> 
    61                                         </div> 
    62                                         <?php } ?> 
    6347                                </div> 
    6448                        </td> 
     
    6650                <tr> 
    6751                <?php 
    68                                         $the_plugins = $h->vars['installed_plugins']; 
     52                        $the_plugins = $h->vars['installed_plugins']; 
    6953                        if($the_plugins) 
    7054                        { 
     
    8064                                                $alt++; 
    8165                                                $info_icon = 'info_16.png'; 
    82                                                 $update = false; 
    83                                                 if (isset($plug['latestversion'])) { 
    84                                                         if ($plug['latestversion'] > $plug['version']) { 
    85                                                                 $update = true; 
    86                                                                 $info_icon = 'info_green_16.png'; 
    87                                                         } 
    88                                                 } 
    8966                                        ?> 
    9067                                        <tr class="table_tr table_row_<?php echo $alt % 2; ?>"> 
     
    125102                                                        <br /> 
    126103                                                        <?php echo $h->lang["admin_theme_plugins_more_info"]; ?>: <a href='<?php echo SITEURL; ?>content/plugins/<?php echo $plug['folder']; ?>/readme.txt' title='<?php echo $h->lang["admin_theme_plugins_readme"]; ?>'> <?php echo $h->lang["admin_theme_plugins_readmetxt"]; ?></a> 
    127                                                 <?php } ?> 
    128                                                 <?php if ($update) { ?> 
    129                                                         <br/><a href='<?php echo SITEURL; ?>admin_index.php?page=plugin_management&action=update&plugin=<?php echo $plug['folder']; ?>&version=<?php echo $plug['latestversion']?>' title=''><?php echo $h->lang['admin_theme_update_this_plugin'];?></a> 
    130104                                                <?php } ?> 
    131105                                                </td> 
     
    192166                                                $alt++; 
    193167                                                $info_icon = 'info_16.png'; 
    194                                                 $update = false; 
    195                                                 if (isset($plug['latestversion'])) { 
    196                                                         if ($plug['latestversion'] > $plug['version']) { 
    197                                                                 $update = true; 
    198                                                                 $info_icon = 'info_green_16.png'; 
    199                                                         } 
    200                                                 } 
    201168                                        ?> 
    202169                                        <tr id='table_tr' class="table_row_<?php echo $alt % 2; ?>"> 
     
    232199                                                        </a> 
    233200                                                <?php } ?> 
    234                                                 <?php if ($update) {?> 
    235                                                         <br/><a href='<?php echo SITEURL; ?>admin_index.php?page=plugin_management&amp;action=update&plugin=<?php echo $plug['folder']; ?>&version=<?php echo $plug['latestversion']; ?>' title=''><?php echo $h->lang['admin_theme_update_this_plugin'];?></a> 
    236                                                 <?php } ?> 
    237201                                                </td> 
    238202                                                <td class='table_description_close'>