diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-24 15:34:40 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-24 15:35:22 +0100 |
commit | dd513b3e535ce298252e1861af07b38651e83b8e (patch) | |
tree | b29e28b4c2d4f679934108cfcf303070475f0a02 | |
parent | 23c0d663d63c49183494ebb049160af633a2d2ec (diff) |
Added version info for MobileProfile plugin
-rw-r--r-- | plugins/MobileProfile/MobileProfilePlugin.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index d426fc282..5c913836d 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -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; + } +} |