When I use addline.bat, it says :
So if I dousage: addline.bat "messagename" "new message text"
Note: If you need to place quotes withen "new message text" they will be escaped automatically, so y
ou do not need to worry about them.
I think i'm right.addline.bat phpmv2 PHPMyVisites
But when I reload my page, I've got
Code: Select all
headers already sent by (output started at [--censored---]\cmsmadesimple-1.0.5\admin\lang\en_US\admin.inc.php:815) in
To correct, we must delete this in all files !
in addline.bat, the code is this one
Code: Select all
for /R %%f in (*admin.inc.php) do findstr /v "?>" %%f > %%f.tmp
for /R %%f in (*admin.inc.php) do echo $lang['admin']['%~1'] = %newString%; //needs translation >> %%f.tmp
for /R %%f in (*admin.inc.php) do echo ?^> >> %%f.tmp
for /R %%f in (*admin.inc.php) do move /Y %%f.tmp %%f
Q1/ How do that ?
Finally, last question :
Q2/ How add a tag with blanks in its values (for exemple, like "adminlogdescription") ?
Thanks !