"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mrbs-1.9.4/web/edit_area_handler.php" between
mrbs-1.9.4.tar.gz and mrbs-1.10.0.tar.gz

About: MRBS is a web application for booking meeting rooms or other resources (using PHP and MySQL/pgsql).

edit_area_handler.php  (mrbs-1.9.4):edit_area_handler.php  (mrbs-1.10.0)
skipping to change at line 70 skipping to change at line 70
// Trim the strings and truncate them to the maximum field length // Trim the strings and truncate them to the maximum field length
if (is_string($$var)) if (is_string($$var))
{ {
$$var = trim($$var); $$var = trim($$var);
$$var = truncate($$var, "area.$var"); $$var = truncate($$var, "area.$var");
} }
} }
if (!isset($area_default_type))
{
$area_default_type = $area_defaults['default_type'];
}
// Get the max_per_interval form variables // Get the max_per_interval form variables
foreach ($interval_types as $interval_type) foreach ($interval_types as $interval_type)
{ {
$var = "area_max_per_${interval_type}"; $var = "area_max_per_${interval_type}";
$$var = get_form_var($var, 'int'); $$var = get_form_var($var, 'int');
$var = "area_max_per_${interval_type}_enabled"; $var = "area_max_per_${interval_type}_enabled";
$$var = get_form_var($var, 'string'); $$var = get_form_var($var, 'string');
$var = "area_max_secs_per_${interval_type}"; $var = "area_max_secs_per_${interval_type}";
$$var = get_form_var($var, 'int'); $$var = get_form_var($var, 'int');
$var = "area_max_secs_per_${interval_type}_units"; $var = "area_max_secs_per_${interval_type}_units";
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)