From d8f9628a17d5739182fdab92bf9e5202310d89f5 Mon Sep 17 00:00:00 2001 From: sarven Date: Thu, 15 Jan 2009 19:33:45 +0000 Subject: Using a specific path for CSS files. --- lib/action.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/action.php') diff --git a/lib/action.php b/lib/action.php index 30a3c8a03..cc00699c4 100644 --- a/lib/action.php +++ b/lib/action.php @@ -124,15 +124,15 @@ class Action extends HTMLOutputter // lawsuit { $this->element('link', array('rel' => 'stylesheet', 'type' => 'text/css', - 'href' => theme_path('display.css', 'base') . '?version=' . LACONICA_VERSION, + 'href' => theme_path('css/display.css', 'base') . '?version=' . LACONICA_VERSION, 'media' => 'screen, projection, tv')); $this->element('link', array('rel' => 'stylesheet', 'type' => 'text/css', - 'href' => theme_path('thickbox.css', 'base') . '?version=' . LACONICA_VERSION, + 'href' => theme_path('css/thickbox.css', 'base') . '?version=' . LACONICA_VERSION, 'media' => 'screen, projection, tv')); $this->element('link', array('rel' => 'stylesheet', 'type' => 'text/css', - 'href' => theme_path('display.css', null) . '?version=' . LACONICA_VERSION, + 'href' => theme_path('css/display.css', null) . '?version=' . LACONICA_VERSION, 'media' => 'screen, projection, tv')); foreach (array(6,7) as $ver) { if (file_exists(theme_file('ie'.$ver.'.css'))) { -- cgit v1.2.3-54-g00ecf From edf84cca041be956d8a8ac02d4542e9d835e42c9 Mon Sep 17 00:00:00 2001 From: sarven Date: Thu, 15 Jan 2009 20:10:20 +0000 Subject: showSiteNotice() was missing closing dl tag --- lib/action.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/action.php') diff --git a/lib/action.php b/lib/action.php index 9ba9f36fc..5f6c600b1 100644 --- a/lib/action.php +++ b/lib/action.php @@ -271,6 +271,7 @@ class Action extends HTMLOutputter // lawsuit $this->elementStart('dd', null); // Output a bunch of paragraphs here $this->elementEnd('dd'); + $this->elementEnd('dl'); } // MAY overload if no notice form needed... or direct message box???? -- cgit v1.2.3-54-g00ecf From 186783f45bccf604c295bf0bfafd02637d10b473 Mon Sep 17 00:00:00 2001 From: sarven Date: Thu, 15 Jan 2009 20:20:03 +0000 Subject: Missing end dl tag for showPageNotice() --- lib/action.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/action.php') diff --git a/lib/action.php b/lib/action.php index 4b9db4652..4d2aa02e2 100644 --- a/lib/action.php +++ b/lib/action.php @@ -321,6 +321,7 @@ class Action extends HTMLOutputter // lawsuit $this->elementStart('dd', null); // Output a bunch of paragraphs here $this->elementEnd('dd'); + $this->elementEnd('dl'); } // MUST overload -- cgit v1.2.3-54-g00ecf From c08eadc774c2231e6b434ba067e2d7115404606f Mon Sep 17 00:00:00 2001 From: sarven Date: Thu, 15 Jan 2009 20:24:41 +0000 Subject: HTML update to showSecondaryNav() --- lib/action.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/action.php') diff --git a/lib/action.php b/lib/action.php index 4d2aa02e2..52eee6d6a 100644 --- a/lib/action.php +++ b/lib/action.php @@ -364,7 +364,10 @@ class Action extends HTMLOutputter // lawsuit function showSecondaryNav() { - $this->elementStart('ul', array('id' => 'nav_sub')); + $this->elementStart('dl', array('id' => 'site_nav_global_secondary')); + $this->element('dt', null, _('Secondary site navigation')); + $this->elementStart('dd', null); + $this->elementStart('ul', array('id' => 'nav')); $this->menuItem(common_local_url('doc', array('title' => 'help')), _('Help')); $this->menuItem(common_local_url('doc', array('title' => 'about')), @@ -378,6 +381,8 @@ class Action extends HTMLOutputter // lawsuit $this->menuItem(common_local_url('doc', array('title' => 'contact')), _('Contact')); $this->elementEnd('ul'); + $this->elementEnd('dd'); + $this->elementEnd('dl'); } function showLicenses() -- cgit v1.2.3-54-g00ecf