deleteConfirm.xts 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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="300" featureName="Delete"/>
  38. <link href="{$skin_root}/prompting/promptCommon.css" type="text/css" rel="stylesheet"/>
  39. <script type="text/javascript">
  40. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/dialogs/deleteConfirm.js</xsl:attribute>
  41. <xsl:text/>//<xsl:text/>
  42. </script>
  43. <script type="text/javascript">
  44. var gaDialogStrings = new Array();
  45. gaDialogStrings[0] = "<xts:string id="DELETE_CONFIRM_SORT_ASCENDING" encode="javascript"/>";
  46. gaDialogStrings[1] = "<xts:string id="DELETE_CONFIRM_SORT_DESCENDING" encode="javascript"/>";
  47. gaDialogStrings[2] = "<xts:string id="DELETE_CONFIRM_SORT_ASCENDING_BASED_ON" encode="javascript"/>";
  48. gaDialogStrings[3] = "<xts:string id="DELETE_CONFIRM_SORT_DESCENDING_BASED_ON" encode="javascript"/>";
  49. </script>
  50. </dp:script>
  51. <form style="margin:0px" name="f" method="POST" onsubmit="execute();return false;">
  52. <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
  53. <tr>
  54. <td width="100%" height="0%">
  55. <!-- dialog header -->
  56. <dp:header help="false">
  57. <!-- header titles -->
  58. <dp:title>
  59. <xts:string id="DELETE_CONFIRM_TITLE"/>
  60. </dp:title>
  61. <!-- close link for the header -->
  62. <dp:close>
  63. <a href="javascript:goDialogManager.getWindowManager().hideDialogFrame()">
  64. <dp:closeMarker/>
  65. </a>
  66. </dp:close>
  67. <!-- description (hint text) -->
  68. <dp:description/>
  69. </dp:header>
  70. </td>
  71. </tr>
  72. <tr>
  73. <td valign="top">
  74. <!-- layout -->
  75. <lyt:layout style="1" border="no">
  76. <lyt:section>
  77. <dp:input>
  78. <dp:section1/>
  79. <dp:section2>
  80. <xts:string id="DELETE_CONFIRM_EXPLANATION_LINE_1"/>
  81. <br/>
  82. <xts:string id="DELETE_CONFIRM_EXPLANATION_LINE_2"/>
  83. </dp:section2>
  84. </dp:input>
  85. <br/>
  86. </lyt:section>
  87. </lyt:layout>
  88. </td>
  89. </tr>
  90. <tr>
  91. <td width="100%" height="100%">
  92. <table border="0" cellspacing="0" cellpadding="0" height="100%" width="60%" style="margin-left:10px">
  93. <tr>
  94. <td class="formLabel">
  95. <xts:string id="DELETE_CONFIRM_DELETE_THE_FOLLOWING"/>
  96. </td>
  97. </tr>
  98. <tr>
  99. <td style="width:100%;height:100%;padding:2px;">
  100. <div id="deleteSelectList" style="width:100%;height:100%;vertical-align:top;overflow:auto;border:2px inset threedhighlight;"/>
  101. </td>
  102. </tr>
  103. <tr>
  104. <td style="text-align:right;" nowrap="nowrap">
  105. <A style="margin-right:10px;" href="javascript:deleteSelectAll()" class="clsLink"><xts:string id="DIALOG_SELECT_ALL"/></A>
  106. <A style="margin-right:10px;" href="javascript:deleteDeselectAll()" class="clsLink"><xts:string id="DIALOG_DESELECT_ALL"/></A>
  107. </td>
  108. </tr>
  109. </table>
  110. </td>
  111. </tr>
  112. <tr>
  113. <td width="100%" height="0%">
  114. <qsdialog:defaultButtons/>
  115. </td>
  116. </tr>
  117. <!-- <dbg:dumpxml select="/"/> -->
  118. </table>
  119. </form>
  120. </dp:page>
  121. </xsl:template>
  122. </xsl:stylesheet>
  123. </xts:block>
  124. </xts:morphlet>