Skip to content

Commit

Permalink
[#479 state:resolved] Updated DePoClean.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeThomsen committed Nov 1, 2010
1 parent f1131fd commit 786747a
Show file tree
Hide file tree
Showing 17 changed files with 63 additions and 49 deletions.
5 changes: 5 additions & 0 deletions addons/DePoClean.plugin/lib/DePoCleanTheme/L10N.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package DePoCleanTheme::L10N;
use strict;
use base 'MT::Plugin::L10N';

1;
9 changes: 9 additions & 0 deletions addons/DePoClean.plugin/lib/DePoCleanTheme/L10N/en_us.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package DePoCleanTheme::L10N::en_us;

use strict;

use base 'DePoCleanTheme::L10N';
use vars qw( %Lexicon );
%Lexicon = ();

1;
2 changes: 1 addition & 1 deletion addons/DePoClean.plugin/templates/about.mtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<p><strong>About</strong></p>
<p><strong><__trans phrase="About"></strong></p>
<p><mt:If tag="AboutYou"><$mt:AboutYou$></mt:If></p>
</div>
18 changes: 9 additions & 9 deletions addons/DePoClean.plugin/templates/archives.mtml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<title><$mt:BlogName escape="html"$> - Archived</title>
<$mt:Include module="HTML Head"$>
<title><$mt:BlogName escape="html"$> - <__trans phrase="Archived"></title>
<$mt:Include module="<__trans phrase="HTML Head">"$>

<link rel='canonical' href='<$mt:Link template="Archives"$>' />
</head>
Expand All @@ -11,32 +11,32 @@

<div class="container">

<$mt:Include module="Header"$>
<$mt:Include module="<__trans phrase="Header">"$>

<div class="post">
<h2>The Archives</h2>
<h2><__trans phrase="The Archives"></h2>
</div>

<div class="post" style="border-bottom:0px">

<div style="float:right;width:250px;">
<h3>By Month</h3>
<h3><__trans phrase="By Month"></h3>
<ul class="nav">
<mt:ArchiveList type="Monthly">
<li><a href='<$mt:ArchiveLink$>' title='<$mt:ArchiveTitle escape="html"$>'><$mt:ArchiveTitle$></a></li>
</mt:ArchiveList>
</ul>
</div>

<h3>By Category</h3>
<h3><__trans phrase="By Category"></h3>
<ul class="nav">
<mt:TopLevelCategories>
<li class="cat-item"><a href="<$mt:CategoryArchiveLink$>" title="View all posts filed under <$mt:CategoryLabel escape="html"$>"><$mt:CategoryLabel$></a>
<li class="cat-item"><a href="<$mt:CategoryArchiveLink$>" title="<__trans phrase="View all posts filed under"> <$mt:CategoryLabel escape="html"$>"><$mt:CategoryLabel$></a>
<mt:SubCategories>
<mt:SubCatIsFirst>
<ul class="children">
</mt:SubCatIsFirst>
<li class="cat-item"><a href="<$mt:CategoryArchiveLink$>" title="View all posts filed under <$mt:CategoryLabel escape="html"$>"><$mt:CategoryLabel$></a>
<li class="cat-item"><a href="<$mt:CategoryArchiveLink$>" title="<__trans phrase="View all posts filed under"> <$mt:CategoryLabel escape="html"$>"><$mt:CategoryLabel$></a>
<$mt:SubCatsRecurse$>
<mt:SubCatIsLast>
</ul>
Expand All @@ -48,7 +48,7 @@

<br clear="all" />

<$mt:Include module="Footer"$>
<$mt:Include module="<__trans phrase="Footer">"$>

</div> <!-- end container -->
</body>
Expand Down
4 changes: 2 additions & 2 deletions addons/DePoClean.plugin/templates/authors.mtml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div>
<p><strong>Authors</strong></p>
<p><strong><__trans phrase="Authors"></strong></p>
<ul class="nav">
<mt:ArchiveList type="Author">
<li><a href='<$mt:ArchiveLink$>' title='<$mt:ArchiveTitle escape="html"$>'><$mt:ArchiveTitle$></a></li>
</mt:ArchiveList>
</ul>
<p><a href="<$mt:Link template="Archives"$>">View All Archives</a></p>
<p><a href="<$mt:Link template="Archives"$>"><__trans phrase="View All Archives"></a></p>
</div>
4 changes: 2 additions & 2 deletions addons/DePoClean.plugin/templates/categories.mtml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div>
<p><strong>Categories</strong></p>
<p><strong><__trans phrase="Categories"></strong></p>
<ul class="nav">
<mt:TopLevelCategories show_empty="0">
<li><a href='<$mt:CategoryArchiveLink$>' title='<$mt:CategoryLabel escape="html"$>'><$mt:CategoryLabel$></a></li>
</mt:TopLevelCategories>
</ul>
<p><a href="<$mt:Link template="Archives"$>">View All Archives</a></p>
<p><a href="<$mt:Link template="Archives"$>"><__trans phrase="View All Archives"></a></p>
</div>
6 changes: 3 additions & 3 deletions addons/DePoClean.plugin/templates/comment_response.mtml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<head profile="http://gmpg.org/xfn/11">
<title><$mt:BlogName escape="html"$> &#8211; <$mt:BlogDescription escape="html"$></title>
<meta name='robots' content='noindex,nofollow' />
<$mt:Include module="HTML Head"$>
<$mt:Include module="<__trans phrase="HTML Head">"$>
</head>
<body>
<div class="container">
<$mt:Include module="Header"$>
<$mt:Include module="<__trans phrase="Header">"$>

<div class="post">
<div class="metainfo">
Expand All @@ -39,7 +39,7 @@
</div>

<br clear="all" />
<$mt:Include module="Footer"$>
<$mt:Include module="<__trans phrase="Footer">"$>

</div> <!-- end container -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion addons/DePoClean.plugin/templates/contact.mtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="last">
<p><strong>Contact</strong></p>
<p><strong><__trans phrase="Contact"></strong></p>
<p><mt:If tag="ContactInformation"><$mt:ContactInformation$></mt:If></p>
</div>
6 changes: 3 additions & 3 deletions addons/DePoClean.plugin/templates/dynamic_error.mtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<head profile="http://gmpg.org/xfn/11">
<title><$mt:BlogName escape="html"$> &#8211; <$mt:BlogDescription escape="html"$></title>
<meta name='robots' content='noindex,nofollow' />
<$mt:Include module="HTML Head"$>
<$mt:Include module="<__trans phrase="HTML Head">"$>
</head>
<body>
<div class="container">
<$mt:Include module="Header"$>
<$mt:Include module="<__trans phrase="Header">"$>

<div class="post">
<div class="metainfo">
Expand All @@ -25,7 +25,7 @@
</div>

<br clear="all" />
<$mt:Include module="Footer"$>
<$mt:Include module="<__trans phrase="Footer">"$>

</div> <!-- end container -->
</body>
Expand Down
8 changes: 4 additions & 4 deletions addons/DePoClean.plugin/templates/entry.mtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<title><$mt:BlogName escape="html"$> &#8211; <$mt:EntryTitle escape="html"$></title>
<$mt:Include module="HTML Head"$>
<$mt:Include module="<__trans phrase="HTML Head">"$>
<mt:EntryPrevious>
<link rel='prev' title='<$mt:EntryTitle escape="html"$>' href='<$mt:EntryPermalink$>' />
</mt:EntryPrevious>
Expand All @@ -24,7 +24,7 @@
<h1><mt:If name="main_index"><$mt:BlogName escape="html"$><mt:Else><a href="<$mt:BlogURL$>"><$mt:BlogName escape="html"$></a></mt:If> <span><$mt:BlogDescription escape="html"$></span></h1>
</div><!-- end header -->
<div class="blogads">
<$mt:WidgetSet name="Sidebar"$>
<$mt:WidgetSet name="<__trans phrase="Sidebar">"$>
</div>

<$mt:Date format="%Y%m%d" setvar="today"$>
Expand Down Expand Up @@ -54,7 +54,7 @@
</mt:Comments>

<mt:SetVarBlock name="cache_key">CommentForm;<$mt:EntryID$></mt:SetVarBlock>
<$mt:Include module name="Comment Form" ttl="15552000" cache="1" cache_key="$cache_key"$>
<$mt:Include module name="<__trans phrase="Comment Form">" ttl="15552000" cache="1" cache_key="$cache_key"$>
<!-- Comment Form -->
<div class="postnoline">
<div class="content">
Expand Down Expand Up @@ -92,7 +92,7 @@
</div> <!-- END posttopline -->
<br clear="all" />

<$mt:Include module="Footer"$>
<$mt:Include module="<__trans phrase="Footer">"$>

</div> <!-- end container -->
</body>
Expand Down
10 changes: 5 additions & 5 deletions addons/DePoClean.plugin/templates/entry_details.mtml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<div class="post">
<div class="metainfo">
<p>Posted<br />
<p><__trans phrase="Posted"><br />
<a href="<$mt:EntryPermalink$>" rel="bookmark" title="Permanent Link to <$mt:EntryTitle escape="html"$>."><$mt:EntryDate format="%e %B %Y @ %l%p"$></a></p>
<p>Tagged<br />
<mt:If tag="EntryCategories"><mt:EntryCategories glue=","><a href="<$mt:CategoryArchiveLink$>" title="View all posts in <$mt:CategoryLabel escape="html"$>" rel="category"><$mt:CategoryLabel escape="html"$></a></mt:EntryCategories><mt:Else>Uncategorized</mt:If>
<p><__trans phrase="Tagged"><br />
<mt:If tag="EntryCategories"><mt:EntryCategories glue=","><a href="<$mt:CategoryArchiveLink$>" title="<__trans phrase="View all posts in"> <$mt:CategoryLabel escape="html"$>" rel="category"><$mt:CategoryLabel escape="html"$></a></mt:EntryCategories><mt:Else>Uncategorized</mt:If>

</p>
<mt:Unless name="feedback_template"><p><a href="<$mt:EntryPermalink$>#comments" title="Comment on <$mt:EntryTitle escape="html"$>."><$mt:EntryCommentCount singular="1 Comment" plural="# Comments" none="No Comments Yet"$></a></p></mt:Unless>
<mt:Unless name="feedback_template"><p><a href="<$mt:EntryPermalink$>#comments" title="<__trans phrase="Comment on"> <$mt:EntryTitle escape="html"$>."><$mt:EntryCommentCount singular="<__trans phrase="1 Comment">" plural="<__trans phrase="# Comments">" none="<__trans phrase="No Comments Yet">"$></a></p></mt:Unless>
</div>
<div class="content">
<h3><a href="<$mt:EntryPermalink$>" rel="bookmark" title="Permanent Link to <$mt:EntryTitle escape="html"$>."><$mt:EntryTitle escape="html"$></a>
<h3><a href="<$mt:EntryPermalink$>" rel="bookmark" title="<__trans phrase="Permanent Link to"> <$mt:EntryTitle escape="html"$>."><$mt:EntryTitle escape="html"$></a>
</h3>
<p><$mt:EntryBody$></p>
<br clear="left" />
Expand Down
6 changes: 3 additions & 3 deletions addons/DePoClean.plugin/templates/entry_listing.mtml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
<head profile="http://gmpg.org/xfn/11">
<title><$mt:BlogName escape="html"$> &#8211; <$mt:ArchiveTitle escape="html"$></title>
<meta name='robots' content='noindex,nofollow' />
<$mt:Include module="HTML Head"$>
<$mt:Include module="<__trans phrase="HTML Head">"$>
</head>
<body>
<div class="container">
<$mt:Include module="Header"$>
<$mt:Include module="<__trans phrase="Header">"$>

<div class="post">
<h2 style="font-weight:normal">Posts from <strong><$mt:ArchiveTitle escape="html"$></strong></h2>
Expand Down Expand Up @@ -66,7 +66,7 @@
</div>

<br clear="all" />
<$mt:Include module="Footer"$>
<$mt:Include module="<__trans phrase="Footer">"$>

</div> <!-- end container -->
</body>
Expand Down
12 changes: 6 additions & 6 deletions addons/DePoClean.plugin/templates/flickr.mtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,34 @@ var url = null;
url = 'http://api.flickr.com/services/feeds/photos_public.gne?id=<$mt:FlickrUserID$><mt:If tag="FlickrTags">&tags=<$mt:FlickrTags$></mt:If>&format=json&jsoncallback=?';
<mt:Else>
<$mt:var name="show_error" value="1"$>
<$mt:var name="error_msg" value="To show a Flickr user gallery, you must specify a Flickr user ID in Theme Options."$>
<$mt:var name="error_msg" value="<__trans phrase="To show a Flickr user gallery, you must specify a Flickr user ID in Theme Options.">"$>
</mt:If>
<mt:ElseIf name="type" eq="Photoset">
<mt:If tag="FlickrUserID">
<mt:If tag="FlickrPhotoSetID">
url = 'http://api.flickr.com/services/feeds/photoset.gne?set=<$mt:FlickrPhotosetID$>&nsid=<$mt:FlickrUserID$>&format=json&jsoncallback=?';
<mt:Else>
<$mt:var name="show_error" value="1"$>
<$mt:var name="error_msg" value="To show a Flickr photoset gallery, you must specify a Flickr user ID in Theme Options."$>
<$mt:var name="error_msg" value="<__trans phrase="To show a Flickr photoset gallery, you must specify a Flickr user ID in Theme Options.">"$>
</mt:If>

<mt:Else>
<$mt:var name="show_error" value="1"$>
<$mt:var name="error_msg" value="To show a Flickr photoset gallery, you must specify a Flickr user ID in Theme Options."$>
<$mt:var name="error_msg" value="<__trans phrase="To show a Flickr photoset gallery, you must specify a Flickr user ID in Theme Options.">"$>
</mt:If>
<mt:ElseIf name="type" eq="Group">
<mt:If tag="FlickrGroupID">
url = 'http://api.flickr.com/services/feeds/groups_pool.gne?id=<$mt:FlickrGroupID$>&format=json&jsoncallback=?';
<mt:Else>
<$mt:var name="show_error" value="1"$>
<$mt:var name="error_msg" value="To show a Flickr group gallery, you must specify a Flickr group ID in Theme Options."$>
<$mt:var name="error_msg" value="<__trans phrase="To show a Flickr group gallery, you must specify a Flickr group ID in Theme Options.">"$>
</mt:If>
<mt:ElseIf name="type" eq="Favorites">
<mt:If tag="FlickrUserID">
url = 'http://api.flickr.com/services/feeds/photos_faves.gne?id=<$mt:FlickrUserID$>&format=json&jsoncallback=?';
<mt:Else>
<$mt:var name="show_error" value="1"$>
<$mt:var name="error_msg" value="To show a Flickr favorites gallery, you must specify a Flickr user ID in Theme Options."$>
<$mt:var name="error_msg" value="<__trans phrase="To show a Flickr favorites gallery, you must specify a Flickr user ID in Theme Options.">"$>
</mt:If>
<mt:ElseIf name="type" eq="Public">
url = 'http://api.flickr.com/services/feeds/photos_public.gne?<mt:If tag="FlickrTags">tags=&<$mt:FlickrTags$></mt:If>format=json&jsoncallback=?';
Expand All @@ -48,7 +48,7 @@ var url = null;

<mt:Unless name="show_error">
<div class="flickr">
<span><a href="http://flickr.com/photos/<$mt:var name="user_id"$>">Flickr <small class="fey">View All &#187;</small></a></span>
<span><a href="http://flickr.com/photos/<$mt:var name="user_id"$>">Flickr <small class="fey"><__trans phrase="View All"> &#187;</small></a></span>
<script type="text/javascript">
/* <![CDATA[ */
$(function() {
Expand Down
2 changes: 1 addition & 1 deletion addons/DePoClean.plugin/templates/footer.mtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<mt:Unless name="main_index">
<span class="previous">&larr; <a href="<$mt:BlogURL$>">Back to Home</a></span>
</mt:Unless>
<p>&copy; <$mt:BlogName escape="html"$>. Powered by <a href="http://openmelody.org"><$mt:ProductName$> <$mt:Version$></a> using the <a href="http://powazek.com/posts/516">DePo Clean Theme for Melody</a>.</p>
<p>&copy; <$mt:BlogName escape="html"$>. <__trans phrase="Powered by"> <a href="http://openmelody.org"><$mt:ProductName$> <$mt:Version$></a> <__trans phrase="using the"> <a href="http://powazek.com/posts/516"><__trans phrase="DePo Clean Theme for Melody"></a>.</p>
</div>
6 changes: 3 additions & 3 deletions addons/DePoClean.plugin/templates/main_index.mtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<head profile="http://gmpg.org/xfn/11">
<title><$mt:BlogName escape="html"$> &#8211; <$mt:BlogDescription escape="html"$></title>
<meta name='robots' content='noindex,nofollow' />
<$mt:Include module="HTML Head"$>
<$mt:Include module="<__trans phrase="HTML Head">"$>
</head>
<body>
<div class="container">
Expand All @@ -52,7 +52,7 @@
</div>

<mt:If tag="FlickrPhotoType" ne="Disable">
<$mt:Include module="Flickr"$>
<$mt:Include module="<__trans phrase="Flickr">"$>
</mt:If>

<$mt:Date format="%Y$%m%d" setvar="today"$>
Expand All @@ -72,7 +72,7 @@
</div>

<br clear="all" />
<$mt:Include module="Footer" cache="0"$>
<$mt:Include module="<__trans phrase="Footer">"$>

</div> <!-- end container -->
</body>
Expand Down
4 changes: 2 additions & 2 deletions addons/DePoClean.plugin/templates/recent_archives.mtml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div>
<p><strong>Recent Archives</strong></p>
<p><strong><__trans phrase="Recent Archives"></strong></p>
<ul class="nav">
<$mt:MonthlyArchivesCount setvar="ma_count"$>
<mt:ArchiveList type="Monthly" lastn="$ma_count">
<li><a href='<$mt:ArchiveLink$>' title='<$mt:ArchiveTitle escape="html"$>'><$mt:ArchiveTitle$></a></li>
</mt:ArchiveList>
</ul>
<p><a href="<$mt:Link template="Archives"$>">View All Archives</a></p>
<p><a href="<$mt:Link template="Archives"$>"><__trans phrase="View All Archives"></a></p>
</div>
8 changes: 4 additions & 4 deletions addons/DePoClean.plugin/templates/search_results.mtml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
<head profile="http://gmpg.org/xfn/11">
<title><$mt:BlogName escape="html"$> &#8211; <$mt:BlogDescription escape="html"$></title>
<meta name='robots' content='noindex,nofollow' />
<$mt:Include module="HTML Head"$>
<$mt:Include module="<__trans phrase="HTML Head">"$>
</head>
<body>
<div class="container">
<$mt:Include module="Header"$>
<$mt:Include module="<__trans phrase="Header">"$>
<div class="post">
<h2 style="font-weight:normal">Search Results for <strong><$mt:SearchString$></strong></h2>
<h2 style="font-weight:normal"><__trans phrase="Search Results for"> <strong><$mt:SearchString$></strong></h2>
</div>

<mt:SearchResults>
Expand All @@ -35,7 +35,7 @@
</div>

<br clear="all" />
<$mt:Include module="Footer"$>
<$mt:Include module="<__trans phrase="Footer">"$>

</div> <!-- end container -->
</body>
Expand Down

0 comments on commit 786747a

Please sign in to comment.