Skip to content

Commit

Permalink
seems to be keeping the true
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlan-00 committed Sep 16, 2019
1 parent bd635ee commit 0bf879e
Show file tree
Hide file tree
Showing 64 changed files with 81 additions and 81 deletions.
6 changes: 3 additions & 3 deletions admin/modules.php
Expand Up @@ -187,19 +187,19 @@
$plugins = Plugin::get_plugins();
UI::show_box_top(T_('Plugins'), 'box box_localplay_plugins');
require_once AmpConfig::get('prefix') . UI::find_template('show_plugins.inc.php');
UI::show_box_bottom();
UI::show_box_bottom(false);
break;
case 'show_localplay':
$controllers = Localplay::get_controllers();
UI::show_box_top(T_('Localplay Controllers'), 'box box_localplay_controllers');
require_once AmpConfig::get('prefix') . UI::find_template('show_localplay_controllers.inc.php');
UI::show_box_bottom();
UI::show_box_bottom(false);
break;
case 'show_catalog_types':
$catalogs = Catalog::get_catalog_types();
UI::show_box_top(T_('Catalog Types'), 'box box_catalog_types');
require_once AmpConfig::get('prefix') . UI::find_template('show_catalog_types.inc.php');
UI::show_box_bottom();
UI::show_box_bottom(false);
break;
default:
// Rien a faire
Expand Down
2 changes: 1 addition & 1 deletion browse.php
Expand Up @@ -96,7 +96,7 @@
$browse2->set_type($browse_type);
$browse2->store();
require_once AmpConfig::get('prefix') . UI::find_template('show_tagcloud.inc.php');
UI::show_box_bottom();
UI::show_box_bottom(false);
$type = $browse2->get_type();
require_once AmpConfig::get('prefix') . UI::find_template('browse_content.inc.php');
break;
Expand Down
4 changes: 2 additions & 2 deletions lib/class/browse.class.php
Expand Up @@ -246,7 +246,7 @@ public function show_objects($object_ids = array(), $argument = false)
case 'playlist_localplay':
$box_title = T_('Current Playlist');
$box_req = AmpConfig::get('prefix') . UI::find_template('show_localplay_playlist.inc.php');
UI::show_box_bottom();
UI::show_box_bottom(false);
break;
case 'smartplaylist':
$box_title = T_('Smart Playlists') . $match;
Expand Down Expand Up @@ -361,7 +361,7 @@ public function show_objects($object_ids = array(), $argument = false)

if ($this->is_show_header()) {
if (isset($box_req)) {
UI::show_box_bottom();
UI::show_box_bottom(false);
}
echo '<script type="text/javascript">';
echo Ajax::action('?page=browse&action=get_filters&browse_id=' . $this->id . $argument_param, '');
Expand Down
4 changes: 2 additions & 2 deletions lib/class/catalog.class.php
Expand Up @@ -1972,7 +1972,7 @@ public function clean_catalog()
}
UI::update_text(T_("Catalog Cleaned"), sprintf(nT_('%d file removed.', '%d files removed.', $dead_total), $dead_total));
if (!defined('SSE_OUTPUT')) {
UI::show_box_bottom();
UI::show_box_bottom(false);
}

$this->update_last_clean();
Expand All @@ -1997,7 +1997,7 @@ public function verify_catalog()
}
UI::update_text(T_("Catalog Verified"), sprintf(nT_('%d file updated.', '%d files updated.', $verified['updated']), $verified['updated']));
if (!defined('SSE_OUTPUT')) {
UI::show_box_bottom();
UI::show_box_bottom(false);
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion modules/Beets/Catalog.php
Expand Up @@ -132,7 +132,7 @@ public function add_to_catalog($options = null)
$this->update_last_add();

if (!defined('SSE_OUTPUT')) {
UI::show_box_bottom();
UI::show_box_bottom(false);
}
}

Expand Down
2 changes: 1 addition & 1 deletion modules/catalog/local/local.catalog.php
Expand Up @@ -502,7 +502,7 @@ public function add_to_catalog($options = null)
}
UI::update_text(T_('Catalog Updated.'), sprintf(T_('Total Time: [%s] Total Media: [%s] Media Per Second: [%s]'), date('i:s', $time_diff), $this->count, $rate));
if (!defined('SSE_OUTPUT')) {
UI::show_box_bottom();
UI::show_box_bottom(false);
}
} // add_to_catalog

Expand Down
2 changes: 1 addition & 1 deletion modules/catalog/remote/remote.catalog.php
Expand Up @@ -183,7 +183,7 @@ public function add_to_catalog($options = null)
}
$this->update_remote_catalog();
if (!defined('SSE_OUTPUT')) {
UI::show_box_bottom();
UI::show_box_bottom(false);
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion modules/catalog/seafile/seafile.catalog.php
Expand Up @@ -277,7 +277,7 @@ public function add_to_catalog($options = null)
}

if (!defined('SSE_OUTPUT')) {
UI::show_box_bottom();
UI::show_box_bottom(false);
}

