. * * @category Action * @package StatusNet * @author Sarven Capadisli * @copyright 2008 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } /** * Outputs 'powered by StatusNet' after site name * * @category Plugin * @package StatusNet * @author Sarven Capadisli * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ class PoweredByStatusNetPlugin extends Plugin { function onEndAddressData($action) { $action->text(' '); $action->elementStart('span', 'poweredby'); // TRANS: Text output after site name. $action->raw(_m('powered by StatusNet')); $action->elementEnd('span'); return true; } function onPluginVersion(&$versions) { $versions[] = array('name' => 'PoweredByStatusNet', 'version' => GNUSOCIAL_VERSION, 'author' => 'Sarven Capadisli', 'homepage' => 'http://status.net/wiki/Plugin:PoweredByStatusNet', 'rawdescription' => // TRANS: Plugin description. _m('Outputs "powered by StatusNet" after site name.')); return true; } }