From 9be059aced589bea38b7d8cf9553b32c9921dc66 Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Date: Sat, 13 Aug 2011 05:31:56 +0200
Subject: [PATCH] removed subnavigation code

---
 core/templates/layout.user.php | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 81c0e73ea4..c0b347937c 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -40,13 +40,6 @@
 			<ul id="apps" class="svg">
 				<?php foreach($_['navigation'] as $entry): ?>
 					<li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title="" <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>><?php echo $entry['name']; ?></a>
-						<?php if( sizeof( $entry["subnavigation"] )): ?>
-							<ul>
-								<?php foreach($entry["subnavigation"] as $subentry):?>
-									<li class="subentry"><a style="background-image:url(<?php echo $subentry['icon']; ?>)" href="<?php echo $subentry['href']; ?>" title="" class="subentry<?php if( $subentry['active'] ): ?> active<?php endif; ?>"><?php echo $subentry['name'] ?></a></li>
-								<?php endforeach; ?>
-							</ul>
-						<?php endif; ?>
 					</li>
 				<?php endforeach; ?>
 			</ul>
@@ -57,11 +50,6 @@
 				<div id="expanddiv">
 				<?php foreach($_['settingsnavigation'] as $entry):?>
 					<li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title="" <?php if( $entry["active"] ): ?> class="active"<?php endif; ?>><?php echo $entry['name'] ?></a></li>
-					<?php if( sizeof( $entry["subnavigation"] )): ?>
-						<?php foreach($entry["subnavigation"] as $subentry):?>
-							<li><a href="<?php echo $subentry['href']; ?>" title="" <?php if( $subentry['active'] ): ?>class="active"<?php endif; ?>><?php echo $subentry['name'] ?></a></li>
-						<?php endforeach; ?>
-					<?php endif; ?>
 				<?php endforeach; ?>
 				</div>
 			</ul>
-- 
GitLab