From cbdd19732238b161d28dbb61321ecdecf111554e Mon Sep 17 00:00:00 2001 From: bgigon Date: Thu, 14 Oct 2004 09:07:31 +0000 Subject: [PATCH] Update from Omar Boumeddane --- calendar/templates/prisma/edit.tpl | 6 +- calendar/templates/prisma/matrix_query.tpl | 26 ++-- calendar/templates/prisma/view.tpl | 8 +- phpgwapi/templates/prisma/navbar.inc.php | 5 + phpgwapi/templates/prisma/uiaccountsel.tpl | 42 +++--- .../templates/default/category_form.tpl | 47 +++---- preferences/templates/default/listcats.tpl | 124 +++++++++--------- 7 files changed, 132 insertions(+), 126 deletions(-) diff --git a/calendar/templates/prisma/edit.tpl b/calendar/templates/prisma/edit.tpl index cd53d39ce9..dfd700a9d9 100644 --- a/calendar/templates/prisma/edit.tpl +++ b/calendar/templates/prisma/edit.tpl @@ -5,7 +5,7 @@
{common_hidden} - +
- - + + diff --git a/calendar/templates/prisma/matrix_query.tpl b/calendar/templates/prisma/matrix_query.tpl index 22d6ea7548..7002028a86 100644 --- a/calendar/templates/prisma/matrix_query.tpl +++ b/calendar/templates/prisma/matrix_query.tpl @@ -4,22 +4,24 @@ -
-
{errormsg}
@@ -30,8 +30,8 @@
 {field}:{data} {field} : {data}
+
{row}
@@ -28,13 +27,12 @@
- -  {field}: - {data} +  {field} :  + {data} diff --git a/phpgwapi/templates/prisma/navbar.inc.php b/phpgwapi/templates/prisma/navbar.inc.php index b61a2fad9b..49129ece47 100644 --- a/phpgwapi/templates/prisma/navbar.inc.php +++ b/phpgwapi/templates/prisma/navbar.inc.php @@ -308,11 +308,14 @@ // If the application has a header include, we now include it if(!@$GLOBALS['phpgw_info']['flags']['noappheader'] && @isset($_GET['menuaction'])) { + list($app,$class,$method) = explode('.',$_GET['menuaction']); + if(is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['header']) { $GLOBALS[$class]->header(); } + } $GLOBALS['phpgw']->hooks->process('after_navbar'); return; @@ -328,6 +331,7 @@ foreach($file as $text => $url) { + if ($text != 'Export' && $text != 'Import' ) sidebox_menu_item($url,$text); } @@ -335,6 +339,7 @@ } } + function sidebox_menu_item($item_link='',$item_text='') { if($item_text === '_NewLine_' || $item_link === '_NewLine_') diff --git a/phpgwapi/templates/prisma/uiaccountsel.tpl b/phpgwapi/templates/prisma/uiaccountsel.tpl index 15ce5340e6..ff198ce1e6 100644 --- a/phpgwapi/templates/prisma/uiaccountsel.tpl +++ b/phpgwapi/templates/prisma/uiaccountsel.tpl @@ -1,5 +1,4 @@ -