# HG changeset patch # User Ethan Zonca # Date 2011-02-25 21:06:34 # Node ID 6666da63243b325173d2c01690abb755ec0369c2 # Parent 35dea6dd6a2fccbfcead68f9afb4032ad856b7b9 Tabs now cause the url to change, and the hashtag in the URL selects the tab diff --git a/inc/class.page.php b/inc/class.page.php --- a/inc/class.page.php +++ b/inc/class.page.php @@ -103,6 +103,7 @@ class page $this->headCode['jQuery'] = ''; $this->headCode['jQueryUI'] = ''; $this->headCode['jValidate'] = ''; + $this->headCode['jAddress'] = ''; $this->headCode['qTip'] = ''; $this->headCode['schedInput'] = ''; $this->headCode['outputPrintStyle'] = ''; diff --git a/inc/class.schedule.php b/inc/class.schedule.php --- a/inc/class.schedule.php +++ b/inc/class.schedule.php @@ -244,7 +244,7 @@ class Schedule $headcode = array('jQuery', 'jQueryUI', 'uiTabsKeyboard', 'outputStyle', 'outputPrintStyle', 'displayTables'); } else { - $headcode = array('outputStyle', 'jQuery', 'jQueryUI', 'uiTabsKeyboard', 'displayTables'); + $headcode = array('outputStyle', 'jQuery', 'jQueryUI', 'jAddress', 'uiTabsKeyboard', 'displayTables'); } $outputPage = page::page_create(htmlentities($this->getName()), $headcode); $outputPage->head(); @@ -274,6 +274,14 @@ class Schedule echo '