diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-12-21 08:03:20 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-12-21 08:03:20 +0000 |
commit | 975bbcebe9c68ac729dd051b008cf6c615d443c2 (patch) | |
tree | 46737108023c5d65797d39f748c53cff0c160e10 /index.php | |
parent | 742f6bfa6a7b285db898da220e1799fbb9b79ded (diff) | |
download | ampache-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.php | 30 |
1 files changed, 3 insertions, 27 deletions
@@ -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"> </td></tr> - <tr> - <td colspan="2"> - <?php show_template('show_search_bar'); ?> - </td> - </tr> <tr><td colspan="2"> </td></tr> <?php @@ -130,13 +113,6 @@ $action = scrub_in($_REQUEST['action']); ?> </td> </tr> -<!-- <tr><td colspan="2"> </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(); ?> |