FSN#38526 BLOCK_START ook netjes buttons ondersteunen

svn path=/Website/trunk/; revision=31633
This commit is contained in:
Jos Groot Lipman
2016-11-23 09:42:54 +00:00
parent b2474cb492
commit 06fdf8b4f5
5 changed files with 43 additions and 36 deletions

View File

@@ -120,7 +120,16 @@ function BLOCK_START(id, title, params) {
__blockactive__ = true;
%><!-- BLOCK_START <%=id%> -->
<div id="<%=id%>" class="fcltblock" <%=params.hidden? ' style="display:none"' : ''%>>
<div class="fcltblockhead"><%=title%></div>
<div class="fcltblockhead"><%=title%>
<%
if (params.buttons && params.buttons.length)
{
%><div class="blockbuttoncontainer" style="float:right;"><%
CreateButtons(params.buttons, { showIcons: true} );
%></div><%
}
%>
</div>
<div class="inside" id="<%=id%>List">
<table class="fcltblocktab" width="100%"><%
}