Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|		           Documentation		             |
6
'|                                                   |
7
'=====================================================
8
%>
9
<%
10
Option explicit
11
' Good idea to set when using redirect
12
Response.Expires = 0	' always load the page, dont store
13
%>
14
<!--#include file="common/conf.asp"-->
15
<!--#include file="common/globals.asp"-->
16
<!--#include file="common/formating.asp"-->
17
<!--#include file="common/qstr.asp"-->
18
<!--#include file="common/common_subs.asp"-->
19
<!--#include file="common/common_dbedit.asp"-->
20
<!--#include file="_tabs.asp"-->
21
<!--#include file="_action_buttons.asp"-->
22
<!--#include file="common/_package_common.asp"-->
23
<%
24
'------------ ACCESS CONTROL ------------------
25
%>
26
<!--#include file="_access_control_general.asp"-->
27
<%
28
'------------ Variable Definition -------------
29
Dim rsTemp
30
Dim	rsQry
31
Dim retVal
32
'------------ Constants Declaration -----------
33
'------------ Variable Init -------------------
34
'----------------------------------------------
35
%>
36
<html>
37
<title><%=Title(Request("rtag_id"))%></title>
5357 dpurdie 38
<link rel="shortcut icon" href="<%=FavIcon%>"/>
119 ghuddy 39
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
40
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
41
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
42
<link rel="stylesheet" href="images/navigation.css" type="text/css">
43
<script language="JavaScript" src="images/common.js"></script>
44
<script language="JavaScript" src="scripts/remote_scripting.js"></script>
5085 dpurdie 45
<!--#include file="_jquery_includes.asp"-->
119 ghuddy 46
 
47
<!-- DROPDOWN MENUS -->
48
<!--#include file="_menu_def.asp"-->
49
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
50
</head>
51
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
52
<!-- MENU LAYERS -------------------------------------->
53
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
54
  <!----------------------------------------------------->
55
</div>
56
<!-- HEADER -->
57
<!--#include file="_header.asp"-->
58
<!-- BODY ---->
59
<table width="100%" border="0" cellspacing="0" cellpadding="0">
60
	<tr> 
61
		<td valign="top" width="1" background="images/bg_bage.gif">
62
		<!-- LEFT -->
63
		<!--#include file="_environment.asp"-->
64
		</td>
65
		<td width="1" bgcolor="#999999"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
66
		<td valign="top" width="100%">
67
		<!-- MIDDLE -->
68
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
69
		  <tr>
70
		    <td width="1%" background="images/bg_action_norm.gif"><IMG height=35 src="images/spacer.gif" width=15></td>
185 brianf 71
		    <td width="100%" background="images/bg_action_norm.gif"><%Call RenderActionBar(parRtag_id,parPv_id)%></td>
119 ghuddy 72
		    <td width="1%" background="images/bg_action_norm.gif"><IMG height=1 src="images/spacer.gif" width=15></td>
73
		  </tr>
183 brianf 74
          <tr>
75
            <td background="images/bg_lght_gray.gif"><IMG height="45" src="images/spacer.gif" width=1></td>
187 brianf 76
            <td background="images/bg_lght_gray.gif"><%Call RenderStatus(parRtag_id,parPv_id)%></td>
183 brianf 77
            <td background="images/bg_lght_gray.gif">&nbsp;</td>
78
          </tr>
119 ghuddy 79
		  <tr>
80
		    <td background="images/bg_lght_gray.gif">&nbsp;</td>
81
		    <td valign="bottom" background="images/bg_lght_gray.gif">
82
		      <table width="100" border="0" cellspacing="0" cellpadding="0">
83
		        <tr>
4687 dpurdie 84
		          <td><IMG height="1" src="images/spacer.gif" width="0" alt="tab-left-margin" ></td>
119 ghuddy 85
		          <td>
86
				  <!-- TABS ------------------------------------->
87
				  <%Call Generate_Tab_Menu ( TABarray1, "Documentation", "orange" )%>
88
				  </td>
89
		        </tr>
90
		      </table>
91
		    </td>
92
		    <td background="images/bg_lght_gray.gif">&nbsp;</td>
93
		  </tr>
94
		  <tr>
95
		    <td background="images/lbox_bg_orange.gif"><IMG height=35 src="images/spacer.gif" width=1></td>
96
		    <td background="images/lbox_bg_orange.gif">
97
			<!-- TAB ACTION BUTTONS ------------------------------------->
98
			<%Call Action_Buttons ( "Documentation" )%> 
99
			</td>
100
		    <td background="images/lbox_bg_orange.gif">&nbsp;</td>
101
		  </tr>
102
		  <tr>
