(2010-) * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package Formfields * @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ */ return array( 'htpasswd_add' => array( 'title' => $lng['extras']['directoryprotection_add'], 'image' => 'icons/add_htpasswd.png', 'sections' => array( 'section_a' => array( 'title' => $lng['extras']['directoryprotection_add'], 'image' => 'icons/add_htpasswd.png', 'fields' => array( 'path' => array( 'label' => $lng['panel']['path'], 'desc' => ($settings['panel']['pathedit'] != 'Dropdown' ? $lng['panel']['pathDescription'] : null), 'type' => ($settings['panel']['pathedit'] != 'Dropdown' ? 'text' : 'select'), 'select_var' => $pathSelect ), 'username' => array( 'label' => $lng['login']['username'], 'type' => 'text' ), 'directory_password' => array( 'label' => $lng['login']['password'], 'type' => 'password' ), 'directory_authname' => array( 'label' => $lng['extras']['htpasswdauthname'], 'type' => 'text' ) ) ) ) ) );