From 975bbcebe9c68ac729dd051b008cf6c615d443c2 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Wed, 21 Dec 2005 08:03:20 +0000 Subject: new interface which breaks all previous themes... and current themes, still under development --- templates/footer.inc | 4 +- templates/header.inc | 141 +++++++++++--------------------------------- templates/show_search.inc | 3 +- templates/show_users.inc | 8 +-- templates/sidebar.inc.php | 126 +++++++++++++++++++++++++++++++++++++++ templates/style.inc | 77 +++++++++++++++++++++++- templates/subnavbar.inc.php | 39 ++++++++++++ 7 files changed, 284 insertions(+), 114 deletions(-) create mode 100644 templates/sidebar.inc.php create mode 100644 templates/subnavbar.inc.php (limited to 'templates') diff --git a/templates/footer.inc b/templates/footer.inc index 819bd9b8..dd59cf83 100644 --- a/templates/footer.inc +++ b/templates/footer.inc @@ -1,3 +1,5 @@ -

+ + + diff --git a/templates/header.inc b/templates/header.inc index d5b64b45..d1eceb4a 100644 --- a/templates/header.inc +++ b/templates/header.inc @@ -21,7 +21,7 @@ */ $htmllang = str_replace("_","-",conf('lang')); - +$location = get_location(); ?> @@ -30,111 +30,42 @@ $htmllang = str_replace("_","-",conf('lang')); -<?php echo conf('site_title'); ?> +<?php echo conf('site_title'); ?> - <?php echo $location['title']; ?> - - - -Error:\t$msg

" ); - if (conf('debug')) { log_event($_SESSION['userdata']['username'],' general_error ',"Error: $msg"); } - } -?> + + + + + + + + + + - + diff --git a/templates/show_users.inc b/templates/show_users.inc index aaebf778..edb5cfd5 100644 --- a/templates/show_users.inc +++ b/templates/show_users.inc @@ -36,11 +36,11 @@ $admin_menu = "admin/";
+ diff --git a/templates/show_search.inc b/templates/show_search.inc index fdb1aed1..ba0c9906 100644 --- a/templates/show_search.inc +++ b/templates/show_search.inc @@ -58,8 +58,9 @@ $final_javascript .= " // END-->\n "; /> + print_error('keyword'); ?>  
- - - - () + + + + () diff --git a/templates/sidebar.inc.php b/templates/sidebar.inc.php new file mode 100644 index 00000000..ea8d9525 --- /dev/null +++ b/templates/sidebar.inc.php @@ -0,0 +1,126 @@ +'Users','url'=>'admin/users.php','active'=>''); +$admin_items[] = array('title'=>'Mail Users','url'=>'admin/mail.php','active'=>''); +$admin_items[] = array('title'=>'Catalog','url'=>'admin/catalog.php','active'=>''); +$admin_items[] = array('title'=>'Site Preferences','url'=>'admin/preferences.php','active'=>''); +$admin_items[] = array('title'=>'Access List','url'=>'admin/access.php','active'=>''); + +$browse_items[] = array('title'=>'Albums','url'=>'albums.php','active'=>''); +$browse_items[] = array('title'=>'Artists','url'=>'artists.php','active'=>''); +$browse_items[] = array('title'=>'Genre','url'=>'browse.php?action=genre','active'=>''); +//$browse_items[] = array('title'=>'File','url'=>'files.php','active'=>''); + +?> + diff --git a/templates/style.inc b/templates/style.inc index e6810f0e..d0da2923 100644 --- a/templates/style.inc +++ b/templates/style.inc @@ -30,7 +30,10 @@ - diff --git a/templates/subnavbar.inc.php b/templates/subnavbar.inc.php new file mode 100644 index 00000000..a7064fd3 --- /dev/null +++ b/templates/subnavbar.inc.php @@ -0,0 +1,39 @@ + + -- cgit