Location: PHPKode > projects > PHP Project Navigator > ppnav-0.1/smarty/templates/file_summary.tpl
{*

  COPYRIGHT
    Copyright (C) 2006 Scott Brumbaugh.  All rights reserved.

  LICENSE
    You may distribute this work under the terms of the GNU General
    Public License Version 2, or at your option any later version.
    See the COPYING file for the license text.

  $Id: file_summary.tpl 3 2006-10-05 15:17:51Z brumbs $

*}
<html>
<head>
<title>{$title}</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
</head>
<body>
{include file=body_header.tpl title=$title}

<div class="class_doc"><pre>{$doc_text}</pre></div>

<p>
Goto: <a href="{$source_url}">Source</a>&nbsp;
      <a href="#includes_list">Includes</a>&nbsp;
      <a href="#included_by_list">Included By</a>&nbsp;
      <a href="#class_decl_list">Class Declarations</a>&nbsp;
      <a href="#function_decl_list">Function Declarations</a>&nbsp;
      <a href="#global_symbol_list">Global Symbols</a>&nbsp;
</p>

<table class="file_summary">
 <tr>
  <td>
   <table class="include_list">
    <tr>
     <th align="left" colspan="3"><a name="includes_list" href="#">Includes</a></th>
    </tr>
    {if !count($includes)}
    <tr>
     <td><b>None</b></td>
    </tr>
    {else}
    <tr>
     <td>
     {section name=include loop=$includes}
       <a href="{$includes[include].summary_url}">{$includes[include].display_file_path}</a>&nbsp;
     {/section}
     </td>
    </tr>
    {/if}
   </table>
  </td>    
 </tr>

 <tr>
  <td>
   <table class="include_list">
    <tr>
     <th align="left" colspan="3"><a name="included_by_list" href="#">Included By</a></th>
    </tr>
    {if !count($included_by)}
    <tr>
     <td><b>None</b></td>
    </tr>
    {else}
    <tr>
     <td>
     {section name=includeby loop=$included_by}
       <a href="{$included_by[includeby].summary_url}">{$included_by[includeby].display_file_path}</a>&nbsp;
     {/section}
     </td>
    </tr>
    {/if}
   </table>
  </td>    
 </tr>

 <tr>
  <td>
   <table>
    <tr>
      <th align="left" colspan="3"><a name="class_decl_list" href="#">Class Declarations</a></th>
    </tr>
    {if !$class_decls}
    <tr>
     <td><b>None</b></td>
    </tr>
    {else}
    <tr>
     <th></th>
     <th align="left">Name</th>
     <th align="left">Documentation</th>
    </tr>
    {section name=class_decl loop=$class_decls}
    <tr class="{cycle values="even,odd"}"valign="top">
     <td class="image"><a name="{$class_decls[class_decl].frag_name}" href="{$class_decls[class_decl].source_url}"><img src="icons/text.gif" border="0"></a></td>
     <td><a href="{$class_decls[class_decl].summary_url}">{$class_decls[class_decl].symbol_name}</a></td>
     <td><pre>{$class_decls[class_decl].doc_text}</pre></td>
    </tr>
    {/section}
    {/if}
   </table>
  </td>
 </tr>

 <tr>
  <td>
   <table>
    <tr>
      <th align="left" colspan="3"><a name="function_decl_list" href="#">Function Declarations</a></th>
    </tr>
    {if !$function_decls}
    <tr>
     <td><b>None</b></td>
    </tr>
    {else}
    <tr>
     <th></th>
     <th align="left">Name</th>
     <th align="left">Documentation</th>
    </tr>
    {cycle reset=true advance=false print=false values="even,odd"}
    {section name=function_decl loop=$function_decls}
    <tr class="{cycle values="even,odd"}" valign="top">
     <td class="image"><a name="{$function_decls[function_decl].frag_name}" href="{$function_decls[function_decl].source_url}"><img src="icons/text.gif" border="0"></a></td>
     <td><a href="{$function_decls[function_decl].summary_url}">{$function_decls[function_decl].symbol_name}</a></td>
     <td><pre>{$function_decls[function_decl].doc_text}</pre></td>
    </tr>
    {/section}
    {/if}
   </table>
  </td>
 </tr>

 <tr>
  <td>
   <table>
    <tr>
      <th align="left" colspan="4"><a name="global_symbol_list" href="#">Global Symbols</a></th>
    </tr>
    {if !$global_symbols}
    <tr>
     <td><b>None</b></td>
    </tr>
    {else}
    <tr>
     <th></th>
     <th align="left">Name</th>
     <th align="left">Type</th>
     <th align="left">Usage</th>
    </tr>
    {cycle reset=true advance=false print=false values="even,odd"}
    {section name=global_symbol loop=$global_symbols}
    <tr class="{cycle values="even,odd"}" valign="top">
     <td class="image"><a name="{$global_symbols[global_symbol].frag_name}" href="{$global_symbols[global_symbol].source_url}"><img src="icons/text.gif" border="0"></a></td>
     <td><a href="{$global_symbols[global_symbol].summary_url}">{$global_symbols[global_symbol].symbol_name}</a></td>
     <td>{$global_symbols[global_symbol].symbol_type}</td>
     <td><pre>{$global_symbols[global_symbol].usage_text}</pre></td>
    </tr>
    {/section}
    {/if}
   </table>
  </td>
 </tr>

</table>
{include file=body_footer.tpl}
</body>
</html>
Return current item: PHP Project Navigator