~ubuntu-branches/ubuntu/natty/otrs2/natty-security

« back to all changes in this revision

Viewing changes to Kernel/Output/HTML/Standard/AgentTicketZoom.dtl

  • Committer: Package Import Robot
  • Author(s): Tyler Hicks
  • Date: 2012-09-07 09:56:33 UTC
  • Revision ID: package-import@ubuntu.com-20120907095633-pz6m6h287xh9p161
Tags: 2.4.9+dfsg1-3+squeeze3build0.11.04.1
fake sync from Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# --
2
2
# AgentTicketZoom.dtl - provides HTML for AgentTicketZoom.pm
3
 
# Copyright (C) 2001-2010 OTRS AG, http://otrs.org/
 
3
# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
4
4
# --
5
 
# $Id: AgentTicketZoom.dtl,v 1.62.2.2 2010/01/31 16:41:01 ub Exp $
 
5
# $Id: AgentTicketZoom.dtl,v 1.62.2.4 2012/08/17 09:00:01 mg Exp $
6
6
# --
7
7
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
8
8
# the enclosed file COPYING for license information (AGPL). If you
35
35
            -
36
36
<!-- dtl:block:MenuItemSplit -->
37
37
<!-- dtl:block:MenuItem -->
38
 
            <a href="$Env{"Baselink"}$Data{"Link"}" $Data{"LinkParam"} onmouseover="window.status='$JSText{"$QData{"Name"}"}'; return true;" onmouseout="window.status='';" class="menuitem" title="$Text{"$QData{"Description"}"}">$Text{"$QData{"Name"}"}</a>
 
38
            <a href="$Env{"Baselink"}$Data{"Link"}" $Data{"LinkParam"} onmouseover="window.status='$JSText{"$Data{"Name"}"}'; return true;" onmouseout="window.status='';" class="menuitem" title="$Text{"$Data{"Description"}"}">$Text{"$Data{"Name"}"}</a>
39
39
<!-- dtl:block:MenuItem -->
40
40
<!-- dtl:block:Menu -->
41
41
        </td>
71
71
                    <td>
72
72
                        <table border="0" width="100%" cellspacing="0" cellpadding="1">
73
73
<!-- dtl:block:TreeItem -->
74
 
                            <tr class="$QData{"SenderType"}-$QData{"ArticleType"}" onmouseover="this.className='highlight';" onmouseout="this.className='$QData{"SenderType"}-$QData{"ArticleType"}';">
 
74
                            <tr class="$QData{"SenderType"}-$QData{"ArticleType"}" onmouseover="this.className='highlight';" onmouseout="this.className=' $QData{"SenderType"}-$QData{"ArticleType"}';">
75
75
                                <td class="small">
76
76
                                    <div title="$QData{"From","70"}: $QData{"Subject","200"} - $TimeShort{"$QData{"Created"}"}">
77
 
                                        $Data{"Start2"}$Data{"Space"}$Data{"Stop2"}$Data{"Start"}$Data{"Start2"}&nbsp;$QData{"Count"}.&nbsp;$Data{"Stop2"}&nbsp;<a href="$Env{"Baselink"}Action=AgentTicketZoom&TicketID=$QData{"TicketID"}&ArticleID=$QData{"ArticleID"}&ZoomExpand=$LQData{"ZoomExpand"}#$QData{"ArticleID"}" onmouseover="window.status='$JSText{"$QData{"SenderType"}"} ($Text{"$QData{"ArticleType"}"})'; return true;" onmouseout="window.status='';">$Text{"$QData{"SenderType"}"}&nbsp;($Text{"$QData{"ArticleType"}"})</a>$Data{"Stop"}
 
77
                                        $Data{"Start2"}$Data{"Space"}$Data{"Stop2"}$Data{"Start"}$Data{"Start2"}&nbsp;$QData{"Count"}.&nbsp;$Data{"Stop2"}&nbsp;<a href="$Env{"Baselink"}Action=AgentTicketZoom&TicketID=$QData{"TicketID"}&ArticleID=$QData{"ArticleID"}&ZoomExpand=$LQData{"ZoomExpand"}#$QData{"ArticleID"}" onmouseover="window.status='$JSText{"$Data{"SenderType"}"} ($Text{"$Data{"ArticleType"}"})'; return true;" onmouseout="window.status='';">$Text{"$Data{"SenderType"}"}&nbsp;($Text{"$Data{"ArticleType"}"})</a>$Data{"Stop"}
78
78
<!-- dtl:block:TreeItemEmail -->
79
79
                                        (<a href="$Env{"Baselink"}Action=AgentTicketPlain&TicketID=$QData{"TicketID"}&ArticleID=$QData{"ArticleID"}" onmouseover="window.status='$JSText{"plain"}'; return true;" onmouseout="window.status='';" title="$Text{"plain"}">$Text{"plain"}</a>)
80
80
<!-- dtl:block:TreeItemEmail -->
155
155
                                            <td>$QData{"Filename"}</td>
