From 8017a18b695c3bb6c4912711c246ccfb8fcfed6e Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 6 May 2008 08:05:21 +0000 Subject: [PATCH] Updated krb stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10783 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/ihtml/themes/default/pwd_kerberos_mit.tpl | 8 ++++---- gosa-core/include/class_gosaSupportDaemon.inc | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) 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"; -- 2.30.2