summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2007-08-06 22:10:58 +0000
committerxgizzmo <xgizzmo@ampache>2007-08-06 22:10:58 +0000
commitc1e451729180af2a5749aa93671975e72f8d40a9 (patch)
tree6476d912a35abde5265df007c6daf132f046bd07
parent0949ff48904b06438fc4215854d7fa3ba884474e (diff)
downloadampache-c1e451729180af2a5749aa93671975e72f8d40a9.tar.gz
ampache-c1e451729180af2a5749aa93671975e72f8d40a9.tar.bz2
ampache-c1e451729180af2a5749aa93671975e72f8d40a9.zip
fix some short tags causeing some weirdness in the menu, fixed a typo here and there.
-rw-r--r--contrib/themes/Green-Marble/templates/default.css2
-rw-r--r--lib/class/ajax.class.php2
-rw-r--r--register.php2
-rw-r--r--templates/show_now_playing_row.inc.php2
-rw-r--r--templates/sidebar_browse.inc.php4
5 files changed, 6 insertions, 6 deletions
diff --git a/contrib/themes/Green-Marble/templates/default.css b/contrib/themes/Green-Marble/templates/default.css
index 6351b486..cad668fa 100644
--- a/contrib/themes/Green-Marble/templates/default.css
+++ b/contrib/themes/Green-Marble/templates/default.css
@@ -391,7 +391,7 @@ span.five-stars:hover { width: 80px; }
}
.text-action a, .text-action span {
padding: 0 2px;
- background: #ddd;
+ background: url(../images/active.tablebg.gif) #000000 repeat-x;
border:1px solid #000;
text-decoration: none;
}
diff --git a/lib/class/ajax.class.php b/lib/class/ajax.class.php
index 5185538a..8843cc4d 100644
--- a/lib/class/ajax.class.php
+++ b/lib/class/ajax.class.php
@@ -51,7 +51,7 @@ class Ajax {
$source_txt = "'$source'";
}
- $observe = "<script type=\"text/javascript\"><!--\n";
+ $observe = "\n <script type=\"text/javascript\"><!--\n";
$observe .= "\tEvent.observe($source_txt,'$method',function(){" . $action . ";});\n";
$observe .= "--></script>\n";
diff --git a/register.php b/register.php
index 38005c28..e40da39b 100644
--- a/register.php
+++ b/register.php
@@ -49,7 +49,7 @@ require_once (conf('prefix') . '/modules/validatemail/validateEmail.php');
/* Don't even include it if we aren't going to use it */
if (conf('captcha_public_reg')) {
- define ("CAPTCHA_INVERSE, 1");
+ define ("CAPTCHA_INVERSE", 1);
require_once (conf('prefix') . '/modules/captcha/captcha.php');
}
diff --git a/templates/show_now_playing_row.inc.php b/templates/show_now_playing_row.inc.php
index cb4331d4..7ba25059 100644
--- a/templates/show_now_playing_row.inc.php
+++ b/templates/show_now_playing_row.inc.php
@@ -31,7 +31,7 @@ $artist = scrub_out(truncate_with_ellipsis($song->f_artist_full,'25'));
<a title="<?php echo scrub_out($song->title); ?>" href="<?php echo $web_path; ?>/stream.php?action=single_song&amp;song_id=<?php echo $song->id; ?>">
<?php echo $title; ?>
</a>
- <div id="rating_<?php echo $song->id; ?>_song">
+ <div class="rating_<?php echo $song->id; ?>_song">
<?php Rating::show($song->id,'song'); ?>
</div>
</td>
diff --git a/templates/sidebar_browse.inc.php b/templates/sidebar_browse.inc.php
index 3ae18e0c..f040f531 100644
--- a/templates/sidebar_browse.inc.php
+++ b/templates/sidebar_browse.inc.php
@@ -24,10 +24,10 @@
<input type="checkbox" onclick="ajaxPut('<?php echo $ajax_info; ?>?action=browse&amp;key=rated&amp;value=1');return true;" value="1" />
<?php echo _('Rated'); ?><br />
-->
- <input id="unplayedCB" type="checkbox" <? echo $string = Browse::get_filter('unplayed') ? 'checked="checked"' : ''; ?>/>
+ <input id="unplayedCB" type="checkbox" <?php echo $string = Browse::get_filter('unplayed') ? 'checked="checked"' : ''; ?> />
<label id="unplayedLabel" for="unplayedCB"><?php echo _('Unplayed'); ?></label><br />
<?php echo Ajax::observe('unplayedCB','click',Ajax::action('?page=browse&action=browse&key=unplayed&value=1','')); ?>
- <input id="show_artCB" type="checkbox" <? echo $string = Browse::get_filter('show_art') ? 'checked="checked"' : ''; ?>/>
+ <input id="show_artCB" type="checkbox" <?php echo $string = Browse::get_filter('show_art') ? 'checked="checked"' : ''; ?> />
<label id="show_artLabel" for="show_artCB"><?php echo _('Show Art'); ?></label><br />
<?php echo Ajax::observe('show_artCB','click',Ajax::action('?page=browse&action=browse&key=show_art&value=1','')); ?>
</div>