[pLog-svn] r6344 - templates/branches/lifetype-1.2/unported
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Mon Apr 28 11:00:32 EDT 2008
Author: jondaley
Date: 2008-04-28 11:00:32 -0400 (Mon, 28 Apr 2008)
New Revision: 6344
Removed:
templates/branches/lifetype-1.2/unported/about.template
templates/branches/lifetype-1.2/unported/album.template
templates/branches/lifetype-1.2/unported/albums.template
templates/branches/lifetype-1.2/unported/commentarticle.template
templates/branches/lifetype-1.2/unported/download.gif
templates/branches/lifetype-1.2/unported/error.template
templates/branches/lifetype-1.2/unported/favicon.ico
templates/branches/lifetype-1.2/unported/folderblue.gif
templates/branches/lifetype-1.2/unported/footer.template
templates/branches/lifetype-1.2/unported/header.template
templates/branches/lifetype-1.2/unported/main.template
templates/branches/lifetype-1.2/unported/panel.template
templates/branches/lifetype-1.2/unported/post.template
templates/branches/lifetype-1.2/unported/postandcomments.template
templates/branches/lifetype-1.2/unported/posttrackbacks.template
templates/branches/lifetype-1.2/unported/resource.template
templates/branches/lifetype-1.2/unported/searchresults.template
templates/branches/lifetype-1.2/unported/toolbar.js
Log:
not sure what these are. anyone know?
Deleted: templates/branches/lifetype-1.2/unported/about.template
===================================================================
--- templates/branches/lifetype-1.2/unported/about.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/about.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,15 +0,0 @@
-{include file="$blogtemplate/header.template"}
-<div id="content">
- <div class="blog">
- <div class="blogbody">
- <h2 class="title">{$locale->tr("about")}</h2>
- <div class="posted"><a href="{$url->templatePage("about")}">{$locale->tr("permalink")}</a></div>
- This template is a clone of the 'georgia blue' style found on <a href='http://www.movabletype.org'>MovableType.org</a>. Also check out <a href='http://www.bookofstyles.com'>The Book of Styles</a> for some very cool styles and templates for websites. It was ported to the <a href='http://www.lifetype.net'>LifeType</a> blogging system by Nick Gerakines, me :), for the blog that i setup for my mom. Its a very simple layout that allows comments, trackback requests and so on. If you like it or find an error somewhere make a post in the <a href='http://forum.socklabs.com'>forum</a> or email me at <a href='mailto:nick at socklabs.com'>nick at socklabs.com</a>.
- <hr/>
- You can change the contents of this page by editing the templates/about.template file.
- </div>
- <br />
- </div>
-</div>
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/unported/album.template
===================================================================
--- templates/branches/lifetype-1.2/unported/album.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/album.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,108 +0,0 @@
-{include file="$blogtemplate/header.template"}
-
-<div id="content">
-{assign var="postDate" value=$album->getTimestamp()}
- <h2>{$locale->tr("album")}</h2>
-
- <div class="post">
- <h3 class="storytitle"><a href="{$url->albumLink($album)}">{$album->getName()}</a></h3>
- <div class="meta">
- {$locale->tr("created")} {$locale->formatDate($postDate,"%d %b, %Y")}
- </div>
- <div class="storycontent"><p>{$album->getDescription()}</p></div>
-
-{**
- smarty template gets a bit complicated here since we want to show the contents of the album in a nicely
- arranged table, and that needs some very basic maths... we also need to check after every iteration
- wether we have to close the current row or start a new one, and so on...
- **}
-
- <!-- album contents go here -->
-<table style="border:0px;width:100%;" summary="{$locale->tr("album")}">
- <tr>
- <td style="width:25%;" align="center" >
- <a href="{$url->parentAlbumLink($album)}">
- <img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
- ..
- </a>
- </td>
- {assign var="counter" value=1}
- {assign var=children value=$album->getChildren()}
- {foreach from=$children item=childalbum}
- <td style="width:25%;" align="center" >
- <a href="{$url->albumLink($childalbum)}">
- <img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
- {$childalbum->getName()} ({$childalbum->getNumResources()})
- </a>
- <br/><br/>
- {assign var="counter" value="`$counter+1`"}
- </td>
- {if $counter%4}
- </tr>
- <tr>
- {/if}
- {/foreach}
-
- <!--- show the resources here -->
-
- {assign var=resources value=$album->getResources()}
- {foreach from=$resources item=resource}
- <td style="width:25%;" align="center" >
- {if $resource->hasPreview()}
- {*<a target="_blank" href="resserver.php?blogId={$blog->getId()}&resource={$resource->getFileName()}">*}
- <a href="{$url->resourceLink($resource)}">
- <img alt="{$resource->getDescription()}" style="border:0px;" src="{$url->resourcePreviewLink($resource)}" />
- <br/>{$resource->getFileName()}
- </a>
- {else}
- <a href="{$url->resourceLink($resource)}">
- {if $resource->isSound()}
- <img alt="Sound" src="{$url->getUrl("/imgs/sound.gif")}" height="64" width="64" style="border:0px;" />
- {elseif $resource->isVideo()}
- <img alt="Video" src="{$url->getUrl("/imgs/video.gif")}" height="64" width="64" style="border:0px;" />
- {elseif $resource->isZip()}
- <img alt="Zip" src="{$url->getUrl("/imgs/compressed.gif")}" height="64" width="64" style="border:0px;" />
- {else}
- <img alt="File" src="{$url->getUrl("/imgs/file.gif")}" height="64" width="64" style="border:0px;" />
- {/if}
- <br/>{$resource->getFileName()}
- </a>
- {/if}
- <br/>
- {assign var=metadata value=$resource->getMetadataReader()}
- {$metadata->getRoundedSize()}<br/>
- {if $resource->isImage()}
- {$metadata->getWidth()} x {$metadata->getHeight()}<br/>
- {elseif $resource->isSound()}
- {$metadata->getFormat()|upper} {$metadata->getSampleRate()} bps<br/>
- {elseif $resource->isVideo()}
- {$metadata->getFormat()|upper}
- {$metadata->getWidth()} x {$metadata->getHeight()},
- {$metadata->getLengthString()}<br/>
- {elseif $resource->isZip()}
- {$metadata->getTotalFiles()} {$locale->tr("files")}<br/>
- {/if}
- {assign var="counter" value="`$counter+1`"}
- </td>
- {if $counter%4 == 0}
- </tr>
- <tr>
- {/if}
- {/foreach}
- <td></td></tr>
-</table>
- <!-- end of album contents -->
-
-
-
- </div>
-
- <p>
- <a href="{$url->parentAlbumLink($album)}">
- Amunt
- </a>
- </p>
-</div>
-
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/unported/albums.template
===================================================================
--- templates/branches/lifetype-1.2/unported/albums.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/albums.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,26 +0,0 @@
-{include file="$blogtemplate/header.template"}
-<div id="content">
- <h2>{$locale->tr("albums")}</h2>
-{foreach from=$albums item=album}
- {assign var="aDate" value=$album->getTimestamp()}
- <div class="post">
- <h3 class="storytitle"><a href="{$url->albumLink($album)}">{$album->getName()}</a></h3>
- <div class="meta">
- {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
- </div>
- <div class="storycontent">
- <p>
- {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
- </p>
- </div>
- <div class="feedback">
- <a href="{$url->albumLink($album)}">
- <img alt="Album" src="{$url->getUrl("/imgs/folderblue.gif")}" width="10" height="11" style="border:0px;" />
- {$locale->tr("view")} ({$album->getNumResources()})
- </a>
- </div>
- </div>
-{/foreach}
-</div>
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/unported/commentarticle.template
===================================================================
--- templates/branches/lifetype-1.2/unported/commentarticle.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/commentarticle.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,6 +0,0 @@
-{include file="$blogtemplate/header.template"}
- {if $blogsettings->getValue("comments_enabled")}
- <h2>{$locale->tr("add_comment")}</h2>
- {include file="$blogtemplate/commentform.template"}
- {/if}
-{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/unported/download.gif
===================================================================
(Binary files differ)
Deleted: templates/branches/lifetype-1.2/unported/error.template
===================================================================
--- templates/branches/lifetype-1.2/unported/error.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/error.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,20 +0,0 @@
-{include file="$blogtemplate/header.template"}
-
-<div id="content">
-
- <div class="post">
- <h3 class="storytitle">{$locale->tr("error")}</h3>
-
- <div class="meta">
- {$locale->tr("generated")} {$locale->formatDate($now,"%d %b, %Y")}
- </div>
-
- <div class="storycontent">
- <img src="{$url->getUrl("/imgs/error.gif")}" height="32" width="32" alt="Error"/>
- {$locale->tr($message)}
- </div>
- </div>
-</div>
-
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/unported/favicon.ico
===================================================================
(Binary files differ)
Deleted: templates/branches/lifetype-1.2/unported/folderblue.gif
===================================================================
(Binary files differ)
Deleted: templates/branches/lifetype-1.2/unported/footer.template
===================================================================
--- templates/branches/lifetype-1.2/unported/footer.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/footer.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,8 +0,0 @@
- </div>
- <p class="credit">
- Bitàcola allotjada a <a href="http://www.lamevaweb.info/" target="_blank">lamevaweb.info</a> ::
- Projecte web de <a href="http://www.qdevel.com" target="_blank">qDevel</a> ::
- Programari de <a href="http://www.lifetype.net" target="_blank">LifeType team</a>
- </p>
- </body>
-</html>
Deleted: templates/branches/lifetype-1.2/unported/header.template
===================================================================
--- templates/branches/lifetype-1.2/unported/header.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/header.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,25 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$locale->getLanguageId()}"
- lang="{$locale->getLanguageId()}" dir="{$locale->getDirection()}">
-<head>
- <title>{$pageTitle|escape:"html"}</title>
- <meta http-equiv="Content-Type" content="text/html;charset={$locale->getCharset()}" />
- <meta name="generator" content="{$version}" />
- <meta http-equiv="Content-Language" content="{$locale->getLanguageId()}" />
-
- <link rel="stylesheet" title="default" type="text/css" media="screen" href="{$url->getTemplateFile("style.css")}" />
- <link rel="alternate" type="text/xml" title="RSS 2.0" href="{$url->rssLink("rss20")}" />
- <link rel="alternate" type="text/xml" title="RSS 1.0" href="{$url->rssLink("rss10")}" />
- <link rel="alternate" type="text/xml" title="RSS 0.90" href="{$url->rssLink("rss090")}" />
- <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="{$url->rssLink("atom")}" />
- <link rel="shortcut icon" type="image/x-icon" href="{$url->getTemplateFile("favicon.ico")}" />
-{if $badbehavior}
- {$badbehavior->showBB2JavaScript()}
-{/if}
-</head>
-
-<body>
-<div id="rap">
- <h1 id="header"><a href="{$url->blogLink()}" title="{$blog->getBlog()}">{$blog->getBlog()}</a></h1>
-
-
Deleted: templates/branches/lifetype-1.2/unported/main.template
===================================================================
--- templates/branches/lifetype-1.2/unported/main.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/main.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,14 +0,0 @@
-{include file="$blogtemplate/header.template"}
-
-<div id="content">
- {foreach from=$posts item=post}
- <div class="post">
- {assign var="postDate" value=$post->getDateObject()}
- <h2>{$locale->formatDate($postDate,"%d %b, %Y")}</h2>
- {include file="$blogtemplate/post.template"}
- </div>
- {/foreach}
-</div>
-
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/unported/panel.template
===================================================================
--- templates/branches/lifetype-1.2/unported/panel.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/panel.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,85 +0,0 @@
-
-<div id="menu">
-<ul>
- <li id="wordpress">
- {$locale->tr("menu")}
- <ul>
- <li><a href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
- </ul>
- </li>
-
- <li id="search">
- <h4>{$locale->tr("search")}</h4>
- <ul>
- <form name="search_form" method="post" action="{$url->getIndexUrl()}">
- <input type="text" name="searchTerms" value="" size="14" /><br/>
- <input type="hidden" name="op" value="Search" />
- <input type="hidden" name="blogId" value="{$blog->getId()}"/>
- <input type="submit" name="Search" value="{$locale->tr("search")}" />
- </form>
- </ul>
- </li>
-
-{assign var=blogOwner value=$blog->getOwnerInfo()}
-{assign var=AboutMyself value=$blogOwner->getAboutMyself()}
-{if $blogOwner->hasPicture() && $AboutMyself}
- <li id="about_myself">
- {$locale->tr("about_myself")}
- <ul>
- {assign var=picture value=$blogOwner->getPicture()}
- <li><img id="UserPicture" src="{$picture->getPreviewLink()}" alt="{$blogOwner->getUsername()}" /></li>
- <li>{$AboutMyself}</li>
- </ul>
- </li>
-{/if}
-
- <li id="categories">
- {$locale->tr("categories")}
- <ul>
- {foreach from=$articlecategories item=articleCategory}
- <li><a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()} [{$articleCategory->getNumArticles()}]</a></li>
- {/foreach}
- </ul>
- </li>
-
- <li id="archives">
- {$locale->tr("archives")}
- <ul>
- {foreach from=$archives item=archivelink}
- <li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a></li>
- {/foreach}
- </ul>
- </li>
- <li id="calendar">
- {$locale->tr("calendar")}
- {$calendar}
- </li>
-
- <li id="meta">
- {$locale->tr("syndicate")}
- <ul>
- <li><a title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}">RSS 0.90</a></li>
- <li><a title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}">RSS 1.0</a></li>
- <li><a title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}">RSS 2.0</a></li>
- <li><a title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}">Atom 0.3</a></li>
- <li><a href="http://validator.w3.org/check/referer" title="Aquesta pgina est escrita en XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
- <li><a href="http://www.lamevaweb.info/" title="Un bloc de lamevaweb.info">lamevaweb.info</a></li>
- </ul>
- </li>
-
- <li id="style">
- {$locale->tr("links")}
- <ul>
- {foreach from=$mylinkscategories item=linkcategory}
- <li><b>{$linkcategory->getName()}</b>
- <ul>
- {foreach from=$linkcategory->getLinks() item=link}
- <li><a href="{$link->getUrl()}" title="{$link->getDescription()}">{$link->getName()}</a></li>
- {/foreach}
- </ul>
- </li>
- {/foreach}
- </ul>
- </li>
-</ul>
-</div>
Deleted: templates/branches/lifetype-1.2/unported/post.template
===================================================================
--- templates/branches/lifetype-1.2/unported/post.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/post.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,25 +0,0 @@
-{assign var="postDate" value=$post->getDateObject()}
-{assign var="postOwner" value=$post->getUserInfo()}
-
-<h3 class="storytitle"><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h3>
-
-
-{assign var=postText value=$post->getText()}
-<div class="meta">
- <ul class="post-categories"><li>
- {foreach name=categories from=$post->getCategories() item=postCategory}
- <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
- {/foreach}
- </li></ul>
- — {$locale->tr("posted_by")} {$postOwner->getUsername()} @ {$locale->formatDate($postDate,"%H:%M")}
-</div>
-<div class="storycontent">
- {$postText}
- <br style="clear: both;" />
- </div>
-<div class="feedback">
- <a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
- {if $post->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
- </a>
-</div>
-
Deleted: templates/branches/lifetype-1.2/unported/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/unported/postandcomments.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/postandcomments.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,48 +0,0 @@
-{include file="$blogtemplate/header.template"}
-
-<div id="content">
- {assign var="postDate" value=$post->getDateObject()}
- {assign var="postOwner" value=$post->getUserInfo()}
- <h2>{$locale->formatDate($postDate,"%d %b, %Y")}</h2>
-
- <div class="post">
- {include file="$blogtemplate/post.template"}
-
- <h2 id="comments">{$locale->tr("comments")}</h2>
-
- <ol id="commentlist">
- {foreach from=$comments item=comment}
- {assign var=commentText value=$comment->getText()}
- {if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
- {/if}
- <li id="comment-{$comment->getId()}">
- <p>$commentText</p>
-
- <p><cite>{$locale->tr("posted_by")}
- {if $comment->getUserUrl() != ""}
- <a href="{$comment->getUserUrl()}"}>{$comment->getUsername()}</a>
- {else}
- {$comment->getUsername()}
- {/if} —
- {assign var=commentDate value=$comment->getDateObject()}
- {$locale->formatDate($commentDate, "%d %b %Y, %H:%M")}
- </cite></p>
- </li>
- {/foreach}
- </ol>
-
- {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
- <br style="clear: both;" />
- <h2>{$locale->tr("add_comment")}</h2>
- {include file="$blogtemplate/commentform.template"}
- {/if}
- </div>
-</div>
-
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/unported/posttrackbacks.template
===================================================================
--- templates/branches/lifetype-1.2/unported/posttrackbacks.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/posttrackbacks.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,17 +0,0 @@
-{include file="$blogtemplate/header.template"}
-<div id="content">
- <div class="blog">
- <div class="blogbody">
- <h2 class="title">{$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>"</h2>
- {foreach from=$trackbacks item=trackback}
- <a href="{$trackback->getUrl()}">{$trackback->getTitle()}</a><br/>
- <b>{$locale->tr("trackback_excerpt")}:</b> {$trackback->getExcerpt()}<br/>
- <b>{$locale->tr("trackback_weblog")}:</b> {$trackback->getBlogName()}<br/>
- {assign var="trackbackDate" value=$trackback->getDateObject()}
- <b>{$locale->tr("date")}:</b> Date would be here<br/><br/>
- {/foreach}
- </div>
- </div>
-</div>
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/unported/resource.template
===================================================================
--- templates/branches/lifetype-1.2/unported/resource.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/resource.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,58 +0,0 @@
-{include file="$blogtemplate/header.template"}
-{assign var=metadata value=$resource->getMetadataReader()}
-{assign var=updated value=$resource->getTimestamp()}
-<div id="content">
- <h2>{$locale->tr("resources")}</h2>
-<div class="post">
- <h3 class="storytitle"><a href="{$url->resourceLink($resource)}">{$resource->getFileName()}</a></h3>
- <div class="meta">
- {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
- </div>
- <div class="storycontent"><p>{$resource->getDescription()}</p></div>
- {if $resource->isImage()}
- <img src="{$url->resourceMediumSizePreviewLink($resource)}" alt="{$resource->getFileName()}, {$metadata->getRoundedSize()}" />
- {else}
- <a href="{$url->resourceDownloadLink($resource)}">
- {* show some information about the file *}
- {if $resource->isSound()}
- <img alt="Sound" src="{$url->getUrl("/imgs/sound.gif")}" height="64" width="64" style="border:0px;" /><br/>
- {$resource->getFileName()}
- </a><br/>
- {$locale->tr("format")}: {$metadata->getFormat()|upper}<br/>
- {$locale->tr("length")}: {$metadata->getLengthString()}<br/>
- {$locale->tr("sample_rate")}: {$metadata->getSampleRate()} Khz
- {elseif $resource->isVideo()}
- <img alt="Sound" src="{$url->getUrl("/imgs/video.gif")}" height="64" width="64" style="border:0px;" /><br/>
- {$resource->getFileName()}
- </a><br/>
- {$locale->tr("format")}: {$metadata->getFormat()|upper}<br/>
- {$locale->tr("size")}: {$metadata->getHeight()} x {$metadata->getWidth()}<br/>
- {$locale->tr("length")}: {$metadata->getLengthString()}<br/>
- {$locale->tr("video_codec")}: {$metadata->getVideoCodec()}<br/>
- {$locale->tr("audio_codec")}: {$metadata->getAudioCodec()}
- {elseif $resource->isZip()}
- <img alt="Sound" src="{$url->getUrl("/imgs/compressed.gif")}" height="64" width="64" style="border:0px;" /><br/>
- {$resource->getFileName()}
- </a><br/>
- {$metadata->getTotalFiles()} {$locale->tr("files")}<br/>
- {$locale->tr("uncompressed_size")}: {$metadata->getRoundedUncompressedSize()}
- {else}
- <img alt="Sound" src="{$url->getUrl("/imgs/file.gif")}" height="64" width="64" style="border:0px;" /><br/>
- {$resource->getFileName()}
- </a>
- {/if}
- {/if}
- <br/>
- <div class="feedback">
- <a href="{$url->resourceDownloadLink($resource)}">
- <img src="{$url->getTemplateFile("download.gif")}" width="10" height="11" alt="Download" style="border:0px;" />
- {$locale->tr("download")} ({$metadata->getRoundedSize()})
- </a>
- </div>
-</div>
- <p>
- <a href="javascript:history.go(-1);">{$locale->tr("back")}</a>
- </p>
-</div>
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/unported/searchresults.template
===================================================================
--- templates/branches/lifetype-1.2/unported/searchresults.template 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/searchresults.template 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,18 +0,0 @@
-{include file="$blogtemplate/header.template"}
-<div id="content">
- <h2>{$locale->tr("search_results")}</h2>
- <p>
- {foreach from=$searchresults item=result}
- <div class="searchresult">
- {assign var=article value=$result->getArticle()}
- <a href="{$url->postPermalink($article)}"><h3><b>{$article->getTopic()}</b></h3></a>
- <p>
- {$article->getText()|strip_tags|truncate:300:"...":false}
- </p>
- </div>
- <br/>
- {/foreach}
- </p>
-</div>
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/unported/toolbar.js
===================================================================
--- templates/branches/lifetype-1.2/unported/toolbar.js 2008-04-28 14:57:01 UTC (rev 6343)
+++ templates/branches/lifetype-1.2/unported/toolbar.js 2008-04-28 15:00:32 UTC (rev 6344)
@@ -1,16 +0,0 @@
-function addText( id, insText )
-{
- input = document.getElementById(id);
- input.focus();
- if( input.createTextRange ) {
- document.selection.createRange().text += insText;
- }
- else if( input.setSelectionRange ) {
- var len = input.selectionEnd;
- input.value = input.value.substr( 0, len ) + insText + input.value.substr( len );
- input.setSelectionRange(len+insText.length,len+insText.length);
- }
- else {
- input.value += insText;
- }
-}
More information about the pLog-svn
mailing list