Subversion Repositories DevTools

Rev

Rev 4553 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4553 Rev 5357
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
Option explicit
3
Option explicit
4
Response.Expires = 0	' always load the page, dont store
4
Response.Expires = 0	' always load the page, dont store
5
%>
5
%>
6
<%
6
<%
7
'=====================================================
7
'=====================================================
8
'					ISSUE NOTES
8
'					ISSUE NOTES
9
'=====================================================
9
'=====================================================
10
%>
10
%>
11
<!--#include file="common/conf.asp"-->
11
<!--#include file="common/conf.asp"-->
12
<!--#include file="common/globals.asp"-->
12
<!--#include file="common/globals.asp"-->
13
<!--#include file="common/formating.asp"-->
13
<!--#include file="common/formating.asp"-->
14
<!--#include file="common/qstr.asp"-->
14
<!--#include file="common/qstr.asp"-->
15
<!--#include file="common/common_subs.asp"-->
15
<!--#include file="common/common_subs.asp"-->
16
<!--#include file="_tabs.asp"-->
16
<!--#include file="_tabs.asp"-->
17
<!--#include file="common/cq_common_subs.asp"-->
17
<!--#include file="common/cq_common_subs.asp"-->
18
<!--#include file="common/_popup_window_common.asp"-->
18
<!--#include file="common/_popup_window_common.asp"-->
19
<%
19
<%
20
'------------ ACCESS CONTROL ------------------
20
'------------ ACCESS CONTROL ------------------
21
%>
21
%>
22
<!--#include file="_access_control_general.asp"-->
22
<!--#include file="_access_control_general.asp"-->
23
<%
23
<%
24
'------------ Variable Definition -------------
24
'------------ Variable Definition -------------
25
Dim rsCQ
25
Dim rsCQ
26
Dim ddWidth
26
Dim ddWidth
27
Dim parIss_db
27
Dim parIss_db
28
Dim parIss_id
28
Dim parIss_id
29
'------------ Constants Declaration -----------
29
'------------ Constants Declaration -----------
30
'------------ Variable Init -------------------
30
'------------ Variable Init -------------------
31
Set pkgInfoHash = CreateObject("Scripting.Dictionary")
31
Set pkgInfoHash = CreateObject("Scripting.Dictionary")
32
Call Get_Iss_Parameters ( parIss_db, parIss_id )
32
Call Get_Iss_Parameters ( parIss_db, parIss_id )
33
ddWidth = 20
33
ddWidth = 20
34
'----------------------------------------------
34
'----------------------------------------------
35
%>
35
%>
36
<%
36
<%
37
Sub Get_Issue_Notes ( NNiss_db, NNiss_id, OOrsCQ )
37
Sub Get_Issue_Notes ( NNiss_db, NNiss_id, OOrsCQ )
38
    Dim SQLstr
38
    Dim SQLstr
39
    If Cint(NNiss_db) = enumCLEARQUEST_DEVI_ID Then
39
    If Cint(NNiss_db) = enumCLEARQUEST_DEVI_ID Then
40
        SQLstr = _
40
        SQLstr = _
41
        "SELECT dbid AS iss_id, new_num AS iss_num, headline AS summary, dbms_lob.substr( notes_log, 4000, 1 ) as notes_log"&_
41
        "SELECT dbid AS iss_id, new_num AS iss_num, headline AS summary, dbms_lob.substr( notes_log, 4000, 1 ) as notes_log"&_
42
        " FROM release_manager.CQ_software_issue si"&_
42
        " FROM release_manager.CQ_software_issue si"&_
43
        " WHERE si.dbid = "& NNiss_id
43
        " WHERE si.dbid = "& NNiss_id
44
    End If
44
    End If
45
    Set OOrsCQ = OraDatabase.DbCreateDynaset( SQLstr, cint(0))
45
    Set OOrsCQ = OraDatabase.DbCreateDynaset( SQLstr, cint(0))
