Changeset 517909
- Timestamp:
- 03/12/2012 01:15:07 PM (14 years ago)
- Location:
- mobstac-blogger/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
wordpress_common.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mobstac-blogger/trunk/readme.txt
r517803 r517909 30 30 31 31 == Changelog == 32 = 2.74 = 33 * Allowing users to modify MobStac settings. 34 32 35 = 2.73 = 33 36 * Renamed screenshots files. -
mobstac-blogger/trunk/wordpress_common.php
r517793 r517909 4 4 Plugin URI: http://mobstac.com/tour 5 5 Description: Redirects mobile visitors to a mobile version of your WordPress blog, powered by MobStac with blazing-fast page loads, support for over 5000 mobile devices (not just iPhones and touch phones), custom domain support (m.yourdomain.com), analytics, and ad network integration. 6 Version: 2.7 36 Version: 2.74 7 7 Author: MobStac 8 8 Author URI: http://mobstac.com … … 265 265 $hidden_field_name = 'mt_submit_hidden'; 266 266 267 // hidden field to edit form 268 $edit_settings_form = 'mt_settings_hidden'; 269 267 270 // Create the database entry if not present 268 271 add_option($this->MOBILE_URL); … … 274 277 $mobile_url = $mobstac_api_key = ''; 275 278 $this->mobstac_get_params($mobile_url, $mobstac_api_key); 279 280 //if (isset($_POST[$this->MOBILE_URL]) && isset($_POST[$this->MOBSTAC_API_KEY]) && $_POST[$edit_settings_form] == 'Y') { 281 if ($_POST[$edit_settings_form] == 'Y') { 282 update_option($this->MOBSTAC_SITE_CREATED, 'pending'); 283 } 276 284 277 285 // See if the user has posted us some information … … 316 324 ?> 317 325 <div class="updated"> 318 <p>Congratulations! your mobile site is ready. Access your <a target="_blank" href="http://mobstac.com/m/plugin/iframe/loginformdisplay/?email=<?php echo get_option($this->MOBSTAC_SITE_OWNER) ?>" onclick="window.open(this.href, 'popup_id', 'scrollbars,resizable,width=300,height=500'); return false;"> MobStac dashboard here</a>.</p>326 <p>Congratulations! Your MobStac site is ready. Access your <a target="_blank" href="http://mobstac.com/mpa/"> MobStac dashboard here</a>.</p> 319 327 </div> 328 <form name="settings_info_form" method="post" action=""> 329 <input type="hidden" name="<?php echo $edit_settings_form; ?>" value="Y"> 330 <p><b>MobStac plug-in settings:</b></p> 331 <p><b>API Key : </b><i><?php echo $mobstac_api_key; ?></i></p> 332 <p><b>Site URL : </b><i><?php echo $mobile_url; ?></i></p> 333 <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Edit Settings') ?>" /> 334 </form> 320 335 <?php 321 336 } … … 334 349 if (get_option($this->MOBSTAC_SITE_CREATED) != 'created'){ 335 350 ?> 336 <div style="border-style:solid;">337 351 <form name="form1" method="post" action=""> 338 352 <input type="hidden" name="<?php echo $hidden_field_name; ?>" value="Y"> … … 348 362 </p> 349 363 </form> 350 </div>351 364 <?php 352 365 }
Note: See TracChangeset
for help on using the changeset viewer.