| @@ 58-69 (lines=12) @@ | ||
| 55 | "show" |
|
| 56 | ); |
|
| 57 | ||
| 58 | public function init() |
|
| 59 | { |
|
| 60 | parent::init(); |
|
| 61 | Requirements::javascript(THIRDPARTY_DIR."/jquery/jquery.js"); |
|
| 62 | if (class_exists("PrettyPhoto")) { |
|
| 63 | PrettyPhoto::include_code(); |
|
| 64 | } else { |
|
| 65 | user_error("It is recommended that you include the PrettyPhoto Module", E_USER_NOTICE); |
|
| 66 | } |
|
| 67 | Requirements::javascript("webportfolio/javascript/webportfolio.js"); |
|
| 68 | Requirements::themedCSS("WebPortfolioPage", "webportfolio"); |
|
| 69 | } |
|
| 70 | ||
| 71 | protected $IDArray = array(); |
|
| 72 | protected $hasFilter = false; |
|
| @@ 139-151 (lines=13) @@ | ||
| 136 | ||
| 137 | private static $ajax_file_location = "webportfolio/javascript/timeline-executive.js"; |
|
| 138 | ||
| 139 | public function init() |
|
| 140 | { |
|
| 141 | parent::init(); |
|
| 142 | Requirements::javascript(THIRDPARTY_DIR."/jquery/jquery.js"); |
|
| 143 | if (class_exists("PrettyPhoto")) { |
|
| 144 | PrettyPhoto::include_code(); |
|
| 145 | } else { |
|
| 146 | user_error("It is recommended that you include the PrettyPhoto Module", E_USER_NOTICE); |
|
| 147 | } |
|
| 148 | Requirements::javascript($this->Config()->get("ajax_file_location")); |
|
| 149 | Requirements::javascript("webportfolio/thirdparty/TimelineJS/compiled/js/storyjs-embed.js"); |
|
| 150 | Requirements::themedCSS("WebPortfolioPageTimeLine", "webportfolio"); |
|
| 151 | } |
|
| 152 | ||
| 153 | public function json($request) |
|
| 154 | { |
|