merge/add new formfield-files for re-design

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2011-02-08 10:34:14 +01:00
parent d6b4bd8d36
commit 57d52bd59e
19 changed files with 2180 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<?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.filetemplate_add.php 130 2010-12-22 00:54:11Z d00p $
*/
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
)
)
)
)
)
);

View File

@@ -0,0 +1,44 @@
<?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.filetemplate_edit.php 130 2010-12-22 00:54:11Z d00p $
*/
return array(
'filetemplate_edit' => array(
'title' => $lng['admin']['templates']['template_edit'],
'image' => 'icons/templates_edit.png',
'sections' => array(
'section_a' => array(
'title' => $lng['admin']['templates']['template_edit'],
'image' => 'icons/templates_edit.png',
'fields' => array(
'template' => array(
'label' => $lng['admin']['templates']['action'],
'type' => 'hidden',
'value' => $lng['admin']['templates'][$row['varname']],
'display' => $lng['admin']['templates'][$row['varname']]
),
'filecontent' => array(
'label' => $lng['admin']['templates']['filecontent'],
'type' => 'textarea',
'cols' => 60,
'rows' => 12,
'value' => $row['value']
)
)
)
)
)
);

View File

@@ -0,0 +1,52 @@
<?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.template_add.php 130 2010-12-22 00:54:11Z d00p $
*/
return array(
'template_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(
'language' => array(
'label' => $lng['login']['language'],
'type' => 'hidden',
'value' => $language,
'display' => $language
),
'template' => array(
'label' => $lng['admin']['templates']['action'],
'type' => 'select',
'select_var' => $template_options
),
'subject' => array(
'label' => $lng['admin']['templates']['subject'],
'type' => 'text'
),
'mailbody' => array(
'label' => $lng['admin']['templates']['mailbody'],
'type' => 'textarea',
'cols' => 60,
'rows' => 12
)
)
)
)
)
);

View File

@@ -0,0 +1,55 @@
<?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.template_edit.php 130 2010-12-22 00:54:11Z d00p $
*/
return array(
'template_edit' => array(
'title' => $lng['admin']['templates']['template_edit'],
'image' => 'icons/templates_edit.png',
'sections' => array(
'section_a' => array(
'title' => $lng['admin']['templates']['template_edit'],
'image' => 'icons/templates_edit.png',
'fields' => array(
'language' => array(
'label' => $lng['login']['language'],
'type' => 'hidden',
'value' => $language,
'display' => $language
),
'template' => array(
'label' => $lng['admin']['templates']['action'],
'type' => 'hidden',
'value' => $template,
'display' => $template
),
'subject' => array(
'label' => $lng['admin']['templates']['subject'],
'type' => 'text',
'value' => $subject
),
'mailbody' => array(
'label' => $lng['admin']['templates']['mailbody'],
'type' => 'textarea',
'cols' => 60,
'rows' => 12,
'value' => $mailbody
)
)
)
)
)
);