Les avertissements suivants se sont produits :
Warning [2] Undefined array key 0 - Line: 1640 - File: showthread.php PHP 8.2.18 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 1640 errorHandler->error_callback
/showthread.php 915 buildtree




Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
<résolul>Menu seulement lorsque sous-page disponible
#3
Malheureusement je n'y comprends pas grand chose. J'ai beau cherché sur google, je ne trouve pas de cas semblables.
Code :
[== Indéfini ==]
<?php $_smarty_tpl->_capture_stack[0][] = array('default', "testvar", null); ob_start(); ?><?php echo smarty_cms_function_menu(array('template'=>'cssmenu','collapse'=>'1','start_level'=>"3",'excludeprefix'=>'intranet_'),$_smarty_tpl);?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
<?php if (isset($_smarty_tpl->tpl_vars['testvar']->value)&&$_smarty_tpl->tpl_vars['testvar']->value!=''){?>
            <aside class='sidebar grid_3'><?php echo $_smarty_tpl->tpl_vars['testvar']->value;?>

       </aside>
<?php }?>


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)