[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9475] property: template catalog
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [9475] property: template catalog |
Date: |
Thu, 31 May 2012 12:38:59 +0000 |
Revision: 9475
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9475
Author: sigurdne
Date: 2012-05-31 12:38:59 +0000 (Thu, 31 May 2012)
Log Message:
-----------
property: template catalog
Modified Paths:
--------------
trunk/property/inc/class.boentity.inc.php
Modified: trunk/property/inc/class.boentity.inc.php
===================================================================
--- trunk/property/inc/class.boentity.inc.php 2012-05-31 12:38:08 UTC (rev
9474)
+++ trunk/property/inc/class.boentity.inc.php 2012-05-31 12:38:59 UTC (rev
9475)
@@ -43,6 +43,7 @@
var $allrows;
var $part_of_town_id;
var $location_code;
+ protected $xsl_rootdir;
/**
* @var object $custom reference to custom fields object
@@ -175,6 +176,7 @@
{
$this->allrows = $allrows;
}
+ $this->xsl_rootdir = PHPGW_SERVER_ROOT .
'/property/templates/base';
}
function save_sessiondata($data)
@@ -242,10 +244,10 @@
switch($format)
{
case 'select':
-
$GLOBALS['phpgw']->xslttpl->add_file(array('cat_select'));
+
$GLOBALS['phpgw']->xslttpl->add_file(array('cat_select'),$this->xsl_rootdir);
break;
case 'filter':
-
$GLOBALS['phpgw']->xslttpl->add_file(array('cat_filter'));
+
$GLOBALS['phpgw']->xslttpl->add_file(array('cat_filter'),$this->xsl_rootdir);
break;
}
@@ -260,10 +262,10 @@
switch($format)
{
case 'select':
-
$GLOBALS['phpgw']->xslttpl->add_file(array('status_select'));
+
$GLOBALS['phpgw']->xslttpl->add_file(array('status_select'),$this->xsl_rootdir);
break;
case 'filter':
-
$GLOBALS['phpgw']->xslttpl->add_file(array('status_filter'));
+
$GLOBALS['phpgw']->xslttpl->add_file(array('status_filter'),$this->xsl_rootdir);
break;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9475] property: template catalog,
Sigurd Nes <=