editTitle.xts 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. BI and PM: qs
  5. (C) Copyright IBM Corp. 2001, 2017
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!--
  9. Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  10. Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  11. -->
  12. <xts:morphlet version="1.0" xmlns:xts="http://developer.cognos.com/schemas/xts/" messageBase="messages/QSRVUITextPL.xml,messages/portal.xml,messages/portalRL.xml" requiredCapability="canUseQueryStudio">
  13. <xts:block id="page" type="exec" mode="output" processor="XSLT" mimeType="text/html">
  14. <!-- get the debug logic sheet -->
  15. <xts:logicsheet path="logicsheets/debuglogic.xslt"/>
  16. <!-- get the new theme stuff -->
  17. <xts:logicsheet path="logicsheets/portal.xsl"/>
  18. <xts:logicsheet path="qs/logicsheets/dialogIncludes.xsl"/>
  19. <xts:logicsheet path="logicsheets/presentation/dialog/framework.xsl"/>
  20. <xts:logicsheet path="logicsheets/presentation/layout.xsl"/>
  21. <xts:logicsheet path="logicsheets/presentation/dialog/presentation.xsl"/>
  22. <xts:logicsheet path="logicsheets/presentation/controls/framework.xsl"/>
  23. <xts:logicsheet path="logicsheets/presentation/controls/presentation.xsl"/>
  24. <xts:logicsheet path="logicsheets/cm-logic.xsl"/>
  25. <!-- apply the form logic -->
  26. <xts:logicsheet path="logicsheets/formlogic.xslt"/>
  27. <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:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/" xmlns:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/" xmlns:dbg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/debug/" xmlns:qsdialog="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 cp cf dbg qsdialog xtsext">
  28. <xsl:import href="qs/logicsheets/markupTemplates.xsl"/>
  29. <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
  30. <!-- add any theme variables -->
  31. <df:variables/>
  32. <pf:variables/>
  33. <!-- start the output -->
  34. <xsl:template match="/root">
  35. <dp:page>
  36. <dp:script>
  37. <qsdialog:headerIncludes dlgSize="278" featureName="EditTitle"/>
  38. <script type="text/javascript">
  39. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/dialogs/editTitle.js</xsl:attribute>
  40. <xsl:text/>//<xsl:text/>
  41. </script>
  42. </dp:script>
  43. <form style="margin:0px" name="f" method="POST" onsubmit="return false;">
  44. <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
  45. <tr>
  46. <td width="100%" height="0%">
  47. <!-- dialog header -->
  48. <dp:header help="false">
  49. <!-- header titles -->
  50. <dp:title>
  51. <xts:string id="CHANGETITLE_TITLE"/>
  52. </dp:title>
  53. <!-- close link for the header -->
  54. <dp:close>
  55. <a href="javascript:goDialogManager.getWindowManager().hideDialogFrame()">
  56. <dp:closeMarker/>
  57. </a>
  58. </dp:close>
  59. <!-- description (hint text) -->
  60. <dp:description>
  61. <xts:string id="CHANGETITLE_DESCRIPTION"/>
  62. </dp:description>
  63. </dp:header>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td width="100%" height="100%" valign="top">
  68. <!-- layout -->
  69. <lyt:layout style="1" border="no">
  70. <lyt:section>
  71. <dp:input>
  72. <dp:section1>
  73. <xts:string id="CHANGETITLE_TITLE_LABEL"/>
  74. </dp:section1>
  75. <dp:section2>
  76. <input type="text" name="title_text" style="width:350px;"/>
  77. </dp:section2>
  78. </dp:input>
  79. </lyt:section>
  80. <lyt:section>
  81. <dp:input>
  82. <dp:section1>
  83. <xts:string id="CHANGETITLE_SUBTITLE_LABEL"/>
  84. </dp:section1>
  85. <dp:section2>
  86. <input type="text" name="subtitle_text" style="width:350px;"/>
  87. </dp:section2>
  88. </dp:input>
  89. </lyt:section>
  90. <lyt:section>
  91. <dp:choice>
  92. <dp:section1>
  93. <input type="checkbox" name="show_filters" value="text">
  94. <xts:string id="CHANGETITLE_SHOW_FILTERS"/>
  95. </input>
  96. </dp:section1>
  97. <dp:section2/>
  98. <dp:section1>
  99. <input type="checkbox" name="show_sorts" value="text">
  100. <xts:string id="CHANGETITLE_SHOW_SORTS"/>
  101. </input>
  102. </dp:section1>
  103. <dp:section2/>
  104. <dp:section1>
  105. <input type="checkbox" name="show_suppress" value="text">
  106. <xts:string id="CHANGETITLE_SHOW_SUPPRESSION"/>
  107. </input>
  108. </dp:section1>
  109. <dp:section2/>
  110. </dp:choice>
  111. </lyt:section>
  112. </lyt:layout>
  113. </td>
  114. </tr>
  115. <tr>
  116. <td width="100%" height="0%">
  117. <!-- Use default buttons [ OK = execute() and CANCEL = hideDialogFrame() ] -->
  118. <qsdialog:defaultButtons/>
  119. </td>
  120. </tr>
  121. <!-- <dbg:dumpxml select="/"/> -->
  122. </table>
  123. </form>
  124. </dp:page>
  125. </xsl:template>
  126. </xsl:stylesheet>
  127. </xts:block>
  128. </xts:morphlet>