Changeset 676300
- Timestamp:
- 03/05/2013 04:52:30 AM (13 years ago)
- Location:
- dp-maintenance-mode-lite/trunk
- Files:
-
- 1 added
- 5 edited
-
dpMaintenanceLite.php (modified) (2 diffs)
-
lib (added)
-
readme.txt (modified) (3 diffs)
-
settings/settings.php (modified) (2 diffs)
-
templates/dark/index.php (modified) (1 diff)
-
templates/default/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dp-maintenance-mode-lite/trunk/dpMaintenanceLite.php
r670768 r676300 3 3 Plugin Name: DP Maintenance Mode Lite 4 4 Description: The DP Maintenance Lite plugin includes the possibility to add a maintenance mode with a sleek theme to your website. 5 Version: 1.3 5 Version: 1.3.1 6 6 Author: Diego Pereyra 7 7 Author URI: http://www.dpereyra.com/ … … 14 14 $dpMaintenance = get_option('dpMaintenance_options'); 15 15 16 define("DPMAINTENANCE_VER","1.3 ",false);//Current Version of this plugin16 define("DPMAINTENANCE_VER","1.3.1",false);//Current Version of this plugin 17 17 if ( ! defined( 'DPMAINTENANCE_PLUGIN_BASENAME' ) ) 18 18 define( 'DPMAINTENANCE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); -
dp-maintenance-mode-lite/trunk/readme.txt
r670768 r676300 5 5 Requires at least: 3.0 6 6 Tested up to: 3.5 7 Stable tag: 1.3 7 Stable tag: 1.3.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 == Changelog == 42 42 43 = 1.3.1 = 44 * Added support to Twitter API 1.1 45 43 46 = 1.3 = 44 47 * Fixed an issue Sending emails in some servers … … 72 75 73 76 == Upgrade Notice == 77 78 = 1.3.1 = 79 * Added support to Twitter API 1.1 74 80 75 81 = 1.3 = -
dp-maintenance-mode-lite/trunk/settings/settings.php
r639361 r676300 601 601 </div> 602 602 <div class="clear"></div> 603 <div class="errorCustom"><p><?php _e('Notice: Due to recent changes in the twitter API, you need to add your consume key and secret key. Follow the instructions below.','dpMaintenance'); ?></p></div> 603 604 604 605 <div class="option option-select option_w"> … … 627 628 </div> 628 629 </div> 630 </div> 631 <div class="clear"></div> 632 633 <div class="option option-select"> 634 <div class="option-inner"> 635 <label class="titledesc"><?php _e('Consumer Key:','dpMaintenance'); ?></label> 636 <div class="formcontainer"> 637 <div class="forminp"> 638 <input type='text' name='dpMaintenance_options[twitter_consumer_key]' value="<?php echo $dpMaintenance['twitter_consumer_key']?>"/> 639 <br> 640 </div> 641 <div class="desc"></div> 642 </div> 643 </div> 644 </div> 645 <div class="clear"></div> 646 647 <div class="option option-select"> 648 <div class="option-inner"> 649 <label class="titledesc"><?php _e('Consumer Secret:','dpMaintenance'); ?></label> 650 <div class="formcontainer"> 651 <div class="forminp"> 652 <input type='text' name='dpMaintenance_options[twitter_consumer_secret]' value="<?php echo $dpMaintenance['twitter_consumer_secret']?>"/> 653 <br> 654 </div> 655 <div class="desc"></div> 656 </div> 657 </div> 658 </div> 659 <div class="clear"></div> 660 661 <div class="option option-select"> 662 <div class="option-inner"> 663 <label class="titledesc"><?php _e('Access Token:','dpMaintenance'); ?></label> 664 <div class="formcontainer"> 665 <div class="forminp"> 666 <input type='text' name='dpMaintenance_options[twitter_access_token]' value="<?php echo $dpMaintenance['twitter_access_token']?>"/> 667 <br> 668 </div> 669 <div class="desc"></div> 670 </div> 671 </div> 672 </div> 673 <div class="clear"></div> 674 675 <div class="option option-select"> 676 <div class="option-inner"> 677 <label class="titledesc"><?php _e('Access Token Secret:','dpMaintenance'); ?></label> 678 <div class="formcontainer"> 679 <div class="forminp"> 680 <input type='text' name='dpMaintenance_options[twitter_access_secret]' value="<?php echo $dpMaintenance['twitter_access_secret']?>"/> 681 <br> 682 </div> 683 <div class="desc"></div> 684 </div> 685 </div> 686 </div> 687 <div class="clear"></div> 688 689 <div class="option option-select"> 690 <div class="option-inner"> 691 <div class="formcontainer"> 692 <div class="forminp"> 693 <strong>Directions to get the Consumer Key and Consumer Secret</strong> 694 <ol> 695 <li><a href="https://dev.twitter.com/apps/new">Add a new Twitter application</a></li> 696 <li>Fill in Name, Description, Website, and Callback URL (don't leave any blank) with anything you want</li> 697 <li>Agree to rules, fill out captcha, and submit your application</li> 698 <li>Click the button "Create my access token" and then go to the OAuth tab.</li> 699 <li>Copy the Consumer key, Consumer secret, Access token and Access token secret into the fields above</li> 700 <li>Click the Save Settings button at the bottom of this page</li> 701 </ol> 702 </div> 703 </div> 704 </div> 629 705 </div> 630 706 <div class="clear"></div> -
dp-maintenance-mode-lite/trunk/templates/dark/index.php
r639360 r676300 83 83 try{ 84 84 var msgs = ''; 85 $.getJSON(' http://api.twitter.com/1/statuses/user_timeline.json?screen_name=<?php echo $dpMaintenance['twitter_id']?>&count=<?php echo $dpMaintenance['twitter_count']?>&include_rts=true&include_entities=true&callback=?', function(data){85 $.getJSON('<?php echo dpMaintenance_plugin_url()?>/lib/user_timeline.php?screen_name=<?php echo $dpMaintenance['twitter_id']?>&count=<?php echo $dpMaintenance['twitter_count']?>&include_rts=true&include_entities=true&t=<?php echo time()?>', function(data){ 86 86 $.each(data, function(index, item){ 87 87 msgs += '<div>' + item.text.linkify() + ' ' + '<br /><span class="date">' + relative_time(item.created_at) + '</span>' + '</div>'; -
dp-maintenance-mode-lite/trunk/templates/default/index.php
r639359 r676300 83 83 try{ 84 84 var msgs = ''; 85 $.getJSON(' http://api.twitter.com/1/statuses/user_timeline.json?screen_name=<?php echo $dpMaintenance['twitter_id']?>&count=<?php echo $dpMaintenance['twitter_count']?>&include_rts=true&include_entities=true&callback=?', function(data){85 $.getJSON('<?php echo dpMaintenance_plugin_url()?>/lib/user_timeline.php?screen_name=<?php echo $dpMaintenance['twitter_id']?>&count=<?php echo $dpMaintenance['twitter_count']?>&include_rts=true&include_entities=true&t=<?php echo time()?>', function(data){ 86 86 $.each(data, function(index, item){ 87 87 msgs += '<div>' + item.text.linkify() + ' ' + '<br /><span class="date">' + relative_time(item.created_at) + '</span>' + '</div>';
Note: See TracChangeset
for help on using the changeset viewer.