Location: PHPKode > projects > Maian Support > maian_support/admin/control/defined.inc.php
<?php

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  Script: Maian Support v2.0
  Written by: David Ian Bennett
  E-Mail: hide@address.com
  Software Website: http://www.maiansupport.com
  Script Portal: http://www.maianscriptworld.co.uk

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  
  This File: defined.inc.php
  Description: User Defined Admin Functions

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/*
  HTML Header adjustment.
  Do not change unless required
*/
define('HTML_HEADER', '<html xmlns="http://www.w3.org/1999/xhtml">');  

/*
 Relative path to files in the support root. In most cases this will NOT need changing.
 Some servers may require the full server path. If this is the case enter the path below.
 Example:
 define('REL_PATH', '/home/serverpath/public_html/support/');
*/ 
define('REL_PATH', '../');

/*
 Max tickets to show per page in the admin area
*/ 
define('MAX_ENTRIES', 20);

/*
 Max log entries to show per page in the admin area
*/ 
define('LOG_ENTRIES', 35);

/*
 Preferred MySQL ordering for ticket display on opened and closed ticket pages.
 Can be any MySQL fields in any combination. Escape apostrophes with a backslash.
 Examples:
 id DESC
 subject
 subject DESC,id DESC
*/
define('MYSQL_TICKET_ORDERING', 'ORDER BY ticketStatus,FIELD(priority,\'high\',\'medium\',\'low\'),id DESC'); 

/*
  Do you wish to show help tips in the admin area?
  1 = Enabled, 0 = Disabled
*/      
define('HELP_TIPS', 1);

/*
 Enable or disable entry log.
 1 = Enabled, 0 = Disabled
*/
define('ENABLE_ENTRY_LOG', 1); 

/*
  Do you wish to omit certain users from being logged in the entry log if the entry log is enabled?
  Enter user ID numbers seperated with a comma to restrict. Leave blank to log all.
  Examples:
  define('ENTRY_LOG_RESTRICTION', '1'); - Doesn`t log user 1
  define('ENTRY_LOG_RESTRICTION', '1,2,5'); - Doesn`t log users 1,2 or 5 
*/
define('ENTRY_LOG_RESTRICTION', '');

/* 
  Do you want the flash stats to be visible to other users?
  1 = Yes, available to ALL, 0 = No, visible only to global user
*/
define('DISPLAY_FLASH_STATS', 1);  

/*
  Sizes for pop up div windows when editing tickets, replies 
  or viewing attachments. Increase or decrease as required.
  Must be numeric values. No px or % symbols.
*/ 
define('GREYBOX_WIDTH', 800);
define('GREYBOX_HEIGHT', 550);

define('GREYBOX_WIDTH_REPLY', 800);
define('GREYBOX_HEIGHT_REPLY', 450);

define('GREYBOX_WIDTH_ATTACHMENTS', 600);
define('GREYBOX_HEIGHT_ATTACHMENTS', 300);

/*
  Do you wish to enable the messenger option so that users can send e-mails to other users?
  Accessed via the email icon top right in the admin area.
  1 = Enabled, 0 = Disabled
*/
define('ENABLE_MESSENGER', 1);  

/*
  Admin attachments boxes override. This is only applicable to the commercial version.
  If you have set a max of 5 attachments for visitors, you may want admin to have an
  alternative limit. Enter override limit here. If set to 0, same limit in settings
  is applied.
*/  
define('ADMIN_ATTACH_BOXES_OVERRIDE', 0);

/*
 If a support team member clicks on an e-mail ticket link and is directed to the admin log in
 page, do you want them to be directed to the ticket after login? Can save time locating
 tickets and be a big time saver.
 1 = Enabled, 0 = Disabled
*/ 
define('REDIRECT_TO_TICKET_ON_LOGIN', 1);

/*
 Graph colours. Change if required.
 Alphanumeric, 6 digits.
*/ 
$graphColors = array(
'FFFFFF',
'5d781d',
'5d781d',
'd7d7d7',
'd7d7d7',
'3e3530',
'b8b6b6'
);

?>
Return current item: Maian Support