[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/phpgwapi/js/htmlarea/plugins/UploadImage/popups/ImageManager/ -> std_functions.inc.php (source)

   1  <?php
   2     /**************************************************************************\
   3     * eGroupWare - UploadImage-plugin for htmlArea                             *
   4     * http://www.eGroupWare.org                                                *
   5     * Written and (c) by Xiang Wei ZHUO <wei@zhuo.org>                         *
   6     * Modified for eGW by and (c) by Pim Snel <pim@lingewoud.nl>               *
   7     * --------------------------------------------                             *
   8     * This program is free software; you can redistribute it and/or modify it  *
   9     * under the terms of the GNU General Public License as published by the    *
  10     * Free Software Foundation; version 2 of the License.                      *
  11     \**************************************************************************/
  12  
  13     function percent($p, $w) 
  14     { 
  15        return (real)(100 * ($p / $w)); 
  16     } 
  17  
  18     function unpercent($percent, $whole) 
  19     { 
  20        return (real)(($percent * $whole) / 100); 
  21     } 
  22  
  23  
  24  
  25  ?>


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7