This topic is locked

Error Message

8/1/2007 7:21:19 AM
PHPRunner General questions
D
daviesgh author

Hi,
Can there be consistency with error message variables. In some files $message is used in others $strMessage:

  • login.php, changepwd.php use $strMessage
  • add.php, list.php, edit.php use $message
    Suggest $message instead of $strMessage. If the same variable is used throughout the program, then when I call my own custom functions, I can declare $message as a global variable
    Also in list.php template
  • can $message be declared at start
  • can $message be assigned just before $smarty->display($templatefile);

    $smarty->assign("message",$message);
    This is not something that has changed since build 265, but just means less changing when new versions of phprunner are released
    Regards,
    Gordon

Sergey Kornilov admin 8/2/2007

Gordon,
sounds very reasonable, we'll do so.