incubator-zeta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [zeta-commits] svn commit: r982213 - in /incubator/zetacomponents/website/override/html: content/blog/category.ezt layout.ezt navigation/item.ezt
Date Wed, 04 Aug 2010 11:12:00 GMT
Author: toby
Date: Wed Aug  4 11:12:00 2010
New Revision: 982213

URL: http://svn.apache.org/viewvc?rev=982213&view=rev
Log:
- Fixed: Updated templates to reflect actual website structure.
# Actually located under /zetacomponents/...

Modified:
    incubator/zetacomponents/website/override/html/content/blog/category.ezt
    incubator/zetacomponents/website/override/html/layout.ezt
    incubator/zetacomponents/website/override/html/navigation/item.ezt

Modified: incubator/zetacomponents/website/override/html/content/blog/category.ezt
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/website/override/html/content/blog/category.ezt?rev=982213&r1=982212&r2=982213&view=diff
==============================================================================
--- incubator/zetacomponents/website/override/html/content/blog/category.ezt (original)
+++ incubator/zetacomponents/website/override/html/content/blog/category.ezt Wed Aug  4 11:12:00
2010
@@ -1,15 +1,15 @@
 {use $title, $posts, $path, $pages, $page, $teaser = null}
     <div class="box">
         <div id="box-download-bg-png">
-            <h3><a href="/download.html">Download</a></h3>
+            <h3><a href="/zetacomponents/download.html">Download</a></h3>
             <p>Download and install Apache Zeta Components.</p>
         </div>
         <div id="box-contribute-bg-png">
-            <h3><a href="/community.html">Contribute</a></h3>
+            <h3><a href="/zetacomponents/community.html">Contribute</a></h3>
             <p>Help us to extend, develop and support Apache Zeta Components.</p>
         </div>
         <div id="box-documentation-bg-png">
-            <h3><a href="/documentation.html">Documentation</a></h3>
+            <h3><a href="/zetacomponents/documentation.html">Documentation</a></h3>
             <p>Learn how to use Apache Zeta Components.</p>
         </div>
     </div>
@@ -22,7 +22,7 @@
 {foreach $posts as $post}
 	<li>
 		<h4>
-			<a href="{$post->path->relative}.html" title="{$post->displayName}">
+			<a href="/zetacomponents{$post->path->relative}.html" title="{$post->displayName}">
 				{$post->displayName}
 			</a>
 		</h4>
@@ -32,7 +32,7 @@
 		</h5>
 
 		<p>
-			{raw $post->content->abstract} <a href="{$post->path->relative}.html">Read
more…</a>
+			{raw $post->content->abstract} <a href="/zetacomponents{$post->path->relative}.html">Read
more…</a>
 		</p>
 	</li>
 {/foreach}
@@ -75,7 +75,7 @@
 {if $page == 0}
 	<strong>1</strong>
 {else}
-	<a href="{$path->relative}/0.html">
+	<a href="/zetacomponents{$path->relative}/0.html">
 	1
 	</a>
 {/if}
@@ -88,7 +88,7 @@
 			... -
 			{if array_count( $beforePages ) > 0}
 				{foreach $beforePages as $i}
-					<a href="{$path->relative}/{$i}.html" title="Jump to page {$i + 1}">
+					<a href="/zetacomponents{$path->relative}/{$i}.html" title="Jump to page {$i +
1}">
 					{$i + 1}
 					</a>
 					- ... -
@@ -100,7 +100,7 @@
 			{if $i == $page}
 				<strong>{$i + 1}</strong>
 			{else}
-				<a href="{$path->relative}/{$i}.html" title="Jump to page {$i + 1}">
+				<a href="/zetacomponents{$path->relative}/{$i}.html" title="Jump to page {$i +
1}">
 				{$i + 1}
 				</a>
 			{/if}
@@ -112,7 +112,7 @@
 			{if array_count( $afterPages ) > 0}
 				{foreach $afterPages as $i}
 					-
-					<a href="{$path->relative}/{$i}.html" title="Jump to page {$i + 1}">
+					<a href="/zetacomponents{$path->relative}/{$i}.html" title="Jump to page {$i +
1}">
 					{$i + 1}
 					</a>
 					- ...
@@ -125,7 +125,7 @@
 	{if $page == ( $pages - 1 )}
 		<strong>{$pages}</strong>
 	{else}
-		<a href="{$path->relative}/{$pages - 1}.html" title="Jump to page {$pages}">
+		<a href="/zetacomponents{$path->relative}/{$pages - 1}.html" title="Jump to page
{$pages}">
 		{$pages}
 		</a>
 	{/if}

Modified: incubator/zetacomponents/website/override/html/layout.ezt
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/website/override/html/layout.ezt?rev=982213&r1=982212&r2=982213&view=diff
==============================================================================
--- incubator/zetacomponents/website/override/html/layout.ezt (original)
+++ incubator/zetacomponents/website/override/html/layout.ezt Wed Aug  4 11:12:00 2010
@@ -34,14 +34,14 @@
 	<meta name="DC.date" content="{date_format_timestamp( 'r', $content->metadata->mtime)}"
/>
 	<meta name="DC.rights" content="{$content->metadata->license}" />
 
-	<link rel="meta" href="{$content->path->relative . '.rdf'}" />
-	<link rel="icon" href="/images/favicon.png" type="image/png" />
+	<link rel="meta" href="/zetacomponents{$content->path->relative . '.rdf'}" />
+	<link rel="icon" href="/zetacomponents/images/favicon.png" type="image/png" />
 
-	<link rel="Stylesheet" type="text/css" href="/styles/screen.css" media="screen" />
-	<link rel="Stylesheet" type="text/css" href="/styles/print.css" media="print" />
+	<link rel="Stylesheet" type="text/css" href="/zetacomponents/styles/screen.css" media="screen"
/>
+	<link rel="Stylesheet" type="text/css" href="/zetacomponents/styles/print.css" media="print"
/>
 
 {if wcv_content_has( $content, 'feed' ) }
-	<link rel="alternate" type="application/rss+xml" title="{$content->displayName}" href="{$content->path->relative}.rss"
/>
+	<link rel="alternate" type="application/rss+xml" title="{$content->displayName}" href="/zetacomponents{$content->path->relative}.rss"
/>
 {/if}
 
 {var $urlWithoutExt = $content->path->url . str_remove( $content->content->path->relative,
0, 1 )}
@@ -61,7 +61,7 @@
 <body>
 <div id="wcv">
 	<h1>
-		<a id="header-png" href="/" title="{wcv_get_config_value( 'title' )}">
+		<a id="header-png" href="/zetacomponents" title="{wcv_get_config_value( 'title' )}">
 			{wcv_get_config_value( 'title' )}
 		</a>
 	</h1>

Modified: incubator/zetacomponents/website/override/html/navigation/item.ezt
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/website/override/html/navigation/item.ezt?rev=982213&r1=982212&r2=982213&view=diff
==============================================================================
--- incubator/zetacomponents/website/override/html/navigation/item.ezt (original)
+++ incubator/zetacomponents/website/override/html/navigation/item.ezt Wed Aug  4 11:12:00
2010
@@ -1,6 +1,6 @@
 {use $item, $subtree, $depth}
 <li {if $item->requested}class="requested"{/if}>
-	<a href="{$item->path->relative}.html" title="{$item->displayName}">{$item->displayName}</a>
+	<a href="/zetacomponents{$item->path->relative}.html" title="{$item->displayName}">{$item->displayName}</a>
 	{if $subtree && $item->requested}
 		<ul>
 			{raw $subtree}



Mime
View raw message