PluginProbe
CSS & JavaScript Toolbox / 7.1
CSS & JavaScript Toolbox v7.1
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
css-javascript-toolbox / views / packages / install / view.php

view.php in CSS & JavaScript Toolbox 7.1, at views/packages/install/view.php

57 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 *
4 */
5
6 // No direct access.
7 defined('ABSPATH') or die('Access denied');
8
9 /**
10 *
11 */
12 class CJTPackagesInstallView extends CJTView {
13
14 /**
15 * put your comment there...
16 *
17 * @param mixed $tpl
18 */
19 public function display($tpl = null) {
20 echo $this->getTemplate($tpl);
21 }
22
23 /**
24 * Output Javascript files requirred to Add-New-Block view to run.
25 *
26 * @return void
27 */
28 public function enququeScripts() {
29 // Use related scripts.
30 self::useScripts(__CLASS__,
31 'jquery',
32 'thickbox',
33 'jquery-serialize-object',
34 'framework:js:misc:{CJT-}simple-error-dialog',
35 'views:packages:install:public:js:{CJT-}install'
36 );
37 }
38
39 /**
40 * Output CSS files required to Add-New-Block view.
41 *
42 * @return void
43 */
44 public function enququeStyles() {
45 // Use related styles.
46 self::useStyles(__CLASS__,
47 'thickbox',
48 'framework:css:{CJT-}forms',
49 'framework:css:{CJT-}error-dialog',
50 'views:packages:install:public:css:{CJT-}install'
51 );
52 }
53
54 } // End class.
55
56 // Hookable!!
57 CJTPackagesInstallView::define('CJTPackagesInstallView', array('hookType' => CJTWordpressEvents::HOOK_FILTER));