Changeset 5392 in spip-zone
- Timestamp:
- Sep 15, 2006, 3:09:37 PM (15 years ago)
- Location:
- _plugins_
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/-jQuery/head.php
r5282 r5392 2 2 3 3 function JQuery_insert_head($flux){ 4 //if (_request('jqdb')!==NULL) 5 $js = '<script src="'.find_in_path('jquery.lite.213.js').'" type="text/javascript"></script>'; 4 if (!_request('jqdb')) 5 $js = '<script src="'.find_in_path('jquery-1.0.1.pack.js').'" type="text/javascript"></script>'; 6 else 7 $js = '<script src="'.find_in_path('jquery-1.0.1.js').'" type="text/javascript"></script>'; 8 6 9 $js .= '<script src="'.find_in_path('form.js').'" type="text/javascript"></script>'; 7 //else8 // $js = '<script src="'.find_in_path('jquery.pack.213.js').'" type="text/javascript"></script>';9 10 if (strpos($flux,'<head')!==FALSE) 10 11 return preg_replace('/(<head[^>]*>)/i', "\n\$1".$js, $flux, 1); -
_plugins_/thickbox/head.php
r4458 r5392 11 11 12 12 ' 13 <script src=\''.url_absolue(find_in_path('thickbox.js')).'\' type=\'text/javascript\'></script> 14 <link rel="stylesheet" href="'.url_absolue(find_in_path('thickbox.css')).'" type="text/css" media="projection, screen" /> 15 13 16 <script type="text/javascript"><!-- 14 $(document).load(function() { 17 $(document).ready(function() { 18 alert(10); 15 19 if ($("a.thickbox,a[@type=\'image/jpeg\'],a[@type=\'image/png\'],a[@type=\'image/gif\']").addClass("thickbox").size()) { 16 20 TB_chemin_animation = "'.url_absolue(find_in_path('circle_animation.gif')).'"; 17 21 TB_chemin_close = "'.url_absolue(find_in_path('close.gif')).'"; 18 22 TB_chemin_css = "'.url_absolue(find_in_path('thickbox.css')).'"; 23 TB_init(); 19 24 } 20 25 } ); 21 // --></script> 22 <script src=\''.url_absolue(find_in_path('thickbox.js')).'\' type=\'text/javascript\'></script> 23 <link rel="stylesheet" href="'.url_absolue(find_in_path('thickbox.css')).'" type="text/css" media="projection, screen" /> 24 '; 26 // --></script>'; 25 27 26 28 return $flux; -
_plugins_/thickbox/thickbox.js
r4715 r5392 30 30 31 31 // chercher une description (si je suis dans un dt => dd suivants) 32 if (dd = $(this.parentNode.parentNode).find('dd').get(0)) {33 t += '<div class="description">'+ dd.innerHTML +'</div>';34 }32 // if (dd = $(this.parentNode.parentNode).find('dd').get(0)) { 33 // t += '<div class="description">'+ dd.innerHTML +'</div>'; 34 // } 35 35 36 36 TB_on();
Note: See TracChangeset
for help on using the changeset viewer.