Last change
on this file since 9201 was
9201,
checked in by mistic100, 13 years ago
|
[tools] PHP Optimisateur :
- Correction de bugs
- La plupart des types de fichiers sont supportés (testé avec jpg, png et gif)
- Réécriture de la gestion des plugins
- Nouvelle apparence
|
File size:
788 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /***************************************\ |
---|
3 | | PHP OPTIMISATEUR | |
---|
4 | | Plugin Watermark 1.1 | |
---|
5 | \***************************************/ |
---|
6 | |
---|
7 | ## Replace le texte de copyright par une image |
---|
8 | ## Dépend des valeurs de $CONF['copyONhd'], $CONF['copyONnormal'] et $CONF['copyPOS'] |
---|
9 | |
---|
10 | $waterFILE = $CONF['Plugins']['watermark']['waterFILE']; // Fichier à incruster |
---|
11 | $waterALPHA = $CONF['Plugins']['watermark']['waterALPHA']; // Opacité |
---|
12 | |
---|
13 | if (file_exists($waterFILE)) { |
---|
14 | if ($CONF['copyONhd']) { |
---|
15 | $CONF['copyHD'] = '-wmfile "'.$waterFILE.'" -wmflag '.$CONF['copyPOS'].' -wmpos 0 0 -wmopacity '.$waterALPHA.''; |
---|
16 | } |
---|
17 | |
---|
18 | if ($CONF['copyONnormal']) { |
---|
19 | $CONF['copyNormal'] = '-wmfile "'.$waterFILE.'" -wmflag '.$CONF['copyPOS'].' -wmpos 0 0 -wmopacity '.$waterALPHA.''; |
---|
20 | } |
---|
21 | } |
---|
22 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.