Changeset 1557951
- Timestamp:
- 12/20/2016 03:37:04 AM (9 years ago)
- Location:
- wp-tradingview/tags/1.2
- Files:
-
- 1 edited
- 6 copied
-
. (copied) (copied from wp-tradingview/trunk)
-
images (copied) (copied from wp-tradingview/trunk/images)
-
inc (copied) (copied from wp-tradingview/trunk/inc)
-
inc/class_chart.php (modified) (1 diff)
-
js (copied) (copied from wp-tradingview/trunk/js)
-
readme.txt (copied) (copied from wp-tradingview/trunk/readme.txt) (1 diff)
-
tradingview.php (copied) (copied from wp-tradingview/trunk/tradingview.php) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-tradingview/tags/1.2/inc/class_chart.php
r1557940 r1557951 367 367 public static function display_TradingView($symbol,$interval,$timezone,$autosize,$width,$height,$theme,$style,$locale,$toolbar_bg,$enable_publishing,$allow_symbol_change,$hide_top_toolbar,$withdateranges,$hide_side_toolbar,$save_image,$details,$stocktwits,$headlines,$hotlist,$calendar,$hideideas,$hideideasbutton,$referral_id){ 368 368 $data = ""; 369 //$x='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; 370 //$rand = 'id="tv-ideas-stream-'.substr(str_shuffle(str_repeat($x, ceil(5/strlen($x)) )),1,5).'"'; 371 //$rand = 'tv-chart-widget-'.substr(str_shuffle(str_repeat($x, ceil(5/strlen($x)) )),1,5); 372 //if($widthpop==2) $width = "'".$width."%'"; 373 //if($heightpop==2) $height = "'".$height."%'"; 374 //$data .= "<div id=".$rand."></div> 369 375 370 $data .= "<script type='text/javascript'> 376 371 new TradingView.widget({"; 377 372 if($autosize=='1') $data .= " 378 'autosize': true, 379 'height': ".$height.","; 373 'autosize': true,"; 380 374 else{ 381 375 $data .= " -
wp-tradingview/tags/1.2/readme.txt
r1557943 r1557951 49 49 == Changelog == 50 50 51 *1.1 Updated autosize to enable 100% width/height and override pixel width and height. 52 *1.0 Stable initial release 51 = 1.2 = 52 * Wrong value retrieved for height parameter bug fixed. 53 54 = 1.1 = 55 * Updated autosize to enable 100% width/height and override pixel width and height. 56 57 = 1.0 = 58 * Stable initial release -
wp-tradingview/tags/1.2/tradingview.php
r1557943 r1557951 4 4 Plugin URI: http://tradepips.com 5 5 Description: WP Trading View - Display TradingView Profile, TradingView ideas, chat widget or forex / stock charts. 6 Version: 1. 16 Version: 1.2 7 7 Author: Trade Pips 8 8 Author URI: http://tradepips.com
Note: See TracChangeset
for help on using the changeset viewer.