Monday 20 October 2003 3:30:15 am
this code is taken from kernel/classes/datatypes/ezxmltext/handlers/output/ezxhtmlxmloutput.php, lines 335-344:
// Check if the template overrides the block flow setting
if ( $tpl->hasVariable( 'is_block', 'xmltagns:ContentView' ) )
{ $isBlockTagOverride = $tpl->variable( 'is_block', 'xmltagns' );
if ( $isBlockTagOverride == 'true' )
$isBlockTag = true;
else
$isBlockTag = false; }
shouldn't both namespaces be equal (in condition and assignment )? and why use :ContentView at all? TIA, MD.
|