Roxen.git / server / modules / graphics / graphic_text.pike

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1:   // This is a ChiliMoon module. Copyright © 1996 - 2001, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.296 2002/11/16 10:46:17 agehall Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.297 2002/11/17 17:55:44 mani Exp $";      #include <module.h>   inherit "module";         // ------------------- Module registration ---------------------      constant module_type = MODULE_TAG;   constant module_name = "Graphics: Graphic text";   constant module_doc =
Roxen.git/server/modules/graphics/graphic_text.pike:560:      // -------------------- Image cache functions --------------------      private roxen.ImageCache image_cache;   private string compat_level;      string status() {    array s=image_cache->status();    return sprintf("<b>Images in cache:</b> %d images<br />\n"    "<b>Cache size:</b> %s", -  s[0], Roxen.sizetostring(s[1])); +  s[0], String.int2size(s[1]));   }      mapping(string:function) query_action_buttons() {    return ([ "Clear cache":flush_cache ]);   }      void flush_cache() {    image_cache->flush();   }