summaryrefslogtreecommitdiff
path: root/modules/mod_random_pages.tpl
blob: 5693e5ade9d9ae4304c2290e31ac3803ed91466d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{strip}
{if $gBitSystem->isPackageActive( 'wiki' ) && $modRandomPages}
	{bitmodule title="$moduleTitle" name="random_pages"}
		<ol class="wiki">
			{foreach from=$modRandomPages key=contentId item=pageHash}
				<li><a href="{$modRandomPages.$contentId.display_url}">{$modRandomPages.$contentId.title|escape}</a></li>
			{foreachelse}
				<li></li>
			{/foreach}
		</ol>
	{/bitmodule}
{/if}
{/strip}