From: hickert Date: Tue, 6 May 2008 08:05:21 +0000 (+0000) Subject: Updated krb stuff X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8017a18b695c3bb6c4912711c246ccfb8fcfed6e;p=gosa.git Updated krb stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10783 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/ihtml/themes/default/pwd_kerberos_mit.tpl b/gosa-core/ihtml/themes/default/pwd_kerberos_mit.tpl index 8ca489bc7..be9d6fd35 100644 --- a/gosa-core/ihtml/themes/default/pwd_kerberos_mit.tpl +++ b/gosa-core/ihtml/themes/default/pwd_kerberos_mit.tpl @@ -183,19 +183,19 @@ {t}Last failed login{/t} - {if !$LAST_FAILED} {t}none{/t} {else} {$LAST_FAILED} {/if} + {if !$LAST_FAILED} {t}none{/t} {else} {$LAST_FAILED|date_format:"%d.%m.%Y %H:%m:%S"} {/if} {t}Last password change{/t} - {if !$LAST_PWD_CHANGE} {t}none{/t} {else} {$LAST_PWD_CHANGE} {/if} + {if !$LAST_PWD_CHANGE} {t}none{/t} {else} {$LAST_PWD_CHANGE|date_format:"%d.%m.%Y %H:%m:%S"} {/if} {t}Last successful login{/t} - {if !$LAST_SUCCESS} {t}none{/t} {else} {$LAST_SUCCESS} {/if} + {if !$LAST_SUCCESS} {t}none{/t} {else} {$LAST_SUCCESS|date_format:"%d.%m.%Y %H:%m:%S"} {/if} {t}Last modification date{/t} - {if !$MOD_DATE} {t}none{/t} {else} {$MOD_DATE} {/if} + {if !$MOD_DATE} {t}none{/t} {else} {$MOD_DATE|date_format:"%d.%m.%Y %H:%m:%S"} {/if} diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index b1c527775..741598ef3 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -1376,6 +1376,7 @@ class gosaSupportDaemon trigger_error("Invalid configuration attribute given '".$key."=".$value."'."); return($ret); } + $key = strtolower($key); if(is_array($value)){ foreach($value as $val){ $attrs.= "<$key>$val\n";