Code

Updated krb stuff
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 May 2008 08:05:21 +0000 (08:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 May 2008 08:05:21 +0000 (08:05 +0000)
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
gosa-core/include/class_gosaSupportDaemon.inc

index 8ca489bc779770559444360dc175f7b46101384a..be9d6fd35849719468cf06bfab9b744b1d1dfca3 100644 (file)
                                </tr>
                                <tr>
                                        <td>{t}Last failed login{/t}</td>
-                                       <td>{if !$LAST_FAILED} {t}none{/t} {else} {$LAST_FAILED} {/if}</td>
+                                       <td>{if !$LAST_FAILED} {t}none{/t} {else} {$LAST_FAILED|date_format:"%d.%m.%Y %H:%m:%S"} {/if}</td>
                                </tr>
                                <tr>
                                        <td>{t}Last password change{/t}</td>
-                                       <td>{if !$LAST_PWD_CHANGE} {t}none{/t} {else} {$LAST_PWD_CHANGE} {/if}</td>
+                                       <td>{if !$LAST_PWD_CHANGE} {t}none{/t} {else} {$LAST_PWD_CHANGE|date_format:"%d.%m.%Y %H:%m:%S"} {/if}</td>
                                </tr>
                                <tr>
                                        <td>{t}Last successful login{/t}</td>
-                                       <td>{if !$LAST_SUCCESS} {t}none{/t} {else} {$LAST_SUCCESS} {/if}</td>
+                                       <td>{if !$LAST_SUCCESS} {t}none{/t} {else} {$LAST_SUCCESS|date_format:"%d.%m.%Y %H:%m:%S"} {/if}</td>
                                </tr>
                                <tr>
                                        <td>{t}Last modification date{/t}</td>
-                                       <td>{if !$MOD_DATE} {t}none{/t} {else} {$MOD_DATE} {/if}</td>
+                                       <td>{if !$MOD_DATE} {t}none{/t} {else} {$MOD_DATE|date_format:"%d.%m.%Y %H:%m:%S"} {/if}</td>
                                </tr>
                        </table>
        
index b1c52777522a175ce6e055903d0aad16219a1bb8..741598ef31f2406509cc2f7c07e19c90b0140fb7 100644 (file)
@@ -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</$key>\n";