summaryrefslogtreecommitdiffstats
path: root/templates/show_artist_row.inc.php
blob: f7612c1e4eb0e7c818c9f12c05efe0627fbe7a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/**
 *
 * LICENSE: GNU General Public License, version 2 (GPLv2)
 * Copyright 2001 - 2013 Ampache.org
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License v2
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 */
?>
<td class="cel_add">
	<?php echo Ajax::button('?action=basket&type=artist&id=' . $artist->id,'add', T_('Add'),'add_artist_' . $artist->id); ?>
	<?php echo Ajax::button('?action=basket&type=artist_random&id=' . $artist->id,'random', T_('Random'),'random_artist_' . $artist->id); ?>
</td>
<td class="cel_artist"><?php echo $artist->f_name_link; ?></td>
<td class="cel_songs"><?php echo $artist->songs; ?></td>
<td class="cel_albums"><?php echo $artist->albums; ?></td>
<td class="cel_time"><?php echo $artist->f_time; ?></td>
<td class="cel_tags"><?php echo $artist->f_tags; ?></td>
<td class="cel_rating" id="rating_<?php echo $artist->id; ?>_artist"><?php Rating::show($artist->id,'artist'); ?></td>
<td class="cel_action">
<?php if (Access::check_function('batch_download')) { ?>
	<a href="<?php echo Config::get('web_path'); ?>/batch.php?action=artist&amp;id=<?php echo $artist->id; ?>">
        	<?php echo UI::get_icon('batch_download','', T_('Batch Download')); ?>
        </a>
<?php } ?>
<?php if (Access::check('interface','50')) { ?>
	<?php echo Ajax::button('?action=show_edit_object&type=artist_row&id=' . $artist->id,'edit', T_('Edit'),'edit_artist_' . $artist->id); ?>
<?php } ?>
</td>
{ color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<?php
    $mbLanguageNames = array( 
        "ART" => "Artificial (Other)",
        "ROH" => "Raeto-Romance",
        "SCO" => "Scots",
        "SCN" => "Sicilian",
        "ROM" => "Romany",
        "RON" => "Romanian",
        "OSS" => "Ossetian; Ossetic",
        "ALE" => "Aleut",
        "MNI" => "Manipuri",
        "NWC" => "Classical Newari; Old Newari; Classical Nepal Bhasa",
        "OSA" => "Osage",
        "MNC" => "Manchu",
        "MWR" => "Marwari",
        "VEN" => "Venda",
        "MWL" => "Mirandese",
        "FAS" => "Persian",
        "FAT" => "Fanti",
        "FAN" => "Fang",
        "FAO" => "Faroese",
        "DIN" => "Dinka",
        "HYE" => "Armenian",
        "DSB" => "Lower Sorbian",
        "CAR" => "Carib",
        "DIV" => "Divehi",
        "TEL" => "Telugu",
        "TEM" => "Timne",
        "NBL" => "Ndebele, South; South Ndebele",
        "TER" => "Tereno",
        "TET" => "Tetum",
        "SUN" => "Sundanese",
        "KUT" => "Kutenai",
        "SUK" => "Sukuma",
        "KUR" => "Kurdish",
        "KUM" => "Kumyk",
        "SUS" => "Susu",
        "NEW" => "Newari; Nepal Bhasa",
        "KUA" => "Kuanyama; Kwanyama",
        "MEN" => "Mende",
        "LEZ" => "Lezghian",
        "GLA" => "Gaelic; Scottish Gaelic",
        "BOS" => "Bosnian",
        "GLE" => "Irish",
        "EKA" => "Ekajuk",
        "GLG" => "Gallegan",
        "AKA" => "Akan",
        "BOD" => "Tibetan",
        "GLV" => "Manx",
        "JRB" => "Judeo-Arabic",
        "VIE" => "Vietnamese",
        "IPK" => "Inupiaq",
        "UZB" => "Uzbek",
        "BRE" => "Breton",
        "BRA" => "Braj",
        "AYM" => "Aymara",
        "CHA" => "Chamorro",
        "CHB" => "Chibcha",
        "CHE" => "Chechen",
        "CHG" => "Chagatai",
        "CHK" => "Chuukese",
        "CHM" => "Mari",
        "CHN" => "Chinook jargon",
        "CHO" => "Choctaw",
        "CHP" => "Chipewyan",
        "CHR" => "Cherokee",
        "CHU" => "Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic",
        "CHV" => "Chuvash",
        "CHY" => "Cheyenne",
        "MSA" => "Malay",
        "III" => "Sichuan Yi",
        "ACE" => "Achinese",
        "IBO" => "Igbo",
        "IBA" => "Iban",
        "XHO" => "Xhosa",
        "DEU" => "German",
        "CAT" => "Catalan; Valencian",
        "DEL" => "Delaware",
        "DEN" => "Slave (Athapascan)",
        "CAD" => "Caddo",
        "TAT" => "Tatar",
        "RAJ" => "Rajasthani",
        "SPA" => "Spanish; Castilian",
        "TAM" => "Tamil",
        "TAH" => "Tahitian",
        "AFH" => "Afrihili",
        "ENG" => "English",
        "CSB" => "Kashubian",
        "NYN" => "Nyankole",
        "NYO" => "Nyoro",
        "SID" => "Sidamo",
        "NYA" => "Chichewa; Chewa; Nyanja",
        "SIN" => "Sinhala; Sinhalese",
        "AFR" => "Afrikaans",
        "LAM" => "Lamba",
        "SND" => "Sindhi",
        "MAR" => "Marathi",
        "LAH" => "Lahnda",
        "NYM" => "Nyamwezi",
        "SNA" => "Shona",
        "LAD" => "Ladino",
        "SNK" => "Soninke",
        "MAD" => "Madurese",
        "MAG" => "Magahi",
        "MAI" => "Maithili",
        "MAH" => "Marshallese",
        "LAV" => "Latvian",
        "MAL" => "Malayalam",
        "MAN" => "Mandingo",
        "ZND" => "Zande",
        "ZEN" => "Zenaga",
        "KBD" => "Kabardian",
        "ITA" => "Italian",
        "VAI" => "Vai",
        "TSN" => "Tswana",
        "TSO" => "Tsonga",
        "TSI" => "Tsimshian",
        "BYN" => "Blin; Bilin",
        "FIJ" => "Fijian",
        "FIN" => "Finnish",
        "EUS" => "Basque",
        "CEB" => "Cebuano",
        "DAN" => "Danish",
        "NOG" => "Nogai",
        "NOB" => "Norwegian Bokm�l; Bokm�l, Norwegian",
        "DAK" => "Dakota",
        "CES" => "Czech",
        "DAR" => "Dargwa",
        "DAY" => "Dayak",
        "NOR" => "Norwegian",
        "KPE" => "Kpelle",
        "GUJ" => "Gujarati",
        "MDF" => "Moksha",
        "MAS" => "Masai",
        "LAO" => "Lao",
        "MDR" => "Mandar",
        "GON" => "Gondi",
        "SMS" => "Skolt Sami",
        "SMO" => "Samoan",
        "SMN" => "Inari Sami",
        "SMJ" => "Lule Sami",
        "GOT" => "Gothic",
        "SME" => "Northern Sami",
        "BLA" => "Siksika",
        "SMA" => "Southern Sami",
        "GOR" => "Gorontalo",
        "AST" => "Asturian; Bable",
        "ORM" => "Oromo",
        "QUE" => "Quechua",
        "ORI" => "Oriya",
        "CRH" => "Crimean Tatar; Crimean Turkish",
        "ASM" => "Assamese",
        "PUS" => "Pushto",
        "DGR" => "Dogrib",
        "LTZ" => "Luxembourgish; Letzeburgesch",
        "NDO" => "Ndonga",
        "GEZ" => "Geez",
        "ISL" => "Icelandic",
        "LAT" => "Latin",
        "MAK" => "Makasar",
        "ZAP" => "Zapotec",
        "YID" => "Yiddish",
        "KOK" => "Konkani",
        "KOM" => "Komi",
        "KON" => "Kongo",
        "UKR" => "Ukrainian",
        "TON" => "Tonga (Tonga Islands)",
        "KOS" => "Kosraean",
        "KOR" => "Korean",
        "TOG" => "Tonga (Nyasa)",
        "HUN" => "Hungarian",
        "HUP" => "Hupa",
        "CYM" => "Welsh",
        "UDM" => "Udmurt",
        "BEJ" => "Beja",
        "BEN" => "Bengali",
        "BEL" => "Belarusian",
        "BEM" => "Bemba",
        "AAR" => "Afar",
        "NZI" => "Nzima",
        "SAH" => "Yakut",
        "SAN" => "Sanskrit",
        "SAM" => "Samaritan Aramaic",
        "SAG" => "Sango",
        "SAD" => "Sandawe",
        "RAR" => "Rarotongan",
        "RAP" => "Rapanui",
        "SAS" => "Sasak",
        "SAT" => "Santali",
        "MIN" => "Minangkabau",
        "LIM" => "Limburgan; Limburger; Limburgish",
        "LIN" => "Lingala",
        "LIT" => "Lithuanian",
        "EFI" => "Efik",
        "BTK" => "Batak (Indonesia)",
        "KAC" => "Kachin",
        "KAB" => "Kabyle",
        "KAA" => "Kara-Kalpak",
        "KAN" => "Kannada",
        "KAM" => "Kamba",
        "KAL" => "Kalaallisut; Greenlandic",
        "KAS" => "Kashmiri",
        "KAR" => "Karen",
        "KAU" => "Kanuri",
        "KAT" => "Georgian",
        "KAZ" => "Kazakh",
        "TYV" => "Tuvinian",
        "AWA" => "Awadhi",
        "URD" => "Urdu",
        "DOI" => "Dogri",
        "TPI" => "Tok Pisin",
        "MRI" => "Maori",
        "ABK" => "Abkhazian",
        "TKL" => "Tokelau",
        "NLD" => "Dutch; Flemish",
        "OJI" => "Ojibwa",
        "OCI" => "Occitan (post 1500); Proven�al",
        "WOL" => "Wolof",
        "JAV" => "Javanese",
        "HRV" => "Croatian",
        "DYU" => "Dyula",
        "SSW" => "Swati",
        "MUL" => "Multiple languages",
        "HIL" => "Hiligaynon",
        "HIM" => "Himachali",
        "HIN" => "Hindi",
        "BAS" => "Basa",
        "GBA" => "Gbaya",
        "WLN" => "Walloon",
        "BAD" => "Banda",
        "NEP" => "Nepali",
        "CRE" => "Cree",
        "BAN" => "Balinese",
        "BAL" => "Baluchi",
        "BAM" => "Bambara",
        "BAK" => "Bashkir",
        "SHN" => "Shan",
        "ARP" => "Arapaho",
        "ARW" => "Arawak",
        "ARA" => "Arabic",
        "ARC" => "Aramaic",
        "ARG" => "Aragonese",
        "SEL" => "Selkup",
        "ARN" => "Araucanian",
        "LUS" => "Lushai",
        "MUS" => "Creek",
        "LUA" => "Luba-Lulua",
        "LUB" => "Luba-Katanga",
        "LUG" => "Ganda",
        "LUI" => "Luiseno",
        "LUN" => "Lunda",
        "LUO" => "Luo (Kenya and Tanzania)",
        "IKU" => "Inuktitut",
        "TUR" => "Turkish",
        "TUK" => "Turkmen",
        "TUM" => "Tumbuka",
        "COP" => "Coptic",
        "COS" => "Corsican",
        "COR" => "Cornish",
        "ILO" => "Iloko",
        "GWI" => "Gwich�in",
        "TLI" => "Tlingit",
        "TLH" => "Klingon; tlhIngan-Hol",
        "POR" => "Portuguese",
        "PON" => "Pohnpeian",
        "POL" => "Polish",
        "TGK" => "Tajik",
        "TGL" => "Tagalog",
        "FRA" => "French",
        "BHO" => "Bhojpuri",
        "SWA" => "Swahili",
        "DUA" => "Duala",
        "SWE" => "Swedish",
        "YAP" => "Yapese",
        "TIV" => "Tiv",
        "YAO" => "Yao",
        "XAL" => "Kalmyk",
        "FRY" => "Frisian",
        "GAY" => "Gayo",
        "OTA" => "Turkish, Ottoman (1500-1928)",
        "HMN" => "Hmong",
        "HMO" => "Hiri Motu",
        "GAA" => "Ga",
        "FUR" => "Friulian",
        "MLG" => "Malagasy",
        "SLV" => "Slovenian",
        "FIL" => "Filipino; Pilipino",
        "MLT" => "Maltese",
        "SLK" => "Slovak",
        "FUL" => "Fulah",
        "JPN" => "Japanese",
        "VOL" => "Volap�k",
        "VOT" => "Votic",
        "IND" => "Indonesian",
        "AVE" => "Avestan",
        "JPR" => "Judeo-Persian",
        "AVA" => "Avaric",
        "PAP" => "Papiamento",
        "EWO" => "Ewondo",
        "PAU" => "Palauan",
        "EWE" => "Ewe",
        "PAG" => "Pangasinan",
        "PAM" => "Pampanga",
        "PAN" => "Panjabi; Punjabi",
        "KIR" => "Kirghiz",
        "NIA" => "Nias",
        "KIK" => "Kikuyu; Gikuyu",
        "SYR" => "Syriac",
        "KIN" => "Kinyarwanda",
        "NIU" => "Niuean",
        "EPO" => "Esperanto",
        "JBO" => "Lojban",
        "MIC" => "Mi'kmaq; Micmac",
        "THA" => "Thai",
        "HAI" => "Haida",
        "ELL" => "Greek, Modern (1453-)",
        "ADY" => "Adyghe; Adygei",
        "ELX" => "Elamite",
        "ADA" => "Adangme",
        "GRB" => "Grebo",
        "HAT" => "Haitian; Haitian Creole",
        "HAU" => "Hausa",
        "HAW" => "Hawaiian",
        "BIN" => "Bini",
        "AMH" => "Amharic",
        "BIK" => "Bikol",
        "BIH" => "Bihari",
        "MOS" => "Mossi",
        "MOH" => "Mohawk",
        "MON" => "Mongolian",
        "MOL" => "Moldavian",
        "BIS" => "Bislama",
        "TVL" => "Tuvalu",
        "IJO" => "Ijo",
        "EST" => "Estonian",
        "KMB" => "Kimbundu",
        "UMB" => "Umbundu",
        "TMH" => "Tamashek",
        "FON" => "Fon",
        "HSB" => "Upper Sorbian",
        "RUN" => "Rundi",
        "RUS" => "Russian",
        "PLI" => "Pali",
        "SRD" => "Sardinian",
        "ACH" => "Acoli",
        "NDE" => "Ndebele, North; North Ndebele",
        "DZO" => "Dzongkha",
        "KRU" => "Kurukh",
        "SRR" => "Serer",
        "IDO" => "Ido",
        "SRP" => "Serbian",
        "KRO" => "Kru",
        "KRC" => "Karachay-Balkar",
        "NDS" => "Low German; Low Saxon; German, Low; Saxon, Low",
        "ZUN" => "Zuni",
        "ZUL" => "Zulu",
        "TWI" => "Twi",
        "NSO" => "Northern Sotho, Pedi; Sepedi",
        "SOM" => "Somali",
        "SON" => "Songhai",
        "SOT" => "Sotho, Southern",
        "MKD" => "Macedonian",
        "HER" => "Herero",
        "LOL" => "Mongo",
        "HEB" => "Hebrew",
        "LOZ" => "Lozi",
        "GIL" => "Gilbertese",
        "WAS" => "Washo",
        "WAR" => "Waray",
        "BUL" => "Bulgarian",
        "WAL" => "Walamo",
        "BUA" => "Buriat",
        "BUG" => "Buginese",
        "AZE" => "Azerbaijani",
        "ZHA" => "Zhuang; Chuang",
        "ZHO" => "Chinese",
        "NNO" => "Norwegian Nynorsk; Nynorsk, Norwegian",
        "UIG" => "Uighur; Uyghur",
        "MYV" => "Erzya",
        "INH" => "Ingush",
        "KHM" => "Khmer",
        "MYA" => "Burmese",
        "KHA" => "Khasi",
        "INA" => "Interlingua (International Auxiliary Language Association)",
        "NAH" => "Nahuatl",
        "TIR" => "Tigrinya",
        "NAP" => "Neapolitan",
        "NAV" => "Navajo; Navaho",
        "NAU" => "Nauru",
        "GRN" => "Guarani",
        "TIG" => "Tigre",
        "YOR" => "Yoruba",
        "ILE" => "Interlingue",
        "SQI" => "Albanian"
    );
?>