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

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1:   // This is a roxen module. Copyright © 1996 - 2000, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.256 2001/01/02 18:28:09 nilsson Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.257 2001/01/03 13:49:50 nilsson Exp $";      #include <module.h>   inherit "module";         // ------------------- Module registration ---------------------      constant module_type = MODULE_TAG;   constant module_name = "Graphic text";   constant module_doc =
Roxen.git/server/modules/graphics/graphic_text.pike:928:       if(arg->href)    {    url = arg->href;    lp = replace(Roxen.make_tag("a",arg-hreffilter),"%","%%")+"%s</a>";    if(!p->fgcolor) p->fgcolor=id->misc->gtext_link||"#0000ff";    m_delete(arg, "href");    }       foreach( ({ "class", "onClick", "onclick", "onMouseover", "onmouseover", -  "onMouseout", "onmouseout" }), string name) +  "onMouseout", "onmouseout", "target", "accesskey", "charset", +  "hreflang", "suppress", "tabindex" }), string name)    if(arg[name]) {    ea+=name+"=";    if(!has_value(arg[name], "\"")) ea+="\""+arg[name]+"\" ";    else if(!has_value(arg[name], "'")) ea+="'"+arg[name]+"' ";    else ea+="\""+replace(arg[name], "'", "&#39;")+"\" ";    m_delete(arg, name);    }       int xml=!m_delete(arg, "noxml");