[pLog-svn] r5623 - templates/branches/lifetype-1.2/unported/pink_lilies
oscar at renalias.net
oscar at renalias.net
Sat Jul 7 07:31:29 EDT 2007
Why don't you use text-transform:capitalize in the CSS file in the
appropriate class? That way we won't have to change all locales (which
I've already submitted to translators to update them for 1.2.4)
On 7/6/07, Jon Daley <plogworld at jon.limedaley.com> wrote:
> Is there any reason why "archives" and "search" aren't capitalized
> in the en_UK locale, but "Menu", "Links", "Categories", etc. are? I think
> the smarty |capitalize breaks for UTF-8 languages, right? Can I
> capitalize "archives" and "search" in the locale - then I could remove the
> capitalize from the template.
>
> On Fri, 6 Jul 2007, jondaley at devel.lifetype.net wrote:
>
> > Author: jondaley
> > Date: 2007-07-06 10:39:35 -0400 (Fri, 06 Jul 2007)
> > New Revision: 5623
> >
> > Modified:
> > templates/branches/lifetype-1.2/unported/pink_lilies/panel.template
> > templates/branches/lifetype-1.2/unported/pink_lilies/post.template
> >
> templates/branches/lifetype-1.2/unported/pink_lilies/postandcomments.template
> >
> templates/branches/lifetype-1.2/unported/pink_lilies/searchresults.template
> > templates/branches/lifetype-1.2/unported/pink_lilies/style.css
> > Log:
> > ported to 1.2, and removed height restrictions, so the image shows better
> - it is done kind of funny - that the sidebar is outside of the 'content'
> div, so the background doesn't continue down if the sidebar is longer than
> the posts, but I don't feel like rewriting the entire template
> >
> > Modified:
> templates/branches/lifetype-1.2/unported/pink_lilies/panel.template
> > ===================================================================
> > ---
> templates/branches/lifetype-1.2/unported/pink_lilies/panel.template 2007-07-06
> 13:41:47 UTC (rev 5622)
> > +++
> templates/branches/lifetype-1.2/unported/pink_lilies/panel.template 2007-07-06
> 14:39:35 UTC (rev 5623)
> > @@ -1,7 +1,7 @@
> >
> > <div id="menu">
> > <ul>
> > - <li id="search">{$locale->tr("search")}
> > + <li id="search">{$locale->tr("search")|capitalize}
> > <form name="search_form" method="post"
> > action="{$url->getIndexUrl()}">
> > <input type="text" name="searchTerms" value="" size="14" /><br/>
> > @@ -37,7 +37,7 @@
> > </li>
> >
> > <li id="archives">
> > - {$locale->tr("archives")}
> > + {$locale->tr("archives")|capitalize}
> > <ul>
> > {foreach from=$archives item=archivelink}
> > <li><a
> href="{$archivelink->getUrl()}">{$archivelink->getName()}</a></li>
> >
> > Modified:
> templates/branches/lifetype-1.2/unported/pink_lilies/post.template
> > ===================================================================
> > ---
> templates/branches/lifetype-1.2/unported/pink_lilies/post.template 2007-07-06
> 13:41:47 UTC (rev 5622)
> > +++
> templates/branches/lifetype-1.2/unported/pink_lilies/post.template 2007-07-06
> 14:39:35 UTC (rev 5623)
> > @@ -21,7 +21,7 @@
> > </div>
> > <div class="feedback">
> > <a href="{$url->postPermalink($post)}#comments"
> title="{$locale->tr("comment on this")}">
> > - {if $post->getNumComments() eq 0}{$locale->tr("comment on
> this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
> > + {if $post->getNumComments() == 0}{$locale->tr("comment on
> this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
> > </a> |
> > {if $post->getNumTrackbacks() > 0}
> > <a href="{$url->postTrackbackStatsLink($post)}"
> title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()}
> {$locale->tr("trackbacks")}</a>
> >
> > Modified:
> templates/branches/lifetype-1.2/unported/pink_lilies/postandcomments.template
> > ===================================================================
> > ---
> templates/branches/lifetype-1.2/unported/pink_lilies/postandcomments.template 2007-07-06
> 13:41:47 UTC (rev 5622)
> > +++
> templates/branches/lifetype-1.2/unported/pink_lilies/postandcomments.template 2007-07-06
> 14:39:35 UTC (rev 5623)
> > @@ -35,9 +35,11 @@
> > </li>
> > {/foreach}
> > </ol>
> > + {pager style="links"}
> > +
> > {if $blogsettings->getValue("comments_enabled") &&
> $post->getCommentsEnabled()==1}
> > <h2>{$locale->tr("add_comment")}</h2>
> > - {include file="$blogtemplate/commentform.template"}
> > + {include file="$misctemplatepath/commentform.template"}
> > {/if}
> > </div>
> > </div>
> >
> > Modified:
> templates/branches/lifetype-1.2/unported/pink_lilies/searchresults.template
> > ===================================================================
> > ---
> templates/branches/lifetype-1.2/unported/pink_lilies/searchresults.template 2007-07-06
> 13:41:47 UTC (rev 5622)
> > +++
> templates/branches/lifetype-1.2/unported/pink_lilies/searchresults.template 2007-07-06
> 14:39:35 UTC (rev 5623)
> > @@ -15,6 +15,7 @@
> > </div>
> > <br/>
> > {/foreach}
> > + {pager style="links"}
> > </p>
> > </div>
> > {include file="$blogtemplate/panel.template"}
> >
> > Modified: templates/branches/lifetype-1.2/unported/pink_lilies/style.css
> > ===================================================================
> > ---
> templates/branches/lifetype-1.2/unported/pink_lilies/style.css 2007-07-06
> 13:41:47 UTC (rev 5622)
> > +++
> templates/branches/lifetype-1.2/unported/pink_lilies/style.css 2007-07-06
> 14:39:35 UTC (rev 5623)
> > @@ -79,7 +79,6 @@
> > }
> >
> > #content {
> > -/* position: relative;*/
> > background: url(imgs/lilies.jpg) repeat-y #F9F5E7;
> > text-align: left;
> > width: 718px;
> > @@ -87,11 +86,10 @@
> > float: left;
> > color: #666;
> > clear: both;
> > - min-height: 800px;
> > + min-height: 900px;
> > voice-family: "\"}\"";
> > voice-family: inherit;
> > width: 558px;
> > - height: 527px;
> > }
> >
> > #content .post {
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://limedaley.com/mailman/listinfo/plog-svn
> >
>
> --
> Jon Daley
> http://jon.limedaley.com/
>
> If I am not for myself, who will be for me?
> If I am not for others, what am I?
> And if not now, when?
> -- Rabbi Hillel
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
More information about the pLog-svn
mailing list