46
End Sub
46
End Sub
47
%>
47
%>
48
<%
48
<%
49
Call Get_Issue_Notes ( parIss_db, parIss_id, rsCQ )
49
Call Get_Issue_Notes ( parIss_db, parIss_id, rsCQ )
50
%>
50
%>
51
<!--#include file="_menu_def.asp"-->
51
<!--#include file="_menu_def.asp"-->
52
<html>
52
<html>
53
<head>
53
<head>
54
<title>Release Manager</title>
54
<title>Release Manager</title>
55
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
55
<link rel="shortcut icon" href="<%=FavIcon%>"/>
56
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
56
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
57
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
57
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
58
<link rel="stylesheet" href="images/navigation.css" type="text/css">
58
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
59
<script language="JavaScript" src="images/common.js"></script>
59
<link rel="stylesheet" href="images/navigation.css" type="text/css">
60
<script language="JavaScript">
60
<script language="JavaScript" src="images/common.js"></script>
61
<!--
61
<script language="JavaScript">
62
function height()
62
<!--
63
{
63
function height()
64
	if( typeof( window.innerWidth ) == 'number' )
64
{
65
	{
65
	if( typeof( window.innerWidth ) == 'number' )
66
		h = window.innerHeight;
66
	{
67
	}
67
		h = window.innerHeight;
68
	else if(document.documentElement&&(document.documentElement.clientHeight ))
68
	}
69
	{
69
	else if(document.documentElement&&(document.documentElement.clientHeight ))
70
		h = document.documentElement.clientHeight;
70
	{
71
	}
71
		h = document.documentElement.clientHeight;
72
	else if( document.body &&	( document.body.clientWidth || document.body.clientHeight ) )
72
	}
73
	{
73
	else if( document.body &&	( document.body.clientWidth || document.body.clientHeight ) )
74
		h = document.body.clientHeight;
74
	{
75
	}
75
		h = document.body.clientHeight;
76
 
76
	}
77
	var e = document.getElementById("LayerDescription");
77
 
78
 
78
	var e = document.getElementById("LayerDescription");
79
	if (navigator.userAgent.indexOf('Internet Explorer'))
79
 
80
	{
80
	if (navigator.userAgent.indexOf('Internet Explorer'))
81
		e.style.height = h - 150 + "px";
81
	{
82
		e.style.overflow = "auto";
82
		e.style.height = h - 150 + "px";
83
	}
83
		e.style.overflow = "auto";
84
	else
84
	}
85
	{
85
	else
86
		// This line shouldn't be run by IE; it doesn't seem to work. It gets run in Firefox, etc.
86
	{
87
		e.style.minHeight= h - 150 + "px";
87
		// This line shouldn't be run by IE; it doesn't seem to work. It gets run in Firefox, etc.
88
		e.style.overflow = "auto";
88
		e.style.minHeight= h - 150 + "px";
89
	}
89
		e.style.overflow = "auto";
90
}
90
	}
91
//-->
91
}
92
</script>
92
//-->
93
 
93
</script>
94
 
94
 
95
</head>
95
 
96
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();height();" onresize="height();">
96
</head>
97
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
97
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();height();" onresize="height();">
98
  <tr>
98
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
99
    <td width="1%" background="images/bg_lght_gray.gif">&nbsp;</td>
99
  <tr>
100
    <td width="100%" background="images/bg_lght_gray.gif"><span class="form_field"><br>&nbsp;Issue</span>
100
    <td width="1%" background="images/bg_lght_gray.gif">&nbsp;</td>
101
      <input name="FRpname" type="text" class="form_item" size="12" value="<%=rsCQ("iss_num")%>" readonly>
101
    <td width="100%" background="images/bg_lght_gray.gif"><span class="form_field"><br>&nbsp;Issue</span>
102
      <input name="FRpname2" type="text" class="form_item" size="80" value="<%=rsCQ("summary")%>" readonly> </td>
102
      <input name="FRpname" type="text" class="form_item" size="12" value="<%=rsCQ("iss_num")%>" readonly>
