]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
CSS ids and classes fixed in UAPPlugin
authorEvan Prodromou <evan@status.net>
Wed, 27 Jan 2010 13:13:24 +0000 (08:13 -0500)
committerEvan Prodromou <evan@status.net>
Wed, 27 Jan 2010 21:34:17 +0000 (16:34 -0500)
lib/uapplugin.php

index 5160d9662984245994aa84f3e7b71d17fddf5950..4364b1e190e9731bd010bddbc76cd5994aeafd71 100644 (file)
@@ -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);