From: cajus Date: Fri, 2 Oct 2009 07:06:57 +0000 (+0000) Subject: Updated to (not working) datepicker X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=93c2b26c8206d7f0e517945d1643581cc4a2fdd2;p=gosa.git Updated to (not working) datepicker git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14456 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mail/personal/mail/class_mailAccount.inc b/gosa-plugins/mail/personal/mail/class_mailAccount.inc index 7f00182e8..02eb27896 100644 --- a/gosa-plugins/mail/personal/mail/class_mailAccount.inc +++ b/gosa-plugins/mail/personal/mail/class_mailAccount.inc @@ -379,6 +379,7 @@ class mailAccount extends plugin SMARTY- Assign smarty variables ****************/ $smarty = get_smarty(); + $smarty->assign("usePrototype", "true"); $smarty->assign("initially_was_account", $this->initially_was_account); $smarty->assign("isModifyableMail" , $this->mailMethod->isModifyableMail()); $smarty->assign("isModifyableServer", $this->mailMethod->isModifyableServer()); diff --git a/gosa-plugins/mail/personal/mail/generic.tpl b/gosa-plugins/mail/personal/mail/generic.tpl index e186fd789..dde2bfa00 100644 --- a/gosa-plugins/mail/personal/mail/generic.tpl +++ b/gosa-plugins/mail/personal/mail/generic.tpl @@ -149,8 +149,7 @@ {t}Activate vacation message{/t} + onclick="changeStates()"> {t}Activate vacation message{/t} {/render}
@@ -159,50 +158,30 @@ - - - -
{t}from{/t} -{render acl=$gosaVacationMessageACL} - -{/render} + {render acl=$gosaVacationMessageACL} - -{/render} -{render acl=$gosaVacationMessageACL} - + + {if $gosaVacationMessageACL|regex_replace:"/[cdmr]/":"" == "w"} + + {/if} {/render} -
{t}till{/t} -{render acl=$gosaVacationMessageACL} - -{/render} + {render acl=$gosaVacationMessageACL} - + + {if $gosaVacationMessageACL|regex_replace:"/[cdmr]/":"" == "w"} + + {/if} {/render} -{render acl=$gosaVacationMessageACL} - -{/render} -
@@ -316,23 +295,24 @@