Plugin Directory

Changeset 1482971


Ignore:
Timestamp:
08/25/2016 12:01:26 AM (10 years ago)
Author:
thekrotek
Message:

Updated stuff.

Location:
recent-topics-for-ipboard/tags/1.0.0
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • recent-topics-for-ipboard/tags/1.0.0/helpers/widget.php

    r1441522 r1482971  
    1313{
    1414    protected $params;
    15     public $label;
    16     public $basedir;
    17     public $basename;
     15    protected $label;
     16    protected $basedir;
     17    protected $basename;
    1818   
    1919    public function __construct()
     
    2121        global $ipbrecent;
    2222
    23         $this->label = $ipbrecent->label;
    24         $this->basedir = $ipbrecent->basedir;
    25         $this->basename = $ipbrecent->basename;     
     23        $this->label = $ipbrecent->get('label');
     24        $this->basedir = $ipbrecent->get('basedir');
     25        $this->basename = $ipbrecent->get('basename');     
    2626       
    2727        parent::__construct($this->label, __('IP.Board Recent Topics', $this->label), array('description' => __('Displays recent topics list from IPS Community Suite (former IP.Board) based forum.', $this->label)));
     
    6565    {
    6666        return isset($this->params[$name]) ? $this->params[$name] : $default;
    67     }
     67    }   
    6868}
    6969
  • recent-topics-for-ipboard/tags/1.0.0/ipbrecent.php

    r1441522 r1482971  
    1717class IPBRecent
    1818{
    19     public $debug = true;
    20     public $label = 'ipbrecent';
    21     public $basedir;
    22     public $basename;
    23     public $params;
     19    protected $label = 'ipbrecent';
     20    protected $basedir;
     21    protected $basename;
     22    protected $params;
     23    protected $debug = false;
    2424
    2525    public function __construct()
     
    397397    {
    398398        return isset($this->params[$name]) ? $this->params[$name] : $default;
    399     }       
     399    }
     400   
     401    public function get($variable)
     402    {
     403        return $this->{$variable};
     404    }   
    400405}
    401406
  • recent-topics-for-ipboard/tags/1.0.0/readme.txt

    r1441541 r1482971  
    55Tags: forum, forum bridge, ipboard, ips community suite, recent topics, forum topics
    66Requires at least: 4.0
    7 Tested up to: 4.5.2
     7Tested up to: 4.6
    88Stable tag: 1.0.0
    99License: GPLv2 or later
     
    59592. Database settings.
    60603. Layout settings.
    61 4. More layout settings.
    6261
    6362== Changelog ==
Note: See TracChangeset for help on using the changeset viewer.