summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8bd18c3)
raw | patch | inline | side by side (parent: 8bd18c3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Sep 2006 06:32:15 +0000 (06:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Sep 2006 06:32:15 +0000 (06:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4771 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servRepositorySetup.inc | patch | blob | history | |
plugins/admin/systems/servRepositorySetup.tpl | patch | blob | history |
diff --git a/plugins/admin/systems/class_servRepositorySetup.inc b/plugins/admin/systems/class_servRepositorySetup.inc
index 3ed15dfab94241b51f7085c9bad3784380a61024..f186bf912a499a6ae5f029c8362f8e1dcb801d4b 100644 (file)
/* Save data to object */
function save_object()
- {
- plugin::save_object();
+ {
+ if(isset($_POST['servRepositorySetup_Posted'])) {
+
+ foreach($this->attributes as $attr){
+ if(($this->parent->acl_is_writeable($attr)) && (isset($_POST[$attr]))){
+ $this->$attr = $_POST[$attr];
+ }
+ }
+ }
}
diff --git a/plugins/admin/systems/servRepositorySetup.tpl b/plugins/admin/systems/servRepositorySetup.tpl
index 210d853c1e14e5fdaacb166c02e2fd8e997f3174..29691ec444a152d3ccda69a5f5cae6f7a983bc2a 100644 (file)
</td>
</tr>
</table>
+<input type='hidden' name='servRepositorySetup_Posted' value='1'>
<p class="plugbottom">
<input type=submit name="repository_setup_save" value="{t}Apply{/t}">