1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2025-01-10 07:58:41 +01:00

"fixed not working edit of recuring events on home page

(caused by curly brackets in if condition, which got interpreted as placeholdes by old Template class, removed them as they are unnecessary anyway)"
This commit is contained in:
Ralf Becker 2010-04-03 13:44:28 +00:00
parent 0a33bec253
commit 928a38d5cf

View File

@ -514,16 +514,14 @@ class calendar_ui
if ($Link_confirm_abort && $Link_confirm_text)
{
$returnvalue = 'javascript:var check=confirm(\''.$Link_confirm_text.'\');';
$returnvalue .=' if (check==true) {';
$returnvalue .=' if (check) ';
// open confirm =0kay
$returnvalue .= 'egw_openWindowCentered2('.($link == 'this.href' ? $link : "'".$link."'").','.
($target == 'this.target' ? $target : "'".$target."'").",$width,$height,'yes')";
$returnvalue .= '}';
($target == 'this.target' ? $target : "'".$target."'").",$width,$height,'yes');";
//open confirm =Abort
$returnvalue .=' else {';
$returnvalue .=' else ';
$returnvalue .= 'egw_openWindowCentered2('.($Link_confirm_abort == 'this.href' ? $Link_confirm_abort : "'".$Link_confirm_abort."'").','.
($target == 'this.target' ? $target : "'".$target."'").",$width,$height,'yes')";
$returnvalue .= '}';
($target == 'this.target' ? $target : "'".$target."'").",$width,$height,'yes');";
return $returnvalue;
}
@ -725,7 +723,7 @@ class calendar_ui
if($config['calendar_delete_history'] && $GLOBALS['egw_info']['user']['apps']['admin']) {
$options .= '<option value="deleted"'.($this->filter == 'deleted' ? ' selected="selected"' : '').' title="'.lang('Show events that have been deleted').'">'.lang('Deleted').'</options>'."\n";
}
$file[] = $this->_select_box('Filter','filter',$options,$baseurl ? $baseurl.'&filter=' : '');
// Calendarselection: User or Group