summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 14ccb5f)
raw | patch | inline | side by side (parent: 14ccb5f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Jul 2010 15:28:32 +0000 (15:28 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Jul 2010 15:28:32 +0000 (15:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18910 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/password/class_password.inc | patch | blob | history | |
gosa-core/plugins/personal/password/password.tpl | patch | blob | history |
diff --git a/gosa-core/plugins/personal/password/class_password.inc b/gosa-core/plugins/personal/password/class_password.inc
index 785075b3f67d21f5d15734eafb4ee3024171adc8..b15797a369db45c27f9cad6f990f6cb8e0def396 100644 (file)
function refreshProposal()
{
$this->proposal = passwordMethod::getPasswordProposal($this->config);
- if($this->proposal != ""){
- $this->proposalEnabled =TRUE;
- }
+ $this->proposalEnabled = (!empty($this->proposal));
}
diff --git a/gosa-core/plugins/personal/password/password.tpl b/gosa-core/plugins/personal/password/password.tpl
index 7c928183025052f9b80a2a5fbad14ebbbcdde662..d5b28604922d633090f93cdbdb2a79dc7f12f7e8 100644 (file)
<hr>
-{if !proposalEnabled}
+{if !$proposalEnabled}
<table cellpadding=4 border=0 summary="{t}Password change dialog{/t}">
<tr>
<td><b><LABEL for="current_password">{t}Current password{/t}</LABEL></b></td>