[pLog-svn] r1493 - in templates/trunk/standard_green: . imgs

jondaley at devel.plogworld.net jondaley at devel.plogworld.net
Tue Mar 15 04:13:20 GMT 2005


Author: jondaley
Date: 2005-03-15 04:13:20 +0000 (Tue, 15 Mar 2005)
New Revision: 1493

Added:
   templates/trunk/standard_green/imgs/
   templates/trunk/standard_green/imgs/compressed.gif
   templates/trunk/standard_green/imgs/file.gif
   templates/trunk/standard_green/imgs/folder.gif
   templates/trunk/standard_green/imgs/parentfolder.gif
   templates/trunk/standard_green/imgs/sound.gif
   templates/trunk/standard_green/imgs/video.gif
Removed:
   templates/trunk/standard_green/compressed.gif
   templates/trunk/standard_green/file.gif
   templates/trunk/standard_green/folder.gif
   templates/trunk/standard_green/parentfolder.gif
   templates/trunk/standard_green/sound.gif
   templates/trunk/standard_green/video.gif
Modified:
   templates/trunk/standard_green/album.template
   templates/trunk/standard_green/albums.template
   templates/trunk/standard_green/archives.template
   templates/trunk/standard_green/error.template
   templates/trunk/standard_green/main.template
   templates/trunk/standard_green/resource.template
   templates/trunk/standard_green/searchresults.template
   templates/trunk/standard_green/standard_green.css
Log:
yet another update...

Modified: templates/trunk/standard_green/album.template
===================================================================
--- templates/trunk/standard_green/album.template	2005-03-15 04:00:51 UTC (rev 1492)
+++ templates/trunk/standard_green/album.template	2005-03-15 04:13:20 UTC (rev 1493)
@@ -1,4 +1,4 @@
-   		{include file="$blogtemplate/header.template"}
+   		{include file="$blogtemplate/header.template"} 
 
 <h2>{$locale->tr("albums")}</h2>
 
@@ -13,7 +13,7 @@
  
 	<div class="album">
 	<a href="{$url->parentAlbumLink($album)}">
-    	<img src="{$url->getTemplateFile("parentfolder.gif")}" alt="{$locale->tr("parent")}" /></a>
+    	<img src="{$url->getTemplateFile("imgs/parentfolder.gif")}" alt="{$locale->tr("parent")}" /></a>
     	<p>{$locale->tr("parent")}</p>
 	</div>
 
@@ -22,7 +22,7 @@
    		{foreach from=$children item=childalbum}
 	<div class="album">
    	<a href="{$url->albumLink($childalbum)}">
-   	<img src="{$url->getTemplateFile("folder.gif")}" alt="{$childalbum->getName()}" /></a>
+   	<img src="{$url->getTemplateFile("imgs/folder.gif")}" alt="{$childalbum->getName()}" /></a>
    	<p>{$childalbum->getName()} ({$childalbum->getNumResources()})</p>
    		{assign var="counter" value="`$counter+1`"}
    		{if $counter%3 == 0}
@@ -43,13 +43,13 @@
    		{else}
    	<a href="{$url->resourceLink($resource)}">
    		{if $resource->isSound()}
-    	<img alt="Sound" src="{$url->getTemplateFile("sound.gif")}" /></a>
+    	<img alt="Sound" src="{$url->getTemplateFile("imgs/sound.gif")}" /></a>
    		{elseif $resource->isVideo()}
-    	<img alt="Video" src="{$url->getTemplateFile("video.gif")}" /></a>
+    	<img alt="Video" src="{$url->getTemplateFile("imgs/video.gif")}" /></a>
    		{elseif $resource->isZip()}
-    	<img alt="Zip" src="{$url->getTemplateFile("compressed.gif")}" /></a>  
+    	<img alt="Zip" src="{$url->getTemplateFile("imgs/compressed.gif")}" /></a>  
    		{else}
-   	<img alt="File" src="{$url->getTemplateFile("file.gif")}" /></a>
+   	<img alt="File" src="{$url->getTemplateFile("imgs/file.gif")}" /></a>
    		{/if}  
    	<p>{$resource->getFileName()}</p>
    		{/if}
@@ -75,4 +75,4 @@
 </div>
 
 <!-- end of album contents --> 
-		{include file="$blogtemplate/footer.template"}
\ No newline at end of file
+		{include file="$blogtemplate/footer.template"} 
\ No newline at end of file

Modified: templates/trunk/standard_green/albums.template
===================================================================
--- templates/trunk/standard_green/albums.template	2005-03-15 04:00:51 UTC (rev 1492)
+++ templates/trunk/standard_green/albums.template	2005-03-15 04:13:20 UTC (rev 1493)
@@ -1,4 +1,4 @@
-		{include file="$blogtemplate/header.template"}
+		{include file="$blogtemplate/header.template"} 
 
 <h2>{$locale->tr("albums")}</h2>
 
