X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fdoc.php;h=8d6c16c594e3c787c65f7f1f7dc5df0d7d6e1c12;hb=627d84a1e2db2aca5d2ce1272f6e83fb7faa8ad2;hp=c26b29090281dcead91b440f4ec3511956daaa17;hpb=7a9777df053a9007b5eaa71f5437584065b615a5;p=quix0rs-gnu-social.git diff --git a/actions/doc.php b/actions/doc.php index c26b290902..8d6c16c594 100644 --- a/actions/doc.php +++ b/actions/doc.php @@ -48,7 +48,7 @@ class DocAction extends Action var $filename = null; var $title = null; - function prepare($args) + function prepare(array $args=array()) { parent::prepare($args); @@ -69,7 +69,7 @@ class DocAction extends Action * * @return nothing */ - function handle($args) + function handle(array $args=array()) { parent::handle($args); $this->showPage(); @@ -96,11 +96,11 @@ class DocAction extends Action */ function showContentBlock() { - $this->elementStart('div', array('id' => 'content', 'class' => 'hentry')); + $this->elementStart('div', array('id' => 'content', 'class' => 'h-entry')); $this->showPageTitle(); $this->showPageNoticeBlock(); $this->elementStart('div', array('id' => 'content_inner', - 'class' => 'entry-content')); + 'class' => 'e-content')); // show the actual content (forms, lists, whatever) $this->showContent(); $this->elementEnd('div'); @@ -138,7 +138,7 @@ class DocAction extends Action * * @return boolean read-only flag (false) */ - function isReadOnly($args) + function isReadOnly(array $args=array()) { return true; }