summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 655fcf6)
raw | patch | inline | side by side (parent: 655fcf6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 May 2010 09:45:11 +0000 (09:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 May 2010 09:45:11 +0000 (09:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18547 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc | patch | blob | history | |
gosa-core/plugins/addons/propertyEditor/property-list.tpl | patch | blob | history |
diff --git a/gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc b/gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc
index d8d26e04351165c840021ba6874183b3b7469250..93b605ab15f4721536cfb03646e1a1697c606125 100644 (file)
var $toBeMigrated = array();
+ var $warningAccepted = FALSE;
+
function __construct($config,$ui)
{
$this->config = $config;
// Once accepted hide the warning message
if(isset($_POST['warningAccepted'])){
- $this->warningNotAccepted = TRUE;
+ $this->warningAccepted = TRUE;
}
// Execute registered management event listeners.
}
$smarty = get_smarty();
- $smarty->assign("warningNotAccepted", $this->warningNotAccepted);
+ $smarty->assign("warningAccepted", $this->warningAccepted);
$smarty->assign("ignoreLdapProperties", $this->config->configRegistry->ignoreLdapProperties);
return(management::execute());
}
diff --git a/gosa-core/plugins/addons/propertyEditor/property-list.tpl b/gosa-core/plugins/addons/propertyEditor/property-list.tpl
index e22885feb687df4f1b83bd4633ffe53771c67845..44bd4c0745d3928b89244c78a74287cfcce72362 100644 (file)
-{if !$warningNotAccepted}
+{if !$warningAccepted}
<table summary="{t}Warning message{/t}" style='width:100%'>
<tr>
</tr>
</table>
<hr>
- <input type='checkbox' name='warningAccepted' value='1'>
- {t}I know the risks and want to modify properties!{/t}
+ <input type='checkbox' name='warningAccepted' value='1' id='warningAccepted'>
+ <label for='warningAccepted'>{t}I know the risks and want to modify properties!{/t}</label>
<hr>
<div class="plugin-actions">
<button name='goOn'>{msgPool type='okButton'}</button>