You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2005/11/07 19:50:19 UTC

svn commit: r331571 - /forrest/trunk/main/webapp/locationmap-themer.xml

Author: thorsten
Date: Mon Nov  7 10:50:14 2005
New Revision: 331571

URL: http://svn.apache.org/viewcvs?rev=331571&view=rev
Log:
Preparing move from the images to new location

Modified:
    forrest/trunk/main/webapp/locationmap-themer.xml

Modified: forrest/trunk/main/webapp/locationmap-themer.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/locationmap-themer.xml?rev=331571&r1=331570&r2=331571&view=diff
==============================================================================
--- forrest/trunk/main/webapp/locationmap-themer.xml (original)
+++ forrest/trunk/main/webapp/locationmap-themer.xml Mon Nov  7 10:50:14 2005
@@ -138,6 +138,21 @@
         <location src="{defaults:themer}/resources/themes" />
       </select>
     </match>
+    <!-- generic match for theme image ressources. -->
+    <!-- 
+      {1} name
+      {2} extension (note we assume e.g. {1}.gif)
+      -->
+    <match pattern="themes/images/**.*">
+      <select type="exists">
+        <location src="{lm:themer.project.dir}/{project:theme}/images/{1}.{2}" />
+        <location src="{lm:themer.project.dir}/{defaults:theme}/images/{1}.{2}" />
+        <location src="{project:themer}/resources/themes/{project:theme}/images/{1}.{2}" />
+        <location src="{project:themer}/resources/themes/{defaults:theme}/images/{1}.{2}" />
+        <location src="{defaults:themer}/resources/themes/{project:theme}/images/{1}.{2}" />
+        <location src="{defaults:themer}/resources/themes/{defaults:theme}/images/{1}.{2}" />
+      </select>
+    </match>
     <!-- generic match for theme ressources like css and js. -->
     <!-- 
       {1} name