Files
Froxlor/lib/formfields/admin/templates/formfield.filetemplate_add.php
Roman Schmerold (BNoiZe) bcf187761c still implementing the new Settings-class, refs #1325
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
2013-12-15 14:35:07 +01:00

43 lines
1.1 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
*
*/
return array(
'filetemplate_add' => array(
'title' => $lng['admin']['templates']['template_add'],
'image' => 'icons/templates_add.png',
'sections' => array(
'section_a' => array(
'title' => $lng['admin']['templates']['template_add'],
'image' => 'icons/templates_add.png',
'fields' => array(
'template' => array(
'label' => $lng['admin']['templates']['action'],
'type' => 'select',
'select_var' => $free_templates
),
'filecontent' => array(
'label' => $lng['admin']['templates']['filecontent'],
'type' => 'textarea',
'cols' => 60,
'rows' => 12
)
)
)
)
)
);