From 945721f48f74d5cfffef7c7cf3a3d6bc2521f5dd Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 15 Jul 2003 13:16:32 +0000 Subject: import of rt 3.0.4 --- rt/html/Admin/Elements/AddCustomFieldValue | 44 ++++ rt/html/Admin/Elements/CreateUserCalled | 26 ++ rt/html/Admin/Elements/EditCustomField | 127 ++++++++++ rt/html/Admin/Elements/EditCustomFieldValues | 42 ++++ rt/html/Admin/Elements/EditCustomFields | 214 ++++++++++++++++ rt/html/Admin/Elements/EditQueueWatchers | 55 ++++ rt/html/Admin/Elements/EditScrip | 149 +++++++++++ rt/html/Admin/Elements/EditScrips | 97 +++++++ rt/html/Admin/Elements/EditTemplates | 104 ++++++++ rt/html/Admin/Elements/EditUserComments | 32 +++ rt/html/Admin/Elements/GroupTabs | 76 ++++++ rt/html/Admin/Elements/Header | 28 +++ rt/html/Admin/Elements/ListGlobalCustomFields | 37 +++ rt/html/Admin/Elements/ListGlobalScrips | 37 +++ rt/html/Admin/Elements/ModifyQueue | 78 ++++++ rt/html/Admin/Elements/ModifyTemplate | 60 +++++ rt/html/Admin/Elements/ModifyUser | 99 ++++++++ rt/html/Admin/Elements/QueueRightsForUser | 40 +++ rt/html/Admin/Elements/QueueTabs | 93 +++++++ rt/html/Admin/Elements/SelectCustomFieldType | 36 +++ rt/html/Admin/Elements/SelectGroups | 37 +++ rt/html/Admin/Elements/SelectModifyGroup | 33 +++ rt/html/Admin/Elements/SelectModifyQueue | 33 +++ rt/html/Admin/Elements/SelectModifyUser | 49 ++++ rt/html/Admin/Elements/SelectNewGroupMembers | 61 +++++ rt/html/Admin/Elements/SelectRights | 90 +++++++ rt/html/Admin/Elements/SelectScrip | 48 ++++ rt/html/Admin/Elements/SelectScripAction | 48 ++++ rt/html/Admin/Elements/SelectScripCondition | 48 ++++ rt/html/Admin/Elements/SelectSingleOrMultiple | 43 ++++ rt/html/Admin/Elements/SelectTemplate | 61 +++++ rt/html/Admin/Elements/SelectUsers | 40 +++ rt/html/Admin/Elements/SystemTabs | 70 ++++++ rt/html/Admin/Elements/Tabs | 63 +++++ rt/html/Admin/Elements/UserTabs | 74 ++++++ rt/html/Admin/Global/CustomField.html | 61 +++++ rt/html/Admin/Global/CustomFields.html | 47 ++++ rt/html/Admin/Global/GroupRights.html | 99 ++++++++ rt/html/Admin/Global/Scrip.html | 56 +++++ rt/html/Admin/Global/Scrips.html | 53 ++++ rt/html/Admin/Global/Template.html | 101 ++++++++ rt/html/Admin/Global/Templates.html | 53 ++++ rt/html/Admin/Global/UserRights.html | 77 ++++++ rt/html/Admin/Global/index.html | 64 +++++ rt/html/Admin/Groups/GroupRights.html | 95 +++++++ rt/html/Admin/Groups/Members.html | 134 ++++++++++ rt/html/Admin/Groups/Modify.html | 134 ++++++++++ rt/html/Admin/Groups/UserRights.html | 92 +++++++ rt/html/Admin/Groups/index.html | 43 ++++ rt/html/Admin/Queues/CustomField.html | 60 +++++ rt/html/Admin/Queues/CustomFields.html | 48 ++++ rt/html/Admin/Queues/GroupRights.html | 110 ++++++++ rt/html/Admin/Queues/Modify.html | 163 ++++++++++++ rt/html/Admin/Queues/People.html | 186 ++++++++++++++ rt/html/Admin/Queues/Scrip.html | 67 +++++ rt/html/Admin/Queues/Scrips.html | 63 +++++ rt/html/Admin/Queues/Template.html | 101 ++++++++ rt/html/Admin/Queues/Templates.html | 57 +++++ rt/html/Admin/Queues/UserRights.html | 90 +++++++ rt/html/Admin/Queues/index.html | 61 +++++ rt/html/Admin/Users/Modify.html | 347 ++++++++++++++++++++++++++ rt/html/Admin/Users/Prefs.html | 122 +++++++++ rt/html/Admin/Users/index.html | 81 ++++++ rt/html/Admin/index.html | 40 +++ rt/html/Approvals/Display.html | 50 ++++ rt/html/Approvals/Elements/Approve | 56 +++++ rt/html/Approvals/Elements/PendingMyApproval | 87 +++++++ rt/html/Approvals/Elements/ShowDependency | 85 +++++++ rt/html/Approvals/Elements/Tabs | 34 +++ rt/html/Approvals/index.html | 66 +++++ rt/html/Elements/BevelBoxRaisedEnd | 26 ++ rt/html/Elements/BevelBoxRaisedStart | 26 ++ rt/html/Elements/Callback | 65 +++++ rt/html/Elements/Checkbox | 39 +++ rt/html/Elements/CreateTicket | 26 ++ rt/html/Elements/Error | 62 +++++ rt/html/Elements/Footer | 60 +++++ rt/html/Elements/GotoTicket | 24 ++ rt/html/Elements/Header | 82 ++++++ rt/html/Elements/ListActions | 43 ++++ rt/html/Elements/Login | 101 ++++++++ rt/html/Elements/Menu | 84 +++++++ rt/html/Elements/MessageBox | 47 ++++ rt/html/Elements/MyRequests | 78 ++++++ rt/html/Elements/MyTickets | 81 ++++++ rt/html/Elements/PageLayout | 99 ++++++++ rt/html/Elements/Quicksearch | 61 +++++ rt/html/Elements/Refresh | 45 ++++ rt/html/Elements/Section | 34 +++ rt/html/Elements/SelectAttachmentField | 31 +++ rt/html/Elements/SelectBoolean | 46 ++++ rt/html/Elements/SelectCustomFieldOperator | 40 +++ rt/html/Elements/SelectCustomFieldValue | 41 +++ rt/html/Elements/SelectDate | 48 ++++ rt/html/Elements/SelectDateRelation | 36 +++ rt/html/Elements/SelectDateType | 36 +++ rt/html/Elements/SelectEqualityOperator | 40 +++ rt/html/Elements/SelectGroups | 29 +++ rt/html/Elements/SelectLinkType | 37 +++ rt/html/Elements/SelectMatch | 53 ++++ rt/html/Elements/SelectNewTicketQueue | 56 +++++ rt/html/Elements/SelectOwner | 59 +++++ rt/html/Elements/SelectQueue | 59 +++++ rt/html/Elements/SelectResultsPerPage | 43 ++++ rt/html/Elements/SelectSortOrder | 41 +++ rt/html/Elements/SelectStatus | 37 +++ rt/html/Elements/SelectTicketSortBy | 38 +++ rt/html/Elements/SelectTicketTypes | 34 +++ rt/html/Elements/SelectUsers | 31 +++ rt/html/Elements/SelectWatcherType | 44 ++++ rt/html/Elements/SetupSessionCookie | 77 ++++++ rt/html/Elements/ShadedBox | 33 +++ rt/html/Elements/ShadedInputRow | 35 +++ rt/html/Elements/ShadedRow | 31 +++ rt/html/Elements/SimpleSearch | 27 ++ rt/html/Elements/Submit | 62 +++++ rt/html/Elements/Tabs | 82 ++++++ rt/html/Elements/TitleBoxEnd | 31 +++ rt/html/Elements/TitleBoxStart | 60 +++++ rt/html/Elements/ViewUser | 51 ++++ rt/html/NoAuth/Logout.html | 46 ++++ rt/html/NoAuth/Reminder.html | 26 ++ rt/html/NoAuth/images/back_home.gif | Bin 0 -> 330 bytes rt/html/NoAuth/images/bplogo.gif | Bin 0 -> 825 bytes rt/html/NoAuth/images/favicon.png | Bin 0 -> 335 bytes rt/html/NoAuth/images/head_requestracker.gif | Bin 0 -> 1233 bytes rt/html/NoAuth/images/rt.jpg | Bin 0 -> 917 bytes rt/html/NoAuth/images/space.gif | Bin 0 -> 43 bytes rt/html/NoAuth/images/spacer.gif | Bin 0 -> 43 bytes rt/html/NoAuth/images/squares_blue.gif | Bin 0 -> 219 bytes rt/html/NoAuth/webrt.css | 338 +++++++++++++++++++++++++ rt/html/REST/1.0/NoAuth/mail-gateway | 49 ++++ rt/html/Search/Bulk.html | 217 ++++++++++++++++ rt/html/Search/Elements/PickRestriction | 141 +++++++++++ rt/html/Search/Elements/TicketHeader | 40 +++ rt/html/Search/Elements/TicketHeaderCell | 55 ++++ rt/html/Search/Elements/TicketRow | 55 ++++ rt/html/Search/Listing.html | 112 +++++++++ rt/html/SelfService/Attachment/dhandler | 27 ++ rt/html/SelfService/Closed.html | 27 ++ rt/html/SelfService/Create.html | 80 ++++++ rt/html/SelfService/Display.html | 141 +++++++++++ rt/html/SelfService/Elements/GotoTicket | 24 ++ rt/html/SelfService/Elements/Header | 25 ++ rt/html/SelfService/Elements/MyRequests | 62 +++++ rt/html/SelfService/Elements/Tabs | 64 +++++ rt/html/SelfService/Error.html | 46 ++++ rt/html/SelfService/Prefs.html | 68 +++++ rt/html/SelfService/Update.html | 61 +++++ rt/html/SelfService/index.html | 26 ++ rt/html/Ticket/Attachment/dhandler | 68 +++++ rt/html/Ticket/Create.html | 257 +++++++++++++++++++ rt/html/Ticket/Display.html | 116 +++++++++ rt/html/Ticket/Elements/AddWatchers | 97 +++++++ rt/html/Ticket/Elements/BulkLinks | 53 ++++ rt/html/Ticket/Elements/EditBasics | 79 ++++++ rt/html/Ticket/Elements/EditCustomField | 70 ++++++ rt/html/Ticket/Elements/EditCustomFields | 74 ++++++ rt/html/Ticket/Elements/EditDates | 53 ++++ rt/html/Ticket/Elements/EditLinks | 150 +++++++++++ rt/html/Ticket/Elements/EditPeople | 68 +++++ rt/html/Ticket/Elements/EditWatchers | 52 ++++ rt/html/Ticket/Elements/ShowAttachments | 76 ++++++ rt/html/Ticket/Elements/ShowBasics | 54 ++++ rt/html/Ticket/Elements/ShowCustomFields | 46 ++++ rt/html/Ticket/Elements/ShowDates | 56 +++++ rt/html/Ticket/Elements/ShowDependencies | 41 +++ rt/html/Ticket/Elements/ShowHistory | 86 +++++++ rt/html/Ticket/Elements/ShowLink | 40 +++ rt/html/Ticket/Elements/ShowLinks | 87 +++++++ rt/html/Ticket/Elements/ShowMemberOf | 35 +++ rt/html/Ticket/Elements/ShowMembers | 45 ++++ rt/html/Ticket/Elements/ShowMessageHeaders | 32 +++ rt/html/Ticket/Elements/ShowMessageStanza | 51 ++++ rt/html/Ticket/Elements/ShowPeople | 45 ++++ rt/html/Ticket/Elements/ShowReferences | 50 ++++ rt/html/Ticket/Elements/ShowRequestor | 59 +++++ rt/html/Ticket/Elements/ShowSummary | 82 ++++++ rt/html/Ticket/Elements/ShowTransaction | 169 +++++++++++++ rt/html/Ticket/Elements/Tabs | 170 +++++++++++++ rt/html/Ticket/History.html | 52 ++++ rt/html/Ticket/Modify.html | 63 +++++ rt/html/Ticket/ModifyAll.html | 158 ++++++++++++ rt/html/Ticket/ModifyDates.html | 52 ++++ rt/html/Ticket/ModifyLinks.html | 54 ++++ rt/html/Ticket/ModifyPeople.html | 67 +++++ rt/html/Ticket/Update.html | 205 +++++++++++++++ rt/html/User/Delegation.html | 83 ++++++ rt/html/User/Elements/DelegateRights | 85 +++++++ rt/html/User/Elements/GroupTabs | 60 +++++ rt/html/User/Elements/Tabs | 56 +++++ rt/html/User/Groups/Members.html | 136 ++++++++++ rt/html/User/Groups/Modify.html | 133 ++++++++++ rt/html/User/Groups/index.html | 43 ++++ rt/html/User/Prefs.html | 218 ++++++++++++++++ rt/html/autohandler | 178 +++++++++++++ rt/html/index.html | 84 +++++++ rt/html/l | 26 ++ 198 files changed, 13650 insertions(+) create mode 100644 rt/html/Admin/Elements/AddCustomFieldValue create mode 100644 rt/html/Admin/Elements/CreateUserCalled create mode 100644 rt/html/Admin/Elements/EditCustomField create mode 100644 rt/html/Admin/Elements/EditCustomFieldValues create mode 100644 rt/html/Admin/Elements/EditCustomFields create mode 100644 rt/html/Admin/Elements/EditQueueWatchers create mode 100644 rt/html/Admin/Elements/EditScrip create mode 100644 rt/html/Admin/Elements/EditScrips create mode 100644 rt/html/Admin/Elements/EditTemplates create mode 100644 rt/html/Admin/Elements/EditUserComments create mode 100644 rt/html/Admin/Elements/GroupTabs create mode 100644 rt/html/Admin/Elements/Header create mode 100644 rt/html/Admin/Elements/ListGlobalCustomFields create mode 100644 rt/html/Admin/Elements/ListGlobalScrips create mode 100644 rt/html/Admin/Elements/ModifyQueue create mode 100644 rt/html/Admin/Elements/ModifyTemplate create mode 100644 rt/html/Admin/Elements/ModifyUser create mode 100644 rt/html/Admin/Elements/QueueRightsForUser create mode 100644 rt/html/Admin/Elements/QueueTabs create mode 100644 rt/html/Admin/Elements/SelectCustomFieldType create mode 100644 rt/html/Admin/Elements/SelectGroups create mode 100644 rt/html/Admin/Elements/SelectModifyGroup create mode 100644 rt/html/Admin/Elements/SelectModifyQueue create mode 100644 rt/html/Admin/Elements/SelectModifyUser create mode 100644 rt/html/Admin/Elements/SelectNewGroupMembers create mode 100644 rt/html/Admin/Elements/SelectRights create mode 100644 rt/html/Admin/Elements/SelectScrip create mode 100644 rt/html/Admin/Elements/SelectScripAction create mode 100644 rt/html/Admin/Elements/SelectScripCondition create mode 100644 rt/html/Admin/Elements/SelectSingleOrMultiple create mode 100644 rt/html/Admin/Elements/SelectTemplate create mode 100644 rt/html/Admin/Elements/SelectUsers create mode 100644 rt/html/Admin/Elements/SystemTabs create mode 100644 rt/html/Admin/Elements/Tabs create mode 100644 rt/html/Admin/Elements/UserTabs create mode 100644 rt/html/Admin/Global/CustomField.html create mode 100644 rt/html/Admin/Global/CustomFields.html create mode 100644 rt/html/Admin/Global/GroupRights.html create mode 100644 rt/html/Admin/Global/Scrip.html create mode 100644 rt/html/Admin/Global/Scrips.html create mode 100644 rt/html/Admin/Global/Template.html create mode 100644 rt/html/Admin/Global/Templates.html create mode 100644 rt/html/Admin/Global/UserRights.html create mode 100644 rt/html/Admin/Global/index.html create mode 100644 rt/html/Admin/Groups/GroupRights.html create mode 100644 rt/html/Admin/Groups/Members.html create mode 100644 rt/html/Admin/Groups/Modify.html create mode 100644 rt/html/Admin/Groups/UserRights.html create mode 100644 rt/html/Admin/Groups/index.html create mode 100644 rt/html/Admin/Queues/CustomField.html create mode 100644 rt/html/Admin/Queues/CustomFields.html create mode 100644 rt/html/Admin/Queues/GroupRights.html create mode 100644 rt/html/Admin/Queues/Modify.html create mode 100644 rt/html/Admin/Queues/People.html create mode 100644 rt/html/Admin/Queues/Scrip.html create mode 100644 rt/html/Admin/Queues/Scrips.html create mode 100644 rt/html/Admin/Queues/Template.html create mode 100644 rt/html/Admin/Queues/Templates.html create mode 100644 rt/html/Admin/Queues/UserRights.html create mode 100644 rt/html/Admin/Queues/index.html create mode 100644 rt/html/Admin/Users/Modify.html create mode 100644 rt/html/Admin/Users/Prefs.html create mode 100644 rt/html/Admin/Users/index.html create mode 100644 rt/html/Admin/index.html create mode 100644 rt/html/Approvals/Display.html create mode 100644 rt/html/Approvals/Elements/Approve create mode 100644 rt/html/Approvals/Elements/PendingMyApproval create mode 100644 rt/html/Approvals/Elements/ShowDependency create mode 100644 rt/html/Approvals/Elements/Tabs create mode 100644 rt/html/Approvals/index.html create mode 100644 rt/html/Elements/BevelBoxRaisedEnd create mode 100644 rt/html/Elements/BevelBoxRaisedStart create mode 100644 rt/html/Elements/Callback create mode 100644 rt/html/Elements/Checkbox create mode 100644 rt/html/Elements/CreateTicket create mode 100644 rt/html/Elements/Error create mode 100644 rt/html/Elements/Footer create mode 100644 rt/html/Elements/GotoTicket create mode 100644 rt/html/Elements/Header create mode 100644 rt/html/Elements/ListActions create mode 100644 rt/html/Elements/Login create mode 100644 rt/html/Elements/Menu create mode 100644 rt/html/Elements/MessageBox create mode 100644 rt/html/Elements/MyRequests create mode 100644 rt/html/Elements/MyTickets create mode 100644 rt/html/Elements/PageLayout create mode 100644 rt/html/Elements/Quicksearch create mode 100644 rt/html/Elements/Refresh create mode 100644 rt/html/Elements/Section create mode 100644 rt/html/Elements/SelectAttachmentField create mode 100644 rt/html/Elements/SelectBoolean create mode 100644 rt/html/Elements/SelectCustomFieldOperator create mode 100644 rt/html/Elements/SelectCustomFieldValue create mode 100644 rt/html/Elements/SelectDate create mode 100644 rt/html/Elements/SelectDateRelation create mode 100644 rt/html/Elements/SelectDateType create mode 100644 rt/html/Elements/SelectEqualityOperator create mode 100644 rt/html/Elements/SelectGroups create mode 100644 rt/html/Elements/SelectLinkType create mode 100644 rt/html/Elements/SelectMatch create mode 100644 rt/html/Elements/SelectNewTicketQueue create mode 100644 rt/html/Elements/SelectOwner create mode 100644 rt/html/Elements/SelectQueue create mode 100644 rt/html/Elements/SelectResultsPerPage create mode 100644 rt/html/Elements/SelectSortOrder create mode 100644 rt/html/Elements/SelectStatus create mode 100644 rt/html/Elements/SelectTicketSortBy create mode 100644 rt/html/Elements/SelectTicketTypes create mode 100644 rt/html/Elements/SelectUsers create mode 100644 rt/html/Elements/SelectWatcherType create mode 100644 rt/html/Elements/SetupSessionCookie create mode 100644 rt/html/Elements/ShadedBox create mode 100644 rt/html/Elements/ShadedInputRow create mode 100644 rt/html/Elements/ShadedRow create mode 100644 rt/html/Elements/SimpleSearch create mode 100644 rt/html/Elements/Submit create mode 100644 rt/html/Elements/Tabs create mode 100644 rt/html/Elements/TitleBoxEnd create mode 100644 rt/html/Elements/TitleBoxStart create mode 100644 rt/html/Elements/ViewUser create mode 100644 rt/html/NoAuth/Logout.html create mode 100644 rt/html/NoAuth/Reminder.html create mode 100644 rt/html/NoAuth/images/back_home.gif create mode 100644 rt/html/NoAuth/images/bplogo.gif create mode 100644 rt/html/NoAuth/images/favicon.png create mode 100644 rt/html/NoAuth/images/head_requestracker.gif create mode 100644 rt/html/NoAuth/images/rt.jpg create mode 100644 rt/html/NoAuth/images/space.gif create mode 100644 rt/html/NoAuth/images/spacer.gif create mode 100644 rt/html/NoAuth/images/squares_blue.gif create mode 100644 rt/html/NoAuth/webrt.css create mode 100644 rt/html/REST/1.0/NoAuth/mail-gateway create mode 100644 rt/html/Search/Bulk.html create mode 100644 rt/html/Search/Elements/PickRestriction create mode 100644 rt/html/Search/Elements/TicketHeader create mode 100644 rt/html/Search/Elements/TicketHeaderCell create mode 100644 rt/html/Search/Elements/TicketRow create mode 100644 rt/html/Search/Listing.html create mode 100644 rt/html/SelfService/Attachment/dhandler create mode 100644 rt/html/SelfService/Closed.html create mode 100644 rt/html/SelfService/Create.html create mode 100644 rt/html/SelfService/Display.html create mode 100644 rt/html/SelfService/Elements/GotoTicket create mode 100644 rt/html/SelfService/Elements/Header create mode 100644 rt/html/SelfService/Elements/MyRequests create mode 100644 rt/html/SelfService/Elements/Tabs create mode 100644 rt/html/SelfService/Error.html create mode 100644 rt/html/SelfService/Prefs.html create mode 100644 rt/html/SelfService/Update.html create mode 100644 rt/html/SelfService/index.html create mode 100644 rt/html/Ticket/Attachment/dhandler create mode 100644 rt/html/Ticket/Create.html create mode 100644 rt/html/Ticket/Display.html create mode 100644 rt/html/Ticket/Elements/AddWatchers create mode 100644 rt/html/Ticket/Elements/BulkLinks create mode 100644 rt/html/Ticket/Elements/EditBasics create mode 100644 rt/html/Ticket/Elements/EditCustomField create mode 100644 rt/html/Ticket/Elements/EditCustomFields create mode 100644 rt/html/Ticket/Elements/EditDates create mode 100644 rt/html/Ticket/Elements/EditLinks create mode 100644 rt/html/Ticket/Elements/EditPeople create mode 100644 rt/html/Ticket/Elements/EditWatchers create mode 100644 rt/html/Ticket/Elements/ShowAttachments create mode 100644 rt/html/Ticket/Elements/ShowBasics create mode 100644 rt/html/Ticket/Elements/ShowCustomFields create mode 100644 rt/html/Ticket/Elements/ShowDates create mode 100644 rt/html/Ticket/Elements/ShowDependencies create mode 100644 rt/html/Ticket/Elements/ShowHistory create mode 100644 rt/html/Ticket/Elements/ShowLink create mode 100644 rt/html/Ticket/Elements/ShowLinks create mode 100644 rt/html/Ticket/Elements/ShowMemberOf create mode 100644 rt/html/Ticket/Elements/ShowMembers create mode 100644 rt/html/Ticket/Elements/ShowMessageHeaders create mode 100644 rt/html/Ticket/Elements/ShowMessageStanza create mode 100644 rt/html/Ticket/Elements/ShowPeople create mode 100644 rt/html/Ticket/Elements/ShowReferences create mode 100644 rt/html/Ticket/Elements/ShowRequestor create mode 100644 rt/html/Ticket/Elements/ShowSummary create mode 100644 rt/html/Ticket/Elements/ShowTransaction create mode 100644 rt/html/Ticket/Elements/Tabs create mode 100644 rt/html/Ticket/History.html create mode 100644 rt/html/Ticket/Modify.html create mode 100644 rt/html/Ticket/ModifyAll.html create mode 100644 rt/html/Ticket/ModifyDates.html create mode 100644 rt/html/Ticket/ModifyLinks.html create mode 100644 rt/html/Ticket/ModifyPeople.html create mode 100644 rt/html/Ticket/Update.html create mode 100644 rt/html/User/Delegation.html create mode 100644 rt/html/User/Elements/DelegateRights create mode 100644 rt/html/User/Elements/GroupTabs create mode 100644 rt/html/User/Elements/Tabs create mode 100644 rt/html/User/Groups/Members.html create mode 100644 rt/html/User/Groups/Modify.html create mode 100644 rt/html/User/Groups/index.html create mode 100644 rt/html/User/Prefs.html create mode 100644 rt/html/autohandler create mode 100644 rt/html/index.html create mode 100644 rt/html/l (limited to 'rt/html') diff --git a/rt/html/Admin/Elements/AddCustomFieldValue b/rt/html/Admin/Elements/AddCustomFieldValue new file mode 100644 index 000000000..8850734f2 --- /dev/null +++ b/rt/html/Admin/Elements/AddCustomFieldValue @@ -0,0 +1,44 @@ +%# BEGIN LICENSE BLOCK +%# +%# Copyright (c) 1996-2003 Jesse Vincent +%# +%# (Except where explictly superceded by other copyright notices) +%# +%# This work is made available to you under the terms of Version 2 of +%# the GNU General Public License. A copy of that license should have +%# been provided with this software, but in any event can be snarfed +%# from www.gnu.org. +%# +%# This work is distributed in the hope that it will be useful, but +%# WITHOUT ANY WARRANTY; without even the implied warranty of +%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +%# General Public License for more details. +%# +%# Unless otherwise specified, all modifications, corrections or +%# extensions to this work which alter its source code become the +%# property of Best Practical Solutions, LLC when submitted for +%# inclusion in the work. +%# +%# +%# END LICENSE BLOCK +<&|/l&>Add Value + + + + +
+<&|/l&>Sort:
+ +
+<&|/l&>Name:
+ +
+<&|/l&>Description:
+ +
+ +<%init> + +<%args> +$CustomField => undef + diff --git a/rt/html/Admin/Elements/CreateUserCalled b/rt/html/Admin/Elements/CreateUserCalled new file mode 100644 index 000000000..8ceccca73 --- /dev/null +++ b/rt/html/Admin/Elements/CreateUserCalled @@ -0,0 +1,26 @@ +%# BEGIN LICENSE BLOCK +%# +%# Copyright (c) 1996-2003 Jesse Vincent +%# +%# (Except where explictly superceded by other copyright notices) +%# +%# This work is made available to you under the terms of Version 2 of +%# the GNU General Public License. A copy of that license should have +%# been provided with this software, but in any event can be snarfed +%# from www.gnu.org. +%# +%# This work is distributed in the hope that it will be useful, but +%# WITHOUT ANY WARRANTY; without even the implied warranty of +%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +%# General Public License for more details. +%# +%# Unless otherwise specified, all modifications, corrections or +%# extensions to this work which alter its source code become the +%# property of Best Practical Solutions, LLC when submitted for +%# inclusion in the work. +%# +%# +%# END LICENSE BLOCK +
+<&|/l&>New user called +
diff --git a/rt/html/Admin/Elements/EditCustomField b/rt/html/Admin/Elements/EditCustomField new file mode 100644 index 000000000..a09600ba7 --- /dev/null +++ b/rt/html/Admin/Elements/EditCustomField @@ -0,0 +1,127 @@ +%# BEGIN LICENSE BLOCK +%# +%# Copyright (c) 1996-2003 Jesse Vincent +%# +%# (Except where explictly superceded by other copyright notices) +%# +%# This work is made available to you under the terms of Version 2 of +%# the GNU General Public License. A copy of that license should have +%# been provided with this software, but in any event can be snarfed +%# from www.gnu.org. +%# +%# This work is distributed in the hope that it will be useful, but +%# WITHOUT ANY WARRANTY; without even the implied warranty of +%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +%# General Public License for more details. +%# +%# Unless otherwise specified, all modifications, corrections or +%# extensions to this work which alter its source code become the +%# property of Best Practical Solutions, LLC when submitted for +%# inclusion in the work. +%# +%# +%# END LICENSE BLOCK +<& /Elements/ListActions, actions => \@results &> + + +
+ + + + + + + + +
+<&|/l&>Name: + + +
+<&|/l&>Description: + + +
+<&|/l&>Type: + +<& /Admin/Elements/SelectCustomFieldType, Name => "Type", Default => $CustomFieldObj->Type &> +
+ + +> <&|/l&>Enabled (Unchecking this box disables this custom field) +
+ +

