[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14259] added template path: ' /booking/templates/bas
From: |
Saul |
Subject: |
[Fmsystem-commits] [14259] added template path: ' /booking/templates/base ' |
Date: |
Sat, 31 Oct 2015 00:08:38 +0000 |
Revision: 14259
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14259
Author: psaul
Date: 2015-10-31 00:08:37 +0000 (Sat, 31 Oct 2015)
Log Message:
-----------
added template path: ' /booking/templates/base '
Modified Paths:
--------------
branches/dev-syncromind/phpgwapi/inc/class.uicommon_jquery.inc.php
Modified: branches/dev-syncromind/phpgwapi/inc/class.uicommon_jquery.inc.php
===================================================================
--- branches/dev-syncromind/phpgwapi/inc/class.uicommon_jquery.inc.php
2015-10-31 00:06:21 UTC (rev 14258)
+++ branches/dev-syncromind/phpgwapi/inc/class.uicommon_jquery.inc.php
2015-10-31 00:08:37 UTC (rev 14259)
@@ -68,6 +68,7 @@
$this->tmpl_search_path = array();
+ array_push($this->tmpl_search_path, PHPGW_SERVER_ROOT .
'/booking/templates/base');
array_push($this->tmpl_search_path, PHPGW_SERVER_ROOT .
'/phpgwapi/templates/base');
array_push($this->tmpl_search_path, PHPGW_SERVER_ROOT .
'/phpgwapi/templates/' . $GLOBALS['phpgw_info']['server']['template_set']);
array_push($this->tmpl_search_path, PHPGW_SERVER_ROOT .
'/' . $currentapp . '/templates/base');
@@ -194,7 +195,10 @@
public function link($data)
{
- return $GLOBALS['phpgw']->link('/index.php', $data);
+ if($GLOBALS['phpgw_info']['flags']['currentapp'] ==
'bookingfrontend')
+ return
$GLOBALS['phpgw']->link('/bookingfrontend/', $data);
+ else
+ return $GLOBALS['phpgw']->link('/index.php',
$data);
}
public function redirect($link_data)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14259] added template path: ' /booking/templates/base ',
Saul <=