1.Deschide fisierul php unde vreti sa apara textul. ( in acest tutorial vom avea ca exemplu index.php)
2.Cautati randurile de genul :
Cod: Selectaţi tot
'L_FORUM' => $lang['Forum'],
'L_TOPICS' => $lang['Topics'],
'L_REPLIES' => $lang['Replies'],
'L_VIEWS' => $lang['Views'],
'L_POSTS' => $lang['Posts'],
'L_LASTPOST' => $lang['Last_Post'],
'L_NO_NEW_POSTS' => $lang['No_new_posts'],
'L_NEW_POSTS' => $lang['New_posts'],
'L_NO_NEW_POSTS_LOCKED' => $lang['No_new_posts_locked'],
'L_NEW_POSTS_LOCKED' => $lang['New_posts_locked'],
'L_ONLINE_EXPLAIN' => $lang['Online_explain'],
'L_MODERATOR' => $lang['Moderators'],
'L_FORUM_LOCKED' => $lang['Forum_is_locked'],
'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'],
3. Adaugati codul dvs:
Cod: Selectaţi tot
'L_Text_Demo' => $lang['Text_demo'],
Cod: Selectaţi tot
/language/lang_romanian/lang_main.php
5.Find
Note: : In exemplul dat noi am folosit index.php deci vom cauta sirurile de cod respective.
Cod: Selectaţi tot
//
// Index page
//
Cod: Selectaţi tot
//
// Viewforum
//
Adaugati codul dvs
Cod: Selectaţi tot
$lang['Test_demo'] = 'Doar un text';
7.Deschideti
Cod: Selectaţi tot
/templates/subSilver/index_body.tpl
Noi deschidem fisierul corepunzator lui index.php , Daca ati ales sa modificati alt fisier consultati lista aceasta
8. Adaugati unde doriti sa apara textul
Cod: Selectaţi tot
{L_Text_Demo}
Coppyright Mike
Bafta!
[/b]