roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r1172075 [4/4] - in /roller/trunk: ./ planet-business/ planet-business/src/main/java/org/apache/roller/planet/ planet-business/src/main/java/org/apache/roller/planet/business/ planet-business/src/main/java/org/apache/roller/planet/config/ p...
Date Sat, 17 Sep 2011 22:00:40 GMT
Modified: roller/trunk/weblogger-webapp/src/main/webapp/themes/basic/theme.xml
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-webapp/src/main/webapp/themes/basic/theme.xml?rev=1172075&r1=1172074&r2=1172075&view=diff
==============================================================================
--- roller/trunk/weblogger-webapp/src/main/webapp/themes/basic/theme.xml (original)
+++ roller/trunk/weblogger-webapp/src/main/webapp/themes/basic/theme.xml Sat Sep 17 22:00:34
2011
@@ -4,6 +4,7 @@
     <id>basic</id>
     <name>Basic</name>
     <author>Roller Weblogger</author>
+    <type>standard</type>
     
     <!-- theme preview image -->
     <preview-image path="basic-preview.png" />
@@ -13,8 +14,12 @@
         <name>basic-custom.css</name>
         <description>Stylesheet for Basic theme</description>
 	<link>basic-custom.css</link>
-        <templateLanguage>velocity</templateLanguage>
-        <contentsFile>basic-custom.css</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>basic-custom.css</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </stylesheet>
     
     <!-- templates -->
@@ -24,9 +29,18 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>weblog.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>weblog.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>weblog-mobile.vm</contentsFile>
+           <type>mobile</type>
+       </templateCode>
     </template>
     
     <template action="permalink">
@@ -35,9 +49,18 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>permalink.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>permalink.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>permalink-mobile.vm</contentsFile>
+           <type>mobile</type>
+       </templateCode>
     </template>
     
     <template action="search">
@@ -46,9 +69,18 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>searchresults.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>searchresults.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>searchresults-mobile.vm</contentsFile>
+           <type>mobile</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -57,9 +89,18 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>_day.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_day.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_day-mobile.vm</contentsFile>
+           <type>mobile</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -68,9 +109,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>sidebar.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>sidebar.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
 </weblogtheme>

Modified: roller/trunk/weblogger-webapp/src/main/webapp/themes/basic/weblog.vm
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-webapp/src/main/webapp/themes/basic/weblog.vm?rev=1172075&r1=1172074&r2=1172075&view=diff
==============================================================================
--- roller/trunk/weblogger-webapp/src/main/webapp/themes/basic/weblog.vm (original)
+++ roller/trunk/weblogger-webapp/src/main/webapp/themes/basic/weblog.vm Sat Sep 17 22:00:34
2011
@@ -7,6 +7,16 @@
     <link rel="stylesheet" type="text/css" media="all" href="$model.weblog.stylesheet">
 </head>
 <body>
+<script type="text/javascript">
+function setCookie(c_name, value, exdays) {
+        var exdate = new Date();
+        exdate.setDate(exdate.getDate() + exdays);
+        var c_value = escape(value) + ((exdays == null) ? "" : "; expires=" + exdate.toUTCString());
+        document.cookie = c_name + "=" + c_value;
+    }
+</script>
+
+<input type="button" value="view Mobile Weblog" onclick='setCookie("roller_user_request_type","mobile",30)'/>
 
 <div class="content_wrapper">
   <div class="content">

Modified: roller/trunk/weblogger-webapp/src/main/webapp/themes/brushedmetal/theme.xml
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-webapp/src/main/webapp/themes/brushedmetal/theme.xml?rev=1172075&r1=1172074&r2=1172075&view=diff
==============================================================================
--- roller/trunk/weblogger-webapp/src/main/webapp/themes/brushedmetal/theme.xml (original)
+++ roller/trunk/weblogger-webapp/src/main/webapp/themes/brushedmetal/theme.xml Sat Sep 17
22:00:34 2011
@@ -4,6 +4,7 @@
     <id>brushedmetal</id>
     <name>Brushed Metal</name>
     <author>Bryan Bell</author>
+    <type>standard</type>
     
     <!-- theme preview image -->
     <preview-image path="brushedmetal-preview.png" />
@@ -13,8 +14,12 @@
         <name>brushedmetal-custom.css</name>
         <description>Stylesheet for Brushed Metal theme</description>
 	<link>brushedmetal-custom.css</link>
-        <templateLanguage>velocity</templateLanguage>
-        <contentsFile>brushedmetal-custom.css</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>brushedmetal-custom.css</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </stylesheet>
     
     <!-- templates -->
@@ -24,9 +29,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>weblog.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>weblog.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="permalink">
@@ -35,9 +43,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>permalink.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>permalink.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="search">
@@ -46,9 +57,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>searchresults.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>searchresults.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -57,9 +71,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>_day.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_day.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -68,9 +85,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>sidebar.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>sidebar.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <!-- resources -->

Modified: roller/trunk/weblogger-webapp/src/main/webapp/themes/fauxcoly/theme.xml
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-webapp/src/main/webapp/themes/fauxcoly/theme.xml?rev=1172075&r1=1172074&r2=1172075&view=diff
==============================================================================
--- roller/trunk/weblogger-webapp/src/main/webapp/themes/fauxcoly/theme.xml (original)
+++ roller/trunk/weblogger-webapp/src/main/webapp/themes/fauxcoly/theme.xml Sat Sep 17 22:00:34
2011
@@ -6,6 +6,7 @@
     <id>fauxcoly</id>
     <name>Fauxcoly</name>
     <author>Dave Johnson</author>
+    <type>standard</type>
     
     <!-- theme preview image -->
     <preview-image path="images/fauxcoly-preview.png" />
