oh ok

sorry.
i tested it out on my newbb board index page. here's what the script generates normally:
le="color: #000000"><?php <input type="submit" name="not_submit" class="button" value="Update Now" />
and here's the result:
le="color: #000000"><?php string(8) "_REQUEST" array(7) { ["not_redirect"]=> string(24) "/modules/newbb/index.php" ["not_list"]=> array(3) { [1]=> array(2) { ["params"]=> string(18) "global,0,new_forum" ["status"]=> string(1) "1" } [2]=> array(1) { ["params"]=> string(17) "global,0,new_post" } [3]=> array(1) { ["params"]=> string(21) "global,0,new_fullpost" } } ["not_submit"]=> string(10) "Update Now" ["NewBBLastVisit"]=> string(10) "1089575837" ["newbb_topic_lastread"]=> string(24) "a:1:{i:10;i:1089530182;}" ["NewBBLastVisitTemp"]=> string(10) "1089535671" ["PHPSESSID"]=> string(32) "2875ee93a53db81056033d0f397067d8" }
here's what it generates when changed to an image:
le="color: #000000"><?php <input type="image" src="/themes/mj/dark/update.gif" name="not_submit" value="Update Now" />
and here's the result:
le="color: #000000"><?php string(8) "_REQUEST" array(8) { ["not_redirect"]=> string(24) "/modules/newbb/index.php" ["not_list"]=> array(3) { [1]=> array(2) { ["params"]=> string(18) "global,0,new_forum" ["status"]=> string(1) "1" } [2]=> array(1) { ["params"]=> string(17) "global,0,new_post" } [3]=> array(1) { ["params"]=> string(21) "global,0,new_fullpost" } } ["not_submit_x"]=> string(2) "37" ["not_submit_y"]=> string(2) "11" ["NewBBLastVisit"]=> string(10) "1089575890" ["newbb_topic_lastread"]=> string(24) "a:1:{i:10;i:1089530182;}" ["NewBBLastVisitTemp"]=> string(10) "1089535671" ["PHPSESSID"]=> string(32) "2875ee93a53db81056033d0f397067d8" }
i read somewhere that when you use input type="button" that it automatically sends the image's position on the page (in pixels) to the server in X Y coordinates. looks like that's what its doing with not_submit_x and not_submit_y. grr!
here's the result when i use a plain img src onclick="submit()" button:
le="color: #000000"><?php string(8) "_REQUEST" array(6) { ["not_redirect"]=> string(24) "/modules/newbb/index.php" ["not_list"]=> array(3) { [1]=> array(2) { ["params"]=> string(18) "global,0,new_forum" ["status"]=> string(1) "1" } [2]=> array(1) { ["params"]=> string(17) "global,0,new_post" } [3]=> array(1) { ["params"]=> string(21) "global,0,new_fullpost" } } ["NewBBLastVisit"]=> string(10) "1089576296" ["newbb_topic_lastread"]=> string(24) "a:1:{i:10;i:1089530182;}" ["NewBBLastVisitTemp"]=> string(10) "1089535671" ["PHPSESSID"]=> string(32) "2875ee93a53db81056033d0f397067d8" }
any idea what i should do? i can't figger out why its not submitting the form properly. here's what my notification_select template looks like:
le="color: #000000"><?php <{if $xoops_notification.show}> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <form name="notification_select" action="<{$xoops_notification.target_page}>" method="post"> <input type="hidden" name="not_redirect" value="<{$xoops_notification.redirect_script}>" /> <tr> <td colspan="3"><br /><{$lang_notificationmethodis}>: <font class="bold"><{$user_method}></font> [<a href="<{$editprofile_url}>"><{$lang_change}></a>]<br /><br /></td> </tr> <tr> <td valign="top"><font class="bold"><{$lang_category}>:</font></td> <td><input name="allbox" id="allbox" onclick="xoopsCheckAll('notification_select','allbox');" type="checkbox" value="<{$lang_checkall}>" /></td> <td><{$lang_events}></td> </tr> <{foreach name=outer item=category from=$xoops_notification.categories}> <{foreach name=inner item=event from=$category.events}> <tr> <{if $smarty.foreach.inner.first}> <td rowspan="<{$smarty.foreach.inner.total}>" valign="top"><font class="bold"><{$category.title}>:</font></td> <{/if}> <td><{counter assign=index}><input type="hidden" name="not_list[<{$index}>][params]" value="<{$category.name}>,<{$category.itemid}>,<{$event.name}>" /><input type="checkbox" id="not_list[]" name="not_list[<{$index}>][status]" value="1" <{if $event.subscribed}>checked<{/if}> /></td> <td><{$event.caption}></td> </tr> <{/foreach}> <{/foreach}> <tr> <td colspan="3" align="center"><img src="/themes/mj/dark/update.gif" name="not_submit" value="<{$lang_updatenow}>" onclick="submit()" /></td> </tr> </form> </table> <{/if}>
edit: sorry bout the long code