From 2b9d21eb78fcd6a2d3e422021bad3c2141a17b0b Mon Sep 17 00:00:00 2001
From: nikrou
Date: Thu, 19 Mar 2009 19:51:54 +0000
Subject: fix several html bugs we must find a way to fix the problem of empty
select
git-svn-id: http://piwigo.org/svn/trunk@3215 68402e56-0260-453c-a942-63ccdbb3a9ee
---
admin/menubar.php | 4 ++++
admin/template/goto/configuration.tpl | 8 +++++++-
admin/template/goto/element_set_unit.tpl | 4 ++--
admin/template/goto/extend_for_templates.tpl | 2 +-
admin/template/goto/group_list.tpl | 6 +++---
admin/template/goto/menubar.tpl | 4 ++--
admin/template/goto/profile_content.tpl | 2 +-
7 files changed, 20 insertions(+), 10 deletions(-)
(limited to 'admin')
diff --git a/admin/menubar.php b/admin/menubar.php
index 17b90607d..67589fddf 100644
--- a/admin/menubar.php
+++ b/admin/menubar.php
@@ -157,6 +157,10 @@ foreach ($mb_conf as $id => $pos )
)
);
}
+
+$action = get_root_url().'admin.php?page=menubar';
+$template->assign(array('F_ACTION'=>$action));
+
$template->set_filename( 'menubar_admin_content', 'menubar.tpl' );
$template->assign_var_from_handle( 'ADMIN_CONTENT', 'menubar_admin_content');
?>
diff --git a/admin/template/goto/configuration.tpl b/admin/template/goto/configuration.tpl
index 4823c9953..7f8072dfd 100644
--- a/admin/template/goto/configuration.tpl
+++ b/admin/template/goto/configuration.tpl
@@ -6,7 +6,9 @@
{'title_configuration'|@translate} {$TABSHEET_TITLE}
+{if !isset($default)}
-{/if}
+{/if}
diff --git a/admin/template/goto/element_set_unit.tpl b/admin/template/goto/element_set_unit.tpl
index 0520e4e59..391bdb94f 100644
--- a/admin/template/goto/element_set_unit.tpl
+++ b/admin/template/goto/element_set_unit.tpl
@@ -27,7 +27,7 @@
{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
{if !empty($elements) }
-
+
{foreach from=$elements item=element}