Changeset 1748333
- Timestamp:
- 10/17/2017 11:17:57 PM (8 years ago)
- File:
-
- 1 edited
-
irm-newsroom/trunk/irm-newsroom.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
irm-newsroom/trunk/irm-newsroom.php
r1713434 r1748333 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.0. 419 * Version: 1.0.5 20 20 * Author: IRM 21 21 * Author URI: http://irmau.com … … 127 127 $irm_shortcodes_flat = get_data("$site_type://$site_key/$site_directory/SiteData.aspx?DataType=FlatPage"); 128 128 129 $irm_styles = " 130 <style> 131 .irm-trial a { 132 color:#FFF 133 } 134 .irm-trial { 135 border-radius: 3px; 136 background: #f5822a; 137 padding: 12px; 138 font-size: 18px; 139 color: #FFF; 140 font-weight:bold; 141 text-shadow:0px 1px 2px rgba(181, 108, 53, 0.82); 142 border:1px solid rgba(181, 108, 53, 0.82); 143 } 144 </style> 145 "; 146 147 echo $irm_styles; 148 129 149 echo '<div class="wrap">'; 130 150 echo '<p><img src="http://www.irmau.com/irm/showmedia.aspx?MediaId=1" style="background:#FFFFFF;border-radius:20px;padding:10px 50px;width:100px;"></p>'; 151 echo '<p class="irm-trial">If you\'d like to organise a free trial of IRM Newsroom, <a href="http://irmau.com/site/websites/newsroom-trial" target="_blank">please click here</a>.</p>'; 131 152 echo '<h2>Configure IRM Newsroom Below</h2>'; 132 153 echo '<p>'; 133 154 echo '<label><b>Site Key:</b> '; 155 echo '<p>You will need a site key to link your wordpress website to the IRM Newsroom software to enable your feeds.</p>'; 156 echo '<p><i>If you dont have a site key, please <a href="http://www.irmhelpcentre.com/irm/content/contact-support.aspx?RID=333" target="_blank">request one from here</a>. </i></p>'; 134 157 echo '<form method="post" action="options.php">'; 135 158 echo '<input type="text" name="site_type" value="'.$site_type.'" maxlength="5" placeholder="http/s" />'; … … 137 160 echo '<input type="text" name="site_key" value="'.$site_key.'" placeholder="Site URL" />'; 138 161 echo ' / <input type="text" name="site_directory" value="'.$site_directory.'" placeholder="Site Directory" /> / '; 139 echo '<p><label>Email Alerts Landing Page: </label> <input type="text" name="email_landing_page" value="'.$email_landing_page.'" /></p>'; 162 163 echo '<h3>Email Alerts</h3>'; 164 echo '<p>To show the Email Alerts Signup Form please copy and paste the shortcode below to a page on your website: </p>'; 165 echo '<pre><code>[email_alerts_form]</code></pre>'; 166 167 echo '<p><label>Email Alerts Success Page: </label> <input type="text" name="email_landing_page" value="'.$email_landing_page.'" /></p>'; 140 168 settings_fields( 'irm-newsroom-group' ); 141 169 do_settings_sections( 'irm-newsroom-group' ); … … 143 171 echo '</form></p>'; 144 172 echo '<p><b>For testing use: <code>www.irmau.com</code></b></p>'; 145 echo '<p><i>If you dont have a site key, please <a href="http://www.irmnewsroom.com/" target="_blank">request one from here</a>. </i></p>';146 173 echo '<h3>Menu</h3>'; 147 echo '<p>IRM Generated Menu : [irmmenu]</p>'; 148 echo '<p>IRM Generated Menu in Wordpress Theme : <pre>echo do_shortcode("[irmmenu]");</pre></p>'; 149 echo '<h3>Email Alerts</h3>'; 150 echo '<p>Show the Email Alerts Form: </p>'; 151 echo '<pre>[email_alerts_form]</pre>'; 174 echo '<p>IRM Generated Menu : <pre><code>[irmmenu]</code></pre></p>'; 175 echo '<p>IRM Generated Menu in Wordpress Theme : <pre><code>echo do_shortcode("[irmmenu]");</code></pre></p>'; 152 176 echo '<h3>Shortcodes</h3>'; 153 177 echo '<p>Use these to embed newsfeeds into your wordpress site.</p>'; … … 156 180 echo '</pre><h2>Flat Page Shortcodes</h2><pre>'; 157 181 echo $irm_shortcodes_flat; 158 //echo '<pre>[irm=8] : For ASX Announcements</pre>';159 //echo '<pre>...</pre>';160 182 echo '</pre></div>'; 183 184 echo "<p><a href='http://www.irmhelpcentre.com/irm/content/how-do-i-install-my-irm-newsroom-free-trial.aspx?RID=1654' target='_blank' class='button button-primary'>For help installing IRM Newsroom please click here.</a></p>"; 185 161 186 } 162 187
Note: See TracChangeset
for help on using the changeset viewer.