Fixed templates, refs #186

This commit is contained in:
Andreas Burchert (scarya)
2011-04-24 10:30:30 +02:00
parent 5a5653d594
commit 194e4cfd20
4 changed files with 114 additions and 50 deletions

View File

@@ -0,0 +1,46 @@
<?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(
'backup' => array(
'title' => $lng['backup'],
'image' => 'icons/backup.png',
'sections' => array(
'section_a' => array(
'title' => $lng['backup'],
'image' => 'icons/backup.png',
'fields' => array(
'info' => array(
'label' => $lng['extras']['backup_info'],
'type' => 'label',
'value' => ''
),
'path' => array(
'label' => $lng['extras']['backup_create'],
'desc' => ($settings['system']['backup_bigfile'] == 1 ? $lng['extras']['backup_info_big'] : $lng['extras']['backup_info_sep']),
'type' => 'yesno',
'yesno_var' => $backup_enabled
),
'count' => array(
'label' => $lng['extras']['backup_count_info'],
'type' => 'label',
'value' => ''
),
)
)
)
)
);