aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/plugins_update.tpl
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-04-23 12:48:05 +0000
committerpatdenice <patdenice@piwigo.org>2011-04-23 12:48:05 +0000
commit790f6b3bb6e4bf888a7fdb36f87a763cdb8ca450 (patch)
tree57cce0c848c48c18e17013138509e9d0b2bbbb03 /admin/themes/default/template/plugins_update.tpl
parentd7dfe63e113a069b05a363fa339db3cd7274ead1 (diff)
Change tabsheet place for plugins, themes and languages.
Plugins, themes and languages use same update page. git-svn-id: http://piwigo.org/svn/trunk@10594 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/plugins_update.tpl')
-rw-r--r--admin/themes/default/template/plugins_update.tpl58
1 files changed, 0 insertions, 58 deletions
diff --git a/admin/themes/default/template/plugins_update.tpl b/admin/themes/default/template/plugins_update.tpl
deleted file mode 100644
index 50cca3505..000000000
--- a/admin/themes/default/template/plugins_update.tpl
+++ /dev/null
@@ -1,58 +0,0 @@
-{footer_script require='jquery.effects.blind'}{literal}
-jQuery(document).ready(function(){
- jQuery("td[id^='desc_'], p[id^='revdesc_']").click(function() {
- id = this.id.split('_');
- jQuery("#revdesc_"+id[1]).toggle('blind');
- jQuery(".button_"+id[1]).toggle();
- return false;
- });
-});
-{/literal}{/footer_script}
-
-<div class="titrePage">
- <h2>{'Plugins'|@translate}</h2>
-</div>
-
-{if not empty($plugins)}
-<div id="availablePlugins">
-<fieldset>
-<legend>{'Plugins which need upgrade'|@translate}</legend>
-{foreach from=$plugins item=plugin name=plugins_loop}
-<div class="pluginBox">
- <table>
- <tr>
- <td class="pluginBoxNameCell">
- {$plugin.EXT_NAME}
- </td>
- <td>
- <a href="{$plugin.URL_UPDATE}" onclick="return confirm('{'Are you sure to install this upgrade? You must verify if this version does not need uninstallation.'|@translate|@escape:javascript}');">{'Install'|@translate}</a>
- | <a href="{$plugin.URL_DOWNLOAD}">{'Download'|@translate}</a>
- | <a class="externalLink" href="{$plugin.EXT_URL}">{'Visit plugin site'|@translate}</a>
- </td>
- </tr>
- <tr>
- <td>
- {'Version'|@translate} {$plugin.CURRENT_VERSION}
- </td>
- <td class="pluginDesc" id="desc_{$plugin.ID}">
- <em>{'Downloads'|@translate}: {$plugin.DOWNLOADS}</em>
- <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plus.gif" alt="" class="button_{$plugin.ID}">
- <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/minus.gif" alt="" class="button_{$plugin.ID}" style="display:none;">
- {'New Version'|@translate} : {$plugin.NEW_VERSION}
- | {'By %s'|@translate|@sprintf:$plugin.AUTHOR}
- </td>
- </tr>
- <tr>
- <td></td>
- <td class="pluginDesc">
- <p id="revdesc_{$plugin.ID}" style="display:none;">{$plugin.REV_DESC|htmlspecialchars|nl2br}</p>
- </td>
- </tr>
- </table>
-</div>
-{/foreach}
-</fieldset>
-</div>
-{elseif not isset($SERVER_ERROR)}
-<p>{'All plugins are up to date.'|@translate}</p>
-{/if}