[pLog-svn] r4663 - in templates/branches/lifetype-1.2: . SimpleRules SimpleRules/css SimpleRules/i SimpleRules/i/head SimpleRules/i/main unported

reto at devel.lifetype.net reto at devel.lifetype.net
Thu Feb 1 18:32:16 EST 2007


Author: reto
Date: 2007-02-01 18:32:16 -0500 (Thu, 01 Feb 2007)
New Revision: 4663

Added:
   templates/branches/lifetype-1.2/SimpleRules/
   templates/branches/lifetype-1.2/SimpleRules/LICENSE.txt
   templates/branches/lifetype-1.2/SimpleRules/about.template
   templates/branches/lifetype-1.2/SimpleRules/aggregator.template
   templates/branches/lifetype-1.2/SimpleRules/album.template
   templates/branches/lifetype-1.2/SimpleRules/albums.template
   templates/branches/lifetype-1.2/SimpleRules/commentarticle.template
   templates/branches/lifetype-1.2/SimpleRules/commentform.template
   templates/branches/lifetype-1.2/SimpleRules/css/
   templates/branches/lifetype-1.2/SimpleRules/css/poolie.css
   templates/branches/lifetype-1.2/SimpleRules/css/typography.css
   templates/branches/lifetype-1.2/SimpleRules/error.gif
   templates/branches/lifetype-1.2/SimpleRules/error.template
   templates/branches/lifetype-1.2/SimpleRules/flickr.template
   templates/branches/lifetype-1.2/SimpleRules/footer.template
   templates/branches/lifetype-1.2/SimpleRules/header.template
   templates/branches/lifetype-1.2/SimpleRules/i/
   templates/branches/lifetype-1.2/SimpleRules/i/head/
   templates/branches/lifetype-1.2/SimpleRules/i/head/bg.gif
   templates/branches/lifetype-1.2/SimpleRules/i/main/
   templates/branches/lifetype-1.2/SimpleRules/i/main/bg.gif
   templates/branches/lifetype-1.2/SimpleRules/i/main/blogbg.gif
   templates/branches/lifetype-1.2/SimpleRules/impressum.template
   templates/branches/lifetype-1.2/SimpleRules/main.template
   templates/branches/lifetype-1.2/SimpleRules/post.template
   templates/branches/lifetype-1.2/SimpleRules/postandcomments.template
   templates/branches/lifetype-1.2/SimpleRules/posttrackbacks.template
   templates/branches/lifetype-1.2/SimpleRules/readme.txt
   templates/branches/lifetype-1.2/SimpleRules/resource.template
   templates/branches/lifetype-1.2/SimpleRules/rss.template
   templates/branches/lifetype-1.2/SimpleRules/screenshot.jpg
   templates/branches/lifetype-1.2/SimpleRules/searchresults.template
Removed:
   templates/branches/lifetype-1.2/unported/SimpleRules/
Log:
moving SimpleRules (well, re-adding because I messed it up once again, sorry...)


Added: templates/branches/lifetype-1.2/SimpleRules/LICENSE.txt
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/LICENSE.txt	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/LICENSE.txt	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,340 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+                       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	    How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    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
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.

