*
* @seeAlso Location
*/
-
class BlankAdPlugin extends UAPPlugin
{
/**
*
* @return void
*/
-
protected function showMediumRectangle($action)
{
$action->element('img',
*
* @return void
*/
-
protected function showRectangle($action)
{
$action->element('img',
*
* @return void
*/
-
protected function showWideSkyscraper($action)
{
$action->element('img',
*
* @return void
*/
-
protected function showLeaderboard($action)
{
$action->element('img',
'src' => common_path('plugins/BlankAd/redpixel.png')),
'');
}
-}
\ No newline at end of file
+
+ function onPluginVersion(&$versions)
+ {
+ $versions[] = array('name' => 'BlankAdPlugin',
+ 'version' => STATUSNET_VERSION,
+ 'author' => 'Evan Prodromou',
+ 'homepage' => 'http://status.net/wiki/Plugin:BlankAdPlugin',
+ 'rawdescription' =>
+ _m('Plugin for testing ad layout'));
+ return true;
+ }
+}