Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

2506 Posts in 649 Topics- by 1316 Members - Latest Member: kortuem

eTicket CommunityGeneralGeneral Discussion (Moderators: jason, Hummdis)Topic: adding new titles
Pages: [1]   Go Down
Print
Author Topic: adding new titles  (Read 1198 times)
0 Members and 1 Guest are viewing this topic.
alraben
New Member
*

Karma: +0/-0
Offline Offline

Posts: 1


« on: October 27, 2009, 10:24:21 PM »

Hi,

I would like to add one item more to the $titles variable in init. php script but I can't.  I edited that file and write the following:

$titles = array('viewticket' => LANG_TITLE_VIEWTICKET, 'admin_login' => LANG_TITLE_ADMIN_LOGIN, 'user_login' => LANG_TITLE_USER_LOGIN, 'main' => '', 'pref' => LANG_TITLE_PREF, 'stat' => LANG_TITLE_STAT, 'db' => LANG_TITLE_DB, 'mail' => LANG_TITLE_MAIL, 'cat' => LANG_TITLE_CA
T, 'rep' => LANG_TITLE_REP, 'user_group' => LANG_TITLE_GROUPS, 'banlist' => LANG_TITLE_BANLIST, 'my' => LANG_TITLE_MY);

I added the strong string in the init. php script and in the lang. php script I added the following:

define('LANG_TITLE_STAT', 'Estadisticas');

But it does not work.

In admin. php I added the following code:

        case "stat":
           include ("statistics. php");
           break;

But nothing . . .  I cant see the new item in the menu.

Any suggestions?

Thanks for your help.

Logged
Hummdis
Moderator
Super Member
*****

Karma: +13/-0
Offline Offline

Posts: 558



WWW
« Reply #1 on: November 03, 2009, 12:09:23 PM »

What do you mean 'title'?  Where do you want this 'title' to be displayed?
Logged

Don't PM me directly for help.  Post to the forums, that's what they are for after all.  PM's to me that request help will be ignored.

Hummdis Communications - Freelance Website Design & IT Consulting
eTicket Community
   

 Logged
Pages: [1]   Go Up
Print
eTicket CommunityGeneralGeneral Discussion (Moderators: jason, Hummdis)Topic: adding new titles
Jump to: