This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#assign layout_service = serviceLocator.findService("com.liferay.portal.service.LayoutLocalService") /> | |
<#assign theme_display = request["theme-display"] /> | |
<#assign plid = theme_display["plid"] /> | |
<#assign layout = layout_service.getLayout(plid?number) /> | |
<#assign hasUpdatePermissons = layoutPermission.contains(permissionChecker, layout, "UPDATE")/> | |
<div class="lego-article ${article_classes.data}" id="article-${.vars['reserved-article-id'].data}"> | |
<@print_elements elements=element.siblings /> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. | |
* | |
* This library is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU Lesser General Public License as published by the Free | |
* Software Foundation; either version 2.1 of the License, or (at your option) | |
* any later version. | |
* | |
* This library is distributed in the hope that it will be useful, but WITHOUT | |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AUI().ready( | |
'cookie', | |
function(A) { | |
window.pageMetrics = {}; | |
pageMetrics.errors = []; | |
window.onerror = function(message, url, lineNumber) { | |
var error = {}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<root available-locales="en_US" default-locale="en_US"> | |
<dynamic-element dataType="string" indexType="keyword" localizable="true" name="section" readOnly="false" repeatable="true" required="false" showLabel="true" type="text" width="large"> | |
<dynamic-element dataType="string" indexType="keyword" localizable="true" name="block" readOnly="false" repeatable="true" required="false" showLabel="true" type="text" width="large"> | |
<dynamic-element dataType="string" indexType="keyword" localizable="true" name="element" readOnly="false" repeatable="true" required="false" showLabel="true" type="text" width="large"> | |
<dynamic-element dataType="string" indexType="keyword" localizable="false" name="tag" readOnly="false" repeatable="false" required="false" showLabel="true" type="text" width="large"> | |
<meta-data locale="en_US"> | |
<entry name="label"> | |
<![CDATA[Tag]]> | |
</entry> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#assign layout_service = serviceLocator.findService("com.liferay.portal.service.LayoutLocalService") /> | |
<#assign theme_display = request["theme-display"] /> | |
<#assign plid = theme_display["plid"] /> | |
<#assign layout = layout_service.getLayout(plid?number) /> | |
<div class="lego-article ${article_class.data}" id="article-${.vars['reserved-article-id'].data}"> | |
<#list section.siblings as cur_section> | |
<section class="block-container lego-section section-${cur_section_index + 1} ${cur_section.section_class.data}" ${cur_section.data}> | |
<#list cur_section.block.siblings as cur_block> | |
<div class="block block-${cur_block_index + 1} content-column lego-block w${cur_block.width.data} ${cur_block.block_class.data}" ${cur_block.data}> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="download-section $article_class.getData()"> | |
#if (!$heading.getData().isEmpty()) | |
<h4> | |
#if (!$product_icon.getData().isEmpty()) | |
<span class="product-icon">$product_icon.getData()</span> | |
#end | |
$heading.getData() | |
</h4> | |
#end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set ($Int = 0) | |
#set ($product = $Int.parseInt($product_key.data)) | |
#set ($selectCssClass = "") | |
#set ($buttonStyle = "style-b") | |
#set ($userLocalService = $serviceLocator.findService("com.liferay.portal.service.UserLocalService")) | |
#set ($accountCustomerLocalService = $serviceLocator.findService("osb-portlet", "com.liferay.osb.service.AccountCustomerLocalService")) | |
#set ($partnerWorkerLocalService = $serviceLocator.findService("osb-portlet", "com.liferay.osb.service.PartnerWorkerLocalService")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This is the main Apache HTTP server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html> | |
# for a discussion of each configuration directive. | |
# | |
# Do NOT simply read the instructions in here without understanding | |
# what they do. They're here only as hints or reminders. If you are unsure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Virtual Hosts | |
# | |
# Required modules: mod_log_config | |
# If you want to maintain multiple domains/hostnames on your | |
# machine you can setup VirtualHost containers for them. Most configurations | |
# use only name-based virtual hosts so the server doesn't need to worry about | |
# IP addresses. This is indicated by the asterisks in the directives below. | |
# | |
# Please see the documentation at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#if request.lifecycle == "RENDER_PHASE"> | |
<#assign journal_article_local_service = serviceLocator.findService("com.liferay.portlet.journal.service.JournalArticleLocalService") /> | |
<#assign journal_content_util = staticUtil["com.liferay.portlet.journalcontent.util.JournalContentUtil"] /> | |
<#assign layout_service = serviceLocator.findService("com.liferay.portal.service.LayoutLocalService") /> | |
<#assign theme_display = request["theme-display"] /> | |
<#assign plid = theme_display["plid"] /> | |
<#assign layout = layout_service.getLayout(plid?number) /> | |
<div class="lego-article ${article_class.data}" id="article-${.vars['reserved-article-id'].data}"> |