|
@@ -52,33 +52,31 @@ function FormatURI(URI $uri, $base=""){
|
|
|
</div>
|
|
|
</div>
|
|
|
<div id="menu">
|
|
|
- <div>
|
|
|
- <div class="header">
|
|
|
- <img src="/images/logo.png" /><h1>Robware</h1>
|
|
|
- </div>
|
|
|
- <div id="nav-container">
|
|
|
- <nav>
|
|
|
- <dl>
|
|
|
- <?php
|
|
|
- $__controllers=Navigation::Get();
|
|
|
- foreach ($__controllers as $controller){
|
|
|
- $cURI=$controller->GetURI();
|
|
|
- echo '<dt>',FormatURI($cURI);
|
|
|
- $items=$controller->GetItems();
|
|
|
- if (count($items)>0)
|
|
|
- echo '<span class="go">»</span><span class="expand">+</span>';
|
|
|
- echo '</dt>';
|
|
|
- if (count($items)>0){
|
|
|
- echo '<div class="sub-pages">';
|
|
|
- foreach ($items as $uri)
|
|
|
- echo '<dd>',FormatURI($uri,$cURI->GetLinkLocation().'/'),'</dd>';
|
|
|
- echo '</div>';
|
|
|
- }
|
|
|
+ <div class="header">
|
|
|
+ <img src="/images/logo.png" /><h1>Robware</h1>
|
|
|
+ </div>
|
|
|
+ <div id="nav-container">
|
|
|
+ <nav>
|
|
|
+ <dl>
|
|
|
+ <?php
|
|
|
+ $__controllers=Navigation::Get();
|
|
|
+ foreach ($__controllers as $controller){
|
|
|
+ $cURI=$controller->GetURI();
|
|
|
+ echo '<dt>',FormatURI($cURI);
|
|
|
+ $items=$controller->GetItems();
|
|
|
+ if (count($items)>0)
|
|
|
+ echo '<span class="go">»</span><span class="expand">+</span>';
|
|
|
+ echo '</dt>';
|
|
|
+ if (count($items)>0){
|
|
|
+ echo '<div class="sub-pages">';
|
|
|
+ foreach ($items as $uri)
|
|
|
+ echo '<dd>',FormatURI($uri,$cURI->GetLinkLocation().'/'),'</dd>';
|
|
|
+ echo '</div>';
|
|
|
}
|
|
|
- ?>
|
|
|
- </dl>
|
|
|
- </nav>
|
|
|
- </div>
|
|
|
+ }
|
|
|
+ ?>
|
|
|
+ </dl>
|
|
|
+ </nav>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div id="main">
|