gosa-plugin-apache2-2.7.4/0000755000175000017500000000000011752422555014256 5ustar cajuscajusgosa-plugin-apache2-2.7.4/contrib/0000755000175000017500000000000011752422555015716 5ustar cajuscajusgosa-plugin-apache2-2.7.4/contrib/mod_vhost_ldap.ldif0000644000175000017500000000362111043607556021561 0ustar cajuscajusdn: cn=mod_vhost_ldap,cn=schema,cn=config objectClass: olcSchemaConfig cn: mod_vhost_ldap olcAttributeTypes: ( 1.3.6.1.4.1.8387.1.1.2 NAME 'apacheServerName' SUP name DESC 'mod_vhost_ldap: Apache ServerName' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) olcAttributeTypes: ( 1.3.6.1.4.1.8387.1.1.3 NAME 'apacheServerAlias' SUP name DESC 'mod_vhost_ldap: Apache ServerAlias' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) olcAttributeTypes: ( 1.3.6.1.4.1.8387.1.1.4 NAME 'apacheDocumentRoot' SUP name DESC 'mod_vhost_ldap: Apache DocumentRoot' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) olcAttributeTypes: ( 1.3.6.1.4.1.8387.1.1.5 NAME 'apacheServerAdmin' SUP name DESC 'mod_vhost_ldap: Apache ServerAdmin' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) olcAttributeTypes: ( 1.3.6.1.4.1.14287.1.1.6 NAME 'apacheScriptAlias' SUP name DESC 'mod_cfg_ldap: Apache ScriptAlias' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) olcAttributeTypes: ( 1.3.6.1.4.1.8387.1.1.7 NAME 'apacheSuexecUid' SUP name DESC 'mod_vhost_ldap: Apache SuexecUid' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) olcAttributeTypes: ( 1.3.6.1.4.1.8387.1.1.8 NAME 'apacheSuexecGid' SUP name DESC 'mod_vhost_ldap: Apache SuexecGid' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) olcObjectClasses: ( 1.3.6.1.4.1.8387.1.2.1 NAME 'apacheConfig' SUP 'top' MUST ( apacheServerName $ apacheDocumentRoot ) MAY ( apacheServerAlias $ apacheServerAdmin $ apacheScriptAlias $ apacheSuexecUid $ apacheSuexecGid ) ) gosa-plugin-apache2-2.7.4/contrib/mod_vhost_ldap.schema0000644000175000017500000000406511020736531022075 0ustar cajuscajus## ## OIDs are owned by Globe Internet ## ## 1.3.6.1.4.1.14287.1.x - mod_vhost_ldap ## 1.3.6.1.4.1.14287.1.1.x - attributetypes ## 1.3.6.1.4.1.14287.1.2.x - objectclasses ## attributetype ( 1.3.6.1.4.1.8387.1.1.2 NAME 'apacheServerName' SUP name DESC 'mod_vhost_ldap: Apache ServerName' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.8387.1.1.3 NAME 'apacheServerAlias' SUP name DESC 'mod_vhost_ldap: Apache ServerAlias' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) attributetype ( 1.3.6.1.4.1.8387.1.1.4 NAME 'apacheDocumentRoot' SUP name DESC 'mod_vhost_ldap: Apache DocumentRoot' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.8387.1.1.5 NAME 'apacheServerAdmin' SUP name DESC 'mod_vhost_ldap: Apache ServerAdmin' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.14287.1.1.6 NAME 'apacheScriptAlias' SUP name DESC 'mod_cfg_ldap: Apache ScriptAlias' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.8387.1.1.7 NAME 'apacheSuexecUid' SUP name DESC 'mod_vhost_ldap: Apache SuexecUid' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.8387.1.1.8 NAME 'apacheSuexecGid' SUP name DESC 'mod_vhost_ldap: Apache SuexecGid' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) objectclass ( 1.3.6.1.4.1.8387.1.2.1 NAME 'apacheConfig' SUP 'top' MUST ( apacheServerName $ apacheDocumentRoot ) MAY ( apacheServerAlias $ apacheServerAdmin $ apacheScriptAlias $ apacheSuexecUid $ apacheSuexecGid ) ) gosa-plugin-apache2-2.7.4/plugin.dsc0000644000175000017500000000042711336200072016234 0ustar cajuscajus[gosa-plugin] name = apache2 description = "Apache2 vhost management module" depends = systems version = 2.6.8 author = "Cajus Pollmeier " maintainer = "GOsa packages maintainers group " homepage = https://oss.gonicus.de/labs/gosa/ gosa-plugin-apache2-2.7.4/locale/0000755000175000017500000000000011752422555015515 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/ru/0000755000175000017500000000000011752422555016143 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/ru/LC_MESSAGES/0000755000175000017500000000000011752422555017730 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/ru/LC_MESSAGES/messages.po0000644000175000017500000001256411475426262022110 0ustar cajuscajus# Translation of messages.po to Russian # Valia V. Vaneeva , 2004. # $Id: messages.po,v 1.61 2005/04/18 10:37:13 migor-guest Exp $ msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:22+0100\n" "PO-Revision-Date: 2005-04-18 14:35+0300\n" "Last-Translator: Igor Muratov \n" "Language-Team: ALT Linux Team\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: poEdit 1.3.1\n" #: admin/systems/services/apache2/servApacheVhost.tpl:1 #, fuzzy msgid "Apache virtual hosts" msgstr "Отмена" #: admin/systems/services/apache2/servApacheVhost.tpl:7 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:50 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:78 msgid "Add" msgstr "Добавить" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Alias" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Directory" msgstr "Каталог" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:203 #: admin/systems/services/apache2/class_servApacheVhost.inc:71 msgid "Name" msgstr "Фамилия" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:210 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:5 #, fuzzy msgid "Virtual host name" msgstr "Список" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "Only lowercase strings are allowed as Virtual Host Name." msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "e.g. example.com" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:217 #: admin/systems/services/apache2/class_servApacheVhost.inc:301 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:11 msgid "Document root" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:223 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:17 #, fuzzy msgid "Administrator mail address" msgstr "Основной адрес" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:232 #: admin/systems/services/apache2/class_servApacheVhost.inc:302 #, fuzzy msgid "Server alias" msgstr "Серверы" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:242 #: admin/systems/services/apache2/class_servApacheVhost.inc:304 #, fuzzy msgid "Script alias" msgstr "Путь к сценариям" #: admin/systems/services/apache2/class_servApacheVhost.inc:61 #: admin/systems/services/apache2/class_servApacheVhost.inc:277 #: admin/systems/services/apache2/class_servApacheVhost.inc:290 #, fuzzy msgid "Apache service" msgstr "Отмена" #: admin/systems/services/apache2/class_servApacheVhost.inc:230 #: admin/systems/services/apache2/class_servApacheVhost.inc:241 #: admin/systems/services/apache2/class_servApacheVhost.inc:264 #, fuzzy msgid "LDAP error" msgstr "Ошибка LDAP:" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Apache virtual host service" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Services" msgstr "Сервисы" #: admin/systems/services/apache2/class_servApacheVhost.inc:299 msgid "Virtual hosts" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:300 #, fuzzy msgid "Server name" msgstr "Сервер" #: admin/systems/services/apache2/class_servApacheVhost.inc:303 #, fuzzy msgid "Server admin" msgstr "Серверы" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:1 msgid "Generic" msgstr "Общее" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:3 #, fuzzy msgid "Apache Virutal Host" msgstr "Отмена" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:26 #, fuzzy msgid "Server settings" msgstr "Почтовые настройки пользователя" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:30 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:33 #, fuzzy msgid "Server Alias" msgstr "Серверы" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:37 msgid "URL Alias" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:40 #, fuzzy msgid "Directory Path" msgstr "Каталог" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:59 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:62 #, fuzzy msgid "Script Alias" msgstr "Путь к сценариям" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:65 #, fuzzy msgid "Alias Directory" msgstr "Каталог" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:68 #, fuzzy msgid "Script Directory" msgstr "Каталог" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:89 msgid "Save" msgstr "Сохранить" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:91 msgid "Cancel" msgstr "Отмена" #: admin/systems/services/apache2/class_apacheUtils.inc:194 #, php-format msgid "" "Undefined virtual host name '%s'. Virtual host name must be a valid, fully " "qualified domain name like 'www.example.com' or 'example.com'." msgstr "" #, fuzzy #~ msgid "Apache VHosts" #~ msgstr "Отмена" #, fuzzy #~ msgid "Down" #~ msgstr "Домен" #~ msgid "Delete" #~ msgstr "Удалить" gosa-plugin-apache2-2.7.4/locale/pl/0000755000175000017500000000000011752422555016130 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/pl/LC_MESSAGES/0000755000175000017500000000000011752422555017715 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/pl/LC_MESSAGES/messages.po0000644000175000017500000001216011475426262022065 0ustar cajuscajusmsgid "" msgstr "" "Project-Id-Version: polski\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:22+0100\n" "PO-Revision-Date: 2007-07-14 21:45+0100\n" "Last-Translator: Piotr Rybicki \n" "Language-Team: Piotr Rybicki \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Polish\n" "X-Poedit-Country: POLAND\n" "X-Poedit-SourceCharset: iso-8859-2\n" "X-Poedit-Basepath: tedst\n" #: admin/systems/services/apache2/servApacheVhost.tpl:1 #, fuzzy msgid "Apache virtual hosts" msgstr "Cache" #: admin/systems/services/apache2/servApacheVhost.tpl:7 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:50 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:78 msgid "Add" msgstr "Dodaj" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Alias" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Directory" msgstr "Katalog" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:203 #: admin/systems/services/apache2/class_servApacheVhost.inc:71 msgid "Name" msgstr "Imię" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:210 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:5 #, fuzzy msgid "Virtual host name" msgstr "Imię" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "Only lowercase strings are allowed as Virtual Host Name." msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "e.g. example.com" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:217 #: admin/systems/services/apache2/class_servApacheVhost.inc:301 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:11 msgid "Document root" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:223 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:17 #, fuzzy msgid "Administrator mail address" msgstr "Adres email" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:232 #: admin/systems/services/apache2/class_servApacheVhost.inc:302 #, fuzzy msgid "Server alias" msgstr "Serwery" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:242 #: admin/systems/services/apache2/class_servApacheVhost.inc:304 #, fuzzy msgid "Script alias" msgstr "Skrypt" #: admin/systems/services/apache2/class_servApacheVhost.inc:61 #: admin/systems/services/apache2/class_servApacheVhost.inc:277 #: admin/systems/services/apache2/class_servApacheVhost.inc:290 #, fuzzy msgid "Apache service" msgstr "Cache" #: admin/systems/services/apache2/class_servApacheVhost.inc:230 #: admin/systems/services/apache2/class_servApacheVhost.inc:241 #: admin/systems/services/apache2/class_servApacheVhost.inc:264 #, fuzzy msgid "LDAP error" msgstr "błąd LDAP:" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Apache virtual host service" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Services" msgstr "Usługi" #: admin/systems/services/apache2/class_servApacheVhost.inc:299 msgid "Virtual hosts" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:300 #, fuzzy msgid "Server name" msgstr "Serwer" #: admin/systems/services/apache2/class_servApacheVhost.inc:303 #, fuzzy msgid "Server admin" msgstr "Serwery" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:1 msgid "Generic" msgstr "Ogólne" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:3 #, fuzzy msgid "Apache Virutal Host" msgstr "Cache" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:26 #, fuzzy msgid "Server settings" msgstr "Ustawienia użytkownika" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:30 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:33 #, fuzzy msgid "Server Alias" msgstr "Serwery" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:37 msgid "URL Alias" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:40 #, fuzzy msgid "Directory Path" msgstr "Katalog" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:59 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:62 #, fuzzy msgid "Script Alias" msgstr "Skrypt" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:65 #, fuzzy msgid "Alias Directory" msgstr "Katalog" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:68 #, fuzzy msgid "Script Directory" msgstr "Katalog" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:89 msgid "Save" msgstr "Zapisz" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:91 msgid "Cancel" msgstr "Anuluj" #: admin/systems/services/apache2/class_apacheUtils.inc:194 #, php-format msgid "" "Undefined virtual host name '%s'. Virtual host name must be a valid, fully " "qualified domain name like 'www.example.com' or 'example.com'." msgstr "" #, fuzzy #~ msgid "Apache VHosts" #~ msgstr "Cache" #~ msgid "Up" #~ msgstr "Góra" #~ msgid "Down" #~ msgstr "W dół" #~ msgid "Delete" #~ msgstr "Usuń" gosa-plugin-apache2-2.7.4/locale/it/0000755000175000017500000000000011752422555016131 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/it/LC_MESSAGES/0000755000175000017500000000000011752422555017716 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/it/LC_MESSAGES/messages.po0000644000175000017500000001232511475426262022071 0ustar cajuscajus# translation of messages.po to Italian # Copyright (c) 2005 B-Open Solutions srl - http://www.bopen.it/ # Copyright (c) 2005 Alessandro Amici # Alessandro Amici , 2005. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:22+0100\n" "PO-Revision-Date: 2005-11-18 15:26+0100\n" "Last-Translator: Alessandro Amici \n" "Language-Team: Italian\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.9.1\n" #: admin/systems/services/apache2/servApacheVhost.tpl:1 #, fuzzy msgid "Apache virtual hosts" msgstr "Annulla" #: admin/systems/services/apache2/servApacheVhost.tpl:7 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:50 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:78 msgid "Add" msgstr "Aggiungi" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Alias" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Directory" msgstr "Directory" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:203 #: admin/systems/services/apache2/class_servApacheVhost.inc:71 msgid "Name" msgstr "Cognome" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:210 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:5 #, fuzzy msgid "Virtual host name" msgstr "Liste di blocco" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "Only lowercase strings are allowed as Virtual Host Name." msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "e.g. example.com" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:217 #: admin/systems/services/apache2/class_servApacheVhost.inc:301 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:11 msgid "Document root" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:223 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:17 #, fuzzy msgid "Administrator mail address" msgstr "Indirizzo principale" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:232 #: admin/systems/services/apache2/class_servApacheVhost.inc:302 #, fuzzy msgid "Server alias" msgstr "Server" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:242 #: admin/systems/services/apache2/class_servApacheVhost.inc:304 #, fuzzy msgid "Script alias" msgstr "Script" #: admin/systems/services/apache2/class_servApacheVhost.inc:61 #: admin/systems/services/apache2/class_servApacheVhost.inc:277 #: admin/systems/services/apache2/class_servApacheVhost.inc:290 #, fuzzy msgid "Apache service" msgstr "Annulla" #: admin/systems/services/apache2/class_servApacheVhost.inc:230 #: admin/systems/services/apache2/class_servApacheVhost.inc:241 #: admin/systems/services/apache2/class_servApacheVhost.inc:264 #, fuzzy msgid "LDAP error" msgstr "Errore LDAP" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Apache virtual host service" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Services" msgstr "Servizi" #: admin/systems/services/apache2/class_servApacheVhost.inc:299 msgid "Virtual hosts" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:300 #, fuzzy msgid "Server name" msgstr "Server" #: admin/systems/services/apache2/class_servApacheVhost.inc:303 #, fuzzy msgid "Server admin" msgstr "Server" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:1 msgid "Generic" msgstr "Generale" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:3 #, fuzzy msgid "Apache Virutal Host" msgstr "Annulla" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:26 #, fuzzy msgid "Server settings" msgstr "Opzioni di posta dell'identità" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:30 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:33 #, fuzzy msgid "Server Alias" msgstr "Server" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:37 msgid "URL Alias" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:40 #, fuzzy msgid "Directory Path" msgstr "Directory" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:59 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:62 #, fuzzy msgid "Script Alias" msgstr "Script" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:65 #, fuzzy msgid "Alias Directory" msgstr "Directory" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:68 #, fuzzy msgid "Script Directory" msgstr "Directory" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:89 msgid "Save" msgstr "Salva" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:91 msgid "Cancel" msgstr "Annulla" #: admin/systems/services/apache2/class_apacheUtils.inc:194 #, php-format msgid "" "Undefined virtual host name '%s'. Virtual host name must be a valid, fully " "qualified domain name like 'www.example.com' or 'example.com'." msgstr "" #, fuzzy #~ msgid "Apache VHosts" #~ msgstr "Annulla" #, fuzzy #~ msgid "Down" #~ msgstr "Dominio" #~ msgid "Delete" #~ msgstr "Rimuovi" gosa-plugin-apache2-2.7.4/locale/pt_BR/0000755000175000017500000000000011752422555016523 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/pt_BR/LC_MESSAGES/0000755000175000017500000000000011752422555020310 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/pt_BR/LC_MESSAGES/messages.po0000644000175000017500000001325411475426262022465 0ustar cajuscajus# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: GOsa plugins - apache2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:22+0100\n" "PO-Revision-Date: 2010-03-12 18:16-0300\n" "Last-Translator: Marcos Amorim \n" "Language-Team: Marcos Amorim Clever de Oliveira " "\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Portuguese\n" "X-Poedit-Country: BRAZIL\n" #: admin/systems/services/apache2/servApacheVhost.tpl:1 #, fuzzy msgid "Apache virtual hosts" msgstr "Serviço de endereços virtuais" #: admin/systems/services/apache2/servApacheVhost.tpl:7 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:50 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:78 msgid "Add" msgstr "Adicionar" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 #, fuzzy msgid "Alias" msgstr "Alias URL" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Directory" msgstr "Diretório" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:203 #: admin/systems/services/apache2/class_servApacheVhost.inc:71 msgid "Name" msgstr "Nome" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:210 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:5 msgid "Virtual host name" msgstr "Nome virtual" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "Only lowercase strings are allowed as Virtual Host Name." msgstr "" "Somente letras minuscula são permitidas para nomes de endereços virtuais." #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "e.g. example.com" msgstr "ex. exemplo.com.br" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:217 #: admin/systems/services/apache2/class_servApacheVhost.inc:301 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:11 msgid "Document root" msgstr "Raiz" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:223 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:17 #, fuzzy msgid "Administrator mail address" msgstr "Endereço de email do admin." #: admin/systems/services/apache2/class_servApacheEditVhost.inc:232 #: admin/systems/services/apache2/class_servApacheVhost.inc:302 msgid "Server alias" msgstr "Alias do servidor" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:242 #: admin/systems/services/apache2/class_servApacheVhost.inc:304 msgid "Script alias" msgstr "Alias de script" #: admin/systems/services/apache2/class_servApacheVhost.inc:61 #: admin/systems/services/apache2/class_servApacheVhost.inc:277 #: admin/systems/services/apache2/class_servApacheVhost.inc:290 msgid "Apache service" msgstr "Serviço Apache" #: admin/systems/services/apache2/class_servApacheVhost.inc:230 #: admin/systems/services/apache2/class_servApacheVhost.inc:241 #: admin/systems/services/apache2/class_servApacheVhost.inc:264 msgid "LDAP error" msgstr "Erro LDAP" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Apache virtual host service" msgstr "Serviço de endereços virtuais" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Services" msgstr "Serviços" #: admin/systems/services/apache2/class_servApacheVhost.inc:299 msgid "Virtual hosts" msgstr "Endereço Virtual" #: admin/systems/services/apache2/class_servApacheVhost.inc:300 #, fuzzy msgid "Server name" msgstr "Servidor" #: admin/systems/services/apache2/class_servApacheVhost.inc:303 #, fuzzy msgid "Server admin" msgstr "Alias do servidor" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:1 msgid "Generic" msgstr "Geral" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:3 #, fuzzy msgid "Apache Virutal Host" msgstr "Virtual Host Apache" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:26 #, fuzzy msgid "Server settings" msgstr "Configurações do usuário" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:30 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:33 msgid "Server Alias" msgstr "Alias do servidor" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:37 msgid "URL Alias" msgstr "Alias URL" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:40 msgid "Directory Path" msgstr "Caminho do diretório" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:59 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:62 msgid "Script Alias" msgstr "Alias de script" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:65 msgid "Alias Directory" msgstr "Alias de diretório" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:68 msgid "Script Directory" msgstr "Diretório de script" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:89 msgid "Save" msgstr "Salvar" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:91 msgid "Cancel" msgstr "Cancelar" #: admin/systems/services/apache2/class_apacheUtils.inc:194 #, fuzzy, php-format msgid "" "Undefined virtual host name '%s'. Virtual host name must be a valid, fully " "qualified domain name like 'www.example.com' or 'example.com'." msgstr "" "Nome virtual indefinido %s. Nomes virtuais deve parecer com isso 'www." "exemplo.com.br ou exemplo.com.br'." #~ msgid "Apache VHosts" #~ msgstr "Virtual Host Apache" #~ msgid "Up" #~ msgstr "Acima" #~ msgid "Down" #~ msgstr "Abaixo" #~ msgid "Delete" #~ msgstr "Excluir" gosa-plugin-apache2-2.7.4/locale/es/0000755000175000017500000000000011752422555016124 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/es/LC_MESSAGES/0000755000175000017500000000000011752422555017711 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/es/LC_MESSAGES/messages.po0000644000175000017500000001314111475426262022061 0ustar cajuscajus# translation of admin.po to # translation of systems.po to # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # , 2010. msgid "" msgstr "" "Project-Id-Version: admin\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:22+0100\n" "PO-Revision-Date: 2010-01-24 00:09+0100\n" "Last-Translator: \n" "Language-Team: Spanish <>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.0\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: admin/systems/services/apache2/servApacheVhost.tpl:1 #, fuzzy msgid "Apache virtual hosts" msgstr "Servicio de Virtual Host de Apache" #: admin/systems/services/apache2/servApacheVhost.tpl:7 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:50 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:78 msgid "Add" msgstr "Añadir" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 #, fuzzy msgid "Alias" msgstr "Alias de URL" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Directory" msgstr "Directorio" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:203 #: admin/systems/services/apache2/class_servApacheVhost.inc:71 msgid "Name" msgstr "Nombre" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:210 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:5 msgid "Virtual host name" msgstr "Nombre Virtual Host" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "Only lowercase strings are allowed as Virtual Host Name." msgstr "Solo están permitidas minúsculas en el nombre de Virtual Host." #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "e.g. example.com" msgstr "ej: example.com" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:217 #: admin/systems/services/apache2/class_servApacheVhost.inc:301 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:11 msgid "Document root" msgstr "Raíz de documento" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:223 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:17 #, fuzzy msgid "Administrator mail address" msgstr "Dirección correo electrónico del administrador" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:232 #: admin/systems/services/apache2/class_servApacheVhost.inc:302 msgid "Server alias" msgstr "Alias de servidor" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:242 #: admin/systems/services/apache2/class_servApacheVhost.inc:304 msgid "Script alias" msgstr "Alias de script" #: admin/systems/services/apache2/class_servApacheVhost.inc:61 #: admin/systems/services/apache2/class_servApacheVhost.inc:277 #: admin/systems/services/apache2/class_servApacheVhost.inc:290 msgid "Apache service" msgstr "Servicio apache" #: admin/systems/services/apache2/class_servApacheVhost.inc:230 #: admin/systems/services/apache2/class_servApacheVhost.inc:241 #: admin/systems/services/apache2/class_servApacheVhost.inc:264 msgid "LDAP error" msgstr "Error LDAP" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Apache virtual host service" msgstr "Servicio de Virtual Host de Apache" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Services" msgstr "Servicios" #: admin/systems/services/apache2/class_servApacheVhost.inc:299 msgid "Virtual hosts" msgstr "Virtual hosts" #: admin/systems/services/apache2/class_servApacheVhost.inc:300 #, fuzzy msgid "Server name" msgstr "Servidor" #: admin/systems/services/apache2/class_servApacheVhost.inc:303 #, fuzzy msgid "Server admin" msgstr "Alias de servidor" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:1 msgid "Generic" msgstr "Genérico" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:3 #, fuzzy msgid "Apache Virutal Host" msgstr "Apache VHosts" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:26 #, fuzzy msgid "Server settings" msgstr "Caracteristicas del usuario" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:30 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:33 msgid "Server Alias" msgstr "Alias de servidor" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:37 msgid "URL Alias" msgstr "Alias de URL" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:40 msgid "Directory Path" msgstr "Ruta al directorio" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:59 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:62 msgid "Script Alias" msgstr "Alias de script" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:65 msgid "Alias Directory" msgstr "Alias de directorio" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:68 msgid "Script Directory" msgstr "Directorio de script" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:89 msgid "Save" msgstr "Guardar" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:91 msgid "Cancel" msgstr "Cancelar" #: admin/systems/services/apache2/class_apacheUtils.inc:194 #, fuzzy, php-format msgid "" "Undefined virtual host name '%s'. Virtual host name must be a valid, fully " "qualified domain name like 'www.example.com' or 'example.com'." msgstr "" "Nombre de Virtual Host sin definir '%s'. El nombre de Virtual Host debe ser " "como: 'www.example.com o example.com'." #~ msgid "Apache VHosts" #~ msgstr "Apache VHosts" #~ msgid "Up" #~ msgstr "Arriba" #~ msgid "Down" #~ msgstr "Abajo" #~ msgid "Delete" #~ msgstr "Eliminar" gosa-plugin-apache2-2.7.4/locale/de/0000755000175000017500000000000011752422555016105 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/de/LC_MESSAGES/0000755000175000017500000000000011752422555017672 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/de/LC_MESSAGES/messages.po0000644000175000017500000001351411475426262022046 0ustar cajuscajus# translation of messages.po to deutsch # translation of messages.po to # GOsa2 Translations # Copyright (C) 2003 GONICUS GmbH, Germany # This file is distributed under the same license as the GOsa2 package. # # # Alfred Schroeder , 2004. # Cajus Pollmeier , 2004, 2005, 2006, 2008, 2009. # Jan Wenzel , 2004,2005, 2008. # Stefan Koehler , 2005. # Fabian Hickert , 2010. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:22+0100\n" "PO-Revision-Date: 2010-09-14 14:40+0200\n" "Last-Translator: Fabian Hickert \n" "Language-Team: Deutsch \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.0\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" #: admin/systems/services/apache2/servApacheVhost.tpl:1 msgid "Apache virtual hosts" msgstr "Apache virtuelle Hosts" #: admin/systems/services/apache2/servApacheVhost.tpl:7 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:50 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:78 msgid "Add" msgstr "Hinzufügen" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Alias" msgstr "Alias" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Directory" msgstr "Verzeichnis" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:203 #: admin/systems/services/apache2/class_servApacheVhost.inc:71 msgid "Name" msgstr "Name" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:210 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:5 msgid "Virtual host name" msgstr "Virtueller Host-Name" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "Only lowercase strings are allowed as Virtual Host Name." msgstr "Es sind nur Kleinbuchstaben für virtuelle Host-Namen erlaubt." #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "e.g. example.com" msgstr "z.B. beispiel.com" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:217 #: admin/systems/services/apache2/class_servApacheVhost.inc:301 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:11 msgid "Document root" msgstr "Document-Root" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:223 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:17 msgid "Administrator mail address" msgstr "Administrator Mail-Adresse" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:232 #: admin/systems/services/apache2/class_servApacheVhost.inc:302 msgid "Server alias" msgstr "Server-Alias" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:242 #: admin/systems/services/apache2/class_servApacheVhost.inc:304 msgid "Script alias" msgstr "Skript-Alias" #: admin/systems/services/apache2/class_servApacheVhost.inc:61 #: admin/systems/services/apache2/class_servApacheVhost.inc:277 #: admin/systems/services/apache2/class_servApacheVhost.inc:290 msgid "Apache service" msgstr "Apache Dienst" #: admin/systems/services/apache2/class_servApacheVhost.inc:230 #: admin/systems/services/apache2/class_servApacheVhost.inc:241 #: admin/systems/services/apache2/class_servApacheVhost.inc:264 msgid "LDAP error" msgstr "LDAP-Fehler" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Apache virtual host service" msgstr "Apache Virtual Host Dienst" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Services" msgstr "Dienste" #: admin/systems/services/apache2/class_servApacheVhost.inc:299 msgid "Virtual hosts" msgstr "Virtuelle Hosts" #: admin/systems/services/apache2/class_servApacheVhost.inc:300 msgid "Server name" msgstr "Server-Name" #: admin/systems/services/apache2/class_servApacheVhost.inc:303 msgid "Server admin" msgstr "Server-Admin" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:1 msgid "Generic" msgstr "Allgemein" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:3 msgid "Apache Virutal Host" msgstr "Apache virtueller Host" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:26 msgid "Server settings" msgstr "Server-Einstellungen" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:30 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:33 msgid "Server Alias" msgstr "Server-Alias" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:37 msgid "URL Alias" msgstr "URL-Alias" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:40 msgid "Directory Path" msgstr "Pfad" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:59 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:62 msgid "Script Alias" msgstr "Skript-Alias" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:65 msgid "Alias Directory" msgstr "Alias-Verzeichnis" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:68 msgid "Script Directory" msgstr "Skript-Verzeichnis" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:89 msgid "Save" msgstr "Speichern" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:91 msgid "Cancel" msgstr "Abbrechen" #: admin/systems/services/apache2/class_apacheUtils.inc:194 #, php-format msgid "" "Undefined virtual host name '%s'. Virtual host name must be a valid, fully " "qualified domain name like 'www.example.com' or 'example.com'." msgstr "" "Der virtuelle Host-Name '%s' ist nicht definiert. Virtuelle Host-Namen " "müssen voll qulifiziert sein, wie beispielsweise: 'www.example.com' oder " "'example.com'." #~ msgid "Apache VHosts" #~ msgstr "Apache" #~ msgid "Up" #~ msgstr "Auf" #~ msgid "Down" #~ msgstr "Ab" #~ msgid "Delete" #~ msgstr "Entfernen" gosa-plugin-apache2-2.7.4/locale/fr/0000755000175000017500000000000011752422555016124 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/fr/LC_MESSAGES/0000755000175000017500000000000011752422555017711 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/fr/LC_MESSAGES/messages.po0000644000175000017500000001273011475426262022064 0ustar cajuscajus# translation of messages.po to # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Benoit Mortier , 2008, 2009, 2010. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:22+0100\n" "PO-Revision-Date: 2010-11-24 22:57+0100\n" "Last-Translator: Benoit Mortier \n" "Language-Team: \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: admin/systems/services/apache2/servApacheVhost.tpl:1 msgid "Apache virtual hosts" msgstr "Service de nom d'hôte virtuel apache" #: admin/systems/services/apache2/servApacheVhost.tpl:7 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:50 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:78 msgid "Add" msgstr "Ajouter" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Alias" msgstr "Alias" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Directory" msgstr "Répertoire" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:203 #: admin/systems/services/apache2/class_servApacheVhost.inc:71 msgid "Name" msgstr "Nom" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:210 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:5 msgid "Virtual host name" msgstr "Nom de l'hôte de virtuel" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "Only lowercase strings are allowed as Virtual Host Name." msgstr "" "Seul les chaînes en miniscule sont permises dans les noms d'hôtes virtuels." #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "e.g. example.com" msgstr "ex: exemple.com" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:217 #: admin/systems/services/apache2/class_servApacheVhost.inc:301 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:11 msgid "Document root" msgstr "Document racine" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:223 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:17 msgid "Administrator mail address" msgstr "Adresse de messagerie de l'administrateur" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:232 #: admin/systems/services/apache2/class_servApacheVhost.inc:302 msgid "Server alias" msgstr "Alias serveur" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:242 #: admin/systems/services/apache2/class_servApacheVhost.inc:304 msgid "Script alias" msgstr "Alias script" #: admin/systems/services/apache2/class_servApacheVhost.inc:61 #: admin/systems/services/apache2/class_servApacheVhost.inc:277 #: admin/systems/services/apache2/class_servApacheVhost.inc:290 msgid "Apache service" msgstr "Service Apache" #: admin/systems/services/apache2/class_servApacheVhost.inc:230 #: admin/systems/services/apache2/class_servApacheVhost.inc:241 #: admin/systems/services/apache2/class_servApacheVhost.inc:264 msgid "LDAP error" msgstr "Erreur LDAP" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Apache virtual host service" msgstr "Service de nom d'hôte virtuel apache" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Services" msgstr "Services" #: admin/systems/services/apache2/class_servApacheVhost.inc:299 msgid "Virtual hosts" msgstr "Hôtes virtuels" #: admin/systems/services/apache2/class_servApacheVhost.inc:300 msgid "Server name" msgstr "Nom du serveur" #: admin/systems/services/apache2/class_servApacheVhost.inc:303 msgid "Server admin" msgstr "Administrateur du serveur" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:1 msgid "Generic" msgstr "Informations" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:3 msgid "Apache Virutal Host" msgstr "Hôtes virtuels Apache" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:26 msgid "Server settings" msgstr "Préférences du serveur" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:30 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:33 msgid "Server Alias" msgstr "Alias serveur" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:37 msgid "URL Alias" msgstr "Alias URL" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:40 msgid "Directory Path" msgstr "Chemin du répertoire" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:59 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:62 msgid "Script Alias" msgstr "Alias script" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:65 msgid "Alias Directory" msgstr "Alias répertoire" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:68 msgid "Script Directory" msgstr "Répertoire des scripts" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:89 msgid "Save" msgstr "Sauver" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:91 msgid "Cancel" msgstr "Annuler" #: admin/systems/services/apache2/class_apacheUtils.inc:194 #, php-format msgid "" "Undefined virtual host name '%s'. Virtual host name must be a valid, fully " "qualified domain name like 'www.example.com' or 'example.com'." msgstr "" "Nom d'hôte virtuel inconnu '%s'. Le nom d'hôte virtuel doit être comme ceci " "'www.exemple.com' ou 'exemple.com'." gosa-plugin-apache2-2.7.4/locale/en/0000755000175000017500000000000011752422555016117 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/en/LC_MESSAGES/0000755000175000017500000000000011752422555017704 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/en/LC_MESSAGES/messages.po0000644000175000017500000001020611475426262022053 0ustar cajuscajus#: admin/systems/services/apache2/servApacheVhost.tpl:1 msgid "Apache virtual hosts" msgstr "" #: admin/systems/services/apache2/servApacheVhost.tpl:7 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:50 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:78 msgid "Add" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Alias" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Directory" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:203 #: admin/systems/services/apache2/class_servApacheVhost.inc:71 msgid "Name" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:210 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:5 msgid "Virtual host name" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "Only lowercase strings are allowed as Virtual Host Name." msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "e.g. example.com" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:217 #: admin/systems/services/apache2/class_servApacheVhost.inc:301 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:11 msgid "Document root" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:223 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:17 msgid "Administrator mail address" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:232 #: admin/systems/services/apache2/class_servApacheVhost.inc:302 msgid "Server alias" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:242 #: admin/systems/services/apache2/class_servApacheVhost.inc:304 msgid "Script alias" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:61 #: admin/systems/services/apache2/class_servApacheVhost.inc:277 #: admin/systems/services/apache2/class_servApacheVhost.inc:290 msgid "Apache service" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:230 #: admin/systems/services/apache2/class_servApacheVhost.inc:241 #: admin/systems/services/apache2/class_servApacheVhost.inc:264 msgid "LDAP error" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Apache virtual host service" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Services" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:299 msgid "Virtual hosts" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:300 msgid "Server name" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:303 msgid "Server admin" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:1 msgid "Generic" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:3 msgid "Apache Virutal Host" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:26 msgid "Server settings" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:30 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:33 msgid "Server Alias" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:37 msgid "URL Alias" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:40 msgid "Directory Path" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:59 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:62 msgid "Script Alias" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:65 msgid "Alias Directory" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:68 msgid "Script Directory" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:89 msgid "Save" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:91 msgid "Cancel" msgstr "" #: admin/systems/services/apache2/class_apacheUtils.inc:194 #, php-format msgid "" "Undefined virtual host name '%s'. Virtual host name must be a valid, fully " "qualified domain name like 'www.example.com' or 'example.com'." msgstr "" gosa-plugin-apache2-2.7.4/locale/messages.po0000644000175000017500000001131511475426262017666 0ustar cajuscajus# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: admin/systems/services/apache2/servApacheVhost.tpl:1 msgid "Apache virtual hosts" msgstr "" #: admin/systems/services/apache2/servApacheVhost.tpl:7 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:50 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:78 msgid "Add" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Alias" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Directory" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:203 #: admin/systems/services/apache2/class_servApacheVhost.inc:71 msgid "Name" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:210 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:5 msgid "Virtual host name" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "Only lowercase strings are allowed as Virtual Host Name." msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "e.g. example.com" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:217 #: admin/systems/services/apache2/class_servApacheVhost.inc:301 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:11 msgid "Document root" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:223 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:17 msgid "Administrator mail address" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:232 #: admin/systems/services/apache2/class_servApacheVhost.inc:302 msgid "Server alias" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:242 #: admin/systems/services/apache2/class_servApacheVhost.inc:304 msgid "Script alias" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:61 #: admin/systems/services/apache2/class_servApacheVhost.inc:277 #: admin/systems/services/apache2/class_servApacheVhost.inc:290 msgid "Apache service" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:230 #: admin/systems/services/apache2/class_servApacheVhost.inc:241 #: admin/systems/services/apache2/class_servApacheVhost.inc:264 msgid "LDAP error" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Apache virtual host service" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Services" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:299 msgid "Virtual hosts" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:300 msgid "Server name" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:303 msgid "Server admin" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:1 msgid "Generic" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:3 msgid "Apache Virutal Host" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:26 msgid "Server settings" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:30 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:33 msgid "Server Alias" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:37 msgid "URL Alias" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:40 msgid "Directory Path" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:59 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:62 msgid "Script Alias" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:65 msgid "Alias Directory" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:68 msgid "Script Directory" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:89 msgid "Save" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:91 msgid "Cancel" msgstr "" #: admin/systems/services/apache2/class_apacheUtils.inc:194 #, php-format msgid "" "Undefined virtual host name '%s'. Virtual host name must be a valid, fully " "qualified domain name like 'www.example.com' or 'example.com'." msgstr "" gosa-plugin-apache2-2.7.4/locale/zh/0000755000175000017500000000000011752422555016136 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/zh/LC_MESSAGES/0000755000175000017500000000000011752422555017723 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/zh/LC_MESSAGES/messages.po0000644000175000017500000001233711475426262022101 0ustar cajuscajus# translation of messages.po to Chinese Simplified # Copyright (C) 2003 GONICUS GmbH, Germany # This file is distributed under the same license as the GOsa2 package. # # Jiang Xin , 2007. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:22+0100\n" "PO-Revision-Date: 2007-06-03 12:27+0800\n" "Last-Translator: Jiang Xin \n" "Language-Team: Chinese Simplified \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #: admin/systems/services/apache2/servApacheVhost.tpl:1 #, fuzzy msgid "Apache virtual hosts" msgstr "缓存" #: admin/systems/services/apache2/servApacheVhost.tpl:7 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:50 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:78 msgid "Add" msgstr "添加" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Alias" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Directory" msgstr "目录" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:203 #: admin/systems/services/apache2/class_servApacheVhost.inc:71 msgid "Name" msgstr "名称" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:210 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:5 #, fuzzy msgid "Virtual host name" msgstr "名" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "Only lowercase strings are allowed as Virtual Host Name." msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "e.g. example.com" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:217 #: admin/systems/services/apache2/class_servApacheVhost.inc:301 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:11 msgid "Document root" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:223 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:17 #, fuzzy msgid "Administrator mail address" msgstr "邮件地址" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:232 #: admin/systems/services/apache2/class_servApacheVhost.inc:302 #, fuzzy msgid "Server alias" msgstr "服务器" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:242 #: admin/systems/services/apache2/class_servApacheVhost.inc:304 #, fuzzy msgid "Script alias" msgstr "脚本" #: admin/systems/services/apache2/class_servApacheVhost.inc:61 #: admin/systems/services/apache2/class_servApacheVhost.inc:277 #: admin/systems/services/apache2/class_servApacheVhost.inc:290 #, fuzzy msgid "Apache service" msgstr "缓存" #: admin/systems/services/apache2/class_servApacheVhost.inc:230 #: admin/systems/services/apache2/class_servApacheVhost.inc:241 #: admin/systems/services/apache2/class_servApacheVhost.inc:264 #, fuzzy msgid "LDAP error" msgstr "LDAP 错误:" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Apache virtual host service" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Services" msgstr "服务" #: admin/systems/services/apache2/class_servApacheVhost.inc:299 msgid "Virtual hosts" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:300 #, fuzzy msgid "Server name" msgstr "服务器" #: admin/systems/services/apache2/class_servApacheVhost.inc:303 #, fuzzy msgid "Server admin" msgstr "服务器" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:1 msgid "Generic" msgstr "通用配置" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:3 #, fuzzy msgid "Apache Virutal Host" msgstr "缓存" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:26 #, fuzzy msgid "Server settings" msgstr "用户设置" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:30 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:33 #, fuzzy msgid "Server Alias" msgstr "服务器" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:37 msgid "URL Alias" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:40 #, fuzzy msgid "Directory Path" msgstr "目录" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:59 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:62 #, fuzzy msgid "Script Alias" msgstr "脚本" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:65 #, fuzzy msgid "Alias Directory" msgstr "目录" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:68 #, fuzzy msgid "Script Directory" msgstr "目录" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:89 msgid "Save" msgstr "保存" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:91 msgid "Cancel" msgstr "取消" #: admin/systems/services/apache2/class_apacheUtils.inc:194 #, php-format msgid "" "Undefined virtual host name '%s'. Virtual host name must be a valid, fully " "qualified domain name like 'www.example.com' or 'example.com'." msgstr "" #, fuzzy #~ msgid "Apache VHosts" #~ msgstr "缓存" #~ msgid "Up" #~ msgstr "上" #~ msgid "Down" #~ msgstr "关闭" #~ msgid "Delete" #~ msgstr "删除" gosa-plugin-apache2-2.7.4/locale/nl/0000755000175000017500000000000011752422555016126 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/nl/LC_MESSAGES/0000755000175000017500000000000011752422555017713 5ustar cajuscajusgosa-plugin-apache2-2.7.4/locale/nl/LC_MESSAGES/messages.po0000644000175000017500000001257611475426262022076 0ustar cajuscajus# translation of messages.po to Dutch # GOsa2 Translations # Copyright (C) 2003 GONICUS GmbH, Germany # This file is distributed under the same license as the GOsa2 package. # Alfred Schroeder , 2004. # Cajus Pollmeier , 2004. # # Translator: # Niels Klomp (CareWorks ICT Services) , 2005. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:22+0100\n" "PO-Revision-Date: 2006-06-02 16:58+0100\n" "Last-Translator: Niels Klomp (CareWorks ICT Services) \n" "Language-Team: CareWorks ICT Services \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: admin/systems/services/apache2/servApacheVhost.tpl:1 #, fuzzy msgid "Apache virtual hosts" msgstr "Cache" #: admin/systems/services/apache2/servApacheVhost.tpl:7 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:50 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:78 msgid "Add" msgstr "Toevoegen" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Alias" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:85 #: admin/systems/services/apache2/class_servApacheEditVhost.inc:96 msgid "Directory" msgstr "Directory" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:203 #: admin/systems/services/apache2/class_servApacheVhost.inc:71 msgid "Name" msgstr "Naam" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:210 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:5 #, fuzzy msgid "Virtual host name" msgstr "Voornaam" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "Only lowercase strings are allowed as Virtual Host Name." msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:211 msgid "e.g. example.com" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:217 #: admin/systems/services/apache2/class_servApacheVhost.inc:301 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:11 msgid "Document root" msgstr "" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:223 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:17 #, fuzzy msgid "Administrator mail address" msgstr "E-mail adres" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:232 #: admin/systems/services/apache2/class_servApacheVhost.inc:302 #, fuzzy msgid "Server alias" msgstr "Servers" #: admin/systems/services/apache2/class_servApacheEditVhost.inc:242 #: admin/systems/services/apache2/class_servApacheVhost.inc:304 #, fuzzy msgid "Script alias" msgstr "Script" #: admin/systems/services/apache2/class_servApacheVhost.inc:61 #: admin/systems/services/apache2/class_servApacheVhost.inc:277 #: admin/systems/services/apache2/class_servApacheVhost.inc:290 #, fuzzy msgid "Apache service" msgstr "Cache" #: admin/systems/services/apache2/class_servApacheVhost.inc:230 #: admin/systems/services/apache2/class_servApacheVhost.inc:241 #: admin/systems/services/apache2/class_servApacheVhost.inc:264 #, fuzzy msgid "LDAP error" msgstr "LDAP fout:" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Apache virtual host service" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:291 msgid "Services" msgstr "Services" #: admin/systems/services/apache2/class_servApacheVhost.inc:299 msgid "Virtual hosts" msgstr "" #: admin/systems/services/apache2/class_servApacheVhost.inc:300 #, fuzzy msgid "Server name" msgstr "Server" #: admin/systems/services/apache2/class_servApacheVhost.inc:303 #, fuzzy msgid "Server admin" msgstr "Servers" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:1 msgid "Generic" msgstr "Algemeen" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:3 #, fuzzy msgid "Apache Virutal Host" msgstr "Cache" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:26 #, fuzzy msgid "Server settings" msgstr "Gebruikersinstellingen" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:30 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:33 #, fuzzy msgid "Server Alias" msgstr "Servers" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:37 msgid "URL Alias" msgstr "" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:40 #, fuzzy msgid "Directory Path" msgstr "Directory" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:59 #: admin/systems/services/apache2/servApacheVhostEdit.tpl:62 #, fuzzy msgid "Script Alias" msgstr "Script" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:65 #, fuzzy msgid "Alias Directory" msgstr "Directory" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:68 #, fuzzy msgid "Script Directory" msgstr "Directory" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:89 msgid "Save" msgstr "Opslaan" #: admin/systems/services/apache2/servApacheVhostEdit.tpl:91 msgid "Cancel" msgstr "Annuleren" #: admin/systems/services/apache2/class_apacheUtils.inc:194 #, php-format msgid "" "Undefined virtual host name '%s'. Virtual host name must be a valid, fully " "qualified domain name like 'www.example.com' or 'example.com'." msgstr "" #, fuzzy #~ msgid "Apache VHosts" #~ msgstr "Cache" #~ msgid "Up" #~ msgstr "Omhoog" #~ msgid "Down" #~ msgstr "Omlaag" #~ msgid "Delete" #~ msgstr "Verwijderen" gosa-plugin-apache2-2.7.4/admin/0000755000175000017500000000000011752422555015346 5ustar cajuscajusgosa-plugin-apache2-2.7.4/admin/systems/0000755000175000017500000000000011752422555017055 5ustar cajuscajusgosa-plugin-apache2-2.7.4/admin/systems/services/0000755000175000017500000000000011752422555020700 5ustar cajuscajusgosa-plugin-apache2-2.7.4/admin/systems/services/apache2/0000755000175000017500000000000011752422555022203 5ustar cajuscajusgosa-plugin-apache2-2.7.4/admin/systems/services/apache2/class_servApacheEditVhost.inc0000644000175000017500000002436611424503647030007 0ustar cajuscajusOldApacheServerName = ""; $this->isNew = true; $this->InitialApacheServerName = "";//$attrs['InitialApacheServerName']; }else{ $this->VhostObject = $attrs; $this->OldApacheServerName = $attrs['apacheServerName']; $this->InitialApacheServerName = $attrs['InitialApacheServerName']; $this->isNew = false; foreach($this->attributes as $value){ if(isset($attrs[$value])){ $this->$value = $attrs[$value]; } } if(!isset($attrs['apacheServerAlias'])) $this->apacheServerAlias = array(); if(!isset($attrs['apacheScriptAlias'])) $this->apacheScriptAlias = array(); } // Prepare lists $this->serverList = new sortableListing(array(),array(), TRUE); $this->serverList->setDeleteable(true); $this->serverList->setInstantDelete(false); $this->serverList->setEditable(false); $this->serverList->setWidth("100%"); $this->serverList->setHeight("100px"); $this->serverList->setHeader(array(_("Alias"),_("Directory"))); $this->serverList->setColspecs(array('*','*','20px')); $this->serverList->setDefaultSortColumn(0); $this->scriptList = new sortableListing(array(),array(), TRUE); $this->scriptList->setDeleteable(true); $this->scriptList->setInstantDelete(false); $this->scriptList->setEditable(false); $this->scriptList->setWidth("100%"); $this->scriptList->setHeight("100px"); $this->scriptList->setColspecs(array('*','*','20px')); $this->scriptList->setHeader(array(_("Alias"),_("Directory"))); $this->scriptList->setDefaultSortColumn(0); } function execute() { /* Call parent execute */ plugin::execute(); return "

