As I had guessed, “Template override” for the “admin” templates is very simple to implement.
In “[B]oxconfig.php[/B]” replace
// Check for custom template
$sCustomTheme = $this->getConfigParam( 'sCustomTheme' );
if( !$blAdmin && $sCustomTheme && $sCustomTheme != $sTheme) {
$sReturn = $this->getDir($sFile, $sDir, $blAdmin, $iLang, $iShopl, $sCustomTheme, $blAbsolute, $blReturnArray);
}
with
// Check for custom template
//Avenger
$sCustomTheme='sCustomTheme';
if ( $blAdmin ) {
$sCustomTheme .= 'Admin';
}
$sCustomTheme = $this->getConfigParam( $sCustomTheme );
if( $sCustomTheme && $sCustomTheme != $sTheme) {
$sReturn = $this->getDir($sFile, $sDir, false, $iLang, $iShopl, $sCustomTheme, $blAbsolute, $blReturnArray);
}
//Avenger
[B]And add[/B]
$this->sCustomThemeAdmin = 'admin_powertemplate';
to “[B]config.inc.php[/B]”
Unfortunately this has to go into the core routine itself, because “[B]oxconfig.php[/B]” can not be overloaded…
Something to put into “[B]oxconfig.php[/B]” in the next release…