Changeset 3196397
- Timestamp:
- 11/25/2024 11:26:51 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
demomentsomtres-night-and-day/trunk/demomentsomtres-night-and-day.php
r3196394 r3196397 5 5 Plugin URI: demomentsomtres.com/english/wordpress-plugins/demomentsomtres-night-day/ 6 6 Description: Provides the shortcode dms3nad allowing to show contents only during an specific time frame specified in the shortcode paramenters. Shortcode format is [dms3nad start="hh:mm" end="hh:mm"]Content to show[/dms3nad]. 7 Version: 1.0. 17 Version: 1.0.2 8 8 Author: MarcQueralt 9 9 Author URI: http://demomentsomtres.com/ … … 30 30 // $content = ''; 31 31 // endif; 32 $start_h = (int)substr($start, 0, 2); 33 $start_m = (int)substr($start, -2); 34 $end_h = (int)substr($end, 0, 2); 35 $end_m = (int)substr($end, -2); 36 32 // $start_h = substr($start, 0, 2); 33 // $start_m = substr($start, -2); 34 // $end_h = substr($end, 0, 2); 35 // $end_m = substr($end, -2); 36 $start_h = substr($start, 0, 2); // NT 1.0.2 37 $start_m = substr($start, -2); // NT 1.0.2 38 $end_h = substr($end, 0, 2); // NT 1.0.2 39 $end_m = substr($end, -2); // NT 1.0.2 37 40 $avui = getdate(); 38 41 $ara = new dateTime();
Note: See TracChangeset
for help on using the changeset viewer.