Files
Froxlor/lib/formfields/customer/domains/formfield.domains_add.php
Michael Kaufmann (d00p) d6d19e7cb2 - fix undefined index in customer_domains.php
- add possibility to disable form-buttons if not needed
- corrected ticket-categories order-counter begin-value
- beautify domains-add and e-mail add form for customers
- added various missing hidden-fields in templates (Classic-theme)

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
2011-03-04 11:46:40 +01:00

79 lines
2.6 KiB
PHP

<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (2010-)
* @license GPLv2 http://files.froxlor.org/misc/COPYING.txt
* @package Formfields
* @version $Id: formfield.domains_edit.php 130 2010-12-22 00:54:11Z d00p $
*/
return array(
'domain_add' => array(
'title' => $lng['domains']['subdomain_add'],
'image' => 'icons/domain_add.png',
'sections' => array(
'section_a' => array(
'title' => $lng['domains']['subdomain_add'],
'image' => 'icons/domain_add.png',
'fields' => array(
'subdomain' => array(
'label' => $lng['domains']['domainname'],
'type' => 'textul',
'ul_field' => '',
'has_nextto' => true
),
'domain' => array(
'next_to' => 'subdomain',
'next_to_prefix' => '&nbsp;.&nbsp;',
'type' => 'select',
'select_var' => $domains
),
'alias' => array(
'label' => $lng['domains']['aliasdomain'],
'type' => 'select',
'select_var' => $aliasdomains
),
'path' => array(
'label' => $lng['panel']['path'],
'desc' => ($settings['panel']['pathedit'] != 'Dropdown' ? $lng['panel']['pathDescription'] : null).(isset($pathSelect['note']) ? '<br />'.$pathSelect['value'] : ''),
'type' => $pathSelect['type'],
'select_var' => $pathSelect['value'],
'value' => $pathSelect['value']
),
'url' => array(
'visible' => ($settings['panel']['pathedit'] == 'Dropdown' ? true : false),
'label' => $lng['panel']['urloverridespath'],
'type' => 'text'
),
'redirectcode' => array(
'visible' => (($settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1') ? true : false),
'label' => $lng['domains']['redirectifpathisurl'],
'desc' => $lng['domains']['redirectifpathisurlinfo'],
'type' => 'select',
'select_var' => isset($redirectcode) ? $redirectcode : null
),
'ssl_redirect' => array(
'visible' => ($settings['system']['use_ssl'] == '1' ? true : false),
'label' => 'SSL Redirect',
'type' => 'yesno',
'yesno_var' => $ssl_redirect
),
'openbasedir_path' => array(
'label' => $lng['domain']['openbasedirpath'],
'type' => 'select',
'select_var' => $openbasedir
)
)
)
)
)
);