[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14263] added datepicker widget
From: |
Saul |
Subject: |
[Fmsystem-commits] [14263] added datepicker widget |
Date: |
Sat, 31 Oct 2015 00:13:44 +0000 |
Revision: 14263
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14263
Author: psaul
Date: 2015-10-31 00:13:43 +0000 (Sat, 31 Oct 2015)
Log Message:
-----------
added datepicker widget
Modified Paths:
--------------
branches/dev-syncromind/bookingfrontend/inc/class.uiresource.inc.php
Modified: branches/dev-syncromind/bookingfrontend/inc/class.uiresource.inc.php
===================================================================
--- branches/dev-syncromind/bookingfrontend/inc/class.uiresource.inc.php
2015-10-31 00:12:24 UTC (rev 14262)
+++ branches/dev-syncromind/bookingfrontend/inc/class.uiresource.inc.php
2015-10-31 00:13:43 UTC (rev 14263)
@@ -17,7 +17,7 @@
$this->bo = CreateObject('booking.boresource');
$this->building_bo = CreateObject('booking.bobuilding');
$old_top = array_pop($this->tmpl_search_path);
- array_push($this->tmpl_search_path, PHPGW_SERVER_ROOT .
'/booking/templates/base');
+ array_push($this->tmpl_search_path, PHPGW_SERVER_ROOT .
'/bookingfrontend/templates/base');
array_push($this->tmpl_search_path, $old_top);
}
@@ -65,7 +65,10 @@
'phpgw_return_as' => 'json',
));
self::add_javascript('booking', 'booking', 'schedule.js');
- self::render_template('resource_schedule', array('resource' =>
$resource,));
+ phpgwapi_jquery::load_widget("datepicker");
+ $resource['picker_img'] =
$GLOBALS['phpgw']->common->image('phpgwapi','cal');
+
+ self::render_template_xsl('resource_schedule', array('resource' =>
$resource,));
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14263] added datepicker widget,
Saul <=