+% if ($CustomFieldObj->Id and $CustomFieldObj->Type =~ /Select/) { +

<&|/l&>Values

+ +<& /Admin/Elements/EditCustomFieldValues, CustomField => $CustomFieldObj &> +<& /Admin/Elements/AddCustomFieldValue, CustomField => $CustomFieldObj &> + +% } +<&/Elements/Submit&> +
+ + + +<%INIT> + +my $CustomFieldObj = RT::CustomField->new($session{'CurrentUser'}); +my $EnabledChecked = "CHECKED"; +my (@results); + +if (! $CustomField ) { + $title = loc("Create a CustomField"); + $id = 'new'; +} else { + + if ($CustomField eq 'new') { + my ($val, $msg) = $CustomFieldObj->Create(Queue => $Queue, + Name => $Name, + Type => $Type, + Description => $Description, + ); + Abort(loc("Could not create CustomField", $msg)) unless ($val); + push @results, $msg; + $CustomFieldObj->SetSortOrder($CustomFieldObj->id); + $title = loc('Created CustomField [_1]', $CustomFieldObj->Name()); + } else { + $CustomFieldObj->Load($CustomField) || Abort(loc('No CustomField')); + $title = loc('Editing CustomField [_1]', $CustomFieldObj->Name()); + + my @aresults = ProcessCustomFieldUpdates ( + CustomFieldObj => $CustomFieldObj, + ARGSRef => \%ARGS ); + push @results, @aresults; + } + + +$id = $CustomFieldObj->id; + + #we're asking about enabled on the web page but really care about disabled. + my $Disabled = ($Enabled ? 0 : 1); + + if ( ($SetEnabled) and ( $Disabled != $CustomFieldObj->Disabled) ) { + my ($code, $msg) = $CustomFieldObj->SetDisabled($Disabled); + push @results, loc('Enabled status [_1]', loc_fuzzy($msg)); + } + + if ($CustomFieldObj->Disabled()) { + $EnabledChecked =""; + } + +} + + + +<%ARGS> +$id => undef +$title => undef +$Queue => undef +$CustomField => undef +$Type => undef +$Description => undef +$Name => undef +$SetEnabled => undef +$Enabled => undef + diff --git a/rt/html/Admin/Elements/EditCustomFieldValues b/rt/html/Admin/Elements/EditCustomFieldValues new file mode 100644 index 000000000..64564adfb --- /dev/null +++ b/rt/html/Admin/Elements/EditCustomFieldValues @@ -0,0 +1,42 @@ +%# BEGIN LICENSE BLOCK +%# +%# Copyright (c) 1996-2003 Jesse Vincent +%# +%# (Except where explictly superceded by other copyright notices) +%# +%# This work is made available to you under the terms of Version 2 of +%# the GNU General Public License. A copy of that license should have +%# been provided with this software, but in any event can be snarfed +%# from www.gnu.org. +%# +%# This work is distributed in the hope that it will be useful, but +%# WITHOUT ANY WARRANTY; without even the implied warranty of +%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +%# General Public License for more details. +%# +%# Unless otherwise specified, all modifications, corrections or +%# extensions to this work which alter its source code become the +%# property of Best Practical Solutions, LLC when submitted for +%# inclusion in the work. +%# +%# +%# END LICENSE BLOCK +<&|/l&>(Check box to delete) +
    +% while (my $v = $values->Next) { +
  • +<%$v->SortOrder%>: + +<%$v->Name%> +% if ($v->Description) { +(<%$v->Description%>) +% } +
  • +% } +
+<%init> +my $values = $CustomField->Values(); + +<%args> +$CustomField => undef + diff --git a/rt/html/Admin/Elements/EditCustomFields b/rt/html/Admin/Elements/EditCustomFields new file mode 100644 index 000000000..a86b051d0 --- /dev/null +++ b/rt/html/Admin/Elements/EditCustomFields @@ -0,0 +1,214 @@ +%# BEGIN LICENSE BLOCK +%# +%# Copyright (c) 1996-2003 Jesse Vincent +%# +%# (Except where explictly superceded by other copyright notices) +%# +%# This work is made available to you under the terms of Version 2 of +%# the GNU General Public License. A copy of that license should have +%# been provided with this software, but in any event can be snarfed +%# from www.gnu.org. +%# +%# This work is distributed in the hope that it will be useful, but +%# WITHOUT ANY WARRANTY; without even the implied warranty of +%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +%# General Public License for more details. +%# +%# Unless otherwise specified, all modifications, corrections or +%# extensions to this work which alter its source code become the +%# property of Best Practical Solutions, LLC when submitted for +%# inclusion in the work. +%# +%# +%# END LICENSE BLOCK +<& /Elements/ListActions, actions => \@actions &> + + + +
+<%$caption%>:
+
+% if ($CustomFields->Count == 0 ) { +

<&|/l&>(No custom fields)

+% } else { + + + + + +% my $count; +% while (my $CustomFieldObj = $CustomFields->Next) { +% # show 'move up' unless it's the first item +% if ($count++) { + +% } + + + +
+
    +% while (my $CustomFieldObj = $CustomFields->Next) { +
  • <%$CustomFieldObj->Name%> (<% $CustomFieldObj->FriendlyType %>)
    +<%$CustomFieldObj->Description%> +
  • +% } +
+
+<&|/l&>Move up +% } else { + +% } + +% # show 'move down' unless it's the last item +% if (!$CustomFields->IsLast) { +% $m->print(' | ') if $count > 1; +<&|/l&>Move down +% } +
+% } +
+% if ($id) { + +% } + <&|/l&>Include disabled custom fields in listing. + +
+ + +<%INIT> +my $CustomFields = RT::CustomFields->new($session{'CurrentUser'}); +my $QueueObj = RT::Queue->new($session{'CurrentUser'}); +my $caption; + +if ($id) { + $QueueObj->Load($id); +} + +if ($QueueObj->id) { + $CustomFields->LimitToQueue($id); +} +else { + $CustomFields->LimitToGlobal(); +} + +if ($FindDisabledCustomFields) { + $caption = loc("All Custom Fields"); + $CustomFields->{'find_disabled_rows'} = 1; +} else { + $caption = loc("Enabled Custom Fields"); +} + +# {{{ deal with moving sortorder of custom fields +if ($CustomField and $Move) { + my $SourceObj = RT::CustomField->new($session{'CurrentUser'}); + $SourceObj->Load($CustomField) || Abort(loc('No CustomField')); + + my $TargetObj; + my $target_order = $SourceObj->SortOrder + $Move; + while (my $CustomFieldObj = $CustomFields->Next) { + my $this_order = $CustomFieldObj->SortOrder; + + # if we have an exact match, finish the loop now + ($TargetObj = $CustomFieldObj, last) if $this_order == $target_order; + + # otherwise, we need to apropos toward the general direction + # ... first, check the sign is correct + next unless ($this_order - $SourceObj->SortOrder) * $Move > 0; + + # ... next, see if we already have a candidate + if ($TargetObj) { + # ... if yes, compare the delta and choose the smaller one + my $orig_delta = abs($TargetObj->SortOrder - $target_order); + my $this_delta = abs($this_order - $target_order); + next if $orig_delta < $this_delta; + } + + $TargetObj = $CustomFieldObj; + } + + if ($TargetObj) { + # swap their sort order + my ($s, $t) = ($SourceObj->SortOrder, $TargetObj->SortOrder); + $TargetObj->SetSortOrder($s); + $SourceObj->SetSortOrder($t); + # because order changed, we must redo search for subsequent uses + $CustomFields->RedoSearch; + } + + $CustomFields->GotoFirstItem; +} +# }}} + +# {{{ now process the 'copy queue' action +my @actions; +if ($Source and $Source ne $id) { + my $SourceQueue = RT::Queue->new($session{'CurrentUser'}); + $SourceQueue->Load($Source) || Abort(loc("Couldn't load queue")); + my $SourceCustomFields = RT::CustomFields->new($session{'CurrentUser'}); + $SourceCustomFields->LimitToQueue($SourceQueue->id); + + # delete old fields + foreach my $CustomFieldObj ( @{$CustomFields->ItemsArrayRef} ) { + $CustomFieldObj->Delete; + } + + # add new fields + while (my $SourceCustomFieldObj = $SourceCustomFields->Next) { + my $CustomFieldObj = RT::CustomField->new($session{'CurrentUser'}); + my ($val, $msg) = $CustomFieldObj->Create( + id => $SourceCustomFieldObj->id, + Queue => $id, + Name => $SourceCustomFieldObj->Name, + Type => $SourceCustomFieldObj->Type, + Description => $SourceCustomFieldObj->Description, + ); + Abort(loc("Could not create CustomField") . ": $msg") unless ($val); + push @actions, $msg; + + $CustomFieldObj->SetSortOrder($SourceCustomFieldObj->SortOrder); + + # add new values + my $values = $SourceCustomFieldObj->Values(); + while (my $v = $values->Next) { + my ( $addval, $addmsg ) = $CustomFieldObj->AddValue( + Name => $v->Name, + Description => $v->Description, + SortOrder => $v->SortOrder + ); + } + } + + # because content changed, we must redo search for subsequent uses + $CustomFields->RedoSearch; + $CustomFields->GotoFirstItem; +} +# }}} + +# {{{ deal with deleting existing custom fields +foreach my $key (keys %ARGS) { + # {{{ if we're trying to delete the custom field + if ($key =~ /^DeleteCustomField-(\d+)/) { + my $id = $1; + my $CustomFieldObj = RT::CustomField->new($session{'CurrentUser'}); + $CustomFieldObj->Load($id); + my ($retval, $msg) = $CustomFieldObj->Delete; + if ($retval) { + push @actions, loc("Custom field deleted"); + } + else { + push @actions, $msg; + } + } + # }}} +} +# }}} + + +<%ARGS> +$id => 0 +$title => undef +$Move => undef +$Source => undef +$CustomField => undef +$FindDisabledCustomFields => undef + diff --git a/rt/html/Admin/Elements/EditQueueWatchers b/rt/html/Admin/Elements/EditQueueWatchers new file mode 100644 index 000000000..db39bfb67 --- /dev/null +++ b/rt/html/Admin/Elements/EditQueueWatchers @@ -0,0 +1,55 @@ +%# BEGIN LICENSE BLOCK +%# +%# Copyright (c) 1996-2003 Jesse Vincent +%# +%# (Except where explictly superceded by other copyright notices) +%# +%# This work is made available to you under the terms of Version 2 of +%# the GNU General Public License. A copy of that license should have +%# been provided with this software, but in any event can be snarfed +%# from www.gnu.org. +%# +%# This work is distributed in the hope that it will be useful, but +%# WITHOUT ANY WARRANTY; without even the implied warranty of +%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +%# General Public License for more details. +%# +%# Unless otherwise specified, all modifications, corrections or +%# extensions to this work which alter its source code become the +%# property of Best Practical Solutions, LLC when submitted for +%# inclusion in the work. +%# +%# +%# END LICENSE BLOCK +%if ($Members->Count == 0 ) { +