Added: templates/branches/lifetype-1.2/SimpleRules/about.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/about.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/about.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,13 @@
+{assign var="postPageTitle" value=" - About"}
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+<div>
+<div>
+<h2 class="title">About</h2>
+{$blog->getAbout()}
+</div>
+<br />
+</div>
+</div>
+
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/aggregator.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/aggregator.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/aggregator.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,25 @@
+{assign var="postPageTitle" value=" - RSS Aggregator Beispiel: netzeitung.de"}
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+<div>
+<div>
+<h2 class="title">RSS Aggregator Beispiel: netzeitung.de</h2>
+{if $rss->parse("http://www.netzeitung.de/export/news/rss/titelseite.xml")}
+{assign var=channel value=$rss->getChannel()}
+<p>{$channel->getDescription()}</p>
+<ul style="list-style: none;">
+{foreach from=$rss->getItems() item=rssItem}
+<li>
+<a href="{$rssItem->getLink()}">{$rssItem->getTitle()}</a><br />
+<p>
+{$rssItem->getDescription()}<br /><br />
+</p>
+</li>
+{/foreach}
+</ul>
+{/if}
+</div>
+<br />
+</div>
+</div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/album.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/album.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/album.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,102 @@
+{assign var="postPageTitle" value=" - Gallery"}
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+{assign var="postDate" value=$album->getTimestamp()}
+<div class="blog">
+<h2>{$album->getName()}</h2>
+<div class="post">
+<div class="entry">
+<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:25%;" align="center" >
+<a href="{$url->parentAlbumLink($album)}">
+<img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
+..
+</a>
+</td>
+{assign var="counter" value=1}
+{assign var=children value=$album->getChildren()}
+{foreach from=$children item=childalbum}
+<td style="width:25%;" align="center" >
+<a href="{$url->albumLink($childalbum)}">
+<img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
+{$childalbum->getName()} ({$childalbum->getNumResources()})
+</a>
+<br/><br/>
+{assign var="counter" value="`$counter+1`"}
+</td>
+{if $counter%4}
+</tr>
+<tr>
+{/if}
+{/foreach}
+
+<!--- show the resources here -->
+
+
+{foreach from=$resources item=resource}
+<td style="width:25%;" align="center" >
+{if $resource->hasPreview()}
+{*<a target="_blank" href="resserver.php?blogId={$blog->getId()}&amp;resource={$resource->getFileName()}">*}
+<a href="{$url->resourceLink($resource)}">
+<img alt="{$resource->getDescription()}" style="border:0px;" src="{$url->resourcePreviewLink($resource)}" />
+<br/>{$resource->getFileName()}
+</a>
+{else}
+<a href="{$url->resourceLink($resource)}">
+{if $resource->isSound()}
+<img alt="Sound" src="{$url->getUrl("/imgs/sound.gif")}" height="64" width="64" style="border:0px;" />
+{elseif $resource->isVideo()}
+<img alt="Video" src="{$url->getUrl("/imgs/video.gif")}" height="64" width="64" style="border:0px;" />
+{elseif $resource->isZip()}
+<img alt="Zip" src="{$url->getUrl("/imgs/compressed.gif")}" height="64" width="64" style="border:0px;" />
+{else}
+<img alt="File" src="{$url->getUrl("/imgs/file.gif")}" height="64" width="64" style="border:0px;" />
+{/if}
+<br/>{$resource->getFileName()}
+</a>
+{/if}
+<br/>
+{assign var=metadata value=$resource->getMetadataReader()}
+{$metadata->getRoundedSize()}<br/>
+{if $resource->isImage()}
+{$metadata->getWidth()} x {$metadata->getHeight()}<br/>
+{elseif $resource->isSound()}
+{$metadata->getFormat()|upper} {$metadata->getSampleRate()} bps<br/>
+{elseif $resource->isVideo()}
+{$metadata->getFormat()|upper}
+{$metadata->getWidth()} x {$metadata->getHeight()},
+{$metadata->getLengthString()}<br/>
+{elseif $resource->isZip()}
+{$metadata->getTotalFiles()} {$locale->tr("files")}<br/>
+{/if}
+{assign var="counter" value="`$counter+1`"}
+</td>
+{if $counter%4 == 0}
+</tr>
+<tr>
+{/if}
+{/foreach}
+<td></td></tr>
+</table>
+ {pager style="links"}  
+
+<!-- end of album contents -->
+
+</div>
+</div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/albums.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/albums.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/albums.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,17 @@
+{assign var="postPageTitle" value=" - Gallery"}
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+{foreach from=$albums item=album}
+{assign var="aDate" value=$album->getTimestamp()}
+<div class="post">
+<h2 class="date">{$album->getName()}</h2>
+<div class="entry">
+<a href="{$url->albumLink($album)}">
+{$locale->tr("view")} ({$album->getNumResources()})
+</a>| {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
+</div>
+{$album->getDescription()|strip_tags|truncate:255:"..."|escape}
+</div>
+{/foreach}
+</div>
+{include file="$blogtemplate/footer.template"}

Added: templates/branches/lifetype-1.2/SimpleRules/commentarticle.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/commentarticle.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/commentarticle.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,7 @@
+{include file="$blogtemplate/header.template"}
+ <div class="comments-head"><a name="comments"></a>Kommentare</div>
+ {if $blogsettings->getValue("comments_enabled")}
+  <div class="comments-head">Kommentar schreiben</div>
+  {include file="$blogtemplate/commentform.template"}
+ {/if}
+{include file="$blogtemplate/footer.template"}

Added: templates/branches/lifetype-1.2/SimpleRules/commentform.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/commentform.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/commentform.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,36 @@
+
+<h3 id="respond">{$locale->tr("add_comment")}</h3>
+<div class="commentBox">
+<form action="{$url->getIndexUrl()}" method="post">
+<div style="width:180px; padding-right:15px; margin-right:15px; float:left; text-align:left; border-right:1px dotted #bbb;">
+{dynamic}
+<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 />
+{if $authuser}
+	{$authuser->getUsername()} (<b>{$locale->tr("form_authenticated")}</b>)<br />
+	<input type="hidden" name="userName" id="userName" value="{if $authuser}{$authuser->getUsername()}{/if}" />
+	{else}
+    <input tabindex="2" id="author" name="userName" /><br /><br />
+{/if}
+<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 />
+{/dynamic}
+</div>
+<div>
+<div id="toolbar">
+Hey, why don't you leave a Comment?<br />
+<acronym title="Hypertext Markup Language" xml:lang="en" lang="en">HTML</acronym> is allowed.
+</div>
+<textarea tabindex="5" id="text" name="commentText" rows="10" cols="50"></textarea><br /><br />
+<input style="font-weight: bold;" type="submit" name="post" value="&nbsp;{$locale->tr("comment_send")}&nbsp;" /><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/branches/lifetype-1.2/SimpleRules/css/poolie.css
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/css/poolie.css	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/css/poolie.css	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,246 @@
+/* SimpleRules CSS 1.0 - Alexander Kaiser */
+/* poolie.kulando.de - alex at poolie.de */
+/* released for pLog (plogworld.net) unter the GPL */
+
+ at import url("typography.css");
+
+body {
+background-color: #444444;
+margin-left: 0px;
+margin-top: 0px;
+margin-right: 0px;
+margin-bottom: 0px;
+}
+
+p {
+margin: 0px;
+padding: 0px;
+}
+
+img {
+border: 0px;
+}
+
+li h2 {
+text-transform:capitalize;
+}
+
+#head {
+width: 100%;
+height: 50px;
+background-image: url(../i/head/bg.gif);
+background-repeat: repeat-x;
+}
+
+#geek {
+margin-left: auto;
+margin-right: auto;
+width: 740px;
+}
+
+#logo {
+height: 60px;
+padding-top: 10px;
+}
+
+.logoImage {
+padding-top: 20px;
+}
+
+#blog {
+width: 500px;
+background-image: url(../i/main/blogbg.gif);
+background-repeat: repeat-x;
+float: left;
+border-top: 3px solid #ffffff;
+}
+
+#menu {
+width: 200px;
+background-color: #9B1B34;
+float: right;
+border-top: 3px solid #ffffff;
+border-bottom: 5px solid #ffffff;
+}
+
+#main {
+width: 100%;
+background-image: url(../i/main/bg.gif);
+background-repeat: repeat-x;
+background-color: #E7E0D0;
+border-bottom:3px solid #ffffff;
+}
+
+#mainContent {
+margin-left: auto;
+margin-right: auto;
+width: 740px;
+}
+
+#footer {
+margin-left: auto;
+margin-right: auto;
+width: 715px;
+clear:both;
+}
+
+.icons {
+padding-left:15px;
+}
+
+#menuContent ul, #menuContent ul ol {
+margin: 0px;
+padding: 0px;
+list-style: none;
+margin-bottom: 15px;
+}
+
+fieldset {
+margin: 0px;
+padding: 0px;
+border-width : 0px;
+border-style : solid;
+/*  IE 5 Hack \*/
+display: inline;
+/* end hack */
+}
+
+.postmetadata {
+margin: 0;
+padding-bottom: 25px;
+}
+
+#footer p {
+padding-top:25px;
+padding-bottom: 25px;
+}
+
+.navigation {
+display: block;
+text-align: center;
+margin-top: 10px;
+padding-bottom: 25px;
+}
+
+.alignright {
+float: right;
+}
+
+.alignleft {
+float: left;
+}
+
+/* Begin Form Elements */
+.entry form { /* This is mainly for password protected posts, makes them look better. */
+text-align:center;
+}
+
+select {
+width: 130px;
+}
+
+#commentform input {
+width: 170px;
+padding: 2px;
+margin: 5px 5px 1px 0;
+}
+
+#commentform textarea {
+width: 100%;
+padding: 2px;
+}
+
+#commentform #submit {
+margin: 0;
+float: right;
+}
+/* End Form Elements */
+
+/* Begin Comments*/
+.alt {
+margin: 0;
+padding: 10px;
+}
+
+.alt {
+background-color: #f8f8f8;
+border-top: 1px solid #ddd;
+border-bottom: 1px solid #ddd;
+}
+
+.commentBox {
+margin: 0;
+padding: 10px;
+background-color: #f8f8f8;
+border-top: 1px solid #ddd;
+border-bottom: 1px solid #ddd;
+}
+
+.commentlist {
+padding: 0;
+text-align: justify;
+}
+
+.commentlist li {
+margin: 15px 0 3px;
+padding: 5px 10px 3px;
+list-style: none;
+}
+
+.commentlist p {
+margin: 10px 5px 10px 0;
+}
+
+#commentform p {
+margin: 5px 0;
+}
+
+.nocomments {
+text-align: center;
+margin: 0;
+padding: 0;
+}
+
+.commentmetadata {
+margin: 0;
+display: block;
+}
+/* End Comments */
+
+.flickr-photo-post { border: solid 1px #000000; }
+.flickr-frame-post {	float: right; text-align: center; margin-left: 15px; margin-bottom: 15px; }
+.flickr-caption-post { font-size: 9px; margin-top: 0px; }
+.pager {
+	clear:all;
+	text-align: center;
+	margin-bottom: 20px;
+	margin-top: 20px;
+	font-size: 12px;
+	padding-top: 10px;
+	padding-bottom: 10px;
+}
+.pager a, .pager a:link, .pager a:href, .pager a:hover {
+ text-decoration: none;
+ border: 0px;
+}
+
+.pager .pagerLinkPrevPage, .pagerLink, .pagerLinkNextPage{
+	padding: 2px 6px;
+}
+
+.pager .pagerLinkPrevPage{
+	margin-right:20px;
+}
+.pager .pagerLinkNextPage {
+	margin-left:20px;
+}
+
+.pager .pagerCurrent {
+	padding: 2px 6px; 
+	border-color: #999; 
+	font-weight: bold; 
+	font-size: 13px; 
+	vertical-align: top; 
+	background: #fff; 
+	color: #FF0084;	
+}

Added: templates/branches/lifetype-1.2/SimpleRules/css/typography.css
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/css/typography.css	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/css/typography.css	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,130 @@
+/* SimpleRules CSS 1.0 - Alexander Kaiser */
+/* poolie.kulando.de - alex at poolie.de */
+/* released for pLog (plogworld.net) unter the GPL */
+
+body, ol, ul, li, p, input, textarea, select {
+font-family: "Lucida Sans Unicode", "Trebuchet MS", Arial, sans-serif;
+color: #313131;
+font-size: 11px;
+}
+
+blockquote {
+background-color: #F7F5F1;
+border: 1px dotted #9B1B34;
+padding: 5px;
+}
+
+#logo h1 {
+font-size: 30px;
+color: #9B1B34;
+display: inline;
+}
+
+#menuContent h2 {
+font-size: 12px;
+color: #ffffff;
+}
+
+#menuContent {
+color: #C47081;
+}
+
+/* links */
+a, a:active, a:visited {
+color: #9B1B34;
+text-decoration: none;
+font-weight: normal;
+}
+
+a:hover {
+color: #5F5A53;
+font-weight: normal;
+}
+
+#menuContent a, #menuContent a:active, #menuContent a:visited {
+color: #CCCCCC;
+text-decoration: none;
+font-weight: normal;
+}
+
+#menuContent a:hover {
+color: #999999;
+font-weight: normal;
+}
+
+#blogContent h2 {
+font-size: 18px;
+margin: 0 0 0 0;
+}
+
+#blogContent h2 a, #blogContent h2 a:active, #blogContent h2 a:visited {
+color: #4E5A69;
+text-decoration: none;
+font-weight: bold;
+}
+
+#blogContent h2 a:hover {
+color: #999999;
+font-weight: bold;
+}
+
+.entry p {
+padding: 5px;
+}
+
+.geekContent {
+padding-top: 30px;
+text-align: right;
+color: #C3C8CD;
+font-size: 11px;
+}
+
+small {
+font-family: Arial, Helvetica, Sans-Serif;
+font-size: 0.9em;
+line-height: 1.5em;
+}
+
+#footer a, #footer a:active, #footer a:visited {
+color: #E7E0D0;
+text-decoration: none;
+font-weight: normal;
+}
+
+#footer a:hover {
+color: #999999;
+}
+.pager {
+	clear:all;
+	text-align: center;
+	margin-bottom: 20px;
+	margin-top: 20px;
+	font-size: 12px;
+	padding-top: 10px;
+	padding-bottom: 10px;
+}
+.pager a, .pager a:link, .pager a:href, .pager a:hover {
+ text-decoration: none;
+ border: 0px;
+}
+
+.pager .pagerLinkPrevPage, .pagerLink, .pagerLinkNextPage{
+	padding: 2px 6px;
+}
+
+.pager .pagerLinkPrevPage{
+	margin-right:20px;
+}
+.pager .pagerLinkNextPage {
+	margin-left:20px;
+}
+
+.pager .pagerCurrent {
+	padding: 2px 6px; 
+	border-color: #999; 
+	font-weight: bold; 
+	font-size: 13px; 
+	vertical-align: top; 
+	background: #fff; 
+	color: #FF0084;	
+}

