- search -

JSPWiki v2.2.28
Insert Diff Tag

Der Unterschied zwischen version 1 und version 1:

Inserts a diff between two pages. The "Diff.jsp" places two variables into the JSP PageContext:
* ''insertdiff.old'' - The version number of the old version.
* '''' - The version number of the new version.
These have been parsed from the HTTP parameters by "Diff.jsp".
The resulting HTML uses a few CSS styles:
* TABLE.diff - The whole table gets this style.
* TD.diff - Each unchanged line gets this.
* TD.diffadd - Each added line gets this style.
* TD.diffrem - Each removed line gets this style.
<wiki:InsertDiff page="<page name>" />
;__page__ : Page name.
<wiki:InsertDiff />
Might result into something like this:
<table class="diff" border=0 cellspacing=0 cellpadding=0>
<tr><td class="diff">Line 16 was replaced by line 16</td></tr>
<tr><td bgcolor=#FF9933 class="diffrem">- [Sandbox/cens7.gif]</td></tr>
<tr><td bgcolor=#99FF99 class="diffadd">+ Foobar.</td></tr>

Zurück zu Insert Diff Tag, or zur History der Seite.

Earthdawn (R) ist ein eingetragenes Warenzeichen der FASA Corporation. Barsaive (TM) ist ein Warenzeichen der FASA Corporation. Copyright (c) 2015 by FASA Corporation. Copyright der deutschen Ausgabe (c) 2015 by Ulisses Spiele GmbH, Waldems. Diese Webseite unterliegt keiner Abnahme oder Genehmigung durch Ulisses Spiele oder FASA.