You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2005/06/08 18:06:46 UTC
svn commit: r189602 [48/50] - in /incubator/roller/trunk: ./ contrib/
contrib/lib/ contrib/plugins/ contrib/plugins/src/ contrib/plugins/src/org/
contrib/plugins/src/org/roller/ contrib/plugins/src/org/roller/presentation/
contrib/plugins/src/org/roller/presentation/velocity/
contrib/plugins/src/org/roller/presentation/velocity/plugins/
contrib/plugins/src/org/roller/presentation/velocity/plugins/acronyms/
contrib/plugins/src/org/roller/presentation/velocity/plugins/bookmarks/
contrib/plugins/src/org/roller/presentation/velocity/plugins/email/
contrib/plugins/src/org/roller/presentation/velocity/plugins/jspwiki/
contrib/plugins/src/org/roller/presentation/velocity/plugins/radeox/
contrib/plugins/src/org/roller/presentation/velocity/plugins/readmore/
contrib/plugins/src/org/roller/presentation/velocity/plugins/smileys/
contrib/plugins/src/org/roller/presentation/velocity/plugins/textile/ docs/
docs/images/ docs/installguide/ docs/installguide/old/ docs/userguide/
docs/userguide/images/ docs/userguide/old/ metadata/ metadata/database/
metadata/database/hibernate/ metadata/xdoclet/ personal/ personal/eclipse/
personal/testing/ src/ src/org/ src/org/roller/ src/org/roller/business/
src/org/roller/business/hibernate/ src/org/roller/business/utils/
src/org/roller/model/ src/org/roller/pojos/ src/org/roller/presentation/
src/org/roller/presentation/atom/ src/org/roller/presentation/bookmarks/
src/org/roller/presentation/bookmarks/actions/
src/org/roller/presentation/bookmarks/formbeans/
src/org/roller/presentation/bookmarks/tags/
src/org/roller/presentation/filters/ src/org/roller/presentation/forms/
src/org/roller/presentation/newsfeeds/ src/org/roller/presentation/pagecache/
src/org/roller/presentation/pagecache/rollercache/
src/org/roller/presentation/tags/ src/org/roller/presentation/tags/calendar/
src/org/roller/presentation/tags/menu/
src/org/roller/presentation/velocity/ src/org/roller/presentation/weblog/
src/org/roller/presentation/weblog/actions/
src/org/roller/presentation/weblog/formbeans/
src/org/roller/presentation/weblog/search/
src/org/roller/presentation/weblog/search/operations/
src/org/roller/presentation/weblog/tags/ src/org/roller/presentation/website/
src/org/roller/presentation/website/actions/
src/org/roller/presentation/website/formbeans/
src/org/roller/presentation/website/tags/
src/org/roller/presentation/xmlrpc/ src/org/roller/util/ tests/ tests/org/
tests/org/roller/ tests/org/roller/business/ tests/org/roller/model/
tests/org/roller/persistence/ tests/org/roller/presentation/
tests/org/roller/presentation/atom/ tests/org/roller/presentation/bookmarks/
tests/org/roller/presentation/velocity/
tests/org/roller/presentation/velocity/plugins/
tests/org/roller/presentation/velocity/plugins/smileys/
tests/org/roller/presentation/velocity/plugins/textile/
tests/org/roller/presentation/xmlrpc/ tests/org/roller/util/ tools/
tools/buildtime/ tools/buildtime/mockrunner-0.2.6/
tools/buildtime/mockrunner-0.2.6/lib/ tools/buildtime/tomcat-4.1.24/
tools/buildtime/xdoclet-1.2/ tools/buildtime/xdoclet-1.2/lib/
tools/hibernate-2.1/ tools/hibernate-2.1/lib/ tools/lib/
tools/standard-1.0.3/ tools/standard-1.0.3/lib/ tools/standard-1.0.3/tld/
tools/struts-1.1/ tools/struts-1.1/lib/ web/ web/WEB-INF/
web/WEB-INF/classes/ web/WEB-INF/classes/flavors/
web/WEB-INF/classes/themes/ web/bookmarks/ web/images/ web/images/editor/
web/images/midas/ web/images/preview/ web/images/smileys/ web/tags/
web/templates/ web/theme/ web/theme/images/ web/theme/lavender/
web/theme/scripts/ web/theme/scripts/classes/ web/themes/ web/themes/basic/
web/themes/berkley/ web/themes/berkley/images/ web/themes/cheb/
web/themes/cheb/images/ web/themes/cheb/scripts/ web/themes/clean/
web/themes/currency-i18n/ web/themes/currency-i18n/images/
web/themes/currency/ web/themes/currency/images/ web/themes/grey2/
web/themes/moonshine/ web/themes/pacifica/ web/themes/robot/
web/themes/rolling/ web/themes/rolling/images/ web/themes/sotto/
web/themes/sotto/images/ web/themes/sotto/styles/ web/themes/sunsets/
web/themes/sunsets/images/ web/themes/sunsets/scripts/
web/themes/sunsets/styles/ web/themes/werner/ web/themes/x2/
web/themes/x2/images/ web/themes/x2/scripts/ web/themes/x2/styles/
web/weblog/ web/website/
Added: incubator/roller/trunk/web/themes/sotto/styles/default.css
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sotto/styles/default.css?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/sotto/styles/default.css (added)
+++ incubator/roller/trunk/web/themes/sotto/styles/default.css Wed Jun 8 09:06:16 2005
@@ -0,0 +1,829 @@
+/**
+ * STANDARD ELEMENTS
+ */
+
+body
+{
+
+ background: #faf0e6;
+ /*background: #f88506;*/
+ color: #000;
+ font-size: 70%;
+ font-weight: 400;
+ font-family: Verdana, sans-serif;
+ text-align: center;
+ /*padding: 25px;
+ voice-family: "\"}\"";
+ voice-family: inherit;*/
+}
+
+a:link
+{
+ color: #314E6C;
+ /*cursor: hand;*/
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ cursor: pointer;
+}
+
+a:visited
+{
+ color: #314E6C;
+}
+
+a:hover
+{
+ /*cursor: hand;*/
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ cursor: pointer;
+}
+
+ul, dl
+{
+ padding: 0px 0px 0px 5px;
+ margin: 0px;
+}
+
+li, dt, dd, div.links a
+{
+ list-style-type: none;
+ margin: 0px 0px 3px 0px;
+ padding: 0px;
+ font-weight: 400;
+ font-size: 11px;
+ font-family: Arial, sans-serif;
+}
+
+li a, dd a, a.copyright, div.sidebarBox a, div.links a
+{
+ text-decoration: none !important;
+}
+
+li a:hover, dd a:hover, a.copyright:hover, div.links a:hover
+{
+ text-decoration: underline !important;
+}
+
+div.links
+{
+ line-height: 18px;
+}
+
+div.links div.rFolder {
+ margin-left: -5px;
+ margin-bottom: 10px;
+}
+
+dd
+{
+ margin-bottom: 10px;
+}
+
+img
+{
+ border: 1px solid #BAB5AB;
+}
+
+select
+{
+ font-family: Georgia, serif;
+}
+
+input.styled, textarea.styled,
+div#searchAgain input /* added searchAgain for roller */,
+div.comments-form input
+{
+ border: 1px solid #999;
+ font-family: Georgia, serif;
+ font-size: 1em;
+}
+
+label.styled, div.styled
+{
+ font: 800 oblique .85em Georgia, serif;
+ color: #000;
+}
+
+/**
+ * PAGE SectionS
+ */
+
+#mainContainer
+{
+ border: 1px solid #999;
+ margin: auto;
+ margin-top: 25px;
+ /*overflow: hidden;*/
+ width: 720px;
+ text-align: left;
+ background: #fff;
+}
+
+#smallContainer
+{
+ border: 2px solid #ccc;
+ margin: auto;
+ overflow: hidden;
+ width: 450px;
+ text-align: left;
+ background: #fff;
+}
+
+#leftColumn
+{
+ padding: 0px 5px 0px 5px;
+ width: 186px;
+ float: left;
+ /*margin: auto;*/
+ font-family: Georgia, serif;
+ /*overflow: hidden;*/
+ /* IE 5+ Box Model Hack*/
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ width: 176px;
+}
+
+#midColumn
+{
+ padding: 10px;
+ width: 530px;
+ /*margin: auto;
+ overflow: hidden;*/
+ float: left;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ width: 509px;
+}
+
+
+#mainColumn
+{
+ padding: 10px;
+ width: 720px;
+ /*overflow: hidden;*/
+ float: left;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ width: 700px;
+}
+
+#smallColumn
+{
+ padding: 10px;
+ width: 450px;
+ /*overflow: hidden;*/
+ float: left;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ width: 430px;
+}
+
+/**
+ * PAGEBANNER
+ */
+
+#pageBanner
+{
+ height: 70px;
+}
+
+#pageBanner h1 {
+ font-family: Futura, Arial, Helvetica, sans-serif;
+ margin: 0px 0px -10px 10px;
+ padding-top: 10px;
+ font-weight: lighter;
+ font-size: 44px;
+ font-stretch: narrower;
+}
+
+#pageBanner h1 a
+{
+ background: transparent;
+ color: #6F89A1;
+ text-decoration: none;
+ font-style: normal;
+}
+
+#gutter
+{
+ border-top: 0.1em solid #ddd;
+ border-bottom: 0.1em solid #ddd;
+ /*background: #eee;*/
+ height: 52px;
+ background: #eee url(../images/bannerBackground.gif) repeat-x;
+}
+
+#gutterimage1
+{
+ float: left;
+ margin: 0px;
+ width: 75px;
+ height: 50px;
+ border: 1px solid #ccc;
+ background: url(../images/daisy.jpg) no-repeat;
+}
+
+#gutterimage2
+{
+ float: left;
+ margin: 0px;
+ width: 75px;
+ height: 50px;
+ border: 1px solid #ccc;
+ background: url(../images/clouds.jpg) no-repeat;
+}
+
+#gutterimage3
+{
+ float: left;
+ margin: 0px;
+ width: 75px;
+ height: 50px;
+ border: 1px solid #ccc;
+ border-right: 2px solid #ccc;
+ background: url(../images/prairie.jpg) no-repeat;
+}
+
+/**
+ * ADMINBAR
+ */
+
+#adminBar
+{
+ border-bottom: 1px dotted #ddd;
+ padding: 0px;
+ height: 23px;
+}
+
+#adminBar li
+{
+ display: inline;
+ text-align: center;
+}
+
+#adminBar li a, #adminBar a
+{
+ color: #999;
+ padding: 5px;
+ width: 120px;
+ float: left;
+ text-align: center;
+ text-decoration: none;
+}
+
+#adminBar li a:hover
+{
+ background: #ddd url(../images/buttonBackground.gif) repeat-x;
+ border-right: 1px dashed #ccc;
+ border-left: 1px dashed #ccc;
+}
+
+/**
+ * MENU
+ */
+
+#menu
+{
+ padding: 5px;
+ background: #fff;
+ text-align: center;
+ font-family: Arial, sans-serif;
+ border-bottom: 1px dashed #ddd;
+}
+
+#menu a
+{
+ color: #999;
+ padding:0px 2px 0px 2px;
+}
+
+#menu a:link
+{
+ text-decoration: none;
+ font-size: 1em;
+}
+
+#menu a:visited
+{
+ text-decoration: none;
+ font-size: 1em;
+}
+
+#menu a:hover
+{
+ text-decoration: underline;
+}
+
+/**
+ * SEARCH
+ */
+
+.searchEntryTitle
+{
+ font: 400 .5em Georgia, serif;
+}
+
+.searchResultBox
+{
+ border-bottom: 1px solid #ddd;
+}
+
+.searchResultTitle
+{
+ border-bottom: 1px solid #ddd;
+ font: 800 1.6em Georgia, serif;
+}
+
+/**
+ * STORYLIST
+ */
+
+.storyBox
+{
+ border-bottom: 1px solid #BAB5AB;
+}
+
+.storyBox h2
+{
+ /*color: #333;*/
+}
+
+.storyDateBox
+{
+ font-family: Georgia, serif;
+ float: left;
+ padding:0px 5px 5px 0px;
+ margin: 0px 10px 4px 0px;
+ border-right: 1px solid #B39169;
+ width: 70px;
+ position: relative;
+ /*background: #f7f7f7;*/
+}
+
+.storyDateBox h2
+{
+ font-weight: 400;
+ margin: 0px;
+ padding: 0px;
+}
+
+.storyDateBox h2 a
+{
+ text-decoration: none;
+ font-size: 36px;
+}
+
+.storyDate
+{
+ text-decoration: none;
+ font-size: 32px;
+}
+
+.storyDateBox span
+{
+ font-size: 11px;
+}
+
+/**
+ * STORY
+ */
+
+.storyTitle
+{
+ font: 400 oblique 1.7em Georgia, serif;
+ color: #111;
+}
+
+.story
+{
+ font-family: Verdana, sans-serif;
+ line-height: 2em;
+ text-align: justify;
+ /*color: #222;*/
+ /*margin-bottom: 25px;*/
+}
+
+.story>a
+{
+}
+
+/**
+ * COMMENTS
+ */
+
+div.trackbackUrl {
+ background: transparent;
+ color: #006633;
+ margin-bottom: 10px;
+ padding-bottom: 5px;
+ border-bottom: 1px dotted silver;
+}
+
+#commentBox
+{
+ font-family: Arial;
+ color: #555
+}
+
+.comment
+{
+ padding-top: 10px;
+ padding-bottom: 10px;
+ line-height: 16px;
+}
+
+#commentBoxPreview
+{
+ font-family: Arial;
+ color: #555;
+ padding: 5px;
+ background: #eee;
+ border: 1px solid #aaa;
+}
+
+#commentBoxPreview h3
+{
+ margin: 0px;
+}
+
+.comments-head {
+ font-weight: 900;
+}
+
+.comment, .comments-form table {
+ font-family: Verdana, sans-serif;
+ font-size: 1em;
+}
+
+.commentFormInput,
+.commentFormTextarea {
+ font-family: Verdana, serif;
+ font-size: 1em;
+}
+
+div.comments-head {
+ padding-top: 10px;
+ background: transparent;
+ color: #990000;
+}
+
+span.enabled {
+ color: green;
+ font-style: italic;
+}
+
+span.disabled {
+ color: red;
+}
+/**
+ * FORM ROWS
+ */
+
+.formRow
+{
+ width: auto;
+}
+
+.formRowTitle
+{
+ text-align: left;
+ font: 800 oblique 11px Georgia, serif;
+}
+
+.formRowControl
+{
+ padding-top: 5px;
+}
+
+.formRowControl input, .formRowControl textarea
+{
+ border: 1px solid #999;
+ font-family: Georgia, serif;
+}
+
+/**
+ * SIDE COLUMN
+ */
+
+#quoteBox
+{
+ font-style: oblique;
+ font-family: Arial, sans-serif;
+}
+
+.sidebarHeading, div.rFolder
+{
+ border-bottom: 1px solid #999;
+ color: #990000;
+ padding: 0px 0px 3px 5px;
+ font-family: Georgia, serif;
+ font-weight: 400;
+ font-size: 12px;
+ font-variant: small-caps;
+}
+
+div.sidebarBox, form.sidebarBox
+{
+ margin-bottom: 25px;
+}
+
+#aboutBox
+{
+ font-size: 10px;
+ font-family: Arial, sans-serif;
+}
+
+#aboutBox a
+{
+ text-decoration: none;
+ border-bottom: 1px dotted #314E6C;
+}
+
+#blogChalk
+{
+ width: 35px;
+ height: 30px;
+ border:1px dashed #ddd;
+}
+
+/**
+ * CLASSES
+ */
+
+.noBorder
+{
+ border: 0em;
+}
+
+.standardSpacer
+{
+ overflow: hidden;
+}
+
+.floatSpacer
+{
+ clear: both;
+ overflow: hidden;
+}
+
+.noDisplay
+{
+ display: none;
+}
+
+.blockDisplay
+{
+ display: block;
+}
+
+.smallText
+{
+ font-size: 9px;
+ font-family: Verdana, sans-serif;
+}
+
+.storyLink
+{
+ font-family: Georgia, serif;
+ font-size: 1.0em;
+ margin-left: 1.0em;
+}
+
+.new
+{
+ color: blue;
+ font-size: 9px;
+}
+
+.draft
+{
+ font: 800 oblique 14px Georgia;
+ color: #aaa
+}
+
+.border
+{
+ border-bottom: 1px solid #ccc;
+}
+
+
+.sectionTitle
+{
+ font-family: Georgia, serif;
+ font-weight: 800;
+ font-style: oblique;
+ font-size: 1.2em;
+ color: #555;
+}
+
+.heading
+{
+ font-family: Georgia, serif;
+ font-weight: 400;
+ font-style: oblique;
+ font-size: 1.0em;
+ color: #555;
+}
+
+.blockquote
+{
+ margin-left: 15px;
+ margin-top: 15px;
+ margin-bottom: 15px;
+ margin-right: 15px;
+ line-height: 1.7em;
+ color: #444;
+ clear: both;
+ /*font: 400 oblique 12px Helvetica, sans-serif;*/
+ font-style: oblique;
+ font-family: "Courier New", "Andale Mono", "MS Sans Serif";
+}
+
+img.smiley
+{
+ vertical-align: top;
+}
+
+/**
+ * CALENDAR
+ */
+
+#calendar
+{
+ border: 1px solid #999;
+}
+
+#sideCalendar, table.hCalendarTable
+{
+ width: 160px;
+}
+
+table.hCalendarTable {
+ font-size: 1em;
+}
+
+.thead, .hCalendarDayNameRow
+{
+ border-bottom: 1px solid #ffbf74;
+ text-align: center;
+ font-size: .9em;
+ font-weight: 400;
+ /*font-variant: small-caps;*/
+ color: #444;
+}
+
+.calLink, .hCalendarDayTitle
+{
+ font-size: .9em;
+ color: #555;
+ text-align: center;
+}
+
+.calLink a:link, div.hCalendarDayTitle a
+{
+ text-decoration: none;
+ font-size: 1.1em;
+ font-weight: 800;
+}
+
+.calLink a:hover, div.hCalendarDayTitle a:hover
+{
+ text-decoration: underline !important;
+ font-size: 1.1em;
+ font-weight: 800;
+}
+
+.calendar
+{
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding:2px;
+ text-align:left;
+}
+
+.calendarCaption, .hCalendarMonthYearRow
+{
+ font-family: Georgia, serif;
+ color: #111;
+ font-size: .9em;
+ font-weight: 400;
+ padding: 2px;
+ letter-spacing: .3em;
+ background: #fff;
+ /*font-variant: small-caps;*/
+ text-transform: uppercase;
+ text-align: center;
+}
+
+#calendar>caption
+{
+ margin: 5px;
+}
+
+/*
+ * Yeah, this is a mess. Too lazy to code, easier to do the calendar through
+ * styles.
+ */
+#cell1, #cell3, #cell5, #cell7, #cell8, #cell10, #cell12, #cell14, #cell15,
+#cell17, #cell19, #cell21, #cell22, #cell24, #cell26, #cell28, #cell29, #cell31,
+#cell33, #cell35, #cell36, #cell38, #cell40, #cell42
+{
+ background: #f7f7f7;
+}
+
+#c1, #c3, #c5, #c7, #c8, #c10, #c12, #c14, #c15,
+#c17, #c19, #c21, #c22, #c24, #c26, #c28, #c29, #c31,
+#c33, #c35, #c36, #c38, #c40, #c42
+{
+ background: #f0f0f0;
+}
+
+
+/**
+ * Easier to use attr=[], but not well supported
+ */
+#cell1, #cell2, #cell3, #cell4, #cell5, #cell6, #cell7, #cell8, #cell9, #cell10,
+#cell11, #cell12, #cell13, #cell14, #cell15, #cell16, #cell17, #cell18, #cell19, #cell20,
+#cell21, #cell22, #cell23, #cell24, #cell25, #cell26, #cell27, #cell28, #cell29, #cell30,
+#cell31, #cell32, #cell33, #cell34, #cell35, #cell36, #cell37, #cell38, #cell39, #cell40,
+#cell41, #cell42
+{
+ border-top: 1px solid #999;
+ height: 120px;
+ width: 90px;
+ text-align: left;
+}
+
+#c1, #c2, #c3, #c4, #c5, #c6, #c7, #c8, #c9, #c10,
+#c11, #c12, #c13, #c14, #c15, #c16, #c17, #c18, #c19, #c20,
+#c21, #c22, #c23, #c24, #c25, #c26, #c27, #c28, #c29, #c30,
+#c31, #c32, #c33, #c34, #c35, #c36, #c37, #c38, #c39, #c40,
+#c41, #c42, td.hCalendarDay
+{
+ /*border-top: 1px solid #999;
+ height: 120px;
+ width: 90px;*/
+ font: 400 1em Arial, sans-serif;
+ text-align: center;
+}
+
+.hCalendarDayCurrent
+{
+ border: 1px solid #ffbf74;
+}
+
+.day
+{
+ font: 800 1.1em Georgia, serif;
+ font-variant: small-caps;
+}
+
+.calendarMonth
+{
+ display: inline;
+ font-family: Georgia, serif;
+ font-weight: 400;
+ font-variant: small-caps;
+ /*font-style: oblique;*/
+ font-size: 1.6em;
+ color: #000;
+}
+
+a.calendarLink
+{
+ font-family: Georgia, serif;
+ font-weight: 800;
+ font-size: 1.1em;
+}
+
+a.calendarLink:link, a.calendarLink:visited
+{
+ text-decoration: none;
+}
+
+a.calendarLink:hover
+{
+ text-decoration: underline;
+}
+
+/**
+ * INDEX
+ */
+
+.indexBox
+{
+ color: #999;
+ margin-top: 10%;
+ border: 4px solid #ccc;
+ height: 250px;
+ width: 200px;
+ margin-left: auto;
+ margin-right: auto;
+ margin-bottom: auto;
+ background: #fff;
+}
Added: incubator/roller/trunk/web/themes/sotto/theme.css
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sotto/theme.css?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/sotto/theme.css (added)
+++ incubator/roller/trunk/web/themes/sotto/theme.css Wed Jun 8 09:06:16 2005
@@ -0,0 +1 @@
+@import url(./styles/default.css);
\ No newline at end of file
Added: incubator/roller/trunk/web/themes/sunsets/Weblog.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/Weblog.vm?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/sunsets/Weblog.vm (added)
+++ incubator/roller/trunk/web/themes/sunsets/Weblog.vm Wed Jun 8 09:06:16 2005
@@ -0,0 +1,94 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ #showContentLanguage($locale.language)
+ <title>#showWebsiteTitle()</title>
+ <base href="$absBaseURL" />
+ #showRSSAutodiscoveryLink()
+ <link rel="stylesheet" type="text/css" href="$ctxPath/themes/base.css" />
+ <link rel="stylesheet" type="text/css" media="all"
+ href="#showThemeStylePath("sunsets" "cherryeve.css")" />
+ <link rel="alternate stylesheet" type="text/css"
+ media="all" title="Capricorn"
+ href="#showThemeStylePath("sunsets" "capricorn.css")" />
+ #showThemeStyle("x2" "comments.css" false)
+ #showThemeScript("x2" "global.js")
+ #showThemeScript("x2" "xmlextras.js")
+ #showThemeScript("x2" "comments.js")
+ #showThemeScript("sunsets" "styleswitcher.js")
+ #showThemeScript("sunsets" "calendar.js")
+ <script type="text/javascript">
+ var cal = new CalendarPopup("calDiv");
+ cal.setReturnFunction("showDate");
+
+ document.write(cal.getStyles());
+
+ // Function to get input back from calendar popup
+ function showDate(y,m,d) {
+ var day = y+LZ(m)+LZ(d);
+ location.href = "$ctxPath/page/$userName/" + day;
+ }
+ </script>
+ <link rel="stylesheet" type="text/css" media="print"
+ href="#showThemeStylePath("sunsets" "print.css")" />
+ </head>
+<body>
+
+#showHiddenCommentForm()
+
+<script type="text/javascript">
+ initComments();
+</script>
+
+<div id="badges">
+ <a href="#" onclick="setActiveStyleSheet('default'); return false;"
+ onkeypress="setActiveStyleSheet('default'); return false;" accesskey="d"
+ title="Default style (Cherry Eve)."><img width="25" height="16"
+ src="#showThemeImagePath("sunsets" "cherryeve.gif")"
+ alt="Default style (Cherry Eve)."/></a>
+
+ <a href="#" onclick="setActiveStyleSheet('Capricorn'); return false;"
+ onkeypress="setActiveStyleSheet('Capricorn'); return false;"
+ title="Switch styles (Capricorn)." accesskey="c"><img
+ src="#showThemeImagePath("sunsets" "capricorn.gif")"
+ width="25" height="16" alt="Switch styles (Capricorn)." /></a>
+
+ <a href="$ctxPath/rss/$userName" accesskey="x" title="RSS Feed"><img
+ src="#showThemeImagePath("sunsets" "xml.gif")"
+ width="25" height="16" alt="XML Feed" /></a>
+
+ <a href="?" onmouseover="window.status='View Calendar'; return false"
+ onmouseout="window.status=''; return false" name="calAnchor"
+ id="calAnchor" onclick="cal.showCalendar(this.id); return false">
+ <img src="#showThemeImagePath("sunsets" "cal.gif")"
+ width="25" height="16" alt="Calendar" /></a>
+
+</div>
+
+<div id="content">
+ <div id="header">
+ <h1><a href="$ctxPath/page/$userName" title="Home">#showWebsiteTitle()</a></h1>
+ #showBasicNavBar( false )
+ </div>
+
+ #showWeblogCategoryChooser()
+
+ #showNextPreviousLinks()
+ <div id="entries">
+ #showWeblogEntries("_day" 10 )
+ </div>
+</div>
+
+
+<div id="footer">
+ <a href="$ctxPath/page/$userName" title="View most recent posts">Home</a>
+ · Sunsets Theme by <a href="http://raibledesigns.com">Matt Raible</a>
+</div>
+
+<div id="calDiv" style="position: absolute; visibility: hidden"></div>
+
+</body>
+</html>
Added: incubator/roller/trunk/web/themes/sunsets/_day.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/_day.vm?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/sunsets/_day.vm (added)
+++ incubator/roller/trunk/web/themes/sunsets/_day.vm Wed Jun 8 09:06:16 2005
@@ -0,0 +1,55 @@
+<div class="entry">
+#if ($velocityCount == 1)
+ <div id="search" style="float: right; margin-top: -2px">
+ #if ( !$searchResults )
+ <form id="searchForm" method="get" action="$ctxPath/search/$userName"
+ onsubmit="return search(this)" style="margin: 0; padding: 0">
+ <input type="text" id="q" name="q" size="20"
+ maxlength="255" value="search this site"
+ style="font-size: 11px; border: 1px inset silver; font-weight: normal; padding-left: 2px"
+ onclick="this.value=''" />
+ </form>
+ #end
+ <script type="text/javascript">
+ function search(form) {
+ if (form.q.value == "search this site" || form.q.value == "") {
+ alert("Please enter a search term to continue.");
+ form.q.focus();
+ return false;
+ }
+ }
+ title = "$entries.get(0).title";
+ if (title != "") {
+ document.title=title;
+ }
+ #if ($searchResults)
+ document.title="Search Results for '$term'";
+ #end
+ // set the calendar to the top day's date
+ try {
+ $dateFormatter.applyPattern("yyyy,MM,dd")
+ var today = new Date($dateFormatter.format($entries.get(0).pubTime));
+ var month = today.getMonth()-1;
+ cal.currentDate = new Date(today.getFullYear(),LZ(month),LZ(today.getDate()));
+ } catch (err) {
+ // ignore, defaults to today
+ }
+ </script>
+ </div>
+#end
+ #showDayPermalink( $day )
+ #showEntryDate( $day )
+</div>
+
+#foreach( $entry in $entries )
+ <p>
+ <a name="$utilities.encode($entry.anchor)" id="$utilities.encode($entry.anchor)"></a>
+ <b>$entry.title</b> <br /><br />
+ #showEntryText( $entry )
+ <span class="dateStamp">#showTimestamp($entry.pubTime)</span>
+ #showEntryPermalink( $entry )
+ </p>
+ #showCommentsDiv ( $entry )
+#end
+
+#showLinkbacks( $day )
Added: incubator/roller/trunk/web/themes/sunsets/comments.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/comments.vm?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/sunsets/comments.vm (added)
+++ incubator/roller/trunk/web/themes/sunsets/comments.vm Wed Jun 8 09:06:16 2005
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+#set( $comments = $entry.comments )
+$dateFormatter.applyPattern("MMMMM dd, yyyy 'at' hh:mm aa z")
+<comments xmlns="http://www.joehewitt.com/content/blog.dtd"
+ entryid="$entry.Id">
+#foreach( $comment in $comments )
+ <comment id="$comment.id">
+ <author>$comment.name</author>
+ <email>$comment.email</email>
+ <url>$comment.url</url>
+ <timestamp>$dateFormatter.format($comment.postTime)</timestamp>
+ <body>$utilities.escapeHTML( $comment.content )</body>
+ </comment>
+#end
+</comments>
\ No newline at end of file
Added: incubator/roller/trunk/web/themes/sunsets/images/aquadot.jpg
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/images/aquadot.jpg?rev=189602&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/roller/trunk/web/themes/sunsets/images/aquadot.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/roller/trunk/web/themes/sunsets/images/cal.gif
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/images/cal.gif?rev=189602&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/roller/trunk/web/themes/sunsets/images/cal.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/roller/trunk/web/themes/sunsets/images/capricorn.gif
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/images/capricorn.gif?rev=189602&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/roller/trunk/web/themes/sunsets/images/capricorn.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/roller/trunk/web/themes/sunsets/images/capricorn.jpg
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/images/capricorn.jpg?rev=189602&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/roller/trunk/web/themes/sunsets/images/capricorn.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/roller/trunk/web/themes/sunsets/images/cherryEve.jpg
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/images/cherryEve.jpg?rev=189602&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/roller/trunk/web/themes/sunsets/images/cherryEve.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/roller/trunk/web/themes/sunsets/images/cherryeve.gif
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/images/cherryeve.gif?rev=189602&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/roller/trunk/web/themes/sunsets/images/cherryeve.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/roller/trunk/web/themes/sunsets/images/xml.gif
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/images/xml.gif?rev=189602&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/roller/trunk/web/themes/sunsets/images/xml.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/roller/trunk/web/themes/sunsets/scripts/calendar.js
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/scripts/calendar.js?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/sunsets/scripts/calendar.js (added)
+++ incubator/roller/trunk/web/themes/sunsets/scripts/calendar.js Wed Jun 8 09:06:16 2005
@@ -0,0 +1,83 @@
+// ===================================================================
+// Author: Matt Kruse <ma...@mattkruse.com>
+// WWW: http://www.mattkruse.com/
+//
+// NOTICE: You may use this code for any purpose, commercial or
+// private, without any further permission from the author. You may
+// remove this notice from your final code if you wish, however it is
+// appreciated by the author if at least my web site address is kept.
+//
+// You may *NOT* re-distribute this code in any way except through its
+// use. That means, you can include it in your product, or your web
+// site, or any other form where the code is actually being used. You
+// may not put the plain javascript up on your site for download or
+// include it in your javascript libraries for download.
+// If you wish to share this code with others, please just point them
+// to the URL instead.
+// Please DO NOT link directly to my .js files from your site. Copy
+// the files to your server and use them there. Thank you.
+// ===================================================================
+
+/* SOURCE FILE: date.js */
+var MONTH_NAMES=new Array('January','February','March','April','May','June','July','August','September','October','November','December','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');var DAY_NAMES=new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sun','Mon','Tue','Wed','Thu','Fri','Sat');
+function LZ(x){return(x<0||x>9?"":"0")+x}
+function isDate(val,format){var date=getDateFromFormat(val,format);if(date==0){return false;}return true;}
+function compareDates(date1,dateformat1,date2,dateformat2){var d1=getDateFromFormat(date1,dateformat1);var d2=getDateFromFormat(date2,dateformat2);if(d1==0 || d2==0){return -1;}else if(d1 > d2){return 1;}return 0;}
+function formatDate(date,format){format=format+"";var result="";var i_format=0;var c="";var token="";var y=date.getYear()+"";var M=date.getMonth()+1;var d=date.getDate();var E=date.getDay();var H=date.getHours();var m=date.getMinutes();var s=date.getSeconds();var yyyy,yy,MMM,MM,dd,hh,h,mm,ss,ampm,HH,H,KK,K,kk,k;var value=new Object();if(y.length < 4){y=""+(y-0+1900);}value["y"]=""+y;value["yyyy"]=y;value["yy"]=y.substring(2,4);value["M"]=M;value["MM"]=LZ(M);value["MMM"]=MONTH_NAMES[M-1];value["NNN"]=MONTH_NAMES[M+11];value["d"]=d;value["dd"]=LZ(d);value["E"]=DAY_NAMES[E+7];value["EE"]=DAY_NAMES[E];value["H"]=H;value["HH"]=LZ(H);if(H==0){value["h"]=12;}else if(H>12){value["h"]=H-12;}else{value["h"]=H;}value["hh"]=LZ(value["h"]);if(H>11){value["K"]=H-12;}else{value["K"]=H;}value["k"]=H+1;value["KK"]=LZ(value["K"]);value["kk"]=LZ(value["k"]);if(H > 11){value["a"]="PM";}else{value["a"]="AM";}value["m"]=m;value["mm"]=LZ(m);value["s"]=s;value["ss"]=LZ(s);while(i_format < format.length){c=format.charAt(i_format);token="";while((format.charAt(i_format)==c) &&(i_format < format.length)){token += format.charAt(i_format++);}if(value[token] != null){result=result + value[token];}else{result=result + token;}}return result;}
+function _isInteger(val){var digits="1234567890";for(var i=0;i < val.length;i++){if(digits.indexOf(val.charAt(i))==-1){return false;}}return true;}
+function _getInt(str,i,minlength,maxlength){for(var x=maxlength;x>=minlength;x--){var token=str.substring(i,i+x);if(token.length < minlength){return null;}if(_isInteger(token)){return token;}}return null;}
+function getDateFromFormat(val,format){val=val+"";format=format+"";var i_val=0;var i_format=0;var c="";var token="";var token2="";var x,y;var now=new Date();var year=now.getYear();var month=now.getMonth()+1;var date=1;var hh=now.getHours();var mm=now.getMinutes();var ss=now.getSeconds();var ampm="";while(i_format < format.length){c=format.charAt(i_format);token="";while((format.charAt(i_format)==c) &&(i_format < format.length)){token += format.charAt(i_format++);}if(token=="yyyy" || token=="yy" || token=="y"){if(token=="yyyy"){x=4;y=4;}if(token=="yy"){x=2;y=2;}if(token=="y"){x=2;y=4;}year=_getInt(val,i_val,x,y);if(year==null){return 0;}i_val += year.length;if(year.length==2){if(year > 70){year=1900+(year-0);}else{year=2000+(year-0);}}}else if(token=="MMM"||token=="NNN"){month=0;for(var i=0;i<MONTH_NAMES.length;i++){var month_name=MONTH_NAMES[i];if(val.substring(i_val,i_val+month_name.length).toLowerCase()==month_name.toLowerCase()){if(token=="MMM"||(token=="NNN"&&i>11)){month=i+1;if(month>12){month -= 12;}i_val += month_name.length;break;}}}if((month < 1)||(month>12)){return 0;}}else if(token=="EE"||token=="E"){for(var i=0;i<DAY_NAMES.length;i++){var day_name=DAY_NAMES[i];if(val.substring(i_val,i_val+day_name.length).toLowerCase()==day_name.toLowerCase()){i_val += day_name.length;break;}}}else if(token=="MM"||token=="M"){month=_getInt(val,i_val,token.length,2);if(month==null||(month<1)||(month>12)){return 0;}i_val+=month.length;}else if(token=="dd"||token=="d"){date=_getInt(val,i_val,token.length,2);if(date==null||(date<1)||(date>31)){return 0;}i_val+=date.length;}else if(token=="hh"||token=="h"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<1)||(hh>12)){return 0;}i_val+=hh.length;}else if(token=="HH"||token=="H"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<0)||(hh>23)){return 0;}i_val+=hh.length;}else if(token=="KK"||token=="K"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<0)||(hh>11)){return 0;}i_val+=hh.length;}else if(token=="kk"||token=="k"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<1)||(hh>24)){return 0;}i_val+=hh.length;hh--;}else if(token=="mm"||token=="m"){mm=_getInt(val,i_val,token.length,2);if(mm==null||(mm<0)||(mm>59)){return 0;}i_val+=mm.length;}else if(token=="ss"||token=="s"){ss=_getInt(val,i_val,token.length,2);if(ss==null||(ss<0)||(ss>59)){return 0;}i_val+=ss.length;}else if(token=="a"){if(val.substring(i_val,i_val+2).toLowerCase()=="am"){ampm="AM";}else if(val.substring(i_val,i_val+2).toLowerCase()=="pm"){ampm="PM";}else{return 0;}i_val+=2;}else{if(val.substring(i_val,i_val+token.length)!=token){return 0;}else{i_val+=token.length;}}}if(i_val != val.length){return 0;}if(month==2){if( ((year%4==0)&&(year%100 != 0) ) ||(year%400==0) ){if(date > 29){return 0;}}else{if(date > 28){return 0;}}}if((month==4)||(month==6)||(month==9)||(month==11)){if(date > 30){return 0;}}if(hh<12 && ampm=="PM"){hh=hh-0+12;}else if(hh>11 && ampm=="AM"){hh-=12;}var newdate=new Date(year,month-1,date,hh,mm,ss);return newdate.getTime();}
+function parseDate(val){var preferEuro=(arguments.length==2)?arguments[1]:false;generalFormats=new Array('y-M-d','MMM d, y','MMM d,y','y-MMM-d','d-MMM-y','MMM d');monthFirst=new Array('M/d/y','M-d-y','M.d.y','MMM-d','M/d','M-d');dateFirst =new Array('d/M/y','d-M-y','d.M.y','d-MMM','d/M','d-M');var checkList=new Array('generalFormats',preferEuro?'dateFirst':'monthFirst',preferEuro?'monthFirst':'dateFirst');var d=null;for(var i=0;i<checkList.length;i++){var l=window[checkList[i]];for(var j=0;j<l.length;j++){d=getDateFromFormat(val,l[j]);if(d!=0){return new Date(d);}}}return null;}
+
+/* SOURCE FILE: AnchorPosition.js */
+function getAnchorPosition(anchorname){var useWindow=false;var coordinates=new Object();var x=0,y=0;var use_gebi=false, use_css=false, use_layers=false;if(document.getElementById){use_gebi=true;}else if(document.all){use_css=true;}else if(document.layers){use_layers=true;}if(use_gebi && document.all){x=AnchorPosition_getPageOffsetLeft(document.all[anchorname]);y=AnchorPosition_getPageOffsetTop(document.all[anchorname]);}else if(use_gebi){var o=document.getElementById(anchorname);x=AnchorPosition_getPageOffsetLeft(o);y=AnchorPosition_getPageOffsetTop(o);}else if(use_css){x=AnchorPosition_getPageOffsetLeft(document.all[anchorname]);y=AnchorPosition_getPageOffsetTop(document.all[anchorname]);}else if(use_layers){var found=0;for(var i=0;i<document.anchors.length;i++){if(document.anchors[i].name==anchorname){found=1;break;}}if(found==0){coordinates.x=0;coordinates.y=0;return coordinates;}x=document.anchors[i].x;y=document.anchors[i].y;}else{coordinates.x=0;coordinates.y=0;return coordinates;}coordinates.x=x;coordinates.y=y;return coordinates;}
+function getAnchorWindowPosition(anchorname){var coordinates=getAnchorPosition(anchorname);var x=0;var y=0;if(document.getElementById){if(isNaN(window.screenX)){x=coordinates.x-document.body.scrollLeft+window.screenLeft;y=coordinates.y-document.body.scrollTop+window.screenTop;}else{x=coordinates.x+window.screenX+(window.outerWidth-window.innerWidth)-window.pageXOffset;y=coordinates.y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset;}}else if(document.all){x=coordinates.x-document.body.scrollLeft+window.screenLeft;y=coordinates.y-document.body.scrollTop+window.screenTop;}else if(document.layers){x=coordinates.x+window.screenX+(window.outerWidth-window.innerWidth)-window.pageXOffset;y=coordinates.y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset;}coordinates.x=x;coordinates.y=y;return coordinates;}
+function AnchorPosition_getPageOffsetLeft(el){var ol=el.offsetLeft;while((el=el.offsetParent) != null){ol += el.offsetLeft;};return ol;}
+function AnchorPosition_getWindowOffsetLeft(el){return AnchorPosition_getPageOffsetLeft(el)-document.body.scrollLeft;}
+function AnchorPosition_getPageOffsetTop(el){var ot=el.offsetTop;while((el=el.offsetParent) != null){ot += el.offsetTop;}return ot;}
+function AnchorPosition_getWindowOffsetTop(el){return AnchorPosition_getPageOffsetTop(el)-document.body.scrollTop;}
+
+/* SOURCE FILE: PopupWindow.js */
+function PopupWindow_getXYPosition(anchorname){var coordinates;if(this.type == "WINDOW"){coordinates = getAnchorWindowPosition(anchorname);}else{coordinates = getAnchorPosition(anchorname);}this.x = coordinates.x;this.y = coordinates.y;}
+function PopupWindow_setSize(width,height){this.width = width;this.height = height;}
+function PopupWindow_populate(contents){this.contents = contents;this.populated = false;}
+function PopupWindow_setUrl(url){this.url = url;}
+function PopupWindow_setWindowProperties(props){this.windowProperties = props;}
+function PopupWindow_refresh(){if(this.divName != null){if(this.use_gebi){document.getElementById(this.divName).innerHTML = this.contents;}else if(this.use_css){document.all[this.divName].innerHTML = this.contents;}else if(this.use_layers){var d = document.layers[this.divName];d.document.open();d.document.writeln(this.contents);d.document.close();}}else{if(this.popupWindow != null && !this.popupWindow.closed){if(this.url!=""){this.popupWindow.location.href=this.url;}else{this.popupWindow.document.open();this.popupWindow.document.writeln(this.contents);this.popupWindow.document.close();}this.popupWindow.focus();}}}
+function PopupWindow_showPopup(anchorname){this.getXYPosition(anchorname);this.x += this.offsetX;this.y += this.offsetY;if(!this.populated &&(this.contents != "")){this.populated = true;this.refresh();}if(this.divName != null){if(this.use_gebi){document.getElementById(this.divName).style.left = this.x+"px";document.getElementById(this.divName).style.top = this.y+"px";document.getElementById(this.divName).style.visibility = "visible";}else if(this.use_css){document.all[this.divName].style.left = this.x;document.all[this.divName].style.top = this.y;document.all[this.divName].style.visibility = "visible";}else if(this.use_layers){document.layers[this.divName].left = this.x;document.layers[this.divName].top = this.y;document.layers[this.divName].visibility = "visible";}}else{if(this.popupWindow == null || this.popupWindow.closed){if(this.x<0){this.x=0;}if(this.y<0){this.y=0;}if(screen && screen.availHeight){if((this.y + this.height) > screen.availHeight){this.y = screen.availHeight - this.height;}}if(screen && screen.availWidth){if((this.x + this.width) > screen.availWidth){this.x = screen.availWidth - this.width;}}this.popupWindow = window.open("about:blank","window_"+anchorname,this.windowProperties+",width="+this.width+",height="+this.height+",screenX="+this.x+",left="+this.x+",screenY="+this.y+",top="+this.y+"");}this.refresh();}}
+function PopupWindow_hidePopup(){if(this.divName != null){if(this.use_gebi){document.getElementById(this.divName).style.visibility = "hidden";}else if(this.use_css){document.all[this.divName].style.visibility = "hidden";}else if(this.use_layers){document.layers[this.divName].visibility = "hidden";}}else{if(this.popupWindow && !this.popupWindow.closed){this.popupWindow.close();this.popupWindow = null;}}}
+function PopupWindow_isClicked(e){if(this.divName != null){if(this.use_layers){var clickX = e.pageX;var clickY = e.pageY;var t = document.layers[this.divName];if((clickX > t.left) &&(clickX < t.left+t.clip.width) &&(clickY > t.top) &&(clickY < t.top+t.clip.height)){return true;}else{return false;}}else if(document.all){var t = window.event.srcElement;while(t.parentElement != null){if(t.id==this.divName){return true;}t = t.parentElement;}return false;}else if(this.use_gebi){var t = e.originalTarget;while(t.parentNode != null){if(t.id==this.divName){return true;}t = t.parentNode;}return false;}return false;}return false;}
+function PopupWindow_hideIfNotClicked(e){if(this.autoHideEnabled && !this.isClicked(e)){this.hidePopup();}}
+function PopupWindow_autoHide(){this.autoHideEnabled = true;}
+function PopupWindow_hidePopupWindows(e){for(var i=0;i<popupWindowObjects.length;i++){if(popupWindowObjects[i] != null){var p = popupWindowObjects[i];p.hideIfNotClicked(e);}}}
+function PopupWindow_attachListener(){if(document.layers){document.captureEvents(Event.MOUSEUP);}window.popupWindowOldEventListener = document.onmouseup;if(window.popupWindowOldEventListener != null){document.onmouseup = new Function("window.popupWindowOldEventListener();PopupWindow_hidePopupWindows();");}else{document.onmouseup = PopupWindow_hidePopupWindows;}}
+function PopupWindow(){if(!window.popupWindowIndex){window.popupWindowIndex = 0;}if(!window.popupWindowObjects){window.popupWindowObjects = new Array();}if(!window.listenerAttached){window.listenerAttached = true;PopupWindow_attachListener();}this.index = popupWindowIndex++;popupWindowObjects[this.index] = this;this.divName = null;this.popupWindow = null;this.width=0;this.height=0;this.populated = false;this.visible = false;this.autoHideEnabled = false;this.contents = "";this.url="";this.windowProperties="toolbar=no,location=no,status=no,menubar=no,scrollbars=auto,resizable,alwaysRaised,dependent,titlebar=no";if(arguments.length>0){this.type="DIV";this.divName = arguments[0];}else{this.type="WINDOW";}this.use_gebi = false;this.use_css = false;this.use_layers = false;if(document.getElementById){this.use_gebi = true;}else if(document.all){this.use_css = true;}else if(document.layers){this.use_layers = true;}else{this.type = "WINDOW";}this.offsetX = 0;this.offsetY = 0;this.getXYPosition = PopupWindow_getXYPosition;this.populate = PopupWindow_populate;this.setUrl = PopupWindow_setUrl;this.setWindowProperties = PopupWindow_setWindowProperties;this.refresh = PopupWindow_refresh;this.showPopup = PopupWindow_showPopup;this.hidePopup = PopupWindow_hidePopup;this.setSize = PopupWindow_setSize;this.isClicked = PopupWindow_isClicked;this.autoHide = PopupWindow_autoHide;this.hideIfNotClicked = PopupWindow_hideIfNotClicked;}
+
+
+/* SOURCE FILE: CalendarPopup.js */
+function CalendarPopup(){var c;if(arguments.length>0){c = new PopupWindow(arguments[0]);}else{c = new PopupWindow();c.setSize(150,175);}c.offsetX = 0;c.offsetY = 20;c.autoHide();c.monthNames = new Array("January","February","March","April","May","June","July","August","September","October","November","December");c.monthAbbreviations = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");c.dayHeaders = new Array("S","M","T","W","T","F","S");c.returnFunction = "CalendarPopup_tmpReturnFunction";c.returnMonthFunction = "CalendarPopup_tmpReturnMonthFunction";c.returnQuarterFunction = "CalendarPopup_tmpReturnQuarterFunction";c.returnYearFunction = "CalendarPopup_tmpReturnYearFunction";c.weekStartDay = 0;c.isShowYearNavigation = false;c.displayType = "date";c.disabledWeekDays = new Object();c.disabledDatesExpression = "";c.yearSelectStartOffset = 2;c.currentDate = null;c.todayText="Today";window.CalendarPopup_targetInput = null;window.CalendarPopup_dateFormat = "mm/dd/yyyy";c.setReturnFunction = CalendarPopup_setReturnFunction;c.setReturnMonthFunction = CalendarPopup_setReturnMonthFunction;c.setReturnQuarterFunction = CalendarPopup_setReturnQuarterFunction;c.setReturnYearFunction = CalendarPopup_setReturnYearFunction;c.setMonthNames = CalendarPopup_setMonthNames;c.setMonthAbbreviations = CalendarPopup_setMonthAbbreviations;c.setDayHeaders = CalendarPopup_setDayHeaders;c.setWeekStartDay = CalendarPopup_setWeekStartDay;c.setDisplayType = CalendarPopup_setDisplayType;c.setDisabledWeekDays = CalendarPopup_setDisabledWeekDays;c.addDisabledDates = CalendarPopup_addDisabledDates;c.setYearSelectStartOffset = CalendarPopup_setYearSelectStartOffset;c.setTodayText = CalendarPopup_setTodayText;c.showYearNavigation = CalendarPopup_showYearNavigation;c.showCalendar = CalendarPopup_showCalendar;c.hideCalendar = CalendarPopup_hideCalendar;c.getStyles = CalendarPopup_getStyles;c.refreshCalendar = CalendarPopup_refreshCalendar;c.getCalendar = CalendarPopup_getCalendar;c.select = CalendarPopup_select;return c;}
+function CalendarPopup_tmpReturnFunction(y,m,d){if(window.CalendarPopup_targetInput!=null){var dt = new Date(y,m-1,d,0,0,0);window.CalendarPopup_targetInput.value = formatDate(dt,window.CalendarPopup_dateFormat);}else{alert('Use setReturnFunction() to define which function will get the clicked results!');}}
+function CalendarPopup_tmpReturnMonthFunction(y,m){alert('Use setReturnMonthFunction() to define which function will get the clicked results!\nYou clicked: year='+y+' , month='+m);}
+function CalendarPopup_tmpReturnQuarterFunction(y,q){alert('Use setReturnQuarterFunction() to define which function will get the clicked results!\nYou clicked: year='+y+' , quarter='+q);}
+function CalendarPopup_tmpReturnYearFunction(y){alert('Use setReturnYearFunction() to define which function will get the clicked results!\nYou clicked: year='+y);}
+function CalendarPopup_setReturnFunction(name){this.returnFunction = name;}
+function CalendarPopup_setReturnMonthFunction(name){this.returnMonthFunction = name;}
+function CalendarPopup_setReturnQuarterFunction(name){this.returnQuarterFunction = name;}
+function CalendarPopup_setReturnYearFunction(name){this.returnYearFunction = name;}
+function CalendarPopup_setMonthNames(){for(var i=0;i<arguments.length;i++){this.monthNames[i] = arguments[i];}}
+function CalendarPopup_setMonthAbbreviations(){for(var i=0;i<arguments.length;i++){this.monthAbbreviations[i] = arguments[i];}}
+function CalendarPopup_setDayHeaders(){for(var i=0;i<arguments.length;i++){this.dayHeaders[i] = arguments[i];}}
+function CalendarPopup_setWeekStartDay(day){this.weekStartDay = day;}
+function CalendarPopup_showYearNavigation(){this.isShowYearNavigation = true;}
+function CalendarPopup_setDisplayType(type){if(type!="date"&&type!="week-end"&&type!="month"&&type!="quarter"&&type!="year"){alert("Invalid display type! Must be one of: date,week-end,month,quarter,year");return false;}this.displayType=type;}
+function CalendarPopup_setYearSelectStartOffset(num){this.yearSelectStartOffset=num;}
+function CalendarPopup_setDisabledWeekDays(){this.disabledWeekDays = new Object();for(var i=0;i<arguments.length;i++){this.disabledWeekDays[arguments[i]] = true;}}
+function CalendarPopup_addDisabledDates(start, end){if(arguments.length==1){end=start;}if(start==null && end==null){return;}if(this.disabledDatesExpression!=""){this.disabledDatesExpression+= "||";}if(start!=null){start = parseDate(start);start=""+start.getFullYear()+LZ(start.getMonth()+1)+LZ(start.getDate());}if(end!=null){end=parseDate(end);end=""+end.getFullYear()+LZ(end.getMonth()+1)+LZ(end.getDate());}if(start==null){this.disabledDatesExpression+="(ds<="+end+")";}else if(end ==null){this.disabledDatesExpression+="(ds>="+start+")";}else{this.disabledDatesExpression+="(ds>="+start+"&&ds<="+end+")";}}
+function CalendarPopup_setTodayText(text){this.todayText = text;}
+function CalendarPopup_hideCalendar(){if(arguments.length > 0){window.popupWindowObjects[arguments[0]].hidePopup();}else{this.hidePopup();}}
+function CalendarPopup_refreshCalendar(index){var calObject = window.popupWindowObjects[index];if(arguments.length>1){calObject.populate(calObject.getCalendar(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]));}else{calObject.populate(calObject.getCalendar());}calObject.refresh();}
+function CalendarPopup_showCalendar(anchorname){if(arguments.length>1){if(arguments[1]==null||arguments[1]==""){this.currentDate=new Date();}else{this.currentDate=new Date(parseDate(arguments[1]));}}this.populate(this.getCalendar());this.showPopup(anchorname);}
+function CalendarPopup_select(inputobj, linkname, format){var selectedDate=(arguments.length>3)?arguments[3]:null;if(!window.getDateFromFormat){alert("calendar.select: To use this method you must also include 'date.js' for date formatting");return;}if(this.displayType!="date"&&this.displayType!="week-end"){alert("calendar.select: This function can only be used with displayType 'date' or 'week-end'");return;}if(inputobj.type!="text" && inputobj.type!="hidden" && inputobj.type!="textarea"){alert("calendar.select: Input object passed is not a valid form input object");window.CalendarPopup_targetInput=null;return;}window.CalendarPopup_targetInput = inputobj;this.currentDate=null;var time=0;if(selectedDate!=null){time = getDateFromFormat(selectedDate,format)}else if(inputobj.value!=""){time = getDateFromFormat(inputobj.value,format);}if(selectedDate!=null || inputobj.value!=""){if(time==0){this.currentDate=null;}else{this.currentDate=new Date(time);}}window.CalendarPopup_dateFormat = format;this.showCalendar(linkname);}
+function CalendarPopup_getStyles(){var result = "";result += "<style type=\"text/css\">\n";result += "table.cal{background:white;color:black}\n";result += "table.cal a{font-weight:normal !important}\n";result += "td.cal,td.calday,td.calmonth,td.caltoday,a.textlink,.disabledtextlink{font-family:arial;font-size:8pt}\n";result += "td.calday{border:solid 1px #C0C0C0;border-width:0px 0px 1px 0px;}\n";result += "td.calmonth{text-align:right;}\n";result += "td.caltoday{text-align:right;color:white;background-color:#C0C0C0;border:solid 1px blue;}\n";result += "td.textlink{border:solid 1px #C0C0C0;border-width:1px 0px 0px 0px;}\n";result += "a.textlink{height:20px;color:black;}\n";result += ".disabledtextlink{height:20px;color:#808080;}\n";result += "a.cal{text-decoration:none;color:#000000;}\n";result += "a.calthismonth{text-decoration:none;color:#000000;}\n";result += "a.calothermonth{text-decoration:none;color:#808080;}\n";result += ".calnotclickable{color:#808080;}\n";result += ".disabled{color:#D0D0D0;text-decoration:line-through;}\n";result += "</style>\n";return result;}
+function CalendarPopup_getCalendar(){var now = new Date();if(this.type == "WINDOW"){var windowref = "window.opener.";}else{var windowref = "";}var result = "";if(this.type == "WINDOW"){result += "<HTML><HEAD><TITLE>Calendar</TITLE>"+this.getStyles()+"</HEAD><BODY MARGINWIDTH=0 MARGINHEIGHT=0 TOPMARGIN=0 RIGHTMARGIN=0 LEFTMARGIN=0>\n";result += '<CENTER><TABLE WIDTH=100% BORDER=0 BORDERWIDTH=0 CELLSPACING=0 CELLPADDING=0>\n';}else{result += '<TABLE CLASS="cal" WIDTH=144 BORDER=1 BORDERWIDTH=1 BORDERCOLOR="#808080" CELLSPACING=0 CELLPADDING=1>\n';result += '<TR><TD ALIGN=CENTER>\n';result += '<CENTER>\n';}var t144="<TABLE WIDTH=144 BORDER=0 BORDERWIDTH=0 CELLSPACING=0 CELLPADDING=0>";if(this.displayType=="date" || this.displayType=="week-end"){if(this.currentDate==null){this.currentDate = now;}if(arguments.length > 0){var month = arguments[0];}else{var month = this.currentDate.getMonth()+1;}if(arguments.length > 1){var year = arguments[1];}else{var year = this.currentDate.getFullYear();}var daysinmonth= new Array(0,31,28,31,30,31,30,31,31,30,31,30,31);if( ((year%4 == 0)&&(year%100 != 0) ) ||(year%400 == 0) ){daysinmonth[2] = 29;}var current_month = new Date(year,month-1,1);var display_year = year;var display_month = month;var display_date = 1;var weekday= current_month.getDay();var offset = 0;if(weekday >= this.weekStartDay){offset = weekday - this.weekStartDay;}else{offset = 7-this.weekStartDay+weekday;}if(offset > 0){display_month--;if(display_month < 1){display_month = 12;display_year--;}display_date = daysinmonth[display_month]-offset+1;}var next_month = month+1;var next_month_year = year;if(next_month > 12){next_month=1;next_month_year++;}var last_month = month-1;var last_month_year = year;if(last_month < 1){last_month=12;last_month_year--;}var date_class;if(this.type!="WINDOW"){result += t144;}result += '<TR BGCOLOR="#C0C0C0">\n';var refresh = 'javascript:'+windowref+'CalendarPopup_refreshCalendar';var td = '<TD BGCOLOR="#C0C0C0" CLASS="cal" ALIGN=CENTER VALIGN=MIDDLE WIDTH=';if(this.isShowYearNavigation){result += td+'10><B><A CLASS="cal" HREF="'+refresh+'('+this.index+','+last_month+','+last_month_year+');"><</A></B></TD>';result += td+'58>'+this.monthNames[month-1]+'</TD>';result += td+'10><B><A CLASS="cal" HREF="'+refresh+'('+this.index+','+next_month+','+next_month_year+');">></A></B></TD>';result += td+'10> </TD>';result += td+'10><B><A CLASS="cal" HREF="'+refresh+'('+this.index+','+month+','+(year-1)+');"><</A></B></TD>';result += td+'36>'+year+'</TD>';result += td+'10><B><A CLASS="cal" HREF="'+refresh+'('+this.index+','+month+','+(year+1)+');">></A></B></TD>';}else{result += td+'22><B><A CLASS="cal" HREF="'+refresh+'('+this.index+','+last_month+','+last_month_year+');"><<</A></B></TD>\n';result += td+'100>'+this.monthNames[month-1]+' '+year+'</TD>\n';result += td+'22><B><A CLASS="cal" HREF="'+refresh+'('+this.index+','+next_month+','+next_month_year+');">>></A></B></TD>\n';}result += '</TR></TABLE>\n';result += '<TABLE WIDTH=120 BORDER=0 CELLSPACING=0 CELLPADDING=1 ALIGN=CENTER>\n';result += '<TR>\n';var td = ' <TD CLASS="calday" ALIGN=RIGHT WIDTH=14%>';for(var j=0;j<7;j++){result += td+this.dayHeaders[(this.weekStartDay+j)%7]+'</TD>\n';}result += '</TR>\n';for(var row=1;row<=6;row++){result += '<TR>\n';for(var col=1;col<=7;col++){if(display_month == month){date_class = "calthismonth";}else{date_class = "calothermonth";}if((display_month == this.currentDate.getMonth()+1) &&(display_date==this.currentDate.getDate()) &&(display_year==this.currentDate.getFullYear())){td_class="caltoday";}else{td_class="calmonth";}var disabled=false;if(this.disabledDatesExpression!=""){var ds=""+display_year+LZ(display_month)+LZ(display_date);eval("disabled=("+this.disabledDatesExpression+")");}if(disabled || this.disabledWeekDays[col-1]){date_class=(disabled)?"disabled":"calnotclickable";result += ' <TD CLASS="'+td_class+'"><SPAN CLASS="'+date_class+'">'+display_date+'</SPAN></TD>\n';}else{var selected_date = display_date;var selected_month = display_month;var selected_year = display_year;if(this.displayType=="week-end"){var d = new Date(selected_year,selected_month-1,selected_date,0,0,0,0);d.setDate(d.getDate() +(7-col));selected_year = d.getYear();if(selected_year < 1000){selected_year += 1900;}selected_month = d.getMonth()+1;selected_date = d.getDate();}result += ' <TD CLASS="'+td_class+'"><A HREF="javascript:'+windowref+this.returnFunction+'('+selected_year+','+selected_month+','+selected_date+');'+windowref+'CalendarPopup_hideCalendar(\''+this.index+'\');" CLASS="'+date_class+'">'+display_date+'</A></TD>\n';}display_date++;if(display_date > daysinmonth[display_month]){display_date=1;display_month++;}if(display_month > 12){display_month=1;display_year++;}}result += '</TR>';}var current_weekday = now.getDay() - this.weekStartDay;if(current_weekday < 0){current_weekday += 7;}result += '<TR>\n';result += ' <TD COLSPAN=7 ALIGN=CENTER CLASS="textlink">\n';if(this.disabledWeekDays[current_weekday+1]){result += ' <SPAN CLASS="disabledtextlink">'+this.todayText+'</SPAN>\n';}else{result += ' <A CLASS="textlink" HREF="javascript:'+windowref+this.returnFunction+'(\''+now.getFullYear()+'\',\''+(now.getMonth()+1)+'\',\''+now.getDate()+'\');'+windowref+'CalendarPopup_hideCalendar(\''+this.index+'\');">'+this.todayText+'</A>\n';}result += ' <BR>\n';result += ' </TD></TR></TABLE></CENTER></TD></TR></TABLE>\n';}if(this.displayType=="month" || this.displayType=="quarter" || this.displayType=="year"){if(arguments.length > 0){var year = arguments[0];}else{if(this.displayType=="year"){var year = now.getFullYear()-this.yearSelectStartOffset;}else{var year = now.getFullYear();}}if(this.displayType!="year" && this.isShowYearNavigation){result += t144;result += '<TR BGCOLOR="#C0C0C0">\n';result += ' <TD BGCOLOR="#C0C0C0" CLASS="cal" WIDTH=22 ALIGN=CENTER VALIGN=MIDDLE><B><A CLASS="cal" HREF="javascript:'+windowref+'CalendarPopup_refreshCalendar('+this.index+','+(year-1)+');"><<</A></B></TD>\n';result += ' <TD BGCOLOR="#C0C0C0" CLASS="cal" WIDTH=100 ALIGN=CENTER>'+year+'</TD>\n';result += ' <TD BGCOLOR="#C0C0C0" CLASS="cal" WIDTH=22 ALIGN=CENTER VALIGN=MIDDLE><B><A CLASS="cal" HREF="javascript:'+windowref+'CalendarPopup_refreshCalendar('+this.index+','+(year+1)+');">>></A></B></TD>\n';result += '</TR></TABLE>\n';}}if(this.displayType=="month"){result += '<TABLE WIDTH=120 BORDER=0 CELLSPACING=1 CELLPADDING=0 ALIGN=CENTER>\n';for(var i=0;i<4;i++){result += '<TR>';for(var j=0;j<3;j++){var monthindex =((i*3)+j);result += '<TD WIDTH=33% ALIGN=CENTER><A CLASS="textlink" HREF="javascript:'+windowref+this.returnMonthFunction+'('+year+','+(monthindex+1)+');'+windowref+'CalendarPopup_hideCalendar(\''+this.index+'\');" CLASS="'+date_class+'">'+this.monthAbbreviations[monthindex]+'</A></TD>';}result += '</TR>';}result += '</TABLE></CENTER></TD></TR></TABLE>\n';}if(this.displayType=="quarter"){result += '<BR><TABLE WIDTH=120 BORDER=1 CELLSPACING=0 CELLPADDING=0 ALIGN=CENTER>\n';for(var i=0;i<2;i++){result += '<TR>';for(var j=0;j<2;j++){var quarter =((i*2)+j+1);result += '<TD WIDTH=50% ALIGN=CENTER><BR><A CLASS="textlink" HREF="javascript:'+windowref+this.returnQuarterFunction+'('+year+','+quarter+');'+windowref+'CalendarPopup_hideCalendar(\''+this.index+'\');" CLASS="'+date_class+'">Q'+quarter+'</A><BR><BR></TD>';}result += '</TR>';}result += '</TABLE></CENTER></TD></TR></TABLE>\n';}if(this.displayType=="year"){var yearColumnSize = 4;result += t144;result += '<TR BGCOLOR="#C0C0C0">\n';result += ' <TD BGCOLOR="#C0C0C0" CLASS="cal" WIDTH=50% ALIGN=CENTER VALIGN=MIDDLE><B><A CLASS="cal" HREF="javascript:'+windowref+'CalendarPopup_refreshCalendar('+this.index+','+(year-(yearColumnSize*2))+');"><<</A></B></TD>\n';result += ' <TD BGCOLOR="#C0C0C0" CLASS="cal" WIDTH=50% ALIGN=CENTER VALIGN=MIDDLE><B><A CLASS="cal" HREF="javascript:'+windowref+'CalendarPopup_refreshCalendar('+this.index+','+(year+(yearColumnSize*2))+');">>></A></B></TD>\n';result += '</TR></TABLE>\n';result += '<TABLE WIDTH=120 BORDER=0 CELLSPACING=1 CELLPADDING=0 ALIGN=CENTER>\n';for(var i=0;i<yearColumnSize;i++){for(var j=0;j<2;j++){var currentyear = year+(j*yearColumnSize)+i;result += '<TD WIDTH=50% ALIGN=CENTER><A CLASS="textlink" HREF="javascript:'+windowref+this.returnYearFunction+'('+currentyear+');'+windowref+'CalendarPopup_hideCalendar(\''+this.index+'\');" CLASS="'+date_class+'">'+currentyear+'</A></TD>';}result += '</TR>';}result += '</TABLE></CENTER></TD></TR></TABLE>\n';}if(this.type == "WINDOW"){result += "</BODY></HTML>\n";}return result;}
+
Added: incubator/roller/trunk/web/themes/sunsets/scripts/styleswitcher.js
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/scripts/styleswitcher.js?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/sunsets/scripts/styleswitcher.js (added)
+++ incubator/roller/trunk/web/themes/sunsets/scripts/styleswitcher.js Wed Jun 8 09:06:16 2005
@@ -0,0 +1,73 @@
+// switch styles
+
+function setActiveStyleSheet(title) {
+ var i, a, main;
+ for (i=0; (a = document.getElementsByTagName("link")[i]); i++) {
+ if (a.getAttribute("rel") &&
+ a.getAttribute("rel").indexOf("style") != -1 &&
+ a.getAttribute("title")) {
+ a.disabled = true;
+ if(a.getAttribute("title") == title) a.disabled = false;
+ }
+ }
+}
+
+function getActiveStyleSheet() {
+ var i, a;
+ for (i=0; (a = document.getElementsByTagName("link")[i]); i++) {
+ if (a.getAttribute("rel") &&
+ a.getAttribute("rel").indexOf("style") != -1 &&
+ a.getAttribute("title") &&
+ !a.disabled
+ ) return a.getAttribute("title");
+ }
+ return null;
+}
+
+function getPreferredStyleSheet() {
+ var i, a;
+ for (i=0; (a = document.getElementsByTagName("link")[i]); i++) {
+ if (a.getAttribute("rel") &&
+ a.getAttribute("rel").indexOf("style") != -1 &&
+ a.getAttribute("rel").indexOf("alt") == -1 &&
+ a.getAttribute("title")
+ ) return a.getAttribute("title");
+ }
+ return null;
+}
+
+function createCookie(name,value,days) {
+ if (days) {
+ var date = new Date();
+ date.setTime(date.getTime()+(days*24*60*60*1000));
+ var expires = "; expires="+date.toGMTString();
+ }
+ else expires = "";
+ document.cookie = name+"="+value+expires+"; path=/";
+}
+
+function readCookie(name) {
+ var nameEQ = name + "=";
+ var ca = document.cookie.split(';');
+ for(var i=0;i < ca.length;i++) {
+ var c = ca[i];
+ while (c.charAt(0)==' ') c = c.substring(1,c.length);
+ if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
+ }
+ return null;
+}
+
+window.onload = function(e) {
+ var cookie = readCookie("style");
+ var title = cookie ? cookie : getPreferredStyleSheet();
+ setActiveStyleSheet(title);
+}
+
+window.onunload = function(e) {
+ var title = getActiveStyleSheet();
+ createCookie("style", title, 365);
+}
+
+var cookie = readCookie("style");
+var title = cookie ? cookie : getPreferredStyleSheet();
+setActiveStyleSheet(title);
\ No newline at end of file
Added: incubator/roller/trunk/web/themes/sunsets/styles/capricorn.css
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/styles/capricorn.css?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/sunsets/styles/capricorn.css (added)
+++ incubator/roller/trunk/web/themes/sunsets/styles/capricorn.css Wed Jun 8 09:06:16 2005
@@ -0,0 +1,32 @@
+@import url(simple.css);
+
+body, .commentTwisty, .comments, .commentByline,
+.commentFormInput, .commentFormTextarea, .commentFormRow {
+ font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif !important;
+}
+
+div#header {
+ background: #000 url(../images/capricorn.jpg);
+ background-position: center;
+ background-repeat: no-repeat;
+ height: 150px;
+}
+
+div#content a {
+ background-color: transparent;
+ color: #CC3300;
+}
+
+div.entry {
+ background-color: #C74900;
+ color: #fff;
+ border: 1px solid #000;
+}
+
+div.trackbackUrl {
+ background-color: transparent;
+ color: red;
+ font-weight: bold;
+}
+
+
Added: incubator/roller/trunk/web/themes/sunsets/styles/cherryeve.css
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/styles/cherryeve.css?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/sunsets/styles/cherryeve.css (added)
+++ incubator/roller/trunk/web/themes/sunsets/styles/cherryeve.css Wed Jun 8 09:06:16 2005
@@ -0,0 +1,14 @@
+@import url(simple.css);
+
+div#header {
+ background: #000 url(../images/cherryEve.jpg);
+ background-position: center;
+ background-repeat: no-repeat;
+ height: 150px;
+}
+
+div.entry {
+ background: #909;
+ color: #fff;
+ border: 1px solid #000;
+}
\ No newline at end of file
Added: incubator/roller/trunk/web/themes/sunsets/styles/print.css
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/styles/print.css?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/sunsets/styles/print.css (added)
+++ incubator/roller/trunk/web/themes/sunsets/styles/print.css Wed Jun 8 09:06:16 2005
@@ -0,0 +1,27 @@
+body {
+ background-color: #ffffff;
+ font-family: Arial, Helvetica, sans-serif;
+ width: 100%;
+}
+
+div#badges, div#header, div.comments-form, a.entrycommentslink,
+a.entrypermalink, div.trackbackUrl, div.commentTwisty, div#search {
+ display: none !important;
+}
+
+div#footer, div#footer a {
+ background: transparent;
+ color: #ffffff;
+}
+
+div#footer span.copyright {
+ background: transparent;
+ color: #666666;
+}
+
+div.entry {
+ background-color: #eeeeee;
+ border: 1px solid #c0c0c0;
+ color: #000000;
+ margin: 0px 0px 10px 0px;
+}
Added: incubator/roller/trunk/web/themes/sunsets/styles/simple.css
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/styles/simple.css?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/sunsets/styles/simple.css (added)
+++ incubator/roller/trunk/web/themes/sunsets/styles/simple.css Wed Jun 8 09:06:16 2005
@@ -0,0 +1,276 @@
+a {
+ font-weight: bold;
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline overline;
+}
+
+a:active {
+ text-decoration: none;
+}
+
+body {
+ background-color: #ffffff;
+ color: #000000;
+ font-family: Georgia, "Times New Roman", Times, serif;
+ font-size: 80%;
+ margin: 20px 72px;
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 1024px;
+ text-align: left;
+ width: 90%;
+}
+
+code, tt, pre {
+ font-family: "Courier New", Courier, monospace;
+}
+
+div#badges {
+ position: absolute;
+}
+
+div#badges img {
+ border: 1px solid #000000;
+}
+
+div#content {
+ padding: 10px;
+ text-align: center; /* centers content */
+}
+
+div#content a {
+ background-color: transparent;
+ color: #000080;
+}
+
+div#content a.entrypermalink {
+ background: transparent;
+ color: #c0c0c0;
+}
+
+div#content ol {
+ margin: 0px 30px 10px 50px;
+}
+
+div#content pre {
+ background: #ffffcc;
+ color: #000000;
+ padding: 5px;
+}
+
+div#entries {
+ text-align: left;
+}
+
+div#entries a.entrycommentslink {
+ background: transparent;
+ color: #999999;
+}
+
+div#entries p {
+ text-align: justify;
+}
+
+div#footer {
+ background: transparent;
+ border-top: 1px dotted #c0c0c0;
+ color: #666666;
+ font-size: 0.9em;
+ padding: 5px 0px 10px 5px;
+}
+
+div#footer a {
+ background: transparent;
+ color: #666666;
+}
+
+div#footer a:hover {
+ background: transparent;
+ border-bottom: 1px dashed #ffa500;
+ color: #000000;
+ text-decoration: none;
+}
+
+div#footer a:active {
+ background: transparent;
+ color: #0000ff;
+ text-decoration: overline underline;
+}
+
+div#header {
+ background: #000000;
+ border: 1px solid #000000;
+ margin-bottom: 10px;
+ width: 100%;
+}
+
+div#header a, div.rWeblogCategoryChooser a {
+ background: transparent;
+ color: #ffffff !important;
+}
+
+div#header h1 {
+ background: transparent;
+ color: #ffffff;
+ cursor: pointer;
+ cursor: hand;
+ float: right;
+ margin-right: 5px;
+ margin-top: 5px;
+}
+
+div.comment {
+ border-bottom: 1px solid #c0c0c0;
+ margin-bottom: 5px;
+}
+
+div.entry {
+ background-color: #eeeeee;
+ border: 1px solid #c0c0c0;
+ color: #000000;
+ font-weight: bold;
+ margin: 10px 0px;
+ padding: 4px;
+}
+
+div.rNavigationBar {
+ background-color: transparent;
+ color: #ffffff;
+ float: left;
+ font-size: .9em;
+ margin-left: 5px;
+ margin-top: 135px;
+}
+
+div.rWeblogCategoryChooser {
+ background: transparent;
+ color: #ffffff;
+ float: right;
+ font-size: .9em;
+ margin-right: 5px;
+ margin-top: -26px;
+}
+
+div.standardsNote {
+ display: none;
+}
+
+div.trackbackUrl {
+ background: transparent;
+ color: #0000ff;
+}
+
+img, img a {
+ border: 0px;
+}
+
+img.picture {
+ border: 1px solid #000000;
+ float: right;
+ margin: 0px 10px 10px 10px;
+}
+
+img.rssbadge {
+ border: 0px;
+ height: 14px;
+ width: 36px;
+}
+
+img.smiley {
+ vertical-align: top;
+}
+
+p,h1,pre,div.p,div.comments,div.comments-form,div.trackbackUrl {
+ margin: 0px 30px 10px 5px;
+ text-align: left;
+}
+
+p.quote {
+ font-style: italic;
+ margin: 0px 30px 10px 20px;
+}
+
+p.smokey {
+ background: #eeeeee;
+ border: 1px solid #000000;
+ padding: 5px 5px 5px 7px;
+}
+
+pre {
+ background: #ffffdd;
+ border: 1px solid #999999;
+ color: #000000;
+ padding: 5px 5px 5px 7px;
+}
+
+span.searchword {
+ background: #ffff00;
+ color: inherit;
+}
+
+table.comparison {
+ border: 1px solid #000000;
+ border-collapse: collapse;
+ margin-bottom: 10px;
+ margin-left: auto;
+ margin-right: auto;
+ width: 400px;
+}
+
+table.comparison td {
+ border: 1px solid #000000;
+ padding: 2px;
+}
+
+table.comparison th {
+ background: #eeeeee;
+ border: 1px solid #000000;
+ color: #000000;
+ padding: 3px;
+}
+
+ul.glassList, div ul {
+ list-style: url(../images/aquadot.jpg) disc outside;
+}
+
+.dateStamp {
+ background: transparent;
+ color: #a0a0a0;
+ font-size: 8pt;
+}
+
+.daypermalink {
+ height: 13px;
+ width: 14px;
+}
+
+.permalink, .daypermalink {
+ border: 0px;
+ vertical-align: top !important;
+}
+
+/* for the java2html plugin */
+div table code {position: relative; top: -10px }
+
+/* for cool looking "sunken" input boxes, from www.theserverside.com */
+form#searchForm input {
+ padding-left: 4px;
+ margin: 1px 1px 1px 1px;
+ border: 1px solid black;
+ color: #777;
+ background-image: url(../images/input_white.gif);
+ font-size: 11px;
+ font-weight: normal;
+}
+
+form#searchForm input.focus {
+ margin: 0px 0px 0px 0px;
+ border-bottom: #ffdead solid 2px;
+ border-right: #ffdead solid 2px;
+ border-left: #c07300 solid 2px;
+ border-top: #c07300 solid 2px;
+ color:#000000;
+}
Added: incubator/roller/trunk/web/themes/sunsets/theme.css
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/sunsets/theme.css?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/sunsets/theme.css (added)
+++ incubator/roller/trunk/web/themes/sunsets/theme.css Wed Jun 8 09:06:16 2005
@@ -0,0 +1 @@
+@import url(./styles/simple.css);
\ No newline at end of file
Added: incubator/roller/trunk/web/themes/werner/Weblog.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/werner/Weblog.vm?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/werner/Weblog.vm (added)
+++ incubator/roller/trunk/web/themes/werner/Weblog.vm Wed Jun 8 09:06:16 2005
@@ -0,0 +1,72 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ #showContentLanguage($locale.language)
+ <link rel="stylesheet" type="text/css" href="$ctxPath/themes/base.css" />
+ <link rel="stylesheet" type="text/css" href="#showThemePath("werner")/theme.css" />
+ <style type="text/css">
+ #includePage("_css")
+ </style>
+ <title>#showWebsiteTitle()</title>
+</head>
+
+<body>
+<div id="MainColumn">
+ <div align="center">
+ <h2>#showWebsiteTitle()</h2>
+ #showWeblogCategoryChooser()
+ </div>
+ #showNextPreviousLinks()
+ #showWeblogEntries("_day" 10)<br/>
+</div>
+
+<div id="SideBar">
+ <div class="namebox">
+ <br/>
+ A blog by
+ <br/>
+ $userName
+ <br/>
+ $obfuscatedEmail
+ <br/><br/>
+ </div>
+ <div class="menubox">
+ <h2 class="box">calendar</h2>
+ <center>#showWeblogCalendar()</center>
+ </div>
+
+ <div class="menubox"><h2 class="box">search</h2>
+ #showSearchForm()
+ </div>
+
+ <div class="menubox"><h2 class="box">navigation</h2>
+ #showBasicNavBar(true)
+ <br/>
+ #showEditorNavBar(true)
+ </div>
+
+ <div class="menubox"><h2 class="box">links</h2>
+ <br/>
+ #showBookmarks("Blogroll" true false )
+ <br/>
+ #showBookmarks("News" true false )
+ <br/>
+ </div>
+
+ <div class="menubox"><h2 class="box">rss feeds</h2>
+ #showRSSBadge()<br/>
+ #showRSSLinks()<br/>
+ </div>
+
+ <div class="menubox"><h2 class="box">referers</h2>
+ #showReferers(20 25)
+ </div>
+
+ <div class="menubox"><h2 class="box">design by</h2>
+ <a href="http://www.shiftat.com/blog/page/werner/">Werner Ramaeker</a>
+ </div>
+</div>
+
+</body>
+</html>
\ No newline at end of file
Added: incubator/roller/trunk/web/themes/werner/_css.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/werner/_css.vm?rev=189602&view=auto
==============================================================================
(empty)
Added: incubator/roller/trunk/web/themes/werner/_day.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/werner/_day.vm?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/werner/_day.vm (added)
+++ incubator/roller/trunk/web/themes/werner/_day.vm Wed Jun 8 09:06:16 2005
@@ -0,0 +1,4 @@
+<div class="box">
+ <h2 class="box">
#showDayPermalink( $day )
#showEntryDate( $day )
</h2>
+#foreach( $entry in $entries )
<a name="$utilities.encode($entry.anchor)" id="$utilities.encode($entry.anchor)"></a>
<b>$entry.title</b> #showEntryText($entry)
<span class="dateStamp">(#showTimestamp($entry.pubTime))</span>
#showEntryPermalink( $entry )
#showCommentsPageLink( $entry )
<br/>
<br/>
#end
+#showLinkbacks( $day )
</div>
Added: incubator/roller/trunk/web/themes/werner/theme.css
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/werner/theme.css?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/werner/theme.css (added)
+++ incubator/roller/trunk/web/themes/werner/theme.css Wed Jun 8 09:06:16 2005
@@ -0,0 +1,317 @@
+#MainColumn {
+ margin-top: 5px;
+ margin-left: 60px;
+ margin-bottom: 5px;
+ margin-right: 240px;
+}
+
+#SideBar {
+ position:absolute;
+ top:0px;
+ right: 10px;
+ width:220px;
+}
+
+div.day {
+ border-style: dotted;
+ border-width: thin;
+ font-family: verdana, sans-serif;
+ font-size: small;
+ color: black;
+ color : #000000;
+}
+
+
+
+pre {
+ background:#FFFF77;
+}
+
+h1 {
+ color:#000000;
+}
+h2 {
+ font-family:verdana, arial, sans-serif;
+ color:#999;
+ font-size:9px;
+ font-weight:bold;
+ background:#eee;
+ line-height:14px;
+ padding:2px;
+ margin-top:10px;
+ border-bottom:1px dotted #666;
+ text-transform:uppercase;
+ letter-spacing: .2em;
+}
+
+h2.box {
+ font-family:verdana, arial, sans-serif;
+ color:#000;
+ font-size:11px;
+ font-weight:bold;
+ line-height:14px;
+ padding:2px;
+ margin-top:10px;
+ border-bottom:1px dotted #666;
+ border-top:1px dotted #666;
+ text-transform:uppercase;
+ letter-spacing: .2em;
+}
+
+p {
+ font-family: verdana, sans-serif;
+ font-size: small;
+ color: black;
+ color : #000000;
+}
+
+body {
+ font-family: verdana, sans-serif;
+ font-size: small;
+ color: black;
+ background-color: white;
+}
+a {
+ text-decoration: none;
+}
+a:link {
+ color: blue;
+ font-weight: medium;
+}
+a:visited {
+ color: red;
+ font-weight: medium;
+}
+
+a:hover {
+ text-decoration:
+}
+img {
+ border: 0px;
+ margin: 0px;
+}
+img.photo {
+ padding: 12px;
+}
+
+.dateStamp {
+ color : gray;
+ font-size: small;
+}
+.daypermalink {
+ border-style : none;
+}
+
+.rFolder {
+ font-size: medium;
+ font-weight: bolder;
+}
+.rBookmarkTd {
+ font-size: small;
+ vertical-align: top;
+ font-weight: normal;
+
+}
+.rBookmark {
+ margin-left: 10px;
+ font-size: small
+ font-weight: normal;
+}
+.rBookmark0 {
+ margin-left: 10px;
+ font-size: small
+ font-weight: normal;
+}
+.rBookmark1 {
+ margin-left: 10px;
+ font-size: small;
+ font-weight: bold;
+}
+.rBookmark2 {
+ margin-left: 10px;
+ font-weight: bold;
+ font-size: large
+}
+.rBookmark3 {
+ margin-left: 10px;
+ font-size: x-large
+}
+
+.hCalendarTable {
+ text-align : center;
+}
+.hCalendarTitle {
+ text-align : center;
+ font-weight : bolder;
+ font-size: large;
+}
+.hCalendarDayNameRow {
+ text-align : center;
+ font-weight : bolder;
+ font-size : x-small;
+}
+.hCalendarDay {
+ text-align : center;
+ font-size : x-small;
+}
+.hCalendarDayCurrent {
+ text-align : center;
+ font-size : x-small;
+ font-weight : bolder ;
+}
+.hCalendarDayLinked {
+ font-size : x-small;
+ font-weight : bolder ;
+ text-align : center;
+}
+.hCalendarDayNotInMonth {
+ font-size : x-small;
+ background-color: #eee;
+ color: gray;
+}
+.hCalendarNextPrev {
+ font-size : x-small;
+ text-align : center;
+ font-style : italic;
+}
+
+div.box {
+ margin: 5px 5px 5px 5px;
+ border: dashed 1px gray;
+ padding: 2px;
+}
+
+div.menubox {
+ margin: 5px 5px 5px 5px;
+ border: dashed 1px gray;
+ padding: 2px;
+ background-color:#eee;
+}
+
+div.namebox {
+ margin: 5px 5px 5px 5px;
+ border: dashed 1px gray;
+ padding: 2px;
+ font-weight:bold;
+ background:#66C;
+ color:yellow;
+}
+
+.rChosenCategory {
+ font-weight: bolder;
+}
+.rUnchosenCategory {
+ font-size: medium;
+}
+
+ul.rReferersList {
+ list-style: none;
+ margin-left: 0;
+ padding-left: 0;
+ font-size : x-small;
+}
+li.rReferersListItem {
+ list-style: none;
+ margin-left: 0;
+ padding-left: 0;
+
+ font-size : x-small;
+}
+
+.hCalendarMonthYearRowBig {
+
+ font-size: x-large;
+ font-weight: bold;
+}
+
+.hCalendarTableBig {
+ width: 95%;
+ border: dashed 1px #aaaaaa;
+ text-align : center;
+ padding: 5px;
+}
+
+.hCalendarMonthYearRowBig {
+ color: white;
+ background-color : #9191cd;
+ border: dashed 1px #aaaaaa;
+ width: 12%;
+}
+
+.hCalendarDayNameRowBig {
+ border: dashed 1px #aaaaaa;
+ background-color: #ffffff;
+ margin: 2px;
+ width: 12%;
+ font-weight: bold;
+}
+
+.bCalendarDayContentBig {
+ font-size: x-small;
+ padding: 3px 0px 3px 0px;
+}
+
+.hCalendarDayTitleBig {
+ position: relative;
+ left: 0;
+ top: 0;
+ width: 25%;
+ padding: 3px 0 3px 0;
+ background: transparent;
+ color: #050505;
+ border-right: 1px solid #050505;
+ border-bottom: 1px solid #050505;
+ font-size: small;
+ text-align: center;
+
+ font-size: small;
+}
+
+.hCalendarDayBig {
+ vertical-align: top;
+ border: dashed 1px #aaaaaa;
+ background-color: #ffffff;
+ margin: 2px;
+ width: 12%;
+}
+
+TD.hCalendarDayCurrentBig {
+ vertical-align: top;
+ border: dashed 1px #aaaaaa;
+ background-color: #ffffff;
+ margin: 2px;
+ width: 12%;
+}
+
+TD.hCalendarDayLinkedBig {
+ vertical-align: top;
+ border-color: #8facc5;
+ border-width: 1px;
+ border-style: solid;
+ background-color: #ffffff;
+ margin: 2px;
+ width: 12%;
+}
+
+TD.hCalendarDayNotInMonthBig {
+ vertical-align: top;
+ border: dashed 1px #aaaaaa;
+ background-color: #ffffff;
+ margin: 2px;
+ width: 12%;
+}
+
+.hCalendarDayNameRowBig {
+ border: dashed 1px #aaaaaa;
+ background-color: #ffffff;
+ margin: 2px;
+ width: 12%;
+ font-weight: bold;
+}
+
+.hCalendarNextPrevBig {
+ border: dashed 1px #aaaaaa;
+ background-color: #ffffff;
+ margin: 2px;
+ width: 12%;
+}
\ No newline at end of file
Added: incubator/roller/trunk/web/themes/x2/Weblog.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/x2/Weblog.vm?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/x2/Weblog.vm (added)
+++ incubator/roller/trunk/web/themes/x2/Weblog.vm Wed Jun 8 09:06:16 2005
@@ -0,0 +1,67 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ #showContentLanguage($locale.language)
+ <base href="$absBaseURL" />
+ #showRSSAutodiscoveryLink()
+ #showThemeScript("x2" "global.js")
+ #showThemeScript("x2" "xmlextras.js")
+ #showThemeScript("x2" "comments.js")
+ <link rel="stylesheet" type="text/css" href="$ctxPath/themes/base.css" />
+ #showThemeStyleImport("x2" "general.css")
+ #showThemeStyleImport("x2" "comments.css")
+ <title>#showWebsiteTitle()</title>
+</head>
+<body>
+
+#showHiddenCommentForm()
+
+<script type="text/javascript">
+ initComments();
+</script>
+
+<div id="content">
+ <h1>#showWebsiteTitle()</h1>
+ #showWeblogCategoryChooser()
+
+ #showNextPreviousLinks()
+ <div id="entries">
+ #showWeblogEntries("_day" 15 )
+ </div>
+</div>
+
+<div id="menu">
+ #showRSSBadge()
+ <div id="calendar">
+ #showWeblogCalendar()
+ </div>
+ <div class="item">
+ #showBookmarks("Blogroll" true false)
+ </div>
+ <div class="item">
+ #showBookmarks("News" true false)
+ </div>
+ <div class="item">
+ #showEditorNavBar(true)
+ </div>
+ <div class="item">
+ #showBasicNavBar(false)
+ </div>
+ <div class="item">
+ <a href="http://validator.w3.org/check/referer">
+ <img class="w3" src="$ctxPath/images/vcss.png"
+ alt="Valid CSS!"/></a>
+ <a href="http://validator.w3.org/check/referer"><img
+ src="$ctxPath/images/valid-xhtml10.png"
+ alt="Valid XHTML 1.0!" class="w3"/></a>
+ </div>
+ <div class="item" style="white-space:nowrap">
+ #showReferers(30 20)
+ </div>
+</div>
+
+</body>
+</html>
Added: incubator/roller/trunk/web/themes/x2/_day.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/x2/_day.vm?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/x2/_day.vm (added)
+++ incubator/roller/trunk/web/themes/x2/_day.vm Wed Jun 8 09:06:16 2005
@@ -0,0 +1,46 @@
+<div class="entry">
+#if ($velocityCount == 1)
+ <div id="search" style="float: right; margin-top: -2px">
+ #if ( !$searchResults )
+ <form id="searchForm" method="get" action="$ctxPath/search/$userName"
+ onsubmit="return search(this)" style="margin: 0; padding: 0">
+ <input type="text" id="q" name="q" size="20"
+ maxlength="255" value="search this site"
+ style="font-size: 11px; border: 1px inset silver; font-weight: normal; padding-left: 2px"
+ onclick="this.value=''" />
+ </form>
+ #end
+ <script type="text/javascript">
+ function search(form) {
+ if (form.q.value == "search this site" || form.q.value == "") {
+ alert("Please enter a search term to continue.");
+ form.q.focus();
+ return false;
+ }
+ }
+ title = "$entries.get(0).title";
+ if (title != "") {
+ document.title=title;
+ }
+ #if ($searchResults)
+ document.title="Search Results for '$term'";
+ #end
+ </script>
+ </div>
+#end
+ #showDayPermalink( $day )
+ #showEntryDate( $day )
+</div>
+
+#foreach( $entry in $entries )
+ <p>
+ <a name="$utilities.encode($entry.anchor)" id="$utilities.encode($entry.anchor)" class="entryTitle">
+ <b>$entry.title</b></a> <br /><br />
+ #showEntryText( $entry )
+ <span class="dateStamp">#showTimestamp($entry.pubTime)</span>
+ #showEntryPermalink( $entry )
+ </p>
+ #showCommentsDiv ( $entry )
+#end
+
+#showLinkbacks( $day )
Added: incubator/roller/trunk/web/themes/x2/comments.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/x2/comments.vm?rev=189602&view=auto
==============================================================================
--- incubator/roller/trunk/web/themes/x2/comments.vm (added)
+++ incubator/roller/trunk/web/themes/x2/comments.vm Wed Jun 8 09:06:16 2005
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+#set( $comments = $entry.comments )
+$dateFormatter.applyPattern("MMMMM dd, yyyy 'at' hh:mm aa z")
+<comments xmlns="http://www.joehewitt.com/content/blog.dtd"
+ entryid="$entry.Id">
+#foreach( $comment in $comments )
+ <comment id="$comment.id">
+ <author>$comment.name</author>
+ <email>$comment.email</email>
+ <url>$comment.url</url>
+ <timestamp>$dateFormatter.format($comment.postTime)</timestamp>
+ <body>$utilities.escapeHTML( $comment.content )</body>
+ </comment>
+#end
+</comments>
\ No newline at end of file
Added: incubator/roller/trunk/web/themes/x2/images/aquadot.jpg
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/x2/images/aquadot.jpg?rev=189602&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/roller/trunk/web/themes/x2/images/aquadot.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/roller/trunk/web/themes/x2/images/background.jpg
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/x2/images/background.jpg?rev=189602&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/roller/trunk/web/themes/x2/images/background.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/roller/trunk/web/themes/x2/images/twisty-cls.gif
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/x2/images/twisty-cls.gif?rev=189602&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/roller/trunk/web/themes/x2/images/twisty-cls.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/roller/trunk/web/themes/x2/images/twisty-opn.gif
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/themes/x2/images/twisty-opn.gif?rev=189602&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/roller/trunk/web/themes/x2/images/twisty-opn.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream