Changeset 1784752
- Timestamp:
- 12/11/2017 01:34:55 PM (8 years ago)
- Location:
- chartsbeds/trunk
- Files:
-
- 2 edited
-
chartsbeds-widget-review.php (modified) (1 diff)
-
hotelrev.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
chartsbeds/trunk/chartsbeds-widget-review.php
r1761625 r1784752 21 21 if(!$cba['key']){ 22 22 $thekey = htmlspecialchars_decode (get_option("charts_key")); 23 $json = file_get_contents('http://dashboard.chartspms.com/REVIEWS.json.php?apiKey='.$thekey.' ', true, $Context);23 $json = file_get_contents('http://dashboard.chartspms.com/REVIEWS.json.php?apiKey='.$thekey.'&limit='.esc_attr($cba['limit']).'', true, $Context); 24 24 }else{ 25 25 $ekey = 'http://dashboard.chartspms.com/REVIEWS.json.php?apiKey='.$cba['key'].'&limit='.esc_attr($cba['limit']).''; -
chartsbeds/trunk/hotelrev.php
r1784638 r1784752 27 27 28 28 function cbeds_add_header_mc() { 29 wp_enqueue_style( 'rvmain-css', plugins_url( 'styles/style.css', __FILE__ ) );29 wp_enqueue_style( 'rvmain-css', plugins_url( 'styles/style.css', __FILE__ ) ); 30 30 wp_register_style( 'rvmain-css', plugins_url( 'styles/style.css', __FILE__ ) ); 31 32 if(get_option("dark_on")){33 wp_enqueue_style( 'rvdark-css', plugins_url( 'styles/dark.css', __FILE__ ) );34 wp_register_style( 'rvdark-css', plugins_url( 'styles/dark.css', __FILE__ ) );35 }31 32 if(get_option("dark_on")){ 33 wp_enqueue_style( 'rvdark-css', plugins_url( 'styles/dark.css', __FILE__ ) ); 34 wp_register_style( 'rvdark-css', plugins_url( 'styles/dark.css', __FILE__ ) ); 35 } 36 36 wp_enqueue_style( 'font-awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' ); 37 38 if(get_option("bootstrap_on")){39 wp_enqueue_style( 'bootstrapcdn', 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css' );40 }41 37 38 if(get_option("bootstrap_on")){ 39 wp_enqueue_style( 'bootstrapcdn', 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css' ); 40 } 41 42 42 wp_enqueue_script( 'circles', plugins_url( 'scripts/circles.js', __FILE__ ) ); 43 43 wp_enqueue_script( 'shorten', plugins_url( 'scripts/shorten.js', __FILE__ ) ); … … 52 52 add_action( 'wp_footer', function () { 53 53 ?> 54 54 55 55 <script language="javascript" type="text/javascript"> 56 iFrameResize({log:false, checkOrigin: false, heightCalculationMethod:'min'}); 56 iFrameResize({log:false, checkOrigin: false, heightCalculationMethod:'min', 57 initCallback: function(){ 58 window.scrollTo(0, 0); 59 } 60 }); 57 61 </script> 58 62
Note: See TracChangeset
for help on using the changeset viewer.