$this->update_last_add();
Expand Down
2 changes: 1 addition & 1 deletion modules/catalog/soundcloud/soundcloud.catalog.php
Expand Up @@ -239,7 +239,7 @@ public function add_to_catalog($options = null)
}
$this->update_remote_catalog();
if (!defined('SSE_OUTPUT')) {
UI::show_box_bottom();
UI::show_box_bottom(false);
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion modules/catalog/subsonic/subsonic.catalog.php
Expand Up @@ -187,7 +187,7 @@ public function add_to_catalog($options = null)
}
$this->update_remote_catalog();
if (!defined('SSE_OUTPUT')) {
UI::show_box_bottom();
UI::show_box_bottom(false);
}

return true;
Expand Down
Expand Up @@ -150,7 +150,7 @@ public function display_home()
}
}
echo '</table>';
UI::show_box_bottom();
UI::show_box_bottom(false);
echo '</div>';
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/plugins/FriendsTimeline/FriendsTimeline.plugin.php
Expand Up @@ -99,7 +99,7 @@ public function display_home()
$activity = new Useractivity($aid);
$activity->show();
}
UI::show_box_bottom();
UI::show_box_bottom(false);
}
echo '</div>';
}
Expand Down
2 changes: 1 addition & 1 deletion modules/plugins/RSSView/RSSView.plugin.php
Expand Up @@ -116,7 +116,7 @@ public function display_home()
}
}
echo '</table></div>';
UI::show_box_bottom();
UI::show_box_bottom(false);
}
}

Expand Down
2 changes: 1 addition & 1 deletion server/index.ajax.php
Expand Up @@ -332,7 +332,7 @@

UI::show_box_top(T_('Songs'), 'info-box');
require_once AmpConfig::get('prefix') . UI::find_template('show_songs.inc.php');
UI::show_box_bottom();
UI::show_box_bottom(false);
}

$results['songs'] = ob_get_contents();
Expand Down
2 changes: 1 addition & 1 deletion templates/header.inc.php
Expand Up @@ -406,7 +406,7 @@ function libitem_action(item, action)
}
?>

<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
</div> <!-- End headerbox -->
</div><!-- End header -->

Expand Down
2 changes: 1 addition & 1 deletion templates/show_access_list.inc.php
Expand Up @@ -40,7 +40,7 @@
</li>
</ul>
</div>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
<?php UI::show_box_top(T_('Access Control Entries'), 'box box_access_entries'); ?>
<?php Ajax::start_container('browse_content', 'browse_content'); ?>
<?php if (count($list)) {
Expand Down
4 changes: 2 additions & 2 deletions templates/show_add_shout.inc.php
Expand Up @@ -58,7 +58,7 @@
</tr>
</table>
</form>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
</div>
<?php
} ?>
Expand All @@ -73,6 +73,6 @@
require_once AmpConfig::get('prefix') . UI::find_template('show_shoutbox.inc.php');
}
?>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
</div>
</div>
2 changes: 1 addition & 1 deletion templates/show_adds_catalog.inc.php
Expand Up @@ -26,4 +26,4 @@
echo "<br />\n";
echo T_('Found') . ': <span id="add_count_' . $this->id . '">' . T_('None') . '</span><br />';
echo T_('Reading') . ':<span id="add_dir_' . $this->id . '"></span><br />';
UI::show_box_bottom();
UI::show_box_bottom(false);
2 changes: 1 addition & 1 deletion templates/show_album.inc.php
Expand Up @@ -226,7 +226,7 @@
} ?>
</ul>
</div>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
<div id="additional_information">
&nbsp;
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/show_album_group_disks.inc.php
Expand Up @@ -114,7 +114,7 @@
} ?>
</ul>
</div>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
<div id="additional_information">
&nbsp;
</div>
Expand Down
10 changes: 5 additions & 5 deletions templates/show_artist.inc.php
Expand Up @@ -203,7 +203,7 @@
} ?>
</ul>
</div>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
<div class="tabs_wrapper">
<div id="tabs_container">
<ul id="tabs">
Expand Down Expand Up @@ -258,7 +258,7 @@
<div id="missing_albums" class="tab_content">
<?php UI::show_box_top(T_('Missing Albums'), 'info-box');
echo T_('Loading...');
UI::show_box_bottom(); ?>
UI::show_box_bottom(false); ?>
</div>
<?php
} ?>
Expand All @@ -268,7 +268,7 @@
<div id="similar_artist" class="tab_content">
<?php UI::show_box_top(T_('Similar Artists'), 'info-box');
echo T_('Loading...');
UI::show_box_bottom(); ?>
UI::show_box_bottom(false); ?>
</div>
<?php
} ?>
Expand All @@ -278,7 +278,7 @@
<div id="concerts" class="tab_content">
<?php UI::show_box_top(T_('Events'), 'info-box');
echo T_('Loading...');
UI::show_box_bottom(); ?>
UI::show_box_bottom(false); ?>
</div>
<?php
} ?>
Expand All @@ -288,7 +288,7 @@
<div id="labels" class="tab_content">
<?php UI::show_box_top(T_('Labels'), 'info-box');
echo T_('Loading...');
UI::show_box_bottom(); ?>
UI::show_box_bottom(false); ?>
</div>
<?php
} ?>
Expand Down
2 changes: 1 addition & 1 deletion templates/show_arts.inc.php
Expand Up @@ -68,4 +68,4 @@
} // end while
?>
</table>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
2 changes: 1 addition & 1 deletion templates/show_clean_catalog.inc.php
Expand Up @@ -26,4 +26,4 @@
echo "...<br />";
echo T_('Checking') . ': <span id="clean_count_' . $this->id . '"></span><br />';
echo T_('Reading') . ': <span id="clean_dir_' . $this->id . '"></span><br />';
UI::show_box_bottom();
UI::show_box_bottom(false);
4 changes: 2 additions & 2 deletions templates/show_concerts.inc.php
Expand Up @@ -47,7 +47,7 @@
} ?>
</tbody>
</table>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
<?php UI::show_box_top(T_('Past Events'), 'info-box'); ?>
<table class="tabledata" cellpadding="0" cellspacing="0">
<thead>
Expand Down Expand Up @@ -75,4 +75,4 @@
} ?>
</tbody>
</table>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
2 changes: 1 addition & 1 deletion templates/show_confirmation.inc.php
Expand Up @@ -37,4 +37,4 @@
</form>
<?php
} ?>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
6 changes: 3 additions & 3 deletions templates/show_debug.inc.php
Expand Up @@ -54,7 +54,7 @@
}
?>
<br />
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>

