Files
Froxlor/lib/formfields/admin/templates/formfield.filetemplate_add.php
2018-12-21 12:24:07 +01:00

42 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
)
)
)
)
)
);