154,7 → 154,7 |
$handled = true; |
|
$out['title'] = _L('Search'); |
$out['icon'] = file_exists(__DIR__.'/icon_big.png') ? OIDplus::webpath(__DIR__).'icon_big.png' : ''; |
$out['icon'] = file_exists(__DIR__.'/img/main_icon.png') ? OIDplus::webpath(__DIR__,true).'img/main_icon.png' : ''; |
|
$out['text'] = ''; |
|
216,8 → 216,8 |
} |
|
public function tree(&$json, $ra_email=null, $nonjs=false, $req_goto='') { |
if (file_exists(__DIR__.'/treeicon.png')) { |
$tree_icon = OIDplus::webpath(__DIR__).'treeicon.png'; |
if (file_exists(__DIR__.'/img/main_icon16.png')) { |
$tree_icon = OIDplus::webpath(__DIR__,true).'img/main_icon16.png'; |
} else { |
$tree_icon = null; // default icon (folder) |
} |