From c3b6ef7ad2e888fd228f62ed3cef6f7d55070a84 Mon Sep 17 00:00:00 2001 From: mywindow Date: Mon, 12 Sep 2011 16:16:12 -0600 Subject: Added class names to generic box names. --- templates/show_access_list.inc.php | 4 ++-- templates/show_add_access.inc.php | 2 +- templates/show_add_access_current.inc.php | 2 +- templates/show_add_access_local.inc.php | 2 +- templates/show_add_access_rpc.inc.php | 2 +- templates/show_add_catalog.inc.php | 4 ++-- templates/show_add_live_stream.inc.php | 2 +- templates/show_add_shout.inc.php | 2 +- templates/show_add_user.inc.php | 2 +- templates/show_adds_catalog.inc.php | 2 +- templates/show_album_art.inc.php | 2 +- templates/show_confirmation.inc.php | 2 +- templates/show_debug.inc.php | 6 +++--- templates/show_democratic.inc.php | 2 +- templates/show_duplicate.inc.php | 2 +- templates/show_edit_catalog.inc.php | 4 ++-- templates/show_export.inc.php | 2 +- templates/show_gather_art.inc.php | 2 +- templates/show_get_albumart.inc.php | 2 +- templates/show_import_playlist.inc.php | 2 +- templates/show_localplay_add_instance.inc.php | 2 +- templates/show_localplay_edit_instance.inc.php | 2 +- templates/show_localplay_instances.inc.php | 2 +- templates/show_localplay_status.inc.php | 2 +- templates/show_lyrics.inc.php | 2 +- templates/show_lyrics_song.inc.php | 2 +- templates/show_mail_users.inc.php | 2 +- templates/show_manage_catalogs.inc.php | 2 +- templates/show_now_playing_row.inc.php | 6 +++--- templates/show_random.inc.php | 12 ++++++------ templates/show_random_albums.inc.php | 2 +- templates/show_recently_played.inc.php | 2 +- templates/show_rules.inc.php | 4 ++-- templates/show_search.inc.php | 6 +++--- templates/show_smartplaylist.inc.php | 2 +- templates/show_song.inc.php | 2 +- templates/show_stats.inc.php | 2 +- templates/show_update_items.inc.php | 2 +- templates/show_verify_catalog.inc.php | 2 +- 39 files changed, 54 insertions(+), 54 deletions(-) (limited to 'templates') diff --git a/templates/show_access_list.inc.php b/templates/show_access_list.inc.php index f1e5c3de..0e1e687d 100644 --- a/templates/show_access_list.inc.php +++ b/templates/show_access_list.inc.php @@ -32,7 +32,7 @@ */ ?> - +
- + diff --git a/templates/show_add_access.inc.php b/templates/show_add_access.inc.php index 2fc33c5c..89f01f9a 100644 --- a/templates/show_add_access.inc.php +++ b/templates/show_add_access.inc.php @@ -27,7 +27,7 @@ */ ?> - +
diff --git a/templates/show_add_access_current.inc.php b/templates/show_add_access_current.inc.php index 8759ebff..ab86ec84 100644 --- a/templates/show_add_access_current.inc.php +++ b/templates/show_add_access_current.inc.php @@ -27,7 +27,7 @@ */ ?> - +
diff --git a/templates/show_add_access_local.inc.php b/templates/show_add_access_local.inc.php index d61d26de..81587b1a 100644 --- a/templates/show_add_access_local.inc.php +++ b/templates/show_add_access_local.inc.php @@ -27,7 +27,7 @@ */ ?> - +
diff --git a/templates/show_add_access_rpc.inc.php b/templates/show_add_access_rpc.inc.php index 6c081286..e7c2ecd8 100644 --- a/templates/show_add_access_rpc.inc.php +++ b/templates/show_add_access_rpc.inc.php @@ -27,7 +27,7 @@ */ ?> - +
diff --git a/templates/show_add_catalog.inc.php b/templates/show_add_catalog.inc.php index ed4f2054..6d4a9aad 100644 --- a/templates/show_add_catalog.inc.php +++ b/templates/show_add_catalog.inc.php @@ -29,7 +29,7 @@ $default_rename = "%a - %T - %t"; $default_sort = "%a/%A"; ?> - +

