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

version» Context lines:

Roxen.git/server/config_interface/sites/add_module.pike:60:    || ((modinfo->type & MODULE_TYPES) && (o=conf->types_module)))    return roxen.find_module( conf->otomod[o] );   }      // To redirect to when done with module addition   string site_url( RequestID id, string site )   {    return "/sites/site.html/"+site+"/";   }    - string page_base( RequestID id, string content ) + string page_base( RequestID id, string content, int|void noform )   {    return sprintf( "<use file='/template' />\n" -  "<tmpl title=' %s'>" +  "<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>"    "<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 );   }            string module_name_from_file( string file )   {    string data, name;   
Roxen.git/server/config_interface/sites/add_module.pike:300:    <tr>    <td><font size='+2'>%s</font></td>    <td align='right'>(%s) %s</td>    </tr>    </table>    </td>    </tr>    <tr>    <td valign='top'>    <form method='post' action='add_module.pike'> +  <roxen-automatic-charset-variable/>    <input type='hidden' name='module_to_add' value='%s'>    <input type='hidden' name='config' value='&form.config;'>    <submit-gbutton preparse='1'>%s</submit-gbutton>    </form>    </td>    <td valign='top'>    %s    <p>    %s    </p>
Roxen.git/server/config_interface/sites/add_module.pike:367:   }      string page_normal( RequestID id, int|void noimage )   {    string content = "";    content += "<table>";    string desc, err;    [desc,err] = get_module_list( describe_module_normal(!noimage),    class_visible_normal, id );    content += (desc+"</table>"+err); -  return page_base( id, content ); +  return page_base( id, content, 1 );   }      string page_fast( RequestID id )   {    return page_normal( id, 1 );   }      string describe_module_faster( object module, object block)   {    if(!block)