<?php UI::show_box_top(T_('PHP Settings'), 'box box_php_settings'); ?>
<table class="tabledata" cellpadding="0" cellspacing="0">
Expand Down Expand Up @@ -107,7 +107,7 @@
</tr>
</tbody>
</table>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>

<?php UI::show_box_top(T_('Current Configuration'), 'box box_current_configuration'); ?>
<table class="tabledata" cellpadding="0" cellspacing="0">
Expand Down Expand Up @@ -150,6 +150,6 @@
?>
</tbody>
</table>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>

<?php UI::show_box_bottom(true, 'show_debug'); ?>
2 changes: 1 addition & 1 deletion templates/show_gather_art.inc.php
Expand Up @@ -25,4 +25,4 @@
echo T_('Searched') . ": <span id=\"count_art_" . $catalog_id . "\">" . T_('None') . "</span><br />";
echo T_('Reading') . ":<span id=\"read_art_$catalog_id\"></span><br />";
echo "<br />\n";
UI::show_box_bottom();
UI::show_box_bottom(false);
2 changes: 1 addition & 1 deletion templates/show_graphs.inc.php
Expand Up @@ -99,4 +99,4 @@
theme: 'dark'
});
</script>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
4 changes: 2 additions & 2 deletions templates/show_index.inc.php
Expand Up @@ -45,7 +45,7 @@
<div id="random_selection" class="random_selection">
<?php UI::show_box_top(T_('Albums of the Moment'));
echo T_('Loading...');
//UI::show_box_bottom();?>
//UI::show_box_bottom(false);?>
</div>
<?php
}
Expand All @@ -54,7 +54,7 @@
<div id="random_video_selection" class="random_selection">
<?php UI::show_box_top(T_('Videos of the Moment'));
echo T_('Loading...');
UI::show_box_bottom(); ?>
UI::show_box_bottom(false); ?>
</div>
<?php
} ?>
Expand Down
4 changes: 2 additions & 2 deletions templates/show_label.inc.php
Expand Up @@ -96,7 +96,7 @@
} ?>
</ul>
</div>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
<div class="tabs_wrapper">
<div id="tabs_container">
<ul id="tabs">
Expand All @@ -116,7 +116,7 @@
echo Ajax::observe('songs_link', 'click', Ajax::action('?page=index&action=songs&label=' . $label->id, 'songs'));
?>
<div id="songs" class="tab_content">
<?php UI::show_box_top(T_('Songs'), 'info-box'); echo T_('Loading...'); UI::show_box_bottom(); ?>
<?php UI::show_box_top(T_('Songs'), 'info-box'); echo T_('Loading...'); UI::show_box_bottom(false); ?>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion templates/show_live_streams.inc.php
Expand Up @@ -30,7 +30,7 @@
</li>
</ul>
</div>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
<?php
} ?>
<?php if ($browse->is_show_header()) {
Expand Down
2 changes: 1 addition & 1 deletion templates/show_localplay_status.inc.php
Expand Up @@ -60,5 +60,5 @@
$browse->show_objects($objects);
$browse->store();
?>
<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
<?php Ajax::end_container(); ?>
2 changes: 1 addition & 1 deletion templates/show_lyrics.inc.php
Expand Up @@ -66,4 +66,4 @@
} ?>
</div>

<?php UI::show_box_bottom(); ?>
<?php UI::show_box_bottom(false); ?>
2 changes: 1 addition & 1 deletion templates/show_manage_catalogs.inc.php
Expand Up @@ -62,7 +62,7 @@
</form>
</div>
<?php
UI::show_box_bottom();
UI::show_box_bottom(false);
$catalog_ids = Catalog::get_catalogs();
$browse = new Browse();
$browse->set_type('catalog');
Expand Down

0 comments on commit 0bf879e

Please sign in to comment.