| @@ -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 CJTInstallerNoticeView extends CJTView { |
| 13 | - | |
| 13 | + | |
| 14 | 14 | /** |
| 15 | 15 | * put your comment there... |
| 16 | - * | |
| 16 | + * | |
| 17 | 17 | * @param mixed $info |
| 18 | 18 | * @return CJTInstallerNoticeView |
| 19 | 19 | */ |
| 20 | 20 | public function __construct($info) { |
| @@ -21,36 +21,28 @@ | ||
| 21 | 21 | // CJTView class! |
| 22 | 22 | parent::__construct($info); |
| 23 | 23 | // Enqueue scripts. |
| 24 | 24 | self::enqueueScripts(); |
| 25 | - self::enqueueStyles(); | |
| 26 | 25 | } |
| 27 | - | |
| 26 | + | |
| 28 | 27 | /** |
| 29 | 28 | * put your comment there... |
| 30 | - * | |
| 29 | + * | |
| 31 | 30 | * @param mixed $tpl |
| 32 | 31 | */ |
| 33 | 32 | public function display($tpl = null) { |
| 34 | 33 | echo $this->getTemplate($tpl); |
| 35 | 34 | } |
| 36 | - | |
| 35 | + | |
| 37 | 36 | /** |
| 38 | 37 | * put your comment there... |
| 39 | - * | |
| 38 | + * | |
| 40 | 39 | */ |
| 41 | 40 | public static function enqueueScripts() { |
| 42 | 41 | // Use related scripts. |
| 43 | - self::useScripts(__CLASS__, | |
| 42 | + self::useScripts(__CLASS__, | |
| 44 | 43 | 'framework:js:ajax:{CJT-}cjt-server', |
| 45 | 44 | 'views:installer:notice:public:js:{CJTInstallerNotice-}default;1' |
| 46 | 45 | ); |
| 47 | 46 | } |
| 48 | - | |
| 49 | - public static function enqueueStyles() { | |
| 50 | - // Use related scripts. | |
| 51 | - self::useStyles(__CLASS__, | |
| 52 | - 'framework:css:{CJT-}install-notice' | |
| 53 | - ); | |
| 54 | - } | |
| 55 | - | |
| 47 | + | |
| 56 | 48 | } // End class. |