[pLog-svn] r3223 - in plog/trunk: locale templates/summary

Mark Wu markplace at gmail.com
Mon Apr 10 19:15:30 GMT 2006


Hi All:

Okay, now we have tagCloud-like global article categories in our front =
page.


The last thing for summary page is rss stuffs, I will try to finish it
tomorrow ... zzzZZZ

Mark=20

> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net=20
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of=20
> mark at devel.lifetype.net
> Sent: Tuesday, April 11, 2006 2:50 AM
> To: plog-svn at devel.lifetype.net
> Subject: [pLog-svn] r3223 - in plog/trunk: locale templates/summary
>=20
> Author: mark
> Date: 2006-04-10 18:50:00 +0000 (Mon, 10 Apr 2006) New Revision: 3223
>=20
> Modified:
>    plog/trunk/locale/locale_en_UK.php
>    plog/trunk/locale/locale_zh_TW.php
>    plog/trunk/templates/summary/blogslist.template
>    plog/trunk/templates/summary/index.template
>    plog/trunk/templates/summary/postslist.template
> Log:
> Some summary template cosmetics change with some new locale messages.
>=20
> Modified: plog/trunk/locale/locale_en_UK.php
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- plog/trunk/locale/locale_en_UK.php	2006-04-10=20
> 18:41:10 UTC (rev 3222)
> +++ plog/trunk/locale/locale_en_UK.php	2006-04-10=20
> 18:50:00 UTC (rev 3223)
> @@ -1012,5 +1012,6 @@
>  $messages['error_comment_spam_throw_away'] =3D 'You cannot=20
> post this message. Anti-spam filter has blocked it.'; =20
> $messages['error_comment_spam_keep'] =3D 'The anti-spam filter=20
> has put your comment in the moderation queue and it will have=20
> to be approved by the blog owner.';
> =20
> -
> +$messages['blog_categories'] =3D 'Blog Categories';=20
> +$messages['globa_article_categories'] =3D 'Global Article =
Categories';
>  ?>
> \ No newline at end of file
>=20
> Modified: plog/trunk/locale/locale_zh_TW.php
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- plog/trunk/locale/locale_zh_TW.php	2006-04-10=20
> 18:41:10 UTC (rev 3222)
> +++ plog/trunk/locale/locale_zh_TW.php	2006-04-10=20
> 18:50:00 UTC (rev 3223)
> @@ -991,4 +991,27 @@
> =20
>  $messages['error_post_status'] =3D =
'=BD=D0=BF=EF=BE=DC=A4=E5=B3=B9=AA=AC=BAA=A1C';
>  $messages['error_comment_status'] =3D =
'=BD=D0=BF=EF=BE=DC=B0j=C5T=AA=AC=BAA=A1C';
> +$messages['admin_mode'] =3D 'Admin Mode';=20
> +$messages['administrate_user_blog'] =3D 'Administrate this blog';=20
> +$messages['trackbacks_updated_ok'] =3D '%s trackbacks updated=20
> +successfully'; $messages['trackback_updated_ok'] =3D=20
> 'Trackback updated=20
> +successfully'; $messages['error_trackback_status'] =3D 'Please=20
> select a=20
> +valid status'; $messages['error_incorrect_user'] =3D 'User is=20
> not valid';=20
> +$messages['select'] =3D 'Select'; $messages['remove_selected']=20
> =3D 'Remove=20
> +Selected';
> +
> +$messages['notification_subject'] =3D 'LifeType Notification System'; =

> +$messages['error_no_trackback_links_sent'] =3D 'Warning: No =
Trackbacks=20
> +were sent.';
> +
> +$messages['logout_destination_url'] =3D 'URL where users will be sent =

> +when logging out, like for examplethe front page of your=20
> service. Leave=20
> +empty in order to use the default value (the login page) [Default =3D =

> +empty]';
> +
> +$messages['help_http_cache_lifetime'] =3D 'Lifetime in seconds of the =

