80,7 → 80,7 |
if ($id === 'oidplus:list_ra') { |
$handled = true; |
$out['title'] = 'RA Listing'; |
$out['icon'] = file_exists(__DIR__.'/icon_big.png') ? 'plugins/'.basename(dirname(__DIR__)).'/'.basename(__DIR__).'/icon_big.png' : ''; |
$out['icon'] = file_exists(__DIR__.'/icon_big.png') ? OIDplus::webpath(__DIR__).'icon_big.png' : ''; |
|
if (!OIDplus::authUtils()::isAdminLoggedIn()) { |
$out['icon'] = 'img/error_big.png'; |
115,7 → 115,7 |
|
public function tree(&$json, $ra_email=null, $nonjs=false, $req_goto='') { |
if (file_exists(__DIR__.'/treeicon.png')) { |
$tree_icon = 'plugins/'.basename(dirname(__DIR__)).'/'.basename(__DIR__).'/treeicon.png'; |
$tree_icon = OIDplus::webpath(__DIR__).'treeicon.png'; |
} else { |
$tree_icon = null; // default icon (folder) |
} |