lyphard Posted June 9, 2003 Posted June 9, 2003 Hi, every1... I'm new to PHP, and while I was examining the osCommerce source code, at some point I was confused. so pls help me out... in the form_check.js.php file, the error message, which is displayed when error is occured during validation is done by embbed in php code snippet like <?php echo JS_GENDER; ?>, but I can't find constant JS_GENDER anyway else in the source code... (and so do other error message constants like JS_ERROR and so on) so where on earth can the program found JS_GENDER and display it when something wrong during the validation? pls hlp. thanx!
Daemonj Posted June 9, 2003 Posted June 9, 2003 Those constants are defined in catalog/includes/languages/[language].php. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Recommended Posts
Archived
This topic is now archived and is closed to further replies.