> +client side cache (browsers will not return to the server for this=20
> +long, and pages will be served from the local cache.  This greatly=20
> +speeds up the browsing experience, but will delay post and comment=20
> +visibility. [Default =3D 1800]';
> +
> +$messages['trackbacks_no_trackback'] =3D 'Sending a trackback to the=20
> +following URL failed: ';
> +
> +$messages['error_comment_spam_throw_away'] =3D 'You cannot post this=20
> +message. Anti-spam filter has blocked it.';=20
> +$messages['error_comment_spam_keep'] =3D 'The anti-spam filter has =
put=20
> +your comment in the moderation queue and it will have to be=20
> approved by=20
> +the blog owner.';
> +
> +$messages['blog_categories'] =3D '=BA=F4=BBx=A4=C0=C3=FE';
> +$messages['global_article_categories'] =3D =
'=A5=FE=AF=B8=A4=E5=B3=B9=A4=C0=C3=FE';
>  ?>
> \ No newline at end of file
>=20
> Modified: plog/trunk/templates/summary/blogslist.template
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- plog/trunk/templates/summary/blogslist.template=09
> 2006-04-10 18:41:10 UTC (rev 3222)
> +++ plog/trunk/templates/summary/blogslist.template=09
> 2006-04-10 18:50:00 UTC (rev 3223)
> @@ -1,10 +1,11 @@
>  {include file=3D"summary/header.template"=20
> section=3D$locale->tr("blogs")}  <div id=3D"onecolumn">
>      <div id=3D"intro">
> -		{foreach from=3D$blogCategories item=3DblogCategory}
> -			{math assign=3DfontSize=20
> equation=3D"(int)((x-y)/step)+12"=20
> x=3D$blogCategory->getNumActiveBlogs() y=3D$min step=3D$step}
> -			<span class=3D"tag"><a style=3D"font-size:=20
> {$fontSize}px"=20
> href=3D"?op=3DBlogList&amp;blogCategoryId=3D{$blogCategory->getId()}
> ">{$blogCategory->getName()}</a></span>
> -		{/foreach}
> +	<h4>{$locale->tr("blog_categories")}</h4>
> +	{foreach from=3D$blogCategories item=3DblogCategory}
> +		{math assign=3DfontSize=20
> equation=3D"(int)((x-y)/step)+12"=20
> x=3D$blogCategory->getNumActiveBlogs() y=3D$min step=3D$step}
> +		<span class=3D"tag"><a style=3D"font-size:=20
> {$fontSize}px"=20
> href=3D"?op=3DBlogList&amp;blogCategoryId=3D{$blogCategory->getId()}
> ">{$blogCategory->getName()}</a></span>
> +	{/foreach}
>      </div>
>      {if empty($currentBlogCategory)}
>      	<h4>{$locale->tr("all")}</h4>
>=20
> Modified: plog/trunk/templates/summary/index.template
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- plog/trunk/templates/summary/index.template=09
> 2006-04-10 18:41:10 UTC (rev 3222)
> +++ plog/trunk/templates/summary/index.template=09
> 2006-04-10 18:50:00 UTC (rev 3223)
> @@ -44,6 +44,7 @@
>      </div>
>  	<br/>
>      <div id=3D"intro">
> +	<h4>{$locale->tr("global_article_categories")}</h4>
>  	{foreach from=3D$globalArticleCategories=20
> item=3DglobalArticleCategory}
>  		{math assign=3DfontSize=20
> equation=3D"(int)((x-y)/step)+12"=20
> x=3D$globalArticleCategory->getNumActiveArticles() y=3D$min =
step=3D$step}
>  		<span class=3D"tag"><a style=3D"font-size:=20
> {$fontSize}px"=20
> href=3D"?op=3DPostList&amp;globalArticleCategoryId=3D{$globalArticle
> Category->getId()}">{$globalArticleCategory->getName()}</a></span>
>=20
> Modified: plog/trunk/templates/summary/postslist.template
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- plog/trunk/templates/summary/postslist.template=09
> 2006-04-10 18:41:10 UTC (rev 3222)
> +++ plog/trunk/templates/summary/postslist.template=09
> 2006-04-10 18:50:00 UTC (rev 3223)
> @@ -1,6 +1,7 @@
>  {include file=3D"summary/header.template"=20
> section=3D$locale->tr("blogs")}  <div id=3D"onecolumn">
>      <div id=3D"intro">
> +	<h4>{$locale->tr("global_article_categories")}</h4>
>  	{foreach from=3D$globalArticleCategories=20
> item=3DglobalArticleCategory}
>  		{math assign=3DfontSize=20
> equation=3D"(int)((x-y)/step)+12"=20
> x=3D$globalArticleCategory->getNumActiveArticles() y=3D$min =
step=3D$step}
>  		<span class=3D"tag"><a style=3D"font-size:=20
> {$fontSize}px"=20
> href=3D"?op=3DPostList&amp;globalArticleCategoryId=3D{$globalArticle
> Category->getId()}">{$globalArticleCategory->getName()}</a></span>
>=20
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list