From a91bfa60c825c48486baec41529a1b8d90571cbb Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 19 Mar 2010 16:41:58 +0000 Subject: [PATCH] Updated share service git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16969 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../systems/services/shares/class_servNfs.inc | 4 +- .../systems/services/shares/goShareServer.tpl | 61 ++++++++----------- .../admin/systems/services/shares/servnfs.tpl | 19 ++---- 3 files changed, 34 insertions(+), 50 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/services/shares/class_servNfs.inc b/gosa-plugins/goto/admin/systems/services/shares/class_servNfs.inc index 14bd2677e..8e50b5fc2 100644 --- a/gosa-plugins/goto/admin/systems/services/shares/class_servNfs.inc +++ b/gosa-plugins/goto/admin/systems/services/shares/class_servNfs.inc @@ -108,7 +108,7 @@ class servnfs extends plugin $smarty->assign("allow_mounts", $this->parent->allow_mounts); $smarty->assign("mount_checked", ""); - $smarty->assign("appleMountsACL", $this->getacl("appleMounts")); + $smarty->assign("appleMountsACL", $this->parent->getacl("appleMounts")); if (($this->type == "netatalk") || ($this->type == "NFS")) { if ($this->create_mount_init) { @@ -264,8 +264,6 @@ class servnfs extends plugin function should_create_mount() { return $this->create_mount; } - - } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: diff --git a/gosa-plugins/goto/admin/systems/services/shares/goShareServer.tpl b/gosa-plugins/goto/admin/systems/services/shares/goShareServer.tpl index 10f0c7f3c..647d21a26 100644 --- a/gosa-plugins/goto/admin/systems/services/shares/goShareServer.tpl +++ b/gosa-plugins/goto/admin/systems/services/shares/goShareServer.tpl @@ -1,40 +1,33 @@

{t}Shares{/t}

- - - - -
-{render acl=$nameACL mode=read_active} - -{/render} -
- -{render acl=$nameACL} - - -{/render} -{render acl=$nameACL mode=read_active} - - -{/render} -{render acl=$nameACL} - - -{/render} -
+ + + + +
+ {render acl=$nameACL mode=read_active} + + {/render} +
+ {render acl=$nameACL} + + {/render} + {render acl=$nameACL mode=read_active} + + {/render} + {render acl=$nameACL} + + {/render} +

-
- - -   - - +
+ +
diff --git a/gosa-plugins/goto/admin/systems/services/shares/servnfs.tpl b/gosa-plugins/goto/admin/systems/services/shares/servnfs.tpl index 9e91a55d3..dbaf9e794 100644 --- a/gosa-plugins/goto/admin/systems/services/shares/servnfs.tpl +++ b/gosa-plugins/goto/admin/systems/services/shares/servnfs.tpl @@ -75,7 +75,7 @@ {/if} {literal} -