summaryrefslogtreecommitdiffstats
path: root/templates/header.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-22 06:58:26 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-22 06:58:26 +0000
commit9758b4e3007e3af2bc0a6f56ddd0a06e8ef40cad (patch)
tree75a670eeecfd74f5990e8842527b1584eb13d4d9 /templates/header.inc
parentdbf698e92a1968d8f2b5dd6695e26fb884d2341c (diff)
downloadampache-9758b4e3007e3af2bc0a6f56ddd0a06e8ef40cad.tar.gz
ampache-9758b4e3007e3af2bc0a6f56ddd0a06e8ef40cad.tar.bz2
ampache-9758b4e3007e3af2bc0a6f56ddd0a06e8ef40cad.zip
changed to div layout and fixed up burgundy... still needs a lot of css work
Diffstat (limited to 'templates/header.inc')
-rw-r--r--templates/header.inc22
1 files changed, 9 insertions, 13 deletions
diff --git a/templates/header.inc b/templates/header.inc
index 16ee615c..ad664142 100644
--- a/templates/header.inc
+++ b/templates/header.inc
@@ -35,17 +35,15 @@ $location = get_location();
<body>
<script src="<?php echo conf('web_path'); ?>/lib/general.js" language="javascript" type="text/javascript"></script>
-
-<table border="0" cellpadding="0" cellspacing="0" style="margin:0px;" width="100%" >
+<div id="maincontainer">
<!-- This is the topbar row -->
-<tr id="pageheader">
- <td colspan="2">
- <div style="float:left;margin-top:3px;">
+<div id="topbar">
+ <div id="topbarleft">
<a href="http://www.ampache.org">
<img class="pageheader" src="<?php echo conf('web_path'); ?><?php echo conf('theme_path'); ?>/images/ampache.gif" border="0" title="Ampache: For the love of music" alt="Ampache: For the love of music" />
</a>
</div>
- <div style="float:right;">
+ <div id="topbarright">
<a href="http://www.ampache.org/index.php">Ampache v.<?php echo conf('version'); ?></a><br />
<b><?php echo _("You are currently logged in as") . " " . $GLOBALS['user']->username; ?></b>
<br />
@@ -58,14 +56,12 @@ $location = get_location();
</select>
<input type="submit" value="<?php echo _("Go!"); ?>" class="button" />
</form>
- </div>
- </td>
-</tr>
+ </div>
+</div>
<!-- This is the row for body + sidebar -->
-<tr>
+<div id="sidebar">
<!-- This is the sidebar -->
- <td valign="top" class="sidebar">
<?php require_once(conf('prefix') . '/templates/sidebar.inc.php'); ?>
- </td>
- <td width="100%" valign="top" style="padding-top:10px;padding-left:10px;">
+</div>
+ <div id="content" width="100%" valign="top" style="padding-top:10px;padding-left:10px;">
<!-- Start Main Page -->