From d96b476bd8dc2c38c68294a82c786c9d2a32d288 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 6 Mar 2008 02:29:29 +0000 Subject: - plugins.php does only the tabsheet - nothing else - need to review plugins_update.php upgrade action git-svn-id: http://piwigo.org/svn/trunk@2255 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/plugins_new.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'admin/plugins_new.php') diff --git a/admin/plugins_new.php b/admin/plugins_new.php index 186a1901e..8720228f6 100644 --- a/admin/plugins_new.php +++ b/admin/plugins_new.php @@ -1,7 +1,7 @@ set_filenames(array('plugins' => 'admin/plugins_new.tpl')); @@ -75,11 +80,11 @@ if (isset($_GET['installstatus'])) $order = isset($_GET['order']) ? $_GET['order'] : 'date'; $template->assign('order', - array(htmlentities($my_base_url.'&order=date') => l10n('Post date'), - htmlentities($my_base_url.'&order=name') => l10n('Name'), - htmlentities($my_base_url.'&order=author') => l10n('Author'))); + array($my_base_url.'&order=date' => l10n('Post date'), + $my_base_url.'&order=name' => l10n('Name'), + $my_base_url.'&order=author' => l10n('Author'))); -$template->assign('selected', htmlentities($my_base_url.'&order=').$order); +$template->assign('selected', $my_base_url.'&order='.$order); // +-----------------------------------------------------------------------+ @@ -102,7 +107,7 @@ if ($plugins_infos !== false) nl2br(htmlspecialchars(strip_tags( utf8_encode($plugin['description']))))); - $url_auto_install = htmlentities($my_base_url) + $url_auto_install = $my_base_url . '&extension=' . $plugin['id_extension'] . '&install=%2Fupload%2Fextension-' . $plugin['id_extension'] . '%2Frevision-' . $plugin['id_revision'] . '%2F' @@ -129,4 +134,5 @@ else array_push($page['errors'], l10n('plugins_server_error')); } +$template->assign_var_from_handle('ADMIN_CONTENT', 'plugins'); ?> \ No newline at end of file -- cgit v1.2.3