Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Watermark
MessageAll content on this page is confidential


Info

Note that we use 

Code Block
$generalUtil.escapeXml($paramMessage)

to sanitize the user's input and make macro safer for XSS vulnerabilities



Code Block
## @param Message:title=Name|type=string|required=true|desc=Watermark message

<style type="text/css">
 .page_watermark {
   position:fixed;
   bottom:55px;
   right:15px;
   opacity:0.5;
   z-index:99;
   color:#FC0202;
   font-weight:bold;
   font-size:larger;
 }
</style>

<div class="page_watermark">$generalUtil.escapeXml($paramMessage)</div>

...