summary refs log tree commit diff stats
path: root/theme/layouts/4.5/layout.tpl
Commit message (Collapse)AuthorAgeFilesLines
* Installed TweetboardStarla Insigna2010-07-081-0/+9
|
* Fixed AudioPlayer bugStarla Insigna2010-05-251-1/+1
|
* Added [audio]Starla Insigna2010-05-221-0/+7
|
* Added April Fools Day jokeStarla Insigna2010-03-281-1/+1
|
* Added Google Analytics back to layouts 4.5 and 7Starla Insigna2010-03-181-0/+12
|
* Changed most absolute URLs to relative URLsStarla Insigna2010-03-011-3/+3
| | | | | Because Four Island is often viewed using a subdomain or an IP address in lieu of the actual domain name, relative URLs are needed to render the page correctly in most circumstances.
* Removed XHTMLStarla Insigna2010-01-151-0/+0
| | | | | | | XHTML was causing so many problems that it was simply unbearable. Four Island 3.0 will be sure to have no traces left of this annoyance. Also, a lot of files are showing up as being changed because this commit was on the server and I had to modifiy permissions for files (all of the files that were new since my last server commit) so I could commit.
* Added Fouripedia compatibilityStarla Insigna2009-11-261-0/+3
| | | | Made many strutural changes to Four Island allowing for the reinclusion of Fouripedia.
* Created Theme SwitcherStarla Insigna2009-10-031-0/+272
Also rewrote the way layouts work. Now, each layout requires a "layout.tpl" file (which contains the header and footer for the layout) and a "style.php" file (which contains and can include other files that contain the CSS for the layout). Each layout has it's own folder in theme/layouts and you can switch between them using a combo box in the Hatbar. Layouts 6.2 and 4.5 have been modified to work with new Layout 7 features such as AJAX, and they should be relatively free of bugs. Layout 3 has not yet been transferred because since it is pre-The New Four Island, it will be very difficult to do so. This changeset requires manual external code changes: * The line below must be added above the functions.php include in The Fourm's funnctions.php require('/svr/www/hatkirby/fourisland/main/includes/session.php'); * The block of Four Island code in The Fourm's page_header() function should be replaced with: global $fi_pagetitle; $fi_pagetitle = $page_title; ob_start(); * The block of Four Island code in The Fourm's page_footer() function should be replaced with: global $fi_pagetitle; $content = ob_get_contents(); ob_end_clean(); $noRightbar = 1; $onFourm = 1; $pageCategory = 'fourm'; if ($fi_pagetitle == 'Index page') { $title = 'The Fourm'; } else if (strpos($fi_pagetitle, 'View topic') !== FALSE) { $title = str_replace('View topic - ', 'Topic: ', $fi_pagetitle) . ' - The Fourm'; } else if (strpos($fi_pagetitle, 'View forum') !== FALSE) { $title = str_replace('View forum - ', 'Fourm: ', $fi_pagetitle) . ' - The Fourm'; } else if (strpos($fi_pagetitle, 'Viewing profile') !== FALSE) { $title = str_replace('Viewing profile - ', 'Member: ', $fi_pagetitle) . ' - The Fourm'; } else { $title = $fi_pagetitle . ' - The Fourm'; } if ($_GET['view'] != 'print') { include('/svr/www/hatkirby/fourisland/main/includes/layout.php'); } else { echo $content; } Closes #117