about.xts 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: AGS
  5. (C) Copyright IBM Corp. 2005, 2015
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <xts:morphlet version="1.0" xmlns:xts="http://developer.cognos.com/schemas/xts/" messageBase="messages/AGS.xml,messages/portal.xml,messages/portalRL.xml" requiredCapability="canUseEventStudio">
  9. <!--
  10. This morphlet (about.xts) consists of the following blocks:
  11. formlogic_init - update various /root/env level parameters based on new or changed /root/env parameters.
  12. format - render the product about page.
  13. -->
  14. <xts:block id="formlogic_init" type="exec" mode="interpret" processor="XSLT" path="logicsheets/formlogic_init.xslt"/>
  15. <xts:block id="format" dependency="formlogic_init" mode="output" processor="XSLT" type="exec" mimeType="text/html">
  16. <!-- get the debug logic sheet -->
  17. <xts:logicsheet path="logicsheets/debuglogic.xslt"/>
  18. <xts:logicsheet path="logicsheets/portal.xsl"/>
  19. <xts:logicsheet path="logicsheets/presentation/dialog/framework.xsl"/>
  20. <xts:logicsheet path="logicsheets/presentation/dialog/presentation.xsl"/>
  21. <xts:logicsheet path="logicsheets/presentation/layout.xsl"/>
  22. <xts:logicsheet path="logicsheets/formlogic.xslt"/>
  23. <xts:logicsheet path="logicsheets/presentation/touch_up.xslt"/>
  24. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xts="http://developer.cognos.com/schemas/xts/" xmlns:lyt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/layout/" xmlns:pf="http://developer.cognos.com/schemas/xts/pf" xmlns:dp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/presentation/" xmlns:df="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/framework/" xmlns:ca="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/centralabout/" xmlns:utml="http://developer.cognos.com/schemas/xts/logicsheet/xslt/formlogic/" xmlns:qsdlg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/qs/dialog/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt" exclude-result-prefixes="xsl xts lyt pf dp df ca utml qsdlg xtsext">
  25. <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
  26. <!-- add any theme variables -->
  27. <pf:variables/>
  28. <xsl:variable name="ags_image_root">../ags/images/</xsl:variable>
  29. <xsl:template match="/root">
  30. <xsl:text disable-output-escaping='yes'>&lt;!DOCTYPE html></xsl:text><dp:page>
  31. <!-- You need the form as a wrapepr to allow popup to show. CQ266139-->
  32. <utml:form name="pform" method="post" action="{$gateway}">
  33. <div style="width:100%;height:100%;cursor:default;margin:0;padding:0px" onclick="parent.doClosePopUp();">
  34. <img alt="" border="0" align="center" width="100%" style="margin:0px;padding:0px">
  35. <xsl:attribute name="src"><xsl:value-of select="$ags_image_root"/>AGS_<xsl:value-of select="/root/user/param[@name='productLocale']"/>.jpg</xsl:attribute>
  36. </img>
  37. </div>
  38. </utml:form>
  39. </dp:page>
  40. </xsl:template>
  41. </xsl:stylesheet>
  42. </xts:block>
  43. <!-- Debug -->
  44. <xts:block id="debug" type="exec" dependency="format" mode="output" condition=".[ /root/session/param[@name='debug'] = '1' ]" processor="XSLT" mandatory="false" mimeType="text/html">
  45. <xts:logicsheet path="logicsheets/debuglogic.xslt"/>
  46. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dbg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/debug/" exclude-result-prefixes="xsl dbg">
  47. <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
  48. <dbg:templates/>
  49. <xsl:template match="/">
  50. <dbg:dumpxml select="/root"/>
  51. </xsl:template>
  52. </xsl:stylesheet>
  53. </xts:block>
  54. </xts:morphlet>