|
|
|
|
"This is edit_textdata.php and supporting files.
This works in MS1 and MS2.
This will allow you or your client who has an OSCommerce store to modify the
various language files without having to know PHP. In the present way
you do it, you use the Define Languages under Tools, which is fine, but you
have to know too much PHP to be comfortable with it. My client wants to be
able to modify that text without having to bother me.
I had found another program in the contributions that is similar to this
but it was not robust enough to handle the parsing and reassembly of the
files after an edit.
The heart of this module is a robust parser. I wish I had a YACC for
PHP, maybe someone knows of one. Short of YACC and some BNF parser this
will do well.
The parser can handle structures like:
define ('TITLE_TEXT', 'Howdy, not dont be a stranger');
as well as
define ('DATE_FORMAT_A', DATE_FORMAT . 'more stuff');
It ignores whitespace and other things.
This includes a set of help html files an picture tutorials to show
you how to operate it.
The only thing that I forgot to mention in the Help is that the user
must escape apostrophes such as don't, and of course linefeeds n.
To use it gunzip and untar in the admin directory. Then modify the
Tools box to add this to the end of it.
The main entry point is edit_textdata.php.
Please Feel free to incorporate this into OSCommerce, I give free license
to do so.
Julian Brown
julian@jlbprof.com" |
|
|
|
 |
| For more information, visit the official osCommerce contribution webpage. |
 |
|
|