Branch: Tag:

2002-03-06

2002-03-06 13:53:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported improved fix for [bug 2679 (#2679)] from Roxen 2.4.

Rev: server/config_interface/sites/add_module.pike:1.66

67:    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%%'>"
84:    "</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 );   }
307:    <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>
374:    [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 )