From: <var...@us...> - 2014-09-12 14:18:15
|
Revision: 9075 http://sourceforge.net/p/phpwiki/code/9075 Author: vargenau Date: 2014-09-12 14:18:12 +0000 (Fri, 12 Sep 2014) Log Message: ----------- Remove useless code Modified Paths: -------------- trunk/lib/plugin/WikiAdminDeleteAcl.php Modified: trunk/lib/plugin/WikiAdminDeleteAcl.php =================================================================== --- trunk/lib/plugin/WikiAdminDeleteAcl.php 2014-09-12 12:48:30 UTC (rev 9074) +++ trunk/lib/plugin/WikiAdminDeleteAcl.php 2014-09-12 14:18:12 UTC (rev 9075) @@ -119,9 +119,7 @@ $pagelist->addPageList($pages); $button_label_delete_acl = _("Delete ACL"); - $header = $this->deleteaclForm($header, $pages); $header->pushContent(HTML::legend(_("Select the pages where to delete access rights"))); - $buttons = HTML::p(Button('submit:admin_deleteacl', $button_label_delete_acl, 'wikiadmin')); $header->pushContent($buttons); @@ -136,18 +134,6 @@ ? '' : HiddenInputs(array('require_authority_for_post' => WIKIAUTH_ADMIN))); } - - function deleteaclForm(&$header, $pagehash) - { - - $pages = array(); - foreach ($pagehash as $name => $checked) { - if ($checked) $pages[] = $name; - } - - $header->pushContent(HTML::strong(_("Selected Pages: ")), HTML::samp(join(', ', $pages)), HTML::br()); - return $header; - } } // Local Variables: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |