Subversion Repositories DevTools

Rev

Rev 6612 | Rev 6616 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6612 Rev 6613
Line 51... Line 51...
51
      <!--
51
      <!--
52
        formTips.tips.h_dangling       = stdTip(300, 'Dangling Versions', 'Dangling package versions are versions of a package that have not been released and are not associated with any Release.' +
52
        formTips.tips.h_dangling       = stdTip(300, 'Dangling Versions', 'Dangling package versions are versions of a package that have not been released and are not associated with any Release.' +
53
                                                                  '<p>These are commonly caused by "Removing" a WIP instead of "Destroying" it.' + 
53
                                                                  '<p>These are commonly caused by "Removing" a WIP instead of "Destroying" it.' + 
54
                                                                  '<p>Please consider destroying these versions.' 
54
                                                                  '<p>Please consider destroying these versions.' 
55
                                                                  );
55
                                                                  );
56
        //
-
 
57
        //	Load/Hide/Show an Ajax expander
-
 
58
        //	BaseId - Base for two IDs.
-
 
59
        //			 IMG_BaseId - image to to toggle
-
 
60
        //			 BaseId - Div to load data into
-
 
61
        //	url - Url used to load subcontrol
-
 
62
        function ToggleUsedByControl(baseId, url)
-
 
63
        {
-
 
64
        	var img, dmode;
-
 
65
        	var imgel = MM_findObj("IMG_" + baseId);
-
 
66
        	var divel = MM_findObj(baseId);
-
 
67
        	var showing = divel.getAttribute("data-show");
-
 
68
        	if(showing == 1)
-
 
69
        	{
-
 
70
        		img = "images/bt_minus.gif";
-
 
71
        		dmode = 'block';
-
 
72
        		showing = 2
-
 
73
        	}
-
 
74
        	else if(showing == 2)
-
 
75
        	{
-
 
76
        		img = "images/bt_plus.gif";
-
 
77
        		dmode = 'none';
-
 
78
        		showing = 1;
-
 
79
        	}
-
 
80
        	else
-
 
81
        	{
-
 
82
        		img = "images/bt_minus.gif";
-
 
83
        		dmode = 'block';
-
 
84
        		showing = 2;
-
 
85
 
-
 
86
        		// Set div name for ajax loading
-
 
87
        		ajaxdivname = baseId;
-
 
88
 
-
 
89
        		//Create the xmlHttp object to use in the request
-
 
90
        		//stateChangeHandler will fire when the state has changed, i.e. data is received back
-
 
91
        		// This is non-blocking (asynchronous)
-
 
92
        		xmlHttp = GetXmlHttpObject(stateChangeHandler);
-
 
93
 
-
 
94
        		//Send the xmlHttp get to the specified url
-
 
95
        		xmlHttp_Get(xmlHttp, url);
-
 
96
        	}
-
 
97
        	// Update image and attributes
-
 
98
        	imgel.src = img;
-
 
99
        	divel.style.display = dmode;
-
 
100
        	divel.setAttribute("data-show", showing);
-
 
101
        }
-
 
102
      //-->
56
      //-->
103
      </script>
57
      </script>
104
      <style type="text/css">
58
      <style type="text/css">
105
      <!--
59
      <!--
106
      .style1 {
60
      .style1 {
Line 164... Line 118...
164
                                    divId = "userId_" & userId
118
                                    divId = "userId_" & userId
165
                                   pkgCount = rsTemp("counter")
119
                                   pkgCount = rsTemp("counter")
166
                                    %>
120
                                    %>
167
                                    <tr>
121
                                    <tr>
168
                                       <td nowrap class="form_item">
122
                                       <td nowrap class="form_item">
169
                                          <span class="txt_linked" onClick="ToggleUsedByControl('<%=divId%>','RequestUserDangle.asp?user_id=<%=userId%>');">
123
                                          <span class="txt_linked" onClick="ToggleLoadControl('<%=divId%>','RequestUserDangle.asp?user_id=<%=userId%>');">
170
                                                <img id=IMG_<%=divId%> src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3"></span>
124
                                                <img id=IMG_<%=divId%> src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3"></span>
171
                                                <%=emailField(enum_imgUserLg & rsTemp("full_name"), rsTemp("user_email"))%>
125
                                                <%=emailField(enum_imgUserLg & rsTemp("full_name"), rsTemp("user_email"))%>
172
                                       </td>
126
                                       </td>
173
                                       <td nowrap class="body_txt"><%=pkgCount%></td>
127
                                       <td nowrap class="body_txt"><%=pkgCount%></td>
174
                                    </tr>
128
                                    </tr>