FSN#37533 BLOCK_START Maakt title nu zelf safe.html
svn path=/Website/trunk/; revision=34569
This commit is contained in:
@@ -116,8 +116,11 @@ function CreateButtons(buttons, params)
|
||||
var __blockactive__ = false;
|
||||
function BLOCK_START(id, title, params) {
|
||||
params = params || {};
|
||||
if (__blockactive__) ERROR_NESTED_BLOCK_START_DETECTED;
|
||||
__blockactive__ = true;
|
||||
|
||||
if (params.safe !== false && title) title = safe.html(title);
|
||||
|
||||
if (__blockactive__) ERROR_NESTED_BLOCK_START_DETECTED;
|
||||
__blockactive__ = true;
|
||||
%><!-- BLOCK_START <%=id%> -->
|
||||
<div id="<%=id%>" class="fcltblock" <%=params.hidden? ' style="display:none"' : ''%>>
|
||||
<div class="fcltblockhead"><%=title%>
|
||||
|
||||
Reference in New Issue
Block a user