1
Discussion & Troubleshooting / Syntax change from 1.7 to 1.7.1 help
« on: June 26, 2005, 04:54:58 PM »
I need help to change a script syntax which was written for v1.7 to v1.7.1.
(´Picture Of The Month´ MOD of ´amam´, http://www.4homepages.de/forum/index.php?topic=7242.0)
The following line seems to work in v1.7:
Heres a similar case from the same script:
Duh, I hope I was detailed enough and not too confusing! Any help?
(´Picture Of The Month´ MOD of ´amam´, http://www.4homepages.de/forum/index.php?topic=7242.0)
The following line seems to work in v1.7:
Code: [Select]
..
$potm_menu_link = "<a href=\"".$site_sess->url(ROOT_PATH."potm.php?action=lw")."\">{lang_potm_lastwinners}</a>";
..
"lang_potm_lastwinners" => $lang['potm_lastwinners']
..
In version 1.7.1 the anchor text doesn´t get ´translated´ this way. How should I proceed?Heres a similar case from the same script:
Code: [Select]
..
"self" => $site_sess->url($self_url),
..
<form method=\"post\" action=\"{self}\">";
..
Also here {self} doesn´t get translated. When I enter instead of the tag the full url: It works like a charm.Duh, I hope I was detailed enough and not too confusing! Any help?