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

version» Context lines:

Roxen.git/server/etc/modules/Variable.pmod/module.pmod:912:       _current_count++;       string res = "<a name='"+path()+"'>\n</a><table>\n"    "<input type='hidden' name='"+prefix+"count' value='"+_current_count+"' />\n";       foreach( map(query(), transform_to_form), string val )    {    res += "<tr>\n<td><font size='-1'>"+ input( prefix+"set."+i, val, width) + "</font></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>")    if( i )    res += "\n<td>"+ -  BUTTON(prefix+"up."+i, "^")+ +  REORDER(prefix+"up."+i, "/internal-roxen-up")+    "</td>";    else    res += "\n<td></td>";    if( i != sizeof( query())- 1 )    res += "\n<td>"+ -  BUTTON(prefix+"down."+i, "v") +  REORDER(prefix+"down."+i, "/internal-roxen-down")    +"</td>";    else    res += "\n<td></td>";    res += "\n<td>"+    BUTTON(prefix+"delete."+i, LOCALE(227, "Delete") )    +"</td>";    "</tr>";    i++;    }    res +=