<?php $this->loadCss('/admin/media/css/dtree.css'); ?>
<?php $this->loadJavascript('/admin/media/js/dtree.js'); ?>

<div id="accoes_bg" style="z-index:1;">
    <div id="titulo_accao" style="z-index:1;">
        <?php echo translateAdmin('P&aacute;ginas de Sistema');?>
    </div>
</div>

<div id="conteudo">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <?php if (isset($tree)): ?>
    <td width="180" rowspan="2" valign="top" id="tr_tree">
        <div id="tree">
            <?php echo $tree->getTitle(); ?> | <a href="<?php echo $tree->openAllLink(); ?>"><?php echo translateAdmin('Expandir tudo')?></a> | <a href="<?php echo $tree->closeAllLink(); ?>"><?php echo translateAdmin('Fechar tudo');?></a><br /><br />
            <?php echo $tree->render(); ?>
        </div>
    </td>
    <?php endif; ?>
    <td height="320" valign="top" id="manutencaodisplay">
        <div class="acessibilidade">
        	<span>
            <?/*
            <img src="/admin/media/images/imprimir.gif"  border="0" align="absmiddle" hspace="3" title="<?php echo translateAdmin('Imprimir');?>" /><a href="#" class="linksacessibilidade"><?php echo translateAdmin('Imprimir');?></a>&nbsp;        
            <img src="/admin/media/images/permissoes.gif"  border="0" align="absmiddle" hspace="3" title="<?php echo translateAdmin('Permiss&otilde;es');?>" /><a href="#" class="linksacessibilidade"><?php echo translateAdmin('Permiss&otilde;es');?></a>&nbsp;
            */?>
            </span>
        </div>
        <br />
        <?php foreach($modulos as $modulo => $paginas): ?>
        <fieldset>
            <legend><?php echo $modulo; ?></legend>
            <?php foreach ($paginas as $pagina): ?>
            <a href="<?php echo $this->link('/cms/edit_sistema/section/paginas/id/' . $pagina->id); ?>"><?php echo $pagina->titulo; ?></a><br />
            <?php endforeach; ?>
        </fieldset>
        <?php endforeach; ?>
    </td>
  </tr>
  <tr>
    <td height="15" valign="top">
        <div class="acessibilidade" style="z-index:1; ">
        	<span>
            <?/*
            <img src="/admin/media/images/imprimir.gif"  border="0" align="absmiddle" hspace="3" title="<?php echo translateAdmin('Imprimir');?>" /><a href="#" class="linksacessibilidade"><?php echo translateAdmin('Imprimir');?></a>&nbsp;        
            <img src="/admin/media/images/permissoes.gif"  border="0" align="absmiddle" hspace="3" title="<?php echo translateAdmin('Permiss&otilde;es');?>" /><a href="#" class="linksacessibilidade"><?php echo translateAdmin('Permiss&otilde;es');?></a>&nbsp;
            */?>
            </span>
        </div>
        <div class="paginator">&nbsp;</div>
    </td>
  </tr>
</table>
</div>
