Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 01:26:52 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Change the text on the serch button  (Read 455 times)
vasy

Offline Offline

Posts: 83


« on: December 20, 2006, 01:03:50 PM »

Is that possible?
Logged
BerndJM

Offline Offline

Posts: 1764



« Reply #1 on: December 20, 2006, 01:46:11 PM »

Hi,

just add a line to your language file:
Code:
$TEXT['SUBMIT'] = ''";
and the button will be translated in depency of the
Code:
$TEXT['SEARCH'] = 'Suche';
entry in the language file.

An other solution is to hardcode it in the index.php of your template:
Code:
<input type="submit" name="submit" value="<?php if(isset($TEXT['SUBMIT'])) { echo $TEXT['SEARCH']; } else { echo 'Search'; } ?>" />

Bernd
Logged

In theory, there is no difference between theory and practice. But, in practice, there is.
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!