| 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 |
%>
|
| 6181 |
dpurdie |
26 |
<!--#include file="_access_control_login_optional.asp"-->
|
| 119 |
ghuddy |
27 |
<!--#include file="_access_control_general.asp"-->
|
|
|
28 |
<%
|
|
|
29 |
'------------ Variable Definition -------------
|
|
|
30 |
Dim rsTemp
|
|
|
31 |
Dim rsQry
|
|
|
32 |
Dim retVal
|
|
|
33 |
'------------ Constants Declaration -----------
|
|
|
34 |
'------------ Variable Init -------------------
|
|
|
35 |
'----------------------------------------------
|
|
|
36 |
%>
|
|
|
37 |
<html>
|
|
|
38 |
<title><%=Title(Request("rtag_id"))%></title>
|
| 5357 |
dpurdie |
39 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
| 119 |
ghuddy |
40 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
41 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 6579 |
dpurdie |
42 |
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
|
|
|
43 |
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
|
|
|
44 |
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
|
|
|
45 |
<script language="JavaScript" src="scripts/remote_scripting.js?ver=<%=VixVerNum%>"></script>
|
| 5085 |
dpurdie |
46 |
<!--#include file="_jquery_includes.asp"-->
|
| 119 |
ghuddy |
47 |
<!-- DROPDOWN MENUS -->
|
|
|
48 |
<!--#include file="_menu_def.asp"-->
|
| 6579 |
dpurdie |
49 |
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
|
| 119 |
ghuddy |
50 |
</head>
|
|
|
51 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
|
|
|
52 |
<!-- HEADER -->
|
|
|
53 |
<!--#include file="_header.asp"-->
|
|
|
54 |
<!-- BODY ---->
|
|
|
55 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
56 |
<tr>
|
| 6876 |
dpurdie |
57 |
<td class='bg_bage'>
|
| 119 |
ghuddy |
58 |
<!-- LEFT -->
|
|
|
59 |
<!--#include file="_environment.asp"-->
|
|
|
60 |
</td>
|
|
|
61 |
<td width="1" bgcolor="#999999"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
62 |
<td valign="top" width="100%">
|
|
|
63 |
<!-- MIDDLE -->
|
|
|
64 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
65 |
<tr>
|
|
|
66 |
<td width="1%" background="images/bg_action_norm.gif"><IMG height=35 src="images/spacer.gif" width=15></td>
|
| 185 |
brianf |
67 |
<td width="100%" background="images/bg_action_norm.gif"><%Call RenderActionBar(parRtag_id,parPv_id)%></td>
|
| 119 |
ghuddy |
68 |
<td width="1%" background="images/bg_action_norm.gif"><IMG height=1 src="images/spacer.gif" width=15></td>
|
|
|
69 |
</tr>
|
| 183 |
brianf |
70 |
<tr>
|
|
|
71 |
<td background="images/bg_lght_gray.gif"><IMG height="45" src="images/spacer.gif" width=1></td>
|
| 187 |
brianf |
72 |
<td background="images/bg_lght_gray.gif"><%Call RenderStatus(parRtag_id,parPv_id)%></td>
|
| 183 |
brianf |
73 |
<td background="images/bg_lght_gray.gif"> </td>
|
|
|
74 |
</tr>
|
| 119 |
ghuddy |
75 |
<tr>
|
|
|
76 |
<td background="images/bg_lght_gray.gif"> </td>
|
|
|
77 |
<td valign="bottom" background="images/bg_lght_gray.gif">
|
| 6873 |
dpurdie |
78 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 119 |
ghuddy |
79 |
<tr>
|
| 4687 |
dpurdie |
80 |
<td><IMG height="1" src="images/spacer.gif" width="0" alt="tab-left-margin" ></td>
|
| 6790 |
dpurdie |
81 |
<td align="left">
|
| 119 |
ghuddy |
82 |
<!-- TABS ------------------------------------->
|
|
|
83 |
<%Call Generate_Tab_Menu ( TABarray1, "Documentation", "orange" )%>
|
|
|
84 |
</td>
|
|
|
85 |
</tr>
|
|
|
86 |
</table>
|
|
|
87 |
</td>
|
|
|
88 |
<td background="images/bg_lght_gray.gif"> </td>
|
|
|
89 |
</tr>
|
| 6876 |
dpurdie |
90 |
<tr class='bg_panel' style="height:35px;">
|
| 6873 |
dpurdie |
91 |
<td></td>
|
|
|
92 |
<td>
|
|
|
93 |
<!-- TAB ACTION BUTTONS ------------------------------------->
|
| 119 |
ghuddy |
94 |
<%Call Action_Buttons ( "Documentation" )%>
|
| 6873 |
dpurdie |
95 |
</td>
|
|
|
96 |
<td></td>
|
|
|
97 |
</tr>
|
| 119 |
ghuddy |
98 |
<tr>
|
|
|
99 |
<td></td>
|
|
|
100 |
<td valign="top">
|
|
|
101 |
<!-- DETAILS ------------------------------------------------->
|
|
|
102 |
<br>
|
|
|
103 |
<span class="body_colb">Documentation</span><br>
|
| 6790 |
dpurdie |
104 |
<table width="100%" border="0" cellspacing="1" cellpadding="2" class=stdGrey>
|
|
|
105 |
<thead>
|
|
|
106 |
<tr>
|
|
|
107 |
<th nowrap width="1%"> Download </th>
|
|
|
108 |
<th nowrap width="1%">Title </th>
|
|
|
109 |
<th nowrap width="1%">Document Number </th>
|
|
|
110 |
<th nowrap width="1%">Version </th>
|
|
|
111 |
<th nowrap width="100%">Created </th>
|
|
|
112 |
<th nowrap width="1%"></th>
|
|
|
113 |
<th nowrap width="1%"></th>
|
|
|
114 |
</tr>
|
|
|
115 |
</thead>
|
| 119 |
ghuddy |
116 |
<%
|
|
|
117 |
Dim sDocTitle, sDoc_version, dDoc_created, sLink
|
|
|
118 |
OraDatabase.Parameters.Add "PV_ID", parPv_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
119 |
|
|
|
120 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("PackageDocumentation.sql"), cint(0))
|
|
|
121 |
%>
|
|
|
122 |
<%If rsTemp.RecordCount < 1 Then%>
|
|
|
123 |
<tr>
|
| 6790 |
dpurdie |
124 |
<td nowrap> </td>
|
|
|
125 |
<td> </td>
|
|
|
126 |
<td> </td>
|
|
|
127 |
<td> </td>
|
|
|
128 |
<td> </td>
|
|
|
129 |
<td> </td>
|
|
|
130 |
<td> </td>
|
| 119 |
ghuddy |
131 |
</tr>
|
|
|
132 |
<%End If%>
|
|
|
133 |
<%Do While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
|
|
|
134 |
<%
|
|
|
135 |
If IsNull(rsTemp("is_latest")) Then
|
|
|
136 |
retVal = Short_Document_Details ( rsTemp("doc_id"), sDocTitle, sDoc_version, dDoc_created )
|
|
|
137 |
sLink = DocRepositiryLinkOld & rsTemp("doc_id")
|
|
|
138 |
Else
|
|
|
139 |
retVal = Lookup_Document ( rsTemp("doc_num"), sDocTitle, NULL, NULL, dDoc_created )
|
|
|
140 |
sLink = DocRepositiryLink & rsTemp("doc_num")
|
|
|
141 |
sDoc_version = "Latest"
|
|
|
142 |
End If
|
|
|
143 |
|
|
|
144 |
If retVal <> 0 Then Exit Do
|
|
|
145 |
%>
|
|
|
146 |
<tr>
|
| 6790 |
dpurdie |
147 |
<td align="center" 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>
|
|
|
148 |
<td nowrap valign="top"><a href="<%=sLink%>" class="txt_linked" target="_blank"><%=sDocTitle%></a> </td>
|
|
|
149 |
<td nowrapvalign="top"><%=rsTemp("doc_num")%></td>
|
|
|
150 |
<td nowrapvalign="top"><%=FormatVersion( sDoc_version )%></td>
|
|
|
151 |
<td nowrapvalign="top"><%=DisplayDateTime ( dDoc_created )%></td>
|
| 6827 |
dpurdie |
152 |
<%BuildActionButtonClick TRUE, "", "Edit", FALSE, _
|
|
|
153 |
"src='images/i_edit.gif' width='13' height='12' hspace='3' border='0'",_
|
|
|
154 |
"MM_openVixIFrame('_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','Import Documents')"%>
|
|
|
155 |
|
|
|
156 |
<%BuildActionButtonClick TRUE, "", "Remove from list", FALSE, _
|
|
|
157 |
"src='images/i_delete.gif' width='13' height='12' hspace='3' border='0'",_
|
|
|
158 |
"vixConfirm('Are you sure you want to delete this Document?', {url : '"& "_remove_doc.asp?rtag_id=" & parRtag_id & "&pv_id=" & rsTemp("pv_id") & "&doc_id=" & rsTemp("doc_id") &"'})"
|
|
|
159 |
%>
|
| 119 |
ghuddy |
160 |
</tr>
|
|
|
161 |
<%rsTemp.MoveNext
|
|
|
162 |
Loop
|
|
|
163 |
rsTemp.Close
|
|
|
164 |
Set rsTemp = nothing
|
|
|
165 |
OraDatabase.Parameters.Remove "PV_ID"
|
|
|
166 |
%>
|
|
|
167 |
</table>
|
|
|
168 |
<%If retVal <> 0 Then Response.write enumMSSQL_ERROR%>
|
|
|
169 |
<!------------------------------------------------------------>
|
|
|
170 |
<br>
|
|
|
171 |
|
|
|
172 |
<!-- END DETAILS ------------------------------------------------->
|
|
|
173 |
</td>
|
|
|
174 |
<td> </td>
|
|
|
175 |
</tr>
|
|
|
176 |
</table>
|
|
|
177 |
<!-- END MIDDLE -------->
|
|
|
178 |
</td>
|
|
|
179 |
</tr>
|
|
|
180 |
</table>
|
|
|
181 |
<!-- FOOTER -->
|
|
|
182 |
<!--#include file="_footer.asp"-->
|
|
|
183 |
</body>
|
|
|
184 |
</html>
|