Roxen.git / server / modules / tags / configtablist.pike

version» Context lines:

Roxen.git/server/modules/tags/configtablist.pike:1:   /* -  * $Id: configtablist.pike,v 1.8 1998/03/13 15:29:05 js Exp $ +  * $Id: configtablist.pike,v 1.9 1998/03/14 20:57:30 js Exp $    *    * Makes a tab-list like the one in the config-interface.    *    * $Author: js $    */    - constant cvs_version="$Id: configtablist.pike,v 1.8 1998/03/13 15:29:05 js Exp $"; + constant cvs_version="$Id: configtablist.pike,v 1.9 1998/03/14 20:57:30 js Exp $";   constant thread_safe=1;      #include <module.h>   inherit "module";   inherit "roxenlib";      /*    * Functions    */   
Roxen.git/server/modules/tags/configtablist.pike:49:      string tag_config_tab(string t, mapping a, string contents)   {    string dir = "u/";    mapping img_attrs = ([]);    if(a->help) return register_module()[2];    if (a->selected) {    dir = "s/";    }    if(a->bgcolor) -  dir+=a->bgcolor; +  dir+=replace(a->bgcolor,"#","|");    else    dir+="white";    dir+="/";    m_delete(a, "selected");       img_attrs->src = QUERY(location) + dir +    replace(http_encode_string(contents), "?", "%3f") + ".gif";    if (a->alt) {    img_attrs->alt = a->alt;    m_delete(a, "alt");