PluginProbe
CSS & JavaScript Toolbox / 7.2
CSS & JavaScript Toolbox v7.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 | views/blocks/new/view.php +12 -12 11.87.2 View file →
@@ -7,27 +7,27 @@
7 7 defined('ABSPATH') or die("Access denied");
8 8
9 9 /**
10 10 * Get Add-New-Block view markups.
11 -*
11 +*
12 12 * The method is resposible for selecting the correct template
13 13 * and initialize template vars.
14 -*
14 +*
15 15 * @author Ahmed Said
16 16 * @version 6
17 17 */
18 18 class CJTBlocksNewView extends CJTView {
19 -
19 +
20 20 /**
21 21 * put your comment there...
22 - *
22 + *
23 23 * @var mixed
24 24 */
25 25 public $position;
26 -
26 +
27 27 /**
28 28 * Output Add New Block markups.
29 - *
29 + *
30 30 * @return void
31 31 */
32 32 public function display() {
33 33 $defaultValues = array('position');
@@ -38,12 +38,12 @@
38 38 }
39 39 }
40 40 echo $this->getTemplate('default');
41 41 }
42 -
42 +
43 43 /**
44 - * Output JavaScript files requirred to Add-New-Block view to run.
45 - *
44 + * Output Javascript files requirred to Add-New-Block view to run.
45 + *
46 46 * @return void
47 47 */
48 48 public static function enququeScripts() {
49 49 // Use related scripts.
@@ -54,12 +54,12 @@
54 54 'framework:js:misc:{CJT-}simple-error-dialog',
55 55 'views:blocks:new:public:js:{CJT-}add-new-block'
56 56 );
57 57 }
58 -
58 +
59 59 /**
60 60 * Output CSS files required to Add-New-Block view.
61 - *
61 + *
62 62 * @return void
63 63 */
64 64 public static function enququeStyles() {
65 65 // Use related styles.
@@ -68,9 +68,9 @@
68 68 'framework:css:{CJT-}error-dialog',
69 69 'framework:css:{CJT-}forms'
70 70 );
71 71 }
72 -
72 +
73 73 } // End class.
74 74
75 75 // Hookable!!
76 76 CJTBlocksNewView::define('CJTBlocksNewView');