-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more PHPDoc comments and remove no longer used variables
- Loading branch information
Showing
1 changed file
with
12 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?php | ||
/** | ||
* Plugin : Pagemove | ||
* Version : 0.10 (2010-06-17) | ||
* | ||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html) | ||
* @author Michael Hamann <[email protected]> | ||
* @author Gary Owen, | ||
*/ | ||
|
||
|
@@ -14,28 +14,25 @@ | |
if (!defined('DOKU_TAB')) define('DOKU_TAB', "\t"); | ||
if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); | ||
|
||
require_once DOKU_PLUGIN.'admin.php'; | ||
|
||
/** | ||
* Admin component of the pagemove plugin. Provides the user interface. | ||
*/ | ||
class admin_plugin_pagemove extends DokuWiki_Admin_Plugin { | ||
|
||
var $show_form = true; | ||
var $have_rights = true; | ||
var $locked_files = array(); | ||
var $errors = array(); | ||
var $opts = array(); | ||
var $idsToDelete = array(); | ||
|
||
|
||
/** | ||
* Get the sort number that defines the position in the admin menu. | ||
* | ||
* @return int The sort number | ||
*/ | ||
function getMenuSort() { return 1000; } | ||
function forAdminOnly() { return false; } | ||
|
||
/** | ||
* function constructor | ||
* If this admin plugin is for admins only | ||
* @return bool false | ||
*/ | ||
function admin_plugin_pagemove(){ | ||
// enable direct access to language strings | ||
$this->setupLocale(); | ||
} | ||
function forAdminOnly() { return false; } | ||
|
||
/** | ||
* return some info | ||
|