[pLog-svn] r4249 -
plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Mon Nov 6 19:35:42 GMT 2006
Author: oscar
Date: 2006-11-06 19:35:41 +0000 (Mon, 06 Nov 2006)
New Revision: 4249
Modified:
plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard/info.template
plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard/shoutbox.template
plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard/shoutbox_history.template
Log:
some more fixes for the shoutbox plugin
Modified: plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard/info.template
===================================================================
--- plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard/info.template 2006-11-05 21:24:17 UTC (rev 4248)
+++ plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard/info.template 2006-11-06 19:35:41 UTC (rev 4249)
@@ -1,5 +1,5 @@
{include file="$blogtemplate/header.template"}
- <h2>{$locale->tr("info")}</h2>
+ <h2>{$locale->tr("info")}</h2>
<p>{$locale->tr($message)}</p>
<p><a href="javascript:history.go(-1)">{$locale->tr("back")}</a></p>
{include file="$blogtemplate/footer.template"}
Modified: plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard/shoutbox.template
===================================================================
--- plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard/shoutbox.template 2006-11-05 21:24:17 UTC (rev 4248)
+++ plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard/shoutbox.template 2006-11-06 19:35:41 UTC (rev 4249)
@@ -36,7 +36,7 @@
{assign var="shoutsEnabled" value=$shoutbox->isShoutboxEnabled()}
{if $shoutsEnabled}
-<form method='post' action='{$url->getIndexUrl()}?op=shoutboxNewShout'>
+<form method='post' action='{$url->getIndexUrl()}?op=shoutboxNewShout&blogId={$blog->getId()}'>
<input type="hidden" name="shoutbox_return" value="{$url->blogLink()}" />
<textarea name="shoutbox_text" cols="15" rows="2" onfocus="shoutbox_clearField(this)" onblur="shoutbox_resetField(this)">{$defaultShout}</textarea>
<br />
Modified: plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard/shoutbox_history.template
===================================================================
--- plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard/shoutbox_history.template 2006-11-05 21:24:17 UTC (rev 4248)
+++ plugins/branches/lifetype-1.1/shoutbox/templates-sample/standard/shoutbox_history.template 2006-11-06 19:35:41 UTC (rev 4249)
@@ -5,11 +5,11 @@
<h1>Shoutbox History</h1>
{if $prev_page}
-<a href='{$url->getIndexUrl()}?op=shoutboxHistory&page={$prev_page}'>« {$locale->tr("prev_page")}</a>
+<a href='{$url->getIndexUrl()}?op=shoutboxHistory&page={$prev_page}&blogId={$blog->getId()}'>« {$locale->tr("prev_page")}</a>
{/if}
{if $next_page}
-<a href='{$url->getIndexUrl()}?op=shoutboxHistory&page={$next_page}'>{$locale->tr("next_page")} »</a>
+<a href='{$url->getIndexUrl()}?op=shoutboxHistory&page={$next_page}&blogId={$blog->getId()}'>{$locale->tr("next_page")} »</a>
{/if}
<br /><br />
@@ -21,11 +21,11 @@
<p>
{if $prev_page}
-<a href='{$url->getIndexUrl()}?op=shoutboxHistory&page={$prev_page}'>« {$locale->tr("prev_page")}</a>
+<a href='{$url->getIndexUrl()}?op=shoutboxHistory&page={$prev_page}&blogId={$blog->getId()}'>« {$locale->tr("prev_page")}</a>
{/if}
{if $next_page}
-<a href='{$url->getIndexUrl()}?op=shoutboxHistory&page={$next_page}'>{$locale->tr("next_page")} »</a>
+<a href='{$url->getIndexUrl()}?op=shoutboxHistory&page={$next_page}&blogId={$blog->getId()}'>{$locale->tr("next_page")} »</a>
{/if}
</p>
More information about the pLog-svn
mailing list