summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6754621)
raw | patch | inline | side by side (parent: 6754621)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 5 Nov 2010 09:37:39 +0000 (09:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 5 Nov 2010 09:37:39 +0000 (09:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20189 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/generic/dashBoard/Register/class_RegisterGOsa.inc | patch | blob | history | |
gosa-core/plugins/generic/dashBoard/Register/register.tpl | patch | blob | history |
diff --git a/gosa-core/plugins/generic/dashBoard/Register/class_RegisterGOsa.inc b/gosa-core/plugins/generic/dashBoard/Register/class_RegisterGOsa.inc
index a0eebe39cd3ee28b3330665adb32486b4d87984f..4dfc17f6589acc68e71bd51377b3f754ed5b5632 100644 (file)
}
+ function save_object()
+ {
+ if(isset($_POST['registrationType'])) $this->defaultRegistrationType = get_post('registrationType');
+ }
+
+
+
static function registerGOsa($config, $uuid, $type, $userData = array())
{
echo "<br>Register GOsa.";
diff --git a/gosa-core/plugins/generic/dashBoard/Register/register.tpl b/gosa-core/plugins/generic/dashBoard/Register/register.tpl
index 5d67160fe32db87ebf64b64ff2cd6ced6ddbbdd7..87b4c35ff5fe037619d85e0e2a27f8b6775bd1d2 100644 (file)
{t}Do you want to register GOsa and benefit from the features it brings?{/t}
<p>
- <input type='radio' name='registrationType' value=''
- {if $default == ""} checked {/if}><b>{t}I do not want to register{/t}</b>
+ <input type='radio' name='registrationType' value='' id="registrationType_"
+ {if $default == ""} checked {/if}><b><LABEL for="registrationType_">{t}I do not want to register{/t}</LABEL></b>
<p style='padding-left:20px;'>
<!-- Add a descritive text later -->
</p>
- <input type='radio' name='registrationType' value='annonym'
- {if $default == "annonym"} checked {/if}><b>{t}Annonym access{/t}</b>
+ <input type='radio' name='registrationType' value='annonym' id="registrationType_annonym"
+ {if $default == "annonym"} checked {/if}><b><LABEL for="registrationType_annonym">{t}Annonym access{/t}</LABEL></b>
<p style='padding-left:20px;'>
<ul>
<li>{t}Access to the 'Open-Channels' to easily install or remove plugins within the GOsa user interface{/t}</li>
</ul>
</p>
- <input type='radio' name='registrationType' value='registered'
- {if $default == "registered"} checked {/if}><b>{t}Register{/t}</b>
+ <input type='radio' name='registrationType' value='registered' id="registrationType_registered"
+ {if $default == "registered"} checked {/if}><b><LABEL for="registrationType_registered">{t}Register{/t}</LABEL></b>
<p style='padding-left:20px;'>
{t}Additionally to the 'Annonomous' account you can:{/t}
<ul>
</p>
+
+<hr>
+
+<div class="plugin-actions">
+ <button name='startRegistration'>{msgPool type=okButton}</button>
+</div>
+