aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
Diffstat (limited to 'admin/themes/default')
-rw-r--r--admin/themes/default/template/languages_update.tpl58
-rw-r--r--admin/themes/default/template/plugins_list.tpl2
-rw-r--r--admin/themes/default/template/plugins_update.tpl58
-rw-r--r--admin/themes/default/template/themes_update.tpl58
4 files changed, 1 insertions, 175 deletions
diff --git a/admin/themes/default/template/languages_update.tpl b/admin/themes/default/template/languages_update.tpl
deleted file mode 100644
index 2b1a2b27d..000000000
--- a/admin/themes/default/template/languages_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>{'Languages'|@translate}</h2>
-</div>
-
-{if not empty($update_languages)}
-<div id="availablePlugins">
-<fieldset>
-<legend>{'Languages which need upgrade'|@translate}</legend>
-{foreach from=$update_languages item=language name=languages_loop}
-<div class="pluginBox">
- <table>
- <tr>
- <td class="pluginBoxNameCell">
- {$language.EXT_NAME}
- </td>
- <td>
- <a href="{$language.URL_UPDATE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">{'Install'|@translate}</a>
- | <a href="{$language.URL_DOWNLOAD}">{'Download'|@translate}</a>
- | <a class="externalLink" href="{$language.EXT_URL}">{'Visit language site'|@translate}</a>
- </td>
- </tr>
- <tr>
- <td>
- {'Version'|@translate} {$language.CURRENT_VERSION}
- </td>
- <td class="pluginDesc" id="desc_{$language.ID}">
- <em>{'Downloads'|@translate}: {$language.DOWNLOADS}</em>
- <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plus.gif" alt="" class="button_{$language.ID}">
- <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/minus.gif" alt="" class="button_{$language.ID}" style="display:none;">
- {'New Version'|@translate} : {$language.NEW_VERSION}
- | {'By %s'|@translate|@sprintf:$language.AUTHOR}
- </td>
- </tr>
- <tr>
- <td></td>
- <td class="pluginDesc">
- <p id="revdesc_{$language.ID}" style="display:none;">{$language.REV_DESC|htmlspecialchars|nl2br}</p>
- </td>
- </tr>
- </table>
-</div>
-{/foreach}
-</fieldset>
-</div>
-{elseif not isset($SERVER_ERROR)}
-<p>{'All languages are up to date.'|@translate}</p>
-{/if}
diff --git a/admin/themes/default/template/plugins_list.tpl b/admin/themes/default/template/plugins_list.tpl
index ccf6f02f7..54f051eac 100644
--- a/admin/themes/default/template/plugins_list.tpl
+++ b/admin/themes/default/template/plugins_list.tpl
@@ -81,7 +81,7 @@ jQuery(document).ready(function() {
<div class="titrePage">
<span class="sort">
<form action="" method="get" name="change_order">
- <input type="hidden" name="page" value="plugins_list"/>
+ <input type="hidden" name="page" value="plugins"/>
{'Sort order'|@translate} :
<select name="plugin_order" onchange="this.form.submit();">
<option value="status" {if $plugin_order=='state'}selected="selected"{/if}>{'Status'|@translate}</option>
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}
diff --git a/admin/themes/default/template/themes_update.tpl b/admin/themes/default/template/themes_update.tpl
deleted file mode 100644
index 3bf1cc0b1..000000000
--- a/admin/themes/default/template/themes_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>{'Themes'|@translate}</h2>
-</div>
-
-{if not empty($update_themes)}
-<div id="availablePlugins">
-<fieldset>
-<legend>{'Themes which need upgrade'|@translate}</legend>
-{foreach from=$update_themes item=theme name=themes_loop}
-<div class="pluginBox">
- <table>
- <tr>
- <td class="pluginBoxNameCell">
- {$theme.EXT_NAME}
- </td>
- <td>
- <a href="{$theme.URL_UPDATE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">{'Install'|@translate}</a>
- | <a href="{$theme.URL_DOWNLOAD}">{'Download'|@translate}</a>
- | <a class="externalLink" href="{$theme.EXT_URL}">{'Visit theme site'|@translate}</a>
- </td>
- </tr>
- <tr>
- <td>
- {'Version'|@translate} {$theme.CURRENT_VERSION}
- </td>
- <td class="pluginDesc" id="desc_{$theme.ID}">
- <em>{'Downloads'|@translate}: {$theme.DOWNLOADS}</em>
- <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plus.gif" alt="" class="button_{$theme.ID}">
- <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/minus.gif" alt="" class="button_{$theme.ID}" style="display:none;">
- {'New Version'|@translate} : {$theme.NEW_VERSION}
- | {'By %s'|@translate|@sprintf:$theme.AUTHOR}
- </td>
- </tr>
- <tr>
- <td></td>
- <td class="pluginDesc">
- <p id="revdesc_{$theme.ID}" style="display:none;">{$theme.REV_DESC|htmlspecialchars|nl2br}</p>
- </td>
- </tr>
- </table>
-</div>
-{/foreach}
-</fieldset>
-</div>
-{elseif not isset($SERVER_ERROR)}
-<p>{'All themes are up to date.'|@translate}</p>
-{/if}