osdir.com
mailing list archive

Subject: roller/docroot/weblog comments.jsp,1.3,1.4 - msg#00151

List: java.roller.cvs

Date: Prev Next Index Thread: Prev Next Index
Update of /cvsroot/roller/roller/docroot/weblog
In directory usw-pr-cvs1:/tmp/cvs-serv30840/docroot/weblog

Modified Files:
comments.jsp
Log Message:
Comment display enhancements: 1) light yellow for entry title and 2) hide
footer with CSS.

Index: comments.jsp
===================================================================
RCS file: /cvsroot/roller/roller/docroot/weblog/comments.jsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** comments.jsp 13 Nov 2002 04:59:23 -0000 1.3
--- comments.jsp 14 Nov 2002 08:03:48 -0000 1.4
***************
*** 38,41 ****
--- 38,44 ----
font-size: 12px;
}
+ #footer {
+ display: none;
+ }
</style>
</head>
***************
*** 44,48 ****
<div>

! <span class="statusMsg"><bean:write name="blogEntry" property="title"
scope="request" filter="false" /></span>

--- 47,51 ----
<div>

! <span class="commentTitle"><bean:write name="blogEntry" property="title"
scope="request" filter="false" /></span>





-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

roller/src/org/roller/presentation/admin/formbeans RollerConfigForm.java,1.1,1.2

Update of /cvsroot/roller/roller/src/org/roller/presentation/admin/formbeans In directory usw-pr-cvs1:/tmp/cvs-serv22713/src/org/roller/presentation/admin/formbeans Modified Files: RollerConfigForm.java Log Message: Make Comment HTML-escaping and "autoformatting" RollerConfigs. add the following to roller-config.xml <autoformatComments>true</autoformatComments> <escapeCommentHtml>true</escapeCommentHtml> Index: RollerConfigForm.java =================================================================== RCS file: /cvsroot/roller/roller/src/org/roller/presentation/admin/formbeans/RollerConfigForm.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RollerConfigForm.java 6 Nov 2002 03:29:55 -0000 1.1 --- RollerConfigForm.java 13 Nov 2002 04:59:23 -0000 1.2 *************** *** 38,41 **** --- 38,44 ---- uploadDir = parent.getUploadDir(); uploadPath = parent.getUploadPath(); + mMemDebug = parent.getMemDebug(); + autoformatComments = parent.getAutoformatComments(); + escapeCommentHtml = parent.getEscapeCommentHtml(); } *************** *** 62,67 **** { return StringUtils.join(getUploadForbid().iterator(), ","); ! } ! /** return adminUsers as a single string */ public void setAdminUsersList(String list) --- 65,70 ---- { return StringUtils.join(getUploadForbid().iterator(), ","); ! } ! /** return adminUsers as a single string */ public void setAdminUsersList(String list) *************** *** 86,91 **** { setUploadForbid(Arrays.asList( StringUtils.split( list, "," ) ) ); ! } ! /** * Method allows Struts to handle empty checkboxes for booleans --- 89,94 ---- { setUploadForbid(Arrays.asList( StringUtils.split( list, "," ) ) ); ! } ! /** * Method allows Struts to handle empty checkboxes for booleans *************** *** 98,101 **** --- 101,107 ---- setEnableAggregator( false ); setUploadEnabled( false ); + setMemDebug( false ); + setAutoformatComments( false ); + setEscapeCommentHtml( false ); } } ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd522.html

Next Message by Date: click to view message preview

roller/docroot/theme roller.css,1.12,1.13

Update of /cvsroot/roller/roller/docroot/theme In directory usw-pr-cvs1:/tmp/cvs-serv13927/docroot/theme Modified Files: roller.css Log Message: added 10px worth of space b/w entry title and first comment (see changes on my site) Index: roller.css =================================================================== RCS file: /cvsroot/roller/roller/docroot/theme/roller.css,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** roller.css 9 Oct 2002 15:48:18 -0000 1.12 --- roller.css 14 Nov 2002 08:17:46 -0000 1.13 *************** *** 241,244 **** --- 241,254 ---- } + .commentTitle { + background: #FFFFDD; + border: 1px solid #000; + padding: 3px; + margin: 0px 5px 10px 0px; + color: #000000; + font-size: .9em; + width: 98%; + } + .tmItemCell { background: url(tabitem.gif); ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html

Previous Message by Thread: click to view message preview

roller/src/org/roller/presentation/admin/formbeans RollerConfigForm.java,1.1,1.2

Update of /cvsroot/roller/roller/src/org/roller/presentation/admin/formbeans In directory usw-pr-cvs1:/tmp/cvs-serv22713/src/org/roller/presentation/admin/formbeans Modified Files: RollerConfigForm.java Log Message: Make Comment HTML-escaping and "autoformatting" RollerConfigs. add the following to roller-config.xml <autoformatComments>true</autoformatComments> <escapeCommentHtml>true</escapeCommentHtml> Index: RollerConfigForm.java =================================================================== RCS file: /cvsroot/roller/roller/src/org/roller/presentation/admin/formbeans/RollerConfigForm.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RollerConfigForm.java 6 Nov 2002 03:29:55 -0000 1.1 --- RollerConfigForm.java 13 Nov 2002 04:59:23 -0000 1.2 *************** *** 38,41 **** --- 38,44 ---- uploadDir = parent.getUploadDir(); uploadPath = parent.getUploadPath(); + mMemDebug = parent.getMemDebug(); + autoformatComments = parent.getAutoformatComments(); + escapeCommentHtml = parent.getEscapeCommentHtml(); } *************** *** 62,67 **** { return StringUtils.join(getUploadForbid().iterator(), ","); ! } ! /** return adminUsers as a single string */ public void setAdminUsersList(String list) --- 65,70 ---- { return StringUtils.join(getUploadForbid().iterator(), ","); ! } ! /** return adminUsers as a single string */ public void setAdminUsersList(String list) *************** *** 86,91 **** { setUploadForbid(Arrays.asList( StringUtils.split( list, "," ) ) ); ! } ! /** * Method allows Struts to handle empty checkboxes for booleans --- 89,94 ---- { setUploadForbid(Arrays.asList( StringUtils.split( list, "," ) ) ); ! } ! /** * Method allows Struts to handle empty checkboxes for booleans *************** *** 98,101 **** --- 101,107 ---- setEnableAggregator( false ); setUploadEnabled( false ); + setMemDebug( false ); + setAutoformatComments( false ); + setEscapeCommentHtml( false ); } } ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd522.html

Next Message by Thread: click to view message preview

roller/docroot/theme roller.css,1.12,1.13

Update of /cvsroot/roller/roller/docroot/theme In directory usw-pr-cvs1:/tmp/cvs-serv13927/docroot/theme Modified Files: roller.css Log Message: added 10px worth of space b/w entry title and first comment (see changes on my site) Index: roller.css =================================================================== RCS file: /cvsroot/roller/roller/docroot/theme/roller.css,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** roller.css 9 Oct 2002 15:48:18 -0000 1.12 --- roller.css 14 Nov 2002 08:17:46 -0000 1.13 *************** *** 241,244 **** --- 241,254 ---- } + .commentTitle { + background: #FFFFDD; + border: 1px solid #000; + padding: 3px; + margin: 0px 5px 10px 0px; + color: #000000; + font-size: .9em; + width: 98%; + } + .tmItemCell { background: url(tabitem.gif); ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by