Changeset 2817:8b6ca1f5148c for inc/admin/lib.moduleslist.php
- Timestamp:
- 11/26/14 17:45:15 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.moduleslist.php
r2631 r2817 39 39 protected $path_pattern = false; /**< @var string Directory pattern to work on */ 40 40 41 protected $page_url = ' plugins.php';/**< @var string Page URL */41 protected $page_url = ''; /**< @var string Page URL */ 42 42 protected $page_qs = '?'; /**< @var string Page query string */ 43 43 protected $page_tab = ''; /**< @var string Page tab */ … … 65 65 $this->modules = $modules; 66 66 $this->store = new dcStore($modules, $xml_url); 67 68 $this->page_url = $this->core->adminurl->get('admin.plugins'); 67 69 68 70 $this->setPath($modules_root); … … 618 620 '<td class="module-icon nowrap">'.sprintf( 619 621 '<img alt="%1$s" title="%1$s" src="%2$s" />', 620 html::escapeHTML($id), file_exists($module['root'].'/icon.png') ? 'index.php?pf='.$id.'/icon.png' : 'images/module.png' 622 html::escapeHTML($id), file_exists($module['root'].'/icon.png') ? 623 $this->core->adminurl->decode('load.plugin.file',array('pf' => $id.'/icon.png')) : 'images/module.png' 621 624 ).'</td>'; 622 625 } … … 1373 1376 class adminThemesList extends adminModulesList 1374 1377 { 1375 protected $page_url = 'blog_theme.php'; 1378 /** 1379 * Constructor. 1380 * 1381 * Note that this creates dcStore instance. 1382 * 1383 * @param object $modules dcModules instance 1384 * @param string $modules_root Modules root directories 1385 * @param string $xml_url URL of modules feed from repository 1386 */ 1387 public function __construct(dcModules $modules, $modules_root, $xml_url) 1388 { 1389 parent::__construct($modules, $modules_root, $xml_url); 1390 $this->page_url = $this->core->adminurl->get('admin.blog.theme'); 1391 } 1376 1392 1377 1393 public function displayModules($cols=array('name', 'config', 'version', 'desc'), $actions=array(), $nav_limit=false)
Note: See TracChangeset
for help on using the changeset viewer.