172 |
172 |
173 } |
173 } |
174 |
174 |
175 $js_registry = array( |
175 $js_registry = array( |
176 'local' => array( |
176 'local' => array( |
|
177 'libdir' => URL_ROOT.'res/js/', |
177 'jquery' => URL_ROOT.'res/js/jquery-1.4.3.min.js', |
178 'jquery' => URL_ROOT.'res/js/jquery-1.4.3.min.js', |
178 'raphael' => URL_ROOT.'res/raphael/raphael-min.js', |
179 'raphael' => URL_ROOT.'res/js/raphael.js', |
179 'jquery-ui' => URL_ROOT.'res/js/jquery-ui-1.8.13.min.js', |
180 'jquery-ui' => URL_ROOT.'res/js/jquery-ui-1.8.13.min.js', |
180 'niceforms' => URL_ROOT.'res/niceforms/niceforms.js', |
181 'niceforms' => URL_ROOT.'res/js/niceforms.js', |
181 'jquery-url' => URL_ROOT.'res/js/jquery.url.js', |
182 'jquery-url' => URL_ROOT.'res/js/jquery.url.js', |
182 'ldtplayer' => URL_ROOT.'res/metadataplayer/src/js/LdtPlayer.js', |
183 'ldtplayer' => URL_ROOT.'res/metadataplayer/src/js/LdtPlayer.js', |
183 'fancybox' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.pack.js', |
184 'fancybox' => URL_ROOT.'res/js/fancybox/jquery.fancybox-1.3.4.pack.js', |
184 'jquery-tools' => URL_ROOT.'res/metadataplayer/res/js/jquery.tools.min.js', |
185 'jquery-tools' => URL_ROOT.'res/js/jquery.tools.min.js', |
185 'tw-widget' => URL_ROOT.'res/js/tw_widget.js', |
186 'tw-widget' => URL_ROOT.'res/js/tw_widget.js', |
186 'jquery-mousewheel' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.mousewheel-3.0.4.pack.js', |
187 'jquery-mousewheel' => URL_ROOT.'res/js/jquery.mousewheel-3.0.4.pack.js', |
187 'swfobject' => URL_ROOT.'res/metadataplayer/res/js/swfobject.js', |
188 'swfobject' => URL_ROOT.'res/js/swfobject.js', |
188 'json-js' => URL_ROOT.'res/douglascrockford-JSON-js/json2.js', |
189 'json-js' => URL_ROOT.'res/js/json2.js', |
189 'underscore' => URL_ROOT.'res/underscore/underscore-min.js' , |
190 'underscore' => URL_ROOT.'res/js/underscore-min.js' , |
190 'jquery-scrollto'=>URL_ROOT.'res/jquery.scrollto/jquery.scrollTo-1.4.2-min.js' , |
191 'jquery-scrollto'=>URL_ROOT.'res/js/jquery.scrollTo-1.4.2-min.js' , |
191 'twcx-main' => URL_ROOT.'res/js-tweetcast/live-polemic.js' , |
192 'twcx-main' => URL_ROOT.'res/js/live-polemic.js' , |
192 'semanticboard' => URL_ROOT.'res/js-tweetcast/semanticboard.js' , |
193 'semanticboard' => URL_ROOT.'res/js/semanticboard.js' , |
193 |
194 'metadataplayer'=> URL_ROOT.'res/js/LdtPlayer-release.js' , |
194 ), |
195 ), |
195 'cdn' => array( |
196 'cdn' => array( |
|
197 'libdir' => URL_ROOT.'res/js/', |
196 'jquery' => 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js', |
198 'jquery' => 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js', |
197 'raphael' => URL_ROOT.'res/raphael/raphael-min.js', |
199 'raphael' => URL_ROOT.'res/js/raphael.js', |
198 'jquery-ui' => 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js', |
200 'jquery-ui' => 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js', |
199 'niceforms' => URL_ROOT.'res/niceforms/niceforms.js', |
201 'niceforms' => URL_ROOT.'res/js/niceforms.js', |
200 'jquery-url' => URL_ROOT.'res/js/jquery.url.js', |
202 'jquery-url' => URL_ROOT.'res/js/jquery.url.js', |
201 'ldtplayer' => URL_ROOT.'res/metadataplayer/src/js/LdtPlayer.js', |
203 'ldtplayer' => URL_ROOT.'res/metadataplayer/src/js/LdtPlayer.js', |
202 'fancybox' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.pack.js', |
204 'fancybox' => URL_ROOT.'res/js/fancybox/jquery.fancybox-1.3.4.pack.js', |
203 'jquery-tools' => 'http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js', |
205 'jquery-tools' => 'http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js', |
204 'tw-widget' => 'http://widgets.twimg.com/j/2/widget.js', |
206 'tw-widget' => 'http://widgets.twimg.com/j/2/widget.js', |
205 'jquery-mousewheel' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.mousewheel-3.0.4.pack.js', |
207 'jquery-mousewheel' => URL_ROOT.'res/js/jquery.mousewheel-3.0.4.pack.js', |
206 'swfobject' => 'http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js', |
208 'swfobject' => 'http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js', |
207 'json-js' => URL_ROOT.'res/douglascrockford-JSON-js/json2.js', |
209 'json-js' => URL_ROOT.'res/js/json2.js', |
208 'underscore' => URL_ROOT.'res/underscore/underscore-min.js' , |
210 'underscore' => URL_ROOT.'res/js/underscore-min.js' , |
209 'jquery-scrollto'=>URL_ROOT.'res/jquery.scrollto/jquery.scrollTo-1.4.2-min.js' , |
211 'jquery-scrollto'=>URL_ROOT.'res/js/jquery.scrollTo-1.4.2-min.js' , |
210 'twcx-main' => URL_ROOT.'res/js-tweetcast/live-polemic.js' , |
212 'twcx-main' => URL_ROOT.'res/js/live-polemic.js' , |
211 'semanticboard' => URL_ROOT.'res/js-tweetcast/semanticboard.js' , |
213 'semanticboard' => URL_ROOT.'res/js/semanticboard.js' , |
|
214 'metadataplayer'=> URL_ROOT.'res/js/LdtPlayer-release.js' , |
212 |
215 |
213 ) |
216 ) |
214 ); |
217 ); |
215 |
218 |
216 $font_registry = array( |
219 $font_registry = array( |
227 ); |
230 ); |
228 |
231 |
229 |
232 |
230 $css_registry = array( |
233 $css_registry = array( |
231 'local' => array( |
234 'local' => array( |
232 'blueprint-screen' => URL_ROOT.'res/blueprint/screen.css', |
235 'blueprint-screen' => URL_ROOT.'res/css/blueprint-screen.css', |
233 'blueprint-print' => URL_ROOT.'res/blueprint/print.css', |
236 'blueprint-print' => URL_ROOT.'res/css/blueprint-print.css', |
234 'blueprint-ie' => URL_ROOT.'res/blueprint/ie.css', |
237 'blueprint-ie' => URL_ROOT.'res/css/blueprint-ie.css', |
235 'blueprint-plugins-fancy-type' => URL_ROOT.'res/blueprint/plugins/fancy-type/screen.css', |
238 'blueprint-plugins-fancy-type' => URL_ROOT.'res/css/blueprint-plugins/fancy-type/screen.css', |
236 'custom' => URL_ROOT.'res/css/custom.css', |
239 'custom' => URL_ROOT.'res/css/custom.css', |
237 'fancybox' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.css', |
240 'fancybox' => URL_ROOT.'res/js/fancybox/jquery.fancybox-1.3.4.css', |
238 'jquery-ui' => URL_ROOT.'res/metadataplayer/res/css/jq-css/themes/base/jquery-ui.css', |
241 'jquery-ui' => URL_ROOT.'res/metadataplayer/res/css/jq-css/themes/base/jquery-ui.css', |
239 'tabs-slideshow' => URL_ROOT.'res/css/tabs-slideshow.css', |
242 'tabs-slideshow' => URL_ROOT.'res/css/tabs-slideshow.css', |
240 'tweetcast' => URL_ROOT.'res/css/tweetcast.css', |
243 'tweetcast' => URL_ROOT.'res/css/tweetcast.css', |
241 'semanticboard' => URL_ROOT.'res/css/semanticboard.css', |
244 'semanticboard' => URL_ROOT.'res/css/semanticboard.css', |
242 'archives-iframe' => URL_ROOT.'res/css/archives-iframe.css', |
245 'archives-iframe' => URL_ROOT.'res/css/archives-iframe.css', |
|
246 'metadataplayer' => URL_ROOT.'res/css/metadataplayer/LdtPlayer.css', |
243 ), |
247 ), |
244 'cdn' => array( |
248 'cdn' => array( |
245 'blueprint-screen' => URL_ROOT.'res/blueprint/screen.css', |
249 'blueprint-screen' => URL_ROOT.'res/css/blueprint-screen.css', |
246 'blueprint-print' => URL_ROOT.'res/blueprint/print.css', |
250 'blueprint-print' => URL_ROOT.'res/css/blueprint-print.css', |
247 'blueprint-ie' => URL_ROOT.'res/blueprint/ie.css', |
251 'blueprint-ie' => URL_ROOT.'res/css/blueprint-ie.css', |
248 'blueprint-plugins-fancy-type' => URL_ROOT.'res/blueprint/plugins/fancy-type/screen.css', |
252 'blueprint-plugins-fancy-type' => URL_ROOT.'res/css/blueprint-plugins/fancy-type/screen.css', |
249 'custom' => URL_ROOT.'res/css/custom.css', |
253 'custom' => URL_ROOT.'res/css/custom.css', |
250 'fancybox' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.css', |
254 'fancybox' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.css', |
251 'jquery-ui' => "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/themes/base/jquery-ui.css", |
255 'jquery-ui' => "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/themes/base/jquery-ui.css", |
252 'tabs-slideshow' => URL_ROOT.'res/css/tabs-slideshow.css', |
256 'tabs-slideshow' => URL_ROOT.'res/css/tabs-slideshow.css', |
253 'tweetcast' => URL_ROOT.'res/css/tweetcast.css', |
257 'tweetcast' => URL_ROOT.'res/css/tweetcast.css', |
254 'semanticboard' => URL_ROOT.'res/css/semanticboard.css', |
258 'semanticboard' => URL_ROOT.'res/css/semanticboard.css', |
255 'archives-iframe' => URL_ROOT.'res/css/archives-iframe.css', |
259 'archives-iframe' => URL_ROOT.'res/css/archives-iframe.css', |
|
260 'metadataplayer' => URL_ROOT.'res/css/metadataplayer/LdtPlayer.css', |
256 ) |
261 ) |
257 ); |
262 ); |
258 |
263 |
259 |
264 |
260 function registry_url($key, $type, $registry_def=null) { |
265 function registry_url($key, $type, $registry_def=null) { |