| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* | |
| 3 | +* | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | // No direct access. |
| 7 | 7 | defined('ABSPATH') or die('Access denied'); |
| @@ -6,22 +6,22 @@ | ||
| 6 | 6 | // No direct access. |
| 7 | 7 | defined('ABSPATH') or die('Access denied'); |
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | -* | |
| 10 | +* | |
| 11 | 11 | */ |
| 12 | 12 | class CJTPackagesInstallView extends CJTView { |
| 13 | - | |
| 13 | + | |
| 14 | 14 | /** |
| 15 | 15 | * put your comment there... |
| 16 | - * | |
| 16 | + * | |
| 17 | 17 | * @var mixed |
| 18 | 18 | */ |
| 19 | 19 | protected $moduleParamName; |
| 20 | - | |
| 20 | + | |
| 21 | 21 | /** |
| 22 | 22 | * put your comment there... |
| 23 | - * | |
| 23 | + * | |
| 24 | 24 | * @var mixed |
| 25 | 25 | */ |
| 26 | 26 | protected $uploaderModuleName; |
| 27 | 27 | |
| @@ -26,23 +26,23 @@ | ||
| 26 | 26 | protected $uploaderModuleName; |
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * put your comment there... |
| 30 | - * | |
| 30 | + * | |
| 31 | 31 | * @var mixed |
| 32 | 32 | */ |
| 33 | 33 | protected $uploaderActionName; |
| 34 | - | |
| 34 | + | |
| 35 | 35 | /** |
| 36 | 36 | * put your comment there... |
| 37 | - * | |
| 37 | + * | |
| 38 | 38 | * @var mixed |
| 39 | 39 | */ |
| 40 | 40 | protected $uploaderControllerName; |
| 41 | - | |
| 41 | + | |
| 42 | 42 | /** |
| 43 | 43 | * put your comment there... |
| 44 | - * | |
| 44 | + * | |
| 45 | 45 | * @param mixed $tpl |
| 46 | 46 | */ |
| 47 | 47 | public function display($tpl = null) { |
| 48 | 48 | // Get uploader parameters. |
| @@ -52,17 +52,17 @@ | ||
| 52 | 52 | $this->moduleParamName = 'cjtajaxmodule'; |
| 53 | 53 | // Display form. |
| 54 | 54 | echo $this->getTemplate($tpl); |
| 55 | 55 | } |
| 56 | - | |
| 56 | + | |
| 57 | 57 | /** |
| 58 | - * Output JavaScript files requirred to Add-New-Block view to run. | |
| 59 | - * | |
| 58 | + * Output Javascript files requirred to Add-New-Block view to run. | |
| 59 | + * | |
| 60 | 60 | * @return void |
| 61 | 61 | */ |
| 62 | 62 | public function enququeScripts() { |
| 63 | 63 | // Use related scripts. |
| 64 | - self::useScripts(__CLASS__, | |
| 64 | + self::useScripts(__CLASS__, | |
| 65 | 65 | 'jquery', |
| 66 | 66 | 'thickbox', |
| 67 | 67 | 'jquery-serialize-object', |
| 68 | 68 | 'framework:js:misc:{CJT-}simple-error-dialog', |
| @@ -68,12 +68,12 @@ | ||
| 68 | 68 | 'framework:js:misc:{CJT-}simple-error-dialog', |
| 69 | 69 | 'views:packages:install:public:js:{CJT-}install' |
| 70 | 70 | ); |
| 71 | 71 | } |
| 72 | - | |
| 72 | + | |
| 73 | 73 | /** |
| 74 | 74 | * Output CSS files required to Add-New-Block view. |
| 75 | - * | |
| 75 | + * | |
| 76 | 76 | * @return void |
| 77 | 77 | */ |
| 78 | 78 | public function enququeStyles() { |
| 79 | 79 | // Use related styles. |
| @@ -83,9 +83,9 @@ | ||
| 83 | 83 | 'framework:css:{CJT-}error-dialog', |
| 84 | 84 | 'views:packages:install:public:css:{CJT-}install' |
| 85 | 85 | ); |
| 86 | 86 | } |
| 87 | - | |
| 87 | + | |
| 88 | 88 | } // End class. |
| 89 | 89 | |
| 90 | 90 | // Hookable!! |
| 91 | 91 | CJTPackagesInstallView::define('CJTPackagesInstallView', array('hookType' => CJTWordpressEvents::HOOK_FILTER)); |