<%-- __________________________________________________________________________________________ This file included by all .../util/setup.before_endhead.* include files. It includes files containing html, link, javascript or jsp required by included plugins. __________________________________________________________________________________________ --%><% //----- global settings -----\\ String PLUGIN_FRAMEWORK_VERSION = "05-18-2011"; boolean plugin_debug = false; //depreciated boolean revize_plugin_debug = false; %> <%! /*________________________________________________________________________________________ Deteremine if plugin active on page by checking for existance of of class level String variable declared by plugin code inserted elsewhere (usually inside the body html). Parameters: name is the name of the variable checked. returns true if the variable is defined otherwise returns false ________________________________________________________________________________________*/ public boolean isRevizePluginActive(String name) { boolean status = false; try { this.getClass().getDeclaredField(name); status = true; } catch (Exception e) {} return status; } %><% /*________________________________________________________________________________________ head section html on all pages ________________________________________________________________________________________*/ %> <% /*________________________________________________________________________________________ Condictional plugin code (usually css and/or javascript) ________________________________________________________________________________________*/ /*-----------------------------------------------------------*/ if (isRevizePluginActive("revize_document_center")) { /*-----------------------------------------------------------*/ %><%@ include file="/plugins/document_center/document_center.head_include.jsp" %><% } /*-----------------------------------------------------------*/ if (isRevizePluginActive("revize_slideshow")) { /*-----------------------------------------------------------*/ %><%@ include file="/plugins/slideshow/slideshow_header_include.v2.jsp" %><% } /*-----------------------------------------------------------*/ if (isRevizePluginActive("revize_slideshowV3")) { /*-----------------------------------------------------------*/ %><%@ include file="/plugins/slideshow/slideshowV3.before_endhead.include.jsp" %><% } /*-----------------------------------------------------------*/ if (isRevizePluginActive("revize_photo_gallery")) { /*-----------------------------------------------------------*/ %><%@ include file="/plugins/photo_gallery/photo_gallery.head_include.jsp" %><% } /*-----------------------------------------------------------*/ if (isRevizePluginActive("revize_menus_leftnav") || isRevizePluginActive("revize_menus_topnav")) { /*-----------------------------------------------------------*/ %><%@ include file="/plugins/menus/menus_head_include.jsp" %><% } /*________________________________________________________________________________________ // Javascript ideally should just be pushed to live serveer and use js include. ________________________________________________________________________________________*/ %>