Added: templates/branches/lifetype-1.2/SimpleRules/error.gif
===================================================================
(Binary files differ)


Property changes on: templates/branches/lifetype-1.2/SimpleRules/error.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/branches/lifetype-1.2/SimpleRules/error.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/error.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/error.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,17 @@
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+
+<div class="post">
+<h2 class="title">{$locale->tr("error")}</h2>
+<div class="entry">
+<br/>
+{$locale->tr($message)}
+<br/><br/>
+{$locale->tr("generated")} {$locale->formatDate($now,"%d %b, %Y")}
+<br/><br/>
+<a href="javascript:history.go(-1)">{$locale->tr("back")}</a>
+</div>
+</div>
+</div>
+
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/flickr.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/flickr.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/flickr.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,140 @@
+{assign var="postPageTitle" value=" - Flickr Gallery"}
+{include file="$blogtemplate/header.template"}
+{if !empty($flickr)}
+<script type="text/javascript" src="{$url->getBaseUrl()}/plugins/flickr/js/annotation/annotation.js"></script>
+{literal}
+<STYLE TYPE="text/css">
+<!--
+.flickr-album {
+padding: 0 0 0 35px;
+width: 450px;
+clear: both;
+}
+
+.flickr-thumbnail {
+float: left;
+padding-right: 20px;
+background-color: #fff;
+border: 1px solid #a9a9a9;
+margin: 6px 6px 6px 6px;
+padding: 4px;
+margin-top: 10px;
+}
+
+.flickr-photo {
+padding-right: 20px;
+background-color: #fff;
+border: 1px solid #a9a9a9;
+margin: 6px 6px 6px 6px;
+padding: 4px;
+margin-top:10px;
+}
+
+.flickr-title {
+color: #260;
+border-bottom: 1px dashed #CCC;
+padding: 5px 0;
+}
+
+.flickr-album-nav {
+clear: both;
+text-align: left;
+}
+
+.flickr-photo-nav {
+clear: both;
+text-align: center;
+}
+
+.flickr-slideshow {
+clear: both;
+text-align: right;
+}
+
+.flickr-description {
+font-size: 11px;
+}
+
+a.annotation {
+position: absolute;
+border: 2px solid yellow;
+padding: 0;
+display: none;
+opacity: 0.2;
+-moz-opacity: 0.2;
+filter: alpha(opacity=20);
+}
+a.annotation span {
+display: block;
+width: 100%;
+height: 100%;
+background: white;
+opacity: 0.2;
+-moz-opacity: 0.2;
+filter: alpha(opacity=20);
+}
+a.annotation:hover {
+background: white;
+opacity: 0.2;
+-moz-opacity: 0.2;
+filter: alpha(opacity=20);
+border: 2px solid blue;
+}
+-->
+</STYLE>
+{/literal}
+<div id="content" class="narrowcolumn">
+<div>
+<div>
+<h2 class="title">Flickr Gallery</h2>
+{if $flickr->isEnabled()}
+{assign var=albumId value=$smarty.request.album}
+{assign var=photoId value=$smarty.request.photo}
+{assign var=secretId value=$smarty.request.secret}
+{if $albumId != '' && $photoId != '' && $secretId != ''}
+<div class="flickr-album-nav"><a href="{$flickr->pluginTemplatePage()}">{$locale->tr("flickr")}</a>  &raquo; <a href="{$flickr->getAlbumUrl($albumId)}">{$locale->tr("flickr_album_id")} {$albumId}</a>  &raquo; <b>{$locale->tr("flickr_photo_id")} {$photoId}</b></div>
+{assign var=flickrPhotoInfo value=$flickr->getPhotoInfo($photoId,$secretId)}
+<h3 class="flickr-title">{$locale->tr("flickr_photo_title")} {$flickrPhotoInfo.title}</h3>
+{assign var=photoNavigation value=$flickr->getPhotoNavigation($albumId,$photoId)}
+<div class="flickr-photo-nav">{if $photoNavigation.prevPhotoUrl != ''}<a href="{$photoNavigation.prevPhotoUrl}">&laquo; {$locale->tr("flickr_prev_photo")}</a>{/if} | {if $photoNavigation.nextPhotoUrl != ''}<a href="{$photoNavigation.nextPhotoUrl}">{$locale->tr("flickr_next_photo")} &raquo;</a>{/if}</div>
+<a href="{$flickrPhotoInfo.originalimageUrl}"><img class="annotated flickr-photo" src="{$flickrPhotoInfo.resizeimageUrl}" alt="" usemap="imgmap" /></a><br />
+{assign var=flickrNotes value=$flickrPhotoInfo.notes}
+<map id="imgmap">
+{foreach item=flickrNote from=$flickrNotes}
+<area alt="" title="{$flickrNote.noteDesc}" nohref="nohref" shape="rect" coords="{$flickrNote.noteX},{$flickrNote.noteY},{$flickrNote.noteX+$flickrNote.noteW-1},{$flickrNote.noteY+$flickrNote.noteH-1}" />
+{/foreach}
+</map>
+{assign var=flickrTags value=$flickrPhotoInfo.tags}
+<div class="flickr-description">{$locale->tr("flickr_photo_description")} {$flickrPhotoInfo.description}</div>
+<div class="flickr-description">{$locale->tr("flickr_photo_date")} {$flickrPhotoInfo.date}</div>
+<div class="flickr-description">{$locale->tr("flickr_photo_tag")} {foreach item=flickrTag from=$flickrTags}<a href="{$flickrTag.tagUrl}">{$flickrTag.tagName}</a> {/foreach}</div>
+<div class="flickr-description">{$locale->tr("flickr_photo_url")} <a href="{$flickrPhotoInfo.flickrUrl}">{$locale->tr("flickr_photo_see_url")} ({$flickrPhotoInfo.comments} {$locale->tr("comments")})</a></div>
+{elseif $albumId != '' && ($photoId == '' || $secretId == '')}
+<div class="flickr-nav"><a href="{$flickr->pluginTemplatePage()}">{$locale->tr("flickr")}</a>  &raquo; <b>{$locale->tr("flickr_album_id")} {$albumId}</b></div>
+<div class="flickr-slideshow"><a href="#" onclick="window.open('{$flickr->getSlideShowUrl($albumId)}','slideShowWin','width=500,height=500,top=150,left=70,scrollbars=no, status=no, resizable=no')">{$locale->tr("flickr_view_as_slideshow")}</a></div>
+{assign var=flickrPhotos value=$flickr->getPhotos($albumId)}
+{foreach item=flickrPhoto from=$flickrPhotos}
+<a href="{$flickrPhoto.photoUrl}"><img class="flickr-thumbnail" src="{$flickrPhoto.thumbnailUrl}" alt="" /></a>
+{/foreach}
+{else}
+{assign var=flickrAlbums value=$flickr->getPhotoList()}
+{foreach name=flickrAlbum item=flickrAlbum from=$flickrAlbums}
+<div class="flickr-album">
+<a href="{$flickrAlbum.albumUrl}"><img class="flickr-thumbnail" src="{$flickrAlbum.thumbnailUrl}" alt="{$flickrAlbum.title}" /></a><br />
+<h4 class="flickr-title">{$locale->tr("flickr_album_title")} {$flickrAlbum.title}</h4>
+<div class="flickr-description">{$locale->tr("flickr_album_description")} {$flickrAlbum.description}</div>
+<div class="flickr-description">{$locale->tr("flickr_album_photos")} <a href="{$flickrAlbum.albumUrl}">{$flickrAlbum.photos}</a></div>
+<div class="flickr-description">{$locale->tr("flickr_album_url")} <a href="{$flickrAlbum.flickrUrl}">{$locale->tr("flickr_album_see_url")}</a></div>
+</div>
+{/foreach}
+{assign var=totalAlbums value=$smarty.foreach.flickrAlbum.total}
+{/if}
+{else}
+{$locale->tr("error_flickr_not_enabled")}
+{/if}
+{/if}
+</div>
+<br />
+</div>
+</div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/footer.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/footer.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/footer.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,98 @@
+</div>
+</div>
+<div id="menu">
+<div id="menuContent" style="padding:10px;">
+<ul>
+<li>
+<form method="post" action="{$url->getIndexUrl()}">
+<div>
+<input type="text" name="searchTerms" size="15" value="" />
+<input type="hidden" name="op" value="Search" />
+<input type="hidden" name="blogId" value="{$blog->getId()}" />
+<input type="submit" name="Search" value="{$locale->tr("search")}" />
+</div>
+</form>
+</li>
+
+{assign var=blogOwner value=$blog->getOwnerInfo()}
+{if $blogOwner->hasPicture()}
+
+<li><h2>{$locale->tr("about_myself")}</h2>
+<ul>
+<li><div align="center">
+{assign var=picture value=$blogOwner->getPicture()}
+<img src="{$picture->getPreviewLink()}" alt="{$picture->getDescription()}" />
+</div>
+</li>
+</ul>
+</li>
+{/if}
+
+<li><h2>{$locale->tr("recently")}</h2>
+<ul>
+{foreach from=$recentposts item=post}
+<li><a title="{$post->getTopic()|strip_tags}"
+href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+{/foreach}
+</ul>
+</li>
+<li><h2>{$locale->tr("categories")}</h2>
+<ul>
+{foreach from=$articlecategories item=articleCategory}
+<li><a href="{$url->categoryLink($articleCategory)}">
+{$articleCategory->getName()}</a>
+[{$articleCategory->getNumArticles()}]</li>
+{/foreach}
+</ul>
+</li>
+<li><h2>{$locale->tr("archives")}</h2>
+<ul>
+{foreach from=$archives item=archivelink}
+<li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a>
+[{$archivelink->getNumArticles()}]</li>
+{/foreach}
+</ul>
+</li>
+<li><h2>{$locale->tr("links")}</h2>
+<ul>
+{foreach name=linkcategories from=$mylinkscategories item=linkcategory}
+{if $linkcategory->getNumLinks()>0}
+<li>
+<b>{$linkcategory->getName()}</b>
+
+{foreach name=linkcategorylinks from=$linkcategory->getLinks() item=link}
+{if $smarty.foreach.linkcategorylinks.first}<ul>{/if}
+<li><a href="{$link->getUrl()}"
+title="{$link->getDescription()}">{$link->getName()}</a></li>
+{if $smarty.foreach.linkcategorylinks.last}</ul>{/if}
+{/foreach}
+
+</li>
+{/if}
+{/foreach}
+</ul>
+</li>
+</ul>
+</div>
+</div>
+
+</div>
+<br style="clear:both;" />
+</div>
+
+<div id="footer">
+<p style="float:left;">Design by <a href="http://poolie.kulando.de/">Alexander Kaiser</a></span></p>
+<p style="float:right; text-align:right;"><span>
+
+<a title="{$locale->tr("main")}" href="{$url->blogLink()}">{$locale->tr("main")}</a> | <a title="{$locale->tr("albums")}" href="{$url->albumLink()}">{$locale->tr("albums")}</a>
+{if $flickr}
+{if $flickr->isEnabled()}
+| <a title="Flickr" href="{$flickr->pluginTemplatePage()}">Flickr</a>
+{/if}
+{/if}
+
+<br />
+<a title="RSS 0.90 feed." href="{$url->rssLink("rss090")}" style="color:#898989;">RSS 0.90</a> | <a title="RSS 1.0 feed." href="{$url->rssLink("rss10")}" style="color:#898989;">RSS 1.0</a> | <a title="RSS 2.0 feed." href="{$url->rssLink("rss20")}" style="color:#898989;">RSS 2.0</a> | <a title="Atom 0.3 feed." href="{$url->rssLink("atom")}" style="color:#898989;">Atom 0.3</a></span></p>
+</div>
+</body>
+</html>
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/header.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/header.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/header.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,39 @@
+<!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>
+<title>{$blog->getBlog()}{$postPageTitle}</title>
+
+<!-- Meta Tags -->
+<meta http-equiv="content-type" content="text/html; charset={$locale->getCharset()}" />
+<meta name="generator" content="{$version}" />
+<meta http-equiv="Content-Language" content="{$locale->getLanguageId()}" />
+
+<!-- Yepp, that's what you're looking for. Isn't it. -->
+<link rel="stylesheet" type="text/css" media="screen" href="{$url->getTemplateFile("css/poolie.css")}" />
+
+<!-- Feeds -->
+<link rel="alternate" type="application/xml" title="RSS 2.0" href="{$url->rssLink("rss20")}" />
+<link rel="alternate" type="application/xml" title="RSS 1.0" href="{$url->rssLink("rss10")}" />
+<link rel="alternate" type="application/xml" title="RSS 0.90" href="{$url->rssLink("rss090")}" />
+<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="{$url->rssLink("atom")}" />
+
+</head>
+
+<body>
+<div id="head">
+<div id="geek">
+<p class="geekContent"><span>{$blog->getAbout()}</span></p>
+</div>
+</div>
+
+<div id="main">
+<div id="mainContent">
+<div id="logo">
+<h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1>
+</div>
+
+<div id="blog">
+<div id="blogContent" style="padding:10px;">
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/i/head/bg.gif
===================================================================
(Binary files differ)


