Changeset 6887
- Timestamp:
- Sep 13, 2010, 7:48:36 PM (14 years ago)
- Location:
- extensions/music_player
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/music_player/lecteur.php
r3561 r6887 4 4 5 5 $m_p = get_plugin_data('music_player'); 6 6 $title="Music Player"; 7 7 ///////////[ interdiction groupe 8 8 global $prefixeTable; … … 121 121 // +-----------------------------------------------------------------------+ 122 122 $conf_lecteur = explode("," , $conf['mp_lecteur']); 123 124 if ($conf_lecteur[10]=='true') 125 { 123 global $template; 124 $r_theme_file=array(); 125 if ($conf_lecteur[10]=='true' and isset($template->smarty->template_dir) ) 126 { 127 126 128 $file = 'lecteur.conf.php'; 127 129 $dir = MP_LOCALEDIT_PATH.'template/style/'; 128 $theme_file = $dir.$user['template'].'/'.$user['theme'].'/'.$file; 129 $template_file = $dir.$user['template'].'/'.$file; 130 131 if (file_exists($theme_file)) 132 { 133 include($theme_file); 134 } 135 elseif (file_exists($template_file)) 136 { 137 include($template_file) ; 138 } 139 else 140 { 141 include_once($conf_lecteur[9]); 130 131 foreach( $template->smarty->template_dir as $style) 132 { 133 $theme_file = explode("/", $style); 134 $pos = count($theme_file) - 2 ; 135 $theme_file = $dir.$theme_file[$pos].'/'.$file; 136 if (file_exists($theme_file)) 137 { 138 $r_theme_file[]=$theme_file; 139 } 140 } 141 142 143 } 144 if (!empty($r_theme_file)) 145 { 146 foreach( $r_theme_file as $style) 147 { 148 include($style); 142 149 } 143 150 } … … 189 196 ) 190 197 ); 191 192 198 $template->set_filename('lecteur', $TPL_FILE); 193 199 -
extensions/music_player/main.inc.php
r6877 r6887 2 2 /* 3 3 Plugin Name: music_player 4 Version: 2.1. 34 Version: 2.1.4 5 5 Description: play music / avoir de la musique 6 6 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=162 -
extensions/music_player/music
- Property svn:ignore
-
old new 1 Copie de The coors 2 The coors 1 3 Violator 2 4 daft_punk
-
- Property svn:ignore
Note: See TracChangeset
for help on using the changeset viewer.