[pLog-svn] r1621 - in templates/trunk: . mtplog mtplog/css
jondaley at devel.plogworld.net
jondaley at devel.plogworld.net
Mon Mar 28 13:55:13 GMT 2005
Author: jondaley
Date: 2005-03-28 13:55:12 +0000 (Mon, 28 Mar 2005)
New Revision: 1621
Added:
templates/trunk/mtplog/
templates/trunk/mtplog/about.template
templates/trunk/mtplog/album.template
templates/trunk/mtplog/albums.template
templates/trunk/mtplog/bold.gif
templates/trunk/mtplog/bubble.gif
templates/trunk/mtplog/commentarticle.template
templates/trunk/mtplog/commentform.template
templates/trunk/mtplog/css/
templates/trunk/mtplog/css/clean.css
templates/trunk/mtplog/css/default.css
templates/trunk/mtplog/css/gettyburg.css
templates/trunk/mtplog/css/plain_jane.css
templates/trunk/mtplog/css/rusty.css
templates/trunk/mtplog/css/trendy.css
templates/trunk/mtplog/download.gif
templates/trunk/mtplog/error.gif
templates/trunk/mtplog/error.template
templates/trunk/mtplog/folderblue.gif
templates/trunk/mtplog/footer.template
templates/trunk/mtplog/header.template
templates/trunk/mtplog/italic.gif
templates/trunk/mtplog/link.gif
templates/trunk/mtplog/main.template
templates/trunk/mtplog/panel.template
templates/trunk/mtplog/post.gif
templates/trunk/mtplog/post.template
templates/trunk/mtplog/postandcomments.template
templates/trunk/mtplog/posttrackbacks.template
templates/trunk/mtplog/resource.template
templates/trunk/mtplog/searchresults.template
templates/trunk/mtplog/toolbar.js
templates/trunk/mtplog/trackback.gif
Log:
moveable type template from reic
Added: templates/trunk/mtplog/about.template
===================================================================
--- templates/trunk/mtplog/about.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/about.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,24 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <div class="blog">
+ <div class="blogbody">
+ <h2 class="title">{$locale->tr("about")} mtplog {$locale->tr("template")}</h2>
+ <div class="posted"><a href="{$url->templatePage("about")}">{$locale->tr("permalink")}</a></div>
+<p>This template "mtplog" is a template based on <a href="http://www.movabletype.org/">MovableType 2.x</a>'s naming method. Thank <b>Sultasto </b>to porting it as a template of plog. </p>
+<p>This template has five different css style. All of them are in the folder of "css/".</p>
+<ul><li>clean.css</li>
+<li>trendy.css</li>
+<li>gettyburg.css</li>
+<li>plain_jane.css</li>
+<li>rusty.css</li>
+</ul><p>If you want changing the css style, you sholud modify the header.template and replace the bold character in <i>$url->getTemplateFile("css/<b>clean.css</b>") </i>with that list above.</p>
+<p>ps: You change the content of this file by editing the about.template.</p>
+ <p align="right">by <a href="http://reic.twbbs.org">reic</a></p>
+<p>Developer: Sultasto<br />
+Porting and maintain: reic</p>
+ </div>
+ <br />
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/mtplog/album.template
===================================================================
--- templates/trunk/mtplog/album.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/album.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,101 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+{assign var="postDate" value=$album->getTimestamp()}
+<div class="blog">
+ <h2 class="date">{$album->getName()}</h2>
+ <div class="blogbody">
+ <div class="posted">
+ <img alt="Album" src="{$url->getUrl("/templates/plain_jane/folderblue.gif")}" width="10" height="11" style="border:0px;" />
+ <a href="{$url->albumLink($album)}">
+ {$locale->tr("resources")} ({$album->getNumResources()})
+ </a> | {$locale->tr("created")} {$locale->formatDate($postDate,"%d %b, %Y")}
+ </div>
+ </div>
+ <p>{$album->getDescription()}</p><br/>
+
+{**
+ 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="Album Resources">
+ <tr>
+ <td style="width:33%;" 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:33%;" 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%3 == 0}
+ </tr>
+ <tr>
+ {/if}
+ {/foreach}
+
+ <!--- show the resources here -->
+
+ {assign var=resources value=$album->getResources()}
+ {foreach from=$resources item=resource}
+ <td style="width:33%;" 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%3 == 0}
+ </tr>
+ <tr>
+ {/if}
+ {/foreach}
+ <td></td></tr>
+</table>
+ <!-- end of album contents -->
+
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/mtplog/albums.template
===================================================================
--- templates/trunk/mtplog/albums.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/albums.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,29 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+<div class="blog">
+<h2 class="date">{$locale->tr("albums")}</h2>
+
+ <!-- album contents go here -->
+<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>
+ </div>
+ <!-- end of the albums -->
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/mtplog/bold.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/mtplog/bold.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/mtplog/bubble.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/mtplog/bubble.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/mtplog/commentarticle.template
===================================================================
--- templates/trunk/mtplog/commentarticle.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/commentarticle.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,7 @@
+{include file="$blogtemplate/header.template"}
+ <div class="comments-head"><a name="comments"></a>Comments</div>
+ {if $blogsettings->getValue("comments_enabled")}
+ <div class="comments-head">Post a comment</div>
+ {include file="$blogtemplate/commentform.template"}
+ {/if}
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/mtplog/commentform.template
===================================================================
--- templates/trunk/mtplog/commentform.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/commentform.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,34 @@
+ <div class="comments-body">
+ <form name="comments_form" action="{$url->getBaseUrl()}/index.php" method="post">
+ <div style="width:180px; padding-right:15px; margin-right:15px; float:left; text-align:left; border-right:1px dotted #bbb;">
+ <label for="subject">{$locale->tr("comment_topic")}:</label><br />
+ <input tabindex="1" id="subject" name="commentTopic" /><br /><br />
+ <label for="author">{$locale->tr("comment_username")}:</label><br />
+ <input tabindex="2" id="author" name="userName" /><br /><br />
+ <label for="email">{$locale->tr("comment_email")}:</label><br />
+ <input tabindex="3" id="email" name="userEmail" /><br /><br />
+ <label for="url">{$locale->tr("comment_url")}:</label><br />
+ <input tabindex="4" id="url" name="userUrl" /><br /><br />
+ </div>
+ <div>
+ <label for="text">{$locale->tr("add_comment")}:</label><br />
+ <div id="toolbar">
+ <img class="button" onMouseOver="mouseover(this);" onMouseOut="mouseout(this);"
+ onMouseDown="mousedown(this);" onMouseUp="mouseup(this);" onClick="wrapSelection(document.comments_form.commentText, 'b');"
+ src="{$url->getUrl("/templates/plain_jane/bold.gif")}" width="16" height="16" align="middle" alt="Bold" />
+ <img class="button" onMouseOver="mouseover(this);" onMouseOut="mouseout(this);" onMouseDown="mousedown(this);"
+ onMouseUp="mouseup(this);" onClick="wrapSelection(document.comments_form.commentText, 'i');" src="{$url->getUrl("/templates/plain_jane/italic.gif")}"
+ width="16" height="16" align="middle" alt="Italic" />
+ <img class="button" onMouseOver="mouseover(this);" onMouseOut="mouseout(this);" onmousedown="mousedown(this);"
+ onmouseup="mouseup(this);" onclick="insertLink(document.comments_form.commentText);" src="{$url->getUrl("/templates/plain_jane/link.gif")}"
+ width="16" height="16" align="middle" alt="Link" />
+ </div>
+ <textarea tabindex="5" id="text" name="commentText" rows="10" cols="40"></textarea><br /><br />
+ <input style="font-weight: bold;" type="submit" name="post" value=" {$locale->tr("comment_send")} " /><br /><br />
+ <input type="hidden" name="op" value="AddComment"/>
+ <input type="hidden" name="articleId" value="{$post->getId()}"/>
+ <input type="hidden" name="blogId" value="{$blog->getId()}"/>
+ <input type="hidden" name="parentId" value="{$parentId}"/>
+ </div>
+ </form>
+</div>
Added: templates/trunk/mtplog/css/clean.css
===================================================================
--- templates/trunk/mtplog/css/clean.css 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/css/clean.css 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,259 @@
+ body {
+ margin:0px 0px 20px 0px;
+ background:#FFF;
+ }
+ A { color: #003366; text-decoration: underline; }
+ A:link { color: #003366; text-decoration: underline; }
+ A:visited { color: #003366; text-decoration: underline; }
+ A:active { color: #999999; }
+ A:hover { color: #999999; }
+
+ h1, h2, h3 {
+ margin: 0px;
+ padding: 0px;
+ }
+
+ #banner {
+ font-family:palatino, georgia, verdana, arial, sans-serif;
+ color:#333;
+ font-size:x-large;
+ font-weight:normal;
+ padding:15px;
+ border-top:4px double #666;
+ }
+
+ #banner a,
+ #banner a:link,
+ #banner a:visited,
+ #banner a:active,
+ #banner a:hover {
+ font-family: palatino, georgia, verdana, arial, sans-serif;
+ font-size: xx-large;
+ color: #333;
+ text-decoration: none;
+ }
+
+ .description {
+ font-family:palatino, georgia, times new roman, serif;
+ color:#333;
+ font-size:small;
+ text-transform:none;
+ }
+
+ #content {
+ position:absolute;
+ background:#FFF;
+ margin-right:20px;
+ margin-left:225px;
+ margin-bottom:20px;
+ border:1px solid #FFF;
+ }
+
+ #container {
+ background:#FFF;
+ border:1px solid #FFF;
+ }
+
+ #links {
+ padding:15px;
+ border:1px solid #FFF;
+ width:200px;
+ }
+
+ .blog {
+ padding:15px;
+ background:#FFF;
+ }
+
+ .blogbody {
+ font-family:palatino, georgia, verdana, arial, sans-serif;
+ color:#333;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:200%;
+ }
+
+ .blogbody a,
+ .blogbody a:link,
+ .blogbody a:visited,
+ .blogbody a:active,
+ .blogbody a:hover {
+ font-weight: normal;
+ text-decoration: underline;
+ }
+
+ .title {
+ font-family: palatino, georgia, times new roman, serif;
+ font-size: medium;
+ color: #666;
+ }
+
+ #menu {
+ margin-bottom:15px;
+ background:#FFF;
+ text-align:center;
+ }
+
+ .date {
+ font-family:palatino, georgia, times new roman, serif;
+ font-size: large;
+ color: #333;
+ border-bottom:1px solid #999;
+ margin-bottom:10px;
+ font-weight:bold;
+ }
+
+ .posted {
+ font-family:verdana, arial, sans-serif;
+ font-size: x-small;
+ color: #000000;
+ margin-bottom:25px;
+ }
+
+
+ .calendar {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding:2px;
+ text-align:left;
+ }
+
+ .calendarhead {
+ font-family:palatino, georgia, times new roman, serif;
+ color:#666600;
+ font-size:small;
+ font-weight:normal;
+ padding:2px;
+ letter-spacing: .3em;
+ background:#FFF;
+ text-transform:uppercase;
+ text-align:left;
+ }
+
+ .side {
+ font-family:verdana, arial, sans-serif;
+ color:#333;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding:2px;
+ }
+
+ .sidetitle {
+ font-family:palatino, georgia, times new roman, serif;
+ color:#666600;
+ font-size:small;
+ font-weight:normal;
+ padding:2px;
+ margin-top:30px;
+ letter-spacing: .3em;
+ background:#FFF;
+ text-transform:uppercase;
+ }
+
+ .syndicate {
+ font-family:verdana, arial, sans-serif;
+ font-size:xx-small;
+ line-height:140%;
+ padding:2px;
+ margin-top:15px;
+ background:#FFF;
+ }
+
+ .powered {
+ font-family:palatino, georgia, times new roman, serif;
+ color:#666;
+ font-size:x-small;
+ line-height:140%;
+ text-transform:uppercase;
+ padding:2px;
+ margin-top:50px;
+ letter-spacing: .2em;
+ background:#FFF;
+ }
+
+
+ .comments-body {
+ font-family:palatino, georgia, verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding-bottom:10px;
+ padding-top:10px;
+ border-bottom:1px dotted #999;
+ }
+
+ .comments-post {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+ }
+
+
+ .trackback-url {
+ font-family:palatino, georgia, verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding:5px;
+ border:1px dotted #999;
+ }
+
+
+ .trackback-body {
+ font-family:palatino, georgia, verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding-bottom:10px;
+ padding-top:10px;
+ border-bottom:1px dotted #999;
+ }
+
+ .trackback-post {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+ }
+
+
+ .comments-head {
+ font-family:palatino, georgia, verdana, arial, sans-serif;
+ font-size:small;
+ color: #666;
+ border-bottom:1px solid #999;
+ margin-top:20px;
+ font-weight:bold;
+ background:#FFF;
+ }
+
+ #banner-commentspop {
+ font-family:palatino, georgia, verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:large;
+ font-weight:bold;
+ border-left:1px solid #FFF;
+ border-right:1px solid #FFF;
+ border-top:1px solid #FFF;
+ background:#003366;
+ padding-left:15px;
+ padding-right:15px;
+ padding-top:5px;
+ padding-bottom:5px;
+ }
Added: templates/trunk/mtplog/css/default.css
===================================================================
--- templates/trunk/mtplog/css/default.css 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/css/default.css 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,24 @@
+/* Comment QuickTag
+ -------------------------------------------- */
+
+#ed_toolbar {
+ display: inline;
+}
+
+.ed_button {
+ width:auto;
+ background: #f4f4f4;
+ border: 1px solid #b2b2b2;
+ color: #000;
+ font:11px arial, times new roman, lucida sans unicode, sans-serif;
+ margin: 1px;
+ padding: 1px;
+}
+
+/* Upgrade Infomation
+ -------------------------------------------- */
+
+.upgrade {
+ display:none;
+ visibility:hidden;
+}
\ No newline at end of file
Added: templates/trunk/mtplog/css/gettyburg.css
===================================================================
--- templates/trunk/mtplog/css/gettyburg.css 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/css/gettyburg.css 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,271 @@
+ body {
+ margin:20px 20px 20px 20px;
+ background:#EEE;
+ }
+ A { color: #003366; text-decoration: none; font-weight:bold; }
+ A:link { color: #003366; text-decoration: none; }
+ A:visited { color: #003366; text-decoration: none; }
+ A:active { color: #FFCC66; }
+ A:hover { color: #FFCC66; }
+
+ h1, h2, h3 {
+ margin: 0px;
+ padding: 0px;
+ }
+
+ #banner {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:x-large;
+ font-weight:bold;
+ border-left:1px solid #FFF;
+ border-right:1px solid #FFF;
+ border-top:1px solid #FFF;
+ background:#003366;
+ padding:15px;
+ }
+
+ #banner a,
+ #banner a:link,
+ #banner a:visited,
+ #banner a:active,
+ #banner a:hover {
+ font-family:georgia, verdana, arial, sans-serif;
+ font-size: x-large;
+ color: #FFF;
+ text-decoration: none;
+ }
+
+ .description {
+ font-family:verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:x-small;
+ font-weight:bold;
+ background:#003366;
+ text-transform:none;
+ }
+
+ #content {
+ float:left;
+ position:relative;
+ width:65%;
+ background:#FFF;
+ margin-right:15px;
+ margin-bottom:20px;
+ border:1px solid #FFF;
+ }
+
+ #container {
+ background:#FFF;
+ border:1px solid #FFF;
+ }
+
+ #links {
+ background:#999;
+ padding:15px;
+ border:1px solid #FFF;
+ margin-left:65%;
+ }
+
+ .blog {
+ padding:15px;
+ background:#FFF;
+ }
+
+ .blogbody {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:150%;
+ }
+
+ .blogbody a,
+ .blogbody a:link,
+ .blogbody a:visited,
+ .blogbody a:active,
+ .blogbody a:hover {
+ font-weight: normal;
+ text-decoration: underline;
+ }
+
+ .title {
+ font-family: verdana, arial, sans-serif;
+ font-size: small;
+ color: #000000;
+ text-transform:uppercase;
+ }
+
+ #menu {
+ margin-bottom:15px;
+ background:#FFF;
+ text-align:center;
+ }
+
+ .date {
+ font-family:georgia, verdana, arial, sans-serif;
+ font-size: small;
+ color: #666;
+ border-bottom:1px solid #999;
+ margin-bottom:10px;
+ font-weight:bold;
+ }
+
+ .posted {
+ font-family:verdana, arial, sans-serif;
+ font-size: x-small;
+ color: #000000;
+ margin-bottom:25px;
+ }
+
+
+ .calendar {
+ font-family:verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:x-small;
+ font-weight:normal;
+ background:#999;
+ line-height:140%;
+ padding:2px;
+ text-align:center;
+ }
+
+ .calendarhead {
+ font-family:verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:x-small;
+ font-weight:bold;
+ background:#999;
+ line-height:140%;
+ padding:2px;
+ }
+
+ .side {
+ font-family:verdana, arial, sans-serif;
+ color:#333;
+ font-size:x-small;
+ font-weight:normal;
+ background:#999;
+ line-height:140%;
+ padding:2px;
+ }
+
+ .sidetitle {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:small;
+ font-weight:normal;
+ padding:2px;
+ margin-top:10px;
+ letter-spacing: .1em;
+ border-bottom:1px dotted #FFF;
+ text-align:center;
+ background:#999;
+ }
+
+ .syndicate {
+ font-family:verdana, arial, sans-serif;
+ font-size:xx-small;
+ font-weight:bold;
+ line-height:140%;
+ padding:2px;
+ margin-top:10px;
+ text-align:center;
+ background:#CCC;
+ }
+
+ .powered {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:xx-small;
+ font-weight:bold;
+ border:1px dotted #999;
+ line-height:140%;
+ text-transform:uppercase;
+ padding:2px;
+ margin-top:10px;
+ text-align:center;
+ letter-spacing: .2em;
+ background:#FFF;
+ }
+
+
+ .comments-body {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding-bottom:10px;
+ padding-top:10px;
+ border-bottom:1px dotted #999;
+ }
+
+ .comments-post {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+ }
+
+
+ .trackback-url {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding:5px;
+ border:1px dotted #999;
+ }
+
+
+ .trackback-body {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding-bottom:10px;
+ padding-top:10px;
+ border-bottom:1px dotted #999;
+ }
+
+ .trackback-post {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+ }
+
+
+ .comments-head {
+ font-family:georgia, verdana, arial, sans-serif;
+ font-size:small;
+ color: #666;
+ border-bottom:1px solid #999;
+ margin-top:20px;
+ font-weight:bold;
+ background:#FFF;
+ }
+
+ #banner-commentspop {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:large;
+ font-weight:bold;
+ border-left:1px solid #FFF;
+ border-right:1px solid #FFF;
+ border-top:1px solid #FFF;
+ background:#003366;
+ padding-left:15px;
+ padding-right:15px;
+ padding-top:5px;
+ padding-bottom:5px;
+ }
Added: templates/trunk/mtplog/css/plain_jane.css
===================================================================
--- templates/trunk/mtplog/css/plain_jane.css 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/css/plain_jane.css 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,255 @@
+ body {
+ margin:20px 20px 20px 20px;
+ background:#FFF;
+ }
+ A { color: #336666; text-decoration: none;}
+ A:link { color: #336666; text-decoration: none; }
+ A:visited { color: #336666; text-decoration: none; }
+ A:active { color: #669999; }
+ A:hover { color: #669999; }
+
+ h1, h2, h3 {
+ margin: 0px;
+ padding: 0px;
+ }
+
+ #banner {
+ font-family:verdana, arial, sans-serif;
+ color:#CC9933;
+ font-size:x-large;
+ font-weight:bold;
+ background:#FFF;
+ padding-left:15px;
+ }
+
+ #banner a,
+ #banner a:link,
+ #banner a:visited,
+ #banner a:active,
+ #banner a:hover {
+ font-family:verdana, arial, sans-serif;
+ font-size: x-large;
+ color: #CC9933;
+ text-decoration: none;
+ }
+
+ .description {
+ font-family:verdana, arial, sans-serif;
+ color:#CCC;
+ font-size:x-small;
+ font-weight:bold;
+ background:#FFF;
+ text-transform:none;
+ letter-spacing: none;
+ }
+
+ #content {
+ float:left;
+ width:65%;
+ background:#FFF;
+ margin-right:15px;
+ margin-bottom:20px;
+ }
+
+ #links {
+ background:#FFF;
+ color:#CCC;
+ margin-top:35px;
+ margin-left:65%;
+ }
+
+ .blog {
+ padding-left:15px;
+ padding-top:15px;
+ padding-right:15px;
+ }
+
+ .blogbody {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ border-left:1px dotted #666;
+ border-right:1px dotted #666;
+ border-bottom:1px dotted #666;
+ padding:10px;
+ }
+
+ .blogbody a,
+ .blogbody a:link,
+ .blogbody a:visited,
+ .blogbody a:active,
+ .blogbody a:hover {
+ font-weight: normal;
+ text-decoration: underline;
+ }
+
+ .title {
+ font-family: verdana, arial;
+ font-size: small;
+ color: #CCC;
+ text-transform: uppercase;
+ font-weight:bold;
+ }
+
+ #menu {
+ margin-bottom:10px;
+ background:#FFF;
+ font-size:small;
+ font-weight:bold;
+ }
+
+ .date {
+ font-family:verdana, arial, sans-serif;
+ font-size: normal;
+ color: #999;
+ font-weight:bold;
+ text-transform:uppercase;
+ margin-top:10px;
+ border-bottom:1px dotted #666;
+ }
+
+ .posted {
+ font-family:verdana, arial, sans-serif;
+ font-size: x-small;
+ color: #999;
+ }
+
+
+ .calendar {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:x-small;
+ font-weight:normal;
+ padding:5px;
+ }
+
+ .calendarhead {
+ font-family:verdana, arial, sans-serif;
+ color:#CC9933;
+ font-size:x-small;
+ font-weight:bold;
+ background:#FFF;
+ line-height:140%;
+ }
+
+ .side {
+ font-family:verdana, arial, sans-serif;
+ color:#CCC;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ }
+
+ .sidetitle {
+ font-family:verdana, arial, sans-serif;
+ color:#999;
+ font-size:x-small;
+ font-weight:bold;
+ background:#FFF;
+ line-height:140%;
+ padding:2px;
+ margin-top:10px;
+ border-bottom:1px dotted #666;
+ text-transform:uppercase;
+ letter-spacing: .2em;
+ }
+
+ .syndicate {
+ font-family:verdana, arial, sans-serif;
+ font-size:xx-small;
+ font-weight:bold;
+ line-height:140%;
+ padding:2px;
+ margin-top:10px;
+ text-align:center;
+ background:#FFF;
+ }
+
+ .powered {
+ font-family:verdana, arial, sans-serif;
+ color:#CCC;
+ font-size:xx-small;
+ font-weight:bold;
+ border-top:1px dotted #666;
+ border-bottom:1px dotted #666;
+ line-height:140%;
+ text-transform:uppercase;
+ padding:2px;
+ margin-top:10px;
+ text-align:center;
+ letter-spacing: .2em
+ background:#FFF;
+ }
+
+
+ .comments-body {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding-bottom:10px;
+ }
+
+ .comments-post {
+ font-family:verdana, arial, sans-serif;
+ color:#999;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+ margin-top:0px;
+ }
+
+ .comments-head {
+ font-family:verdana, arial, sans-serif;
+ font-size: small;
+ color: #999;
+ font-weight:bold;
+ margin-top:10px;
+ text-transform:uppercase;
+ border-bottom:1px dotted #666;
+ }
+
+ .trackback-body {
+ font-family:verdana, arial, sans-serif;
+ color:#333;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding-top:15px;
+ }
+
+ .trackback-url {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding:5px;
+ border:1px dashed #666;
+ }
+
+ .trackback-post {
+ font-family:verdana, arial, sans-serif;
+ color:#999;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+ margin-bottom:20px;
+ }
+
+ #banner-commentspop {
+ font-family:verdana, arial, sans-serif;
+ color:#CC9933;
+ font-size:large;
+ font-weight:bold;
+ background:#FFF;
+ padding-left:15px;
+ }
Added: templates/trunk/mtplog/css/rusty.css
===================================================================
--- templates/trunk/mtplog/css/rusty.css 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/css/rusty.css 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,272 @@
+ body {
+ margin:20px 20px 20px 20px;
+ background:#6C6457;
+ }
+ A { color: #993300; text-decoration: none; font-weight:normal; }
+ A:link { color: #993300; text-decoration: none; }
+ A:visited { color: #993300; text-decoration: none; }
+ A:active { color: #FFCC66; }
+ A:hover { color: #FFCC66; }
+
+ h1, h2, h3 {
+ margin: 0px;
+ padding: 0px;
+ }
+
+ #banner {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:x-large;
+ font-weight:bold;
+ border-left:1px dotted #FFF;
+ border-right:1px dotted #FFF;
+ border-top:1px dotted #FFF;
+ background:#993300;
+ padding:15px;
+ }
+
+ #banner a,
+ #banner a:link,
+ #banner a:visited,
+ #banner a:active,
+ #banner a:hover {
+ font-family:georgia, verdana, arial, sans-serif;
+ font-size: x-large;
+ font-weight: bold;
+ color: #FFF;
+ text-decoration: none;
+ }
+
+ .description {
+ font-family:verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:x-small;
+ font-weight:bold;
+ background:#993300;
+ text-transform:none;
+ }
+
+ #content {
+ float:left;
+ position:relative;
+ width:60%;
+ background:#FFF;
+ margin-right:15px;
+ margin-bottom:20px;
+ border:1px dotted #333;
+ }
+
+ #container {
+ background:#FFF;
+ border:1px dotted #333;
+ }
+
+ #links {
+ background:#FF9933;
+ padding:15px;
+ border:1px dotted #FFF;
+ margin-left:60%;
+ }
+
+ .blog {
+ padding:15px;
+ background:#FFF;
+ }
+
+
+ .blogbody {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:16px;
+ }
+
+ .blogbody a,
+ .blogbody a:link,
+ .blogbody a:visited,
+ .blogbody a:active,
+ .blogbody a:hover {
+ font-weight: normal;
+ text-decoration: underline;
+ }
+
+ .title {
+ font-family: verdana, arial, sans-serif;
+ font-size: small;
+ color: #003366;
+ text-transform:uppercase;
+ }
+
+ #menu {
+ margin-bottom:15px;
+ background:#FFF;
+ text-align:center;
+ }
+
+ .date {
+ font-family:verdana, arial, sans-serif;
+ font-size: small;
+ color: #666;
+ border-bottom:1px solid #999;
+ margin-bottom:10px;
+ font-weight:bold;
+ }
+
+ .posted {
+ font-family:verdana, arial, sans-serif;
+ font-size: x-small;
+ color: #003366;
+ margin-bottom:25px;
+ }
+
+
+ .calendar {
+ font-family:verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FF9933;
+ line-height:140%;
+ padding:2px;
+ text-align:center;
+ }
+
+ .calendarhead {
+ font-family:verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:x-small;
+ font-weight:bold;
+ background:#FF9933;
+ line-height:140%;
+ padding:2px;
+ }
+
+ .side {
+ font-family:verdana, arial, sans-serif;
+ color:#333;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FF9933;
+ line-height:140%;
+ padding:2px;
+ }
+
+ .sidetitle {
+ font-family:verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:small;
+ font-weight:normal;
+ line-height:140%;
+ padding:2px;
+ margin-top:10px;
+ letter-spacing: .1em;
+ border-bottom:1px dotted #FFF;
+ text-align:center;
+ background:#FF9933;
+ }
+
+ .syndicate {
+ font-family:verdana, arial, sans-serif;
+ font-size:xx-small;
+ font-weight:bold;
+ line-height:140%;
+ padding:2px;
+ margin-top:10px;
+ text-align:center;
+ background:#FF9933;
+ }
+
+ .powered {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:xx-small;
+ font-weight:bold;
+ border:1px dotted #999;
+ line-height:140%;
+ text-transform:uppercase;
+ padding:2px;
+ margin-top:10px;
+ text-align:center;
+ letter-spacing: .2em;
+ background:#FFF;
+ }
+
+
+ .comments-body {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding-bottom:10px;
+ padding-top:10px;
+ border-bottom:1px dotted #999;
+ }
+
+ .comments-post {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+ }
+
+ .trackback-url {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding:5px;
+ border:1px dotted #999;
+ }
+
+ .trackback-body {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding-bottom:10px;
+ padding-top:10px;
+ border-bottom:1px dotted #999;
+ }
+
+ .trackback-post {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+ }
+
+
+ .comments-head {
+ font-family:verdana, arial, sans-serif;
+ font-size: small;
+ color: #666;
+ border-bottom:1px solid #999;
+ margin-top:20px;
+ font-weight:bold;
+ background:#FFF;
+ }
+
+ #banner-commentspop {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:large;
+ font-weight:bold;
+ border-left:1px dotted #FFF;
+ border-right:1px dotted #FFF;
+ border-top:1px dotted #FFF;
+ background:#993300;
+ padding-left:15px;
+ padding-right:15px;
+ padding-top:5px;
+ padding-bottom:5px;
+ }
Added: templates/trunk/mtplog/css/trendy.css
===================================================================
--- templates/trunk/mtplog/css/trendy.css 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/css/trendy.css 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,255 @@
+ body {
+ margin:20px 20px 20px 20px;
+ background:#333;
+ }
+ A { color: #CCCC66; text-decoration: none; }
+ A:link { color: #CCCC66; text-decoration: none; }
+ A:visited { color: #CCCC66; text-decoration: none; }
+ A:active { color: #FFFF99; }
+ A:hover { color: #FFFF99; }
+
+ h1, h2, h3 {
+ margin: 0px;
+ padding: 0px;
+ }
+
+ #banner {
+ font-family:verdana, arial, sans-serif;
+ color:#CC9933;
+ font-size:x-large;
+ font-weight:bold;
+ background:#333;
+ padding-left:15px;
+ }
+
+ #banner a,
+ #banner a:link,
+ #banner a:visited,
+ #banner a:active,
+ #banner a:hover {
+ font-family:verdana, arial, sans-serif;
+ font-size: x-large;
+ color: #CC9933;
+ text-decoration: none;
+ }
+
+ .description {
+ font-family:verdana, arial, sans-serif;
+ color:#CCC;
+ font-size:small;
+ font-weight:bold;
+ background:#333;
+ text-transform:none;
+ letter-spacing: none;
+ }
+
+ #content {
+ float:left;
+ width:65%;
+ background:#333;
+ margin-right:15px;
+ margin-bottom:20px;
+ }
+
+ #links {
+ background:#333;
+ color:#CCC;
+ margin-top:35px;
+ margin-left:65%;
+ }
+
+ .blog {
+ padding-left:15px;
+ padding-top:15px;
+ padding-right:15px;
+ }
+
+ .blogbody {
+ font-family:verdana, arial, sans-serif;
+ color:#CCC;
+ font-size:small;
+ font-weight:normal;
+ background:#333;
+ line-height:140%;
+ border-left:1px solid #666;
+ border-right:1px solid #666;
+ border-bottom:1px solid #666;
+ padding:10px;
+ }
+
+ .blogbody a,
+ .blogbody a:link,
+ .blogbody a:visited,
+ .blogbody a:active,
+ .blogbody a:hover {
+ font-weight: normal;
+ text-decoration: underline;
+ }
+
+ .title {
+ font-family: verdana, arial, sans-serif;
+ font-size: small;
+ color: #CCC;
+ text-transform: uppercase;
+ font-weight:bold;
+ }
+
+ #menu {
+ margin-bottom:10px;
+ background:#333;
+ font-family: verdana, arial, sans-serif;
+ font-size:small;
+ font-weight:bold;
+ }
+
+ .date {
+ font-family:verdana, arial, sans-serif;
+ font-size: normal;
+ color: #999;
+ font-weight:bold;
+ text-transform:uppercase;
+ margin-top:10px;
+ border-bottom:1px solid #666;
+ }
+
+ .posted {
+ font-family:verdana, arial, sans-serif;
+ font-size: x-small;
+ color: #999;
+ }
+
+
+ .calendar {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:x-small;
+ font-weight:normal;
+ padding:5px;
+ }
+
+ .calendarhead {
+ font-family:verdana, arial, sans-serif;
+ color:#CC9933;
+ font-size:x-small;
+ font-weight:bold;
+ background:#333;
+ line-height:140%;
+ }
+
+ .side {
+ font-family:verdana, arial, sans-serif;
+ color:#CCC;
+ font-size:x-small;
+ font-weight:normal;
+ background:#333;
+ line-height:140%;
+ }
+
+ .sidetitle {
+ font-family:verdana, arial, sans-serif;
+ color:#CCC;
+ font-size:x-small;
+ font-weight:bold;
+ background:#333;
+ line-height:140%;
+ padding:2px;
+ margin-top:10px;
+ border-bottom:1px solid #666;
+ text-transform:uppercase;
+ letter-spacing: .2em;
+ }
+
+ .syndicate {
+ font-family:verdana, arial, sans-serif;
+ font-size:xx-small;
+ font-weight:bold;
+ line-height:140%;
+ padding:2px;
+ margin-top:10px;
+ text-align:center;
+ background:#333;
+ }
+
+ .powered {
+ font-family:verdana, arial, sans-serif;
+ color:#CCC;
+ font-size:xx-small;
+ font-weight:bold;
+ border-top:1px solid #666;
+ border-bottom:1px solid #666;
+ line-height:140%;
+ text-transform:uppercase;
+ padding:2px;
+ margin-top:10px;
+ text-align:center;
+ letter-spacing: .2em
+ }
+
+
+ .comments-body {
+ font-family:verdana, arial, sans-serif;
+ color:#CCC;
+ font-size:small;
+ font-weight:normal;
+ background:#333;
+ line-height:140%;
+ }
+
+ .comments-post {
+ font-family:verdana, arial, sans-serif;
+ color:#999;
+ font-size:x-small;
+ font-weight:normal;
+ background:#333;
+ margin-bottom:25px;
+ border-top:1px dashed #666;
+ }
+
+ .comments-head {
+ font-family:verdana, arial, sans-serif;
+ font-size: small;
+ color: #CCC;
+ font-weight:bold;
+ text-transform:uppercase;
+ border-bottom:1px solid #666;
+ }
+
+
+ .trackback-body {
+ font-family:verdana, arial, sans-serif;
+ color:#CCC;
+ font-size:small;
+ font-weight:normal;
+ background:#333;
+ line-height:140%;
+ padding-top:15px;
+ }
+
+ .trackback-url {
+ font-family:verdana, arial, sans-serif;
+ color:#CCC;
+ font-size:small;
+ font-weight:normal;
+ background:#333;
+ line-height:140%;
+ padding:5px;
+ border:1px dashed #999;
+ }
+
+ .trackback-post {
+ font-family:verdana, arial, sans-serif;
+ color:#CCC;
+ font-size:x-small;
+ font-weight:normal;
+ background:#333;
+ margin-bottom:20px;
+ }
+
+ #banner-commentspop {
+ font-family:verdana, arial, sans-serif;
+ color:#CC9933;
+ font-size:large;
+ font-weight:bold;
+ background:#333;
+ padding-left:15px;
+ }
Added: templates/trunk/mtplog/download.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/mtplog/download.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/mtplog/error.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/mtplog/error.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/mtplog/error.template
===================================================================
--- templates/trunk/mtplog/error.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/error.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,22 @@
+{include file="$blogtemplate/header.template"}
+<div id="container">
+ <div class="blog">
+ <div class="blogbody">
+ <h2 class="title">{$locale->tr("error")}</h2>
+ <div class="posted">
+ {$locale->tr("generated")} {$locale->formatDate($now,"%d %b, %Y")}
+ </div>
+ <table>
+ <tr>
+ <td>
+ <img src="{$url->getUrl("/templates/plain_jane/error.gif")}" height="32" width="32" alt="Error"/>
+ </td>
+ <td>
+ {$locale->tr($message)}
+ </td>
+ </tr>
+ </table>
+ </div>
+ </div>
+</div>
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/mtplog/folderblue.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/mtplog/folderblue.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/mtplog/footer.template
===================================================================
--- templates/trunk/mtplog/footer.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/footer.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,2 @@
+ </body>
+</html>
Added: templates/trunk/mtplog/header.template
===================================================================
--- templates/trunk/mtplog/header.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/header.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,34 @@
+<!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="{$locale->getLanguageId()}"
+ lang="{$locale->getLanguageId()}" dir="{$locale->getDirection()}">
+<head>
+ <meta http-equiv="Content-Type" content="text/html;charset={$locale->getCharset()}" />
+ <meta http-equiv="Content-Language" content="{$locale->getLanguageId()}" />
+ <meta name="generator" content="{$version}" />
+ <title>{$blog->getBlog()}</title>
+
+ <link rel="alternate stylesheet" title="Rusty" href="{$url->getTemplateFile("rusty.css")}" type="text/css" media="screen" />
+ <link rel="alternate stylesheet" title="plainjane" href="{$url->getTemplateFile("plain_jane.css")}" type="text/css" media="screen" />
+ <link rel="alternate stylesheet" title="gettyburg" href="{$url->getTemplateFile("gettyburg.css")}" type="text/css" media="screen" />
+ <link rel="alternate stylesheet" title="trendy" href="{$url->getTemplateFile("trendy.css")}" type="text/css" media="screen" />
+ {* You can change the outlooking by change the css file. The avaible css files are list as below: *}
+ {* clean.css trendy.css gettyburg.css plain_jane.css rusty.css *}
+ {* All of you need to do is to replace the clean.css with the css files list above. by reic *}
+ <link rel="stylesheet" title="clean" href="{$url->getTemplateFile("css/rusty.css")}" type="text/css" media="screen" />
+
+ <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")}" />
+
+ {* toolbar.js need the css setting, If you want to remove the toolbar at commentform, remove the css link together *}
+ <script type="text/javascript" src="{$url->getTemplateFile("toolbar.js")}"></script>
+ <link rel="stylesheet" title="" href="{$url->getTemplateFile("css/default.css")}" type="text/css" media="screen" />
+ {* end of toolbar.js *}
+
+</head>
+<body>
+<div id="banner">
+ <h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1>
+ <span class="description">{$blog->getAbout()}</span>
+</div>
Added: templates/trunk/mtplog/italic.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/mtplog/italic.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/mtplog/link.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/mtplog/link.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/mtplog/main.template
===================================================================
--- templates/trunk/mtplog/main.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/main.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,8 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ {foreach from=$posts item=post}
+ {include file="$blogtemplate/post.template"}
+ {/foreach}
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/mtplog/panel.template
===================================================================
--- templates/trunk/mtplog/panel.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/panel.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,80 @@
+<div id="links">
+
+<div align="center" class="calendar">
+ {$calendar}
+</div>
+<div class="sidetitle">
+{$locale->tr("search")}
+</div>
+ <div class="side" id="Search">
+ <form id="search_form" name="search_form" method="post" action="{$url->getIndexUrl()}">
+ <label for="searchTerms"><input type="text" id="searchTerms" name="searchTerms" value="" /></label>
+ <input type="submit" name="Search" value="{$locale->tr("search_s")}" class="button" />
+ <input type="hidden" name="op" value="Search" />
+ <input type="hidden" name="blogId" value="{$blog->getId()}" />
+ </form>
+ </div>
+<div class="sidetitle">
+ {$locale->tr("recently")|capitalize}
+</div>
+<div class="side">
+ {foreach from=$recentposts item=post}
+ <a title="{$post->getText()|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a><br />
+ {/foreach}
+</div>
+
+<div class="sidetitle">
+ {$locale->tr("categories")|capitalize}
+</div>
+<div class="side">
+ {foreach from=$articlecategories item=articleCategory}
+ <a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a> [{$articleCategory->getNumArticles()}]
+ <a class="nodecoration" href="{$url->categoryRssLink($articleCategory)}"><img border="0" src="{$url->getUrl("/imgs/rss_logo_small.gif")}" alt="RSS Feed for this category." height="12" /></a><br />
+ {/foreach}
+</div>
+
+<div class="sidetitle">
+ {$locale->tr("archives")|capitalize}
+</div>
+<div class="side">
+ {foreach from=$archives item=archivelink}
+ <a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a> [{$archivelink->getNumArticles()}]<br />
+ {/foreach}
+</div>
+
+<div class="sidetitle">
+ {$locale->tr("links")|capitalize}
+</div>
+<div class="side">
+ {foreach from=$mylinkscategories item=linkcategory}
+ <b>{$linkcategory->getName()}</b><br />
+ {foreach from=$linkcategory->getLinks() item=link}
+ <a href="{$link->getUrl()}" title="{$link->getDescription()}">{$link->getName()}</a><br />
+ {/foreach}
+ {/foreach}
+ </ul>
+</div>
+
+<div class="sidetitle">
+ {$locale->tr("syndicate")}
+</div>
+<div class="side">
+ <a title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img src="{$url->getUrl("/imgs/rss090_logo.gif")}" border="0"/></a><br/>
+ <a title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img src="{$url->getUrl("/imgs/rss10_logo.gif")}" border="0"/></a><br/>
+ <a title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img src="{$url->getUrl("/imgs/rss20_logo.gif")}" border="0"/></a><br/>
+ <a title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img src="{$url->getUrl("/imgs/atom_logo.png")}" border="0"/></a><br/>
+</div>
+
+<div class="sidetitle">
+ {$locale->tr("menu")}
+</div>
+<div class="side">
+ <a href="{$url->getBaseUrl()}/admin.php" >{$locale->tr("dashboard")}</a><br />
+ <a href="{$url->albumLink()}">{$locale->tr("albums")}</a> <br />
+ <a href="{$url->templatePage("about")}">{$locale->tr("about")} {$locale->tr("template")}</a>
+</div>
+
+<div class="powered">
+Powered By <a href="http://www.plogworld.net">pLog</a> <br />
+</div>
+</div>
Added: templates/trunk/mtplog/post.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/mtplog/post.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/mtplog/post.template
===================================================================
--- templates/trunk/mtplog/post.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/post.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,19 @@
+<!-- {$url->postTrackbackLink($post)} -->
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+
+<div class="blog">
+ <h2 class="date">{$locale->formatDate($postDate,"%B%d %H:%M , %Y")} </h2>
+ <div class="blogbody">
+ <h3 class="title">{$post->getTopic()}</h3>
+ {$post->getText()}
+ <div class="posted">
+ {$postOwner->getUsername()} |
+ {foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last},{/if}{/foreach} |
+ <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
+ <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a> |
+ <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> |
+ ({$post->getNumReads()})
+ </div>
+ </div>
+</div>
Added: templates/trunk/mtplog/postandcomments.template
===================================================================
--- templates/trunk/mtplog/postandcomments.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/postandcomments.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,34 @@
+{include file="$blogtemplate/header.template"}
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<div id="content">
+ {include file="$blogtemplate/post.template"}
+ <div class="blog">
+ <div class="comments-head">
+ <a name="comments"></a>Comments
+ </div>
+ {foreach from=$comments item=comment}
+ <div class="comments-body">
+ <a name="{$comment->getId()}"></a><p>{$comment->getText()}</p>
+ <span class="comments-post">
+ {$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, "%b月 %d日%Y, %H:%M")}
+ </span>
+ </div>
+ {/foreach}
+ </div>
+ {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+ <div class="blog">
+ <div class="comments-head">{$locale->tr("add_comment")}</div>
+ {include file="$blogtemplate/commentform.template"}
+ </div>
+ {/if}
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/mtplog/posttrackbacks.template
===================================================================
--- templates/trunk/mtplog/posttrackbacks.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/posttrackbacks.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,17 @@
+{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"}
Added: templates/trunk/mtplog/resource.template
===================================================================
--- templates/trunk/mtplog/resource.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/resource.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,54 @@
+{include file="$blogtemplate/header.template"}
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<div id="container">
+ <div class="blog">
+ <h2 class="date">{$resource->getFileName()}</h2>
+ <div class="blogbody">
+ <div class="posted">
+ <img src="{$url->getUrl("/templates/plain_jane/download.gif")}" width="10" height="11" alt="Download" style="border:0px;" />
+ <a href="{$url->resourceDownloadLink($resource)}">{$locale->tr("download")}</a>
+ ({$metadata->getRoundedSize()}) | {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
+ </div>
+ </div>
+ <p>{$resource->getDescription()}</p>
+ {if $resource->isImage()}
+ <img src="{$url->resourceDownloadLink($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/>
+ <p>
+ <a href="javascript:history.go(-1);">{$locale->tr("back")}</a>
+ </p>
+ </div>
+</div>
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/mtplog/searchresults.template
===================================================================
--- templates/trunk/mtplog/searchresults.template 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/searchresults.template 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,22 @@
+{include file="$blogtemplate/header.template"}
+<div id="container">
+ <div class="blog">
+
+ <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+ <div id="SearchResults">
+ {foreach from=$searchresults item=result}
+ <div class="blogbody">
+{assign var=article value=$result->getArticle()}
+ <h3 class="title"><a href="{$url->postPermalink($article)}">{$article->getTopic()}</a></h3>
+{$article->getText()|strip_tags|truncate:300:"...":false}
+ <div class="posted">{foreach name=categories from=$article->getCategories() item=articleCategory}
+ <a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a>{if !$smarty.foreach.categories.last},{/if}
+ {/foreach}</div>
+</div>
+ {/foreach}
+
+ </div>
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/mtplog/toolbar.js
===================================================================
--- templates/trunk/mtplog/toolbar.js 2005-03-28 13:52:31 UTC (rev 1620)
+++ templates/trunk/mtplog/toolbar.js 2005-03-28 13:55:12 UTC (rev 1621)
@@ -0,0 +1,90 @@
+//
+// Adds some text where the cursor is.
+//
+// Works in IE and Mozilla 1.3b+
+// In other browsers, it simply adds the text at the end of the current text
+//
+function addText( input, insText )
+{
+ 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;
+ }
+}
+
+//
+// Wraps the current selection of a textbox around with the given 'v' parameter.
+//
+// Works in IE and Mozilla 1.3b+
+// In other browsers, it simply adds an empty pair of tags at the end of the current
+// text.
+//
+function wrapSelection(ta, v)
+{
+ if( document.selection ) {
+ // for IE
+ var str = document.selection.createRange().text;
+ ta.focus();
+ var sel = document.selection.createRange();
+ sel.text = "<" + v + ">" + str + "</" + v + ">";
+ }
+ else {
+ // browsers other than IE
+ var s = ta;
+ if( s.selectionEnd ) {
+ // Mozilla 1.3b+
+ var s1 = (s.value).substring(0,s.selectionStart)
+ var s2 = (s.value).substring(s.selectionEnd,s.textLength)
+ selection = (s.value).substring(s.selectionStart, s.selectionEnd)
+ s.value = s1 + '<' + v + '>' + selection + '</' + v + '>' + s2
+ }
+ else {
+ // everything else
+ s.value += '<' + v + '></' + v + '>';
+ }
+ }
+
+ return;
+}
+
+//
+// Asks for a url and adds a link to the textbox, at the same point where the cursor is.
+//
+// Uses insertText to insert the text so it has the same limitations as insertText has
+//
+function insertLink(ta) {
+ var s = ta;
+ var my_link = prompt('Enter URL:', 'http://')
+ if (my_link != null) {
+ addText(ta, my_link);
+ }
+
+ return;
+}
+
+////////////////
+/// buttons
+///////////////
+function mouseover(el) {
+ el.className = "button_raised";
+}
+
+function mouseout(el) {
+ el.className = "button";
+}
+
+function mousedown(el) {
+ el.className = "button_pressed";
+}
+
+function mouseup(el) {
+ el.className = "button_raised";
+}
Added: templates/trunk/mtplog/trackback.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/mtplog/trackback.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the pLog-svn
mailing list