Property changes on: templates/branches/lifetype-1.2/SimpleRules/i/head/bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/branches/lifetype-1.2/SimpleRules/i/main/bg.gif
===================================================================
(Binary files differ)


Property changes on: templates/branches/lifetype-1.2/SimpleRules/i/main/bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/branches/lifetype-1.2/SimpleRules/i/main/blogbg.gif
===================================================================
(Binary files differ)


Property changes on: templates/branches/lifetype-1.2/SimpleRules/i/main/blogbg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/branches/lifetype-1.2/SimpleRules/impressum.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/impressum.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/impressum.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,13 @@
+{assign var="postPageTitle" value=" - Impressum"}
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+<div>
+<div>
+<h2 class="title">Impressum</h2>
+{$blog->getImpressum()}
+</div>
+<br />
+</div>
+</div>
+
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/main.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/main.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/main.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,7 @@
+{include file="$blogtemplate/header.template"}
+
+{foreach from=$posts item=post}
+{include file="$blogtemplate/post.template"}
+{/foreach}
+ {pager style="links"}  
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/post.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/post.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/post.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,18 @@
+<!-- Blog Artikel -->
+<!-- {$url->postTrackbackLink($post)} -->
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<h2><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h2>
+<small>{$locale->tr("posted_by")} {$postOwner->getUsername()} | {$locale->formatDate($postDate,"%j %b, %Y")}, {$locale->formatDate($postDate,"%H:%M")}</small>
+<div class="entry">
+{$post->getText()}
+</div>
+
+<div>
+<p class="postmetadata">
+{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->getTotalTrackbacks()})</a></p>
+</div>
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/postandcomments.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/postandcomments.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,78 @@
+{assign var="postPageTitle" value=$post->getTopic()}
+{assign var="postPageTitle" value=" - $postPageTitle"}
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+<div class="navigation">
+{if $post->getNextArticle() != ""}
+<div class="alignleft">
+{assign var=nextpost value=$post->getNextArticle()}
+&laquo; <a href="{$url->postPermalink($nextpost)}">{$nextpost->getTopic()}</a>
+</div>
+{/if}
+
+{if $post->getPrevArticle() != ""}
+<div class="alignright">
+{assign var=prevpost value=$post->getPrevArticle()}
+<a href="{$url->postPermalink($prevpost)}"> {$prevpost->getTopic()}</a> &raquo;
+</div>
+{/if}
+</div>
+<div>&nbsp;</div>
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<div>
+<div class="post">
+<h2><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h2>
+<small>{$locale->tr("posted_by")} {$postOwner->getUsername()} | {$locale->formatDate($postDate,"%j %b, %Y")}</small>
+<div class="entry">
+{$post->getText()}
+</div>
+<br />
+<p class="postmetadata alt">
+<small>
+This Entry was written on {$locale->formatDate($postDate,"%d %B, %Y %H:%M")} in the Category {foreach name=categories from=$post->getCategories() item=postcategory} <a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+{/foreach}.<br />
+You can leave a Comment or check the <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")}</a>.
+</small></p>
+</div>
+</div>
+
+<div>
+<h3 id="comments">{$post->getTotalComments()} {$locale->tr("comments")}  and {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")} - "{$post->getTopic()}" </h3>
+ {pager style="links"}
+{foreach from=$post->getComments() item=comment}
+<br />
+
+<ol class="commentlist">
+{if $gravatar}
+{if $gravatar->isEnabled()}
+<img alt="{$comment->getUsername()}" src="{$gravatar->gravatar($comment)}" width="{$gravatar->getSize()}" height="{$gravatar->getSize()}" align="right" />
+{/if}
+{/if}
+<strong>{$comment->getTopic()}</strong>
+<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()}
+am {$locale->formatDate($commentDate, "%d %b %Y, %H:%M")}
+</span>
+</ol>
+{/foreach}
+ {pager style="links"}
+</div>
+{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+<div>
+<div><p>&nbsp;</p></div>
+{include file="$blogtemplate/commentform.template"}
+</div>
+{/if}
+</div>
+{include file="$blogtemplate/footer.template"}

Added: templates/branches/lifetype-1.2/SimpleRules/posttrackbacks.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/posttrackbacks.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/posttrackbacks.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,33 @@
+{assign var="postPageTitle" value=$post->getTopic()}
+{assign var="postPageTitle" value=" - $postPageTitle - Trackbacks"}
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+<div class="navigation">
+{if $post->getNextArticle() != ""}
+<div class="alignleft">
+{assign var=nextpost value=$post->getNextArticle()}
+&laquo; <a href="{$url->postTrackbackStatsLink($nextpost)}"> {$nextpost->getTopic()}</a>
+</div>
+{/if}
+
+{if $post->getPrevArticle() != ""}
+<div class="alignright">
+{assign var=prevpost value=$post->getPrevArticle()}
+<a href="{$url->postTrackbackStatsLink($prevpost)}"> {$prevpost->getTopic()}</a> &raquo;
+</div>
+{/if}
+</div>
+<div class="post">
+<h2>{$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>"</h2>
+<div class="entry">
+{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}
+</div>
+</div>
+</div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/readme.txt
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/readme.txt	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/readme.txt	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,26 @@
+This is the "SimpleRules" Template for LifeType - www.lifetype.net
+Probably the best Blogging Tool in the world.
+
+This is Version 1.0 of SimpleRules, so you better test it.
+
+You can remove the Link "Design by Alexander Kaiser" but you don't have to ;)
+XHTML and CSS is validated.
+
+Extras:
+	- Integrated Flickr Plugin - If you have it enabled a Link in the footer comes up.
+	- Integrated User Picture - If you have it enabled the User Picture comes up.
+	- Integrated Aggregator (/static/aggregator)
+	- Integrated Gravatar Plugin - If you have it enabled the Gravatars come up with new Comments.
+	- Integrated About Page - Calls up the Info you entered in the Blog-Info Box within your Admin (/static/about)
+
+That's it... so far.
+
+Design and Coding by
+
+Alexander Kaiser
+alex at poolie.de
+http://poolie.kulando.de
+
+
+You should also check out this page:
+http://www.lifetype.net/blog.php/lifetype_development_journal/page/aboutus

Added: templates/branches/lifetype-1.2/SimpleRules/resource.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/resource.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/resource.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,58 @@
+{include file="$blogtemplate/header.template"}
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<div id="content" class="narrowcolumn">
+<div class="blog">
+<h2 class="date">{$resource->getFileName()}</h2>
+<div class="blogbody">
+<div class="posted">
+<img src="{$url->getTemplateFile("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->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/>
+<p>
+{assign var=album value=$resource->getAlbum()}
+{if $prevresource}<a href="{$url->resourceLink($prevresource)}">&laquo;</a> | {/if}
+<a href="{$url->albumLink($album)}">{$locale->tr("back")}</a>
+{if $nextresource}| <a href="{$url->resourceLink($nextresource)}">&raquo;</a>{/if}
+</p>
+</div>
+</div>
+
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/rss.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/rss.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/rss.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,33 @@
+{include file="$blogtemplate/header.template"}
+ {if $rss->parse("http://rss.news.yahoo.com/rss/topstories")}
+  {assign var=channel value=$rss->getChannel()}
+  <h1>{$channel->getTitle()}</h1>
+  <p>{$channel->getDescription()}</p>
+  <ul style="list-style: none;">
+  {foreach from=$rss->getItems() item=rssItem}
+   <li>
+    <a href="{$rssItem->getLink()}">{$rssItem->getTitle()}</a><br/>
+    <p>
+     {$rssItem->getDescription()}
+    </p>
+   </li> 
+  {/foreach}
+  </ul>
+ {/if}
+
+ {if $rss->parse("http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss091.xml")}
+  {assign var=channel value=$rss->getChannel()}
+  <h1>{$channel->getTitle()}</h1>
+  <p>{$channel->getDescription()}</p>
+  <ul style="list-style: none;">
+  {foreach from=$rss->getItems() item=rssItem}
+   <li>
+    <a href="{$rssItem->getLink()}">{$rssItem->getTitle()}</a><br/>
+    <p>
+     {$rssItem->getDescription()}
+    </p>
+   </li> 
+  {/foreach}
+  </ul>
+ {/if}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/branches/lifetype-1.2/SimpleRules/screenshot.jpg
===================================================================
(Binary files differ)


Property changes on: templates/branches/lifetype-1.2/SimpleRules/screenshot.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/branches/lifetype-1.2/SimpleRules/searchresults.template
===================================================================
--- templates/branches/lifetype-1.2/SimpleRules/searchresults.template	                        (rev 0)
+++ templates/branches/lifetype-1.2/SimpleRules/searchresults.template	2007-02-01 23:32:16 UTC (rev 4663)
@@ -0,0 +1,32 @@
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+<h2>{$locale->tr("search_results")}:
+{foreach from=$searchterms item=term}{$term} {/foreach}
+</h2>
+{foreach from=$searchresults item=result}
+<div class="post">
+{assign var=article value=$result->getArticle()}
+{assign var="postDate" value=$article->getDateObject()}
+{assign var="postOwner" value=$article->getUserInfo()}
+<div class="entry">
+<h2>
+<a href="{$url->postPermalink($article)}">
+{$article->getTopic()}</a>
+</h2><br />
+<small>{$locale->tr("posted_by")}
+{$postOwner->getUsername()} {$locale->formatDate($postDate,"%H:%M")}
+
+| {foreach name=categories
+from=$article->getCategories() item=postcategory}
+<a href="{$url->categoryLink($postcategory)}">
+{$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+{/foreach}
+| {$locale->formatDate($postDate,"%j %b, %Y")}
+</small>
+</div>
+{$article->getText()|strip_tags|truncate:300:"...":false}
+</div>
+{/foreach}
+</div>
+
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file



More information about the pLog-svn mailing list