roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r424091 - in /incubator/roller/branches/roller_3.0/web/themes/andreas08: Weblog.vm _css.vm _day.vm
Date Thu, 20 Jul 2006 22:22:27 GMT
Author: agilliland
Date: Thu Jul 20 15:22:27 2006
New Revision: 424091

URL: http://svn.apache.org/viewvc?rev=424091&view=rev
Log:
replacing $themeDir with new $url.themeResource() method


Modified:
    incubator/roller/branches/roller_3.0/web/themes/andreas08/Weblog.vm
    incubator/roller/branches/roller_3.0/web/themes/andreas08/_css.vm
    incubator/roller/branches/roller_3.0/web/themes/andreas08/_day.vm

Modified: incubator/roller/branches/roller_3.0/web/themes/andreas08/Weblog.vm
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/web/themes/andreas08/Weblog.vm?rev=424091&r1=424090&r2=424091&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/web/themes/andreas08/Weblog.vm (original)
+++ incubator/roller/branches/roller_3.0/web/themes/andreas08/Weblog.vm Thu Jul 20 15:22:27
2006
@@ -10,10 +10,10 @@
     #includeTemplate($model.weblog "_css")
     #showAutodiscoveryLinks($model.weblog)
     #showCommonJavascript()
-    <script type="text/javascript" src="$themeDir/scripts/prototype.js"></script>
-    <script type="text/javascript" src="$themeDir/scripts/scriptaculous.js?load=effects"></script>
-    <script type="text/javascript" src="$themeDir/scripts/lightbox.js"></script>
-    <link rel="stylesheet" type="text/css" href="$themeDir/styles/lightbox.css" />
+    <script type="text/javascript" src="$url.themeResource("andreas08", "scripts/prototype.js")"></script>
+    <script type="text/javascript" src="$url.themeResource("andreas08", "scripts/scriptaculous.js?load=effects")"></script>
+    <script type="text/javascript" src="$url.themeResource("andreas08", "scripts/lightbox.js")"></script>
+    <link rel="stylesheet" type="text/css" href="$url.themeResource("andreas08", "styles/lightbox.css")"
/>
 </head>
 
 <body>
@@ -57,7 +57,7 @@
             <div class="small box" id="description">
                 <div id="feed">
                     <a href="$url.feed.rss"><img class="rssbadge"
-                        src="$themeDir/images/feed-icon-16x16.jpg" 
+                        src="$url.themeResource("andreas08", "images/feed-icon-16x16.jpg")"
                         alt="Click me to subscribe" /></a>
                 </div>
                 $model.weblog.description

Modified: incubator/roller/branches/roller_3.0/web/themes/andreas08/_css.vm
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/web/themes/andreas08/_css.vm?rev=424091&r1=424090&r2=424091&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/web/themes/andreas08/_css.vm (original)
+++ incubator/roller/branches/roller_3.0/web/themes/andreas08/_css.vm Thu Jul 20 15:22:27
2006
@@ -1,9 +1,9 @@
-<link rel="stylesheet" type="text/css" href="$config.contextURL/themes/base.css" />
+<link rel="stylesheet" type="text/css" href="$url.site/themes/base.css" />
 <style type="text/css">
-@import url($config.contextURL/themes/andreas08/styles/tools.css);
-@import url($config.contextURL/themes/andreas08/styles/typo.css);
-@import url($config.contextURL/themes/andreas08/styles/forms.css);
-@import url($config.contextURL/themes/andreas08/styles/layout-navtop-subright.css);
-@import url($config.contextURL/themes/andreas08/styles/layout.css);
-@import url($config.contextURL/themes/andreas08/styles/andreas08.css);
+@import url($url.themeResource("andreas08", "styles/tools.css"));
+@import url($url.themeResource("andreas08", "styles/type.css"));
+@import url($url.themeResource("andreas08", "styles/forms.css"));
+@import url($url.themeResource("andreas08", "styles/layout-navtop-subright.css"));
+@import url($url.themeResource("andreas08", "styles/layout.css"));
+@import url($url.themeResource("andreas08", "styles/andreas08.css"));
 </style>

Modified: incubator/roller/branches/roller_3.0/web/themes/andreas08/_day.vm
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/web/themes/andreas08/_day.vm?rev=424091&r1=424090&r2=424091&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/web/themes/andreas08/_day.vm (original)
+++ incubator/roller/branches/roller_3.0/web/themes/andreas08/_day.vm Thu Jul 20 15:22:27
2006
@@ -3,7 +3,7 @@
 <div class="entry">
     <a href="$config.contextURL/$model.weblog.handle/$utils.formatDate($day, "yyyyMMdd")">
         <img class="daypermalink"
-            src="$config.contextURL/themes/andreas08/images/calendar.png"
+            src="$url.themeResource("andreas08", "images/calendar.png")"
             title="$text.get("macro.weblog.daypermalink.title")"
             alt='$utils.formatDate($day, "yyyyMMdd")' /></a>
 



Mime
View raw message