X-Git-Url: https://git.mxchange.org/?p=quix0rs-gnu-social.git;a=blobdiff_plain;f=lib%2Fselftagswidget.php;fp=lib%2Fselftagswidget.php;h=aff4544c0d81f8633d3ef426d7a9a426362b38e4;hp=0000000000000000000000000000000000000000;hb=4160a3fb730113f3d712bd777884c4b0482f6df1;hpb=abd90bbdf562614755802885dfb5673645df8575 diff --git a/lib/selftagswidget.php b/lib/selftagswidget.php new file mode 100644 index 0000000000..aff4544c0d --- /dev/null +++ b/lib/selftagswidget.php @@ -0,0 +1,43 @@ +. + * + * @category Action + * @package StatusNet + * @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('GNUSOCIAL')) { exit(1); } + +class SelftagsWidget extends PeopletagsWidget +{ + public function url() + { + // link to self tag page + return common_local_url('selftag', array('tag' => $this->tag->tag)); + } + + function label() + { + // TRANS: Label in self tags widget. + return _m('LABEL','Tags'); + } +}