Changeset 3561
- Timestamp:
- Jul 10, 2009, 3:19:37 PM (15 years ago)
- Location:
- extensions/music_player
- Files:
-
- 60 added
- 2 deleted
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/music_player/admin/admin.php
r3559 r3561 458 458 ////////[ liste des styles globaux ////////// 459 459 //////////////////////////////////////////////// 460 /*$fichier = array();461 $dir = opendir('./plugins/music_player/template/style'); //ouvre le repertoire courant désigné par la variable462 while(false!==($file = readdir($dir))){ //on lit tout et on récupere tout les dossiers dans $folder463 464 if(!in_array($file, array('.','..'))){ //on eleve le parent et le courant '. et ..'465 if(is_file($file)) { continue; }466 $page = $file; //sort l'extension du fichier467 $page = explode('.', $page);468 $nb = count($page);469 $nom_fichier = $page[0];470 for ($i = 1; $i < $nb-1; $i++){471 $nom_fichier .= '.'.$page[$i];472 }473 if(isset($page[1])){474 $ext_fichier = $page[$nb-1];475 }476 else {477 $ext_fichier = '';478 }479 480 if($ext_fichier == 'css') { //On ne prend que les css481 array_push($fichier, $file);482 }483 }//fin if in array484 }//while485 natcasesort($fichier); //la fonction natcasesort( ) est la fonction de tri standard sauf qu'elle ignore la casse486 487 */488 460 489 461 function recursive_readdir ($dir) { -
extensions/music_player/lecteur.php
r3560 r3561 176 176 'H_TT' => $conf_lecteur[0], 177 177 'L_TT' => $conf_lecteur[1], 178 // 'L_TABLE' => $conf_lecteur[1]+125, 178 179 'H' => $conf_lecteur[2], 179 180 'L' => $conf_lecteur[4], -
extensions/music_player/maintain.inc.php
r3559 r3561 121 121 $nbr=count($conf); 122 122 123 if ($nbr!=11 )123 if ($nbr!=11 or $conf[9]=='lecteur.css')// pour update depuis 2.1.0 124 124 { 125 125 pwg_query('DELETE FROM '.CONFIG_TABLE.' WHERE param IN (\'mp_lecteur\')'); -
extensions/music_player/template/style/default.css
r3559 r3561 47 47 border:none; 48 48 } 49 /* backgrounds */ 50 #autre_content, #content, .content, #the_page 51 { 52 background:none!important; 53 } -
extensions/music_player/template/style/floPure/autumn/lecteur.css
r3507 r3561 11 11 width:100%; 12 12 border:none; 13 min-height:inherit; 13 14 } 14 15 #the_page … … 44 45 border:none; 45 46 } 47 48 49 50 51 /* _________________________________ */ 52 body, #autre_content, #the_page 53 { 54 background:none!important; 55 } 56 #table_content, #section_bottom, #section_bottom_left, #section_bottom_right, #section_in, #section_right, #section_left, #section_up, #section_up_left, #section_up_right { 57 background:none!important; 58 } 59 60 tml, body, div, span, applet, object, iframe, 61 h1, h2, h3, h4, h5, h6, p, blockquote, pre, 62 a, abbr, acronym, address, big, cite, code, 63 del, dfn, em, font, img, ins, kbd, q, s, samp, 64 small, strike, strong, sub, sup, tt, var, 65 b, u, i, center, 66 dl, dt, dd, ol, ul, li, 67 fieldset, form, label, legend, 68 table, caption, tbody, tfoot, thead, tr, th, td { 69 margin: 0; 70 padding: 0; 71 border: 0; 72 outline: 0; 73 font-size: 100%; 74 vertical-align: baseline; 75 background: transparent; 76 } 77 body { 78 line-height: 1; 79 } 80 ol, ul { 81 list-style: none; 82 } 83 blockquote, q { 84 quotes: none; 85 } 86 87 /* remember to define focus styles! */ 88 :focus { 89 outline: 0; 90 } 91 92 /* remember to highlight inserts somehow! */ 93 ins { 94 text-decoration: none; 95 } 96 del { 97 text-decoration: line-through; 98 } 99 100 /* tables still need 'cellspacing="0"' in the markup */ 101 table { 102 border-collapse: collapse; 103 border-spacing: 0; 104 } 105 106 107 /* _________________________________ */ 108 109 110 111 112 113 114 115 116 117 118 /* text color */ 119 BODY 120 { 121 color:#696969; 122 font-family:"Lucida Grande",Tahoma,Arial,Verdana,sans-serif; 123 } 124 /* links */ 125 A, INPUT.rateButton { 126 color: #005e89; 127 background: transparent; 128 } 129 130 A:hover, INPUT.rateButton:hover { 131 font-weight:bold; 132 color:#005E89; 133 } 134 135 /* positionnement */ 136 #menubar DL, #menubar DT, #the_page, BODY { 137 margin: 0px; 138 padding: 0px; 139 } 140 141 /* backgrounds */ 142 BODY { 143 background-color: #f5f5f5; 144 } 145 146 .header_notes{ 147 background-color: #CAD8E1; 148 } 149 150 /* contenu ************/ 151 152 BODY#theAboutPage #content{ 153 width:800px ; 154 margin-left: auto; 155 margin-right: auto; 156 } 157 .titrePage H2 { 158 border-bottom:1px dashed #BBBBBB; 159 color:#222222; 160 font-weight:bold; 161 } 162 163 #autre_content { 164 padding-bottom:2em; 165 padding-top:2em; 166 font-size:1.5em; 167 color:#000000; 168 169 } 170 #content, .content { 171 background-color: #fff!important; 172 border-color:#fff #DEDEDE #DEDEDE #fff!important; 173 border-style:none solid solid none!important; 174 border-width:medium 1px 1px medium!important; 175 background-image: url(images/fadetree.png)!important; 176 background-repeat:no-repeat!important; 177 background-position:bottom left!important; 178 } 179 180 181 182 /*** catégories **********/ 183 184 .titrePage h2 { 185 margin-bottom: 20px; 186 } 187 188 /* others */ 189 .pleaseNote { 190 background-color: #9c9c9c; 191 color: #ffff99; 192 padding: 1ex; 193 font-weight: bold; 194 } 195 #copyright { 196 width:800px; 197 height:20px; 198 background-image: url(images/footer.jpg); 199 background-position:bottom; 200 background-repeat:no-repeat; 201 padding-top:180px; 202 margin: 0px; 203 color:#FFFFFF; 204 float:right; 205 } 206 #copyright A, #copyright A:hover { 207 color:#f5f5f5; 208 } -
extensions/music_player/template/style/floPure/clear_blue/lecteur.css
r3508 r3561 45 45 } 46 46 /* backgrounds */ 47 #autre_content, #content, .content 47 BODY, #autre_content, #content, .content, #the_page 48 48 { 49 background:none ;49 background:none!important; 50 50 } 51 51 #section_up_right{ 52 52 background-image: url(images/content_top_right.jpg); 53 53 background-repeat:no-repeat; 54 background-position:bottom ;54 background-position:bottom left; 55 55 width:22px; 56 56 height:14px; … … 58 58 #section_up_left{ 59 59 background-image: url(images/content_top_left.jpg); 60 background-position:bottom ;60 background-position:bottom right; 61 61 background-repeat:no-repeat; 62 62 width:22px; … … 79 79 #section_bottom_right{ 80 80 background-image: url(images/content_bottom_right.jpg); 81 background-position:top ;81 background-position:top left; 82 82 background-repeat:no-repeat; 83 83 width:22px; … … 86 86 #section_bottom_left{ 87 87 background-image: url(images/content_bottom_left.jpg); 88 background-position:top ;88 background-position:top right; 89 89 background-repeat:no-repeat; 90 90 width:22px; … … 97 97 height:14px; 98 98 } 99 /*_____________*/ 99 100 101 BODY 102 { 103 color:#696969; 104 font-family:"Lucida Grande",Tahoma,Arial,Verdana,sans-serif; 105 } 106 /* links */ 107 A, INPUT.rateButton { 108 color: #005e89; 109 background: transparent; 110 } 111 112 A:hover, INPUT.rateButton:hover { 113 color: #858460; 114 } 115 -
extensions/music_player/template/style/floPure/green_nature/lecteur.css
r3508 r3561 44 44 border:none; 45 45 } 46 47 BODY, H1, H2, H3, DT, 48 INPUT.rateButtonSelected { 49 color:#B0CA00; 50 } 51 /* links */ 52 A, INPUT.rateButton { 53 color: #B0CA00; 54 background: transparent; 55 } 56 57 A:hover, INPUT.rateButton:hover { 58 color: #D7DC76; 59 } 60 46 61 /* backgrounds */ 47 #autre_content, #content, .content 62 BODY, #autre_content, #content, .content, #the_page 48 63 { 49 background:none ;64 background:none!important; 50 65 } 66 /* backgrounds */ 67 BODY { 68 background-color: #aacb87!important; 69 } 70 71 #section_in, #section_right, #imageToolBar, #admin_content { 72 background-color: #76964B!important; 73 } 74 75 76 77 51 78 #section_up_right{ 52 79 background-image: url(images/content_top_right.jpg); 53 80 background-repeat:no-repeat; 54 background-position:bottom ;81 background-position:bottom left; 55 82 width:22px; 56 83 height:14px; … … 58 85 #section_up_left{ 59 86 background-image: url(images/content_top_left.jpg); 60 background-position:bottom ;87 background-position:bottom right; 61 88 background-repeat:no-repeat; 62 89 width:22px; … … 79 106 #section_bottom_right{ 80 107 background-image: url(images/content_bottom_right.jpg); 81 background-position:top ;108 background-position:top left; 82 109 background-repeat:no-repeat; 83 110 width:22px; … … 86 113 #section_bottom_left{ 87 114 background-image: url(images/content_bottom_left.jpg); 88 background-position:top ;115 background-position:top right; 89 116 background-repeat:no-repeat; 90 117 width:22px; -
extensions/music_player/template/style/floPure/grey_light/lecteur.conf.php
r3560 r3561 1 1 <?php 2 $BACK_COLOR='0x 000000';2 $BACK_COLOR='0x474747'; 3 3 $FRONT_COLOR='0xffffff'; 4 4 $LIGHT_COLOR='0xe8e3dc'; -
extensions/music_player/template/style/floPure/grey_light/lecteur.css
r3508 r3561 1 #autre_content 2 { 3 width:100%; 4 padding:0; 5 margin:0; 1 #autre_content { 2 width:100%; 3 padding:0; 4 margin:0; 6 5 } 7 #content 8 { 9 margin-left: auto; 10 margin-bottom:1em; 11 width:100%; 12 border:none; 13 } 14 #the_page 15 { 16 width:100%; 17 border:none; 18 } 6 #content { 7 margin-left: auto; 8 margin-bottom:1em; 9 width:100%; 10 border:none; 11 } 12 #the_page { 13 width:100%; 14 border:none; 15 } 19 16 body { 20 min-width: inherit;21 width:100%;17 min-width: inherit; 18 width:100%; 22 19 } 23 #cache 24 { 25 padding:5px 20 #cache { 21 padding:5px 26 22 } 27 #close_button 28 { 23 #close_button { 29 24 display:block; 30 25 float:right; 31 26 } 32 #table_content 33 { 27 #table_content { 34 28 padding:15px; 35 29 } 36 #section_up 37 { 30 #section_up { 38 31 padding-top:5px; 39 32 text-align:right; 40 33 } 41 #section_up A 42 { 34 #section_up A { 43 35 text-decoration:none; 44 36 border:none; 45 37 } 46 38 #copyright { 47 margin-left:5%; 48 margin-right:5%; 39 margin-left:5%; 40 margin-right:5%; 41 } 42 BODY, H1, H3, DT, 43 INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ { 44 color:#e0e0e0; 45 } 46 /* links */ 47 A, INPUT.rateButton { 48 color: #FFFFFF; 49 49 } 50 50 51 A:hover { 52 color: #CCCCCC; 53 } 51 54 /* backgrounds */ 52 #autre_content, #content, .content 53 { 54 background:none; 55 BODY, #autre_content, #content, .content, #the_page { 56 background:none!important; 55 57 } 58 /* backgrounds */ 59 BODY, #content { 60 background-color: #414141!important; 61 } 62 63 /* backgrounds menu */ 64 65 #section_up_right { 66 background-image: url(images/c2_haut_droit.jpg); 67 background-position:bottom left; 68 background-repeat:no-repeat; 69 width:15px; 70 height:32px; 71 } 72 #section_up_left { 73 background-image: url(images/c2_haut_gauche.jpg); 74 background-position:bottom right; 75 background-repeat:no-repeat; 76 width:15px; 77 height:32px; 78 } 79 #section_up { 80 background-image: url(images/c2_haut_milieu.jpg); 81 background-position:bottom; 82 background-repeat:repeat-x; 83 height:32px; 84 } 85 86 #section_in { 87 background-color:#676767; 88 } 89 #section_left { 90 background-image: url(images/c2_milieu_gauche.jpg); 91 background-position:right; 92 background-repeat:repeat-y; 93 width:15px; 94 } 95 #section_right { 96 background-image: url(images/c2_milieu_droit.jpg); 97 background-position:left; 98 background-repeat:repeat-y; 99 width:15px; 100 background-color:transparent; 101 } 102 #section_bottom_right { 103 background-image: url(images/c2_bas_droit.jpg); 104 background-position:top left; 105 background-repeat:no-repeat; 106 width:15px; 107 height:15px; 108 } 109 #section_bottom_left { 110 background-image: url(images/c2_bas_gauche.jpg); 111 background-position:top right; 112 background-repeat:no-repeat; 113 width:15px; 114 height:15px; 115 } 116 #section_bottom { 117 background-image: url(images/c2_bas_milieu.jpg); 118 background-position:top; 119 background-repeat:repeat-x; 120 height:15px; 121 } -
extensions/music_player/template/style/floPure/grey_plastic/lecteur.conf.php
r3560 r3561 1 1 <?php 2 $BACK_COLOR='0x 000000';2 $BACK_COLOR='0x474747'; 3 3 $FRONT_COLOR='0xffffff'; 4 4 $LIGHT_COLOR='0xe8e3dc'; -
extensions/music_player/template/style/floPure/grey_plastic/lecteur.css
r3559 r3561 1 #autre_content 2 { 3 width:100%; 4 padding:0; 5 margin:0; 1 #autre_content { 2 width:100%; 3 padding:0; 4 margin:0; 6 5 } 7 #content 8 { 9 margin-left: auto; 10 margin-bottom:1em; 11 width:100%; 12 border:none; 13 } 14 #the_page 15 { 16 width:100%; 17 border:none; 18 } 6 #content { 7 margin-left: auto; 8 margin-bottom:1em; 9 width:100%; 10 border:none; 11 } 12 #the_page { 13 width:100%; 14 border:none; 15 } 19 16 body { 20 min-width: inherit;21 width:100%;17 min-width: inherit; 18 width:100%; 22 19 } 23 #cache 24 { 25 padding:5px 20 #cache { 21 padding:5px 26 22 } 27 #close_button 28 { 23 #close_button { 29 24 display:block; 30 25 float:right; 31 26 } 32 #table_content 33 { 27 #table_content { 34 28 padding:15px; 35 29 } 36 #section_up 37 { 30 #section_up { 38 31 padding-top:5px; 39 32 text-align:right; 40 33 } 41 #section_up A 42 { 34 #section_up A { 43 35 text-decoration:none; 44 36 border:none; 45 37 } 46 38 #copyright { 47 margin-left:5%; 48 margin-right:5%; 39 margin-left:5%; 40 margin-right:5%; 41 } 42 BODY, H1, H3, DT, 43 INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ { 44 color:#e0e0e0; 45 } 46 /* links */ 47 A, INPUT.rateButton { 48 color: #FFFFFF; 49 49 } 50 50 51 A:hover { 52 color: #CCCCCC; 53 } 51 54 /* backgrounds */ 52 #autre_content, #content, .content 53 { 54 background:none; 55 BODY, #autre_content, #content, .content, #the_page { 56 background:none!important; 55 57 } 58 /* backgrounds */ 59 BODY, #content { 60 background-color: #414141!important; 61 } 62 63 /* backgrounds menu */ 64 65 #section_up_right { 66 background-image: url(images/c2_haut_droit.jpg); 67 background-position:bottom left; 68 background-repeat:no-repeat; 69 width:15px; 70 height:32px; 71 } 72 #section_up_left { 73 background-image: url(images/c2_haut_gauche.jpg); 74 background-position:bottom right; 75 background-repeat:no-repeat; 76 width:15px; 77 height:32px; 78 } 79 #section_up { 80 background-image: url(images/c2_haut_milieu.jpg); 81 background-position:bottom; 82 background-repeat:repeat-x; 83 height:32px; 84 } 85 86 #section_in { 87 background-color:#676767; 88 } 89 #section_left { 90 background-image: url(images/c2_milieu_gauche.jpg); 91 background-position:right; 92 background-repeat:repeat-y; 93 width:15px; 94 } 95 #section_right { 96 background-image: url(images/c2_milieu_droit.jpg); 97 background-position:left; 98 background-repeat:repeat-y; 99 width:15px; 100 background-color:transparent; 101 } 102 #section_bottom_right { 103 background-image: url(images/c2_bas_droit.jpg); 104 background-position:top left; 105 background-repeat:no-repeat; 106 width:15px; 107 height:15px; 108 } 109 #section_bottom_left { 110 background-image: url(images/c2_bas_gauche.jpg); 111 background-position:top right; 112 background-repeat:no-repeat; 113 width:15px; 114 height:15px; 115 } 116 #section_bottom { 117 background-image: url(images/c2_bas_milieu.jpg); 118 background-position:top; 119 background-repeat:repeat-x; 120 height:15px; 121 } -
extensions/music_player/template/style/floPure/sky/lecteur.conf.php
r3560 r3561 3 3 $FRONT_COLOR='0x005E89'; 4 4 $LIGHT_COLOR='0x005E89'; 5 $STYLE_FILE='template/style/ default.css';5 $STYLE_FILE='template/style/floPure/sky/lecteur.css'; 6 6 $TPL_FILE=MP_LOCALEDIT_PATH.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/floPure/tr_clear_blue/lecteur.css
r3508 r3561 44 44 border:none; 45 45 } 46 47 BODY 48 { 49 color:#696969; 50 font-family:"Lucida Grande",Tahoma,Arial,Verdana,sans-serif; 51 } 52 /* links */ 53 A, INPUT.rateButton { 54 color: #005e89; 55 background: transparent; 56 } 57 58 A:hover, INPUT.rateButton:hover { 59 color: #858460; 60 } 61 62 63 46 64 /* backgrounds */ 47 #autre_content, #content, .content 48 { 49 background:none; 65 BODY, #autre_content, #content, .content, #the_page { 66 background:none!important; 50 67 } 68 /* backgrounds */ 69 BODY { 70 background-image: url(images/background6.jpg)!important;/* aussi/also eau_001.jpg */ 71 background-position:center; 72 background-repeat:repeat-y; 73 background-color:#b4e2ef!important; 74 } 75 51 76 #section_up_right{ 52 77 background-image: url(images/content_top_right.png); -
extensions/music_player/template/style/floPure/tr_green_nature/lecteur.conf.php
r3560 r3561 3 3 $FRONT_COLOR='0xffffff'; 4 4 $LIGHT_COLOR='0xedf2f2'; 5 $STYLE_FILE='template/style/floPure/ tr_green_nature/lecteur.css';5 $STYLE_FILE='template/style/floPure/green_nature/lecteur.css'; 6 6 $TPL_FILE=MP_LOCALEDIT_PATH.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/my_phone/my_phone.css
r3559 r3561 23 23 padding:0px; 24 24 } 25 A {25 #cache A, #montre A { 26 26 color:#FFF; 27 27 display:block; 28 28 border:none; 29 width: auto;29 width:200px; 30 30 padding:3px; 31 max-width:400px; 31 32 } 32 A:hover {33 #cache A:hover, #montre A:hover { 33 34 color:#000; 34 35 border:none; 35 36 background-color:#CCC; 36 }37 #cache38 {39 padding:5px40 37 } 41 38 #cache LI … … 60 57 font:"Palatino Linotype", "Book Antiqua", Palatino, serif; 61 58 border:none; 59 width:auto; 62 60 } 63 61 … … 70 68 { 71 69 margin:auto; 70 max-width:500px; 71 width:100%; 72 border:0; 73 padding:0; 74 margin:0; 72 75 } 73 76 #section_up -
extensions/music_player/template/style/my_phone/my_phone.tpl
r3559 r3561 92 92 <tr> 93 93 <td id="section_bottom_left"></td> 94 <td id="section_bottom" ><a href="http://manicho.deviantart.com/" title="Copyright Manicho" rel="copyright">.png by Manicho</a></td>94 <td id="section_bottom" ><a href="http://manicho.deviantart.com/" id="mp_copyright" title="Copyright Manicho" rel="copyright">.png by Manicho</a></td> 95 95 <td id="section_bottom_right" ></td> 96 96 </tr> -
extensions/music_player/template/style/yoga/Sylvia/lecteur.conf.php
r3560 r3561 3 3 $FRONT_COLOR='0xFF7700'; 4 4 $LIGHT_COLOR='0xfb3558'; 5 $STYLE_FILE='template/style/yoga/Sylvia/ default.css';5 $STYLE_FILE='template/style/yoga/Sylvia/lecteur.css'; 6 6 $TPL_FILE=MP_LOCALEDIT_PATH.'template/style/default.tpl'; 7 7 ?> -
extensions/music_player/template/style/yoga/Sylvia/lecteur.css
r3542 r3561 1 1 #autre_content 2 2 { 3 width:100%; 4 padding:0; 5 margin:0; 6 text-align:left; 7 } 3 width:100%; 4 padding:0; 5 margin:0; 6 } 8 7 #content 9 8 { 10 margin-left: auto; 11 margin-bottom:1em; 12 width:100%; 13 border:none; 14 min-height:inherit; 9 margin-left: auto; 10 margin-bottom:1em; 11 width:100%; 12 border:none; 15 13 } 16 14 #the_page 17 15 { 18 19 20 }16 width:100%; 17 border:none; 18 } 21 19 body { 22 min-width: inherit; 23 width:100%; 24 padding:0px; 20 min-width: inherit; 21 width:100%; 25 22 } 26 23 #cache 27 24 { 28 25 padding:5px 29 26 } 30 27 #close_button … … 36 33 { 37 34 padding:15px; 38 margin:auto;39 35 } 40 36 #section_up … … 48 44 border:none; 49 45 } 46 /* backgrounds */ 47 #autre_content, #content, .content, #the_page 48 { 49 background:none!important; 50 }
Note: See TracChangeset
for help on using the changeset viewer.