summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-21 08:03:20 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-21 08:03:20 +0000
commit975bbcebe9c68ac729dd051b008cf6c615d443c2 (patch)
tree46737108023c5d65797d39f748c53cff0c160e10 /index.php
parent742f6bfa6a7b285db898da220e1799fbb9b79ded (diff)
downloadampache-975bbcebe9c68ac729dd051b008cf6c615d443c2.tar.gz
ampache-975bbcebe9c68ac729dd051b008cf6c615d443c2.tar.bz2
ampache-975bbcebe9c68ac729dd051b008cf6c615d443c2.zip
new interface which breaks all previous themes... and current themes, still under development
Diffstat (limited to 'index.php')
-rw-r--r--index.php30
1 files changed, 3 insertions, 27 deletions
diff --git a/index.php b/index.php
index 3a4a2d5b..034ba3e2 100644
--- a/index.php
+++ b/index.php
@@ -31,21 +31,15 @@ require_once("modules/init.php");
$myMpd = init_mpd();
show_template('header');
+
+
if (conf('refresh_limit') > 0) { show_template('javascript_refresh'); }
-show_menu_items('Home');
-show_clear();
$action = scrub_in($_REQUEST['action']);
?>
<p style="font-size: 8pt; font-weight: bold;">
<?php echo _("Welcome to"); ?> <a href="http://www.ampache.org/index.php">Ampache v.<?php echo conf('version'); ?></a>
-<?php if (conf('use_auth')) { ?>
- <?php echo _("you are currently logged in as") . " " . $user->fullname ." (". $user->username .")"; ?>
-<?php } ?>
-<?php if (conf('theme_name')) { ?>
-<!-- Theme: <?php echo conf('theme_name'); ?> (<?php echo get_theme_author(conf('theme_name')); ?>) -->
-<?php } ?>
</p>
<!-- Big Daddy Table -->
<table style="padding-left:5px;padding-right:5px;padding-top:5px;padding-bottom:5px;" >
@@ -75,17 +69,6 @@ $action = scrub_in($_REQUEST['action']);
?>
</td>
</tr>
- <tr>
- <td colspan="2" valign="top">
- <?php show_random_play_bar(); ?>
- </td>
- </tr>
- <tr><td colspan="2">&nbsp;</td></tr>
- <tr>
- <td colspan="2">
- <?php show_template('show_search_bar'); ?>
- </td>
- </tr>
<tr><td colspan="2">&nbsp;</td></tr>
<?php
@@ -130,13 +113,6 @@ $action = scrub_in($_REQUEST['action']);
?>
</td>
</tr>
-<!-- <tr><td colspan="2">&nbsp;</td></tr>
- <tr>
- <td colspan="2" valign="top">
- <?php show_template('show_random_play'); ?>
- </td>
- </tr>
--->
</table>
</td>
<td valign="top">
@@ -160,4 +136,4 @@ $action = scrub_in($_REQUEST['action']);
</tr>
</table>
-<?php show_page_footer ('Home', '', $user->prefs['display_menu']);?>
+<?php show_footer(); ?>