123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: ps
- (C) Copyright IBM Corp. 2005, 2019
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:dp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/presentation/"
- xmlns:utml="http://developer.cognos.com/schemas/xts/logicsheet/xslt/formlogic/"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:pf="http://developer.cognos.com/schemas/xts/pf"
- xmlns:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/"
- xmlns:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/"
- xmlns:df="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/framework/"
- xmlns:dt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/templates/"
- xmlns:eut="http://developer.cognos.com/schemas/xts/logicsheets/xslt/emailOptions/logicsheets/"
- xmlns:out="dummy-uri" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- exclude-result-prefixes="xsl dp utml xts pf cf cp df dt">
- <xsl:output method="xml" encoding="UTF-8" indent="no"/>
-
- <xsl:namespace-alias stylesheet-prefix="out" result-prefix="xsl"/>
- <!--
- ===============================================================================================
- eut:agentHeader - Header needed by the email options dialog when displayed in agent studio
- This was taken from ags/logicsheets/dialog.xsl
- ===============================================================================================
- -->
- <xsl:template match="eut:header">
- <script language="javascript">
- var sParamDelimiter = "<out:value-of select="xtsext:javascriptencode(string(key('system-param', 'delimiters')/@d1))"/>";
- var sNameValueDelimiter = "<out:value-of select="xtsext:javascriptencode(string(key('system-param', 'delimiters')/@d2))"/>";
- var sCookiePath = "<out:value-of select="xtsext:javascriptencode(string($cookie_path))"/>";
- var sCookieDomain = "<out:value-of select="xtsext:javascriptencode(string($cookie_domain))"/>";
- var sCookieSecure = "<out:value-of select="xtsext:javascriptencode(string($cookie_secure))"/>";
- var fHideFlyout = null;
- var sActiveFlyout = "";
-
- function dponclick(event)
- {
- if (fHideFlyout)
- {
- fHideFlyout();
- fHideFlyout = null;
- }
- return true;
- }
-
- function dponresize()
- {
- if (fHideFlyout)
- {
- fHideFlyout();
- fHideFlyout = null;
- }
- return true;
- }
- </script>
- <script language="javascript" src="{'{$webcontent}'}/{'{$app}'}/js/cookie_jar.js"/>
- <script language="javascript">
- function debug()
- {
- if (window.event.altKey)
- {
- if (getSessionValue("debug") != "1")
- setStateValue("debug", "1");
- else
- setStateValue("debug", "0");
- location.reload();
- }
- }
- </script>
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <td height="5px">
- <img border="0" alt="" src="{'{$webcontent}'}/images/space.gif" height="5"/>
- </td>
- </tr>
- <tr>
- <td>
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <td width="24px" height="24px" valign="middle" align="center">
- <!-- copy the contents of the dp image -->
- <xsl:copy-of select="./dp:image/*"/>
- </td>
- <td width="5px">
- <img border="0" alt="" src="{'{$webcontent}'}/images/space.gif" width="5px"/>
- </td>
- <td class="page_label">
- <!-- copy the contents of the dp:title -->
- <span onclick="debug()"><xsl:copy-of select="dp:title/child::node()"/></span>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td height="5px">
- <img border="0" alt="" src="{'{$webcontent}'}/images/space.gif" height="5"/>
- </td>
- </tr>
- <tr>
- <td>
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <td width="10px">
- <img border="0" alt="" src="{'{$webcontent}'}/images/space.gif" width="10px"/>
- </td>
- <td class="text2">
- <!-- copy the contents of the dp:description -->
- <xsl:copy-of select="./dp:description/*"/>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </xsl:template>
-
- <!-- the main engine -->
- <xsl:template match="*">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
|