---------------------------------------------------------------------------------------- COM- ------------------------- ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-135b (Use With UDP 137 and later and NEW FORMAT sites only) Must have "otherSitesUrlArrayString" added to "index-multipleSites.php" [see durham3]) ------------------------- merged COM-131 (with updated slider code from C7) with COM-135 ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-135 (Use With UDP 137 and later and NEW FORMAT sites only) ------------------------- added cache busting for site pages changes to : "buildpage-full.php" and "buildpage-mobile.php" ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-134 (Use With UDP 137 and later and NEW FORMAT sites only) NOTE: does not include changes made in COM-131 (connectSeven - which has changes to slide array) ------------------------- As per COM-133 added infolInks to for "othersites" links to be handled in "insertContent.inc" ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-133 (Use With UDP 137 and later and NEW FORMAT sites only) NOTE: does not include changes made in COM-131 (connectSeven - which has changes to slide array) ------------------------- reworked how "othersites" are handled in "insertContent.inc" to fix "-" hyphen error in othersite links (ie: climatewise-challenge" being broken by "climatewise" in "absoluteLink"... did this for editAreas and masterInfoLinks ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-132 (Use With UDP 137 and later and NEW FORMAT sites only) NOTE: does not include changes made in COM-131 (connectSeven - which has changes to slide array) ------------------------- Added "if ($updatePanel == 'true') { print ''."\n"; }" to bottom of "buildpage-full" to accomodate reworking of "head.php" in UDP Also added "otherSitesUrlArrayString" to "universalHeadCnt.php" which is used in "masters/externalLinks" ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-130 (Use With UDP 130 and later and NEW FORMAT sites only) ------------------------- Added ability to exclude tags from appearing in editor toolbar "Formats" menu (ie exclude some headings from appearing and being selected) Changes to: "COM" > "insertContent.inc" ----------------------------------------------- Moved "removeFromEditArray.php" from Com-custom to UDP-custom in "createEditAreaArray.php" ------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------ ---------------------------------------------------------------------------------------- COM-123 (Use With UDP 120 and later and NEW FORMAT sites only) added ability to add head style tags to page file that get pulled into rendered page added to : buildpage-full and build page-mobile ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-122 (Use With UDP 120 and later and NEW FORMAT sites only) Added "live" class to mobile "body" tag to sync up with full version css ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-121 (Use With UDP 120 and later and NEW FORMAT sites only) added ability to add head scripts to page file that get pulled into rendered page added to : buildpage-full and build page-mobile ---------------------------------------------------------------------------------------- COM-120 (Use With UDP 120 and later and NEW FORMAT sites only) NOTE: "indexset.php" must be changed with the opening slash removed from: $domainFolder = '/climatewise-challenge'; to $domainFolder = 'climatewise-challenge'; changes made to "setServer.php" so domain folders with hyphen (-) will function in UDP ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-58 (Use With NEW FORMAT sites only) bug fix in "insertContent.inc" ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-57 (Use With NEW FORMAT sites only) changed "insertContent.inc"...'/* REMOVE FROM EDIT AREAS */" and "/* SET EDIT CELS */" so "COM-custom/removeFromEditArray.php" works properly in all circumstances ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-56 (Use With NEW FORMAT sites only) Replace hard coded "http" with "$serverProtocol" ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-55 (Use With NEW FORMAT sites only) Added "index-server.php" to auto detect http or https and "$serverProtocol" variable so can be used throughout site and UDP instead of setting in "setserver.php" ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-54 (Use With NEW FORMAT sites only) reworked "setserver.php" so auto detects server protocol and serves either "http" and "https" insted of just "//" which doesn't always work ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-54 (Use With NEW FORMAT sites only) set "setServer.php" so workes with both "http" and "https" ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-52 (Use With NEW FORMAT sites only) Fixed PHP 7 error reporting where (int) needed to be added to "insertImageScript.inc" ---------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------- COM-51-NF (Use With NEW FORMAT sites only) set $pageCSS (the custom addon css tag to use as an id) to $cssGroup cssGroup is read in JS ---------------------------------------------------------------------------------------- COM-50-NF (Use With NEW FORMAT sites only) Added ability to create editable custom master pages with includes in COM-custom (dynamic load pages) and an xml file in UDP-Custom (see ClimateWise member profiles) changed setting title code in "buildPageMaster" so title would get set in dynamic load pages Added "" to "universalHeadCnt" This is used when loading an offset grid to remove content flash ---------------------------------------------------------------------------------------- COM-49-NF (Use With NEW FORMAT sites only) fixed bug in body tag ---------------------------------------------------------------------------------------- COM-48-NF (Use With NEW FORMAT sites only) added "if (isset($sliderArray)" to buildpage-master so works without a slider or older slider type ---------------------------------------------------------------------------------------- COM-47-NF (Use With NEW FORMAT sites only) added "if file exists" to "buildpage-mobile" when importing close infoLink button svg code ---------------------------------------------------------------------------------------- COM-46-NF (Use With NEW FORMAT sites only) added ability to edit include files using UDP-Custom/"dynamicLoadFiles.xml" and accessing from within the Manage Panel. Search "$thisIncludeFile" and "_dynamicLoadMaster" to find changes ---------------------------------------------------------------------------------------- COM-45-NF (Use With NEW FORMAT sites only) cosmetic changes to "source code" in "buildpage-full.php" Added include "$pageID.-head.php" to "buildpage-mobile" - this brings in added css or javascript to the page - used with sliders Added new body tag (css="css-whatever") This is set in the "structure.xml" file and allows pages to have same css but different page id's. "phpToJS-variables.php" was added to sync full and mobile variables set in top of page ---------------------------------------------------------------------------------------- COM-44-NF (Use With NEW FORMAT sites only) Updated "insertImage.inc" picture viewer code now works with javascript to add captions from "figcaption" to fancybox Requires the following js code: /* Generic Picture Viewer / fancy box code */ $(".pvwrap").parent("figure").addClass("figure-pv"); $('.figure-pv').each(function() { var thisCaption = $('figcaption', this).html(); $('.pvlink', this).attr('data-caption', thisCaption); }); $('[data-fancybox]').fancybox({ thumbs : { autoStart : true } }); ---------------------------------------------------------------------------------------- COM-43-NF (Use With NEW FORMAT sites only) Reworked info links in buildMobile ---------------------------------------------------------------------------------------- COM-mce-42 fixed bug in "insertImage.php" causing width and height to be set to 0 in mobile svg img tag ---------------------------------------------------------------------------------------- COM-mce-41 PHP 7 UPdate replaced eregi function to preg function ---------------------------------------------------------------------------------------- COM-mce-40 Added new class (pvlink) to insertImageScript.inc to fix jqueary link in picture viewer code Added "hide-overlay" class to body tag for new hambuger menu ---------------------------------------------------------------------------------------- COM-mce-39 PHP 7 UPdate replaced ereg function to preg function ---------------------------------------------------------------------------------------- COM-mce-38 added $siteID to body tag ---------------------------------------------------------------------------------------- COM-mce-37 updated "insertImage" for version 3 of Fancybox (will not work with version 2) - Moved picture viewer image to regular image folder and added "-PV" to image name instead of having in separate folder. ---------------------------------------------------------------------------------------- COM-mce-36 Added function to "insertImage.inc" for class "setsz-2" to divide image size by 2 to acomodate high res screens (so image size can be twice what appears on screen). Also fixed memory leak in the class value. ---------------------------------------------------------------------------------------- COM-mce-35 fixed bug in "setPage2" preventing the setting of layout in root pages inside sections ---------------------------------------------------------------------------------------- COM-mce-34 fixed bug in "insertContent" so media files folder would parse properly ---------------------------------------------------------------------------------------- COM-mce-33 Reworked setPage and setPage2 to fix bug preventing newsletter from opening in some cases ---------------------------------------------------------------------------------------- COM-mce-32 Moved newsletter.xml to newsletter folder. Moved nl.php (template file) from "DSN/layout/" to UDP folder in "newsletters" folder. *** REQUIRES "UDP-mce-80-REQ5" or later ---------------------------------------------------------------------------------------- COM-mce-31 removed closing slash on img tag in "insertImage.inc" so closing slash isn't necesarry as per html5 - this was causing a problem when using jquery get html which would remove slash ---------------------------------------------------------------------------------------- COM-mce-30 added "
to the editor in "handleCnt/insertContent.inc" -used for activate editor button in "UDP-custom/onPageLoad.js" ---------------------------------------------------------------------------------------- COM-mce-29 added function to include hardinfolinks in infolinks div for mobile in "buildpage-mobile.php" ---------------------------------------------------------------------------------------- COM-mce-28 added function to reduce image size (with class"m-reduce") in insertImageScript.inc ---------------------------------------------------------------------------------------- COM-mce-27 Turned off mobile layout option in "setPagePart2" now using full layout for body class tag (for specific mobile layout just add "-mobile" to full layout name --------------------------------------------------------------------------------------- COM-mce-26 fixed bug in "insertImage.inc" that parsed and altered hot-linked image code --------------------------------------------------------------------------------------- COM-mce-25 fixed bug in "setPagePart2.php" where page with root url but sitting in a section in structure.xml wasn't picking up the section layout --------------------------------------------------------------------------------------- COM-mce-24 added "mobile version is off" to indexMaster ---------------------------------------------------------------------------------------- COM-mce-23 reworked '$abosoluteRootLink' so would work online in working folder ----------------------------------------------------------------------------------------- COM-mce-22 Added '$abosoluteRootLink' variable to "setServer.php" Moved "universal" javascript files to sitemasters. Added include for "headlinks-mobile-bottom". ----------------------------------------------------------------------------------------- COM-mce-21 added ability to find page in structure.xml that is in a section but has a root url. Altered "setPagePart2.php" ----------------------------------------------------------------------------------------- COM-mce-20 removed "include_once ('../index-multipleSites.php')" from "index-master.php"... shouldn't be there as moved to index as "index-master" was to late ----------------------------------------------------------------------------------------- COM-mce-19 reworked "setServer.php" due to scoping issues ----------------------------------------------------------------------------------------- COM-mce-18 Update "buildpage-full.php" so $tierLevel is universal ----------------------------------------------------------------------------------------- COM-mce-17-master2 added bandaid solution to accomodate different handing of masters in centre, solar, and healthy kids. for "solar" and "centre" $tierLevel has been added to "settings" / this needs to be accomodated in "buildpage-full.php. All sites need to be brought up to date. ----------------------------------------------------------------------------------------- COM-mce-17-master *master is to integrate dead sites into main site added layout master to "buildpage-full.php" (line 69)... would need to add "_master.php" to templates to use this feature added mobile is off in index-master.php.... must also update index-set.php ------------------------------------------------------------------------------------------ COM-mce-17-nl Added "getCode" editmode to "index-master.php" Added $liveFilePresent to check for LIVE version to "buildpage-master.php" when opening draftfile only files (ie: templates) headlinks must be updated --------------------------------------------------------------------------------------- COM-mce-17-multisites added "include index-multistes.php" to index-master set $rootlink in setServer.php | NOTE: set-index.php must also be updated with $rootLink ----------------------------------------------------------------- COM-16 moved www redirect to htaccess ----------------------------------------------------------------- COM-15 added 'pagecontent' div and 'closeInfolinkBtn' div to be included in all mobile layout templates ----------------------------------------------------------------- COM-14 removed "$editorUrlReplace" variable from "setServer.php" as due to editor url handling changes in UDP v39/40 it was no longer required ----------------------------------------------------------------- COM-13 if "mobile btn" not present thru javascript error... fixed ----------------------------------------------------------------- COM-12 added cookie and appear scipts to COM folder ----------------------------------------------------------------------- COM-11 added "mobile" and "full" scripts to scipts folder ----------------------------------------------------------------------- COM-10 added goMobile code added $scrnVrs variable to body class tag so can target .mobile and .full in css -------------------------------------------------------------------------- COM-09 added ability for mobile layout to be set in "structure.xml" added universal mobile layout page: "genericMobileLayout.php" -------------------------------------------------------------------------- COM-mce-08 added "masterInclude.php" used by masterFiles to be editable ---------------------------------------------------------------------------- COM-mce-07 Added udp variable written to page - used to prevent staic menu in UDP ***REQUIRES mobile settings in "index-set.php" --------------------------------------------------------------------------- COM-mce-06 updated for mobile version ---------------------------------------------------------------------- 140414 Added html5 "figure" capability fixed bug in "buildPageFull.php" causing 404 redirect not to work ---------------------------------------------------------------------------------------------- 140220 removed javascript code to test for cookies (not being used as was for version control) which was causing doctype not to be declared as it was not the first line. ---------------------------------------------------------------------------------------------- 131126 added infoLink feature ---------------------------------------------------------------------------------------------- 131102 updated insetImage.php for version 2 of fancyBox ---------------------------------------------------------------------------------------------- 131026 removed a live "print / exit" command inadverantly left in "131021-tabs" causing major bug with images ---------------------------------------------------------------------------------------------- 131021b-tabs reworked return to in index-master and winbar to fix variable bug ---------------------------------------------------------------------------------------------- 131021-tabs Added (if set and not empty) to picture viewer script to prevent false pv's being set ---------------------------------------------------------------------------------------------- 131016-tabs Updated indexMaster.php to set cookies for Tab style winbar ----------------------------------------------------------------------------------------------- 131014 Added mediaFld to settings and insert content to handle video and audio files ----------------------------------------------------------------------------------------------- 131003 Added "localHost" variable to "setServer.php" / used to cancel out google analytics ----------------------------------------------------------------------------------------------- 130906 Changed "header(location:" to "header(Location:" to adhere to proper header protocol ----------------------------------------------------------------------------------------------- 130903 made changes in "buildpage-master.php" so live page title will always override draft page title when editing draft page ----------------------------------------------------------------------------------------------- 130902 reworked setting modFld in "settings.php" , "buildPageFull.php ----------------------------------------------------------------------------------------------- 130901 Fixed Broken "docs" replace in "insertContent.php" ----------------------------------------------------------------------------------------------- 130622 Reworked setPage so draft only files could work in UDP ----------------------------------------------------------------------------------------------- 130609 Added "virtualSite" variable to "setServer.php" to deal with sites at the root (like the main windfall site) ------------------------------------------------------------------------ 130608 number update only: to reflect GOLD status --------------------------------------------------------------------- 130607 changed "setServer" to reflect "localhost" so UDP xstandard editor can determine if license applys -------------------------------------------------------------------------- 130606 added udp javascript "var pageSiteName =" to "buildpageFull.php" so UDP can determine if correct site is opening inside UDP //////////////////////////////////////////////////////////////////////////////// 130605 Reworked how 404 works. Changed buildpageMaster.php... Settings.php must also be updated. //////////////////////////////////////////////////////////////////////////////// 2013-02-07 body tag now has an id="padeID" class="section" /////////////////////////////////////////////////////////////////////////////////////////////// 2012-10-02 Turned off tag to in Handlecontent - Now use CSS targeting tag in setFonts /////////////////////////////////////////////////////////////////////////////////////////////// 2012-09-06 Added subsection class to structure.xml creating php variables: $sectionTitle, $subMenu, $subSection ///////////////////////////////////////////////////////////////////////////////////////////// 2012-08-14 Turned off "article" tag to "div" tag Added docs folder link //////////////////////////////////////////////////////////////////////////////////////////// 2012-04-06 reworked "insertimage" to allow variable image size with "sz" class and to allow images set without a class to function /////////////////////////////////////////////////////////////////////////////////////////// 2012-03-30 new way of switching html5 tags in "handleContent" - allows for use of class Added new "section id" ($secID) to "structure.xml" to identifiy sections /////////////////////////////////////////////////////////////////////////////////////////// 2012-03-04 added hgroup to "handlecontent/insertContent.php" to turn into div. /////////////////////////////////////////////////////////////////////////////////////////// 2012 02 24 changed logic of "Return To" /////////////////////////////////////////////////////////////////////////////////////////// 2012 02 23 reworked "return to" using $siteName instead of $domain. //////////////////////////////////////////////////////////////////////////////////////////////// 2012 02 22 turned off set image size in "handlecontent/insertimage.php" so images would resize.