ho visto il codice in questione, che posto anche qui:
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = split( '=', _ISO );
// xml prolog - quirks mode
//echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
if ( $my->id ) {
initEditor();
}
mosShowHead();
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/md_submenu.php");
$forcehilite = false; //index of button to force (0 -> #buttons-1)
$topnav = jwShowHorizMenu('mainmenu');
$sidenav = jwShowSubMenu('mainmenu');
$tabcolor = jwGetTabColor();
$hilightid = jwGetHilightid();
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
</head>
<body id="page_bg" class="<?php echo $tabcolor; ?>">
<a name="up" id="up"></a>
<div class="center">
<div id="wrapper">
<div id="top">
<div>
<div>
<span id="logo" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/omt_logo_trans.png',sizingMethod='scale');"></span>
<span id="logo_header" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/omt_logo_header.png',sizingMethod='scale');"></span>
<span id="joomla" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/omt_joomla_trans.png',sizingMethod='scale');"></span>
</div>
</div>
</div>
<div id="middle">
<div id="middle_2">
<div id="middle_3">
<div id="middle_4">
<div id="navigation">
<div id="centernav">
<span id="topnav">
<?php echo $topnav; ?>
</span>
<div class="clr"></div>
</div>
</div>
<?php if (mosCountModules('user1') || mosCountModules('user1')) { ?>
<div id="showcase">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<?php if (mosCountModules('user1')) { ?>
<td id="user1">
<?php mosLoadModules('user1', -2); ?>
</td>
<?php } ?>
<?php if (mosCountModules('user2')) { ?>
<td id="user2">
<?php mosLoadModules('user2', -2); ?>
</td>
<?php } ?>
</tr>
</table>
</div>
<?php } ?>
<div id="contentarea">
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="contentarea">
<tr valign="top">
<?php if(mosCountModules( 'left' )) { ?>
<td id="leftnav">
<div id="lefttop">
<?php echo $sidenav; ?>
<?php mosLoadModules('left', -2); ?>
</div>
</td>
<td>
<?php } else { ?>
<td id="leftborder">
<?php } ?>
<div id="pathway">
<?php mosPathWay(); ?>
</div>
<div id="mainbody">
<?php mosLoadModules('top', -2); ?>
<?php mosMainBody(); ?>
</div>
</td>
<?php if (mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' )) { ?>
<td id="rightnav">
<div id="righttop"></div>
<div id="rightbody">
<?php mosLoadModules('right', -2); ?>
</div>
</td>
<?php } ?>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<div id="bottom">
<div>
<div>copyright 2006</div>
</div>
</div>
</div>
</div>
<?php mosLoadModules( 'debug', -1 );?>
</body>
</html>
credo che la riga in questione sia:
<?php if (mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' )) { ?>
riga n 99
provo ad applicarlo nell'altro template...vediamo che esce fuori, vi faccio sapere