phpScheduleIt
May 25, 2013, 01:03:34 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: PHP Table Value  (Read 2615 times)
shwaltz
Newbie
*

Karma: 0
Posts: 8


« on: November 03, 2006, 12:58:24 PM »

Hi,
Simple question - not a php programmer, but could figure it out given
enough time.  Thought I'd just ask in hopes of a simple solution.

The table "My Quck Links" posted for each user has the fields
"Bookings", "My Calendar",  :Schedule Calendar", "Email Preferences", "Email Administration" ...
in the left table column.  I wish to change "Bookings" to "Make a Reservation".  If I do so in
templates/cpanel.template.php, only a "?" then shows up in the table.  I also tried variations ...
"Make Reservation" (also does not work) and "Reservations"(does work).

How does one get exactly what one wants in these fields?

thanks much in advance
S
Logged

.Waltz
Aldric
Newbie
*

Karma: 0
Posts: 38


« Reply #1 on: November 03, 2006, 03:23:32 PM »

I would look in the Language files you are using stored in ./lang. If you are using US English then you need to edit  en_US.lang.php

Try editing line 326 which should say

Code:
$strings['Bookings'] = 'Bookings';


and replace it with

Code:
$strings['Bookings'] = 'Make a Reservation';


I think that will get you what you want. The ? appears because the code is trying to find the translation of the word in the brackets in translate('this word'); Or at least I think that maybe the source of your issue Smiley

Remember to make a backup of the file you edit just in case my suggestion does not work
Logged
shwaltz
Newbie
*

Karma: 0
Posts: 8


« Reply #2 on: November 06, 2006, 08:31:26 AM »

Aldric,
Thanks much - that was exactly the solution!
S
Logged

.Waltz
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!