X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fsection.php;h=753a37efa424dc52c4f7da187aff869f464aade0;hb=b41c62a27c6ef8039fb0853a6cf0663de77b1e05;hp=d605d458d73fc2114ef359eb26a4f6376fac6088;hpb=865b716f0919b6e5133133cd6be53f4143660324;p=quix0rs-gnu-social.git diff --git a/lib/section.php b/lib/section.php index d605d458d7..753a37efa4 100644 --- a/lib/section.php +++ b/lib/section.php @@ -27,7 +27,7 @@ * @link http://status.net/ */ -if (!defined('STATUSNET')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -45,7 +45,6 @@ require_once INSTALLDIR.'/lib/widget.php'; * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ - class Section extends Widget { /** @@ -56,7 +55,6 @@ class Section extends Widget * @return void * @see Widget::show() */ - function show() { $this->out->elementStart('div', @@ -86,12 +84,14 @@ class Section extends Widget function title() { + // TRANS: Default title for section/sidebar widget. return _('Untitled section'); } function showContent() { $this->out->element('p', null, + // TRANS: Default content for section/sidebar widget. _('(None)')); return false; } @@ -103,6 +103,7 @@ class Section extends Widget function moreTitle() { + // TRANS: Default "More..." title for section/sidebar widget. return _('More...'); } }