diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-11-26 04:04:24 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-11-26 04:04:24 +0000 |
commit | a41697ea25a58ea5db5ed46a251fb62364626b1b (patch) | |
tree | 9754a325a5c700135e69e341b47d2658d2344762 /lib/class/view.class.php | |
parent | 0635397ab2bd5afc6789cef56b9a9d87bd52bcfd (diff) | |
download | ampache-a41697ea25a58ea5db5ed46a251fb62364626b1b.tar.gz ampache-a41697ea25a58ea5db5ed46a251fb62364626b1b.tar.bz2 ampache-a41697ea25a58ea5db5ed46a251fb62364626b1b.zip |
tweaked icons to use built in functions and removed them from where there were not icons for every optin, added recently played
Diffstat (limited to 'lib/class/view.class.php')
-rw-r--r-- | lib/class/view.class.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/class/view.class.php b/lib/class/view.class.php index afc81b22..4f58677a 100644 --- a/lib/class/view.class.php +++ b/lib/class/view.class.php @@ -167,8 +167,15 @@ class View { @discussion initializes the view object, checks $_REQUEST for changes to the view object */ - function initialize() { - + function initialize($sql='') { + + /* From time to time we need to change the SQL statement while + * maintaining the paging + */ + if ($sql) { + $this->change_sql($sql); + } + if ($_REQUEST['sort_type']) { $this->change_sort_type($_REQUEST['sort_type']); } |