@@ -37,7 +37,7 @@ $default_sort = "%a/%A"; -
: + :
%A =
%a =
diff --git a/templates/show_add_live_stream.inc.php b/templates/show_add_live_stream.inc.php index 8c124f00..60e0fc4c 100644 --- a/templates/show_add_live_stream.inc.php +++ b/templates/show_add_live_stream.inc.php @@ -27,7 +27,7 @@ */ ?> - + diff --git a/templates/show_add_shout.inc.php b/templates/show_add_shout.inc.php index f3e36ffa..99d43390 100644 --- a/templates/show_add_shout.inc.php +++ b/templates/show_add_shout.inc.php @@ -27,7 +27,7 @@ */ ?> - +
diff --git a/templates/show_add_user.inc.php b/templates/show_add_user.inc.php index 0c6a7b66..e672876e 100644 --- a/templates/show_add_user.inc.php +++ b/templates/show_add_user.inc.php @@ -27,7 +27,7 @@ */ ?> - +">
diff --git a/templates/show_adds_catalog.inc.php b/templates/show_adds_catalog.inc.php index e4f0d23a..1da117a2 100644 --- a/templates/show_adds_catalog.inc.php +++ b/templates/show_adds_catalog.inc.php @@ -26,7 +26,7 @@ * @link http://www.ampache.org/ */ -show_box_top(); +show_box_top(_('Starting New Song Search'), 'box box_adds_catalog'); /* HINT: Catalog Name */ printf(_('Starting New Song Search on %s catalog'), "[ $this->name ]"); echo "
\n"; diff --git a/templates/show_album_art.inc.php b/templates/show_album_art.inc.php index 44f46fe1..8304d063 100644 --- a/templates/show_album_art.inc.php +++ b/templates/show_album_art.inc.php @@ -31,7 +31,7 @@ $total_images = count($images); $rows = floor($total_images/4); $i = 0; ?> - +
- +
diff --git a/templates/show_debug.inc.php b/templates/show_debug.inc.php index fe7bc335..3722f2d4 100644 --- a/templates/show_debug.inc.php +++ b/templates/show_debug.inc.php @@ -27,7 +27,7 @@ */ ?> - +
  • @@ -41,7 +41,7 @@
- +
@@ -90,7 +90,7 @@
- + diff --git a/templates/show_democratic.inc.php b/templates/show_democratic.inc.php index eb5dbed5..0bac3584 100644 --- a/templates/show_democratic.inc.php +++ b/templates/show_democratic.inc.php @@ -28,7 +28,7 @@ /* HINT: Democratic Name */ $string = $democratic->is_enabled() ? sprintf(_('%s Playlist') ,$democratic->name) : _('Democratic Playlist'); -show_box_top($string); +show_box_top($string , 'info-box'); ?>
    diff --git a/templates/show_duplicate.inc.php b/templates/show_duplicate.inc.php index b24d7535..6e35cff1 100644 --- a/templates/show_duplicate.inc.php +++ b/templates/show_duplicate.inc.php @@ -27,7 +27,7 @@ */ ?> - +
diff --git a/templates/show_edit_catalog.inc.php b/templates/show_edit_catalog.inc.php index 4b48f40f..46f196ae 100644 --- a/templates/show_edit_catalog.inc.php +++ b/templates/show_edit_catalog.inc.php @@ -27,7 +27,7 @@ */ ?> -name . ' (' . $catalog->path . ')')); ?> +name . ' (' . $catalog->path . ')'), 'box box_edit_catalog'); ?>
@@ -72,7 +72,7 @@
- +
diff --git a/templates/show_export.inc.php b/templates/show_export.inc.php index 262e967b..2ba58b4f 100644 --- a/templates/show_export.inc.php +++ b/templates/show_export.inc.php @@ -31,7 +31,7 @@ ${$name} = ' selected="selected"'; $name = 'catalog_' . $_REQUEST['export_catalog']; ${$name} = ' selected="selected"'; -show_box_top(_('Export Catalog')); ?> +show_box_top(_('Export Catalog'), 'box box_export'); ?>
diff --git a/templates/show_gather_art.inc.php b/templates/show_gather_art.inc.php index 2b9c920b..424b1792 100644 --- a/templates/show_gather_art.inc.php +++ b/templates/show_gather_art.inc.php @@ -26,7 +26,7 @@ * @link http://www.ampache.org/ */ -show_box_top(); +show_box_top(_('Album Art Search'), 'box box_gather_art'); echo "" . _('Starting Album Art Search') . ". . .
\n"; echo _('Searched') . ": " . _('None') . "
"; echo _('Reading') . ":
"; diff --git a/templates/show_get_albumart.inc.php b/templates/show_get_albumart.inc.php index 56c8f8e5..46954fb7 100644 --- a/templates/show_get_albumart.inc.php +++ b/templates/show_get_albumart.inc.php @@ -27,7 +27,7 @@ */ ?> - +
diff --git a/templates/show_import_playlist.inc.php b/templates/show_import_playlist.inc.php index 56231d20..bb5bd7c6 100644 --- a/templates/show_import_playlist.inc.php +++ b/templates/show_import_playlist.inc.php @@ -27,7 +27,7 @@ */ ?> - +
diff --git a/templates/show_localplay_add_instance.inc.php b/templates/show_localplay_add_instance.inc.php index d368986d..0863ddb5 100644 --- a/templates/show_localplay_add_instance.inc.php +++ b/templates/show_localplay_add_instance.inc.php @@ -27,7 +27,7 @@ */ ?> - +
$field) { ?> diff --git a/templates/show_localplay_edit_instance.inc.php b/templates/show_localplay_edit_instance.inc.php index 03604528..42a5dcf8 100644 --- a/templates/show_localplay_edit_instance.inc.php +++ b/templates/show_localplay_edit_instance.inc.php @@ -27,7 +27,7 @@ */ ?> - +
$field) { ?> diff --git a/templates/show_localplay_instances.inc.php b/templates/show_localplay_instances.inc.php index affb08ab..c88934cc 100644 --- a/templates/show_localplay_instances.inc.php +++ b/templates/show_localplay_instances.inc.php @@ -27,7 +27,7 @@ */ ?> - +
$field) { ?> diff --git a/templates/show_localplay_status.inc.php b/templates/show_localplay_status.inc.php index da5ae81a..028e442d 100644 --- a/templates/show_localplay_status.inc.php +++ b/templates/show_localplay_status.inc.php @@ -30,7 +30,7 @@ $status = $localplay->status(); $now_playing = $status['track_title'] ? $status['track_title'] . ' - ' . $status['track_album'] . ' - ' . $status['track_artist'] : ''; ?> -type)); ?> +type), 'box box_localplay_status'); ?> :
    diff --git a/templates/show_lyrics.inc.php b/templates/show_lyrics.inc.php index c300dbdf..aa5eb34c 100644 --- a/templates/show_lyrics.inc.php +++ b/templates/show_lyrics.inc.php @@ -37,7 +37,7 @@ * @todo get lyrics from id3tag, if possible. */ /* HINT: Song Title */ -show_box_top(sprintf(_('%s Lyrics'), $song->title)); +show_box_top(sprintf(_('%s Lyrics'), $song->title), 'box box_lyrics'); ?>
