summaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeFilesLines
* Move [un]format_bytes() from general.lib.php to UIPaul Arthur2013-01-261-1/+1
|
* Move get_user_icon from ui.lib.php to UI::get_iconPaul Arthur2013-01-2626-55/+55
|
* Move show_box_{top,bottom}() from ui.lib.php to UIPaul Arthur2013-01-2671-152/+152
|
* Move show_{footer,header}() from ui.lib.php to UIPaul Arthur2013-01-262-2/+2
|
* Continue moving things into UIPaul Arthur2013-01-264-6/+6
| | | | | check_php_iconv() from lib/debug.lib.php becomes UI::check_iconv() truncate_with_ellipsis() from lib/ui.lib.php becomes UI::truncate()
* Move flip_class() from lib/ui.lib.php to UIPaul Arthur2013-01-2638-73/+73
|
* Move Catalog::get_disabled() to SongPaul Arthur2013-01-261-1/+1
|
* Rename shoutBox to ShoutboxPaul Arthur2013-01-253-5/+5
|
* Rename tmpPlaylist to Tmp_PlaylistPaul Arthur2013-01-251-1/+1
|
* Move duplicate searching from Catalog to SongPaul Arthur2013-01-251-2/+2
| | | | | Catalog::get_duplicate_songs() -> Song::find_duplicates() Catalog::get_duplicate_info() -> Song::get_duplicate_info()
* Use the standard footer on the registration formPaul Arthur2013-01-251-9/+3
|
* Consistently use _ in two-word class namesPaul Arthur2013-01-252-2/+2
|
* include -> require_oncePaul Arthur2013-01-251-1/+1
| | | | Say what we mean.
* conf() -> Config::get()Paul Arthur2013-01-2510-10/+10
| | | | | I have a feeling a lot of these are in stale, unused code, but there might be some actual bugs here. conf() was replaced a while back.
* Update Whatever:hover to 3.11Paul Arthur2013-01-251-121/+0
| | | | | | | http://peterned.home.xs4all.nl/csshover.html#changes Claims to fix a performance issue. Also move it out of templates/ into modules/ since it's external code.
* Change css handling for RTL languagesPaul Arthur2013-01-251-8/+10
| | | | | | | | | | | | Code duplication is bad even when it's CSS, mmkay? If a theme has templates/rtl.css, it will be loaded in addition to default.css. This is more sane than the old behaviour, which loaded default-rtl.css instead of default.css. I'm not feeling ambitious enough to actually check whether the current -rtl.css files work and change them to overrides instead of modified copypasta, so I just dropped them for now.
* Cosmetics: clean up heads in templates/Paul Arthur2013-01-25160-1364/+391
|
* Fix add and edit catalog legend format specifiers in penguin themeFred Thomsen2013-01-232-14/+14
|
* Mess around with ratingsPaul Arthur2013-01-231-8/+15
| | | | | | | | | | Drop the public variables from the rating class; everyone should use the getters. Add the ability for themes and applications to distinguish between a user's actual rating and the global average rating; in the web interface the average shows up if a user hasn't rated something but at least one other user has.
* Use the standard footer on the login form.Paul Arthur2013-01-161-12/+5
|
* Update footer with correct yearPaul Arthur2013-01-151-10/+1
|
* Drop unused static rating, whatever that wasPaul Arthur2012-12-191-58/+0
|
* Use Ajax::url in the browse filtersPaul Arthur2012-12-191-2/+1
|
* Drop unused ajax_url variablesPaul Arthur2012-12-197-7/+0
|
* Use Ajax::action to generate the refresh URLPaul Arthur2012-12-191-1/+1
| | | | Handcrafting it is unnecessary.
* Clean up remaining direct calls to mysql functionsPaul Arthur2012-11-081-1/+1
| | | | | This makes it theoretically possible to replace Dba with a different implementation somewhat painlessly.
* Clean up check_database, more direct mysql callsPaul Arthur2012-11-081-2/+1
|
* Move check_database_inserted into the Dba classPaul Arthur2012-11-081-1/+1
|
* Move check_database into the Dba classPaul Arthur2012-11-081-1/+1
|
* Start cleaning up the democratic thing.Paul Arthur2012-10-151-7/+7
| | | | | Whoever wrote the old implementation of get_items suffered from intense fear and hatred of SQL.
* Clean up template show_now_playing_rowPaul Arthur2012-09-201-12/+3
| | | | | | Song title was linked to yet another inconsistent action and links were being built from scratch instead of using the perfectly good preformatted ones.
* FS#142 - Clicking on song results in downloadingPaul Arthur2012-09-201-1/+1
| | | | | | | | | | | Change the title link in a song row so it links to the song details. While there's no real value in obfuscating the fact that a stream can be downloaded, there is value in a consistent interface. The song title being a stream link is inconsistent with other parts of the row (such as album and artist), inconsistent with other times we display songs (such as Recently Played), and doesn't consistently match the currently selected playback method.
* Rework debug pagePaul Arthur2012-07-111-48/+26
| | | | | | | We don't need to check for PCRE any more, it can't be disabled in PHP 5.3. Try to improve the descriptions.
* Refactor the random templatePaul Arthur2012-06-091-35/+44
| | | | I hate ${$name} with a fiery passion.
* Clean up the ACL UI a bitPaul Arthur2012-05-015-304/+35
| | | | Make it more consistent and remove outdated references to RPC keys.
* Switch from ngettext() to T_ngettext()Paul Arthur2012-04-122-8/+8
|
* Switch from _() to T_()Paul Arthur2012-04-12151-1277/+1277
| | | | | | Even if we move away from php-gettext in the future, it's easy to write a quick T_() as a simple wrapper; it's not so easy to rewrite PHP to allow redeclaration of a function.
* Fix issue with new time logic (erk)Paul Arthur2012-04-121-1/+1
|
* Fix pluralisation issue in Recently PlayedPaul Arthur2012-04-121-27/+33
| | | | | | | | | | Previously we would say things like "1 seconds" and "1 hours". Using the magic of ngettext and sprintf we can get rid of the static concatenation order and become theoretically more translatable as well as more correct in English. Also changed the logic a bit, since the old looping method was unfriendly to my brain.
* Make Art->get_from_source() staticPaul Arthur2012-04-091-1/+1
| | | | | | Half the calls to it were already trying to call it as a static method anyway. The only time $this was referenced was to get the type, so pass type as a parameter.
* Make the help text for the config step more closely resemble realityPaul Arthur2012-04-091-1/+1
|
* Add missing <td> tag to show_install_checkPaul Arthur2012-04-091-0/+1
|
* Make the install-time execution time check more betterPaul Arthur2012-04-091-1/+1
|
* Fix display of logic operator in searchPaul Arthur2012-03-311-3/+11
| | | | | It could be in either $_REQUEST or a playlist object, so we need to check the correct one.
* Clean up uses of Config::set and Config::set_by_arrayPaul Arthur2012-03-061-1/+1
| | | | | Consistently pass in a boolean instead of a string or an int for the clobber flag.
* FS#214 - Brackets In header.inc.phpPaul Arthur2012-02-201-1/+1
| | | | | Moved brackets inside the <a> element, which should prevent splitting them from the text they're supposed to enclose.
* Add remote_username/password to Catalog Edit pageKarl Vollmer2011-11-231-4/+6
|
* Fix DB updates so catalog remote_username and remote_password are added ↵Karl Vollmer2011-11-231-1/+1
| | | | correctly, also fix catalog creation so they are stored in the database
* Make the access denied page a little more readablePaul Arthur2011-11-221-10/+5
|
* Clean up some more "security" things.Paul Arthur2011-11-222-97/+0
| | | | phpinfo might actually be useful.