8
« on: June 07, 2010, 05:50:36 PM »
Thank you very much, this has helped alot..
Could you help me with another problem i copied off of your code. Im trying to use your javascript for the drop downs and im on the "StatisChanger".
This is what i have:
{.if|{.get account|%user%|member of|#administrators#.}|
{.set account|{.postvar|name.}|enabled={.postvar|status.}.}
<p><font size="3">
{.if|{.get account|{.postvar|name.}|enabled is|{.postvar|status.}.}|{.!Status Changed !.}|<font color=firebrick>{.!Error during change !.}/if.}</font></font></p>
{.postvar|name.}-{.postvar|status.}
<p>Click <a href="/~adminpanel">here</a> to return.</p>
|{.section|error.}.}
Everytime i change the status, it works, but this line always shows "Error during change".
Can you see what im doing wrong?
What script did you use for your java or did you write it all yourself?
Thanks