@@ -11,7 +11,7 @@
 		{assign var="counter" value=0}
   		{foreach from=$albums item=album}
 	<div class="album">
-	<a href="{$url->albumLink($album)}"><img src="{$url->getTemplateFile("folder.gif")}" alt="{$album->getName()}" /></a>
+	<a href="{$url->albumLink($album)}"><img src="{$url->getTemplateFile("imgs/folder.gif")}" alt="{$album->getName()}" /></a>
   	<p>{$album->getName()} ({$album->getNumResources()})</p>
   		{assign var="counter" value="`$counter+1`"}
 		{if $counter%3 == 0}
@@ -25,4 +25,4 @@
 
 <!-- end of the albums -->
 		
-		{include file="$blogtemplate/footer.template"}
+		{include file="$blogtemplate/footer.template"} 

Modified: templates/trunk/standard_green/archives.template
===================================================================
--- templates/trunk/standard_green/archives.template	2005-03-15 04:00:51 UTC (rev 1492)
+++ templates/trunk/standard_green/archives.template	2005-03-15 04:13:20 UTC (rev 1493)
@@ -1,13 +1,15 @@
-		{include file="$blogtemplate/header.template"}
+		{include file="$blogtemplate/header.template"} 
 <h2>{$locale->tr("archives")}</h2>
 
 <div id="Archives">
 	
 	<ul>
 		{foreach from=$archives item=month}
-    	<li><a href="{$month->getUrl()}">{$month->getName()}</a></li>
+    	<li><a href="{$month->getUrl()}">{$month->getName()}</a> [{$month->getNumArticles()}]</li>
     		{/foreach}
+    		
+    		
     	</ul>
 </div>
    	
-   		{include file="$blogtemplate/footer.template"}
\ No newline at end of file
+   		{include file="$blogtemplate/footer.template"} 
\ No newline at end of file

Deleted: templates/trunk/standard_green/compressed.gif
===================================================================
(Binary files differ)

Modified: templates/trunk/standard_green/error.template
===================================================================
--- templates/trunk/standard_green/error.template	2005-03-15 04:00:51 UTC (rev 1492)
+++ templates/trunk/standard_green/error.template	2005-03-15 04:13:20 UTC (rev 1493)
@@ -1,6 +1,5 @@
-		{include file="$blogtemplate/header.template"}
+		{include file="$blogtemplate/header.template"} 
  	<h2>{$locale->tr("error")}</h2>
- 		{$locale->tr($message)}
- <br /><a href="javascript:history.go(-1)">{$locale->tr("back")}</a>
-
-		{include file="$blogtemplate/footer.template"}
+ 		<p>{$locale->tr($message)}</p>
+		<p><a href="javascript:history.go(-1)">{$locale->tr("back")}</a></p>
+		{include file="$blogtemplate/footer.template"} 

Deleted: templates/trunk/standard_green/file.gif
===================================================================
(Binary files differ)

Deleted: templates/trunk/standard_green/folder.gif
===================================================================
(Binary files differ)

Copied: templates/trunk/standard_green/imgs/compressed.gif (from rev 1393, templates/trunk/standard_green/compressed.gif)

Copied: templates/trunk/standard_green/imgs/file.gif (from rev 1393, templates/trunk/standard_green/file.gif)

Copied: templates/trunk/standard_green/imgs/folder.gif (from rev 1393, templates/trunk/standard_green/folder.gif)

Copied: templates/trunk/standard_green/imgs/parentfolder.gif (from rev 1393, templates/trunk/standard_green/parentfolder.gif)

Copied: templates/trunk/standard_green/imgs/sound.gif (from rev 1393, templates/trunk/standard_green/sound.gif)

Copied: templates/trunk/standard_green/imgs/video.gif (from rev 1393, templates/trunk/standard_green/video.gif)

Modified: templates/trunk/standard_green/main.template
===================================================================
--- templates/trunk/standard_green/main.template	2005-03-15 04:00:51 UTC (rev 1492)
+++ templates/trunk/standard_green/main.template	2005-03-15 04:13:20 UTC (rev 1493)
@@ -1,5 +1,5 @@
 {include file="$blogtemplate/header.template"}
 {foreach from=$posts item=post}
 {include file="$blogtemplate/post.template"}
-{/foreach}
-{include file="$blogtemplate/footer.template"}
\ No newline at end of file
+{/foreach}
+{include file="$blogtemplate/footer.template"}

