From: <ru...@us...> - 2009-06-05 07:17:11
|
Revision: 6899 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6899&view=rev Author: rurban Date: 2009-06-05 07:16:56 +0000 (Fri, 05 Jun 2009) Log Message: ----------- add more wikilens templates Added Paths: ----------- trunk/themes/wikilens/templates/newuserwelcomepage.tmpl trunk/themes/wikilens/templates/ratings.tmpl Added: trunk/themes/wikilens/templates/newuserwelcomepage.tmpl =================================================================== --- trunk/themes/wikilens/templates/newuserwelcomepage.tmpl (rev 0) +++ trunk/themes/wikilens/templates/newuserwelcomepage.tmpl 2009-06-05 07:16:56 UTC (rev 6899) @@ -0,0 +1,28 @@ +<?php // -*-php-*- + rcs_id('$Id$'); + $dbi = $request->getDbh(); +?> +<div> +<h2>Welcome <?= $FRIEND ?></h2> +<p>Welcome to <?= WIKI_NAME ?>. A good place to learn about <?= WIKI_NAME ?> is to check out the <a href="<?= WikiUrl(WIKI_NAME.'/' +._("Tutorial"), '', true); ?>"><?= WIKI_NAME ?> Tutorial</a></p> +<br /> +<?php if ($PAGE1 || $PAGE2 || $PAGE3) { ?> +Here are pages on <?= WIKI_NAME ?> that <?= $SENDER ?> thinks you will be interested in:<br /> +<?php + foreach (array($PAGE1, $PAGE2, $PAGE3) as $pagename) { + if ($dbi->isWikiPage($pagename)) { +?> + <a href="<?= WikiUrl($pagename, '', true); ?>"><?= $pagename ?></a><br> +<?php + } + } + } +?> +<br /> +<?php if ($dbi->isWikiPage($SENDERUSERNAME)) { ?> +<p>Also, <?= $SENDER; ?> has his own homepage at <?= WIKI_NAME ?>: <a href="<?= WikiUrl($SENDERUSERNAME, '', true); ?>"><?= $SENDER ?>'s page</a></p> +<?php } ?> +<br> +<p>To create your own login on <?= WIKI_NAME ?>, you can <a href="<?= WikiUrl('NewUserRegister', '', true) ?>">Register</a></p> +</div> Property changes on: trunk/themes/wikilens/templates/newuserwelcomepage.tmpl ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/wikilens/templates/ratings.tmpl =================================================================== --- trunk/themes/wikilens/templates/ratings.tmpl (rev 0) +++ trunk/themes/wikilens/templates/ratings.tmpl 2009-06-05 07:16:56 UTC (rev 6899) @@ -0,0 +1,8 @@ +<?php // -*-php-*- +rcs_id('$Id$'); +?> +<!-- Ratings --> +<?php if (!$WikiTheme->DUMP_MODE) { + $loader = new WikiPluginLoader(); + printXML($loader->expandPI("<"."?plugin RateIt show=top imgPrefix=BStar ?".">", $request, $dbi->_markup)); +} ?> Property changes on: trunk/themes/wikilens/templates/ratings.tmpl ___________________________________________________________________ Added: svn:keywords + Id This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |