www/adium.im 181:0ffcb4270fbc: Don't include the content div whe...

commits at adium.im commits at adium.im
Tue May 5 22:04:30 UTC 2009


details:	http://hg.adium.im/www/adium.im/rev/0ffcb4270fbc
revision:	181:0ffcb4270fbc
author:		Zachary West <zacw at adium.im>
date:		Tue May 05 18:04:25 2009 -0400

Don't include the content div when hiding the template.

diffstat:

 beta/index.php |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r ea070e95f29a -r 0ffcb4270fbc beta/index.php
--- a/beta/index.php	Tue May 05 17:57:40 2009 -0400
+++ b/beta/index.php	Tue May 05 18:04:25 2009 -0400
@@ -86,10 +86,11 @@
 		<div id="navcontainer">
 			<a class="navtab" href="http://adium.im/">Download</a> <a class="navtab" href="http://adium.im/screenshots/">Screenshots</a> <a class="navtab" href="http://adium.im/screencasts/">Videos</a> <a class="navtab" href="http://adium.im/blog/">Blog</a> <a class="navtabcurrent" href="http://trac.adium.im">Support & Development</a> <a class="navtab" href="http://www.adiumxtras.com/">Xtras</a>
 		</div>
+		
+		<div id="content">
 <?php
 	}
 ?>
-		<div id="content">
 <?php	
 	if (count($versions) === 0) {
 		?><p>You can find the current version of Adium at the <a href="http://adium.im">main website</a>.</p><?php
@@ -120,12 +121,10 @@
 			<?php
 		}
 	}
+	if(!$noTemplate) {
 ?>
 	</div>
-<?php	
-	if(!$noTemplate) {
-?>
-
+	
 		<!-- use footerfixed if this doesn't reach the bottom of a reasonable page; otherwise, use footer -->
 		<div id="footer">
 			<div class="donate">




More information about the commits mailing list