From 45f382b06d0f6a5da0660d3bb70ce2c71193be57 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sun, 14 Mar 2010 04:53:15 +0000 Subject: Add vim modelines to all php files (Thx ascheel) --- admin/access.php | 1 + admin/catalog.php | 1 + admin/duplicates.php | 1 + admin/export.php | 1 + admin/flag.php | 1 + admin/index.php | 1 + admin/mail.php | 1 + admin/modules.php | 1 + admin/shout.php | 1 + admin/system.php | 1 + admin/users.php | 1 + albums.php | 1 + artists.php | 1 + batch.php | 1 + bin/catalog_update.inc | 1 + bin/delete_disabled.inc | 1 + bin/dump_album_art.inc | 1 + bin/fix_filenames.inc | 1 + bin/install/install-db.inc | 1 + bin/migrate_config.inc | 1 + bin/print_tags.inc | 1 + bin/sort_files.inc | 1 + bin/write_playlists.inc | 1 + bin/write_tags.inc | 1 + browse.php | 1 + democratic.php | 1 + flag.php | 1 + genre.php | 1 + image.php | 1 + index.php | 1 + install.php | 1 + lib/batch.lib.php | 1 + lib/class/access.class.php | 1 + lib/class/ajax.class.php | 1 + lib/class/album.class.php | 1 + lib/class/ampachemail.class.php | 1 + lib/class/ampacherss.class.php | 1 + lib/class/api.class.php | 1 + lib/class/art.class.php | 1 + lib/class/artist.class.php | 1 + lib/class/browse.class.php | 1 + lib/class/catalog.class.php | 1 + lib/class/config.class.php | 1 + lib/class/core.class.php | 1 + lib/class/database_object.abstract.php | 1 + lib/class/dba.class.php | 1 + lib/class/democratic.class.php | 1 + lib/class/error.class.php | 1 + lib/class/flag.class.php | 1 + lib/class/localplay.abstract.php | 1 + lib/class/localplay.class.php | 1 + lib/class/media.interface.php | 1 + lib/class/playlist.class.php | 1 + lib/class/plugin.class.php | 1 + lib/class/preference.class.php | 1 + lib/class/query.class.php | 1 + lib/class/radio.class.php | 1 + lib/class/random.class.php | 1 + lib/class/rating.class.php | 1 + lib/class/registration.class.php | 1 + lib/class/scrobbler.class.php | 1 + lib/class/shoutbox.class.php | 1 + lib/class/song.class.php | 1 + lib/class/stats.class.php | 1 + lib/class/stream.class.php | 1 + lib/class/tag.class.php | 1 + lib/class/tmpplaylist.class.php | 1 + lib/class/update.class.php | 1 + lib/class/user.class.php | 1 + lib/class/vainfo.class.php | 1 + lib/class/video.class.php | 1 + lib/class/xmldata.class.php | 1 + lib/debug.lib.php | 1 + lib/general.lib.php | 1 + lib/gettext.php | 1 + lib/install.php | 1 + lib/log.lib.php | 1 + lib/preferences.php | 1 + lib/rating.lib.php | 1 + lib/search.php | 1 + lib/themes.php | 1 + lib/ui.lib.php | 1 + localplay.php | 1 + lostpassword.php | 1 + modules/archive/archive.lib.php | 1 + modules/captcha/captcha.php | 1 + modules/emulator/gettext.php | 1 + modules/flash/xspf_player.php | 1 + modules/getid3/extension.cache.dbm.php | 1 + modules/getid3/extension.cache.mysql.php | 1 + modules/getid3/getid3.php | 1 + modules/getid3/module.archive.gzip.php | 1 + modules/getid3/module.archive.szip.php | 1 + modules/getid3/module.archive.tar.php | 1 + modules/getid3/module.archive.zip.php | 1 + modules/getid3/module.audio-video.asf.php | 1 + modules/getid3/module.audio-video.flv.php | 1 + modules/getid3/module.audio-video.mpeg.php | 1 + modules/getid3/module.audio-video.nsv.php | 1 + modules/getid3/module.audio-video.quicktime.php | 1 + modules/getid3/module.audio-video.real.php | 1 + modules/getid3/module.audio-video.riff.php | 1 + modules/getid3/module.audio-video.swf.php | 1 + modules/getid3/module.audio.aac_adif.php | 1 + modules/getid3/module.audio.aac_adts.php | 1 + modules/getid3/module.audio.ac3.php | 1 + modules/getid3/module.audio.au.php | 1 + modules/getid3/module.audio.avr.php | 1 + modules/getid3/module.audio.bonk.php | 1 + modules/getid3/module.audio.dts.php | 1 + modules/getid3/module.audio.la.php | 1 + modules/getid3/module.audio.lpac.php | 1 + modules/getid3/module.audio.midi.php | 1 + modules/getid3/module.audio.monkey.php | 1 + modules/getid3/module.audio.mp3.php | 1 + modules/getid3/module.audio.mpc7.php | 1 + modules/getid3/module.audio.mpc8.php | 1 + modules/getid3/module.audio.mpc_old.php | 1 + modules/getid3/module.audio.optimfrog.php | 1 + modules/getid3/module.audio.rkau.php | 1 + modules/getid3/module.audio.shorten.php | 1 + modules/getid3/module.audio.tta.php | 1 + modules/getid3/module.audio.voc.php | 1 + modules/getid3/module.audio.vqf.php | 1 + modules/getid3/module.audio.wavpack.php | 1 + modules/getid3/module.audio.xiph.php | 1 + modules/getid3/module.graphic.bmp.php | 1 + modules/getid3/module.graphic.gif.php | 1 + modules/getid3/module.graphic.jpeg.php | 1 + modules/getid3/module.graphic.pcd.php | 1 + modules/getid3/module.graphic.png.php | 1 + modules/getid3/module.graphic.tiff.php | 1 + modules/getid3/module.lib.data_hash.php | 1 + modules/getid3/module.lib.iconv_replacement.php | 1 + modules/getid3/module.lib.image_size.php | 1 + modules/getid3/module.misc.iso.php | 1 + modules/getid3/module.tag.apetag.php | 1 + modules/getid3/module.tag.id3v1.php | 1 + modules/getid3/module.tag.id3v2.php | 1 + modules/getid3/module.tag.lyrics3.php | 1 + modules/getid3/write.apetag.php | 1 + modules/getid3/write.flac.php | 1 + modules/getid3/write.id3v1.php | 1 + modules/getid3/write.id3v2.php | 1 + modules/getid3/write.lyrics3.php | 1 + modules/getid3/write.vorbis.php | 1 + modules/horde/Browser.php | 1 + modules/httpq/httpqplayer.class.php | 1 + modules/infotools/AmazonSearchEngine.class.php | 1 + modules/infotools/Snoopy.class.php | 1 + modules/infotools/jamendoSearch.class.php | 1 + modules/infotools/lastfm.class.php | 1 + modules/infotools/mp3tunes.class.php | 1 + modules/localplay/httpq.controller.php | 1 + modules/localplay/mpd.controller.php | 1 + modules/localplay/shoutcast.controller.php | 1 + modules/mpd/mpd.class.php | 1 + modules/nusoap/class.nusoap_base.php | 1 + modules/nusoap/class.soap_fault.php | 1 + modules/nusoap/class.soap_parser.php | 1 + modules/nusoap/class.soap_server.php | 1 + modules/nusoap/class.soap_transport_http.php | 1 + modules/nusoap/class.soap_val.php | 1 + modules/nusoap/class.soapclient.php | 1 + modules/nusoap/class.wsdl.php | 1 + modules/nusoap/class.wsdlcache.php | 1 + modules/nusoap/class.xmlschema.php | 1 + modules/nusoap/nusoap.php | 1 + modules/nusoap/nusoapmime.php | 1 + modules/php_musicbrainz/mbArtist.php | 1 + modules/php_musicbrainz/mbArtistAlias.php | 1 + modules/php_musicbrainz/mbDisc.php | 1 + modules/php_musicbrainz/mbEntity.php | 1 + modules/php_musicbrainz/mbFactory.php | 1 + modules/php_musicbrainz/mbFilter.php | 1 + modules/php_musicbrainz/mbInclude.php | 1 + modules/php_musicbrainz/mbLabel.php | 1 + modules/php_musicbrainz/mbLabelAlias.php | 1 + modules/php_musicbrainz/mbMetadata.php | 1 + modules/php_musicbrainz/mbQuery.php | 1 + modules/php_musicbrainz/mbRelation.php | 1 + modules/php_musicbrainz/mbRelease.php | 1 + modules/php_musicbrainz/mbReleaseEvent.php | 1 + modules/php_musicbrainz/mbResults.php | 1 + modules/php_musicbrainz/mbTag.php | 1 + modules/php_musicbrainz/mbTrack.php | 1 + modules/php_musicbrainz/mbUser.php | 1 + modules/php_musicbrainz/mbUtil.php | 1 + modules/php_musicbrainz/mbUtil_countrynames.php | 1 + modules/php_musicbrainz/mbUtil_languagenames.php | 1 + modules/php_musicbrainz/mbUtil_releasetypenames.php | 1 + modules/php_musicbrainz/mbUtil_scriptnames.php | 1 + modules/php_musicbrainz/mbWebService.php | 1 + modules/php_musicbrainz/mbXmlParser.php | 1 + modules/php_musicbrainz/xml/xmlParser.php | 1 + modules/phpmailer/class.phpmailer.php | 1 + modules/phpmailer/class.smtp.php | 1 + modules/phpmailer/language/phpmailer.lang-ar.php | 1 + modules/phpmailer/language/phpmailer.lang-br.php | 1 + modules/phpmailer/language/phpmailer.lang-ca.php | 1 + modules/phpmailer/language/phpmailer.lang-ch.php | 1 + modules/phpmailer/language/phpmailer.lang-cz.php | 1 + modules/phpmailer/language/phpmailer.lang-de.php | 1 + modules/phpmailer/language/phpmailer.lang-dk.php | 1 + modules/phpmailer/language/phpmailer.lang-es.php | 1 + modules/phpmailer/language/phpmailer.lang-et.php | 1 + modules/phpmailer/language/phpmailer.lang-fi.php | 1 + modules/phpmailer/language/phpmailer.lang-fo.php | 1 + modules/phpmailer/language/phpmailer.lang-fr.php | 1 + modules/phpmailer/language/phpmailer.lang-hu.php | 1 + modules/phpmailer/language/phpmailer.lang-it.php | 1 + modules/phpmailer/language/phpmailer.lang-ja.php | 1 + modules/phpmailer/language/phpmailer.lang-nl.php | 1 + modules/phpmailer/language/phpmailer.lang-no.php | 1 + modules/phpmailer/language/phpmailer.lang-pl.php | 1 + modules/phpmailer/language/phpmailer.lang-ro.php | 1 + modules/phpmailer/language/phpmailer.lang-ru.php | 1 + modules/phpmailer/language/phpmailer.lang-se.php | 1 + modules/phpmailer/language/phpmailer.lang-tr.php | 1 + modules/phpmailer/language/phpmailer.lang-zh.php | 1 + modules/phpmailer/language/phpmailer.lang-zh_cn.php | 1 + modules/plugins/Lastfm.plugin.php | 1 + modules/plugins/Librefm.plugin.php | 1 + modules/validatemail/validateEmail.php | 1 + modules/validatemail/validateEmailFormat.php | 1 + play/index.php | 1 + playlist.php | 1 + preferences.php | 1 + radio.php | 1 + random.php | 1 + register.php | 1 + rss.php | 1 + search.php | 1 + server/ajax.server.php | 1 + server/browse.ajax.php | 1 + server/democratic.ajax.php | 1 + server/flag.ajax.php | 1 + server/index.ajax.php | 1 + server/localplay.ajax.php | 1 + server/playlist.ajax.php | 1 + server/random.ajax.php | 1 + server/song.ajax.php | 1 + server/stats.ajax.php | 1 + server/stream.ajax.php | 1 + server/tag.ajax.php | 1 + server/xml.server.php | 1 + shout.php | 1 + song.php | 1 + stats.php | 1 + stream.php | 1 + templates/browse_content.inc.php | 1 + templates/error_page.inc.php | 1 + templates/footer.inc.php | 1 + templates/header.inc.php | 1 + templates/javascript_refresh.inc.php | 1 + templates/list_header.inc.php | 1 + templates/rightbar.inc.php | 1 + templates/show_access_list.inc.php | 1 + templates/show_account.inc.php | 1 + templates/show_add_access.inc.php | 1 + templates/show_add_access_current.inc.php | 1 + templates/show_add_access_local.inc.php | 1 + templates/show_add_access_rpc.inc.php | 1 + templates/show_add_catalog.inc.php | 1 + templates/show_add_live_stream.inc.php | 1 + templates/show_add_playlist.inc.php | 1 + templates/show_add_shout.inc.php | 1 + templates/show_add_user.inc.php | 1 + templates/show_adds_catalog.inc.php | 1 + templates/show_admin_info.inc.php | 1 + templates/show_admin_tools.inc.php | 1 + templates/show_album.inc.php | 1 + templates/show_album_art.inc.php | 1 + templates/show_album_row.inc.php | 1 + templates/show_albums.inc.php | 1 + templates/show_all_popular.inc.php | 1 + templates/show_alphabet_form.inc.php | 1 + templates/show_artist.inc.php | 1 + templates/show_artist_row.inc.php | 1 + templates/show_artists.inc.php | 1 + templates/show_big_art.inc.php | 1 + templates/show_box_bottom.inc.php | 1 + templates/show_box_top.inc.php | 1 + templates/show_catalog_row.inc.php | 1 + templates/show_catalogs.inc.php | 1 + templates/show_clean_catalog.inc.php | 1 + templates/show_confirmation.inc.php | 1 + templates/show_create_democratic.inc.php | 1 + templates/show_debug.inc.php | 1 + templates/show_democratic.inc.php | 1 + templates/show_democratic_playlist.inc.php | 1 + templates/show_denied.inc.php | 1 + templates/show_disabled_songs.inc.php | 1 + templates/show_duplicate.inc.php | 1 + templates/show_duplicates.inc.php | 1 + templates/show_dynamic.inc.php | 1 + templates/show_edit_access.inc.php | 1 + templates/show_edit_album.inc.php | 1 + templates/show_edit_album_row.inc.php | 1 + templates/show_edit_artist.inc.php | 1 + templates/show_edit_artist_row.inc.php | 1 + templates/show_edit_catalog.inc.php | 1 + templates/show_edit_live_stream_row.inc.php | 1 + templates/show_edit_playlist_row.inc.php | 1 + templates/show_edit_playlist_song_row.inc.php | 1 + templates/show_edit_shout.inc.php | 1 + templates/show_edit_song.inc.php | 1 + templates/show_edit_song_row.inc.php | 1 + templates/show_edit_user.inc.php | 1 + templates/show_export.inc.php | 1 + templates/show_flag_row.inc.php | 1 + templates/show_flagged.inc.php | 1 + templates/show_gather_art.inc.php | 1 + templates/show_genre.inc.php | 1 + templates/show_genres.inc.php | 1 + templates/show_get_albumart.inc.php | 1 + templates/show_import_playlist.inc.php | 1 + templates/show_index.inc.php | 1 + templates/show_install.inc.php | 1 + templates/show_install_account.inc.php | 1 + templates/show_install_check.inc.php | 1 + templates/show_install_config.inc.php | 1 + templates/show_install_lang.inc.php | 1 + templates/show_ip_history.inc.php | 1 + templates/show_live_stream.inc.php | 1 + templates/show_live_stream_row.inc.php | 1 + templates/show_live_streams.inc.php | 1 + templates/show_localplay_add_instance.inc.php | 1 + templates/show_localplay_control.inc.php | 1 + templates/show_localplay_controllers.inc.php | 1 + templates/show_localplay_edit_instance.inc.php | 1 + templates/show_localplay_instances.inc.php | 1 + templates/show_localplay_playlist.inc.php | 1 + templates/show_localplay_status.inc.php | 1 + templates/show_login_form.inc.php | 1 + templates/show_lostpassword_form.inc.php | 1 + templates/show_lyrics.inc.php | 1 + templates/show_lyrics_song.inc.php | 1 + templates/show_mail_users.inc.php | 1 + templates/show_manage_catalogs.inc.php | 1 + templates/show_manage_democratic.inc.php | 1 + templates/show_manage_shoutbox.inc.php | 1 + templates/show_newest.inc.php | 1 + templates/show_now_playing.inc.php | 1 + templates/show_now_playing_row.inc.php | 1 + templates/show_object_rating.inc.php | 1 + templates/show_object_rating_static.inc.php | 1 + templates/show_object_row.inc.php | 1 + templates/show_objects.inc.php | 1 + templates/show_playlist.inc.php | 1 + templates/show_playlist_row.inc.php | 1 + templates/show_playlist_song_row.inc.php | 1 + templates/show_playlist_songs.inc.php | 1 + templates/show_playlists.inc.php | 1 + templates/show_playtype_switch.inc.php | 1 + templates/show_plugins.inc.php | 1 + templates/show_popular.inc.php | 1 + templates/show_preference_admin.inc.php | 1 + templates/show_preference_box.inc.php | 1 + templates/show_preferences.inc.php | 1 + templates/show_random.inc.php | 1 + templates/show_random_albums.inc.php | 1 + templates/show_random_rules.inc.php | 1 + templates/show_recently_played.inc.php | 1 + templates/show_registration_confirmation.inc.php | 1 + templates/show_rename_artist.inc.php | 1 + templates/show_run_add_catalog.inc.php | 1 + templates/show_search.inc.php | 1 + templates/show_search_bar.inc.php | 1 + templates/show_search_descriptor.inc.php | 1 + templates/show_search_options.inc.php | 1 + templates/show_shout_row.inc.php | 1 + templates/show_shoutbox.inc.php | 1 + templates/show_song.inc.php | 1 + templates/show_song_row.inc.php | 1 + templates/show_songs.inc.php | 1 + templates/show_stats.inc.php | 1 + templates/show_stats_newest.inc.php | 1 + templates/show_stats_popular.inc.php | 1 + templates/show_tagcloud.inc.php | 1 + templates/show_test.inc.php | 1 + templates/show_test_config.inc.php | 1 + templates/show_update_items.inc.php | 1 + templates/show_user.inc.php | 1 + templates/show_user_activate.inc.php | 1 + templates/show_user_preferences.inc.php | 1 + templates/show_user_recommendations.inc.php | 1 + templates/show_user_registration.inc.php | 1 + templates/show_user_row.inc.php | 1 + templates/show_user_stats.inc.php | 1 + templates/show_users.inc.php | 1 + templates/show_verify_catalog.inc.php | 1 + templates/show_video_row.inc.php | 1 + templates/show_videos.inc.php | 1 + templates/show_xspf_player.inc.php | 1 + templates/sidebar.inc.php | 1 + templates/sidebar_admin.inc.php | 1 + templates/sidebar_home.inc.php | 1 + templates/sidebar_localplay.inc.php | 1 + templates/sidebar_modules.inc.php | 1 + templates/sidebar_preferences.inc.php | 1 + templates/subnavbar.inc.php | 1 + test.php | 1 + themes/classic/theme.cfg.php | 1 + themes/greysme/theme.cfg.php | 1 + themes/penguin/theme.cfg.php | 1 + update.php | 1 + util.php | 1 + 408 files changed, 408 insertions(+) diff --git a/admin/access.php b/admin/access.php index 6a46c9f1..a6ea8dd1 100644 --- a/admin/access.php +++ b/admin/access.php @@ -1,4 +1,5 @@ diff --git a/modules/php_musicbrainz/mbMetadata.php b/modules/php_musicbrainz/mbMetadata.php index 5f1a10aa..d6491a16 100644 --- a/modules/php_musicbrainz/mbMetadata.php +++ b/modules/php_musicbrainz/mbMetadata.php @@ -1,4 +1,5 @@ "Bangladesh", "BE" => "Belgium", diff --git a/modules/php_musicbrainz/mbUtil_languagenames.php b/modules/php_musicbrainz/mbUtil_languagenames.php index 9847e735..2244f9c9 100644 --- a/modules/php_musicbrainz/mbUtil_languagenames.php +++ b/modules/php_musicbrainz/mbUtil_languagenames.php @@ -1,4 +1,5 @@ "Artificial (Other)", "ROH" => "Raeto-Romance", diff --git a/modules/php_musicbrainz/mbUtil_releasetypenames.php b/modules/php_musicbrainz/mbUtil_releasetypenames.php index f22a3581..79fa8c97 100644 --- a/modules/php_musicbrainz/mbUtil_releasetypenames.php +++ b/modules/php_musicbrainz/mbUtil_releasetypenames.php @@ -1,4 +1,5 @@ "None", "http://musicbrainz.org/ns/mmd-1.0#Album" => "Album", diff --git a/modules/php_musicbrainz/mbUtil_scriptnames.php b/modules/php_musicbrainz/mbUtil_scriptnames.php index 75477f71..0045f0cc 100644 --- a/modules/php_musicbrainz/mbUtil_scriptnames.php +++ b/modules/php_musicbrainz/mbUtil_scriptnames.php @@ -1,4 +1,5 @@ "Yi", "Telu" => "Telugu", diff --git a/modules/php_musicbrainz/mbWebService.php b/modules/php_musicbrainz/mbWebService.php index 8d5a3b09..4f5a98ad 100644 --- a/modules/php_musicbrainz/mbWebService.php +++ b/modules/php_musicbrainz/mbWebService.php @@ -1,4 +1,5 @@ diff --git a/modules/phpmailer/language/phpmailer.lang-se.php b/modules/phpmailer/language/phpmailer.lang-se.php index 67e05f59..d57d71c8 100644 --- a/modules/phpmailer/language/phpmailer.lang-se.php +++ b/modules/phpmailer/language/phpmailer.lang-se.php @@ -1,4 +1,5 @@ +/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ ' . "\n"; ?> Ampache diff --git a/templates/show_search_options.inc.php b/templates/show_search_options.inc.php index 01be5a8f..7a8ce87f 100644 --- a/templates/show_search_options.inc.php +++ b/templates/show_search_options.inc.php @@ -1,4 +1,5 @@ ; ;;;;;;;;;;;;;;;;;; ; Copyright (c) 2001 - 2007 Ampache.org diff --git a/themes/greysme/theme.cfg.php b/themes/greysme/theme.cfg.php index 69fb1078..6eaa5b30 100644 --- a/themes/greysme/theme.cfg.php +++ b/themes/greysme/theme.cfg.php @@ -1,4 +1,5 @@ ;;;;;;;;;;;;;;;;;; +/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ ;; ;;;;;;;;;;;;;;;;;; ; Copyright (c) 2001 - 2007 Ampache.org diff --git a/themes/penguin/theme.cfg.php b/themes/penguin/theme.cfg.php index 838ce96e..c75f9d9f 100644 --- a/themes/penguin/theme.cfg.php +++ b/themes/penguin/theme.cfg.php @@ -1,4 +1,5 @@ ;;;;;;;;;;;;;;;;;; +/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ ;; ;;;;;;;;;;;;;;;;;; ; Copyright (c) 2001 - 2007 Ampache.org diff --git a/update.php b/update.php index fd32dc1e..e270565d 100644 --- a/update.php +++ b/update.php @@ -1,4 +1,5 @@