/* Enjoy!!! Dino Ciuffetti - dAm2K - dino@tuxweb.it * * * This program is free software; you can redistribute it and/or modify it * under the terms of the Creative Common (Attribution-Share Alike 2.5 Generic) license as published here: * http://creativecommons.org/licenses/by-sa/2.5/ * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the Creative Common license * for more details. * * NOTE: This software is based on WebAppers Simple JavaScript Progress Bar with CSS from webappers.com. * It's free software released under the terms of the Creative Commons License (Attribution-Share Alike 2.5 Generic). * Software can be download here: http://www.bram.us/projects/js_bramus/jsprogressbarhandler/ * Or here: http://www.bram.us/demo/projects/jsprogressbarhandler/ * */ include ("plugins/progbar/configure.php"); Class CmsDam_Progbar { var $conf; function CmsDam_Progbar() { // Constructor $this->conf = new CmsDam_Progbar_Conf; ?> return true; } private function CmsDam_drawprogbar($id, $color, $perc_value) { //TODO: $id must be uniq!! ?>
} function DisplayProgbar($id, $color, $perc_value) { $h = $this->conf->height; $w = $this->conf->width; $this->CmsDam_drawprogbar($id, $color, $perc_value); return $str; } /* function CmsDam_Progbar_DeleteImage($str) { @unlink($this->conf->image_path . "/" . stripslashes($str) . ".png"); return true; } */ /* function CmsDam_Progbar_GetImage($str) { @unlink($this->conf->image_path . "/" . stripslashes($str) . ".png"); return true; } */ } $this->included->progbar->api = new CmsDam_Progbar; ?>