[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14244] add jquery library
From: |
Saul |
Subject: |
[Fmsystem-commits] [14244] add jquery library |
Date: |
Thu, 29 Oct 2015 00:35:32 +0000 |
Revision: 14244
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14244
Author: psaul
Date: 2015-10-29 00:35:31 +0000 (Thu, 29 Oct 2015)
Log Message:
-----------
add jquery library
Modified Paths:
--------------
branches/dev-syncromind/bookingfrontend/inc/class.uibuilding.inc.php
branches/dev-syncromind/bookingfrontend/inc/class.uiorganization.inc.php
Modified: branches/dev-syncromind/bookingfrontend/inc/class.uibuilding.inc.php
===================================================================
--- branches/dev-syncromind/bookingfrontend/inc/class.uibuilding.inc.php
2015-10-29 00:30:34 UTC (rev 14243)
+++ branches/dev-syncromind/bookingfrontend/inc/class.uibuilding.inc.php
2015-10-29 00:35:31 UTC (rev 14244)
@@ -273,8 +273,14 @@
if ($backend == 'true') {
$building['date'] = phpgw::get_var('date', 'GET');
}
+
+ self::add_stylesheet("bookingfrontend/css/bookingfrontend.css");
self::add_javascript('booking', 'booking', 'schedule.js');
+ phpgwapi_jquery::load_widget("datepicker");
+
+ $building['picker_img'] =
$GLOBALS['phpgw']->common->image('phpgwapi','cal');
+
self::render_template('building_schedule', array('building' =>
$building, 'backend' => $backend));
}
@@ -310,7 +316,11 @@
if (trim($building['homepage']) != '' &&
!preg_match("/^http|https:\/\//", trim($building['homepage']))) {
$building['homepage'] = 'http://' . $building['homepage'];
}
- self::render_template('building', array("building" => $building));
+
+ self::add_stylesheet("bookingfrontend/css/bookingfrontend.css");
+ phpgwapi_jquery::load_widget("autocomplete");
+ phpgwapi_jquery::load_widget("datepicker");
+ self::render_template_xsl('building', array("building" => $building));
}
}
Modified:
branches/dev-syncromind/bookingfrontend/inc/class.uiorganization.inc.php
===================================================================
--- branches/dev-syncromind/bookingfrontend/inc/class.uiorganization.inc.php
2015-10-29 00:30:34 UTC (rev 14243)
+++ branches/dev-syncromind/bookingfrontend/inc/class.uiorganization.inc.php
2015-10-29 00:35:31 UTC (rev 14244)
@@ -61,6 +61,10 @@
$organization['login_link'] = 'login.php'.$auth_forward;
$organization['logoff_link'] =
'logoff.php'.$auth_forward;
if
($bouser->is_organization_admin($organization['id']))
$organization['logged_on'] = true;
+
+
self::add_stylesheet("bookingfrontend/css/bookingfrontend.css");
+ phpgwapi_jquery::load_widget("core");
+
self::render_template('organization',
array('organization' => $organization));
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14244] add jquery library,
Saul <=