1<#--Take layout id-->
2<#assign layoutId = themeDisplay.getPlid>
3<#-- get the service for layout-->
4<#assign layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")>
5<#assign urlCodec = staticUtil["com.liferay.portal.kernel.util.URLCodec"]>
6<#--take a layout object-->
7<#assign layout = themeDisplay.getLayout()>
8
9<#assign pageName = layout.getName(locale)>
10
11<#setting locale = localeUtil.getDefault()>
12
13<#-- get Date object-->
14<#assign modifieddate = .vars['reserved-article-modified-date'].data>
15<#-- get format Date-->
16<#assign modDateFormat = modifieddate?datetime("EEE, d MMM yyyy HH:mm:ss Z")>
17
18<#if layout.getExpandoBridge().getAttribute("isTabPage") == false>
19 <h1 id="genericPageTitle"><span class="webContentPageTitle">${pageName}</span></h1>
20</#if>
21<#-- get Date object-->
22<#assign modifieddate = .vars['reserved-article-modified-date'].data>
23<#-- get format Date-->
24<#assign modDateFormat = modifieddate?datetime("EEE, d MMM yyyy HH:mm:ss Z")>
25
26<#assign paramName = "error">
27<#assign errorToShow = request.getParameter(paramName)>
28
29<#assign classDivContent = "webContentModifiedDate" >
30<#if layout.getExpandoBridge().getAttribute("isTabPage") == true>
31 <#assign classDivContent = "webContentModifiedDate webContentModifiedDateTapPage">
32</#if>
33
34<div class="${classDivContent}" >
35 <div class="webContentPrint" onclick="printElem('webContentMainDiv');"></div>
36</div>
37<div id="webContentMainDiv" class="webContentMainDiv">
38
39 <div class="portlet-msg-error" style="background-color: #fee5e2;border-color: #fcaca5;color: #b50303;">
40 <@liferay.language key="error.application.access" /><br/>
41 <#if errorToShow != "">
42 <div id="portlet-msg-error-detail" style="margin-top:30px;">
43 <@liferay.language key="error.details" /><br/>
44 <b>
45 <i>${urlCodec.decodeURL(errorToShow)}<i>
46 </b>
47 </div>
48 </#if>
49 </div>
50</div>