- Timestamp:
- 11/26/10 13:08:53 (18 months ago)
- Location:
- branches/1.5/content
- Files:
-
- 2 modified
-
admin_language.php (modified) (2 diffs)
-
admin_themes/admin_default/plugin_management.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/content/admin_language.php
r2160 r2246 103 103 $lang["admin_theme_plugins_order_down"] = "Move down"; 104 104 $lang["admin_theme_plugins_details"] = "Details"; 105 $lang["admin_theme_plugins_update_available"] = "Update available";106 105 $lang["admin_theme_plugins_requires"] = "Requires"; 107 106 $lang["admin_theme_plugins_description"] = "Description"; … … 262 261 263 262 /* 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>."; 265 264 266 265 /* 404 */ -
branches/1.5/content/admin_themes/admin_default/plugin_management.php
r2160 r2246 44 44 <img src='<?php echo ADMIN_THEME_URL ?>images/down_12.png' alt=""><?php echo $h->lang["admin_theme_plugins_order_down"]; ?> 45 45 <img src='<?php echo ADMIN_THEME_URL ?>images/info_16.png' alt=""><?php echo $h->lang["admin_theme_plugins_details"]; ?> 46 <img src='<?php echo ADMIN_THEME_URL ?>images/info_green_16.png' alt=""><?php echo $h->lang["admin_theme_plugins_update_available"]; ?>47 46 <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 <?php51 /* <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 57 <a href="<?php echo SITEURL ?>admin_index.php?page=plugin_management&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 } ?>63 47 </div> 64 48 </td> … … 66 50 <tr> 67 51 <?php 68 $the_plugins = $h->vars['installed_plugins'];52 $the_plugins = $h->vars['installed_plugins']; 69 53 if($the_plugins) 70 54 { … … 80 64 $alt++; 81 65 $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 }89 66 ?> 90 67 <tr class="table_tr table_row_<?php echo $alt % 2; ?>"> … … 125 102 <br /> 126 103 <?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>130 104 <?php } ?> 131 105 </td> … … 192 166 $alt++; 193 167 $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 }201 168 ?> 202 169 <tr id='table_tr' class="table_row_<?php echo $alt % 2; ?>"> … … 232 199 </a> 233 200 <?php } ?> 234 <?php if ($update) {?>235 <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>236 <?php } ?>237 201 </td> 238 202 <td class='table_description_close'>