Skip to content

Commit

Permalink
fixes to renderTag functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ianaré sévi authored and isevi committed Jun 7, 2012
1 parent e5fe0e2 commit b55dc3d
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion ActivityFeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ActivityFeed extends EFaceplugsBase
public function run()
{
parent::run();
$this->printTag('activity');
$this->renderTag('activity');
}

}
2 changes: 1 addition & 1 deletion Comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Comments extends EFaceplugsBase
public function run()
{
parent::run();
$this->printTag('comments');
$this->renderTag('comments');
}

}
5 changes: 3 additions & 2 deletions EFaceplugsBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ public function run()
* Register an OpenGraph property.
* @param string $property
* @param string $data
* @return void
*/
public function registerOpenGraph($property, $data)
{
Expand Down Expand Up @@ -415,11 +416,11 @@ public function registerSDKScript($method, $args=array())

/**
* @param $name the name of the Facebook Social Plugin
* @param $params the parameters for the Facebook Social Plugin
* @return void
*/
protected function renderTag($name, $params)
protected function renderTag($name)
{
$params = $this->getParams();
if ($this->html5)
$this->makeHtml5Tag('fb-'.$name,$params);
else
Expand Down
2 changes: 1 addition & 1 deletion Facepile.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Facepile extends EFaceplugsBase
public function run()
{
parent::run();
$this->printTag('facepile');
$this->renderTag('facepile');
}

}
2 changes: 1 addition & 1 deletion FanBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ public function run()
if (!isset($this->profile_id)) {
$this->profile_id = $this->app_id;
}
$this->printTag('fan');
$this->renderTag('fan');
}
}
2 changes: 1 addition & 1 deletion LikeBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ public function run()
if (!isset($this->profile_id)) {
$this->profile_id = $this->app_id;
}
$this->printTag('like-box');
$this->renderTag('like-box');
}
}
2 changes: 1 addition & 1 deletion LikeButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ class LikeButton extends EFaceplugsBase
public function run()
{
parent::run();
$this->printTag('like');
$this->renderTag('like');
}
}
2 changes: 1 addition & 1 deletion LiveStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class LiveStream extends EFaceplugsAppLink
public function run()
{
parent::run();
$this->printTag('live-stream');
$this->renderTag('live-stream');
}

}
2 changes: 1 addition & 1 deletion LoginButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class LoginButton extends EFaceplugsAppLink
public function run()
{
parent::run();
$this->printTag('login-button');
$this->renderTag('login-button');
}

}
2 changes: 1 addition & 1 deletion Recommendations.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Recommendations extends EFaceplugsBase
public function run()
{
parent::run();
$this->printTag('recommendations');
$this->renderTag('recommendations');
}

}
2 changes: 1 addition & 1 deletion Registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function run()
{
parent::run();
$this->client_id = $this->app_id;
$this->printTag('registration');
$this->renderTag('registration');
}

}
2 changes: 1 addition & 1 deletion SendButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ class SendButton extends EFaceplugsBase
public function run()
{
parent::run();
$this->printTag('send');
$this->renderTag('send');
}
}
2 changes: 1 addition & 1 deletion SubscribeButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ class SubscribeButton extends EFaceplugsBase
public function run()
{
parent::run();
$this->printTag('subscribe');
$this->renderTag('subscribe');
}
}

0 comments on commit b55dc3d

Please sign in to comment.