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

version» Context lines:

Roxen.git/server/etc/modules/Variable.pmod/module.pmod:124:    diff = diff[..sizeof(diff)-2];    foreach(diff, string row)    {    row = Roxen.html_encode_string(row);    row = replace(row, "\t", " ");    row = replace(row, " ", "&nbsp;");    switch(row[0])    {    case '&': r += "<tt>"+row+"</tt><br>\n";    break; -  case '+': r += "<tt><font color='darkgreen'>"+row+"</font></tt><br>\n"; +  case '+': r += "<font color='darkgreen'><tt>"+row+"</tt></font><br>\n";    added++;    break; -  case '-': r += "<tt><font color='darkred'>"+row+"</font></tt><br>\n"; +  case '-': r += "<font color='darkred'><tt>"+row+"</tt></font><br>\n";    deleted++;    break;    case 'L': r += "<i>"+row+"</i><br>\n";    break;    }    }    if (!hide_header)    r =    "<b>" + LOCALE(476, "Change in content") + "</b><br />\n"+    "<i>"+(added==1? LOCALE(477, "1 line added."):