sNews Forum

sNews 1.7 (current stable version) => Patches/fixes => Topic started by: Patric Ahlqvist on December 21, 2009, 04:52:24 pm

Title: A tiny little fix - Save/edit button
Post by: Patric Ahlqvist on December 21, 2009, 04:52:24 pm
In 1.7 now there is a line in function form_articles, reading:
Code: [Select]
$frm_submit = l('edit');
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: [Select]
$frm_submit = l('edit_but');
And then change the LANG file accordingly:
Code: [Select]
$l['edit_but'] = 'Spara';
Tjillevippen/ P