I would like to add the message to
main.php like
TheOracle mentioned in this tread
I added:
$lang['no_permission_msg']= "Details nur für <B>eingeloggte</B> Mitglieder oder <B>unzureichende</B> Rechte <img src=\'{template_url}/smilies/cool.gif\'>";
to
main.php.
I added:
"lang_no_permission_msg" => $lang['no_permission_msg'],
to the part $site_template->register_vars(array( in
page_header.phpI added/updated:
$no_permission = (!empty($show_link)) ? "" : "{lang_no_permission_msg}";
in
functions.phpThe message does not show up when the page is loaded...
When I replace the message in functions.php it works... somehow it's not loaded correctly...
Any help is appreciated...
Regards
Leh00
I solved it:To use the code {lang_no_permission_msg} was wrong -> after adding {lang_no_permission_msg} to random_imgage.html and thumbnail_bit.html it works perfect.