<script type="text/javascript"> if (window.rcmail && rcmail.env.action) { var action = rcmail.env.action=='preferences' ? 'default' : (rcmail.env.action.indexOf('identity')>0 ? 'identities' : rcmail.env.action); var tab = document.getElementById('settingstab'+action); } else var tab = document.getElementById('settingstabdefault'); if (tab) tab.className = 'tablink-selected'; </s<script type="text/javascript"> <!-- if (window.call_init) call_init('rcmail'); //--> </script>
cript>
</body> </html> I got this at the end of some pages. Something with the script tag went wrong. I tried to fix it, but i can't find call_init('rcmail') in the code.. thx Stefan
You're right, the code only works in PHP 4 but not in PHP 5 due to the differences in strrpos(). Fixed in rev. 367
~Thomas
Stefan Novak wrote:
[...]
I got this at the end of some pages. Something with the script tag went wrong. I tried to fix it, but i can't find call_init('rcmail') in the code..
thx Stefan
I created a "strrfind()" function in rcube_shared.inc to address a
similar issue I found in the template parser - you could use that
same function if it works...
On Nov 13, 2006, at 1:00 AM, Thomas Bruederli wrote:
You're right, the code only works in PHP 4 but not in PHP 5 due to the differences in strrpos(). Fixed in rev. 367
~Thomas
Stefan Novak wrote:
[...]
I got this at the end of some pages. Something with the script tag
went wrong. I tried to fix it, but i can't find call_init ('rcmail') in the code..thx Stefan