diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mod_breadcrumb.tpl | 4 | ||||
| -rw-r--r-- | modules/mod_random_pages.php | 8 | ||||
| -rw-r--r-- | modules/mod_top_pages.tpl | 4 | ||||
| -rw-r--r-- | modules/mod_wiki_last_comments.tpl | 4 |
4 files changed, 12 insertions, 8 deletions
diff --git a/modules/mod_breadcrumb.tpl b/modules/mod_breadcrumb.tpl index a3f1a9c..ded4e3f 100644 --- a/modules/mod_breadcrumb.tpl +++ b/modules/mod_breadcrumb.tpl @@ -1,11 +1,11 @@ -{* $Header: /cvsroot/bitweaver/_bit_wiki/modules/Attic/mod_breadcrumb.tpl,v 1.2 2005/07/17 17:36:46 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_wiki/modules/Attic/mod_breadcrumb.tpl,v 1.3 2005/08/07 17:46:50 squareing Exp $ *} {strip} {if $gBitSystem->isFeatureActive( 'feature_featuredLinks' )} {bitmodule title="$moduleTitle" name="breadcrumb"} <ol class="wiki"> {section name=ix loop=$breadCrumb} <li> - <a href="{$gBitLoc.WIKI_PKG_URL}index.php?page={$breadCrumb[ix]}"> + <a href="{$smarty.const.WIKI_PKG_URL}index.php?page={$breadCrumb[ix]}"> {if $maxlen > 0} {$breadCrumb[ix]|truncate:$maxlen:"...":true} {else} diff --git a/modules/mod_random_pages.php b/modules/mod_random_pages.php index 98ca63b..65aa658 100644 --- a/modules/mod_random_pages.php +++ b/modules/mod_random_pages.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_random_pages.php,v 1.4 2005/08/01 18:42:06 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_random_pages.php,v 1.5 2005/08/07 17:46:50 squareing Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,10 +8,14 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: mod_random_pages.php,v 1.4 2005/08/01 18:42:06 squareing Exp $ + * $Id: mod_random_pages.php,v 1.5 2005/08/07 17:46:50 squareing Exp $ * @package wiki * @subpackage modules */ + +/** + * Required files + */ require_once( WIKI_PKG_PATH.'BitPage.php' ); global $wikilib; diff --git a/modules/mod_top_pages.tpl b/modules/mod_top_pages.tpl index 48f0a6e..fbe2eff 100644 --- a/modules/mod_top_pages.tpl +++ b/modules/mod_top_pages.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_top_pages.tpl,v 1.4 2005/08/01 18:42:06 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_top_pages.tpl,v 1.5 2005/08/07 17:46:50 squareing Exp $ *} {strip} {if $gBitSystem->isPackageActive( 'wiki' )} {if $nonums eq 'y'} @@ -9,7 +9,7 @@ {bitmodule title="$moduleTitle" name="top_pages"} <ol class="wiki"> {section name=ix loop=$modTopPages} - <li><a href="{$gBitLoc.WIKI_PKG_URL}index.php?page={$modTopPages[ix].page_name}">{$modTopPages[ix].title}</a></li> + <li><a href="{$smarty.const.WIKI_PKG_URL}index.php?page={$modTopPages[ix].page_name}">{$modTopPages[ix].title}</a></li> {sectionelse} <li></li> {/section} diff --git a/modules/mod_wiki_last_comments.tpl b/modules/mod_wiki_last_comments.tpl index a263430..1a54823 100644 --- a/modules/mod_wiki_last_comments.tpl +++ b/modules/mod_wiki_last_comments.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_wiki_last_comments.tpl,v 1.1 2005/06/19 06:12:45 bitweaver Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_wiki/modules/mod_wiki_last_comments.tpl,v 1.2 2005/08/07 17:46:50 squareing Exp $ *} {if $lastComments} {if $nonums eq 'y'} {eval var="{tr}Last `$module_rows` wiki comments{/tr}" assign="tpl_module_title"} @@ -9,7 +9,7 @@ <ul class="wiki"> {section name=ix loop=$lastComments} <li class="{cycle values="odd,even"}"> - <a href="{$gBitLoc.WIKI_PKG_URL}index.php?content_id={$lastComments[ix].content_id}" title="{$lastComments[ix].comment_date|bit_short_datetime}, by {displayname hash=$lastComments[ix] nolink=1}{if $moretooltips eq 'y'} on page {$lastComments[ix].page}{/if}"> + <a href="{$smarty.const.WIKI_PKG_URL}index.php?content_id={$lastComments[ix].content_id}" title="{$lastComments[ix].comment_date|bit_short_datetime}, by {displayname hash=$lastComments[ix] nolink=1}{if $moretooltips eq 'y'} on page {$lastComments[ix].page}{/if}"> {if $moretooltips ne 'y'} <b>{$lastComments[ix].content_title}</b>: {/if} {$lastComments[ix].title} |
