Changeset 3561


Ignore:
Timestamp:
Jul 10, 2009, 3:19:37 PM (15 years ago)
Author:
flop25
Message:

-all floPure/*/*.conf.php are independant and can ecrase style of user
-many test have been made !!
=> ready for 2.1.1 [traduction always needed]

Location:
extensions/music_player
Files:
60 added
2 deleted
18 edited

Legend:

Unmodified
Added
Removed
  • extensions/music_player/admin/admin.php

    r3559 r3561  
    458458////////[ liste des styles globaux //////////
    459459////////////////////////////////////////////////
    460         /*$fichier = array();
    461         $dir = opendir('./plugins/music_player/template/style'); //ouvre le repertoire courant désigné par la variable
    462      while(false!==($file = readdir($dir))){ //on lit tout et on récupere tout les dossiers dans $folder
    463    
    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 fichier
    467       $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 css
    481        array_push($fichier, $file);
    482       }
    483          }//fin if in array
    484      }//while
    485     natcasesort($fichier); //la fonction natcasesort( ) est la fonction de tri standard sauf qu'elle ignore la casse
    486    
    487         */
    488460
    489461function recursive_readdir ($dir) {
  • extensions/music_player/lecteur.php

    r3560 r3561  
    176176      'H_TT' => $conf_lecteur[0],
    177177      'L_TT' => $conf_lecteur[1],
     178//      'L_TABLE' => $conf_lecteur[1]+125,
    178179      'H' => $conf_lecteur[2],
    179180      'L' => $conf_lecteur[4],
  • extensions/music_player/maintain.inc.php

    r3559 r3561  
    121121   $nbr=count($conf);
    122122   
    123      if ($nbr!=11)
     123     if ($nbr!=11 or $conf[9]=='lecteur.css')// pour update depuis 2.1.0
    124124     {
    125125      pwg_query('DELETE FROM '.CONFIG_TABLE.' WHERE param IN (\'mp_lecteur\')');
  • extensions/music_player/template/style/default.css

    r3559 r3561  
    4747        border:none;
    4848}
     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  
    1111width:100%;
    1212border:none;
     13min-height:inherit;
    1314  }
    1415#the_page
     
    4445        border:none;
    4546}
     47
     48
     49
     50
     51/* _________________________________ */
     52body, #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
     60tml, body, div, span, applet, object, iframe,
     61h1, h2, h3, h4, h5, h6, p, blockquote, pre,
     62a, abbr, acronym, address, big, cite, code,
     63del, dfn, em, font, img, ins, kbd, q, s, samp,
     64small, strike, strong, sub, sup, tt, var,
     65b, u, i, center,
     66dl, dt, dd, ol, ul, li,
     67fieldset, form, label, legend,
     68table, 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}
     77body {
     78        line-height: 1;
     79}
     80ol, ul {
     81        list-style: none;
     82}
     83blockquote, 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! */
     93ins {
     94        text-decoration: none;
     95}
     96del {
     97        text-decoration: line-through;
     98}
     99
     100/* tables still need 'cellspacing="0"' in the markup */
     101table {
     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 */
     119BODY
     120{
     121color:#696969;
     122font-family:"Lucida Grande",Tahoma,Arial,Verdana,sans-serif;
     123}
     124/* links */
     125A, INPUT.rateButton {
     126    color: #005e89;
     127    background: transparent;
     128}
     129
     130A:hover, INPUT.rateButton:hover {
     131font-weight:bold;
     132color:#005E89;
     133}
     134
     135/* positionnement */
     136#menubar DL, #menubar DT, #the_page, BODY {
     137        margin: 0px;
     138        padding: 0px;
     139}
     140
     141/* backgrounds */
     142BODY {
     143  background-color: #f5f5f5;   
     144}
     145
     146.header_notes{
     147  background-color: #CAD8E1;
     148}
     149
     150/*       contenu  ************/
     151
     152BODY#theAboutPage #content{
     153width:800px ;
     154margin-left: auto;
     155margin-right: auto;
     156}
     157.titrePage H2 {
     158border-bottom:1px dashed #BBBBBB;
     159color:#222222;
     160font-weight:bold;
     161}
     162
     163#autre_content {
     164padding-bottom:2em;
     165padding-top:2em;
     166font-size:1.5em;
     167color:#000000;
     168
     169}
     170#content, .content {
     171  background-color: #fff!important;
     172border-color:#fff #DEDEDE #DEDEDE #fff!important;
     173border-style:none solid solid none!important;
     174border-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  
    4545}
    4646/* backgrounds */
    47 #autre_content, #content, .content
     47BODY, #autre_content, #content, .content, #the_page
    4848{
    49         background:none;
     49        background:none!important;
    5050}
    5151#section_up_right{
    5252 background-image: url(images/content_top_right.jpg);
    5353 background-repeat:no-repeat;
    54  background-position:bottom;
     54 background-position:bottom left;
    5555 width:22px;
    5656 height:14px;
     
    5858#section_up_left{
    5959 background-image: url(images/content_top_left.jpg);
    60   background-position:bottom;
     60  background-position:bottom right;
    6161  background-repeat:no-repeat;
    6262 width:22px;
     
    7979#section_bottom_right{
    8080 background-image: url(images/content_bottom_right.jpg);
    81  background-position:top;
     81 background-position:top left;
    8282 background-repeat:no-repeat;
    8383 width:22px;
     
    8686#section_bottom_left{
    8787 background-image: url(images/content_bottom_left.jpg);
    88  background-position:top;
     88 background-position:top right;
    8989 background-repeat:no-repeat;
    9090 width:22px;
     
    9797  height:14px;
    9898}
     99/*_____________*/
    99100
     101BODY
     102{
     103color:#696969;
     104font-family:"Lucida Grande",Tahoma,Arial,Verdana,sans-serif;
     105}
     106/* links */
     107A, INPUT.rateButton {
     108    color: #005e89;
     109    background: transparent;
     110}
     111
     112A:hover, INPUT.rateButton:hover {
     113    color: #858460;
     114}
     115
  • extensions/music_player/template/style/floPure/green_nature/lecteur.css

    r3508 r3561  
    4444        border:none;
    4545}
     46
     47BODY, H1, H2, H3, DT,
     48INPUT.rateButtonSelected  {
     49  color:#B0CA00;
     50}
     51/* links */
     52A, INPUT.rateButton {
     53    color: #B0CA00;
     54    background: transparent;
     55}
     56
     57A:hover, INPUT.rateButton:hover {
     58    color: #D7DC76;
     59}
     60
    4661/* backgrounds */
    47 #autre_content, #content, .content
     62BODY, #autre_content, #content, .content, #the_page
    4863{
    49         background:none;
     64        background:none!important;
    5065}
     66/* backgrounds */
     67BODY {
     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
    5178#section_up_right{
    5279 background-image: url(images/content_top_right.jpg);
    5380 background-repeat:no-repeat;
    54  background-position:bottom;
     81 background-position:bottom left;
    5582 width:22px;
    5683 height:14px;
     
    5885#section_up_left{
    5986 background-image: url(images/content_top_left.jpg);
    60   background-position:bottom;
     87  background-position:bottom right;
    6188  background-repeat:no-repeat;
    6289 width:22px;
     
    79106#section_bottom_right{
    80107 background-image: url(images/content_bottom_right.jpg);
    81  background-position:top;
     108 background-position:top left;
    82109 background-repeat:no-repeat;
    83110 width:22px;
     
    86113#section_bottom_left{
    87114 background-image: url(images/content_bottom_left.jpg);
    88  background-position:top;
     115 background-position:top right;
    89116 background-repeat:no-repeat;
    90117 width:22px;
  • extensions/music_player/template/style/floPure/grey_light/lecteur.conf.php

    r3560 r3561  
    11<?php
    2 $BACK_COLOR='0x000000';
     2$BACK_COLOR='0x474747';
    33$FRONT_COLOR='0xffffff';
    44$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;
    65}
    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}
    1916body {
    20 min-width: inherit;
    21 width:100%;
     17        min-width: inherit;
     18        width:100%;
    2219}
    23 #cache
    24 {
    25 padding:5px
     20#cache {
     21        padding:5px
    2622}
    27 #close_button
    28 {
     23#close_button {
    2924        display:block;
    3025        float:right;
    3126}
    32 #table_content
    33 {
     27#table_content {
    3428        padding:15px;
    3529}
    36 #section_up
    37 {
     30#section_up {
    3831        padding-top:5px;
    3932        text-align:right;
    4033}
    41 #section_up A
    42 {
     34#section_up A {
    4335        text-decoration:none;
    4436        border:none;
    4537}
    4638#copyright {
    47 margin-left:5%;
    48 margin-right:5%;
     39        margin-left:5%;
     40        margin-right:5%;
     41}
     42BODY, H1, H3, DT,
     43INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ {
     44  color:#e0e0e0;
     45}
     46/* links */
     47A, INPUT.rateButton {
     48  color: #FFFFFF;
    4949}
    5050
     51A:hover {
     52  color: #CCCCCC;
     53}
    5154/* backgrounds */
    52 #autre_content, #content, .content
    53 {
    54         background:none;
     55BODY, #autre_content, #content, .content, #the_page {
     56        background:none!important;
    5557}
     58/* backgrounds */
     59BODY, #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  
    11<?php
    2 $BACK_COLOR='0x000000';
     2$BACK_COLOR='0x474747';
    33$FRONT_COLOR='0xffffff';
    44$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;
    65}
    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}
    1916body {
    20 min-width: inherit;
    21 width:100%;
     17        min-width: inherit;
     18        width:100%;
    2219}
    23 #cache
    24 {
    25 padding:5px
     20#cache {
     21        padding:5px
    2622}
    27 #close_button
    28 {
     23#close_button {
    2924        display:block;
    3025        float:right;
    3126}
    32 #table_content
    33 {
     27#table_content {
    3428        padding:15px;
    3529}
    36 #section_up
    37 {
     30#section_up {
    3831        padding-top:5px;
    3932        text-align:right;
    4033}
    41 #section_up A
    42 {
     34#section_up A {
    4335        text-decoration:none;
    4436        border:none;
    4537}
    4638#copyright {
    47 margin-left:5%;
    48 margin-right:5%;
     39        margin-left:5%;
     40        margin-right:5%;
     41}
     42BODY, H1, H3, DT,
     43INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ {
     44  color:#e0e0e0;
     45}
     46/* links */
     47A, INPUT.rateButton {
     48  color: #FFFFFF;
    4949}
    5050
     51A:hover {
     52  color: #CCCCCC;
     53}
    5154/* backgrounds */
    52 #autre_content, #content, .content
    53 {
    54         background:none;
     55BODY, #autre_content, #content, .content, #the_page {
     56        background:none!important;
    5557}
     58/* backgrounds */
     59BODY, #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  
    33$FRONT_COLOR='0x005E89';
    44$LIGHT_COLOR='0x005E89';
    5 $STYLE_FILE='template/style/default.css';
     5$STYLE_FILE='template/style/floPure/sky/lecteur.css';
    66$TPL_FILE=MP_LOCALEDIT_PATH.'template/style/default.tpl';
    77?>
  • extensions/music_player/template/style/floPure/tr_clear_blue/lecteur.css

    r3508 r3561  
    4444        border:none;
    4545}
     46
     47BODY
     48{
     49color:#696969;
     50font-family:"Lucida Grande",Tahoma,Arial,Verdana,sans-serif;
     51}
     52/* links */
     53A, INPUT.rateButton {
     54    color: #005e89;
     55    background: transparent;
     56}
     57
     58A:hover, INPUT.rateButton:hover {
     59    color: #858460;
     60}
     61
     62
     63
    4664/* backgrounds */
    47 #autre_content, #content, .content
    48 {
    49         background:none;
     65BODY, #autre_content, #content, .content, #the_page {
     66        background:none!important;
    5067}
     68/* backgrounds */
     69BODY {
     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
    5176#section_up_right{
    5277 background-image: url(images/content_top_right.png);
  • extensions/music_player/template/style/floPure/tr_green_nature/lecteur.conf.php

    r3560 r3561  
    33$FRONT_COLOR='0xffffff';
    44$LIGHT_COLOR='0xedf2f2';
    5 $STYLE_FILE='template/style/floPure/tr_green_nature/lecteur.css';
     5$STYLE_FILE='template/style/floPure/green_nature/lecteur.css';
    66$TPL_FILE=MP_LOCALEDIT_PATH.'template/style/default.tpl';
    77?>
  • extensions/music_player/template/style/my_phone/my_phone.css

    r3559 r3561  
    2323        padding:0px;
    2424}
    25 A {
     25#cache A, #montre A {
    2626        color:#FFF;
    2727        display:block;
    2828        border:none;
    29         width:auto;
     29        width:200px;
    3030        padding:3px;
     31        max-width:400px;
    3132}
    32 A:hover {
     33#cache A:hover, #montre A:hover {
    3334        color:#000;
    3435        border:none;
    3536        background-color:#CCC;
    36 }
    37 #cache
    38 {
    39         padding:5px
    4037}
    4138#cache LI
     
    6057        font:"Palatino Linotype", "Book Antiqua", Palatino, serif;
    6158        border:none;
     59        width:auto;
    6260}
    6361
     
    7068{
    7169        margin:auto;
     70        max-width:500px;
     71        width:100%;
     72border:0;
     73padding:0;
     74margin:0;
    7275}
    7376#section_up
  • extensions/music_player/template/style/my_phone/my_phone.tpl

    r3559 r3561  
    9292    <tr>
    9393      <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>
    9595      <td id="section_bottom_right" ></td>
    9696    </tr>
  • extensions/music_player/template/style/yoga/Sylvia/lecteur.conf.php

    r3560 r3561  
    33$FRONT_COLOR='0xFF7700';
    44$LIGHT_COLOR='0xfb3558';
    5 $STYLE_FILE='template/style/yoga/Sylvia/default.css';
     5$STYLE_FILE='template/style/yoga/Sylvia/lecteur.css';
    66$TPL_FILE=MP_LOCALEDIT_PATH.'template/style/default.tpl';
    77?>
  • extensions/music_player/template/style/yoga/Sylvia/lecteur.css

    r3542 r3561  
    11#autre_content
    22{
    3         width:100%;
    4         padding:0;
    5         margin:0;
    6         text-align:left;
    7   }
     3width:100%;
     4padding:0;
     5margin:0;
     6}
    87#content
    98{
    10         margin-left: auto;
    11         margin-bottom:1em;
    12         width:100%;
    13         border:none;
    14         min-height:inherit;
     9margin-left: auto;
     10margin-bottom:1em;
     11width:100%;
     12border:none;
    1513  }
    1614#the_page
    1715{
    18         width:100%;
    19         border:none;
    20 }
     16width:100%;
     17border:none;
     18  }
    2119body {
    22         min-width: inherit;
    23         width:100%;
    24         padding:0px;
     20min-width: inherit;
     21width:100%;
    2522}
    2623#cache
    2724{
    28         padding:5px
     25padding:5px
    2926}
    3027#close_button
     
    3633{
    3734        padding:15px;
    38         margin:auto;
    3935}
    4036#section_up
     
    4844        border:none;
    4945}
     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.