Plugin Directory

Changeset 409638


Ignore:
Timestamp:
07/14/2011 09:23:17 AM (15 years ago)
Author:
Phoenixheart
Message:
  • Temporarily removed Backup/Restore feature for security reasons.
Location:
referrer-detector
Files:
56 added
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • referrer-detector/trunk/rd.class.php

    r119617 r409638  
    44    var $config;
    55    var $entry;
    6     var $backup;
    76    var $path;
    87    var $stats;
     
    2322        require_once("{$this->path}/entry.class.php");
    2423        require_once("{$this->path}/option.class.php");
    25         require_once("{$this->path}/backup.class.php");
    2624        require_once("{$this->path}/stats.class.php");
    2725        require_once("{$this->path}/support.class.php");
     
    3129        $this->entry = ReferrerDetector::get_instance('ReferrerDetector_Entry');
    3230        $this->stats = ReferrerDetector::get_instance('ReferrerDetector_Stats');
    33         $this->backup = ReferrerDetector::get_instance('ReferrerDetector_Backup');
    3431        $this->option = ReferrerDetector::get_instance('ReferrerDetector_Option');
    3532        $this->support = ReferrerDetector::get_instance('ReferrerDetector_Support');
     
    7673                <li><a href="#divGenericOptions">%s</a></li>
    7774                <li><a href="#divStats">%s</a></li>
    78                 <li><a href="#divBackups">%s</a></li>
    7975                <li><a class="emphasized_link" href="#divSupport">%s</a></li>
    8076            </ul>
     
    8682            <!-- OPTIONS START -->%s<!-- OPTIONS END -->
    8783            <!-- STATS START -->%s<!-- STATS END -->
    88             <!-- BACKUP START -->%s<!-- BACKUP END -->
    8984            <!-- SUPPORT START -->%s<!-- SUPPORT END -->
    9085
     
    10297            __('Generic Options', $this->config['text_domain']),
    10398            __('Stats', $this->config['text_domain']),
    104             __('Backup/Restore', $this->config['text_domain']),
    10599            __('Support this plugin!', $this->config['text_domain']),
    106100
     
    112106            $this->stats->get_panel(),
    113107            $this->support->get_panel(),
    114             $this->backup->get_panel(),
    115108
    116109            $this->config['plugin_dir']
     
    128121        echo(
    129122            '<link rel="stylesheet" href="' . $this->config['plugin_dir'] . 'css/admin_style.css" type="text/css" media="screen" />' .
    130             '<link rel="stylesheet" href="' . $this->config['plugin_dir'] . 'js/uploadify/uploadify.css" type="text/css" media="screen" />' .
    131123            '<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script>' .
    132124            '<script type="text/javascript" src="' . $this->config['plugin_dir'] . 'js/jquery-ui-personalized.js"></script>' .
    133125            '<script type="text/javascript" src="' . $this->config['plugin_dir'] . 'js/admin_functions.js"></script>' .
    134             '<script type="text/javascript" src="' . $this->config['plugin_dir'] . 'js/admin_onload.js"></script>' .
    135             '<script type="text/javascript" src="' . $this->config['plugin_dir'] . 'js/uploadify/jquery.uploadify.js"></script>'
     126            '<script type="text/javascript" src="' . $this->config['plugin_dir'] . 'js/admin_onload.js"></script>'
    136127        );
    137128    }
     
    144135    function handle_request()
    145136    {
    146         // a special case
    147         if (isset($_GET['rdetector_action']) && $_GET['rdetector_action'] == 'restore')
    148         {
    149             $this->backup->restore();
    150             exit();
    151         }
    152 
    153137        if (!isset($_POST['rdetector_action'])) return false;
    154138        if ($_POST['rdetector_action'] == 'stats_insert' || $_POST['rdetector_action'] == 'get_box') return false;
     
    200184            case 'stat-details':
    201185                $this->stats->show_details();
    202                 break;
    203             case 'backup':
    204                 $this->backup->add();
    205                 break;
    206             case 'restore':
    207                 $this->backup->restore();
    208186                break;
    209187            default:
  • referrer-detector/trunk/readme.txt

    r179818 r409638  
    44Tags: referrer, detector, greetings, greet box, social
    55Requires at least: 2.2
    6 Tested up to: 3.0
    7 Stable tag: 4.2.0.3
     6Tested up to: 3.2.1
     7Stable tag: 4.2.1.0
  • referrer-detector/trunk/referrer_detector.php

    r179818 r409638  
    44Plugin URI: http://www.phoenixheart.net/wp-plugins/referrer-detector
    55Description: Helps your blog detect where the user comes from and automatically displays the corresponding greetings.
    6 IMPORTANT: In order for this version to work, you may have to wait for the cache (if any) to expire or manually delete it.
    7 Version: 4.2.0.3
     6Version: 4.2.1.0
    87Author: Phoenixheart
    98Author URI: http://www.phoenixheart.net
    10 
    11 TODO: Clear stats
    129
    1310STARTING FROM VERSION 4, THIS FILE ONLY ACTS AS AN INITIAL POINT
Note: See TracChangeset for help on using the changeset viewer.