Back to index

plone3  3.1.7
Variables
formatHistoryDiff Namespace Reference

Variables

list lst = []
 Script (Python) "formatHistoryDiff" title=Formats the history diff bind container=container bind context=context bind namespace= bind script=script bind subpath=traverse_subpath parameters=lines.
dictionary map
tuple first = len(line)
tuple mapping = map.get(first, '%s')

Variable Documentation

tuple formatHistoryDiff.first = len(line)

Definition at line 20 of file formatHistoryDiff.py.

Script (Python) "formatHistoryDiff" title=Formats the history diff bind container=container bind context=context bind namespace= bind script=script bind subpath=traverse_subpath parameters=lines.

Definition at line 10 of file formatHistoryDiff.py.

Initial value:
00001 {
00002     '+' : '<ins>%s</ins><br />',
00003     '-' : '<del>%s</del><br />',
00004     ' ' : '&nbsp;%s<br />',
00005     '@' : '<strong>%s</strong><br />',
00006 }

Definition at line 12 of file formatHistoryDiff.py.

tuple formatHistoryDiff.mapping = map.get(first, '%s')

Definition at line 21 of file formatHistoryDiff.py.