array ("request", "string", ""), "texte" => array ("post", "string", ""), "save" => array ("post", "string", ""), "saveret" => array ("post", "string", ""), "cancel" => array ("post", "string", ""), "R" => array ("request", "string", ""), ); getFields($fields); $editfile=ssla($editfile); $texte=ssla($texte); $R=$bro->convertabsolute($R,1); $p=$bro->GetPrefs(); if (isset($cancel) && $cancel) { include("bro_main.php"); exit(); } if (isset($saveret) && $saveret) { if ($bro->save($editfile,$R,$texte)) { $error=sprintf(_("Your file %s has been saved"),$editfile)." (".format_date(_('%3$d-%2$d-%1$d %4$d:%5$d'),date("Y-m-d H:i:s")).")"; } else { $error=$err->errstr(); } include("bro_main.php"); exit(); } if (isset($save) && $save) { if ($bro->save($editfile,$R,$texte)) { $error=sprintf(_("Your file %s has been saved"),$editfile)." (".format_date(_('%3$d-%2$d-%1$d %4$d:%5$d'),date("Y-m-d H:i:s")).")"; } else { $error=$err->errstr(); } } include_once("head.php"); ?>
$error
"; ?>