<?
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# DataDivisions, Build 1.0, 12/11/2003 #
# FileName: varStyle.php #
# File Description: #
# Defines application style settings #
# #
# +-----------------------------------------------------------------------+ #
# | DataDivisions - Website Statistic Visualization Software | #
# | Copyright (c) 2003, Brian Willison | #
# +-----------------------------------------------------------------------+ #
# | The contents of this file are subject to the GNU General Public | #
# | License version 2 (June 1991). This file and all its contents (incl. | #
# | functions, methods, etc.) are free for general use within any | #
# | community. This software is distributed with the intent to allow | #
# | developers the opportunity to copy, manipulate and revamp this | #
# | application in part or whole for best use cases. | #
# | | #
# | This software is distributed "AS-IS" with no warranties of any kind | #
# | either expressed or implied. | #
# | | #
# | Please refer to the GPL license document for more information: | #
# | (_docs/gplLicense.pdf) | #
# +-----------------------------------------------------------------------+ #
# | Developer, Designer, Initial Creator: | #
# | Brian Willison (hide@address.com) | #
# +-----------------------------------------------------------------------+ #
# | Initial Download Reference: | #
# | http://datadivisions.sourceforge.net | #
# +-----------------------------------------------------------------------+ #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
// Application Dimension Definitions
define("APPWIDTH",800,TRUE); // application (full) total width (incl. borders)
define("APPHEIGHT",500,TRUE); // application (full) total height (incl. borders)
define("CONTENTWIDTH",appWidth-2,TRUE); // application (full) width inside of borders
define("APPSMWIDTH",343,TRUE); // application (small) total width (incl. borders)
define("CONTENTSMWIDTH",appSmWidth-2,TRUE); // application (small) width inside of borders
// Application Internal Section Dimension Definitions
define("SAVEDDISPLAYSECTIONWIDTH",136,TRUE);
define("SAVEDDISPLAYCONTENTWIDTH",savedDisplaySectionWidth-1,TRUE);
define("SAVEDDISPLAYCONTENTHEIGHT",332,TRUE);
define("APPSECTIONSPACERWIDTH",3,TRUE);
define("MAINDISPLAYSECTIONWIDTH",contentWidth-savedDisplaySectionWidth-appSectionSpacerWidth,TRUE);
define("MAINDISPLAYCONTENTWIDTH",mainDisplaySectionWidth-1,TRUE);
define("MAINDISPLAYSECTIONHEIGHT",412,TRUE);
define("MAINDISPLAYCONTENTHEIGHT",mainDisplaySectionHeight-2,TRUE);
define("VIEWDETAILSCONTENTWIDTH",mainDisplayContentWidth,TRUE);
define("VIEWDETAILSCONTENTHEIGHT",mainDisplayContentHeight,TRUE);
// Individual Display Offset Dimensions
define("INDIVIDUALDISPLAYWIDTHOFFSET",12,TRUE);
define("INDIVIDUALDISPLAYHEIGHTOFFSET",32,TRUE);
// PopUp Window Heights
define("APPPOPUPWINWIDTH",appSmWidth+30,TRUE); // application pop-up window widths
define("APPEMAILPOPUPWINHEIGHT",355,TRUE); // email pop-up height
define("APPEDITPOPUPWINHEIGHT",295,TRUE); // edit pop-up height
define("APPDELETEPOPUPWINHEIGHT",240,TRUE); // delete pop-up height
define("APPPOPUPVIEWDETAILSSQUAREWIDTH",mainDisplayContentWidth/2+30,TRUE); // view details square pop-up width
define("APPPOPUPVIEWDETAILSVERTWIDTH",appPopUpViewDetailsSquareWidth,TRUE); // view details vert pop-up width
define("APPPOPUPVIEWDETAILSHORIZWIDTH",mainDisplayContentWidth+30,TRUE); // view details horiz pop-up width
define("APPPOPUPVIEWDETAILSFULLWIDTH",appPopUpViewDetailsHorizWidth,TRUE); // view details full pop-up width
define("APPPOPUPVIEWDETAILSSQUAREHEIGHT",appHeight-27,TRUE); // view details square pop-up height
define("APPPOPUPVIEWDETAILSVERTHEIGHT",appHeight-27,TRUE); // view details vert pop-up height
define("APPPOPUPVIEWDETAILSHORIZHEIGHT",mainDisplayContentHeight+30,TRUE); // view details horiz pop-up height
define("APPPOPUPVIEWDETAILSFULLHEIGHT",appHeight-27,TRUE); // view details full pop-up height
// Application Screen Margins
if (pageName != "faq" && pageName != "viewDetails") {
define("APPTOPMARGIN",0,TRUE); // application body-top margin (view details page)
define("APPBOTMARGIN",0,TRUE); // application body-bottom margin (view details page)
} else {
define("APPTOPMARGIN",10,TRUE); // application body-top margin (non details pages)
define("APPBOTMARGIN",10,TRUE); // application body-bottom margin (non-details pages)
}
define("APPLEFTMARGIN",0,TRUE); // application body-left margin (all pages)
define("APPRIGHTMARGIN",0,TRUE); // application body-right margin (all pages)
// UI Color Definitions
define("SCREENCOLOR","#FFFFFF",TRUE); // background screen color
define("APPBORDERCOLOR","#000000",TRUE); // application border color
define("APPBACKGROUNDCOLOR","#F5F5F5",TRUE); // application background color
define("APPCONTENTCOLOR","#FFFFFF",TRUE); // application backgroundcolor of content area
define("APPHEADERCOLOR","#202020",TRUE); // header bar background color
define("LOGOBLUECOLOR","#1C3FD5",TRUE); // main/logo blue color
define("SAVEDDISPLAYHEADERCOLOR","#DCDCDC",TRUE); // background saved display header/title area
define("SAVEDDISPLAYCONTENTCOLOR","#F5F5F5",TRUE); // background color of saved display titles/links
define("SAVEDDISPLAYROWOVERCOLOR","#DCDCDC",TRUE); // background color of mouseover saved display titles/links
// Application-Specific Text
define("APPNAME","DataDivisions: Productive Visualization Comparisons",TRUE);
define("APPNAMESHORT","DataDivisions",TRUE);
define("EMAILDISPLAYSUBJECT","DataDivisions Website Display",TRUE);
define("EMAILDISPLAYMSGDEFAULT","One of your colleagues has sent you a website statistics visualization generated by DataDivisions. The visualization was generated from the website ".websiteName,TRUE);
// Template Title/View Details Dimensions HTML
define("TEMPLATESTARTHTML","<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\" width=\"100%\">\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td valign=\"top\"><p class=\"bold\"> ",TRUE);
define("TEMPLATEMIDDLESTARTHTML","</span><br>\n\t\t\t\t\t\t<p class=\"mainDisplayOptionsSmall\"> ",TRUE);
define("TEMPLATEMIDDLEENDHTML","</span>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td valign=\"top\"><p>\n",TRUE);
define("TEMPLATEENDHTML","\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>",TRUE);
?>