Plugin is deactivated

"; /* Fill templating stuff */ $smarty= get_smarty(); $display= ""; $this->serverList->save_object(); $action = $this->serverList->getAction(); if($action['action'] == 'delete'){ $key = $this->serverList->getKey($action['targets'][0]); unset($this->apacheServerAlias[$key]); } if($action['action'] == 'reorder'){ $this->apacheServerAlias = $this->serverList->getMaintainedData(); } $this->scriptList->save_object(); $action = $this->scriptList->getAction(); if($action['action'] == 'delete'){ $key = $this->scriptList->getKey($action['targets'][0]); unset($this->apacheScriptAlias[$key]); } if($action['action'] == 'reorder'){ $this->apacheScriptAlias = $this->scriptList->getMaintainedData(); } /* Add a new "Server Alias" */ if((isset($_POST['AddSARecord'])) && (!empty($_POST['StrSAAlias'])) && (!empty($_POST['StrSADir']))){ $this->apacheServerAlias[] = trim(get_post('StrSAAlias')." ".get_post('StrSADir')); } /* Add a new "Script Alias" */ if((isset($_POST['AddSCRecord'])) && (!empty($_POST['StrSCAlias'])) && (!empty($_POST['StrSCDir']))){ $this->apacheScriptAlias[] = trim(get_post('StrSCAlias')." ".get_post('StrSCDir')); } /* Fill in values */ foreach($this->attributes as $name){ $smarty->assign($name, set_post($this->$name)); } /* Set apacheServerNames without server suffix */ $smarty->assign("apacheServerName", set_post($this->apacheServerName)); $smarty->assign("NotNew", false); $this->serverList->setAcl($this->parent->getacl('apacheServerAlias')); $data = $lData = array(); foreach($this->apacheServerAlias as $key => $rec){ $data[$key] = $rec; $lData[$key]= array('data' => preg_split("/ /",$rec)); } $this->serverList->setListData($data,$lData); $this->serverList->update(); $smarty->assign("apacheServerAlias", $this->serverList->render()); $this->scriptList->setAcl($this->parent->getacl('apacheScriptAlias')); $data = $lData = array(); foreach($this->apacheScriptAlias as $key => $rec){ $data[$key] = $rec; $lData[$key]= array('data' => preg_split("/ /",$rec)); } $this->scriptList->setListData($data,$lData); $this->scriptList->update(); $smarty->assign("apacheScriptAlias", $this->scriptList->render()); /* Display template */ $display.= $smarty->fetch(get_template_path('servApacheVhostEdit.tpl', TRUE, dirname(__FILE__))); return($display); } function remove_from_parent() { } /* Save data to object */ function save_object() { plugin::save_object(); } /* Check supplied data */ function check() { /* Call common method to give check the hook */ $message= plugin::check(); /* Check if apacheServerName is already in use */ $usedVhosts = $this->getUsedServerNames(); if(($this->isNew == true)||($this->apacheServerName != $this->InitialApacheServerName)){ if((isset($usedVhosts[$this->apacheServerName]))&&($this->apacheServerName != $this->InitialApacheServerName)){ $message[] = msgPool::duplicated(_("Name")); } } /* Check given virtual server name */ if(!tests::is_domain($this->apacheServerName) || empty($this->apacheServerName)){ $message[] = msgPool::invalid(_("Virtual host name"),$this->apacheServerName,"", _("Only lowercase strings are allowed as Virtual Host Name.")." "._("e.g. example.com")); } /* check if there is a valid document root given */ if(!tests::is_path($this->apacheDocumentRoot) || empty($this->apacheDocumentRoot)){ $message[] = msgPool::invalid(_("Document root"),$this->apacheDocumentRoot); } /* Check given mail address */ if(!tests::is_email($this->apacheServerAdmin) || empty($this->apacheServerAdmin)){ $message[] = msgPool::invalid(_("Administrator mail address"),$this->apacheServerAdmin); } /* Check server aliases */ foreach($this->apacheServerAlias as $key => $line){ $apacheServerAlias_ar=explode(" ",$line); $url=$apacheServerAlias_ar[1]; if(!tests::is_path($url)){ $message[] = msgPool::invalid(_("Server alias")); } } /* Check script aliases */ foreach($this->apacheScriptAlias as $key => $line){ $apacheScriptAlias_ar=explode(" ",$line); $url=$apacheScriptAlias_ar[1]; if(!tests::is_path($url)){ $message[] = msgPool::invalid(_("Script alias")); } } return ($message); } /* This funtion returns all used apacheServerNames */ function getUsedServerNames() { $ret = array(); $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); $ldap->search("(&(objectClass=apacheConfig)(apacheServerName=*))",array("apacheServerName")); while($attr = $ldap->fetch()){ $ret[$attr['apacheServerName'][0]]=""; } return($ret); } /* Save to LDAP */ function save() { $ret =array(); foreach($this->attributes as $name){ $ret[$name] = $this->$name; } /* Create SA records */ foreach($this->apacheServerAlias as $key => $rec){ $rec['value']= $key." ".$rec['value']; $this->Records [] = $rec; } /* Create SC records */ foreach($this->apacheScriptAlias as $key => $rec){ $rec['value']= $key." ".$rec['value']; $this->Records [] = $rec; } $ret['RECORDS'] = $this->Records; $ret['InitialApacheServerName'] = $this->InitialApacheServerName; return($ret); } function acl_is_writeable($attribute,$skip_write = FALSE) { return($this->parent->acl_is_writeable($attribute,$skip_write)); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> gosa-plugin-apache2-2.7.4/admin/systems/services/apache2/class_apacheUtils.inc0000644000175000017500000002161711424503647026332 0ustar cajuscajusget_ldap_link(); $ldap->cd($config->current['BASE']); /* Get host entry */ $ldap->cat($HostDn); $host_attr = $ldap->fetch(); /* Create template for all fetched vhosts Data */ $VhostBase = array(); $VhostBase['exists'] = false; //$VhostBase['RECORDS'] = array(); $VhostBase['apacheServerName'] = array(); $VhostBase['apacheConfig'] = array(); $Vhosts = array(); /* Get & Parse all vhosts entries */ $ldap->ls("(&(objectClass=apacheConfig)(apacheServerName=*))",$HostDn,array("*")); $tmp_res = array(); while($attrs = $ldap->fetch()) { $tmp_res[] = $attrs; } /* Parse fetched vhosts */ foreach($tmp_res as $attrs){ $apacheServerName = $attrs['apacheServerName'][0]; $apacheDocumentRoot = $attrs['apacheDocumentRoot'][0]; $apacheServerAdmin = $attrs['apacheServerAdmin'][0]; $Vhosts[$apacheServerName] = $VhostBase; $Vhosts[$apacheServerName]['exists'] = true; /* Set basic attributes */ if(isset($attrs["apacheConfig"][0])){ $Vhosts[$apacheServerName]["apacheConfig"] = $attrs["apacheConfig"][0]; } /* Set initial vhosts name, to be able to detect if this entry was renamed */ $Vhosts[$apacheServerName]['InitialApacheServerName'] = $apacheServerName; $Vhosts[$apacheServerName]['apacheServerName'] = $apacheServerName; $Vhosts[$apacheServerName]['apacheDocumentRoot'] = $apacheDocumentRoot; $Vhosts[$apacheServerName]['apacheServerAdmin'] = $apacheServerAdmin; if (isset($attrs['apacheServerAlias'])){ for($i = 0 ; $i < $attrs['apacheServerAlias']['count']; $i ++){ $Vhosts[$apacheServerName]['apacheServerAlias'][] = $attrs['apacheServerAlias'][$i]; } } if (isset($attrs['apacheScriptAlias'])){ for($i = 0 ; $i < $attrs['apacheScriptAlias']['count']; $i ++){ $Vhosts[$apacheServerName]['apacheScriptAlias'][] = $attrs['apacheScriptAlias'][$i]; } } } return($Vhosts); } /* This function compares two apache vhosts objects and returns an * array with following indexes * - delete, for vhost entries which must be deleted (only if vhost entries is removed) * - rename, if a dn must be renamed, for example, the apacheServerName has changed * - add, if there is a new vhost entries created */ public static function getVhostEntriesDiff($config,$newVhosts,$HostDn) { $oldVhosts = apacheUtils::getVhostEntries($config,$HostDn,true); $move = array(); $add = array(); $del = array(); /* Generate a template for vhosts with default values */ $zoneBase = array(); $zoneBase['objectClass'] = array("top","apacheConfig"); $zoneBase['apacheServerName'] = ""; /* Contains all renamed apacheServerNames * For vhosts entry udpdates */ $PrePareVhostEntries = array(); /* Walk through all vhosts and detect renamed/added/deleted vhosts ... */ foreach($newVhosts as $name => $zone){ /* This vhosts was renamed */ if((!empty($zone['InitialApacheServerName'])) && ($zone['InitialApacheServerName'] != $zone['apacheServerName'])){ /* Move old vhosts to new position */ $oldDn = "apacheServerName=".$zone['InitialApacheServerName'].",".$HostDn; $newDn = "apacheServerName=".$zone['apacheServerName'].",".$HostDn; $PrePareVhostEntries[$zone['InitialApacheServerName']] = $zone['apacheServerName']; $move [$oldDn] = $newDn; } /* Get old vhosts if available */ $oldVhost=array(); if(isset($oldVhosts[$zone['InitialApacheServerName']])){ if(!empty($oldVhosts[$zone['InitialApacheServerName']])){ $oldVhost = $oldVhosts[$zone['InitialApacheServerName']]; } } /* Create vhosts entry and put it in our add queue */ $newDn = "apacheServerName=".$zone['apacheServerName'].",".$HostDn; $obj = $zoneBase; $obj['apacheServerName'] = $zone['apacheServerName']; $obj['apacheDocumentRoot'] = $zone['apacheDocumentRoot']; $obj['apacheServerAdmin'] = $zone['apacheServerAdmin']; if(!empty($zone['apacheServerAlias'])) { foreach($zone['apacheServerAlias'] as $rec){ $obj['apacheServerAlias'][] = $rec; } } if(!empty($zone['apacheScriptAlias'])) { foreach($zone['apacheScriptAlias'] as $rec){ $obj['apacheScriptAlias'][] = $rec; } } /* Append udpated Vhost Entry to our add queue */ $add[$newDn] = $obj; /* Remove currently managed vhosts from oldVhosts. * this gives us the ability to detect removed vhosts */ if(isset($oldVhosts[$zone['InitialApacheServerName']])){ unset($oldVhosts[$zone['InitialApacheServerName']]); } } /* The rest of our oldVhosts must be deleted * because they are no longer available in newVhosts anymore. */ foreach($oldVhosts as $zone) { $oldDn = "apacheServerName=".$zone['InitialApacheServerName'].",".$HostDn; $del[$oldDn] = ""; } /* Check for entries which must be updated */ $zoneUpdates = array(); $udpate = array(); if(count($PrePareVhostEntries)){ $ldap = $config->get_ldap_link(); foreach($PrePareVhostEntries as $FromVhostName => $ToVhostName){ $ldap->cd($HostDn); $ldap->search("(&(objectClass=apacheConfig)(apacheServerName=".$FromVhostName."))",array("apacheServerName")); while($attrs = $ldap->fetch()){ $zoneUpdates[$attrs['dn']] = array("apacheServerName"=>$ToVhostName); } } } $ret = array("del" => $del , "move" => $move , "add" => $add,"vhostUpdates"=>$zoneUpdates); // user_error(print_r($ret,true)); return($ret); } /* returns the dn for a specified zone */ function getVhostDN($config,$apacheServerNameMix) { $ret = ""; if(!strstr($apacheServerNameMix, '/')) { print_red(sprintf(_("Undefined virtual host name '%s'. Virtual host name must be a valid, fully qualified domain name like 'www.example.com' or 'example.com'."),$apacheServerNameMix)); return($ret); } $apacheServerNameIndex = explode("/",$apacheServerNameMix); $apacheServerName = $apacheServerNameIndex[1]; $nameServer = strtolower($apacheServerNameIndex[0]); $ldap = $config->get_ldap_link(); /* search for the nameserver */ $ldap-> cd($config->current['BASE']); $ldap->search("(&(objectClass=goServer)(cn=".$nameServer."))",array("cn")); if($ldap->count()){ $attr = $ldap->fetch(); } else { return($ret); } $ldap-> cd($attr['dn']); $ldap->search("(&(objectClass=apacheConfig)(apacheServerName=".$apacheServerName."))",array("apacheServerName")); if($ldap->count()){ $attr = $ldap->fetch(); return($attr['dn']); } return($ret); } /* returns all available vhosts * array[reverseName] = apacheServerName; */ function getAvailableVhosts($config) { $ret = array(); $ldap = $config->get_ldap_link(); $ldap->cd ($config->current['BASE']); /* Search for vhosts ... */ $ldap->search("(&(objectClass=apacheConfig)(apacheServerName=*))",array("apacheServerName")); $ForwardVhosts = array(); $zones = array(); while($at = $ldap->fetch()){ $ForwardVhosts[$at['dn']] = $at; } foreach($ForwardVhosts as $dn => $obj){ if(preg_match("/".$dn."/",$Rdn)){ $zones[$Robj['apacheServerName'][0]] =$obj['apacheServerName'][0]; } } return($zones); } } ?> gosa-plugin-apache2-2.7.4/admin/systems/services/apache2/servApacheVhostEdit.tpl0000644000175000017500000000446311424503647026644 0ustar cajuscajus

