Update of
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community
In directory james.mmbase.org:/tmp/cvs-serv9912/src/webapp/editors/community
Modified Files:
Tag: b1_5
listGroups.jsp listUsers.jsp userlist_addusertogroup.jsp
Log Message:
CMSC-1157 (Change something in jsp to make them show better in IE6.0)
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community
See also: http://www.mmbase.org/jira/browse/CMSC-1157
Index: listGroups.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/listGroups.jsp,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -u -b -r1.10 -r1.10.2.1
--- listGroups.jsp 22 Sep 2008 05:48:36 -0000 1.10
+++ listGroups.jsp 19 Nov 2008 08:37:06 -0000 1.10.2.1
@@ -15,7 +15,11 @@
</edit:ui-tabs>
<div class="editor">
<div class="body">
- <p><a href="${pageContext.request.contextPath
}/editors/community/groupInitAction.do" style=" padding-left:20px; background:
url(<cmsc:staticurl page='/editors/gfx/icons/new.png'/>) left center
no-repeat"><fmt:message key="community.search.newGroup"/></a><p>
+ <ul class="shortcuts">
+ <li class="new" style="text-decoration: none;">
+ <a href="${pageContext.request.contextPath
}/editors/community/groupInitAction.do"><fmt:message
key="community.search.newGroup"/></a>
+ </li>
+ </ul>
<html:form
action="/editors/community/searchConditionalGroupAction.do" method="post">
<table border="0">
<tbody>
Index: listUsers.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/listUsers.jsp,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -u -b -r1.18 -r1.18.2.1
--- listUsers.jsp 22 Sep 2008 05:55:04 -0000 1.18
+++ listUsers.jsp 19 Nov 2008 08:37:06 -0000 1.18.2.1
@@ -7,12 +7,22 @@
<script type="text/javascript" src="<cmsc:staticurl
page='/js/prototype.js'/>"></script>
<script type="text/javascript" src="js/formcheck.js"></script>
<script type="text/javascript">
- window.onload = function ()
- {
- Event.observe("selectform", "submit", function(e) {
- addToGroup("chk_", "<fmt:message
key="community.search.promptuser"/>", e)
- })
+ function addToGroup(){
+ var checkboxs = document.forms[1].getElementsByTagName("input");
+ var selected = false;
+ for(i = 0; i < checkboxs.length; i++) {
+ if(checkboxs[i].type == 'checkbox' &&
checkboxs[i].name.indexOf('chk_') == 0 && checkboxs[i].checked) {
+ selected = true;
+ break;
}
+ }
+ if(!selected){
+ alert("<fmt:message key="community.search.promptuser"/>");
+ return false;
+ }
+ return true;
+ }
+
</script>
</cmscedit:head>
@@ -28,16 +38,15 @@
<div class="editor">
<div class="body">
- <p>
<c:url var="addUserUrl" value="userAddInitAction.do">
<c:param name="forward" value="addCommunityUser"/>
<c:param name="path" value="${forwardPath}"/>
</c:url>
- <a href="${addUserUrl}"
- style=" padding-left:20px; background: url(<cmsc:staticurl
page='/editors/gfx/icons/new.png'/>) left center no-repeat"><fmt:message
- key="view.new.user"/>
- </a>
- </p>
+ <ul class="shortcuts">
+ <li class="new" style="text-decoration: none;">
+ <a href="${addUserUrl}"><fmt:message key="view.new.user"/></a>
+ </li>
+ </ul>
<html:form action="/editors/community/SearchConditionalUser.do"
method="post">
<[EMAIL PROTECTED] file="search_user_form_table.jspf" %>
</html:form>
Index: userlist_addusertogroup.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/userlist_addusertogroup.jsp,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -b -r1.11 -r1.11.2.1
--- userlist_addusertogroup.jsp 22 Sep 2008 05:48:36 -0000 1.11
+++ userlist_addusertogroup.jsp 19 Nov 2008 08:37:06 -0000 1.11.2.1
@@ -62,7 +62,7 @@
<fmt:message key="community.search.prompt" var="title">
<fmt:param value="${requestScope.groupName}" />
</fmt:message>
- <edit:ui-tab title="${title}" active="true"/>
+ <edit:ui-tab title="${title}" active="true">#</edit:ui-tab>
</edit:ui-tabs>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs