![]() |
Outputs a text for testing in the debug area of the Portalsuite preview.
function Debug ($sDebugtext,$fBold=0,$sColor="#000000")
Outputs the passed text $sDebugtext for testing in the debug area of the Portalsuite preview. The text is standard issued in normal black font.
If $fBold is set to =1, the etxt is issued in bold face.
With the parameter $sColor a text colour can be specified in the HTML hexcode.
The function Debug is in fact available - it has no further effect in the final portal - but in the Portalsuite portal preview. The advantage: The debug invocations can remain in the templates and do not have to be removed necessarily for the future regular use.