[pLog-svn] r1688 - in templates/trunk: . buggy buggy/imgs
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Sun Apr 3 16:37:34 GMT 2005
Author: oscar
Date: 2005-04-03 16:37:34 +0000 (Sun, 03 Apr 2005)
New Revision: 1688
Added:
templates/trunk/buggy/
templates/trunk/buggy/album.template
templates/trunk/buggy/albums.template
templates/trunk/buggy/buggy.css
templates/trunk/buggy/commentarticle.template
templates/trunk/buggy/error.template
templates/trunk/buggy/footer.template
templates/trunk/buggy/header.template
templates/trunk/buggy/imgs/
templates/trunk/buggy/imgs/photo.jpg
templates/trunk/buggy/lib.js
templates/trunk/buggy/main.template
templates/trunk/buggy/post.template
templates/trunk/buggy/postandcomments.template
templates/trunk/buggy/posttrackbacks.template
templates/trunk/buggy/resource.template
templates/trunk/buggy/screenshot.jpg
templates/trunk/buggy/searchresults.template
templates/trunk/buggy/x.js
Log:
added another template contributed by Mike Paluchowski. Thanks Mike! :)
Added: templates/trunk/buggy/album.template
===================================================================
--- templates/trunk/buggy/album.template 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/album.template 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,85 @@
+{include file="$blogtemplate/header.template"}
+<h1>{$album->getName()}</h1>
+<p>
+ {$album->getDescription()}
+</p>
+
+ <!-- album contents go here -->
+<div id="album">
+<table style="border:0px;width:100%;" summary="Album Resources">
+ <tr>
+ <td style="width:25%;" align="center" >
+ <a class="nodecoration" 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 class="nodecoration" 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%3 == 0}
+ </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 class="nodecoration" 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%3 == 0}
+ </tr>
+ <tr>
+ {/if}
+ {/foreach}
+ <td></td></tr>
+</table>
+</div>
+ <!-- end of album contents -->
+
+ {include file="$blogtemplate/footer.template"}
Property changes on: templates/trunk/buggy/album.template
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/albums.template
===================================================================
--- templates/trunk/buggy/albums.template 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/albums.template 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,25 @@
+{include file="$blogtemplate/header.template"}
+<h1>{$locale->tr("albums")}</h1>
+ <!-- album contents go here -->
+<div id="album">
+<table style="border:0px;width:100%;" summary="Albums">
+<tr>
+ {assign var="counter" value=0}
+ {foreach from=$albums item=album}
+ <td style="width:33%;" align="center">
+ <a class="nodecoration" href="{$url->albumLink($album)}">
+ <img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
+ {$album->getName()} ({$album->getNumResources()})
+ </a>
+ {assign var="counter" value="`$counter+1`"}
+ </td>
+ {if $counter%3 == 0}
+ </tr>
+ <tr>
+ {/if}
+ {/foreach}
+ <td></td></tr>
+ </table>
+ </div>
+ <!-- end of the albums -->
+{include file="$blogtemplate/footer.template"}
Property changes on: templates/trunk/buggy/albums.template
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/buggy.css
===================================================================
--- templates/trunk/buggy/buggy.css 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/buggy.css 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,197 @@
+/*
+ The Buggy pLog Template stylesheet
+ pLog Version: 1.0
+
+ (c) BuggyBrain.com
+ Released under the terms of the GPL
+ */
+
+#header {
+ background: #AF1517;
+ padding: 5px 0px 0px 0px;
+}
+
+#header div.title {
+ border-top: 5px solid #FFF;
+ color: #FFF;
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 24px;
+ padding: 5px 0px 0px 10px;
+}
+
+#header div.subtitle {
+ color: #EBEBEB;
+ font-size: 10px;
+ font-weight: bold;
+ padding: 5px 0px 10px 20px;
+}
+
+#photo {
+ position: absolute;
+ left: 630px;
+ top: 20px;
+}
+
+#menu {
+ background: #F2F2F2;
+ font-size: 11px;
+ margin-top: 5px;
+ padding: 5px;
+ position: absolute;
+ text-align: right;
+ width: 615px;
+}
+
+#menu a {
+ font-weight: bold;
+ text-decoration: none;
+}
+
+#col1 {
+ left: 0px;
+ position: absolute;
+ top: 101px;
+ width: 150px;
+}
+
+#col1 .content {
+ background: #E8EBD7;
+ margin-right: 5px;
+ padding: 0px 5px 5px 5px;
+}
+
+#col2 {
+ left: 150px;
+ position: absolute;
+ top: 106px;
+ width: 475px;
+}
+
+#col2 .content {
+ font-size: 13px;
+ font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
+ padding: 5px 0px 5px 0px;
+}
+
+#colresource {
+ left: 15px;
+ position: absolute;
+ top: 106px;
+}
+
+#colresource .content {
+ font-size: 13px;
+ font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
+ padding: 5px 0px 5px 0px;
+}
+
+#col3 {
+ left: 625px;
+ position: absolute;
+ top: 215px;
+ width: 155px;
+}
+
+#col3 .content {
+ background: #E8EBD7;
+ margin-left: 5px;
+ padding: 0px 5px 5px 5px;
+}
+
+#col1 .content, #col3 .content {
+ font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
+ font-size: 11px;
+}
+
+#footer {
+ background: #F2F2F2;
+ font-size: 11px;
+ line-height: 16px;
+ padding: 5px;
+ position: absolute;
+ vertical-align: bottom;
+ visibility: hidden;
+ width: 770px;
+}
+
+body {
+ background: #FFF;
+ color: #000;
+ font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ font-size: 12px;
+ margin: 10px 0px 0px 0px;
+ padding: 0px;
+}
+
+a:link {
+ color: #900;
+}
+
+a:visited {
+ color: #900;
+}
+
+a:hover {
+ color: Gray;
+}
+
+img {
+ border: 0px;
+}
+
+h1 {
+ color: #6B6B6B;
+ font-family: Georgia, "Times New Roman", Times, serif;
+ font-size: 16px;
+ margin: 10px 0px 2px 0px;
+}
+
+h5, h6 {
+ border-top: 5px solid #FFF;
+ color: #FFF;
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 12px;
+ font-weight: bold;
+ letter-spacing: 2px;
+ margin: 5px -5px 10px -5px;
+ padding: 3px;
+ text-align: center;
+}
+
+h5 {
+ background: #8F8D5A;
+}
+
+h6 {
+ background: #AF1517;
+}
+
+p {
+ line-height: 130%;
+}
+
+.shadelight, .shadedark {
+ font-size: 10px;
+ font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ padding: 2px 4px 2px 4px;
+}
+
+.shadelight {
+ background: #CCC;
+}
+
+.shadedark {
+ background: #B6B6B6;
+ color: #FFF;
+ font-weight: bold;
+}
+
+.shadedark a, .shadelight a {
+ font-weight: bold;
+ text-decoration: none;
+}
+
+.upgrade {
+ display: none;
+ font-weight: bold;
+}
\ No newline at end of file
Property changes on: templates/trunk/buggy/buggy.css
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/commentarticle.template
===================================================================
--- templates/trunk/buggy/commentarticle.template 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/commentarticle.template 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,4 @@
+{include file="$blogtemplate/header.template"}
+<h3>{$locale->tr("add_comment")}</h3>
+ {include file="$blogtemplate/commentform.template"}
+{include file="$blogtemplate/footer.template"}
Property changes on: templates/trunk/buggy/commentarticle.template
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/error.template
===================================================================
--- templates/trunk/buggy/error.template 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/error.template 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,4 @@
+{include file="$blogtemplate/header.template"}
+ <h1>{$locale->tr("error")}</h1>
+ <p>{$locale->tr($message)}</p>
+{include file="$blogtemplate/footer.template"}
Property changes on: templates/trunk/buggy/error.template
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/footer.template
===================================================================
--- templates/trunk/buggy/footer.template 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/footer.template 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,52 @@
+ </div>
+</div>
+
+<div id="col3">
+ <div class="content">
+
+ <h6>{$locale->tr("archives")|lower}</h6>
+ {foreach from=$archives item=post}
+ <a href="{$post->getUrl()}">{$post->getName()}</a><br/>
+ {/foreach}
+
+ <h5>{$locale->tr("categories")|lower}</h5>
+ {foreach from=$articlecategories item=articleCategory}
+ <a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a> [{$articleCategory->getNumArticles()}]<br/>
+ {/foreach}
+
+ <h6>{$locale->tr("my_links")|lower}</h6>
+ {foreach from=$mylinkscategories item=linkcategory}
+ {$linkcategory->getName()}<br />
+ {foreach from=$linkcategory->getLinks() item=link}
+ <a href="{$link->getUrl()}" title="{$link->getDescription()}" rel="external">{$link->getName()}</a><br />
+ {/foreach}
+ {/foreach}
+
+ </div>
+</div>
+
+<div id="footer">
+ powered by pLog, copyright © the <a href="http://www.plogworld.net/" rel="external">pLog team</a> |
+ design by <a href="http://www.buggybrain.com/" rel="external">BuggyBrain.com</a>
+</div>
+
+<!--
+ Copyright (C) 2005 Mike Paluchowski of BuggyBrain.com
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+//-->
+
+</body>
+</html>
\ No newline at end of file
Property changes on: templates/trunk/buggy/footer.template
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/header.template
===================================================================
--- templates/trunk/buggy/header.template 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/header.template 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset={$locale->getCharset()}" />
+ <title>{$blog->getBlog()}</title>
+ <style type="text/css" media="screen">@import "{$url->getTemplateFile("buggy.css")}";</style>
+ <script type="text/javascript" src="{$url->getTemplateFile("x.js")}"></script>
+ <script type="text/javascript" src="{$url->getTemplateFile("lib.js")}"></script>
+</head>
+
+<body>
+
+<p class="upgrade">This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please <a href="http://www.webstandards.org/upgrade/" title="The Web Standards Project's Browser Upgrade initiative">upgrade</a> to a browser that supports web standards. It's free and painless.</p>
+
+<div id="header">
+ <div class="title">{$blog->getBlog()|lower}</div>
+ <div class="subtitle">YOUR COOL BLOG TAG LINE</div>
+</div>
+
+<div id="photo"><img src="{$url->getTemplateFile("imgs/photo.jpg")}" width="150" height="200" alt="Your sexiest photo" /></div>
+
+<div id="menu">
+ <a href="{$url->blogLink()}">{$locale->tr("main")|upper}</a> |
+ <a href="{$url->albumLink()}">{$locale->tr("albums")|upper}</a>
+</div>
+
+<div id="col1">
+ <div class="content">
+ <h5>{$locale->tr("calendar")|lower}</h5>
+ {$calendar}
+
+ <h6>{$locale->tr("recently")|lower}</h6>
+ {foreach from=$recentposts item=post}
+ <a title="{$post->getText()|truncate:150:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a><br/>
+ {/foreach}
+ <h5>{$locale->tr("syndicate")|lower}</h5>
+ <a title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img src="{$url->getUrl("/imgs/rss090_logo.gif")}" style="border:0px;" alt="RSS 0.90" /></a><br/>
+ <a title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img src="{$url->getUrl("/imgs/rss10_logo.gif")}" style="border:0px;" alt="RSS 1.0" /></a><br/>
+ <a title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img src="{$url->getUrl("/imgs/rss20_logo.gif")}" style="border:0px;" alt="RSS 2.0" /></a><br/>
+ <a title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img src="{$url->getUrl("/imgs/atom_logo.png")}" style="border:0px;" alt="Atom 0.3" /></a>
+
+ </div>
+</div>
+
+<div id="col2">
+ <div class="content">
\ No newline at end of file
Property changes on: templates/trunk/buggy/header.template
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/imgs/photo.jpg
===================================================================
(Binary files differ)
Property changes on: templates/trunk/buggy/imgs/photo.jpg
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/buggy/lib.js
===================================================================
--- templates/trunk/buggy/lib.js 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/lib.js 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,28 @@
+function externalLinks() {
+ if (!document.getElementsByTagName) return;
+ var anchors = document.getElementsByTagName("a");
+ for (var i=0; i<anchors.length; i++) {
+ var anchor = anchors[i];
+ if (anchor.getAttribute("href") &&
+ anchor.getAttribute("rel") == "external")
+ anchor.target = "_blank";
+ }
+}
+
+function adjustlayout() {
+ var hdr = xHeight("header");
+ var men = xHeight("menu");
+ var totalhdr = men + hdr + 10;
+ var col1h = xHeight("col1");
+ var col2h = xHeight("col2");
+ var col3h = xHeight("col3") + 114;
+ if (col3h > col1h) col1h = col3h;
+ if (col1h > col2h) col2h = col1h;
+ xTop("footer", totalhdr + col2h + 5);
+ xShow("footer");
+}
+
+window.onload = function() {
+ externalLinks();
+ adjustlayout();
+}
\ No newline at end of file
Property changes on: templates/trunk/buggy/lib.js
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/main.template
===================================================================
--- templates/trunk/buggy/main.template 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/main.template 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +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
Property changes on: templates/trunk/buggy/main.template
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/post.template
===================================================================
--- templates/trunk/buggy/post.template 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/post.template 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,12 @@
+<!-- {$url->postTrackbackLink($post)} -->
+<h1>{$post->getTopic()}</h1>
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<span class="shadedark">{$postOwner->getUsername()}</span>
+<span class="shadelight">{$locale->formatDate($postDate,"%d %B, %Y %H:%M")}</span>
+<span class="shadedark">{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->postCategoryLink($post)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach}</span>
+<span class="shadelight"><a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a></span>
+<span class="shadedark"><a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a></span>
+<p>
+ {$post->getText()}
+</p>
\ No newline at end of file
Property changes on: templates/trunk/buggy/post.template
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/postandcomments.template
===================================================================
--- templates/trunk/buggy/postandcomments.template 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/postandcomments.template 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,13 @@
+{include file="$blogtemplate/header.template"}
+ <p style="text-align: center">
+ {* I am not so keen on using if's in templates, but can't think of another way... *}
+ {if $nextpost == true}
+ <a href="{$url->postPermalink($nextpost)}" title="Next post: {$nextpost->getTopic()}">«</a> |
+ {/if}
+ {if $prevpost == true}
+ <a href="{$url->postPermalink($prevpost)}" title="Previous post: {$prevpost->getTopic()}">»</a>
+ {/if}
+ </p>
+ {assign var="poster" value=$post->getUserInfo()}
+ {include file="$blogtemplate/post.template"}
+{include file="$blogtemplate/footer.template"}
Property changes on: templates/trunk/buggy/postandcomments.template
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/posttrackbacks.template
===================================================================
--- templates/trunk/buggy/posttrackbacks.template 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/posttrackbacks.template 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,14 @@
+{include file="$blogtemplate/header.template"}
+ <p>
+ {$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>":
+ </p>
+ <p>
+ {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> {$locale->formatDate($trackbackDate, "%d/%m/%Y %H:%M")}<br/><br/>
+ {/foreach}
+ </p>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file
Property changes on: templates/trunk/buggy/posttrackbacks.template
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/resource.template
===================================================================
--- templates/trunk/buggy/resource.template 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/resource.template 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,83 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset={$locale->getCharset()}" />
+ <title>{$blog->getBlog()}</title>
+ <style type="text/css" media="screen">@import "{$url->getTemplateFile("buggy.css")}";</style>
+ <script type="text/javascript" src="scripts/x.js"></script>
+ <script type="text/javascript" src="scripts/lib.js"></script>
+</head>
+
+<body>
+
+<p class="upgrade">This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please <a href="http://www.webstandards.org/upgrade/" title="The Web Standards Project's Browser Upgrade initiative">upgrade</a> to a browser that supports web standards. It's free and painless.</p>
+
+<div id="header">
+ <div class="title">{$blog->getBlog()|lower}</div>
+ <div class="subtitle">YOUR COOL BLOG TAG LINE</div>
+</div>
+
+<div id="menu">
+ <a href="{$url->blogLink()}">{$locale->tr("main")|upper}</a> |
+</div>
+
+<div id="colresource">
+ <div class="content">
+
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<h2>{$resource->getFileName()}</h2>
+<br/>
+ <div id="Resource-Desc">
+ <a href="{$url->resourceDownloadLink($resource)}">{$locale->tr("download")}</a>
+ ({$metadata->getRoundedSize()}) | {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
+ <div id="album">
+ <p>{$resource->getDescription()}</p>
+ {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>
+ <p>
+ {assign var=album value=$resource->getAlbum()}
+ {if $prevresource}<a href="{$url->resourceLink($prevresource)}">«</a> | {/if}
+ <a href="{$url->albumLink($album)}">{$locale->tr("back")}</a>
+ {if $nextresource}| <a href="{$url->resourceLink($nextresource)}">»</a>{/if}
+ </p>
+ </div>
+ </div>
+ </body>
+</html>
Property changes on: templates/trunk/buggy/resource.template
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/screenshot.jpg
===================================================================
(Binary files differ)
Property changes on: templates/trunk/buggy/screenshot.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/buggy/searchresults.template
===================================================================
--- templates/trunk/buggy/searchresults.template 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/searchresults.template 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,6 @@
+{include file="$blogtemplate/header.template"}
+ {foreach from=$searchresults item=result}
+ {assign var=article value=$result->getArticle()}
+ {$url->postPermalink($article)}
+ {/foreach}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file
Property changes on: templates/trunk/buggy/searchresults.template
___________________________________________________________________
Name: svn:executable
+ *
Added: templates/trunk/buggy/x.js
===================================================================
--- templates/trunk/buggy/x.js 2005-04-03 16:32:39 UTC (rev 1687)
+++ templates/trunk/buggy/x.js 2005-04-03 16:37:34 UTC (rev 1688)
@@ -0,0 +1,430 @@
+// x.js
+// X v3.10, Cross-Browser DHTML Library from Cross-Browser.com
+// Copyright (c) 2002,2003 Michael Foster (mike at cross-browser.com)
+// This library is distributed under the terms of the LGPL (gnu.org)
+
+// Variables:
+var xVersion='3.10',xOp7=false,xOp5or6=false,xIE4Up=false,xNN4=false,xUA=navigator.userAgent.toLowerCase();
+if(window.opera){
+ xOp7=(xUA.indexOf('opera 7')!=-1 || xUA.indexOf('opera/7')!=-1);
+ if (!xOp7) xOp5or6=(xUA.indexOf('opera 5')!=-1 || xUA.indexOf('opera/5')!=-1 || xUA.indexOf('opera 6')!=-1 || xUA.indexOf('opera/6')!=-1);
+}
+else if(document.layers) xNN4=true;
+else {xIE4Up=document.all && xUA.indexOf('msie')!=-1 && parseInt(navigator.appVersion)>=4;}
+
+// Appearance:
+function xShow(e) {
+ if(!(e=xGetElementById(e))) return;
+ if(e.style && xDef(e.style.visibility)) e.style.visibility='inherit';
+ else if(xDef(e.visibility)) e.visibility='show';
+}
+function xHide(e) {
+ if(!(e=xGetElementById(e))) return;
+ if(e.style && xDef(e.style.visibility)) e.style.visibility='hidden';
+ else if(xDef(e.visibility)) e.visibility='hide';
+}
+function xZIndex(e,uZ) {
+ if(!(e=xGetElementById(e))) return 0;
+ if(e.style && xDef(e.style.zIndex)) {
+ if(arguments.length>1) e.style.zIndex=uZ;
+ else uZ=e.style.zIndex;
+ }
+ else if(xDef(e.zIndex)) {
+ if(arguments.length>1) e.zIndex=uZ;
+ else uZ=e.zIndex;
+ }
+ return uZ;
+}
+function xColor(e,sColor) {
+ if(!(e=xGetElementById(e))) return "";
+ var c="";
+ if(e.style && xDef(e.style.color)) {
+ if(arguments.length>1) e.style.color=sColor;
+ c=e.style.color;
+ }
+ return c;
+}
+function xBackground(e,sColor,sImage) {
+ if(!(e=xGetElementById(e))) return "";
+ var bg="";
+ if(e.style) {
+ if(arguments.length>1) e.style.backgroundColor=sColor;
+ if(arguments.length==3) e.style.backgroundImage=(sImage && sImage!="")? "url("+sImage+")" : null;
+ bg=e.style.backgroundColor;
+ }
+ else if(xDef(e.bgColor)) {
+ if(arguments.length>1) e.bgColor=sColor;
+ bg=e.bgColor;
+ if(arguments.length==3) e.background.src=sImage;
+ }
+ return bg;
+}
+
+// Position:
+function xMoveTo(e,iX,iY) {
+ xLeft(e,iX);
+ xTop(e,iY);
+}
+function xLeft(e,iX) {
+ if(!(e=xGetElementById(e))) return 0;
+ var css=xDef(e.style);
+ if (css && xDef(e.style.left) && typeof(e.style.left)=="string") {
+ if(arguments.length>1) e.style.left=iX+"px";
+ else {
+ iX=parseInt(e.style.left);
+ if(isNaN(iX)) iX=0;
+ }
+ }
+ else if(css && xDef(e.style.pixelLeft)) {
+ if(arguments.length>1) e.style.pixelLeft=iX;
+ else iX=e.style.pixelLeft;
+ }
+ else if(xDef(e.left)) {
+ if(arguments.length>1) e.left=iX;
+ else iX=e.left;
+ }
+ return iX;
+}
+function xTop(e,iY) {
+ if(!(e=xGetElementById(e))) return 0;
+ var css=xDef(e.style);
+ if(css && xDef(e.style.top) && typeof(e.style.top)=="string") {
+ if(arguments.length>1) e.style.top=iY+"px";
+ else {
+ iY=parseInt(e.style.top);
+ if(isNaN(iY)) iY=0;
+ }
+ }
+ else if(css && xDef(e.style.pixelTop)) {
+ if(arguments.length>1) e.style.pixelTop=iY;
+ else iY=e.style.pixelTop;
+ }
+ else if(xDef(e.top)) {
+ if(arguments.length>1) e.top=iY;
+ else iY=e.top;
+ }
+ return iY;
+}
+function xPageX(e) {
+ if (!(e=xGetElementById(e))) return 0;
+ if (xDef(e.pageX)) return e.pageX;
+ var x = 0;
+ while (e) {
+ if (xDef(e.offsetLeft)) x += e.offsetLeft;
+ e = xParent(e);
+ }
+ return x;
+}
+function xPageY(e) {
+ if (!(e=xGetElementById(e))) return 0;
+ if (xDef(e.pageY)) return e.pageY;
+ var y = 0;
+ while (e) {
+ if (xDef(e.offsetTop)) y += e.offsetTop;
+ e = xParent(e);
+ }
+ return y;
+}
+function xSlideTo(e,x,y,uTime) {
+ if (!(e=xGetElementById(e))) return;
+ if (!e.timeout) e.timeout = 25;
+ e.xTarget = x; e.yTarget = y; e.slideTime = uTime; e.stop = false;
+ e.yA = e.yTarget - xTop(e); e.xA = e.xTarget - xLeft(e); // A = distance
+ e.B = Math.PI / (2 * e.slideTime); // B = period
+ e.yD = xTop(e); e.xD = xLeft(e); // D = initial position
+ var d = new Date(); e.C = d.getTime();
+ if (!e.moving) xSlide(e);
+}
+function xSlide(e) {
+ if (!(e=xGetElementById(e))) return;
+ var now, s, t, newY, newX;
+ now = new Date();
+ t = now.getTime() - e.C;
+ if (e.stop) { e.moving = false; }
+ else if (t < e.slideTime) {
+ setTimeout("xSlide('"+e.id+"')", e.timeout);
+ s = Math.sin(e.B * t);
+ newX = Math.round(e.xA * s + e.xD);
+ newY = Math.round(e.yA * s + e.yD);
+ xMoveTo(e, newX, newY);
+ e.moving = true;
+ }
+ else {
+ xMoveTo(e, e.xTarget, e.yTarget);
+ e.moving = false;
+ }
+}
+
+// Size:
+function xResizeTo(e,uW,uH) {
+ xWidth(e,uW);
+ xHeight(e,uH);
+}
+function xWidth(e,uW) {
+ if(!(e=xGetElementById(e)) || (uW && uW<0)) return 0;
+ uW=Math.round(uW);
+ var css=xDef(e.style);
+ if(css && xDef(e.style.width,e.offsetWidth) && typeof(e.style.width)=="string") {
+ if(arguments.length>1) xSetCW(e, uW);
+ uW=e.offsetWidth;
+ }
+ else if(css && xDef(e.style.pixelWidth)) {
+ if(arguments.length>1) e.style.pixelWidth=uW;
+ uW=e.style.pixelWidth;
+ }
+ else if(xDef(e.clip) && xDef(e.clip.right)) {
+ if(arguments.length>1) e.clip.right=uW;
+ uW=e.clip.right;
+ }
+ return uW;
+}
+function xHeight(e,uH) {
+ if(!(e=xGetElementById(e)) || (uH && uH<0)) return 0;
+ uH=Math.round(uH);
+ var css=xDef(e.style);
+ if(css && xDef(e.style.height,e.offsetHeight) && typeof(e.style.height)=="string") {
+ if(arguments.length>1) xSetCH(e, uH);
+ uH=e.offsetHeight;
+ }
+ else if(css && xDef(e.style.pixelHeight)) {
+ if(arguments.length>1) e.style.pixelHeight=uH;
+ uH=e.style.pixelHeight;
+ }
+ else if(xDef(e.clip) && xDef(e.clip.bottom)) {
+ if(arguments.length>1) e.clip.bottom=uH;
+ uH=e.clip.bottom;
+ }
+ return uH;
+}
+// thank moz for the next 2000 bytes
+function xGetCS(ele,sP){return parseInt(document.defaultView.getComputedStyle(ele,"").getPropertyValue(sP));}
+function xSetCW(ele,uW){
+ if(uW<0) return;
+ var pl=0,pr=0,bl=0,br=0;
+ if(xDef(document.defaultView) && xDef(document.defaultView.getComputedStyle)){
+ pl=xGetCS(ele,"padding-left");
+ pr=xGetCS(ele,"padding-right");
+ bl=xGetCS(ele,"border-left-width");
+ br=xGetCS(ele,"border-right-width");
+ }
+ else if(xDef(ele.currentStyle,document.compatMode)){
+ if(document.compatMode=="CSS1Compat"){
+ pl=parseInt(ele.currentStyle.paddingLeft);
+ pr=parseInt(ele.currentStyle.paddingRight);
+ bl=parseInt(ele.currentStyle.borderLeftWidth);
+ br=parseInt(ele.currentStyle.borderRightWidth);
+ }
+ }
+ else if(xDef(ele.offsetWidth,ele.style.width)){
+ ele.style.width=uW+"px";
+ pl=ele.offsetWidth-uW;
+ }
+ if(isNaN(pl)) pl=0; if(isNaN(pr)) pr=0; if(isNaN(bl)) bl=0; if(isNaN(br)) br=0;
+ var cssW=uW-(pl+pr+bl+br);
+ if(isNaN(cssW)||cssW<0) return;
+ else ele.style.width=cssW+"px";
+}
+function xSetCH(ele,uH){
+ if(uH<0) return;
+ var pt=0,pb=0,bt=0,bb=0;
+ if(xDef(document.defaultView) && xDef(document.defaultView.getComputedStyle)){
+ pt=xGetCS(ele,"padding-top");
+ pb=xGetCS(ele,"padding-bottom");
+ bt=xGetCS(ele,"border-top-width");
+ bb=xGetCS(ele,"border-bottom-width");
+ }
+ else if(xDef(ele.currentStyle,document.compatMode)){
+ if(document.compatMode=="CSS1Compat"){
+ pt=parseInt(ele.currentStyle.paddingTop);
+ pb=parseInt(ele.currentStyle.paddingBottom);
+ bt=parseInt(ele.currentStyle.borderTopWidth);
+ bb=parseInt(ele.currentStyle.borderBottomWidth);
+ }
+ }
+ else if(xDef(ele.offsetHeight,ele.style.height)){
+ ele.style.height=uH+"px";
+ pt=ele.offsetHeight-uH;
+ }
+ if(isNaN(pt)) pt=0; if(isNaN(pb)) pb=0; if(isNaN(bt)) bt=0; if(isNaN(bb)) bb=0;
+ var cssH=uH-(pt+pb+bt+bb);
+ if(isNaN(cssH)||cssH<0) return;
+ else ele.style.height=cssH+"px";
+}
+function xClip(e,iTop,iRight,iBottom,iLeft) {
+ if(!(e=xGetElementById(e))) return;
+ if(e.style) {
+ if (arguments.length == 5) e.style.clip="rect("+iTop+"px "+iRight+"px "+iBottom+"px "+iLeft+"px)";
+ else e.style.clip="rect(0 "+parseInt(e.style.width)+"px "+parseInt(e.style.height)+"px 0)";
+ }
+ else if(e.clip) {
+ if (arguments.length == 5) { e.clip.top=iTop; e.clip.right=iRight; e.clip.bottom=iBottom; e.clip.left=iLeft; }
+ else { e.clip.top=0; e.clip.right=xWidth(e); e.clip.bottom=xHeight(e); e.clip.left=0; }
+ }
+}
+
+// Event:
+function xAddEventListener(e,eventType,eventListener,useCapture) {
+ if(!(e=xGetElementById(e))) return;
+ eventType=eventType.toLowerCase();
+ if((!xIE4Up && !xOp7) && e==window) {
+ if(eventType=='resize') { window.xPCW=xClientWidth(); window.xPCH=xClientHeight(); window.xREL=eventListener; xResizeEvent(); return; }
+ if(eventType=='scroll') { window.xPSL=xScrollLeft(); window.xPST=xScrollTop(); window.xSEL=eventListener; xScrollEvent(); return; }
+ }
+ var eh="e.on"+eventType+"=eventListener";
+ if(e.addEventListener) e.addEventListener(eventType,eventListener,useCapture);
+ else if(e.attachEvent) e.attachEvent("on"+eventType,eventListener);
+ else if(e.captureEvents) {
+ if(useCapture||(eventType.indexOf('mousemove')!=-1)) { e.captureEvents(eval("Event."+eventType.toUpperCase())); }
+ eval(eh);
+ }
+ else eval(eh);
+}
+function xRemoveEventListener(e,eventType,eventListener,useCapture) {
+ if(!(e=xGetElementById(e))) return;
+ eventType=eventType.toLowerCase();
+ if((!xIE4Up && !xOp7) && e==window) {
+ if(eventType=='resize') { window.xREL=null; return; }
+ if(eventType=='scroll') { window.xSEL=null; return; }
+ }
+ var eh="e.on"+eventType+"=null";
+ if(e.removeEventListener) e.removeEventListener(eventType,eventListener,useCapture);
+ else if(e.detachEvent) e.detachEvent("on"+eventType,eventListener);
+ else if(e.releaseEvents) {
+ if(useCapture||(eventType.indexOf('mousemove')!=-1)) { e.releaseEvents(eval("Event."+eventType.toUpperCase())); }
+ eval(eh);
+ }
+ else eval(eh);
+}
+function xEvent(evt) { // cross-browser event object prototype
+ this.type = "";
+ this.target = null;
+ this.pageX = 0;
+ this.pageY = 0;
+ this.offsetX = 0;
+ this.offsetY = 0;
+ this.keyCode = 0;
+ var e = evt ? evt : window.event;
+ if(!e) return;
+ // type
+ if(e.type) this.type = e.type;
+ // target
+ if(xNN4) this.target = xLayerFromPoint(e.pageX, e.pageY);
+ else if(e.target) this.target = e.target;
+ else if(e.srcElement) this.target = e.srcElement;
+ // pageX, pageY
+ if(xOp5or6) { this.pageX = e.clientX; this.pageY = e.clientY; }
+ else if(xDef(e.pageX,e.pageY)) { this.pageX = e.pageX; this.pageY = e.pageY; }
+ else if(xDef(e.clientX,e.clientY)) { this.pageX = e.clientX + xScrollLeft(); this.pageY = e.clientY + xScrollTop(); }
+ // offsetX, offsetY
+ if(xDef(e.layerX,e.layerY)) { this.offsetX = e.layerX; this.offsetY = e.layerY; }
+ else if(xDef(e.offsetX,e.offsetY)) { this.offsetX = e.offsetX; this.offsetY = e.offsetY; }
+ else { this.offsetX = this.pageX - xPageX(this.target); this.offsetY = this.pageY - xPageY(this.target); }
+ // keycode
+ if (xDef(e.keyCode)) { this.keyCode = e.keyCode; }
+ else if (xDef(e.which)) { this.keyCode = e.which; }
+}
+function xResizeEvent() { // window resize event simulation
+ if (window.xREL) setTimeout("xResizeEvent()", 250);
+ var cw = xClientWidth(), ch = xClientHeight();
+ if (window.xPCW != cw || window.xPCH != ch) { window.xPCW = cw; window.xPCH = ch; if (window.xREL) window.xREL(); }
+}
+function xScrollEvent() { // window scroll event simulation
+ if (window.xSEL) setTimeout("xScrollEvent()", 250);
+ var sl = xScrollLeft(), st = xScrollTop();
+ if (window.xPSL != sl || window.xPST != st) { window.xPSL = sl; window.xPST = st; if (window.xSEL) window.xSEL(); }
+}
+
+// Object:
+function xGetElementById(e) {
+ if(typeof(e)!="string") return e;
+ if(document.getElementById) e=document.getElementById(e);
+ else if(document.all) e=document.all[e];
+ else if(document.layers) e=xLayer(e);
+ else e=null;
+ return e;
+}
+function xLayer(id,root) { // only for nn4
+ var i,layer,found=null;
+ if (!root) root=window;
+ for(i=0; i<root.document.layers.length; i++) {
+ layer=root.document.layers[i];
+ if(layer.id==id) return layer;
+ if(layer.document.layers.length) found=xLayer(id,layer);
+ if(found) return found;
+ }
+ return null;
+}
+function xLayerFromPoint(x,y,root) { // only for nn4
+ var i, hn=null, hz=-1, cn;
+ if (!root) root = window;
+ for (i=0; i < root.document.layers.length; ++i) {
+ cn = root.document.layers[i];
+ if (cn.visibility != "hide" && x >= cn.pageX && x <= cn.pageX + cn.clip.right && y >= cn.pageY && y <= cn.pageY + cn.clip.bottom ) {
+ if (cn.zIndex > hz) { hz = cn.zIndex; hn = cn; }
+ }
+ }
+ if (hn) {
+ cn = xLayerFromPoint(x,y,hn);
+ if (cn) hn = cn;
+ }
+ return hn;
+}
+function xParent(e){
+ if (!(e=xGetElementById(e))) return null;
+ var p=null;
+ if (e.parentLayer){if (e.parentLayer!=window) p=e.parentLayer;}
+ else{
+ if (e.offsetParent) p=e.offsetParent;
+ else if (e.parentNode) p=e.parentNode;
+ else if (e.parentElement) p=e.parentElement;
+ }
+ return p;
+}
+function xDef() {
+ for(var i=0; i<arguments.length; ++i){if(typeof(arguments[i])=="" || typeof(arguments[i])=="undefined") return false;}
+ return true;
+}
+
+// Window:
+function xScrollLeft() {
+ var offset=0;
+ if(xDef(window.pageXOffset)) offset=window.pageXOffset;
+ else if(document.documentElement && document.documentElement.scrollLeft) offset=document.documentElement.scrollLeft;
+ else if(document.body && xDef(document.body.scrollLeft)) offset=document.body.scrollLeft;
+ return offset;
+}
+function xScrollTop() {
+ var offset=0;
+ if(xDef(window.pageYOffset)) offset=window.pageYOffset;
+ else if(document.documentElement && document.documentElement.scrollTop) offset=document.documentElement.scrollTop;
+ else if(document.body && xDef(document.body.scrollTop)) offset=document.body.scrollTop;
+ return offset;
+}
+function xClientWidth() {
+ var w=0;
+ if(xOp5or6) w=window.innerWidth;
+ else if(xIE4Up && document.documentElement && document.documentElement.clientWidth)
+ w=document.documentElement.clientWidth;
+ else if(document.body && document.body.clientWidth)
+ w=document.body.clientWidth;
+ else if(xDef(window.innerWidth,window.innerHeight,document.height)) {
+ w=window.innerWidth;
+ if(document.height>window.innerHeight) w-=16;
+ }
+ return w;
+}
+function xClientHeight() {
+ var h=0;
+ if(xOp5or6) h=window.innerHeight;
+ else if(xIE4Up && document.documentElement && document.documentElement.clientHeight)
+ h=document.documentElement.clientHeight;
+ else if(document.body && document.body.clientHeight)
+ h=document.body.clientHeight;
+ else if(xDef(window.innerWidth,window.innerHeight,document.width)) {
+ h=window.innerHeight;
+ if(document.width>window.innerWidth) h-=16;
+ }
+ return h;
+}
+
+// end x.js
\ No newline at end of file
Property changes on: templates/trunk/buggy/x.js
___________________________________________________________________
Name: svn:executable
+ *
More information about the pLog-svn
mailing list