Changeset 65889 in spip-zone
- Timestamp:
- Sep 15, 2012, 12:28:31 PM (8 years ago)
- Location:
- _plugins_/jquery_timepicker
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/jquery_timepicker/paquet.xml
r65845 r65889 11 11 <auteur>tofulm</auteur> 12 12 <pipeline nom="insert_head_css" inclure="timepicker_pipelines.php" /> 13 <pipeline nom="insert_head" inclure="timepicker_pipelines.php" /> 13 14 <pipeline nom="jquery_plugins" inclure="timepicker_pipelines.php" /> 14 15 <pipeline nom="jqueryui_plugins" inclure="timepicker_pipelines.php" /> -
_plugins_/jquery_timepicker/timepicker_pipelines.php
r65845 r65889 11 11 } 12 12 13 /** 14 * insertion du js pour timepicker 15 **/ 16 function timepicker_insert_head($flux){ 17 $flux .= <<<EOF 18 <script type="text/javascript"> 19 $(document).ready(function(){ 20 jQuery(".datetimepicker").datetimepicker({ 21 addSliderAccess: true, 22 sliderAccessArgs: { touchonly: false } 23 }); 24 jQuery(".timepicker").timepicker({ 25 addSliderAccess: true, 26 sliderAccessArgs: { touchonly: false } 27 }); 28 }); 29 </script> 30 EOF; 31 return $flux; 32 } 13 33 /** 14 34 * insertion des scripts du timepickers ui
Note: See TracChangeset
for help on using the changeset viewer.