summaryrefslogtreecommitdiffstats
path: root/templates/show_upload.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-08-02 06:55:26 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-08-02 06:55:26 +0000
commit2a008dc4abc86385b3059f82a2419b9514882dfe (patch)
treef5925786cb4cd1798c6dd8ff8c8fe235cabe0b38 /templates/show_upload.inc
parentba04cd2729b62daa1a7aa2d35814992c68c38430 (diff)
downloadampache-2a008dc4abc86385b3059f82a2419b9514882dfe.tar.gz
ampache-2a008dc4abc86385b3059f82a2419b9514882dfe.tar.bz2
ampache-2a008dc4abc86385b3059f82a2419b9514882dfe.zip
most of the new upload system, barely tested and not finished...
Diffstat (limited to 'templates/show_upload.inc')
-rw-r--r--templates/show_upload.inc162
1 files changed, 78 insertions, 84 deletions
diff --git a/templates/show_upload.inc b/templates/show_upload.inc
index 2fbef3e6..8cc7e8f4 100644
--- a/templates/show_upload.inc
+++ b/templates/show_upload.inc
@@ -1,84 +1,78 @@
-<?php
-/*
-
- Copyright (c) 2001 - 2005 Ampache.org
- All rights reserved.
-
- *Created by Lamar*
-
- 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
- of the License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-*/
-?>
-<center>
- <h3>
- <?php echo _("Please Ensure All Files Are Tagged Correctly"); ?>!<br />
- </h3>
- <p>
- <?php echo _("Ampache relies on id3 tags to sort data. If your file is not tagged it may be deleted."); ?>
- </p>
-
-<form action="<?php echo conf('web_path'); ?>/upload.php?" method="post" name="upload_form" enctype="multipart/form-data" id="upload_form">
- <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo _("max_upload_size"); ?>" />
- <table class="tabledata" cellspacing="0" cellpadding="0" border="0" width="90%" align="center">
- <tr align="center">
- <td>
- <input size="40" type="file" name="ul_path1" id="ul_path1" />
- </td>
- </tr>
- <tr align="center">
- <td>
- <input size="40" type="file" name="ul_path2" id="ul_path2" />
- </td>
- </tr>
- <tr align="center">
- <td>
- <input size="40" type="file" name="ul_path3" id="ul_path3" />
- </td>
- </tr>
- <tr align="center">
- <td>
- <input size="40" type="file" name="ul_path4" id="ul_path4" />
- </td>
- </tr>
- <tr align="center">
- <td>
- <input type="hidden" name="action" value="upload_now" />
- <input type="submit" value="<?php echo _("Upload"); ?>" />
- </td>
- </tr>
- </table>
-</form>
-
-<table align="center" border = "0">
- <tr>
- <td>
- Acceptable formats include:
- <ul>
- <li>.mp3</li>
- <li>.ogg</li>
- <li>.wma</li>
- <li>.flac</li>
- </ul>
- </td>
- </tr>
-</table>
-<!--
-<p>
- <?php echo _("Minimum Accepted Bitrate is"); ?> <?php echo $site->prefs['upload_bitrate'] ?> kbps
-</p>
--->
-</center>
-
+<?php
+/*
+
+ Copyright (c) 2001 - 2005 Ampache.org
+ All rights reserved.
+
+ *Created by Lamar*
+
+ 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
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+*/
+?>
+
+<form action="<?php echo conf('web_path'); ?>/upload.php?" method="post" name="upload_form" enctype="multipart/form-data" id="upload_form">
+<table class="text-box" cellspacing="0" cellpadding="0" border="0">
+<tr>
+ <td>
+ <h3><?php echo _("Uploading Music to Ampache"); ?><br></h3>
+ <p>
+ <b><?php echo _("The following Audio file formats are supported"); ?></b>
+ <ul>
+ <li>OGG</li>
+ <li>Mp3</li>
+ <li>Mpc</li>
+ <li>Flac</li>
+ <li>WMA</li>
+ <li>Mp4/M4a/AAC</li>
+ </ul>
+ </p>
+ <?php $GLOBALS['error']->print_error('general'); ?>
+ </td>
+</tr>
+<tr>
+ <td>
+ <input size=40 type="file" name="ul_path1" id="ul_path1">
+ <?php $GLOBALS['error']->print_error('ul_path1'); ?>
+ </td>
+</tr>
+<tr>
+ <td>
+ <input size=40 type="file" name="ul_path2" id="ul_path2">
+ <?php $GLOBALS['error']->print_error('ul_path2'); ?>
+ </td>
+</tr>
+<tr>
+ <td>
+ <input size=40 type="file" name="ul_path3" id="ul_path3">
+ <?php $GLOBALS['error']->print_error('ul_path3'); ?>
+ </td>
+</tr>
+<tr>
+ <td>
+ <input size=40 type="file" name="ul_path4" id="ul_path4">
+ <?php $GLOBALS['error']->print_error('ul_path3'); ?>
+ </td>
+</tr>
+<tr>
+ <td>
+ <input type="hidden" name="action" value="upload">
+ <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo _("max_upload_size"); ?>" />
+ <input type="submit" value="<?php echo _("Upload"); ?>">
+ </td>
+</tr>
+</table>
+</form>
+