web/common.php
changeset 259 bc17d1af15ab
parent 258 58bd8e4d5e65
child 266 bb7a2f8202b9
equal deleted inserted replaced
258:58bd8e4d5e65 259:bc17d1af15ab
   103 	
   103 	
   104 }
   104 }
   105 
   105 
   106 $js_registry = array(
   106 $js_registry = array(
   107 	'local' => array(
   107 	'local' => array(
   108 	    'jquery' => URL_ROOT.'res/js/jquery-1.4.3.min.js',
   108 	    'jquery' 		=> URL_ROOT.'res/js/jquery-1.4.3.min.js',
   109 	    'raphael' => URL_ROOT.'res/raphael/raphael-min.js',
   109 	    'raphael' 		=> URL_ROOT.'res/raphael/raphael-min.js',
   110 	    'jquery-ui' => URL_ROOT.'res/js/jquery-ui-1.8.13.min.js',
   110 	    'jquery-ui' 	=> URL_ROOT.'res/js/jquery-ui-1.8.13.min.js',
   111 	    'niceforms' => URL_ROOT.'res/niceforms/niceforms.js',
   111 	    'niceforms' 	=> URL_ROOT.'res/niceforms/niceforms.js',
   112 	    'jquery-url' => URL_ROOT.'res/js/jquery.url.js',
   112 	    'jquery-url' 	=> URL_ROOT.'res/js/jquery.url.js',
   113 	    'ldtplayer' => URL_ROOT.'res/metadataplayer/src/js/LdtPlayer.js',
   113 	    'ldtplayer' 	=> URL_ROOT.'res/metadataplayer/src/js/LdtPlayer.js',
   114 		'fancybox' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.pack.js',
   114 		'fancybox' 		=> URL_ROOT.'res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.pack.js',
   115 		'jquery-tools' => URL_ROOT.'res/metadataplayer/res/js/jquery.tools.min.js',
   115 		'jquery-tools' 	=> URL_ROOT.'res/metadataplayer/res/js/jquery.tools.min.js',
   116 		'tw-widget' => URL_ROOT.'res/js/tw_widget.js',
   116 		'tw-widget' 	=> URL_ROOT.'res/js/tw_widget.js',
   117 		'jquery-mousewheel' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.mousewheel-3.0.4.pack.js',
   117 		'jquery-mousewheel' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.mousewheel-3.0.4.pack.js',
   118 		'swfobject' => URL_ROOT.'res/metadataplayer/res/js/swfobject.js',
   118 		'swfobject' 	=> URL_ROOT.'res/metadataplayer/res/js/swfobject.js',
       
   119 		'json-js' 		=> URL_ROOT.'res/douglascrockford-JSON-js/json2.js',
       
   120 
   119 	),
   121 	),
   120 	'cdn' => array(
   122 	'cdn' => array(
   121 	    'jquery' => 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js',
   123 	    'jquery' 		=> 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js',
   122 		'raphael' => URL_ROOT.'res/raphael/raphael-min.js',
   124 		'raphael' 		=> URL_ROOT.'res/raphael/raphael-min.js',
   123 		'jquery-ui' => 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js',
   125 		'jquery-ui' 	=> 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js',
   124 		'niceforms' => URL_ROOT.'res/niceforms/niceforms.js',
   126 		'niceforms' 	=> URL_ROOT.'res/niceforms/niceforms.js',
   125 		'jquery-url' => URL_ROOT.'res/js/jquery.url.js',
   127 		'jquery-url' 	=> URL_ROOT.'res/js/jquery.url.js',
   126 		'ldtplayer' => URL_ROOT.'res/metadataplayer/src/js/LdtPlayer.js',
   128 		'ldtplayer' 	=> URL_ROOT.'res/metadataplayer/src/js/LdtPlayer.js',
   127 		'fancybox' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.pack.js',
   129 		'fancybox' 		=> URL_ROOT.'res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.pack.js',
   128 		'jquery-tools' => 'http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js',
   130 		'jquery-tools' 	=> 'http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js',
   129 		'tw-widget' => 'http://widgets.twimg.com/j/2/widget.js',
   131 		'tw-widget' 	=> 'http://widgets.twimg.com/j/2/widget.js',
   130 		'jquery-mousewheel' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.mousewheel-3.0.4.pack.js',
   132 		'jquery-mousewheel' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.mousewheel-3.0.4.pack.js',
   131 		'swfobject' => 'http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js',
   133 		'swfobject' 	=> 'http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js',
       
   134 		'json-js' 		=> URL_ROOT.'res/douglascrockford-JSON-js/json2.js',
       
   135 		
   132 	)
   136 	)
   133 );
   137 );
   134 
   138 
   135 $font_registry = array(
   139 $font_registry = array(
   136 	'local' => array(
   140 	'local' => array(
   137 		'PT-Sans_Narrow' => URL_ROOT.'res/fonts/PT_Sans-Narrow-Web-Regular.css',
   141 		'PT-Sans_Narrow' => URL_ROOT.'res/fonts/PT_Sans-Narrow-Web-Regular.css',
   138 		'PT-Sans' => URL_ROOT.'res/fonts/PT_Sans-Web-Regular.css',
   142 		'PT-Sans' 		 => URL_ROOT.'res/fonts/PT_Sans-Web-Regular.css',
   139 		'Geo' => URL_ROOT.'res/fonts/Geo-Regular.css'
   143 		'Geo' 			 => URL_ROOT.'res/fonts/Geo-Regular.css'
   140 	),
   144 	),
   141 	'cdn' => array(
   145 	'cdn' => array(
   142 		'PT-Sans_Narrow' => 'http://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin',
   146 		'PT-Sans_Narrow' => 'http://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin',
   143 		'PT-Sans' => 'http://fonts.googleapis.com/css?family=PT+Sans&subset=latin',
   147 		'PT-Sans' 		 => 'http://fonts.googleapis.com/css?family=PT+Sans&subset=latin',
   144 		'Geo' => 'http://fonts.googleapis.com/css?family=Geo&subset=latin'
   148 		'Geo' 			 => 'http://fonts.googleapis.com/css?family=Geo&subset=latin'
   145 	)
   149 	)
   146 );
   150 );
   147 
   151 
   148 
   152 
   149 $css_registry = array(
   153 $css_registry = array(