Roxen.git / server / etc / modules / Variable.pmod / module.pmod

version» Context lines:

Roxen.git/server/etc/modules/Variable.pmod/module.pmod:2136:    string render_form( RequestID id, void|mapping additional_args )    {    string prefix = path()+".";    int i;       string res =    "<table id='" + path() + "' class='auto rxn-var-list'>";       foreach( map(query(), transform_to_form), mixed val )    { -  res += "<tr>\n<td><span class='small'>"+ render_row(prefix+"set."+i, val, width) -  + "</span></td>\n"; +  res += "<tr>\n<td class='small'>"+ render_row(prefix+"set."+i, val, width) +  + "</td>\n";   #define BUTTON(X,Y) ("<submit-gbutton2 name='"+X+"'>"+Y+"</submit-gbutton2>")   #define REORDER(X,Y) ("<submit-gbutton2 name='"+X+"' icon-src='"+Y+"'></submit-gbutton2>")   #define DIMBUTTON(X) ("<disabled-gbutton icon-src='"+X+"'></disabled-gbutton>")    if( i )    res += "\n<td class='rxn-btn-td'>"+    REORDER(prefix+"up."+i, "/internal-roxen-up")+    "</td>";    else    res += "\n<td class='rxn-btn-td'>"+DIMBUTTON("/internal-roxen-up")+"</td>";    if( i != sizeof( query())- 1 )