]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/outbox.php
Check for read vs. read-write access on OAuth authenticated API mehtods.
[quix0rs-gnu-social.git] / actions / outbox.php
index 869360efa18f2c716ff9f2257f62931d45535d43..de30de018354ff5e599cb1a20f5d5126120c9872 100644 (file)
  *
  * @category  Message
  * @package   StatusNet
- * @author    Evan Prodromou <evan@controlyourself.ca>
+ * @author    Evan Prodromou <evan@status.net>
  * @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('LACONICA')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -38,7 +38,7 @@ require_once INSTALLDIR.'/lib/mailbox.php';
  *
  * @category Message
  * @package  StatusNet
- * @author   Evan Prodromou <evan@controlyourself.ca>
+ * @author   Evan Prodromou <evan@status.net>
  * @license  http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
  * @link     http://status.net/
  * @see      MailboxAction
@@ -55,7 +55,7 @@ class OutboxAction extends MailboxAction
     function title()
     {
         if ($this->page > 1) {
-            return sprintf(_("Outbox for %s - page %d"),
+            return sprintf(_("Outbox for %1$s - page %2$d"),
                 $this->user->nickname, $page);
         } else {
             return sprintf(_("Outbox for %s"), $this->user->nickname);