]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/doc.php
Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / actions / doc.php
index e0fd21fcefc3821a00503939223d80f91a21fc5a..d897b4e58c5131d452066c57c52a58a456847bd9 100644 (file)
@@ -57,6 +57,11 @@ class DocAction extends ManagedAction
         $this->loadDoc();
     }
 
+    public function title()
+    {
+        return ucfirst($this->title);
+    }
+
     /**
      * Display content.
      *
@@ -71,12 +76,7 @@ class DocAction extends ManagedAction
 
     function showNoticeForm()
     {
-        // no title
-    }
-
-    function showPageTitle()
-    {
-        // no title
+        // no notice form
     }
 
     /**
@@ -86,7 +86,7 @@ class DocAction extends ManagedAction
      *
      * @return boolean read-only flag (false)
      */
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }