PageRenderTime 22ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 1ms

/_dev/ext/jinzora/jinzora2/style/slicksilver/icons.lib.php

https://github.com/lhl/songclub
PHP | 124 lines | 88 code | 9 blank | 27 comment | 5 complexity | 5c388ccea92bf80381f47aef5569d0e8 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, LGPL-2.1
  1. <?php if (!defined(JZ_SECURE_ACCESS)) die ('Security breach detected.');
  2. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  3. * JINZORA | Web-based Media Streamer
  4. *
  5. * Jinzora is a Web-based media streamer, primarily desgined to stream MP3s
  6. * (but can be used for any media file that can stream from HTTP).
  7. * Jinzora can be integrated into a CMS site, run as a standalone application,
  8. * or integrated into any PHP website. It is released under the GNU GPL.
  9. *
  10. * Jinzora Author:
  11. * Ross Carlson: ross@jasbone.com
  12. * http://www.jinzora.org
  13. * Documentation: http://www.jinzora.org/docs
  14. * Support: http://www.jinzora.org/forum
  15. * Downloads: http://www.jinzora.org/downloads
  16. * License: GNU GPL <http://www.gnu.org/copyleft/gpl.html>
  17. *
  18. * Contributors:
  19. * Please see http://www.jinzora.org/modules.php?op=modload&name=jz_whois&file=index
  20. *
  21. * Code Purpose: This page defines all the different icons for Jinzora
  22. * Created: 9.24.03 by Ross Carlson
  23. *
  24. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  25. // Now let's actually define the icons
  26. if (!isset($image_dir)){
  27. $image_dir = $include_path. 'style/'. $skin. '/';
  28. }
  29. $main_img_dir = $include_path. 'style/images/';
  30. $disabled_dir = $root_dir. '/style/images/';
  31. $img_delete = '<img src="'. $image_dir. 'delete.gif" border=0 alt="'. word("Delete"). '" title="'. word("Delete"). '">';
  32. $img_download = '<img src="'. $image_dir. 'download.gif" border=0 alt="'. word("Download"). '" title="'. word("Download"). '">';
  33. $img_home = '<img src="'. $image_dir. 'home.gif" border=0 alt="'. word("Return Home"). '" title="'. word("Return Home"). '">';
  34. $img_more = '<img src="'. $image_dir. 'more.gif" border=0 alt="'. word("More"). '" title="'. word("More"). '">';
  35. $img_play = '<img src="'. $image_dir. 'play.gif" border=0 alt="'. word("Play"). '" title="'. word("Play"). '">';
  36. $img_tiny_play = '<img src="'. $image_dir. 'tiny-play.gif" border=0 alt="'. word("Play"). '" title="'. word("Play"). '">';
  37. $img_blank = '<img src="'. $image_dir. 'blank.gif" border=0>';
  38. $img_random_play = '<img src="'. $image_dir. 'random.gif" border=0 alt="'. word("Play Random"). '" title="'. word("Play Random"). '">';
  39. $img_move = '<img src="'. $image_dir. 'move.gif" border=0 alt="'. word("Move Item"). '" title="'. word("Move Item"). '">';
  40. $img_up_arrow = '<img src="'. $image_dir. 'up-arrow.gif" border=0 alt="'. word("Up level"). '" title="'. word("Up level"). '">';
  41. $img_playlist = '<img src="'. $image_dir. 'playlist.gif" border=0 alt="'. word("Playlist"). '" title="'. word("Playlist"). '">';
  42. $img_rate = '<img src="'. $image_dir. 'rate.gif" border=0 alt="'. word("Rate"). '" title="'. word("Rate"). '">';
  43. $img_star = '<img src="'. $image_dir. 'star.gif" border=0 >';
  44. $img_half_star = '<img src="'. $image_dir. 'half-star.gif" border=0 >';
  45. $img_discuss = '<img src="'. $image_dir. 'discuss.gif" border=0 alt="'. word("Discuss"). '" title="'. word("Discuss"). '">';
  46. $img_clear = '<img src="'. $image_dir. 'clear.gif" border=0 alt="'. word("Clear"). '" title="'. word("Clear"). '">';
  47. $img_star_half_empty = '<img src="'. $image_dir. 'star-half-empty.gif" border=0 alt="'. word("Rate"). '" title="'. word("Rate"). '">';
  48. $img_star_full_empty = '<img src="'. $image_dir. 'star-full-empty.gif" border=0 alt="'. word("Rate"). '" title="'. word("Rate"). '">';
  49. $img_star_right = '<img src="'. $image_dir. 'star-right.gif" border=0 alt="'. word("Rate"). '" title="'. word("Rate"). '">';
  50. $img_star_half = '<img src="'. $image_dir. 'star-half.gif" border=0 alt="'. word("Rate"). '" title="'. word("Rate"). '">';
  51. $img_star_full = '<img src="'. $image_dir. 'star-full.gif" border=0 alt="'. word("Rate"). '" title="'. word("Rate"). '">';
  52. $img_star_left = '<img src="'. $image_dir. 'star-left.gif" border=0 alt="'. word("Rate"). '" title="'. word("Rate"). '">';
  53. $img_fav_track = '<img src="'. $image_dir. 'rate.gif" border=0 alt="'. word("Add to favorites"). '" title="'. word("Add to favorites"). '">';
  54. $img_lofi = '<img src="'. $image_dir. 'play-lofi.gif" border=0 alt="'. word("Play Lofi"). '" title="'. word("Play Lofi"). '">';
  55. $img_new = '<img src="'. $image_dir. 'new.gif" border=0 alt="'. word("New"). '" title="'. word("New"). '">';
  56. $img_slim_pop = '<img src="'. $image_dir. 'slim-pop.gif" border=0 alt=Slimzora title=Slimzora>';
  57. $img_sm_logo = '<img src="'. $root_dir. '/style/images/powered-by-small.gif" border=0 alt="'. $this_pgm. $version. '" title="'. $this_pgm. $version. '">';
  58. $img_slimzora = '<img src="'. $root_dir. '/style/images/slimzora.gif" border=0 alt="'. $this_pgm. $version. '" title="'. $this_pgm. $version. '">';
  59. $img_email = '<img src="'. $image_dir. 'email.gif" border=0 alt="'. word("Share via email"). '" title="'. word("Share via email"). '">';
  60. $img_add = '<img src="'. $image_dir. 'add.gif" border=0 alt="'. word("Add to"). '" title="'. word("Add to"). '">';
  61. $img_clip = '<img src="'. $image_dir. 'play-clip.gif" border=0 alt="'. word("Play clip"). '" title="'. word("Play clip"). '">';
  62. $img_check = '<img src="'. $image_dir. 'check.gif" border=0 alt="'. word("Check all"). '" title="'. word("Check all"). '">';
  63. $img_check_none = '<img src="'. $image_dir. 'check-none.gif" border=0 alt="'. word("Check none"). '" title="'. word("Check none"). '">';
  64. $img_pause = '<img src="'. $image_dir. 'pause.gif" border=0 alt="'. word("Pause"). '" title="'. word("Pause"). '">';
  65. $img_stop = '<img src="'. $image_dir. 'stop.gif" border=0 alt="'. word("Stop"). '" title="'. word("Stop"). '">';
  66. $img_previous = '<img src="'. $image_dir. 'previous.gif" border=0 alt="'. word("Previous"). '" title="'. word("Previous"). '">';
  67. $img_next = '<img src="'. $image_dir. 'next.gif" border=0 alt="'. word("Next"). '" title="'. word("Next"). '">';
  68. $img_rss = '<img src="'. $image_dir. 'rss.gif" border=0>';
  69. $img_podcast = '<img src="'. $image_dir. 'podcast.gif" border=0 alt="'. word("Subscribe to Podcast"). '" title="'. word("Subscribe to Podcast"). '">';
  70. $img_login = '<img src="'. $image_dir. 'login.gif" border=0 alt="login" title="Login">';
  71. $img_logout = '<img src="'. $image_dir. 'logout.gif" border=0 alt="logout" title="Logout">';
  72. $img_prefs = '<img src="'. $image_dir. 'prefs.gif" border=0 alt="prefs" title="Preferences">';
  73. $img_ht_alpha_listing_artists = '<img src="'. $image_dir. 'ht-alpha_listing_artists.gif" border=0 alt="alphabetical listing (artists)">';
  74. $img_ht_alpha_listing_albums = '<img src="'. $image_dir. 'ht-alpha_listing_albums.gif" border=0 alt="alphabetical listing (albums)">';
  75. $img_ht_browse = '<img src="'. $image_dir. 'ht-browse.gif" border=0 alt="browse">';
  76. $img_ht_genres = '<img src="'. $image_dir. 'ht-genres.gif" border=0 alt="genres">';
  77. $img_ht_random_albums = '<img src="'. $image_dir. 'ht-random_albums.gif" border=0 alt="random albums">';
  78. $img_ht_charts = '<img src="'. $image_dir. 'ht-charts.gif" border=0 alt="charts">';
  79. $img_ht_view_all_art = '<img src="'. $image_dir. 'ht-view_all_art.gif" border=0 alt="view all art" title="View All Art">';
  80. $img_ht_artists = '<img src="'. $image_dir. 'ht-artists.gif" border=0 alt="artists">';
  81. $img_ht_albums = '<img src="'. $image_dir. 'ht-albums.gif" border=0 alt="albums">';
  82. $img_user = '<img src="'. $image_dir. 'user.gif" border=0 alt="'. word("user"). '" title="'. word("Current User"). '">';
  83. // These are the jukebox images
  84. $img_jb_play = '<img src="'. $image_dir. 'jb_play.gif" border=0 alt="'. word("Play"). '" title="'. word("Play"). '">';
  85. $img_jb_pause = '<img src="'. $image_dir. 'jb_pause.gif" border=0 alt="'. word("Pause"). '" title="'. word("Pause"). '">';
  86. $img_jb_stop = '<img src="'. $image_dir. 'jb_stop.gif" border=0 alt="'. word("Stop"). '" title="'. word("Stop"). '">';
  87. $img_jb_previous = '<img src="'. $image_dir. 'jb_previous.gif" border=0 alt="'. word("Previous"). '" title="'. word("Previous"). '">';
  88. $img_jb_next = '<img src="'. $image_dir. 'jb_next.gif" border=0 alt="'. word("Next"). '" title="'. word("Next"). '">';
  89. $img_jb_random_play = '<img src="'. $image_dir. 'jb_random.gif" border=0 alt="'. word("Play Random"). '" title="'. word("Play Random"). '">';
  90. $img_jb_clear = '<img src="'. $image_dir. 'jb_clear.gif" border=0 alt="'. word("Clear"). '" title="'. word("Clear"). '">';
  91. // Set up some raw images:
  92. $raw_img_play = $image_dir.'play.gif';
  93. $raw_img_random_play = $image_dir.'random.gif';
  94. $raw_img_download = $image_dir.'download.gif';
  95. $raw_img_add = $image_dir.'newplaylist.gif';
  96. $raw_img_play_clear = $image_dir.'clear.gif';
  97. $raw_img_new = $image_dir.'new.gif';
  98. // Now let's create the blank icons
  99. if ($jinzora_skin == 'cms-theme'){
  100. $dis_dir = $disabled_dir;
  101. } else {
  102. $dis_dir = $image_dir;
  103. }
  104. $img_add_dis = '<img src="'. $dis_dir. 'add-disabled.gif" border=0 alt="'. word("Add to"). '" title="'. word("Add to"). '">';
  105. $img_delete_dis = '<img src="'. $dis_dir. 'delete-disabled.gif" border=0 alt="'. word("Delete"). '" title="'. word("Delete"). '">';
  106. $img_download_dis = '<img src="'. $dis_dir. 'download-disabled.gif" border=0 alt="'. word("Download"). '" title="'. word("Download"). '">';
  107. $img_more_dis = '<img src="'. $dis_dir. 'more-disabled.gif" border=0 alt="'. word("More"). '" title="'. word("More"). '">';
  108. $img_play_dis = '<img src="'. $dis_dir. 'play-disabled.gif" border=0 alt="'. word("Play"). '" title="'. word("Play"). '">';
  109. $img_random_play_dis = '<img src="'. $dis_dir. 'random-disabled.gif" border=0 alt="'. word("Play Random"). '" title="'. word("Play Random"). '">';
  110. $img_move_dis = '<img src="'. $dis_dir. 'move-disabled.gif" border=0 alt="'. word("Move Item"). '" title="'. word("Move Item"). '">';
  111. $img_up_arrow_dis = '<img src="'. $dis_dir. 'up-arrow-disabled.gif" border=0 alt="'. word("Up level"). '" title="'. word("Up level"). '">';
  112. $img_playlist_dis = '<img src="'. $dis_dir. 'playlist-disabled.gif" border=0 alt="'. word("Playlist"). '" title="'. word("Playlist"). '">';
  113. $img_discuss_dis = '<img src="'. $dis_dir. 'discuss-disabled.gif" border=0 alt="'. word("Discuss"). '" title="'. word("Discuss"). '">';
  114. $img_tiny_play_dis = '<img src="'. $dis_dir. 'tiny-play-disabled.gif" border=0 alt="'. word("Play"). '" title="'. word("Play"). '">';
  115. ?>