Free Adult Tube-Video Script Forum
Replacing Menu Link Name - Printable Version

+- Free Adult Tube-Video Script Forum (http://freeadultscript.com/forum)
+-- Forum: My Category (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Replacing Menu Link Name (/showthread.php?tid=158)



Replacing Menu Link Name - mac10 - 07-12-2010 10:31 PM

How to replace the menu link names on the code:

Original code:
global $root_url,$lcl;
return '<li><a href="'.$root_url.'">'.$lcl['homepage'].'</a></li>
<li><a href="'.$root_url.'">'.$lcl['videos'].'</a></li>
<li><a href="'.$root_url.'?option=popular">'.$lcl['popularvideos'].'</a></li>
<li><a href="'.$root_url.'?option=contact">'.$lcl['contact'].'</a></li>';

to this:

global $root_url,$lcl;
return '<li><a href="'.$root_url.'">'.$lcl['Home'].'</a></li>
<li><a href="'.$root_url.'">'.$lcl['Videos'].'</a></li>
<li><a href="'.$root_url.'?option=popular">'.$lcl['Popular Videos'].'</a></li>
<li><a href="'.$root_url.'?option=contact">'.$lcl['Support'].'</a></li>';

****************************
Every time I replace the link names, the link disappears. Any help would be awesome!

Thanks


RE: Replacing Menu Link Name - admin - 08-12-2010 02:31 AM

open locale/en.php
end find
$lcl['homepage']
$lcl['videos']
$lcl['popularvideos']
$lcl['contact']

and chage teir values
do not touch function.php codes