From: hickert Date: Wed, 22 Mar 2006 12:29:57 +0000 (+0000) Subject: Group generic used template fro copy & paste now X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=221b94a6155a8e12a2b174db96458e27e36859b1;p=gosa.git Group generic used template fro copy & paste now git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2896 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc index 9659a7042..de07e7d4c 100644 --- a/plugins/admin/groups/class_groupGeneric.inc +++ b/plugins/admin/groups/class_groupGeneric.inc @@ -821,33 +821,12 @@ class group extends plugin $dis = " disabled "; } - $str ="

"._("Group settings")."

- - - - - - - - - -
". - _("Group name"). - " - -
- "._("Force GID")." -   - - -
"; - return($str); + $smarty = get_smarty(); + $smarty->assign("used",$used); + $smarty->assign("dis" ,$dis); + $smarty->assign("cn" ,$this->cn); + $smarty->assign("gidNumber",$this->gidNumber); + return($smarty->fetch(get_template_path("paste_generic.tpl",TRUE))); } function saveCopyDialog() diff --git a/plugins/admin/groups/paste_generic.tpl b/plugins/admin/groups/paste_generic.tpl new file mode 100644 index 000000000..6b98184b2 --- /dev/null +++ b/plugins/admin/groups/paste_generic.tpl @@ -0,0 +1,21 @@ +

{t}Group settings{/t}

+ + + + + + + + + +
+ {t}Group name{/t} + + +
+ + + + +