Changeset 405028
- Timestamp:
- 07/05/2011 08:09:08 PM (15 years ago)
- Location:
- buysellads/trunk
- Files:
-
- 3 edited
-
helpers/bsa.functions.php (modified) (1 diff)
-
language/en_US/admin_lang.php (modified) (1 diff)
-
libraries/bsa.plugin.class.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
buysellads/trunk/helpers/bsa.functions.php
r398015 r405028 448 448 $network = get_option('bsa_shortname', 'BSA'); 449 449 $home = rtrim(get_option('bsa_homepage', 'buysellads.com'), '/'); 450 451 return "<p><a href='http://${rss}/click.php?z=${zone}&k=${site}&a=${article}&c=${random}' target='_blank'><img src='http://${rss}/img.php?z=${zone}&k=${site}&a=${article}&c=${random}' border='0' alt='' /></a></p><p><a href='http://${home}/buy/sitedetails/pubkey/${site}/zone/${zone}' target='_blank'>Advertise here with ${network}</a></p>"; 452 } 453 } 454 455 450 $promote = get_option('bsa_advertise_here', true); 451 452 return "<p><a href='http://${rss}/click.php?z=${zone}&k=${site}&a=${article}&c=${random}' target='_blank'> 453 <img src='http://${rss}/img.php?z=${zone}&k=${site}&a=${article}&c=${random}' border='0' alt='' /></a></p>". 454 ($promote ? "<p><a href='http://${home}/buy/sitedetails/pubkey/${site}/zone/${zone}' target='_blank'>Advertise here with ${network}</a></p>" : ''); 455 } 456 } 456 457 457 458 /** -
buysellads/trunk/language/en_US/admin_lang.php
r398015 r405028 28 28 $lang['bsa_rss_zone_bottom_desc'] = 'Enable Ads in the footer of each RSS feed item'; 29 29 $lang['bsa_rss_zone_bottom_id_desc'] = 'Enter the zone id for the ad zone that corresponds to the footer of the RSS feed'; 30 $lang['bsa_advertise_here_desc'] = 'Enter the Advertise Here text below the RSS Ad.'; 30 31 31 32 $lang['mobile_zone'] = 'Mobile'; -
buysellads/trunk/libraries/bsa.plugin.class.php
r398015 r405028 121 121 update_option('bsa_rss_zone_bottom_id', $bsa_rss_zone_bottom_id); 122 122 update_option('bsa_rss_zone_bottom', $bsa_rss_zone_bottom); 123 124 update_option('bsa_advertise_here', isset($_POST['bsa_advertise_here']) ? $_POST['bsa_advertise_here'] : false); 123 125 124 126 // Mobile settings … … 203 205 <span class="description"><?php echo $bsa_lang->line('bsa_rss_zone_top_id_desc'); ?></span> 204 206 </td> 205 </td>206 207 </tr> 207 <tr valign="top"> 208 209 <tr valign="top"> 210 <tr> 208 211 <th scope="row"><label for="bsa_rss_zone_bottom"></label></th> 209 212 <td> … … 220 223 <span class="description"><?php echo $bsa_lang->line('bsa_rss_zone_bottom_id_desc'); ?></span> 221 224 </td> 222 </td>223 225 </tr> 224 225 <tr valign="top"> 226 </tr> 227 <tr valign="top"> 228 <tr> 229 <th scope="row"><label for="bsa_advertise_here"></label></th> 230 <td> 231 <input type="checkbox" value="1" id="bsa_advertise_here" name="bsa_advertise_here"<?php echo (get_option('bsa_advertise_here') == 1) ? ' checked="checked"': ''; ?>> Insert Advertise Here text in Feed 232 <p><span class="description"><?php echo $bsa_lang->line('bsa_advertise_here_desc'); ?></span></p> 233 </td> 234 </tr> 235 </tr> 236 237 <tr valign="top"> 238 <tr> 226 239 <th scope="row"><label for="bsa_mobile_zone_top"><?php echo $bsa_lang->line('mobile_zone'); ?></label></th> 227 240 <td> … … 238 251 <span class="description"><?php echo $bsa_lang->line('bsa_mobile_zone_top_id_desc'); ?></span> 239 252 </td> 240 </t d>253 </tr> 241 254 </tr> 242 255 <tr valign="top"> 256 <tr> 243 257 <th scope="row"><label for="bsa_mobile_zone_bottom"></label></th> 244 258 <td> … … 255 269 <span class="description"><?php echo $bsa_lang->line('bsa_mobile_zone_bottom_id_desc'); ?></span> 256 270 </td> 257 </td>258 271 </tr> 272 </tr> 259 273 260 274 <tr valign="top">
Note: See TracChangeset
for help on using the changeset viewer.