@@ -15,8 +16,12 @@
         <name>custom.css</name>
         <description>Custom style sheet</description>
 	    <link>custom.css</link>
-        <templateLanguage>velocity</templateLanguage>
-        <contentsFile>custom_css.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>custom_css.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </stylesheet>
 
     <!-- templates -->
@@ -26,9 +31,12 @@
 	    <link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>weblog.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>weblog.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
 
     <template action="permalink">
@@ -37,9 +45,12 @@
 	    <link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>entry.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>entry.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
 
     <template action="tagsIndex">
@@ -48,9 +59,12 @@
 	    <link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>tags_index.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>tags_index.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
 
     <template action="search">
@@ -59,9 +73,12 @@
 	    <link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>search.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>search.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
 
     <template action="custom">
@@ -70,9 +87,12 @@
 	    <link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>day.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>day.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
 
     <template action="custom">
@@ -81,9 +101,12 @@
 	    <link>archives</link>
         <navbar>true</navbar>
         <hidden>false</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>archives.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>archives.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
 
     <template action="custom">
@@ -92,9 +115,12 @@
 	    <link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>std_head.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>std_head.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
 
     <template action="custom">
@@ -103,9 +129,12 @@
 	    <link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>std_header.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>std_header.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
 
     <template action="custom">
@@ -114,9 +143,12 @@
 	    <link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>std_footer.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>std_footer.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
 
     <template action="custom">
@@ -125,9 +157,12 @@
 	    <link>style.css</link>
         <navbar>false</navbar>
         <hidden>false</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>style_css.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>style_css.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
 
     <template action="custom">
@@ -136,9 +171,12 @@
 	    <link>searchhi.js</link>
         <navbar>false</navbar>
         <hidden>false</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>searchhi.js</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>searchhi.js</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
 
     <resource path="images/faux-columns-950.png" />

Modified: roller/trunk/weblogger-webapp/src/main/webapp/themes/frontpage/theme.xml
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-webapp/src/main/webapp/themes/frontpage/theme.xml?rev=1172075&r1=1172074&r2=1172075&view=diff
==============================================================================
--- roller/trunk/weblogger-webapp/src/main/webapp/themes/frontpage/theme.xml (original)
+++ roller/trunk/weblogger-webapp/src/main/webapp/themes/frontpage/theme.xml Sat Sep 17 22:00:34
2011
@@ -4,6 +4,7 @@
     <id>frontpage</id>
     <name>Frontpage</name>
     <author>Dave Johnson</author>
+    <type>standard</type>
     
     <!-- theme preview image -->
     <preview-image path="sm-theme-frontpage.png" />
@@ -15,9 +16,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>Weblog.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>Weblog.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -26,9 +30,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType></contentType>
-        <contentsFile>_blogdirectory.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_blogdirectory.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -37,9 +44,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType></contentType>
-        <contentsFile>_blogprofile.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_blogprofile.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -48,9 +58,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType></contentType>
-        <contentsFile>_blogs.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_blogs.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -59,9 +72,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType></contentType>
-        <contentsFile>_css.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_css.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -70,9 +86,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType></contentType>
-        <contentsFile>_day.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_day.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -81,9 +100,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType></contentType>
-        <contentsFile>_decorator.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_decorator.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -92,9 +114,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType></contentType>
-        <contentsFile>_entry.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_entry.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -103,9 +128,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType></contentType>
-        <contentsFile>_footer.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_footer.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -114,9 +142,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType></contentType>
-        <contentsFile>_header.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_header.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -125,9 +156,12 @@
 	<link>directory</link>
         <navbar>false</navbar>
         <hidden>false</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType></contentType>
-        <contentsFile>directory.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>directory.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <!-- resources -->

Modified: roller/trunk/weblogger-webapp/src/main/webapp/themes/sotto/theme.xml
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-webapp/src/main/webapp/themes/sotto/theme.xml?rev=1172075&r1=1172074&r2=1172075&view=diff
==============================================================================
--- roller/trunk/weblogger-webapp/src/main/webapp/themes/sotto/theme.xml (original)
+++ roller/trunk/weblogger-webapp/src/main/webapp/themes/sotto/theme.xml Sat Sep 17 22:00:34
2011
@@ -4,6 +4,7 @@
     <id>sotto</id>
     <name>Sotto</name>
     <author>Matt Raible</author>
+    <type>standard</type>
     
     <!-- theme preview image -->
     <preview-image path="sotto-preview.png" />
@@ -13,8 +14,12 @@
         <name>sotto-custom.css</name>
         <description>Stylesheet for Sotto theme</description>
 	<link>sotto-custom.css</link>
-        <templateLanguage>velocity</templateLanguage>
-        <contentsFile>sotto-custom.css</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>sotto-custom.css</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </stylesheet>
     
     <!-- templates -->
@@ -24,9 +29,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>weblog.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>weblog.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="permalink">
@@ -35,9 +43,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>permalink.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>permalink.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="search">
@@ -46,9 +57,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>searchresults.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>searchresults.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -57,9 +71,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>_day.vm</contentsFile>
+         <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>_day.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -68,9 +85,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>sidebar.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>sidebar.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <template action="custom">
@@ -79,9 +99,12 @@
 	<link></link>
         <navbar>false</navbar>
         <hidden>true</hidden>
-        <templateLanguage>velocity</templateLanguage>
-        <contentType>text/html</contentType>
-        <contentsFile>header.vm</contentsFile>
+        <templateCode>
+           <templateLanguage>velocity</templateLanguage>
+           <contentType>text/html</contentType>
+           <contentsFile>header.vm</contentsFile>
+           <type>standard</type>
+       </templateCode>
     </template>
     
     <!-- resources -->



Mime
View raw message