diff options
author | Evan Prodromou <evan@status.net> | 2010-01-27 08:13:24 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-27 16:34:17 -0500 |
commit | e9feafc3ca4641bf5c51bbced3454962ed89b8ef (patch) | |
tree | 571b2befc861867b10f45e39b6d2b2a0418bee1a /lib | |
parent | 4ad931ad38f1eba1f5b00a923854544dcb4aa0d6 (diff) |
CSS ids and classes fixed in UAPPlugin
Diffstat (limited to 'lib')
-rw-r--r-- | lib/uapplugin.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/uapplugin.php b/lib/uapplugin.php index 5160d9662..4364b1e19 100644 --- a/lib/uapplugin.php +++ b/lib/uapplugin.php @@ -87,7 +87,8 @@ abstract class UAPPlugin extends Plugin if (!is_null($this->mediumRectangle)) { $action->elementStart('div', - array('class' => 'ad_medium-rectangle ad')); + array('id' => 'ad_medium-rectangle', + 'class' => 'ad')); $this->showMediumRectangle($action); @@ -109,14 +110,16 @@ abstract class UAPPlugin extends Plugin { if (!is_null($this->leaderboard)) { $action->elementStart('div', - array('class' => 'ad_leaderboard ad')); + array('id' => 'ad_leaderboard', + 'class' => 'ad')); $this->showLeaderboard($action); $action->elementEnd('div'); } if (!is_null($this->rectangle)) { $action->elementStart('div', - array('class' => 'ad_rectangle ad')); + array('id' => 'ad_rectangle', + 'class' => 'ad')); $this->showRectangle($action); $action->elementEnd('div'); } @@ -136,7 +139,8 @@ abstract class UAPPlugin extends Plugin { if (!is_null($this->wideSkyscraper)) { $action->elementStart('div', - array('class' => 'ad_wide-skyscraper ad')); + array('id' => 'ad_wide-skyscraper', + 'class' => 'ad')); $this->showWideSkyscraper($action); |