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

version» Context lines:

Roxen.git/server/modules/graphics/gbutton.pike:336:    case "frame": frame = l; break;    case "mask": mask = l; break;    }    }    };       if( args->border_image )    {    array(Image.Layer)|mapping tmp;    - #if constant(Sitebuilder) + #if constant(Sitebuilder) && constant(Sitebuilder.sb_start_use_imagecache)    // Let SiteBuilder get a chance to decode its argument data    if (Sitebuilder.sb_start_use_imagecache) {    Sitebuilder.sb_start_use_imagecache(args, id);    tmp = roxen.load_layers(args->border_image, id, opts);    Sitebuilder.sb_end_use_imagecache(args, id);    } else   #endif    {    tmp = roxen.load_layers(args->border_image, id, opts);    }
Roxen.git/server/modules/graphics/gbutton.pike:913:    m_delete(args, "extra-left-layers");    m_delete(args, "extra-right-layers");    m_delete(args, "extra-background-layers");    m_delete(args, "extra-mask-layers");    m_delete(args, "extra-frame-layers");       int timeout = Roxen.timeout_dequantifier(args);       if( fi ) {    new_args->stat = get_file_stat( fi, id ); - #if constant(Sitebuilder) + #if constant(Sitebuilder) && constant(Sitebuilder.sb_prepare_imagecache)    // The file we called get_file_stat() on above may be a SiteBuilder    // file. If so we need to extend the argument data with e.g.    // current language fork.    if (Sitebuilder.sb_prepare_imagecache)    new_args = Sitebuilder.sb_prepare_imagecache(new_args, fi, id);   #endif    }       if (string icn_path = new_args->icn) {    new_args->stat_icn = get_file_stat(icn_path, id); - #if constant(Sitebuilder) + #if constant(Sitebuilder) && constant(Sitebuilder.sb_prepare_imagecache)    if (Sitebuilder.sb_prepare_imagecache)    new_args = Sitebuilder.sb_prepare_imagecache(new_args, icn_path, id);   #endif    }       new_args->quant = args->quant || 128;    foreach(glob("*-*", indices(args)), string n)    new_args[n] = args[n];       //string fn;