Update of /cvsroot/roller/roller/web/weblog
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7247/web/weblog
Modified Files:
WeblogEdit.jsp
Log Message:
Tweaked PagePlugins, and added "help text"/description to UI.
Index: WeblogEdit.jsp
===================================================================
RCS file: /cvsroot/roller/roller/web/weblog/WeblogEdit.jsp,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** WeblogEdit.jsp 8 Jul 2004 19:36:56 -0000 1.18
--- WeblogEdit.jsp 14 Jul 2004 01:30:56 -0000 1.19
***************
*** 132,136 ****
<%-- EDIT MODE --%>
<c:if test="${model.editMode}">
!
<div style="width: 100%;"> <%-- need this div to control text-area size
in IE 6 --%>
--- 132,136 ----
<%-- EDIT MODE --%>
<c:if test="${model.editMode}">
!
<div style="width: 100%;"> <%-- need this div to control text-area size
in IE 6 --%>
***************
*** 194,199 ****
<div id="dateControlToggle" class="controlToggle">
! <span id="idateControl">+</span>
! <a href="#" class="controlToggle"
onclick="toggleControl('dateControlToggle','dateControl'); return false">
<fmt:message key="weblogEdit.pubTime" />
</a>
--- 194,199 ----
<div id="dateControlToggle" class="controlToggle">
! <span id="idateControl">+</span>
! <a href="#" class="controlToggle"
onclick="javascript:toggleControl('dateControlToggle','dateControl')">
<fmt:message key="weblogEdit.pubTime" />
</a>
***************
*** 224,229 ****
<div id="commentControlToggle" class="controlToggle">
! <span id="icommentControl">+</span>
! <a href="#" class="controlToggle"
onclick="toggleControl('commentControlToggle','commentControl'); return false">
<fmt:message key="weblogEdit.commentSettings" />
</a>
--- 224,229 ----
<div id="commentControlToggle" class="controlToggle">
! <span id="icommentControl">+</span>
! <a href="#" class="controlToggle"
onclick="javascript:toggleControl('commentControlToggle','commentControl')">
<fmt:message key="weblogEdit.commentSettings" />
</a>
***************
*** 254,271 ****
<c:if test="${model.hasPagePlugins}">
! <div id="pluginControlToggle" class="controlToggle">
! <span id="ipluginControl">+</span>
! <a href="#" class="controlToggle"
onclick="toggleControl('pluginControlToggle','pluginControl'); return false">
! <fmt:message key="weblogEdit.pluginsToApply" /></a>
! </div>
! <div id="pluginControl" class="control" style="display:none">
! <logic:iterate id="plugin"
! collection="<%=
org.roller.presentation.velocity.ContextLoader.getPagePlugins() %>">
! <html:multibox property="pluginsArray"
! title="<%= plugin.toString() %>" value="<%=
plugin.toString() %>"
! styleId="<%= plugin.toString() %>"/></input>
! <label for="<%= plugin %>"><%= plugin %></label><br />
! </logic:iterate>
! </div>
</c:if>
--- 254,274 ----
<c:if test="${model.hasPagePlugins}">
! <div id="pluginControlToggle" class="controlToggle">
! <span id="ipluginControl">+</span>
! <a href="#" class="controlToggle"
onclick="javascript:toggleControl('pluginControlToggle','pluginControl')">
! <fmt:message key="weblogEdit.pluginsToApply" /></a>
! </div>
! <div id="pluginControl" class="control" style="display:none">
! <logic:iterate id="plugin"
type="org.roller.presentation.velocity.PagePlugin"
! collection="<%=
org.roller.presentation.velocity.ContextLoader.getPagePlugins() %>">
! <html:multibox property="pluginsArray"
! title="<%= plugin.getName() %>" value="<%= plugin.getName()
%>"
! styleId="<%= plugin.getName() %>"/></input>
! <label for="<%= plugin.getName() %>"><%= plugin.getName()
%></label>
! <a href="javascript:void(0);" onmouseout="return nd();"
! onmouseover="return overlib('<%= plugin.getDescription() %>',
STICKY, MOUSEOFF, TIMEOUT, 3000);">?</a>
! <br />
! </logic:iterate>
! </div>
</c:if>
***************
*** 274,283 ****
<div id="miscControlToggle" class="controlToggle">
! <span id="imiscControl">+</span>
! <a href="#" class="controlToggle"
onclick="toggleControl('miscControlToggle','miscControl'); return false">
<fmt:message key="weblogEdit.miscSettings" /></a>
</div>
<div id="miscControl" class="control" style="display:none">
!
<html:checkbox property="sendWeblogsPing" />
<fmt:message key="weblogEdit.ping" />
--- 277,286 ----
<div id="miscControlToggle" class="controlToggle">
! <span id="imiscControl">+</span>
! <a href="#" class="controlToggle"
onclick="javascript:toggleControl('miscControlToggle','miscControl')">
<fmt:message key="weblogEdit.miscSettings" /></a>
</div>
<div id="miscControl" class="control" style="display:none">
!
<html:checkbox property="sendWeblogsPing" />
<fmt:message key="weblogEdit.ping" />
***************
*** 291,300 ****
<html:checkbox property="pinnedToMain" />
<fmt:message key="weblogEdit.pinnedToMain" />
! <br />
</c:if>
<c:if test="${!model.isAdmin}">
<html:hidden property="pinnedToMain" />
</c:if>
!
</div>
--- 294,303 ----
<html:checkbox property="pinnedToMain" />
<fmt:message key="weblogEdit.pinnedToMain" />
! <br />
</c:if>
<c:if test="${!model.isAdmin}">
<html:hidden property="pinnedToMain" />
</c:if>
!
</div>
***************
*** 315,319 ****
value='<fmt:message key="weblogEdit.save" />'
onclick="saveDraft()" />
!
<%-- if entry has been saved, then show delete button --%>
<c:if test="${!empty weblogEntryFormEx.id}">
--- 318,322 ----
value='<fmt:message key="weblogEdit.save" />'
onclick="saveDraft()" />
!
<%-- if entry has been saved, then show delete button --%>
<c:if test="${!empty weblogEntryFormEx.id}">
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
|