{t}Generic{/t}

{t}Virtual host name{/t}{$must}
{t}Document root{/t}{$must}
{t}Administrator mail address{/t}{$must}

{t}Server Alias{/t}

{$apacheServerAlias}

{t}URL Alias{/t}

{t}Directory Path{/t}

{t}Script Alias{/t}

{$apacheScriptAlias}

{t}Alias Directory{/t}

{t}Script Directory{/t}

gosa-plugin-apache2-2.7.4/admin/systems/services/apache2/servApacheVhost.tpl0000644000175000017500000000120111424503647026021 0ustar cajuscajus

{t}Apache virtual hosts{/t}

{$VhostList} {render acl=$VirtualHostsACL} {/render}

gosa-plugin-apache2-2.7.4/admin/systems/services/apache2/class_servApacheVhost.inc0000644000175000017500000002322111423326723027163 0ustar cajuscajusorig_dn = $dn; /* Get all vhost Informations */ $this->Vhosts = apacheUtils::getVhostEntries($config,$dn); /* If there is at least one entry in this -> types, we have apache vhosts enabled */ if(count($this->Vhosts) == 0){ $this->is_account = false; }else{ $this->is_account = true; } $this->initially_was_account = $this->is_account; /* Set service name */ $this->DisplayName = _("Apache service"); // Prepare lists $this->vHostList = new sortableListing(); $this->vHostList->setDeleteable(true); $this->vHostList->setInstantDelete(false); $this->vHostList->setEditable(true); $this->vHostList->setWidth("100%"); $this->vHostList->setHeight("100px"); $this->vHostList->setColspecs(array('*','40px')); $this->vHostList->setHeader(array(_("Name"))); $this->vHostList->setDefaultSortColumn(0); } function execute() { /* Call parent execute */ plugin::execute(); /* Fill templating stuff */ $smarty= get_smarty(); $display= ""; /* Edited or Added vhost */ if((isset($_POST['SaveVhostChanges'])) && is_object($this->dialog)){ $this->dialog->save_object(); /* Check for errors */ if(count($this->dialog->check())){ msg_dialog::displayChecks($this->dialog->check()); }else{ /* add new/edited vhost */ $ret = $this->dialog->save(); if(!$this->dialog->isNew){ unset($this->Vhosts[$this->dialog->OldApacheServerName]); } $this->Vhosts[$ret['apacheServerName']] = $ret; $this->dialog = NULL; } } /* Cancel vhost edit / new */ if(isset($_POST['CancelVhostChanges'])){ $this->dialog = NULL; } /* Add empty new vhost */ if(isset($_POST['AddVhost']) && $this->acl_is_writeable("VirtualHosts")){ $this->dialog = new servapacheVhostEdit($this->config,$this->dn); $this->dialog->set_acl_category('server'); } /* Check for edit vhost request */ $this->vHostList->save_object(); $action = $this->vHostList->getAction(); if($action['action'] == 'delete'){ $id = $this->vHostList->getKey($action['targets'][0]); $this->RemoveVhost($id); } if($action['action'] == 'edit'){ $id = $this->vHostList->getKey($action['targets'][0]); $this->dialog= new servapacheVhostEdit($this->config,$this->dn,$this->Vhosts[$id]); $this->dialog->set_acl_category('server'); } /* Show dialog */ if($this->dialog!= NULL){ $this->dialog->save_object(); $this->dialog->parent = $this; return($this->dialog->execute()); } /* Assign ACL to smarty */ $info = $this->plInfo(); foreach($info['plProvidedAcls'] as $name => $desc){ $smarty->assign($name."ACL",$this->getacl($name)); } /* Create Listbox with existing Vhosts */ $this->vHostList->setAcl($this->getacl('VirtualHosts')); $data = $lData = array(); foreach($this->Vhosts as $vhost => $values){ $data[$vhost]=$values; $lData[$vhost]=array('data'=>array($vhost)); } $this->vHostList->setListData($data,$lData); $this->vHostList->update(); /* Display template */ $smarty->assign("VhostList",$this->vHostList->render()); $display.= $smarty->fetch(get_template_path('servApacheVhost.tpl', TRUE , dirname(__FILE__))); return($display); } /* Delete specified vhost */ function RemoveVhost($id) { unset($this->Vhosts[$id]); return(true); } /* This function returns all used Vhostnames */ function getUsedServerNames() { $ret = array(); $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); $ldap->search("(&(objectClass=apacheConfig)(apacheServerName=*))",array("apacheServerName")); while($attr = $ldap->fetch()){ $ret[$attr['apacheServerName'][0]][] = $attr['dn']; } return($ret); } /* Remove apache service */ function remove_from_parent() { foreach($this->Vhosts as $key => $vhost){ $this->RemoveVhost($key); } $this->save(); } /* Save to LDAP */ function save() { $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); /* Get differences */ $old_dn = $this->orig_dn; if($old_dn == "new"){ $old_dn = $this->dn; } $tmp = apacheUtils::getVhostEntriesDiff($this->config,$this->Vhosts,$old_dn); /* Updated vhost entries if reverser or forward name has changed * Must be done before moving entries, else the given dn is invalid */ if(isset($tmp['vhostUpdates'])){ foreach($tmp['vhostUpdates'] as $dn => $attrs){ $ldap->cd($dn); $ldap->modify($attrs); if (!$ldap->success()){ msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, LDAP_MOD, get_class())); } } } /* Delete apache vhost */ foreach($tmp['del'] as $dn => $del){ $ldap->cd($dn); $ldap->rmdir_recursive($dn); if (!$ldap->success()){ msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, LDAP_DEL, get_class())); } } /* move follwoing entries */ foreach($tmp['move'] as $src => $dst){ $this->recursive_move($src,$dst); } /* Add || Update new apache entries */ foreach($tmp['add'] as $dn => $attrs){ $ldap->cd($dn); $ldap->cat($dn, array('dn')); if(count($ldap->fetch())){ $ldap->cd($dn); $ldap->modify ($attrs); }else{ $ldap->cd($dn); $ldap->add($attrs); } if (!$ldap->success()){ msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, LDAP_ADD, get_class())); } } } /*! \brief Returns the required information about this plugin for the service list @return Array With information for the service plugin. */ function getListEntry() { $fields = goService::getListEntry(); $fields['Message'] = _("Apache service"); #$fields['AllowEdit'] = TRUE; #$fields['AllowRemove']= TRUE; return($fields); } /* \brief Return plugin information used by the ACL handling. @return Array ACL infos. */ static function plInfo() { return (array( "plShortName" => _("Apache service"), "plDescription" => _("Apache virtual host service")." ("._("Services").")", "plSelfModify" => FALSE, "plDepends" => array(), "plPriority" => 88, "plSection" => array("administration"), "plCategory" => array("server"), "plProvidedAcls"=> array( "VirtualHosts" => _("Virtual hosts"), "apacheServerName" => _("Server name"), "apacheDocumentRoot" => _("Document root"), "apacheServerAlias" => _("Server alias"), "apacheServerAdmin" => _("Server admin"), "apacheScriptAlias" => _("Script alias") ) )); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>