<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>[% view.data.base_module %][% view.title ? '::' _ view.title : '' %]</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" 
        type="text/css" 
        href="http://yui.yahooapis.com/2.4.0/build/reset-fonts-grids/reset-fonts-grids.css"
    /> 
                
    <link rel="stylesheet" 
        media="screen" 
        href="/css/my.css" 
        type="text/css" 
    />

    <!-- link rel="stylesheet" type="text/css" media="screen"
        title="Default" href="[% self.css_rootp %]/pod_style.css" / -->

    <script type="text/javascript">
    function view_pod() {
        location.href= 
            document.getElementById("module").value;
    }
    </script>
    
    <style>
        ul { }
        .first ul li { list-style: circle; margin: 10px; }
    </style>
</head>
<body>

<div id="doc3">
    <div id="hd">
        <div class="yui-u lv1-nav">

            <!-- ul class="nav-links">
                <li><a href="[% self.app_rootp %]/">Home</a></li>
                <li><a href="[% self.app_rootp %]/blog/view/portfolio">
                    Portfolio</a></li>
                <li><a href="[% self.app_rootp %]/link/view">MyLinks</a></li>
            </ul -->

            <br style="clear: both" />

        </div>
        <div class="yui-u lv2-title-bar">
            <table>
                <tr>
                    <td class="left"></td>
                    <td class="center">
                        <a href="/">Home</a>
                       &nbsp;&nbsp;
                        <select name="module" id="module">
                        <option value="[% self.location %]">
                            [% view.data.base_module %]
                        </option>

                        [%- FOREACH pm IN view.data.files %]
                        [%- pm = pm.replace( '^/', '' ) %]
                        [%- pm = pm.replace( '/', '::' ) %]
                        [%- pm = pm.replace( '\.pm$', '' ) %]
                        [%- pm = pm.replace( '\.pod$', '' ) %]

                        [%- NEXT IF pm.match( 'Model::' ) %]
                        [%- NEXT IF pm.match( '::ModelHelper' ) %]
                        [% myloc = self.location _ '/main/' _ pm %]

                        <option [% myloc == self.uri ? 'SELECTED' : '' %]
                            value="[% myloc %]">
                            [% view.data.base_module %]::[% pm %]
                        </option>

                        [%- END %]

                        </select>   
                        <input type="button" value="view" name="view"
                            onClick="view_pod()" />
                        
                    </td>
                    <td class="right"></td>
                </tr>
            </table>
        </div>
    </div>
    <div id="bd">

        <div class="yui-ge">
            <div class="yui-u first">
            [% content %]   
            </div>
        
            <div class="yui-u">
                <ul class="pod_links2">

                [%- FOREACH head IN view.data.headings %]
                <li>[% head %]</li>
                [%- END %]
                </ul>

                <ul class="pod_links2">
                <li>            
                </li> 
                </ul>
            </div>
        </div>
    </div>
    <div id="ft" class="footer">
           <!-- p class="copyright">
            &copy; 2008 All rights          
           </p -->

           <ul class="footer-links">
               <li>Version [% view.data.base_module_version %]</li>
           </ul>

           <br style="clear: both" />
    </div>
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-249892-1";
urchinTracker();
</script>

</body>
</html>