diff options
Diffstat (limited to 'modules/mod_recent_page_changes.tpl')
| -rw-r--r-- | modules/mod_recent_page_changes.tpl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/mod_recent_page_changes.tpl b/modules/mod_recent_page_changes.tpl new file mode 100644 index 0000000..27fa56c --- /dev/null +++ b/modules/mod_recent_page_changes.tpl @@ -0,0 +1,24 @@ +{strip} +{if $gBitSystem->isPackageActive( 'wiki' ) && $modLastModif} + {bitmodule title="$moduleTitle" name="last_modif_pages"} + <ol> + {section name=ix loop=$modLastModif} + <li> + <a href="{$modLastModif[ix].display_url}" title="{$modLastModif[ix].title|escape} - {displayname user=$modLastModif[ix].modifier_user real_name=$modLastModif[ix].modifier_real_name nolink=1}, {$modLastModif[ix].last_modified|bit_short_date}"> + {if $maxlen gt 0} + {$modLastModif[ix].title|escape|truncate:$maxlen:"...":true} + {else} + {$modLastModif[ix].title|escape} + {/if} + </a> + </li> + {sectionelse} + <li></li> + {/section} + </ol> + {if $gBitUser->hasPermission( 'p_wiki_list_pages') } + <a class="more" href="{$smarty.const.WIKI_PKG_URL}list_pages.php?sort_mode=last_modified_desc">{tr}Show More{/tr}…</a> + {/if} + {/bitmodule} +{/if} +{/strip} |
