source: extensions/PHP_Optimisateur/plugins/watermark.php @ 7991

Last change on this file since 7991 was 7991, checked in by mistic100, 13 years ago

PHP Optimisateur :
configuration via formulaire
installation semi-automatique des plugins

File size: 707 bytes
Line 
1<?php
2/***************************************\
3|                       PHP OPTIMISATEUR                        |
4|                       Plugin Watermark                        |
5\***************************************/
6
7## Replace le texte de copyright par une image
8## Dépend des valeurs de $copyONhd, $copyONnormal et $copyPOS
9
10$waterFILE = $PluginsBefore['watermark']['waterFILE']; // Fichier à incruster
11$waterALPHA = $PluginsBefore['watermark']['waterALPHA']; // Opacité
12
13if (file_exists($waterFILE)) {
14        if ($copyONhd) {
15                $copyHD = '-wmfile "'.$waterFILE.'" -wmflag '.$copyPOS.' -wmpos 0 0 -wmopacity '.$waterALPHA.'';
16        }
17       
18        if ($copyONnormal) {
19                $copyNormal = '-wmfile "'.$waterFILE.'" -wmflag '.$copyPOS.' -wmpos 0 0 -wmopacity '.$waterALPHA.'';
20        }
21}
22?>
Note: See TracBrowser for help on using the repository browser.