Changeset 2020864
- Timestamp:
- 01/29/2019 03:22:40 AM (7 years ago)
- Location:
- irm-newsroom/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (2 diffs)
-
irm-newsroom.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
irm-newsroom/trunk/README.txt
r1969453 r2020864 5 5 Tags: ASX, ASX Announcements, ASX Listed, ASX Share Price, financial data, finance, public company, stock price, stock price feed, irm, newsroom, social, distribution, investors, subscriptions. 6 6 Requires at least: 3.0.1 7 Tested up to: 4.9.87 Tested up to: 5.0.3 8 8 Stable tag: 4.3 9 9 License: GPLv2 or later … … 105 105 == Changelog == 106 106 107 = 1.2.4 = 108 * Fixed active tab selection 109 107 110 = 1.2.3 = 108 111 * Updates to shortcode functions -
irm-newsroom/trunk/irm-newsroom.php
r1969453 r2020864 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. 319 * Version: 1.2.4 20 20 * Author: IRM 21 21 * Author URI: http://irmau.com … … 197 197 } 198 198 199 echo $irm_tabs = '<h2 class="nav-tab-wrapper" >200 <a href="?page=irm-newsroom&tab=configure" class="n av-tab">Configure IRM Newsroom</a>201 <a href="?page=irm-newsroom&tab=list" class="n av-tab">List Page Shortcodes</a>202 <a href="?page=irm-newsroom&tab=flat" class="n av-tab">Flat Page Shortcodes</a>203 <a href="?page=irm-newsroom&tab=shareprice" class="n av-tab">Shareprice</a>204 <a href="?page=irm-newsroom&tab=menu" class="n av-tab">Menu</a>205 <a href="?page=irm-newsroom&tab=events" class="n av-tab">Events Calendar</a>199 echo $irm_tabs = '<h2 class="nav-tab-wrapper" id="irm-newsroom-tabs"> 200 <a href="?page=irm-newsroom&tab=configure" class="nr-configure nav-tab">Configure IRM Newsroom</a> 201 <a href="?page=irm-newsroom&tab=list" class="nr-list nav-tab">List Page Shortcodes</a> 202 <a href="?page=irm-newsroom&tab=flat" class="nr-flat nav-tab">Flat Page Shortcodes</a> 203 <a href="?page=irm-newsroom&tab=shareprice" class="nr-shareprice nav-tab">Shareprice</a> 204 <a href="?page=irm-newsroom&tab=menu" class="nr-menu nav-tab">Menu</a> 205 <a href="?page=irm-newsroom&tab=events" class="nr-events nav-tab">Events Calendar</a> 206 206 </h2>'; 207 208 echo ' 209 <script> 210 (function($) { 211 var urlParams = new URLSearchParams(location.search) 212 var tab = urlParams.get("tab"); 213 console.log("irm newsroom. " + tab); 214 if(tab > "") { 215 $("#irm-newsroom-tabs .nr-"+tab).addClass("nav-tab-active"); 216 } else { 217 $("#irm-newsroom-tabs .nr-configure").addClass("nav-tab-active"); 218 } 219 })( jQuery ); 220 </script> 221 '; 207 222 208 223 if( ($active_tab == "") || ($active_tab == "configure") ) {
Note: See TracChangeset
for help on using the changeset viewer.