156
156
                                            <td>
157
157
<!-- dtl:block:ArticleAttachmentRowLink -->
158
 
                                                <a href="$Data{"Link"}" $Data{"Target"} onmouseover="window.status='$JSText{"$QData{"Action"}"}: $JSText{"$QData{"Filename"}"}';return true;" onmouseout="window.status='';"><img src="$Config{"Frontend::ImagePath"}$QData{"Image"}" border="0" alt="$Text{"$QData{"Action"}"}" title="$Text{"$QData{"Action"}"}"></a>
 
158
                                                <a href="$Data{"Link"}" $Data{"Target"} onmouseover="window.status='$JSText{"$Data{"Action"}"}: $JSText{"$Data{"Filename"}"}';return true;" onmouseout="window.status='';"><img src="$Config{"Frontend::ImagePath"}$QData{"Image"}" border="0" alt="$Text{"$Data{"Action"}"}" title="$Text{"$Data{"Action"}"}"></a>
159
159
<!-- dtl:block:ArticleAttachmentRowLink -->
160
160
<!-- dtl:block:ArticleAttachmentRowNoLink -->
161
 
                                                <img src="$Config{"Frontend::ImagePath"}$QData{"Image"}" border="0" alt="$Text{"$QData{"Action"}"}" title="$Text{"$QData{"Action"}"}">
 
161
                                                <img src="$Config{"Frontend::ImagePath"}$QData{"Image"}" border="0" alt="$Text{"$Data{"Action"}"}" title="$Text{"$Data{"Action"}"}">
162
162
<!-- dtl:block:ArticleAttachmentRowNoLink -->
163
163
                                            </td>
164
164
                                            <td align="right">$QData{"Filesize"}</td>
198
198
                            }
199
199
                            //-->
200
200
                            </script>
201
 
                            <iframe width="100%" frameborder="0" border="0" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" style="width: 100%;" id="iframe$QData{"ArticleID"}" onload="IframeAutoHeight('iframe$QData{"ArticleID"}');" src="$Env{"Baselink"}Action=AgentTicketAttachment&Subaction=HTMLView&ArticleID=$QData{"ArticleID"}&FileID=$QData{"AttachmentIDOfHTMLBody"}"></iframe>
 
201
# Use the HTML5 sandbox attribute to prevent plugins and scripts from being executed in the browser.
 
202
# Use IE's (non-standard) security attribute to achieve something similar in older IE browsers. Append session info to URL because IE will not send cookies.
 
203
                            <iframe sandbox="allow-same-origin" security="restricted" width="100%" frameborder="0" border="0" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" style="width: 100%;" id="iframe$QData{"ArticleID"}" onload="IframeAutoHeight('iframe$QData{"ArticleID"}');" src="$Env{"Baselink"}Action=AgentTicketAttachment&Subaction=HTMLView&ArticleID=$QData{"ArticleID"}&FileID=$QData{"AttachmentIDOfHTMLBody"}&$QEnv{"SessionName"}=$QEnv{"SessionID"}"></iframe>
202
204
                        </div>
203
205
<!-- dtl:block:BodyHTML -->
204
206
                    </td>
419
421
# use this if you want to show TicketFreeTime1-6
420
422
<!-- dtl:block:TicketFreeTime -->
421
423
                <tr valign="top">
422
 
                    <td><b>$Text{"$QData{"TicketFreeTimeKey"}"}:</b></td>
 
424
                    <td><b>$Text{"$Data{"TicketFreeTimeKey"}"}:</b></td>
423
425
                    <td><div title="$TimeShort{"$QData{"TicketFreeTime"}"}">$TimeShort{"$QData{"TicketFreeTime"}"}</div></td>
424
426
                </tr>
425
427
<!-- dtl:block:TicketFreeTime -->
510
512
# check if split should be shown
511
513
<!-- dtl:block:AgentArticleComPhone -->
512
514
                                        <dtl if ($Data{"SenderType"} eq "customer") { $Data{"ArticleSplitString"} = "Split"; }>
513
 
                                        <a href="$Env{"Baselink"}Action=AgentTicketPhone&ArticleID=$Data{"ArticleID"}&QueueID=$Data{"QueueID"}&LinkTicketID=$QData{"TicketID"}" onmouseover="window.status='$JSText{"Split"}'; return true;" onmouseout="window.status='';">$Text{"$Data{"ArticleSplitString"}"}</a>
 
515
                                        <a href="$Env{"Baselink"}Action=AgentTicketPhone&TicketID=$Data{"TicketID"}&ArticleID=$Data{"ArticleID"}&QueueID=$Data{"QueueID"}&LinkTicketID=$QData{"TicketID"}" onmouseover="window.status='$JSText{"Split"}'; return true;" onmouseout="window.status='';">$Text{"$Data{"ArticleSplitString"}"}</a>
514
516
<!-- dtl:block:AgentArticleComPhone -->
515
517
                                    </td>
516
518
                                </tr>