Lines Matching refs:page
22 protected $page; variable in admin_plugin_farmer
53 $this->page = $INPUT->str('sub');
54 if (!in_array($this->page, $this->pages)) {
55 $this->page = $this->pages[0];
59 $this->adminplugin = plugin_load('admin', 'farmer_' . $this->page);
60 …adminplugin) nice_die('Something went wrong loading the plugin component for ' . hsc($this->page));
82 foreach ($this->pages as $page) {
83 $link = wl($ID, ['do' => 'admin', 'page' => 'farmer', 'sub' => $page]);
84 $class = ($page == $this->page) ? 'active' : '';
86 …li class="' . $class . '"><a href="' . $link . '">' . $this->getLang('tab_' . $page) . '</a></li>';
90 echo $this->locale_xhtml('tab_' . $this->page);
96 echo $this->locale_xhtml('tab_' . $this->page . '_help');