diff --git a/include/ajax.content.php b/include/ajax.content.php index f283e2640ec14b1df64a58a8648af50542b62f43..5333fc9a636b5dd364a6fa3c664e18893eec1c8a 100644 --- a/include/ajax.content.php +++ b/include/ajax.content.php @@ -60,7 +60,7 @@ class ContentAjaxAPI extends AjaxController { <tr><td>%{ticket.phone}</td><td>'.__('Phone number | ext').'</td></tr> <tr><td>%{ticket.status}</td><td>'.__('Status').'</td></tr> <tr><td>%{ticket.priority}</td><td>'.__('Priority').'</td></tr> - <tr><td>%{ticket.assigned}</td><td>Assigned agent and/or team</td></tr> + <tr><td>%{ticket.assigned}</td><td>'.__('Assigned agent and/or team').__'</td></tr> <tr><td>%{ticket.create_date}</td><td>'.__('Date created').'</td></tr> <tr><td>%{ticket.due_date}</td><td>'.__('Due date').'</td></tr> <tr><td>%{ticket.close_date}</td><td>'.__('Date closed').'</td></tr> diff --git a/include/class.forms.php b/include/class.forms.php index f51a06fdc40950adda8eb7a63ed04f329ccf4c20..08adccab70f50ebfdc9eda6f73efefc840ff198b 100644 --- a/include/class.forms.php +++ b/include/class.forms.php @@ -1273,7 +1273,7 @@ class PhoneNumberWidget extends Widget { echo Format::htmlchars($phone); ?>"/><?php // Allow display of extension field even if disabled if the phone // number being edited has an extension - if ($ext || $config['ext']) { ?> Ext: + if ($ext || $config['ext']) { ?> <?php echo __('Ext'); ?>: <input type="text" name="<?php echo $this->name; ?>-ext" value="<?php echo Format::htmlchars($ext); ?>" size="5"/> diff --git a/include/i18n/en_US/help/tips/knowledgebase.canned_response.yaml b/include/i18n/en_US/help/tips/knowledgebase.canned_response.yaml index 67a39c729c6ea90e557557a1964cd429b999fc90..0779b10feb14d235a128d2e4f9b36388600fb332 100644 --- a/include/i18n/en_US/help/tips/knowledgebase.canned_response.yaml +++ b/include/i18n/en_US/help/tips/knowledgebase.canned_response.yaml @@ -16,34 +16,14 @@ canned_response: title: Canned Response content: > - Create a <span class="doc-desc-title">Canned Response</span> that can - be included in a ticket response. In fact, you may include as many - <span class="doc-desc-title">Canned Responses</span> as you would like - in a ticket response. It can also be included in the <span - class="doc-desc-title">Ticket Auto-Response</span> setup by a <span + Create a <span class="doc-desc-title">Canned Response</span> that can + be included in a ticket response. It can also be used as a <span + class="doc-desc-title">Ticket Auto-Response</span> setup by a <span class="doc-desc-title">Ticket Filter</span>. links: - title: Setup a Ticket Filter href: /scp/filters.php -canned_response_settings: - title: Canned Response Settings - content: > - -status: - title: Status - content: > - Disable your new <span class="doc-desc-title">Canned Response</span> - if you do not want it to be available to Agents immediately upon creation. - -department: - title: Department - content: > - -title: - title: Title - content: > - canned_attachments: title: Canned Attachments content: > diff --git a/include/i18n/en_US/help/tips/knowledgebase.category.yaml b/include/i18n/en_US/help/tips/knowledgebase.category.yaml index 1f22329bb4e20981e2ff94782093083283e03382..a1bbcbcee752f0cee08108a6f00463c9aefdd365 100644 --- a/include/i18n/en_US/help/tips/knowledgebase.category.yaml +++ b/include/i18n/en_US/help/tips/knowledgebase.category.yaml @@ -13,22 +13,3 @@ # must match the HTML #ids put into the page template. # --- -category_information: - title: Category Information - content: > - Once you have created categories, you can select the category that the FAQ - pertains to then select “Add New FAQâ€. Type in the Question that will be - visible, if the FAQ will be Public or Internal and type the Answer in the - text box. You can also attach a file to the FAQ. - -category_type: - title: Category Type - content: > - -category_name: - title: Category Name - content: > - -category_description: - title: Category Description - content: > diff --git a/include/i18n/en_US/help/tips/settings.ticket.yaml b/include/i18n/en_US/help/tips/settings.ticket.yaml index 1e8afefc890578beae8c3cd91037145f1072215f..5baf7e720592be83eacd5256d1b9234b53f4c9de 100644 --- a/include/i18n/en_US/help/tips/settings.ticket.yaml +++ b/include/i18n/en_US/help/tips/settings.ticket.yaml @@ -32,6 +32,16 @@ sequence_id: in the <span class="doc-desc-title">Ticket Number Format</span> configuration for help topics. +default_ticket_status: + title: Default Status for new Tickets + content: > + Choose a status as the default for new tickets. This can be defined + for each help topic, if desired. It can also be overridden by a + ticket filter. + links: + - title: Manage Ticket Statuses + href: /scp/lists.php?type=ticket-status + default_sla: title: Default SLA content: > diff --git a/include/staff/cannedresponse.inc.php b/include/staff/cannedresponse.inc.php index f2842292d7ebf53ce0c938a14a707b6f9eb61012..e3cb5f84d6f82255845df47fcba1096aa43c31e8 100644 --- a/include/staff/cannedresponse.inc.php +++ b/include/staff/cannedresponse.inc.php @@ -48,7 +48,6 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); <label><input type="radio" name="isenabled" value="0" <?php echo !$info['isenabled']?'checked="checked"':''; ?>> <?php echo __('Disabled'); ?> </label> <span class="error">* <?php echo $errors['isenabled']; ?></span> - <i class="help-tip icon-question-sign" href="#status"></i> </td> </tr> <tr> diff --git a/include/staff/cannedresponses.inc.php b/include/staff/cannedresponses.inc.php index 1da21b8b00170ca029cf830bb4453a54b23b5c0b..70645010559a65e2aadf5469715945d6498b63c3 100644 --- a/include/staff/cannedresponses.inc.php +++ b/include/staff/cannedresponses.inc.php @@ -49,8 +49,7 @@ else ?> <div class="pull-left" style="width:700px;padding-top:5px;"> - <h2><?php echo __('Canned Responses');?> - <i class="help-tip icon-question-sign" href="#canned_responses"></i></h2> + <h2><?php echo __('Canned Responses');?></h2> </div> <div class="pull-right flush-right" style="padding-top:5px;padding-right:5px;"> <b><a href="canned.php?a=add" class="Icon newReply"><?php echo __('Add New Response');?></a></b></div> diff --git a/include/staff/categories.inc.php b/include/staff/categories.inc.php index efdd593baa4d960727c2eb81a0574132d9338bd6..a948f4976ca123a275e5c3dc0b663db2788e55d7 100644 --- a/include/staff/categories.inc.php +++ b/include/staff/categories.inc.php @@ -41,8 +41,7 @@ else ?> <div class="pull-left" style="width:700px;padding-top:5px;"> - <h2><?php echo __('FAQ Categories');?> - <i class="help-tip icon-question-sign" href="#faq_categories"></i></h2> + <h2><?php echo __('FAQ Categories');?></h2> </div> <div class="pull-right flush-right" style="padding-top:5px;padding-right:5px;"> <b><a href="categories.php?a=add" class="Icon newCategory"><?php echo __('Add New Category');?></a></b></div> diff --git a/include/staff/directory.inc.php b/include/staff/directory.inc.php index 7f27db017afa14d76fa341695f22d3108f9913b8..6d127962a2f9d30a9b5ed655333f170cac453ce9 100644 --- a/include/staff/directory.inc.php +++ b/include/staff/directory.inc.php @@ -101,7 +101,7 @@ else <th width="150"><a <?php echo $dept_sort; ?>href="directory.php?<?php echo $qstr; ?>&sort=dept"><?php echo __('Department');?></a></th> <th width="180"><a <?php echo $email_sort; ?>href="directory.php?<?php echo $qstr; ?>&sort=email"><?php echo __('Email Address');?></a></th> <th width="120"><a <?php echo $phone_sort; ?> href="directory.php?<?php echo $qstr; ?>&sort=phone"><?php echo __('Phone Number');?></a></th> - <th width="80"><a <?php echo $ext_sort; ?> href="directory.php?<?php echo $qstr; ?>&sort=ext"><?php echo __('Phone Ext');?></a></th> + <th width="80"><a <?php echo $ext_sort; ?> href="directory.php?<?php echo $qstr; ?>&sort=ext"><?php echo __(/* As in a phone number `extension` */ 'Extension');?></a></th> <th width="120"><a <?php echo $mobile_sort; ?> href="directory.php?<?php echo $qstr; ?>&sort=mobile"><?php echo __('Mobile Number');?></a></th> </tr> </thead> diff --git a/include/staff/faq-categories.inc.php b/include/staff/faq-categories.inc.php index 7ccfc7720c8a4977a710b6ee7e15b924159a6dd3..9d9efa32ba994d56730d3b49f8fa62e343455fdb 100644 --- a/include/staff/faq-categories.inc.php +++ b/include/staff/faq-categories.inc.php @@ -2,8 +2,7 @@ if(!defined('OSTSTAFFINC') || !$thisstaff) die('Access Denied'); ?> -<h2><?php echo __('Frequently Asked Questions');?> - <i class="help-tip icon-question-sign" href="#page_header"></i></h2> +<h2><?php echo __('Frequently Asked Questions');?></h2> <form id="kbSearch" action="kb.php" method="get"> <input type="hidden" name="a" value="search"> <div> diff --git a/include/staff/helptopic.inc.php b/include/staff/helptopic.inc.php index e544218b57051341f280556fd38a28a4f90987f8..3674b6a10f2c4a063cfb050a501daeb91c269836 100644 --- a/include/staff/helptopic.inc.php +++ b/include/staff/helptopic.inc.php @@ -32,7 +32,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); <tr> <th colspan="2"> <h4><?php echo $title; ?></h4> - <em><?php echo __('Help Topic Information');?></em> + <em><?php echo __('Help Topic Information');?> <i class="help-tip icon-question-sign" href="#help_topic_information"></i></em> </th> </tr> diff --git a/include/staff/orgs.inc.php b/include/staff/orgs.inc.php index 7f81447f6f173f528a6f91892bf008af879bb067..862da34be7722441fb1b6f1c447edf3ec8b0d868 100644 --- a/include/staff/orgs.inc.php +++ b/include/staff/orgs.inc.php @@ -79,7 +79,7 @@ $_SESSION['orgs_qs_'.$qhash] = $query; <tr> <td><input type="text" id="basic-org-search" name="query" size=30 value="<?php echo Format::htmlchars($_REQUEST['query']); ?>" autocomplete="off" autocorrect="off" autocapitalize="off"></td> - <td><input type="submit" name="basic_search" class="button" value="Search"></td> + <td><input type="submit" name="basic_search" class="button" value="<?php echo __('Search'); ?>"></td> <!-- <td> <a href="" id="advanced-user-search">[advanced]</a></td> --> </tr> </table> diff --git a/include/staff/settings-tickets.inc.php b/include/staff/settings-tickets.inc.php index b8526ed0c5a03c2cab1b2ed0c82f39af25601c15..9f4b306735d14061a8dc1cfde5848a3da98047fa 100644 --- a/include/staff/settings-tickets.inc.php +++ b/include/staff/settings-tickets.inc.php @@ -49,7 +49,7 @@ if(!($maxfileuploads=ini_get('max_file_uploads'))) <button class="action-button" onclick="javascript: $.dialog('ajax.php/sequence/manage', 205); return false; - "><i class="icon-gear"></i> Manage</button> + "><i class="icon-gear"></i> <?php echo __('Manage'); ?></button> <i class="help-tip icon-question-sign" href="#sequence_id"></i> </td> </tr> diff --git a/include/staff/ticket-open.inc.php b/include/staff/ticket-open.inc.php index 63da455a8bf70b9f52b914e3bda8e9b80517c6e5..6a9b533ade9ccb692f05f24127d4e7f5fef78529 100644 --- a/include/staff/ticket-open.inc.php +++ b/include/staff/ticket-open.inc.php @@ -299,7 +299,7 @@ if ($_POST) data-signature="<?php echo Format::htmlchars(Format::viewableImages($signature)); ?>" data-signature-field="signature" data-dept-field="deptId" - placeholder="Intial response for the ticket" + placeholder="<?php echo __('Initial response for the ticket'); ?>" name="response" id="response" cols="21" rows="8" style="width:80%;"><?php echo $info['response']; ?></textarea> <table border="0" cellspacing="0" cellpadding="2" width="100%"> diff --git a/scp/js/tips.js b/scp/js/tips.js index 4c1c6ce2834d7fb0896722329a4ca0f5d67aa2ed..4d623eb165224df19caf4fb06a51593d0f907540 100644 --- a/scp/js/tips.js +++ b/scp/js/tips.js @@ -129,6 +129,8 @@ jQuery(function() { clearTimeout(tip_timer); return; } + if (!section) + return; tip_content.append( $('<h1>') .append('<i class="icon-info-sign faded"> ') diff --git a/scp/lists.php b/scp/lists.php index b3c424de7e15af1ecd0bbfe7428b57c013776330..5247a0643c36e1aed9c9b8b73c6ff75661aa0dff 100644 --- a/scp/lists.php +++ b/scp/lists.php @@ -4,8 +4,14 @@ require_once(INCLUDE_DIR.'class.list.php'); $list=null; -if ($_REQUEST['id']) { - $list = DynamicList::lookup($_REQUEST['id']); +$criteria=array(); +if ($_REQUEST['id']) + $criteria['id'] = $_REQUEST['id']; +elseif ($_REQUEST['type']) + $criteria['type'] = $_REQUEST['type']; + +if ($criteria) { + $list = DynamicList::lookup($criteria); if ($list) $form = $list->getForm();