#macro (css $file_name)
#set ($file_id = "")
#if ($file_name == $css_main_file)
#set ($file_id = "mainLiferayThemeCSS")
#end
#end
#macro (js $file_name)
#set ($file_id = "")
#if ($file_name == $js_main_file)
#set ($file_id = "mainLiferayThemeJavaScript")
#end
#end
#macro (language $lang_key)
$languageUtil.get($locale, $lang_key)#end
#macro (language_format $lang_key $objects)
$languageUtil.format($locale, $lang_key, $objects.toArray())#end
#macro (date $date_format)
$dateUtil.getCurrentDate($date_format, $locale)#end
#macro (ie6_png_fix)
#if ($browserSniffer.isIe($request) && $browserSniffer.getMajorVersion($request) < 7)
/* ---------- IE6 PNG image fix ---------- */
img, .png {
position: relative;
behavior: expression(
(this.runtimeStyle.behavior = "none") &&
(
this.pngSet || (this.src && this.src.toLowerCase().indexOf('spacer.png') > -1) ?
this.pngSet = true :
(
this.nodeName == "IMG" &&
(
(
(this.src.toLowerCase().indexOf('.png') > -1) ||
(this.className && ([''].concat(this.className.split(' ')).concat(['']).join('|').indexOf('|png|')) > -1)
) &&
(this.className.indexOf('no-png-fix') == -1)
) ?
(
this.runtimeStyle.backgroundImage = "none",
this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
this.src = "$images_folder/spacer.png"
) :
(
(
(this.currentStyle.backgroundImage.toLowerCase().indexOf('.png') > -1) ||
(this.className && ([''].concat(this.className.split(' ')).concat(['']).join('|').indexOf('|png|')) > -1)
) ?
(
this.origBg = this.origBg ?
this.origBg :
this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),
this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",
this.runtimeStyle.backgroundImage = "none"
) :
''
)
),
this.pngSet = true
)
);
}
#end
#end
#macro (breadcrumbs $control_panel)
#set ($breadcrumb_tag = $theme.getBreadcrumbTag())
#if ($control_panel == "control_panel")
$breadcrumb_tag.setShowGuestGroup(false)
$breadcrumb_tag.setShowParentGroups(false)
#end
$breadcrumb_tag.runTag()
#end
#macro (dockbar)
$theme.runtime("145")
#if ($themeDisplay.isShowStagingIcon())
$theme.runtime("170")
#end
#end