summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/show_play_selected.inc.php2
-rw-r--r--templates/show_preferences.inc2
-rw-r--r--templates/show_upload.inc10
-rw-r--r--templates/style.inc3
4 files changed, 11 insertions, 6 deletions
diff --git a/templates/show_play_selected.inc.php b/templates/show_play_selected.inc.php
index 53cc42d4..9b44e8a0 100644
--- a/templates/show_play_selected.inc.php
+++ b/templates/show_play_selected.inc.php
@@ -19,6 +19,8 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+$web_path = conf('web_path');
+
?>
<table border="0" cellpadding="14" cellspacing="0" class="text-box">
<tr align="left">
diff --git a/templates/show_preferences.inc b/templates/show_preferences.inc
index e0c82225..9a96248a 100644
--- a/templates/show_preferences.inc
+++ b/templates/show_preferences.inc
@@ -79,7 +79,7 @@ if (($GLOBALS['user']->has_access(100)) AND ($user_id == '-1' AND conf('use_auth
<?php } ?>
</ul>
</div>
-<div class="text-box">
+<div class="text-box" style="width:35em;">
<form method="post" name="preferences" action="<?php echo conf('web_path'); ?><?php echo $target; ?>" enctype="multipart/form-data">
<?php
if ($current_tab != 'account') {
diff --git a/templates/show_upload.inc b/templates/show_upload.inc
index 029e6c5c..e2ccb542 100644
--- a/templates/show_upload.inc
+++ b/templates/show_upload.inc
@@ -24,12 +24,12 @@
?>
<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">
+<table class="text-box">
<tr>
<td>
- <h3><?php echo _("Uploading Music to Ampache"); ?><br /></h3>
+ <h3><?php echo _('Uploading Music to Ampache'); ?><br /></h3>
<p>
- <b><?php echo _("The following Audio file formats are supported"); ?></b>
+ <b><?php echo _('The following Audio file formats are supported'); ?></b>
</p>
<ul>
<li>OGG</li>
@@ -69,8 +69,8 @@
<tr>
<td>
<input type="hidden" name="action" value="upload" />
- <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo _("max_upload_size"); ?>" />
- <input class='button' type="submit" value="<?php echo _("Upload"); ?>" />
+ <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo _('max_upload_size'); ?>" />
+ <input class='button' type="submit" value="<?php echo _('Upload'); ?>" />
</td>
</tr>
</table>
diff --git a/templates/style.inc b/templates/style.inc
index a12bc5ad..a94c43a1 100644
--- a/templates/style.inc
+++ b/templates/style.inc
@@ -183,6 +183,9 @@
.fatalerror
{
padding-top: 3px;
+ padding-left: 3px;
+ padding-right: 3px;
+ display: table-cell;
padding-bottom: 3px;
color: <?php echo conf('error_color'); ?>;
border-right:4px solid <?php echo conf('error_color'); ?>;