merge/add new formfield-files for re-design
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
44
lib/formfields/admin/ticket/formfield.category_edit.php
Normal file
44
lib/formfields/admin/ticket/formfield.category_edit.php
Normal 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.category_edit.php 128 2010-12-21 08:45:13Z d00p $
|
||||
*/
|
||||
|
||||
return array(
|
||||
'category_edit' => array(
|
||||
'title' => $lng['ticket']['ticket_editcateory'],
|
||||
'image' => 'icons/category_edit.png',
|
||||
'sections' => array(
|
||||
'section_a' => array(
|
||||
'title' => $lng['ticket']['ticket_editcateory'],
|
||||
'image' => 'icons/category_edit.png',
|
||||
'fields' => array(
|
||||
'category' => array(
|
||||
'label' => $lng['ticket']['category'],
|
||||
'type' => 'text',
|
||||
'maxlength' => 50,
|
||||
'value' => $row['name']
|
||||
),
|
||||
'logicalorder' => array(
|
||||
'label' => $lng['ticket']['logicalorder'],
|
||||
'desc' => $lng['ticket']['orderdesc'],
|
||||
'type' => 'text',
|
||||
'maxlength' => 3,
|
||||
'value' => $row['logicalorder']
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
43
lib/formfields/admin/ticket/formfield.category_new.php
Normal file
43
lib/formfields/admin/ticket/formfield.category_new.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?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.category_new.php 127 2010-12-21 08:41:31Z d00p $
|
||||
*/
|
||||
|
||||
return array(
|
||||
'category_new' => array(
|
||||
'title' => $lng['ticket']['ticket_newcateory'],
|
||||
'image' => 'icons/category_new.png',
|
||||
'sections' => array(
|
||||
'section_a' => array(
|
||||
'title' => $lng['ticket']['ticket_newcateory'],
|
||||
'image' => 'icons/category_new.png',
|
||||
'fields' => array(
|
||||
'category' => array(
|
||||
'label' => $lng['ticket']['category'],
|
||||
'type' => 'text',
|
||||
'maxlength' => 50
|
||||
),
|
||||
'logicalorder' => array(
|
||||
'label' => $lng['ticket']['logicalorder'],
|
||||
'desc' => $lng['ticket']['orderdesc'],
|
||||
'type' => 'text',
|
||||
'maxlength' => 3,
|
||||
'value' => $order
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
58
lib/formfields/admin/ticket/formfield.ticket_new.php
Normal file
58
lib/formfields/admin/ticket/formfield.ticket_new.php
Normal file
@@ -0,0 +1,58 @@
|
||||
<?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.ticket_new.php 116 2010-12-21 07:16:35Z d00p $
|
||||
*/
|
||||
|
||||
return array(
|
||||
'ticket_new' => array(
|
||||
'title' => $lng['ticket']['ticket_new'],
|
||||
'image' => 'icons/ticket_new.png',
|
||||
'sections' => array(
|
||||
'section_a' => array(
|
||||
'title' => $lng['ticket']['ticket_new'],
|
||||
'image' => 'icons/ticket_new.png',
|
||||
'fields' => array(
|
||||
'customer' => array(
|
||||
'label' => $lng['ticket']['customer'],
|
||||
'type' => 'select',
|
||||
'select_var' => $customers
|
||||
),
|
||||
'subject' => array(
|
||||
'label' => $lng['ticket']['subject'],
|
||||
'type' => 'text',
|
||||
'maxlength' => 70
|
||||
),
|
||||
'priority' => array(
|
||||
'label' => $lng['ticket']['priority'],
|
||||
'type' => 'select',
|
||||
'select_var' => $priorities
|
||||
),
|
||||
'category' => array(
|
||||
'label' => $lng['ticket']['category'],
|
||||
'type' => 'select',
|
||||
'select_var' => $categories
|
||||
),
|
||||
'message' => array(
|
||||
'style' => 'vertical-align:top;',
|
||||
'label' => $lng['ticket']['message'],
|
||||
'type' => 'textarea',
|
||||
'cols' => 60,
|
||||
'rows' => 12
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
54
lib/formfields/admin/ticket/formfield.ticket_reply.php
Normal file
54
lib/formfields/admin/ticket/formfield.ticket_reply.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?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.ticket_reply.php 117 2010-12-21 07:26:58Z d00p $
|
||||
*/
|
||||
|
||||
return array(
|
||||
'ticket_reply' => array(
|
||||
'title' => $lng['ticket']['ticket_reply'],
|
||||
'image' => 'icons/ticket_reply.png',
|
||||
'sections' => array(
|
||||
'section_a' => array(
|
||||
'visible' => ($isclosed == 0 ? true : false),
|
||||
'title' => $lng['ticket']['ticket_reply'],
|
||||
'image' => 'icons/ticket_reply.png',
|
||||
'fields' => array(
|
||||
'subject' => array(
|
||||
'label' => $lng['ticket']['subject'],
|
||||
'type' => 'text',
|
||||
'value' => 'Re: '.$subject
|
||||
),
|
||||
'priority' => array(
|
||||
'label' => $lng['ticket']['priority'],
|
||||
'type' => 'select',
|
||||
'select_var' => $priorities
|
||||
),
|
||||
'category' => array(
|
||||
'label' => $lng['ticket']['category'],
|
||||
'type' => 'label',
|
||||
'value' => $row['name']
|
||||
),
|
||||
'message' => array(
|
||||
'style' => 'vertical-align:top;',
|
||||
'label' => $lng['ticket']['message'],
|
||||
'type' => 'textarea',
|
||||
'cols' => 60,
|
||||
'rows' => 12
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
Reference in New Issue
Block a user