Project

General

Profile

« Previous | Next » 

Revision 2802

Added by sgarg almost 19 years ago

Modified the resultpage to display the message sent in the post request

View differences:

lib/style/skins/esa/esa-resultset.xsl
35 35
  <xsl:param name="qformat">default</xsl:param>
36 36
  <xsl:param name="enableediting">false</xsl:param>
37 37
  <xsl:param name="isModerator">false</xsl:param>
38
  <xsl:param name="message"></xsl:param>
38 39
  <xsl:template match="/">
39 40
   <html>
40 41
      <head>
......
63 64
          insertSearchBox();
64 65
          ]]>
65 66
      </script>
66
        <table width="100%" align="center" border="0" cellpadding="5" cellspacing="0">
67
        <table width="100%" align="center" border="0" cellpadding="2" cellspacing="0">
67 68
           <tr>
68
             <td align="left"><br></br><p class="emphasis"><xsl:number value="count(resultset/document)" /> data packages found</p></td>
69
             <td align="left"><br></br><p class="emphasis"><xsl:value-of select="$message"/><br></br><xsl:number value="count(resultset/document)" /> data packages found</p></td>
69 70
           </tr></table>
70 71
<!-- This tests to see if there are returned documents,
71 72
            if there are not then don't show the query results -->
72 73

  
73 74
      <xsl:if test="count(resultset/document) &gt; 0">
74 75

  
75
         <table width="95%" align="center" border="0" cellpadding="0" cellspacing="0">
76
         <table width="99%" align="center" border="0" cellpadding="0" cellspacing="0">
76 77
           <tr>
77 78
             <th class="tablehead_lcorner" align="right" valign="top"><img src="@style-skins-path@/default/images/transparent1x1.gif" width="1" height="1" /></th>
78 79
             <th class="tablehead" style="text-align: left">Title</th>

Also available in: Unified diff