Changeset 23624 in spip-zone


Ignore:
Timestamp:
Oct 25, 2008, 2:06:44 PM (11 years ago)
Author:
sam@…
Message:

Ajout de polices: prise en compte des extensions ttf en majuscule TTF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/eva_ecriture/exec/eva_ecriture.php

    r23623 r23624  
    3636        echo _T('evaecriture:lienoff1');
    3737       
    38     echo debut_cadre_trait_couleur(_DIR_PLUGIN_EVA_ECRITURE."img_pack/eva.gif", true, '', ''); 
     38    echo debut_cadre_trait_couleur('', true, '', '');   
    3939        echo bouton_block_depliable('Ajouter des polices',false,'');
    4040   echo debut_block_depliable(false);
     
    6868
    6969while ($f = readdir($dir)) {
    70    if(is_file($rep.$f) AND ($f!='.') AND ($f!='..') AND (strpos($f,'.ttf'))) {
     70   if(is_file($rep.$f) AND ($f!='.') AND ($f!='..') AND ((strpos($f,'.ttf')) OR (strpos($f,'.TTF')))) {
    7171      echo "<li>Nom de la police: <strong>".$f."</strong></li>";
    7272      echo "<li>Taille du fichier: ".filesize($rep.$f)." octets</li>";
Note: See TracChangeset for help on using the changeset viewer.