Roxen.git / server / config_interface / sites / add_module.pike

version» Context lines:

Roxen.git/server/config_interface/sites/add_module.pike:71:   {    return sprintf( "<use file='/template' />\n"    "<tmpl title=' %s'%s>"    "<topmenu base='/' selected='sites'/>\n"    "<content><cv-split>"    "<subtablist width='100%%'>"    "<st-tabs></st-tabs>"    "<st-page>"    "<if not='1' variable='form.initial'>"    "<gbutton href='add_module.pike?config=&form.config:http;" -  "&reload_module_list=yes' > %s </gbutton> " -  "<gbutton href='site.html/&form.config;/'> %s </gbutton>" +  "&reload_module_list=yes' " +  "> %s </gbutton> " +  "<gbutton href='site.html/&form.config;/' " +  "> %s </gbutton>"    "<p>\n</if>%s\n</p>\n"    "</st-page></subtablist></td></tr></table>"    "</cv-split></content></tmpl>",    LOCALE(258,"Add module"),    noform?" noform='noform'":"",    LOCALE(272,"Reload module list"),    LOCALE(202,"Cancel"), content );   }      
Roxen.git/server/config_interface/sites/add_module.pike:165:    {    return what;    };       string trim_name( string what )    {    array q = (what / "/");    return q[sizeof(q)-2..]*"/";    };    - #define RELOAD(X) sprintf("<gbutton " \ -  "href='add_module.pike?config=&form.config:http;" \ -  "&random=%d&only=%s&reload_module_list=yes#" \ -  "errors_and_warnings'> %s </gbutton>", \ -  random(4711111), \ -  (X), \ + #define RELOAD(X) sprintf("<gbutton " \ +  "img-align='middle' " \ +  "href='add_module.pike?config=&form.config:http;" \ +  "&random=%d&only=%s&reload_module_list=yes#" \ +  "errors_and_warnings'> %s </gbutton>", \ +  random(4711111), \ +  (X), \    LOCALE(253, "Reload"))       if( !header_added++ )    da_string += -  "<p><a name='errors_and_warnings'><br />" +  "<p><a name='errors_and_warnings'></a><br />"    "<font size='+2'><b><font color='&usr.warncolor;'>"    "Compile errors and warnings</font></b><br />"    "<table width=100% cellpadding='3' cellspacing='0' border='0'>";       da_string += "<tr><td></td>"    "<td colspan='3' bgcolor='&usr.content-titlebg;'>"    + "<b><font color='&usr.content-titlefg;' size='+1'>"    + module_name_from_file(module)+"</font></b></td>"    + "<td align='right' bgcolor='&usr.content-titlebg;'>"    "<font color='&usr.content-titlefg;' size='+1'>"
Roxen.git/server/config_interface/sites/add_module.pike:487:      array(int|string) class_visible_compact( string c, string d, int size,    RequestID id )   {    string res="";    if(first++)    res = "</select><br /><submit-gbutton> "+LOCALE(251, "Add Module")+    " </submit-gbutton> ";    res += "<p><a name="+Roxen.http_encode_string(c)+    "></a><font size='+2'>"+c+"</font><br />"+d+"<p>" -  "<select size='"+size+"' multiple name='module_to_add' style='font-family: monospace'>"; +  "<select size='"+size+"' multiple name='module_to_add' class='add-module-select'>";    return ({ 1, res });   }      string describe_module_compact( object module, object block )   {    if(!block) {    //string modname = strip_leading (module->get_name());    string modname = module->get_name();    return "<option value='"+module->sname+"'>"+    Roxen.html_encode_string(modname)