sNews 1.7 (current stable version) > Patches/fixes

A tiny little fix - Save/edit button

(1/1)

Patric Ahlqvist:
In 1.7 now there is a line in function form_articles, reading:

--- Code: ---$frm_submit = l('edit');
--- End code ---

Now in order to use the LANG file and alter that text as you wish (don't want the eqvivilent to "edit" everywhere) as in my case to "SAVE" though, in swedish. You have to change that line to:

--- Code: ---$frm_submit = l('edit_but');
--- End code ---

And then change the LANG file accordingly:

--- Code: --- $l['edit_but'] = 'Spara';
--- End code ---

Tjillevippen/ P

Navigation

[0] Message Index

Go to full version