From a02b8ce20746ef5449e661ac8ffdb4e1974e65c2 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 1 May 2006 07:22:07 +0000 Subject: fixed clean, added lang to installer (thx ros) and cleaned up catalog display a bit and mojoed lang list --- templates/show_install.inc | 4 +-- templates/show_install_account.inc.php | 2 +- templates/show_install_config.inc | 9 ++--- templates/show_install_lang.inc.php | 60 ++++++++++++++++++++++++++++++++++ templates/show_localplay.inc.php | 10 ++++-- templates/show_modules.inc.php | 2 +- templates/sidebar.inc.php | 4 +++ 7 files changed, 80 insertions(+), 11 deletions(-) create mode 100644 templates/show_install_lang.inc.php (limited to 'templates') diff --git a/templates/show_install.inc b/templates/show_install.inc index 3db12278..a1f0c574 100644 --- a/templates/show_install.inc +++ b/templates/show_install.inc @@ -1,4 +1,4 @@ - + Ampache :: For The Love Of Music - Install @@ -34,7 +34,7 @@

Insert Ampache Database print_error('general'); ?> -
" enctype="multipart/form-data" > + " enctype="multipart/form-data" > diff --git a/templates/show_install_account.inc.php b/templates/show_install_account.inc.php index 71ce402c..b2e580b1 100644 --- a/templates/show_install_account.inc.php +++ b/templates/show_install_account.inc.php @@ -25,7 +25,7 @@ */ ?> - +Ampache :: For The Love Of Music - Install diff --git a/templates/show_install_config.inc b/templates/show_install_config.inc index 82ba6679..28296c84 100644 --- a/templates/show_install_config.inc +++ b/templates/show_install_config.inc @@ -6,7 +6,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 +1 as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -25,7 +25,7 @@ */ ?> - +Ampache :: For The Love Of Music - Install @@ -125,12 +125,13 @@
  - [] + + []

- " enctype="multipart/form-data"> + " enctype="multipart/form-data">
diff --git a/templates/show_install_lang.inc.php b/templates/show_install_lang.inc.php new file mode 100644 index 00000000..e4ccfbf9 --- /dev/null +++ b/templates/show_install_lang.inc.php @@ -0,0 +1,60 @@ + + +Ampache :: For The Love Of Music - Install + + + + + +
+
+ +

+ +
+

    +
  • +
  • +
+ +

+
+ +
+ Choose installation language. +

+ print_error('general'); ?> + +

" enctype="multipart/form-data" > + +\n"; + +foreach ($languages as $lang=>$name) { + $var_name = $lang . "_lang"; + + echo "\t\n"; +} // end foreach +echo "\n"; +?> + + + +
+

+
+
+

Ampache Installation.
+ For the love of Music.

+
+
+ + + diff --git a/templates/show_localplay.inc.php b/templates/show_localplay.inc.php index b9d126b9..e73a15cc 100644 --- a/templates/show_localplay.inc.php +++ b/templates/show_localplay.inc.php @@ -26,8 +26,12 @@ $songs = $localplay->get(); ?>
- - +type); ?> +

@@ -51,7 +55,7 @@ $songs = $localplay->get(); - + diff --git a/templates/show_modules.inc.php b/templates/show_modules.inc.php index 8b0b139f..0fc80bfb 100644 --- a/templates/show_modules.inc.php +++ b/templates/show_modules.inc.php @@ -30,7 +30,7 @@ $localplay_modules = get_localplay_controllers(); $web_path = conf('web_path'); ?> - + diff --git a/templates/sidebar.inc.php b/templates/sidebar.inc.php index 99916072..83ff2c54 100644 --- a/templates/sidebar.inc.php +++ b/templates/sidebar.inc.php @@ -186,6 +186,10 @@ $web_path = conf('web_path');
+ id . "&sessid=" . session_id(); + $ajax_url = $web_path . '/server/ajax.server.php'; + ?> onclick="ajaxPut('','action=change_play_type&type=stream','play_type');return true;"> -- cgit