103
  </tr>
103
      <input name="FRpname2" type="text" class="form_item" size="80" value="<%=rsCQ("summary")%>" readonly> </td>
104
  <tr>
104
  </tr>
105
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="400"></td>
105
  <tr>
106
    <td valign="top" background="images/bg_form_lightbluedark.gif">
106
    <td background="images/bg_lght_gray.gif"><img src="images/h_trsp_dot.gif" width="1" height="400"></td>
107
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
107
    <td valign="top" background="images/bg_form_lightbluedark.gif">
108
        <tr>
108
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
109
          <td align="right" background="images/bg_lght_gray.gif"><br>
109
        <tr>
110
            <!-- TABS ------------------------------------------->
110
          <td align="right" background="images/bg_lght_gray.gif"><br>
111
            <%Call Generate_Tab_Menu ( TABarray4, "Notes", "blue" )%>
111
            <!-- TABS ------------------------------------------->
112
            <!------------------------------------------------------------->
112
            <%Call Generate_Tab_Menu ( TABarray4, "Notes", "blue" )%>
113
          </td>
113
            <!------------------------------------------------------------->
114
        </tr>
114
          </td>
115
        <tr>
115
        </tr>
116
          <td background="images/lbox_bg_blue.gif">&nbsp;</td>
116
        <tr>
117
        </tr>
117
          <td background="images/lbox_bg_blue.gif">&nbsp;</td>
118
      </table><br>
118
        </tr>
119
      <table width="100%" border="0" cellspacing="5" cellpadding="1">
119
      </table><br>
120
        <tr>
120
      <table width="100%" border="0" cellspacing="5" cellpadding="1">
121
          <td background="images/bg_vtree_h1.gif">
121
        <tr>
122
		      <table width="100%" border="0" cellspacing="0" cellpadding="2">
122
          <td background="images/bg_vtree_h1.gif">
123
		        <tr>
123
		      <table width="100%" border="0" cellspacing="0" cellpadding="2">
124
		          <td bgcolor="White" class="form_item"><span class="form_field">Notes Log</span><br>
124
		        <tr>
125
					<div id="LayerDescription" style="height:height(); overflow: auto;">
125
		          <td bgcolor="White" class="form_item"><span class="form_field">Notes Log</span><br>
126
					<%
126
					<div id="LayerDescription" style="height:height(); overflow: auto;">
127
					If NOT IsNull(rsCQ("notes_log")) OR (rsCQ("notes_log") <> "") Then
127
					<%
128
						Response.write NewLine_To_BR( Server.HTMLEncode( rsCQ("notes_log") ) )
128
					If NOT IsNull(rsCQ("notes_log")) OR (rsCQ("notes_log") <> "") Then
129
					End If
129
						Response.write NewLine_To_BR( Server.HTMLEncode( rsCQ("notes_log") ) )
130
					%>
130
					End If
131
					</div>
131
					%>
132
				  </td>
132
					</div>
133
		        </tr>
133
				  </td>
134
		      </table>
134
		        </tr>
135
		  </td>
135
		      </table>
136
        </tr>
136
		  </td>
137
      </table><br>
137
        </tr>
138
	  </td>
138
      </table><br>
139
  </tr>
139
	  </td>
140
  <tr>
140
  </tr>
141
    <td background="images/bg_lght_gray.gif">&nbsp;</td>
141
  <tr>
142
    <td background="images/lbox_bg_blue.gif">&nbsp;</td>
142
    <td background="images/bg_lght_gray.gif">&nbsp;</td>
143
  </tr>
143
    <td background="images/lbox_bg_blue.gif">&nbsp;</td>
144
</table>
144
  </tr>
145
</body>
145
</table>
146
</html>
146
</body>
147
 
147
</html>
148
 
148
 
149
<!-- DESTRUCTOR ------->
149
 
150
<!--#include file="common/destructor.asp"-->
150
<!-- DESTRUCTOR ------->
-
 
151
<!--#include file="common/destructor.asp"-->