Deleted: templates/trunk/standard_green/parentfolder.gif
===================================================================
(Binary files differ)

Modified: templates/trunk/standard_green/resource.template
===================================================================
--- templates/trunk/standard_green/resource.template	2005-03-15 04:00:51 UTC (rev 1492)
+++ templates/trunk/standard_green/resource.template	2005-03-15 04:13:20 UTC (rev 1493)
@@ -1,4 +1,4 @@
-		{include file="$blogtemplate/header.template"}
+		{include file="$blogtemplate/header.template"} 
 
 <h2>{$locale->tr("albums")}</h2>
 
@@ -21,14 +21,14 @@
    		{* show some information about the file *}
    
    		{if $resource->isSound()}
-     	<img alt="Sound" src="{$url->getTemplateFile("sound.gif")}" /></a>
+     	<img alt="Sound" src="{$url->getTemplateFile("imgs/sound.gif")}" /></a>
      	<p>{$resource->getFileName()}</p>
      	<p>{$locale->tr("format")}: {$metadata->getFormat()|upper}</p>
      	<p>{$locale->tr("length")}: {$metadata->getLengthString()}</p>
      	<p>{$locale->tr("sample_rate")}: {$metadata->getSampleRate()} Khz</p>
    
    		{elseif $resource->isVideo()}
-     	<img alt="Sound" src="{$url->getTemplateFile("video.gif")}" /></a>
+     	<img alt="Sound" src="{$url->getTemplateFile("imgs/video.gif")}" /></a>
      	<p>{$resource->getFileName()}</p>
      	<p>{$locale->tr("format")}: {$metadata->getFormat()|upper}</p>
     	<p>{$locale->tr("size")}: {$metadata->getHeight()} x {$metadata->getWidth()}</p>
@@ -37,13 +37,13 @@
     	<p>{$locale->tr("audio_codec")}: {$metadata->getAudioCodec()}</p>
    
    		{elseif $resource->isZip()}
-     	<img alt="Zip" src="{$url->getTemplateFile("compressed.gif")}" /></a>
+     	<img alt="Zip" src="{$url->getTemplateFile("imgs/compressed.gif")}" /></a>
      	<p>{$resource->getFileName()}</p> 
     	<p>{$metadata->getTotalFiles()} {$locale->tr("files")}</p>
     	<p>{$locale->tr("uncompressed_size")}: {$metadata->getRoundedUncompressedSize()}</p>
    
    		{else}
-     	<img alt="File" src="{$url->getTemplateFile("file.gif")}" /></a>
+     	<img alt="File" src="{$url->getTemplateFile("imgs/file.gif")}" /></a>
      	<p>{$resource->getFileName()}</p>
          
    		{/if}   
@@ -51,8 +51,8 @@
  	</div>
  
  
-		{assign var=album value=$resource->getAlbum()} 
-	<p><a href="{$url->albumLink($album)}">{$locale->tr("back")}</a></p>
+		{assign var=album value=$resource->getAlbum()} 
+	<p><a href="{$url->albumLink($album)}">{$locale->tr("parent")}</a></p>
 
 </div>
 

Modified: templates/trunk/standard_green/searchresults.template
===================================================================
--- templates/trunk/standard_green/searchresults.template	2005-03-15 04:00:51 UTC (rev 1492)
+++ templates/trunk/standard_green/searchresults.template	2005-03-15 04:13:20 UTC (rev 1493)
@@ -1,6 +1,5 @@
 {include file="$blogtemplate/header.template"} 
    <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
-   <div id="SearchResults">
     {foreach from=$searchresults item=result}
     
     
@@ -13,5 +12,5 @@
           <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
       {/foreach}</p>
     {/foreach}
-   </div> 
+
 {include file="$blogtemplate/footer.template"} 

Deleted: templates/trunk/standard_green/sound.gif
===================================================================
(Binary files differ)

Modified: templates/trunk/standard_green/standard_green.css
===================================================================
--- templates/trunk/standard_green/standard_green.css	2005-03-15 04:00:51 UTC (rev 1492)
+++ templates/trunk/standard_green/standard_green.css	2005-03-15 04:13:20 UTC (rev 1493)
@@ -188,11 +188,11 @@
 	margin-top:1px;
 	}
 
-.calendar {
+#calendar {
 	text-align:left;
 	}
 
-.calendarToday {
+.calMonthToday {
  	background-color: #d4d0cd;
 	}
 
@@ -312,4 +312,4 @@
 	
 dd {
 	padding-left:4em;
-	}
\ No newline at end of file
+	}

Deleted: templates/trunk/standard_green/video.gif
===================================================================
(Binary files differ)




More information about the pLog-svn mailing list