103
		    <td></td>
104
		    <td valign="top">
105
			<!-- DETAILS ------------------------------------------------->
106
			<br> 					  
107
                        <span class="body_colb">Documentation</span><br>
108
                        <table width="100%" border="0" cellspacing="1" cellpadding="2">
109
                          <tr> 
110
							<td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">&nbsp;Download&nbsp;</td>
111
                            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">Title&nbsp;&nbsp;</td>
112
                            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">Document Number&nbsp;&nbsp;</td>
113
							<td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field">Version&nbsp;&nbsp;</td>
114
                            <td background="images/bg_form_lightbluedark.gif" nowrap width="100%" class="form_field">Created&nbsp;&nbsp;</td>
115
                            <td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field"></td>
116
							<td background="images/bg_form_lightbluedark.gif" nowrap width="1%" class="form_field"></td>
117
                          </tr>
118
                          <%
119
						  Dim sDocTitle, sDoc_version, dDoc_created, sLink
120
						  OraDatabase.Parameters.Add "PV_ID", parPv_id, 	ORAPARM_INPUT, ORATYPE_NUMBER 
121
 
122
						  Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("PackageDocumentation.sql"), cint(0))
123
						  %>
124
                          <%If rsTemp.RecordCount < 1 Then%>
125
                          <tr> 
126
                            <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
127
                            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
128
                            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
129
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
130
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
131
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
132
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
133
                          </tr>
134
                          <%End If%>
135
                          <%Do While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
136
						  	<%
137
							If IsNull(rsTemp("is_latest")) Then
138
								retVal =  Short_Document_Details ( rsTemp("doc_id"), sDocTitle, sDoc_version, dDoc_created  )
139
								sLink = DocRepositiryLinkOld & rsTemp("doc_id")
140
							Else
141
								retVal =  Lookup_Document ( rsTemp("doc_num"), sDocTitle, NULL, NULL, dDoc_created  )
142
								sLink = DocRepositiryLink & rsTemp("doc_num")
143
								sDoc_version = "Latest"
144
							End If
145
 
146
							If retVal <> 0 Then Exit Do
147
							%>
148
                          <tr>
149
							<td align="center" background="images/bg_form_lightgray.gif" class="form_item" valign="top"><a href="<%=sLink%>" target="_blank"><img src="images/i_download_small.gif" width="16" height="16" border="0" title="Download document from repository"></a></td>
150
                            <td nowrap background="images/bg_form_lightgray.gif" valign="top" class="form_item"><a href="<%=sLink%>" class="txt_linked" target="_blank"><%=sDocTitle%></a>&nbsp;&nbsp;</td>
151
                            <td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("doc_num")%></td>
152
							<td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=FormatVersion( sDoc_version )%></td>
153
							<td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=EuroDate ( dDoc_created )%></td>
154
							<td align="center" background="images/bg_form_lightgray.gif" class="form_item" valign="top"><a href="javascript:;" onClick="MM_openBrWindow('_wform_import_docs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&version_id=<%=rsTemp("doc_id")%>&doc_num=<%=Server.URLEncode( rsTemp("doc_num") )%>&action=true&edit=true','ImportDocs','resizable=yes,width=600,height=220')" ><img src="images/i_edit.gif" title="Edit" hspace="3" border="0"></a></td>
5190 dpurdie 155
                           	<td align="center" background="images/bg_form_lightgray.gif" class="form_item" valign="top"><a href="_remove_doc.asp?rtag_id=<%=parRtag_id%>&pv_id=<%=rsTemp("pv_id")%>&doc_id=<%=rsTemp("doc_id")%>" onClick="return vixConfirmDelete('this Document entry');"><img src="images/i_delete.gif" title="Remove from list" width="13" height="12" hspace="3" border="0"></a></td>
119 ghuddy 156
                          </tr>
157
                          <%rsTemp.MoveNext
158
						  Loop
159
						  rsTemp.Close
160
						  Set rsTemp = nothing
161
						  OraDatabase.Parameters.Remove "PV_ID"
162
						  %>
163
                        </table>
164
						<%If retVal <> 0 Then Response.write enumMSSQL_ERROR%>
165
                        <!------------------------------------------------------------>
166
           <br>
167
 
168
			<!-- END DETAILS ------------------------------------------------->
169
			</td>
170
		    <td>&nbsp;</td>
171
		  </tr>
172
		</table>
173
		<!-- END MIDDLE -------->
174
		</td>
175
	</tr>
176
</table>
177
 
178
<!-- FOOTER -->
179
<!--#include file="_footer.asp"-->
180
 
181
</body>
182
</html>			
183
<%
184
Call Destroy_All_Objects
185
%>