Changeset 1969453
- Timestamp:
- 11/05/2018 11:26:32 PM (7 years ago)
- Location:
- irm-newsroom/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (1 diff)
-
irm-newsroom.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
irm-newsroom/trunk/README.txt
r1933523 r1969453 105 105 == Changelog == 106 106 107 = 1.2.3 = 108 * Updates to shortcode functions 109 107 110 = 1.2.2 = 108 111 * Cleaning up some of the functions -
irm-newsroom/trunk/irm-newsroom.php
r1942828 r1969453 17 17 * Plugin URI: http://www.irmnewsroom.com/ 18 18 * Description: IRM Newsroom is an ASX announcements, news and social media distribution service, which enables companies to easily communicate with investors and other stakeholders across multiple online channels – including website, email subscriptions and social media channels. 19 * Version: 1.2. 219 * Version: 1.2.3 20 20 * Author: IRM 21 21 * Author URI: http://irmau.com … … 78 78 $unsubscribe_url = $site_type . "://" . $site_key . "/" . $site_directory . "/data/UnsubscribeForm.aspx"; 79 79 80 return $out = '<script type="text/javascript" src="'.$script_url.'"></script><div data-unsubscribeformsurl="'.$unsubscribe_url.'" data-gotourl="/unsubscribed/">..</div>'; 80 $out = '<script type="text/javascript" src="'.$script_url.'"></script><div data-unsubscribeformsurl="'.$unsubscribe_url.'" data-gotourl="/unsubscribed/">..</div>'; 81 return $out; 81 82 82 83 } … … 102 103 add_action('wp_head', 'iguana_js', 1); 103 104 } 104 105 105 } 106 106 run_irm_newsroom(); … … 345 345 $url = "$site_type://$site_key/$site_directory/ShowListPage.aspx?CategoryID" . $id; 346 346 $jsurl = "$site_type://$site_key/$site_directory/js/Newsroom.js"; 347 $imgurl = "$site_type://$site_key/$site_directory/pub/RF.aspx?Wordpress=true"; 347 348 348 349 return $js_data = " 349 350 <div data-newsroomUrl='$url'>..</div> 350 351 <script type='text/javascript' src='$jsurl'></script> 352 <img src='$imgurl' style='display:none' /> 351 353 "; 352 354 … … 370 372 $url = "$site_type://$site_key/$site_directory/ShowFlat.aspx?CategoryID" . $id; 371 373 $jsurl = "$site_type://$site_key/$site_directory/js/Newsroom.js"; 374 $imgurl = "$site_type://$site_key/$site_directory/pub/RF.aspx?Wordpress=true"; 372 375 373 376 return $js_data = " 374 377 <div data-newsroomUrl='$url'>..</div> 375 378 <script type='text/javascript' src='$jsurl'></script> 379 <img src='$imgurl' style='display:none' /> 376 380 "; 377 381 … … 394 398 $url = "$site_type://$site_key/$site_directory/CalendarViewXml.aspx?CategoryID" . $id; 395 399 $jsurl = "$site_type://$site_key/$site_directory/js/Newsroom.js"; 400 $imgurl = "$site_type://$site_key/$site_directory/pub/RF.aspx?Wordpress=true"; 396 401 397 402 return $js_data = " 398 403 <div data-calendarurl='$url'>..</div> 399 404 <script type='text/javascript' src='$jsurl'></script> 405 <img src='$imgurl' style='display:none' /> 400 406 "; 401 407 … … 420 426 $jsurl = "$site_type://$site_key/$site_directory/js/Newsroom.js"; 421 427 $email_landing_page = esc_attr( get_option('email_landing_page') ); 428 $imgurl = "$site_type://$site_key/$site_directory/pub/RF.aspx?Wordpress=true"; 429 422 430 423 431 return $js_data = " 424 432 <div data-userregistrationformurl='$url' data-gotourl='$email_landing_page'>..</div> 425 433 <script type='text/javascript' src='$jsurl'></script> 434 <img src='$imgurl' style='display:none' /> 426 435 "; 427 436 }
Note: See TracChangeset
for help on using the changeset viewer.