diff --git a/templates/show_lyrics_song.inc.php b/templates/show_lyrics_song.inc.php index 72908dea..b9af036f 100644 --- a/templates/show_lyrics_song.inc.php +++ b/templates/show_lyrics_song.inc.php @@ -26,7 +26,7 @@ * @link http://www.ampache.org/ */ -show_box_top($song->title); +show_box_top($song->title , 'box box_lyrics_song'); /* Prepare the variables */ $title = scrub_out(truncate_with_ellipsis($song->title)); diff --git a/templates/show_mail_users.inc.php b/templates/show_mail_users.inc.php index 13085c54..acc13fb5 100644 --- a/templates/show_mail_users.inc.php +++ b/templates/show_mail_users.inc.php @@ -28,7 +28,7 @@ ?> - +
diff --git a/templates/show_manage_catalogs.inc.php b/templates/show_manage_catalogs.inc.php index 9a8160d1..4656b1d5 100644 --- a/templates/show_manage_catalogs.inc.php +++ b/templates/show_manage_catalogs.inc.php @@ -27,7 +27,7 @@ */ ?> - +
diff --git a/templates/show_now_playing_row.inc.php b/templates/show_now_playing_row.inc.php index 43580397..d3b647b9 100644 --- a/templates/show_now_playing_row.inc.php +++ b/templates/show_now_playing_row.inc.php @@ -31,7 +31,7 @@ $title = scrub_out(truncate_with_ellipsis($media->title)); $album = scrub_out(truncate_with_ellipsis($media->f_album_full)); $artist = scrub_out(truncate_with_ellipsis($media->f_artist_full)); ?> -
- + - +
 
 
- + - + - +
@@ -79,7 +79,7 @@
diff --git a/templates/show_random_albums.inc.php b/templates/show_random_albums.inc.php index 618254b7..be669f75 100644 --- a/templates/show_random_albums.inc.php +++ b/templates/show_random_albums.inc.php @@ -29,7 +29,7 @@ $web_path = Config::get('web_path'); $button = Ajax::button('?page=index&action=random_albums','random',_('Refresh'),'random_refresh'); ?> - + diff --git a/templates/show_rules.inc.php b/templates/show_rules.inc.php index e6db04cb..063c721b 100644 --- a/templates/show_rules.inc.php +++ b/templates/show_rules.inc.php @@ -27,7 +27,7 @@
- + - +
diff --git a/templates/show_search.inc.php b/templates/show_search.inc.php index d9c7fcb5..e55ba308 100644 --- a/templates/show_search.inc.php +++ b/templates/show_search.inc.php @@ -34,16 +34,16 @@ - + - +
 
 
- +
diff --git a/templates/show_update_items.inc.php b/templates/show_update_items.inc.php index 8e845641..c952dc41 100644 --- a/templates/show_update_items.inc.php +++ b/templates/show_update_items.inc.php @@ -26,7 +26,7 @@ * @link http://www.ampache.org/ */ -show_box_top(_('Starting Update from Tags')); +show_box_top(_('Starting Update from Tags'), 'box box_update_items'); Catalog::update_single_item($type,$object_id); ?>
diff --git a/templates/show_verify_catalog.inc.php b/templates/show_verify_catalog.inc.php index 7b799797..4786c703 100644 --- a/templates/show_verify_catalog.inc.php +++ b/templates/show_verify_catalog.inc.php @@ -26,7 +26,7 @@ * @link http://www.ampache.org/ */ -show_box_top(); +show_box_top(_('Verify Catalog'), 'box box_verify_catalog'); /* HINT: Catalog Name */ printf(_('Updating the %s catalog'), "[ $this->name ]"); echo "
\n"; -- cgit