remove [en]

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
skinnypig
Posts: 4
Joined: Tue Feb 17, 2004 3:54 pm

remove [en]

Post by skinnypig »

Hi,
I just installed 1.3.10 and would like to know how to remove [en] besides the questions?

also where are those variables (ie. $msgTopTen) stored in? I want to modify $msgTopTen and i checked main.php, parser.php, function.php but just couldn't find it

thanks
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

to remove the language hints: search in inc/functions.php for the function printThemes($category) and edit this line:

Code: Select all

$output .= "<li><a href=\"".$_SERVER["PHP_SELF"]."?".$sids."aktion=artikel&rubrik=".$row->rubrik."&id=".$row->id."&lang=".$row->lang."\">".stripslashes($row->thema)."</a> [".$row->lang."]<br><div class=\"little\">(".$visits." ".$msgViews.")</div></li>";
to

Code: Select all

$output .= "<li><a href=\"".$_SERVER["PHP_SELF"]."?".$sids."aktion=artikel&rubrik=".$row->rubrik."&id=".$row->id."&lang=".$row->lang."\">".stripslashes($row->thema)."</a> <br><div class=\"little\">(".$visits." ".$msgViews.")</div></li>";
To edit the language variables just edit the file engish.php inside the directory lang/.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
skinnypig
Posts: 4
Joined: Tue Feb 17, 2004 3:54 pm

Post by skinnypig »

thanks, now i'm customizing the faq, it's real FUN~ thanks for offering this excellent script! luv it! :D
Post Reply