..to create a different index page for the suite. It's very easy because the only thing you need to do is change the content of default.php. I don't want to create something like hello..
xAnalyze is a module that can search through corrupt data and configuration files in order to find the exact position of errors
<?php
/* Shows links to apps and modules(menu)
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 14-11-2014
*/
if(!defined('IN_SCRIPT')){
exit;
}
if($_CONTEXT['rightdisplay']['show_plugins']){
// modules
$_CONTEXT['htmlo'] .= " <div class=\"subname\" id=\"modsubs\">modules</div>\n";
$_CONTEXT['htmlo'] .= " <div class=\"modsubs\">\n";
foreach($_CONTEXT['modcats'] as $sKey=>$aValues){
$_CONTEXT['htmlo'] .= " <div class=\"headcat\">".str_replace("_"," ",$sKey)."</div>\n";
for($x=0;$x<count($aValues);$x++){
$_CONTEXT['htmlo'] .= " <div class=\"lnk\">- <a href=\"index.php?module=".$aValues[$x][0]."\">".$aValues[$x][1]."</a></div>\n";
}
}
$_CONTEXT['htmlo'] .= " </div>\n";
// apps
$_CONTEXT['htmlo'] .= " <div class=\"subname\" id=\"pps\">apps</div>\n";
$_CONTEXT['htmlo'] .= " <div class=\"pps\">\n";
if(false!=($iExtra = @count($aExtra))){
for($x=0;$x<$iExtra;$x++){
$_CONTEXT['htmlo'] .= " <div class=\"lnk\">- <a href=\"".$aExtra[$x][1]."\">".$aExtra[$x][0]."</a></div>\n";
}
}
else{
$_CONTEXT['htmlo'] .= " <div class=\"lnk\">no apps installed</div>\n";
}
$_CONTEXT['htmlo'] .= " </div>\n";
}
?>