Added version info for MobileProfile plugin

This commit is contained in:
Sarven Capadisli 2010-01-24 15:34:40 +01:00
parent 6ae453bb7d
commit 23e96dd4d1
1 changed files with 11 additions and 3 deletions

View File

@ -414,7 +414,15 @@ class MobileProfilePlugin extends WAP20Plugin
return $proto.'://'.$serverpart.'/'.$pathpart.$relative;
}
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'MobileProfile',
'version' => STATUSNET_VERSION,
'author' => 'Sarven Capadisli',
'homepage' => 'http://status.net/wiki/Plugin:MobileProfile',
'rawdescription' =>
_m('XHTML MobileProfile output for supporting user agents.'));
return true;
}
}
?>