Commit 1c29f31c authored by Ruslan Zakirov's avatar Ruslan Zakirov
Browse files

merge 3.6 -> 3.7-EXP

For a long time html/Elements/CollectionAsTable/ParseFormat has been parsing
/CLASS. Fix html/Elements/CollectionAsTable/Row to put that class on the <td>

r8671@cubic-pc (orig r8670):  nicholas | 2007-08-21 18:28:28 +0400
<div class="messagebody"> is opened within 
  foreach my $message ( grep { $_->Parent == $Parent } @$Attachments ) {
but was being closed (erroneously) just beyond the foreach. This could result
in lots of orphaned </div> tags.

r8672@cubic-pc (orig r8671):  nicholas | 2007-08-21 19:30:26 +0400
svn merge -r8090:8094 http://code.bestpractical.com/bps-public/rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Elements/EditCustomFields html/Ticket/Elements/EditCustomFields

    r8091 | ruz | 2007-07-10 21:44:12 +0000 (Tue, 10 Jul 2007) | 2 lines

    * get rid of Count call, use counter to figure out if we have even or odd number of CFs
    * use less nested tables

    r8093 | ruz | 2007-07-10 21:59:45 +0000 (Tue, 10 Jul 2007) | 1 line

    * skip a CF if user has no right to change it

r8673@cubic-pc (orig r8672):  ruz | 2007-08-21 20:03:53 +0400
* switch back to using paddings instead of margins,
  tables in title-boxes are screwed in IE
r8675@cubic-pc (orig r8674):  jesse | 2007-08-21 21:49:46 +0400
 r66194@pinglin:  jesse | 2007-08-21 13:49:09 -0400
  3.6.5 RC2

r8943@cubic-pc (orig r8942):  jesse | 2007-09-06 00:57:32 +0400
 r66993@pinglin:  jesse | 2007-09-05 16:44:11 -0400
 Fix to not update tickets multiple times when doing a selfservice posting.

r9077@cubic-pc (orig r9076):  sunnavy | 2007-09-18 00:52:39 +0400
fix bug 10273.
https://tickets.bestpractical.com/Ticket/Display.html?id=10273
we need `delete' the old values before setting new values.

r9082@cubic-pc (orig r9081):  sunnavy | 2007-09-18 09:13:09 +0400
added tests for set/add/del values for custom field with multiple 
values in command line
r9083@cubic-pc (orig r9082):  sunnavy | 2007-09-18 11:02:09 +0400
cleaned up a useless custom field for following tests
r9100@cubic-pc (orig r9099):  sunnavy | 2007-09-20 10:05:48 +0400
A multi-valued custom field should end up with multiple rows in
ObjectCustomFieldValues
r9101@cubic-pc (orig r9100):  sunnavy | 2007-09-20 10:55:33 +0400
remove buggy whitespaces following a comma
r9120@cubic-pc (orig r9119):  sunnavy | 2007-09-22 00:24:07 +0400
single value cf can be set rightly through bin/rt.
r9122@cubic-pc (orig r9121):  sunnavy | 2007-09-23 08:20:30 +0400
do the right way for view and modification of multiple value CF for cli
r9123@cubic-pc (orig r9122):  sunnavy | 2007-09-23 08:34:33 +0400
updated vsplit in accordance with our change to multiple value CF
r9140@cubic-pc (orig r9139):  jesse | 2007-09-24 19:42:34 +0400
 r67533@pinglin:  jesse | 2007-09-24 11:41:58 -0400
 RT-Ticket: 8563
 RT-Status: resolved
 RT-Update: correspond
 
 Updated Japanese translation from  y-iida@secom.co.jp
 

r9146@cubic-pc (orig r9145):  sunnavy | 2007-09-25 20:05:09 +0400
revert back for multiple cf values bug in cli, we need a branch for that
r9149@cubic-pc (orig r9148):  sunnavy | 2007-09-26 00:42:57 +0400
revert lib/t/regression/26command_line.t to drop multiple value cf tests
r9153@cubic-pc (orig r9152):  jesse | 2007-09-26 08:43:10 +0400
 r67594@pinglin:  jesse | 2007-09-26 00:42:44 -0400
  MIME::Tools removed a method from their public API. this works around it

r9191@cubic-pc (orig r9190):  jesse | 2007-10-02 01:09:35 +0400
 r27278@hualien:  jesse | 2007-10-01 17:08:31 -0400
 3.6.5 releng

r9193@cubic-pc (orig r9192):  jesse | 2007-10-02 22:09:30 +0400
 r27297@hualien:  jesse | 2007-10-02 14:08:53 -0400
 * HTML Table fixes from Dirk Pape (http://page.mi.fu-berlin.de/pape/rt3/patches/rt/3.6.4/rt3.6-xhtml-2.patch)

r9215@cubic-pc (orig r9214):  jesse | 2007-10-03 18:54:53 +0400
 r27337@hualien:  jesse | 2007-10-03 10:54:11 -0400
 New callbacks from Dirk Pape: http://page.mi.fu-berlin.de/pape/rt3/patches/rt/3.6.4/add_callbacks_to_admin_us
 ers.patch

r9246@cubic-pc (orig r9245):  sunnavy | 2007-10-08 22:11:19 +0400
added show_menu arg for Elements/Tabs and Elements/PageLayout, mainly for RTx-TicketBottomTabs
r9259@cubic-pc (orig r9258):  sunnavy | 2007-10-10 00:44:47 +0400
added current_tab arg for AfterShowHistory Callback in Ticket/Display.html
r9269@cubic-pc (orig r9268):  jesse | 2007-10-11 05:35:37 +0400
 r68037@h46055e4a:  jesse | 2007-10-10 19:45:05 -0500
  * A small fix to stop RT from complaining about categories when updating custom fields via the web ui.  Thanks to Brian Gallew

r9271@cubic-pc (orig r9270):  sunnavy | 2007-10-11 09:22:26 +0400
added AfterShowHistory Callback in Ticket/History.html
r9272@cubic-pc (orig r9271):  jesse | 2007-10-11 19:40:59 +0400
 r68059@pinglin:  jesse | 2007-10-11 11:40:39 -0400
 * We used the wrong variable name in html/Search/Chart (for fonts)
     Thanks to elacour at easter-eggs.com
 
 

r9363@cubic-pc (orig r9362):  sunnavy | 2007-10-19 23:23:08 +0400
Ticket/Create.html can handle clone function now
r9366@cubic-pc (orig r9365):  sunnavy | 2007-10-19 23:42:07 +0400
we shouldn't replace "\n" with whitespace if it's multiple type
r9381@cubic-pc (orig r9380):  sunnavy | 2007-10-20 11:06:24 +0400
don't overwrite %ARGS; don't add cloned ticket to parents by default
r9419@cubic-pc (orig r9418):  sartak | 2007-10-23 22:14:23 +0400
 r44066@onn:  sartak | 2007-10-23 14:14:02 -0400
 Allow Template->ParseContent to not require Ticket and Txn

r9422@cubic-pc (orig r9421):  ruz | 2007-10-24 00:41:07 +0400
* add closing tags for elements of lists
r9423@cubic-pc (orig r9422):  ruz | 2007-10-24 02:43:38 +0400
* pass a reference to @results into a callback, so extensions can fill it
r9424@cubic-pc (orig r9423):  ruz | 2007-10-24 02:44:53 +0400
* update docs
r9425@cubic-pc (orig r9424):  ruz | 2007-10-24 03:02:34 +0400
* move general if block into <%INIT>
r9426@cubic-pc (orig r9425):  ruz | 2007-10-24 03:03:34 +0400
* add missing </li>
r9427@cubic-pc (orig r9426):  ruz | 2007-10-24 03:05:52 +0400
* delete unused variable
r9429@cubic-pc (orig r9428):  ruz | 2007-10-24 04:12:43 +0400
* switch to /Elements/ShowLink
r9430@cubic-pc (orig r9429):  ruz | 2007-10-24 04:16:06 +0400
* oops, forgot commit one line, there is no $member anymore
r9446@cubic-pc (orig r9445):  tla | 2007-10-25 02:03:16 +0400
Save the transaction ID of the outgoing message transaction
r9447@cubic-pc (orig r9446):  tla | 2007-10-25 06:04:45 +0400
store the outgoing txn ID in  for later access
r9448@cubic-pc (orig r9447):  tla | 2007-10-25 06:20:11 +0400
don't want RecordOutgoingMailTransaction to be fatal to the scrip.
r9458@cubic-pc (orig r9457):  tla | 2007-10-25 13:33:58 +0400
refrain from shifting args off the argument array
r9461@cubic-pc (orig r9460):  tla | 2007-10-25 18:39:42 +0400
change comment
r9463@cubic-pc (orig r9462):  sunnavy | 2007-10-26 00:04:40 +0400
add a callback for SelfService/Elements/Tabs
r9472@cubic-pc (orig r9471):  tla | 2007-10-26 18:36:52 +0400
get rid of overly verbose debug statement
r9533@cubic-pc (orig r9532):  ruz | 2007-11-01 17:07:17 +0300
* convert mason comments into css comments
r9559@cubic-pc (orig r9558):  ruz | 2007-11-06 12:40:57 +0300
* revert rev. 9532 as we now more interested in mason comments instead of css comments
r9560@cubic-pc (orig r9559):  ruz | 2007-11-06 12:59:01 +0300
* don't send Last-Modified field in a response
* make cache public
r9561@cubic-pc (orig r9560):  ruz | 2007-11-06 13:03:32 +0300
* squish our CSS into one big thing use CSS::Squish and dhandler
r9611@cubic-pc (orig r9610):  ruz | 2007-11-07 00:30:42 +0300
* add Ticket/Elements/ShowQueue and use it on create and in ShowBasics,
  tiny comp for overriding in extensions
r9616@cubic-pc (orig r9615):  ruz | 2007-11-08 20:19:48 +0300
* align comments
r9617@cubic-pc (orig r9616):  audreyt | 2007-11-08 23:06:00 +0300
* Add new dep: CSS::Squish 0.06
r9618@cubic-pc (orig r9617):  ruz | 2007-11-09 01:38:33 +0300
* add max-age along to Expires
r9619@cubic-pc (orig r9618):  ruz | 2007-11-09 01:55:41 +0300
* RFC dictates to encode by chars, so if char is two octets then
  it MUST be in one chunk
r9620@cubic-pc (orig r9619):  ruz | 2007-11-09 02:05:04 +0300
* The <nobr> opening tag came before the IF statement,
  and the </nobr> closing tag was inside the IF statement.
  Thanks to Jason Long.
r9621@cubic-pc (orig r9620):  ruz | 2007-11-09 02:08:32 +0300
* In this case the <ul> was opened inside an IF block,
  but </ul> closed outside the IF block.
  Thanks to Jason Long.
r9624@cubic-pc (orig r9623):  audreyt | 2007-11-09 22:07:05 +0300
* MakeMIMEEntity now takes an optional "Type" field to denote
  the MIME Type of the body.  (Default to 'text/plain'.)

* CreateTicket() now supports $ARGS{ContentType}, and
  ProcessUpdateMessage() now supports $ARGS{UpdateContentType}.
r9626@cubic-pc (orig r9625):  ruz | 2007-11-09 22:57:37 +0300
* delete double width definition
* don't escape html
r9627@cubic-pc (orig r9626):  audreyt | 2007-11-09 23:06:09 +0300
* RT::Transaction_Overlay: Signatures in text/html content objects should be
  removed in a way that doesn't depend on whitespace.
  Also, remove an unneccessary regex capture.

r9628@cubic-pc (orig r9627):  audreyt | 2007-11-09 23:23:38 +0300
* _DecodeLOB: All text/* are treated as UTF-8, not only text/plain.
r9629@cubic-pc (orig r9628):  sartak | 2007-11-09 23:49:01 +0300
 r44879@onn:  sartak | 2007-11-09 15:48:26 -0500
 If there are no tickets found in a search, give an error-message image instead of silently failing to load.

r9640@cubic-pc (orig r9639):  audreyt | 2007-11-11 22:06:06 +0300
* RT::Transaction_Overlay: Unify the idea of "textual" MIME types
  to text/plain, text/html and message/*. (Previously it was defined
  differently for e.g. the first part and the other parts.)

* RT::Transaction_Overlay: Introduce the variable
  $RT::Transaction::PreferredContentType to control the context
  where ->Content() is evaluated in.  If not set, it defaults
  to text/plain.

r9641@cubic-pc (orig r9640):  audreyt | 2007-11-11 22:07:43 +0300
* RT::Action::SendEmail: Allow user-specified Content-Type
  in outgoing templates.  Currently, only text/* is supported
  for security reasons.  Eventually maybe multipart/* with
  all textual subparts might be allowed, too.
r9642@cubic-pc (orig r9641):  audreyt | 2007-11-11 22:58:21 +0300
* RT.pm.in: Add support for loading RT_Vendor.pm by default
  before RT_Local, for greater consistency.
r9643@cubic-pc (orig r9642):  audreyt | 2007-11-11 23:05:50 +0300
* RT::Transaction_Overlay: Be saner and allows explicitly
  calling $txn->Content(Type => 'text/html'), instead of
  relying on action-at-a-distance $PreferredContentType.
r9644@cubic-pc (orig r9643):  audreyt | 2007-11-12 10:52:35 +0300
* RT::Action::SendEmail - Minor comment typo: "use" ne "sue"
r9645@cubic-pc (orig r9644):  audreyt | 2007-11-12 10:56:43 +0300
* RT::I18N - Introduce a new utility function, IsTextualContentType($type),
  that determines whether $type can be sensibly converted to Unicode text.

  Currently it uses this regex (case-insensitively):

      ^(?:text/(?:plain|html)|message/rfc822)\b

  The idea is to unify all the inconsistent uses all over RT's code
  (some tested for text/*, some for text/plain|message/rfc822, some
  for text/plain|text/html|message/*) to use this function instead.

* Minor POD glitch - Say "function" when it said "method" but really wasn't.

r9646@cubic-pc (orig r9645):  audreyt | 2007-11-12 10:58:56 +0300
* RT::Record - _DecodeLOB now respects RT::I18N::IsTextualContentType.
r9647@cubic-pc (orig r9646):  audreyt | 2007-11-12 11:02:35 +0300
* RT::Attachment_Overlay - Fix several broken logic in ->OriginalContent:

    - When $self->ContentEncoding eq 'quoted-printable', a premature
      "return" prevented any encoding conversion from taking place.

    - A bogus Encode::_utf8_on($content) later prevented any encoding
      conversino from taking place _anyway_.

* $attachment->Quote now respects RT::I18N::IsTextualContentType.

r9648@cubic-pc (orig r9647):  audreyt | 2007-11-12 11:03:52 +0300
* RT::Transaction_Overlay - use RT::I18N::IsTextualContentType.
r9649@cubic-pc (orig r9648):  audreyt | 2007-11-12 23:46:09 +0300
* RT::Transaction->ContentObj - Prefer the first part that
  matches $PreferredContentType, instead of always 'text/plain'.
r9650@cubic-pc (orig r9649):  audreyt | 2007-11-12 23:48:07 +0300
* RT::Action::SendEmail - Support for multipart/* emails; we now
  textualify all MIME parts, instead of collapsing the whole multipart.
r9654@cubic-pc (orig r9653):  ruz | 2007-11-13 20:45:26 +0300
* we don't use some vars anymore so don't fool people
  by defining them in the %ARGS block
r9655@cubic-pc (orig r9654):  ruz | 2007-11-13 20:59:32 +0300
* add labeling of portlets that are based on components,
  it doesn't support localization, but it's better than empty label
* allow to manage many portlets that are based on the same
  comp by adding optional 'id' key
r9660@cubic-pc (orig r9659):  falcone | 2007-11-14 03:09:02 +0300
 r26553@ketch:  falcone | 2007-11-13 19:07:28 -0500
 * set the prefix so that CFs can be added during Group Creation

r9693@cubic-pc (orig r9692):  ruz | 2007-11-17 01:37:59 +0300
* minor
r9694@cubic-pc (orig r9693):  ruz | 2007-11-17 01:42:23 +0300
* unshift more global objects instead of pushing them,
  so we'll get them earlier in an upcoming refactoring
* do all things related to EquivObjects in HasRight and
  leave only checks in _HasRight
r9696@cubic-pc (orig r9695):  ruz | 2007-11-19 00:56:52 +0300
* add caching based on short keys
* split _HasRight into _HasGroupRight and _HasRoleRight
* use more queries for roles
r9716@cubic-pc (orig r9715):  ruz | 2007-11-21 04:27:25 +0300
* revert rev9654 as it breaks charts on home page
r9728@cubic-pc (orig r9727):  ruz | 2007-11-22 03:38:24 +0300
* add handling of arguments with multiple values into Widgets/SavedSearch
r9731@cubic-pc (orig r9730):  falcone | 2007-11-24 01:15:54 +0300
 r26864@ketch:  falcone | 2007-11-23 17:04:49 -0500
 * handle spaces in field names when doing rt ls

r9734@cubic-pc (orig r9733):  ruz | 2007-11-24 01:34:45 +0300
* oops, missed space during refactoring
r9742@cubic-pc (orig r9741):  ruz | 2007-11-24 04:25:55 +0300
* split WhoHaveRoleRights into more queries so buggy MySQL's
  optimizer can do the right thing
r9743@cubic-pc (orig r9742):  ruz | 2007-11-24 04:27:52 +0300
* bump required version of SB so people will get a fix that
  affect the latest change
r9768@cubic-pc (orig r9767):  jesse | 2007-11-30 22:08:42 +0300
 r72527@pinglin:  jesse | 2007-11-30 14:07:42 -0500
 * Updated dutch .po file from Marcel Kolkman

r9769@cubic-pc (orig r9768):  jesse | 2007-11-30 22:14:25 +0300
 r72537@pinglin:  jesse | 2007-11-30 14:13:55 -0500
 * Applied http://page.mi.fu-berlin.de/pape/rt3/patches/rt/3.6.5/less_warnings_in_error_log.patch from Dirk Pape to quiet some warnings

r9777@cubic-pc (orig r9776):  audreyt | 2007-12-02 02:09:56 +0300
* Elements/EmailInput - Beginning of refactoring toward Ajax mail
r9778@cubic-pc (orig r9777):  audreyt | 2007-12-02 05:15:21 +0300
* Email Autocompletion element.
r9779@cubic-pc (orig r9778):  audreyt | 2007-12-02 05:17:03 +0300
* Picture of autocompleted-field-background from jifty
r9780@cubic-pc (orig r9779):  audreyt | 2007-12-02 05:27:18 +0300
* Add the parts of scriptaculous we need for the autocompleter.
r9781@cubic-pc (orig r9780):  audreyt | 2007-12-02 05:30:10 +0300
* EmailInput: First cut at email completion widget.
r9782@cubic-pc (orig r9781):  audreyt | 2007-12-02 05:31:45 +0300
* Convert SelfService and Ticket Create/Update to EmailAutocomplete.
r9785@cubic-pc (orig r9784):  jesse | 2007-12-02 05:41:06 +0300
 r72598@pinglin:  jesse | 2007-12-01 21:40:32 -0500
 * reverting audrey's changes which were just pulled to the aberdeen branch

r9807@cubic-pc (orig r9806):  jesse | 2007-12-03 20:06:57 +0300
 r72604@pinglin:  jesse | 2007-12-03 12:06:40 -0500
 * Japanese translation updates from Shinji Yamane

r9808@cubic-pc (orig r9807):  jesse | 2007-12-04 00:05:08 +0300
* 3.6.6rc1

r9854@cubic-pc (orig r9853):  audreyt | 2007-12-09 08:19:10 +0300
 r18145@T (orig r9848):  audreyt | 2007-12-08 07:35:37 +0800
 * Massive internationalization fixes.
 r18146@T (orig r9849):  audreyt | 2007-12-08 07:39:06 +0800
 * zh_tw.po cleanup
 r18148@T (orig r9851):  audreyt | 2007-12-09 01:21:40 +0800
 * zh_tw.po: More L10N
 r18149@T (orig r9852):  audreyt | 2007-12-09 13:08:38 +0800
 * Full translation of zh_tw and zh_cn.

r9870@cubic-pc (orig r9869):  jesse | 2007-12-10 21:01:05 +0300
 r72886@pinglin:  jesse | 2007-12-10 13:00:49 -0500
 * Updated french translation from Emmanuel Lacour

r9871@cubic-pc (orig r9870):  jesse | 2007-12-10 21:45:31 +0300
 r72954@pinglin:  jesse | 2007-12-10 13:42:06 -0500
 * Sort Templates, Actions and Conditions by Name, as suggested by Steve Turner

r9872@cubic-pc (orig r9871):  jesse | 2007-12-10 21:45:46 +0300
 r72955@pinglin:  jesse | 2007-12-10 13:45:10 -0500
 RT-Ticket: 8702
 RT-Status: resolved
 RT-Update: correspond
 
 * Applied a small  html fix (missing </td>) from Steve Turner

r9880@cubic-pc (orig r9879):  sartak | 2007-12-11 16:13:27 +0300
 r48883@onn:  sartak | 2007-12-11 08:13:12 -0500
 Add a NoArrows option to selectionbox, for when order doesn't matter

r9883@cubic-pc (orig r9882):  sartak | 2007-12-11 16:37:35 +0300
 r48885@onn:  sartak | 2007-12-11 08:37:30 -0500
 Add an optional Clear button to SelectionBox

r9884@cubic-pc (orig r9883):  sartak | 2007-12-11 16:41:42 +0300
 r48889@onn:  sartak | 2007-12-11 08:41:35 -0500
 Allow the caller of Googleish searches to choose what queues go into the query

r9885@cubic-pc (orig r9884):  sartak | 2007-12-11 16:58:39 +0300
 r48891@onn:  sartak | 2007-12-11 08:58:32 -0500
 Add some callbacks to Simple Search

r9923@cubic-pc (orig r9922):  ruz | 2007-12-12 23:31:15 +0300
backport from 3.7

* add more tests to show that sorting by CF fails mark them as todo

r9924@cubic-pc (orig r9923):  ruz | 2007-12-12 23:32:51 +0300
* add definitions of new methods we have to share between Groups and Users classes
r9961@cubic-pc (orig r9960):  jesse | 2007-12-15 10:10:50 +0300
 r72958@pinglin:  jesse | 2007-12-10 13:57:04 -0500
 * Switch the REST interface to always show ticket times in minutes, rather than lose data
 

r9962@cubic-pc (orig r9961):  jesse | 2007-12-15 10:11:14 +0300
 r72961@pinglin:  jesse | 2007-12-10 14:58:08 -0500
 RT-Ticket: 8710
 RT-Status: resolved
 RT-Update correspond
 
 * Attached patch fixes a bug in decoding content-type headers that contain  encoded file names.

r9963@cubic-pc (orig r9962):  jesse | 2007-12-15 10:11:20 +0300
 r72962@pinglin:  jesse | 2007-12-10 15:05:42 -0500
 * Canonicalize a bunch of "Go" buttons to "Go!" 
 * Switched the approvals button from "Show Approvals" to "Go"

r9964@cubic-pc (orig r9963):  jesse | 2007-12-15 10:11:28 +0300
 r73110@pinglin:  jesse | 2007-12-14 13:54:52 -0500
 * Fix for a copy and paste bug when RT's config file was unreadable.
     Thanks to Maxime Henrion <mux@freebsd.org>

git-svn-id: svn+ssh://svn.bestpractical.com/svn/bps-public/rt/branches/3.7-EXPERIMENTAL@10109 e417ac7c-1bcc-0310-8ffa-8f5827389a85
parents 1bb0b0ed d1a84f03
......@@ -136,7 +136,7 @@
Description =>
'Create new tickets based on this scrip\'s template', # loc
ExecModule => 'CreateTickets', },
{ Name => 'Open Tickets',
{ Name => 'Open Tickets', # loc
Description => 'Open tickets on correspondence', # loc
ExecModule => 'AutoOpen' },
);
......
......@@ -86,7 +86,7 @@
<&|/l&>Include disabled custom fields in listing.</&>
<br />
<input type="submit" value="<% loc('Go') %>" />
<input type="submit" value="<% loc('Go!') %>" />
</form>
<%args>
......
......@@ -54,7 +54,7 @@
% if ($Scrips->Count == 0 ) {
<p><i><&|/l&>(No scrips)</&></i></p>
% } else {
<table>
<table width="100%">
<p><i><&|/l&>(Check box to delete)</&></i></p>
% while (my $scrip = $Scrips->Next ) {
......
......@@ -60,6 +60,7 @@
<%INIT>
my $ScripActions = RT::ScripActions->new($session{'CurrentUser'});
$ScripActions->UnLimit;
$ScripActions->OrderBy(FIELD => 'Name');
......
......@@ -60,7 +60,7 @@
<%INIT>
my $ScripConditions = RT::ScripConditions->new($session{'CurrentUser'});
$ScripConditions->UnLimit;
$ScripConditions->OrderBy(FIELD => 'Name');
</%INIT>
......
......@@ -69,10 +69,12 @@
my $PrimaryTemplates = RT::Templates->new($session{'CurrentUser'});
if ($Queue != 0) {
$PrimaryTemplates->LimitToQueue($Queue);
$PrimaryTemplates->OrderBy(FIELD => 'Name');
}
my $OtherTemplates = RT::Templates->new($session{'CurrentUser'});
$OtherTemplates->LimitToGlobal($DefaultQueue);
$OtherTemplates->OrderBy(FIELD => 'Name');
</%INIT>
<%ARGS>
......
......@@ -94,8 +94,8 @@
<li><input type="checkbox" class="checkbox" name="DeleteMember-<% $member->MemberId %>" value="1" />
<% $member->MemberObj->Object->Name %>
% }
% }
</ul>
% }
</td>
<td valign="top">
<& /Admin/Elements/SelectNewGroupMembers, Name => "AddMembers", Group => $Group,
......
......@@ -77,13 +77,17 @@
<tr valign="top"><td align="right">
<% $CF->Name %>:
</td><td>
<& /Elements/EditCustomField, CustomField => $CF, Object => $Group &>
<& /Elements/EditCustomField, CustomField => $CF,
Object => $Group,
($Create ? (NamePrefix => 'Object-RT::Group--CustomField-')
: () )&>
</td></tr>
% }
<tr>
<td colspan="2">
<input type="hidden" class="hidden" name="SetEnabled" value="1" />
<input type="checkbox" class="checkbox" name="Enabled" value="1" <%$EnabledChecked%> /> <&|/l&>Enabled (Unchecking this box disables this group)</&><br />
</td>
</tr>
% $m->callback( %ARGS, GroupObj => $Group, results => \@results );
</table>
......
......@@ -134,6 +134,7 @@
</table>
% }
</&>
<& /Elements/Callback, _CallbackName => 'LeftColumnBottom', UserObj => $UserObj, %ARGS &>
</td>
<td valign="top" class="boxcontainer">
......@@ -201,6 +202,7 @@
</td><td>
<input name="PagerPhone" value="<%$UserObj->PagerPhone%>" size="13" /><br />
</td>
</tr>
</table>
</&>
<br />
......@@ -218,10 +220,10 @@
% }
</td></tr>
% }
<tr>
</tr>
</table>
</&>
<& /Elements/Callback, _CallbackName => 'RightColumnBottom', UserObj => $UserObj, %ARGS &>
</td></tr>
<tr>
<td colspan="2">
<&| /Widgets/TitleBox, title => loc('Comments about this user') &>
......
......@@ -51,7 +51,7 @@
<& /Elements/ListActions, actions => \@actions &>
<form method="post">
<& Elements/PendingMyApproval, %ARGS &>
<& /Elements/Submit, Label => loc('Show Approvals') &>
<& /Elements/Submit, Label => loc('Go!') &>
</form>
<%init>
......
......@@ -57,6 +57,7 @@ $Class => 'RT__Ticket'
</%ARGS>
<%init>
$m->out('<tr class="' . ( $Warning ? 'warnline' : $i % 2 ? 'oddline' : 'evenline' ) . '" >' . "\n" );
use HTML::Entities;
my $item;
foreach my $column ( @Format ) {
if ( defined $column->{title} && $column->{title} eq 'NEWLINE' ) {
......@@ -73,8 +74,10 @@ foreach my $column ( @Format ) {
}
$item++;
$m->out('<td class="collection-as-table" ');
my $class = $column->{class}
? encode_entities($column->{class}, q{'"&<>})
: 'collection-as-table';
$m->out(qq{<td class="$class" });
$m->out( 'align="' . $column->{align} . '"' ) if $column->{align};
$m->out( 'style="' . $column->{style} . '"' ) if $column->{style};
$m->out('>');
......
......@@ -68,7 +68,6 @@
<td class="labeltop"><&|/l&>Depended on by</&>:</td>
<td class="value">
% while (my $link = $Object->DependedOnBy->Next) {
% my $member = $link->BaseObj;
<input type="checkbox" class="checkbox" name="DeleteLink-<%$link->Base%>-<%$link->Type%>-" value="1" />
<& ShowLink, URI => $link->BaseURI &><br />
% }
......
......@@ -58,7 +58,7 @@
% }
<link rel="shortcut icon" href="<%RT->Config->Get('WebImagesURL')%>/favicon.png" type="image/png" />
<link rel="stylesheet" href="<%RT->Config->Get('WebPath')%>/NoAuth/css/<% RT->Config->Get( 'WebDefaultStylesheet', $session{'CurrentUser'} ) %>/main.css" type="text/css" media="all" />
<link rel="stylesheet" href="<%RT->Config->Get('WebPath')%>/NoAuth/css/<% RT->Config->Get( 'WebDefaultStylesheet', $session{'CurrentUser'} ) %>/main-squished.css" type="text/css" media="all" />
<link rel="stylesheet" href="<%RT->Config->Get('WebPath')%>/NoAuth/css/print.css" type="text/css" media="print" />
% if ( $RSSAutoDiscovery ) {
......
......@@ -48,7 +48,7 @@
<table border="0" width="100%">
<tr valign="top">
<td class="boxcontainer"<% $summary ? ' width="70%"' : '' |n%>>
<td class="boxcontainer" <% $summary? 'width="70%"': '' |n %>>
% $show_cb->($_) foreach @$body;
</td>
......
......@@ -54,9 +54,11 @@
%# End of div#quickbar from /Elements/Header
</div>
% if ( $show_menu ) {
<div id="nav">
<& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &>
</div>
% }
<div id="header">
<h1><% $title %></h1>
......@@ -232,4 +234,5 @@ $tabs => undef
$actions => undef
$subactions => undef
$title => $m->callers(-1)->path
$show_menu => 1
</%ARGS>
......@@ -51,7 +51,7 @@
<td class="value">
<ul>
% while (my $Link = $Ticket->DependsOn->Next) {
<li><& ShowLink, URI => $Link->TargetURI &>
<li><& ShowLink, URI => $Link->TargetURI &></li>
% }
</ul>
</td>
......@@ -61,7 +61,7 @@
<td class="value">
<ul>
% while (my $Link = $Ticket->DependedOnBy->Next) {
<li><& ShowLink, URI => $Link->BaseURI &>
<li><& ShowLink, URI => $Link->BaseURI &></li>
% }
</ul>
</td>
......@@ -71,7 +71,7 @@
<td class="value">
<ul>
% while (my $Link = $Ticket->MemberOf->Next) {
<li><& ShowLink, URI => $Link->TargetURI &>
<li><& ShowLink, URI => $Link->TargetURI &></li>
% }
</ul>
</td>
......@@ -85,7 +85,7 @@
<td class="value">
<ul>
% while (my $Link = $Ticket->RefersTo->Next) {
<li><& ShowLink, URI => $Link->TargetURI &>
<li><& ShowLink, URI => $Link->TargetURI &></li>
% }
</ul>
</td>
......@@ -96,7 +96,7 @@
<ul>
% while (my $Link = $Ticket->ReferredToBy->Next) {
% next if (UNIVERSAL::isa($Link->BaseObj, 'RT::Ticket') && $Link->BaseObj->Type eq 'reminder');
<li><& ShowLink, URI => $Link->BaseURI &>
<li><& ShowLink, URI => $Link->BaseURI &></li>
% }
</ul>
</td>
......
......@@ -53,7 +53,8 @@
tabs => $tabs,
actions => $actions,
subactions => $subactions,
title => $Title
title => $Title,
show_menu => $show_menu,
&>
<a name="skipnav" id="skipnav" accesskey="8"></a>
<%INIT>
......@@ -119,4 +120,5 @@ $tabs => undef
$actions => undef
$subactions => undef
$Title => undef
$show_menu => 1
</%ARGS>
......@@ -51,22 +51,12 @@
.titlebox .titlebox-content {
margin-top: -1px;
padding: 1em 2em 0.5em 2em;
margin: 0;
/*margin: 1em 2em 0.5em 2em;*/
}
.titlebox .titlebox-content .titlebox-content table {
margin: 1em 2em 0.5em 2em;
}
.titlebox th {
font-size: 0.8em;
}
.titlebox .titlebox-content table {
}
.titlebox th { font-size: 0.8em; }
%# TRS: I wish there was a more elegant way to do this... I essentially need to
%# select all elements X that do NOT have element Y as a descendant... which I can
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment