added restore option to wiki page

This commit is contained in:
JT Smith 2007-01-17 23:33:58 +00:00
parent 1497c991a1
commit 301b815e3a
7 changed files with 120 additions and 3 deletions

View file

@ -22,10 +22,13 @@
- Fixed a bug with RSS feed generation and attachments.
- fix: notifications from postings
- Refactored the autocommit system to fix the notifications bug above.
- fix: Security Update: Cross-Site Scripting Vulnerability
- fixed corner case which causes the user profile to not load in cases where
custom forms do not work or are broken. It now skips these and throws a
warning
- fix: Added javascript confirmation for deleting wiki pages.
- Made wiki page deletes more visable/useful from recent changes.
- fix: Wiki Deleting Pages
- fix: Collaboration rss broken (perlDreamer Consulting, LLC)

View file

@ -0,0 +1,30 @@
#WikiFrontTmpl000000001
<tmpl_if session.var.adminOn><p><tmpl_var controls></p></tmpl_if>
<tmpl_if displayTitle><h2><tmpl_var title></h2></tmpl_if>
<tmpl_var description>
<h3><tmpl_var searchLabel></h3>
<tmpl_var searchFormHeader><tmpl_var searchQuery><tmpl_var searchSubmit><tmpl_var searchFormFooter>
<br />
<div style="float: left; width: 50%;">
<h3><a href="<tmpl_var recentChangesUrl>"><tmpl_var recentChangesLabel></a></h3>
<ul><tmpl_loop recentChanges>
<li>
<tmpl_if isAvailable>
<a href="<tmpl_var url>"><tmpl_var title></a>
<tmpl_else>
<tmpl_var title> (<tmpl_var actionTaken>)
</tmpl_if>
</li>
</tmpl_loop></ul>
</div>
<div style="float: left;">
<h3><a href="<tmpl_var mostPopularUrl>"><tmpl_var mostPopularLabel></a></h3>
<ol><tmpl_loop mostPopular>
<li><a href="<tmpl_var url>"><tmpl_var title></a></li>
</tmpl_loop></ol>
</div>
<div style="clear: both;"></div>

View file

@ -0,0 +1,19 @@
#WikiRCTmpl000000000001
<h2><tmpl_var title></h2>
<ul><tmpl_loop recentChanges>
<li>
<tmpl_if isAvailable>
<a href="<tmpl_var url>"><tmpl_var title></a> - <tmpl_var actionTaken> on <tmpl_var date> by <tmpl_var username>
<tmpl_else>
<tmpl_var title> - <tmpl_var actionTaken> on <tmpl_var date> by <tmpl_var username>
<tmpl_if canAdminister>
( <a href="<tmpl_var restoreUrl>"><tmpl_var restoreLabel></a> )
</tmpl_if>
</tmpl_if>
</li>
</tmpl_loop></ul>
<div style="padding: 8px;"><a href="<tmpl_var searchUrl>"><tmpl_var searchLabel></a> | <a href="<tmpl_var mostPopularUrl>"><tmpl_var mostPopularLabel></a> | <a href="<tmpl_var wikiHomeUrl>"><tmpl_var wikiHomeLabel></a></div>