projects
/
iserv-mod-room-reservation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian/copyright: added /usr/share/iserv/www/img/default/24/mod_room-reservation_time...
[iserv-mod-room-reservation.git]
/
includes
/
functions.inc
diff --git
a/includes/functions.inc
b/includes/functions.inc
index
1704bc5
..
b174e88
100644
(file)
--- a/
includes/functions.inc
+++ b/
includes/functions.inc
@@
-72,6
+72,9
@@
define("MOD_ROOM_RESERVATION_ERROR_CONFIG_NO_SUCH_TIMESLICE",
/** There is no such account */
define("MOD_ROOM_RESERVATION_ERROR_NO_SUCH_ACCOUNT", _c("room-reservation:".
"The specified account does not exist."));
/** There is no such account */
define("MOD_ROOM_RESERVATION_ERROR_NO_SUCH_ACCOUNT", _c("room-reservation:".
"The specified account does not exist."));
+/** The room is not available for booking */
+define("MOD_ROOM_RESERVATION_ERROR_ROOM_NOT_WHITELISTED",
+ _c("room-reservation:This room is not available for booking."));
/**
* @}
*/
/**
* @}
*/
@@
-183,7
+186,7
@@
function isMailAddress($strAddr) {
* @return void
*/
function rrInsertLog($strLog) {
* @return void
*/
function rrInsertLog($strLog) {
- log_insert(
"Raumbelegungsplan: " . $strLog
);
+ log_insert(
$strLog, null, "Room Reservation Schedule"
);
}
/**
}
/**
@@
-222,7
+225,7
@@
function rrGetMonday($ts = null) {
}
/** (array of strings) Additional CSS rules */
}
/** (array of strings) Additional CSS rules */
-$
rsLocalCss
= array();
+$
GLOBALS["rrLocalCss"]
= array();
/**
* Add CSS rules to the page
/**
* Add CSS rules to the page
@@
-230,17
+233,17
@@
$rsLocalCss = array();
* @return void
*/
function rrAddCss($s) {
* @return void
*/
function rrAddCss($s) {
- rrDebug("r
s
AddCss: add \"$s\"");
- $GLOBALS["r
s
LocalCss"][] = $s;
+ rrDebug("r
r
AddCss: add \"$s\"");
+ $GLOBALS["r
r
LocalCss"][] = $s;
}
/**
}
/**
- * Get CSS rules that have been added with r
m
AddCss()
+ * Get CSS rules that have been added with r
r
AddCss()
* @return string
*/
* @return string
*/
-function rrGetC
SS
() {
- rrDebug("r
sGetCss: Local CSS is ".var_export($GLOBALS["rs
LocalCss"], true));
- return implode("\n", $GLOBALS["r
s
LocalCss"]);
+function rrGetC
ss
() {
+ rrDebug("r
rGetCss: Local CSS is ".var_export($GLOBALS["rr
LocalCss"], true));
+ return implode("\n", $GLOBALS["r
r
LocalCss"]);
}
function rrDebug($s, $bReturn = false) {
}
function rrDebug($s, $bReturn = false) {
This page took
0.027786 seconds
and
4
git commands to generate.