PluginProbe
CSS & JavaScript Toolbox / 8.2
CSS & JavaScript Toolbox v8.2
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | access.points/manage.accesspoint.php +12 -12 108.2 View file →
@@ -1,7 +1,7 @@
1 1 <?php
2 2 /**
3 -*
3 +*
4 4 */
5 5
6 6 // Disallow direct access.
7 7 defined('ABSPATH') or die("Access denied");
@@ -6,15 +6,15 @@
6 6 // Disallow direct access.
7 7 defined('ABSPATH') or die("Access denied");
8 8
9 9 /**
10 -*
10 +*
11 11 */
12 12 class CJTManageAccessPoint extends CJTPageAccessPoint {
13 13
14 14 /**
15 15 * put your comment there...
16 - *
16 + *
17 17 */
18 18 public function __construct() {
19 19 // Initialize Access Point base!
20 20 parent::__construct();
@@ -23,9 +23,9 @@
23 23 }
24 24
25 25 /**
26 26 * put your comment there...
27 - *
27 + *
28 28 */
29 29 protected function doListen() {
30 30 // Only if permitted!
31 31 if ($this->hasAccess()) {
@@ -32,27 +32,27 @@
32 32 // Add menu page.
33 33 add_action('admin_menu', array(&$this, 'menu'));
34 34 }
35 35 }
36 -
36 +
37 37 /**
38 38 * put your comment there...
39 - *
39 + *
40 40 */
41 41 public function menu() {
42 42 // Blocks Manager page! The only Wordpress menu item we've.
43 43 $pageHookId= add_menu_page(
44 - cssJSToolbox::getText('CSS & JavaScript Toolbox'),
45 - cssJSToolbox::getText('CSS & JavaScript Toolbox'),
46 - 'administrator',
47 - CJTPlugin::PLUGIN_REQUEST_ID,
44 + cssJSToolbox::getText('CSS & Javascript Toolbox'),
45 + cssJSToolbox::getText('CSS & Javascript Toolbox'),
46 + 'administrator',
47 + CJTPlugin::PLUGIN_REQUEST_ID,
48 48 array(&$this->controller, '_doAction'),
49 - CJTOOLBOX_VIEWS_URL . '/blocks/manager/public/images/menu.svg'
49 + CJTOOLBOX_VIEWS_URL . '/blocks/manager/public/images/menu.png'
50 50 );
51 51 // Process request if installed!
52 52 add_action("load-{$pageHookId}", array($this, 'getPage'));
53 53 }
54 -
54 +
55 55 } // End class.
56 56
57 57 // Hookable!
58 58 CJTManageAccessPoint::define('CJTManageAccessPoint', array('hookType' => CJTWordpressEvents::HOOK_FILTER));