Please login or register.

Login with username, password and session length
Advanced search  


You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: A tiny little fix - Save/edit button  (Read 3549 times)

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
A tiny little fix - Save/edit button
« 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
"It's only dead fish that goes with the flow... "