From e4d865e365f5628f1b70e382adce58debf2c8d00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Mon, 9 Oct 2006 17:36:40 +0000 Subject: [PATCH] adopetd ajax-loader to ralfs new namespace concept --- etemplate/inc/class.uietemplate.inc.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php index 79ea285413..bd17741479 100644 --- a/etemplate/inc/class.uietemplate.inc.php +++ b/etemplate/inc/class.uietemplate.inc.php @@ -247,8 +247,8 @@ $manual =& new etemplate('etemplate.popup.manual'); echo $manual->show(array()); unset($manual); - echo ''."\n"; - echo '
'.$this->html->image('phpgwapi','ajax-loader') . '
'; + echo ''."\n"; + echo '
'.$this->html->image('phpgwapi','ajax-loader') . '
'; } } } @@ -1900,8 +1900,9 @@ if (document.getElementById) { // here are going all the necesarry functions if javascript is enabled if ($what & 2 && $this->java_script(True)) { + $lastmod = filectime(EGW_INCLUDE_ROOT. '/etemplate/js/etemplate.js'); $js .= ''."\n"; + $GLOBALS['egw_info']['server']['webserver_url'].'/etemplate/js/etemplate.js?'. $lastmod.'">'."\n"; } return $js; }