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: [Mini MOD] Website name and title in index  (Read 1961 times)


  • Guest
[Mini MOD] Website name and title in index
« on: June 06, 2007, 01:41:21 pm »

I think this was shamefully insipired/taken from 1.6

In the default 1.4 the index has in the header:
<h1><a href="" title="sNews">sNews v1.4</a></h1>

Just change that to:
<h1><a href="<? echo s('website'); ?>" title="<? echo s('website_title'); ?>"><? echo s('website_title'); ?></a></h1>

With this you can define everythign in the snews.php as you should and have the php calls in the index and not retyping it

« Last Edit: August 25, 2007, 03:29:01 am by Phil Martin (Philmoz) »