summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6cc4ba0)
raw | patch | inline | side by side (parent: 6cc4ba0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 12 Jun 2008 13:00:42 +0000 (13:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 12 Jun 2008 13:00:42 +0000 (13:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11304 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/departments/class_countryGeneric.inc | [new file with mode: 0644] | patch | blob |
gosa-core/plugins/admin/departments/generic.tpl | patch | blob | history |
diff --git a/gosa-core/plugins/admin/departments/class_countryGeneric.inc b/gosa-core/plugins/admin/departments/class_countryGeneric.inc
--- /dev/null
@@ -0,0 +1,34 @@
+<?php
+/*
+ * This code is part of GOsa (http://www.gosa-project.org)
+ * Copyright (C) 2003-2008 GONICUS GmbH
+ *
+ * ID: $$Id: class_departmentGeneric.inc 11085 2008-05-28 10:54:49Z hickert $$
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+class country extends department
+{
+ /* attribute list for save action */
+ var $attributes = array( "c", "description");
+ var $objectclasses = array("top", "country");
+ var $type ="c";
+
+ var $c ="";
+}
+
+// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
+?>
diff --git a/gosa-core/plugins/admin/departments/generic.tpl b/gosa-core/plugins/admin/departments/generic.tpl
index d3bb658e3db62deb15c926f5d0845644caeb58f4..fa8fc8ea3b954874d3963d41773abe3c57e44e20 100644 (file)
{if $dep_type == "c"}
+
+<!--////////////////////
+ // COUNTRY (c)
+ //////////////////// -->
+
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
<tr>
<td style="vertical-align:top; width:50%">
</td>
</tr>
</table>
+<p class='seperator'> </p>
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
+ <tr>
+ <td style="vertical-align:top; width:100%">
+ <h2><img class="center" alt="" align="middle" src="images/lists/locked.png"> {t}Administrative settings{/t}</h2>
+{render acl=$gosaUnitTagACL}
+ <input id="unitTag" type=checkbox name="unitTag" value="1" {$unitTag}><label for="unitTag">{t}Tag department as an independent administrative unit{/t}</label>
+{/render}
+ </td>
+ </tr>
+</table>
+
+{elseif $dep_type == "ou"}
+<!--////////////////////
+ // ORGANIZATIONAL UNIT (ou)
+ //////////////////// -->
-{else}
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
<tr>