|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Wiki Navigation
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:wiki.action == "diff" ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:len(chrome.links.prev) ?> ←
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:chrome.links.prev.0.title ?>">Previous Change
|
|
|
4c79b5 |
else ?>
|
|
|
4c79b5 |
← Previous Change
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Page History
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:len(chrome.links.next) ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:chrome.links.next.0.title ?>">Next Change →
|
|
|
4c79b5 |
else ?>
|
|
|
4c79b5 |
Next Change →
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
elif:wiki.action == "history" ?>
|
|
|
4c79b5 |
View Latest Version
|
|
|
4c79b5 |
else ?>
|
|
|
4c79b5 |
Start Page
|
|
|
4c79b5 |
Index by Title
|
|
|
4c79b5 |
Index by Date
|
|
|
4c79b5 |
Last Change
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:wiki.version - wiki.old_version > 1 ?>
|
|
|
4c79b5 |
set:first_version = wiki.old_version + 1 ?>
|
|
|
4c79b5 |
set:version_range = "versions "+first_version+" to "+wiki.version+" of " ?>
|
|
|
4c79b5 |
set:delete_what = "those versions" ?>
|
|
|
4c79b5 |
elif:wiki.version ?>
|
|
|
4c79b5 |
set:version_range = "version "+wiki.version+" of " ?>
|
|
|
4c79b5 |
set:delete_what = "this version" ?>
|
|
|
4c79b5 |
else ?>
|
|
|
4c79b5 |
set:version_range = "" ?>
|
|
|
4c79b5 |
set:delete_what = "page" ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
Delete
|
|
|
4c79b5 |
var:wiki.current_href ?>">
|
|
|
4c79b5 |
<form action="<?cs var:wiki.current_href ?>" method="post">
|
|
|
4c79b5 |
<input type="hidden" name="action" value="delete" />
|
|
|
4c79b5 |
Are you sure you want to
|
|
|
4c79b5 |
if:!?wiki.version ?>completely
|
|
|
4c79b5 |
/if ?>delete this page?
|
|
|
4c79b5 |
if:wiki.only_version ?>
|
|
|
4c79b5 |
This is the only version the page, so the page will be removed
|
|
|
4c79b5 |
completely!
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if:?wiki.version ?>
|
|
|
4c79b5 |
<input type="hidden" name="version" value="<?cs var:wiki.version ?>" />
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if:wiki.old_version ?>
|
|
|
4c79b5 |
<input type="hidden" name="old_version" value="<?cs var:wiki.old_version ?>" />
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
This is an irreversible operation.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="submit" name="cancel" value="Cancel" />
|
|
|
4c79b5 |
<input type="submit" value="Delete <?cs var:delete_what ?>" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Changes
|
|
|
4c79b5 |
if:wiki.old_version ?>between
|
|
|
4c79b5 |
Version and
|
|
|
4c79b5 |
else ?>from
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
Version of
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<form method="post" id="prefs" action="<?cs var:wiki.current_href ?>">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="hidden" name="action" value="diff" />
|
|
|
4c79b5 |
<input type="hidden" name="version" value="<?cs var:wiki.version ?>" />
|
|
|
4c79b5 |
<input type="hidden" name="old_version" value="<?cs var:wiki.old_version ?>" />
|
|
|
4c79b5 |
<label>View differences <select name="style">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:diff.style == 'inline' ?> selected="selected"
|
|
|
4c79b5 |
/if ?>>inline</option>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:diff.style == 'sidebyside' ?> selected="selected"
|
|
|
4c79b5 |
/if ?>>side by side</option>
|
|
|
4c79b5 |
</select></label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Show
|
|
|
4c79b5 |
maxlength="3" value="" />
|
|
|
4c79b5 |
<label for="contextlines">lines around each change</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<fieldset id="ignore">
|
|
|
4c79b5 |
<legend>Ignore:</legend>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:diff.options.ignoreblanklines ?> checked="checked" />
|
|
|
4c79b5 |
<label for="blanklines">Blank lines</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:diff.options.ignorecase ?> checked="checked" />
|
|
|
4c79b5 |
<label for="case">Case changes</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:diff.options.ignorewhitespace ?> checked="checked" />
|
|
|
4c79b5 |
<label for="whitespace">White space changes</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</fieldset>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="submit" name="update" value="Update" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Author:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:wiki.num_changes > 1 ?>(multiple changes)
|
|
|
4c79b5 |
else ?> (IP:
|
|
|
4c79b5 |
var:wiki.ipnr ?>)
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
Timestamp:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:wiki.num_changes > 1 ?>(multiple changes)
|
|
|
4c79b5 |
elif:wiki.time ?> ( ago)
|
|
|
4c79b5 |
else ?>--
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
Comment:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:wiki.num_changes > 1 ?>(multiple changes)
|
|
|
4c79b5 |
else ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Legend:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Unmodified
|
|
|
4c79b5 |
Added
|
|
|
4c79b5 |
Removed
|
|
|
4c79b5 |
Modified
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:diff.style == 'sidebyside' ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Version
|
|
|
4c79b5 |
Version
|
|
|
4c79b5 |
|
|
|
4c79b5 |
each:change = wiki.diff ?>
|
|
|
4c79b5 |
call:diff_display(change, diff.style) ?>
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
else ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
v
|
|
|
4c79b5 |
alt:wiki.old_version ?>0
|
|
|
4c79b5 |
v
|
|
|
4c79b5 |
var:wiki.version ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
each:change = wiki.diff ?>
|
|
|
4c79b5 |
call:diff_display(change, diff.style) ?>
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:trac.acl.WIKI_DELETE &&
|
|
|
4c79b5 |
(len(wiki.diff) == 0 || wiki.version == wiki.latest_version) ?>
|
|
|
4c79b5 |
<form method="get" action="<?cs var:wiki.current_href ?>">
|
|
|
4c79b5 |
<input type="hidden" name="action" value="delete" />
|
|
|
4c79b5 |
<input type="hidden" name="version" value="<?cs var:wiki.version ?>" />
|
|
|
4c79b5 |
<input type="hidden" name="old_version" value="<?cs var:wiki.old_version ?>" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:wiki.version - wiki.old_version > 1 ?> version
|
|
|
4c79b5 |
var:wiki.old_version+1 ?> to
|
|
|
4c79b5 |
/if ?>version " />
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Change History of
|
|
|
4c79b5 |
var:wiki.page_name ?>
|
|
|
4c79b5 |
<form class="printableform" method="get" action="">
|
|
|
4c79b5 |
<input type="hidden" name="action" value="diff" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="submit" value="View changes" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Version
|
|
|
4c79b5 |
Date
|
|
|
4c79b5 |
Author
|
|
|
4c79b5 |
Comment
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:item.version ?>"
|
|
|
4c79b5 |
if:name(item) == 1 ?> checked="checked"
|
|
|
4c79b5 |
/if ?> />
|
|
|
4c79b5 |
var:item.version ?>"
|
|
|
4c79b5 |
if:name(item) == 0 ?> checked="checked"
|
|
|
4c79b5 |
/if ?> />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:item.url ?>" title="View this version">
|
|
|
4c79b5 |
var:item.version ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:item.author ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:len(wiki.history) > #10 ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="submit" value="View changes" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Editing ""
|
|
|
4c79b5 |
if wiki.action == "preview" ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Preview of future version (modified by )
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<fieldset id="preview">
|
|
|
4c79b5 |
<legend>Preview (skip)</legend>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</fieldset>
|
|
|
4c79b5 |
elif wiki.action =="collision"?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Sorry, this page has been modified by somebody else since you started
|
|
|
4c79b5 |
editing. Your changes cannot be saved.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
<form id="edit" action="<?cs var:wiki.current_href ?>" method="post">
|
|
|
4c79b5 |
<fieldset class="iefix">
|
|
|
4c79b5 |
<input type="hidden" name="action" value="edit" />
|
|
|
4c79b5 |
<input type="hidden" name="version" value="<?cs var:wiki.version ?>" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:wiki.scroll_bar_pos ?>" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="editrows">Adjust edit area height:</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
onchange="resizeTextArea('text', this.options[selectedIndex].value)">
|
|
|
4c79b5 |
loop:rows = 8, 42, 4 ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:rows == wiki.edit_rows ?> selected="selected">
|
|
|
4c79b5 |
var:rows ?></option>
|
|
|
4c79b5 |
/loop ?>
|
|
|
4c79b5 |
</select>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:wiki.edit_rows ?>">
|
|
|
4c79b5 |
</textarea>
|
|
|
4c79b5 |
<script type="text/javascript">
|
|
|
4c79b5 |
var scrollBarPos = document.getElementById("scroll_bar_pos");
|
|
|
4c79b5 |
var text = document.getElementById("text");
|
|
|
4c79b5 |
addEvent(window, "load", function() {
|
|
|
4c79b5 |
if (scrollBarPos.value) text.scrollTop = scrollBarPos.value;
|
|
|
4c79b5 |
});
|
|
|
4c79b5 |
addEvent(text, "blur", function() { scrollBarPos.value = text.scrollTop });
|
|
|
4c79b5 |
</script>
|
|
|
4c79b5 |
</fieldset>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Note: See
|
|
|
4c79b5 |
?>/WikiFormatting">WikiFormatting and
|
|
|
4c79b5 |
?>/TracWiki">TracWiki for help on editing wiki content.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<fieldset id="changeinfo">
|
|
|
4c79b5 |
<legend>Change information</legend>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label>Your email or username:
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:wiki.author ?>" /></label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label>Comment about this change (optional):
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:wiki.comment?>" /></label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label>
|
|
|
4c79b5 |
if wiki.readonly == "1"?>checked="checked" />
|
|
|
4c79b5 |
Page is read-only</label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</fieldset>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if wiki.action == "collision" ?>
|
|
|
4c79b5 |
<input type="submit" name="preview" value="Preview" disabled="disabled" />
|
|
|
4c79b5 |
<input type="submit" name="save" value="Submit changes" disabled="disabled" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="submit" name="preview" value="Preview" accesskey="r" />
|
|
|
4c79b5 |
<input type="submit" name="save" value="Submit changes" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="submit" name="cancel" value="Cancel" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
var:htdocs_location ?>js/wikitoolbar.js"></script>
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Version (modified by , ago)
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Attachments
|
|
|
4c79b5 |
|
|
|
4c79b5 |
each:attachment = wiki.attachments ?>
|
|
|
4c79b5 |
var:attachment.href ?>">
|
|
|
4c79b5 |
var:attachment.filename ?> () -
|
|
|
4c79b5 |
if:attachment.description ?><q></q>,
|
|
|
4c79b5 |
/if ?> added by on
|
|
|
4c79b5 |
var:attachment.time ?>.
|
|
|
4c79b5 |
/each ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
&& (wiki.readonly == "0" || trac.acl.WIKI_ADMIN) ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if:trac.acl.WIKI_MODIFY ?>
|
|
|
4c79b5 |
<form method="get" action="<?cs var:wiki.current_href ?>">
|
|
|
4c79b5 |
<input type="hidden" name="action" value="edit" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
else ?>Create this page" accesskey="e" />
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
if:wiki.exists ?>
|
|
|
4c79b5 |
<form method="get" action="<?cs var:wiki.attach_href ?>">
|
|
|
4c79b5 |
<input type="hidden" name="action" value="new" />
|
|
|
4c79b5 |
<input type="submit" value="Attach file" />
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
if:wiki.exists && trac.acl.WIKI_DELETE ?>
|
|
|
4c79b5 |
<form method="get" action="<?cs var:wiki.current_href ?>">
|
|
|
4c79b5 |
<input type="hidden" name="action" value="delete" />
|
|
|
4c79b5 |
<input type="hidden" name="version" value="<?cs var:wiki.version ?>" />
|
|
|
4c79b5 |
if:wiki.version == wiki.latest_version ?>
|
|
|
4c79b5 |
<input type="submit" name="delete_version" value="Delete this version" />
|
|
|
4c79b5 |
/if ?>
|
|
|
4c79b5 |
<input type="submit" value="Delete page" />
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<script type="text/javascript">
|
|
|
4c79b5 |
addHeadingLinks(document.getElementById("searchable"), "Link to this section");
|
|
|
4c79b5 |
</script>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|