Bugs item #848888, was opened at 2003-11-25 12:18
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110566&aid=848888&group_id=10566
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: translation
Group: enhancement
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: tobozo (tobozo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Template's HTML Form handling is not multilanguage compliant
Initial Comment:
There is no way to alter the value of the submit buttons
without breaking the form system. The tags <input
type=submit name=submit> are causing this.
Because 'submit' is a reserved function name in
javascript, the function submit() won't work.
Same thing for storyAdmin, topicAdmin, etc, etc. ..
Here's a little explanation of the problem
http://archives.hwg.org/hwg-
languages/000e01bfd18a$23700860$4596a8c0@...
Here's a little hack that will put the submit value in the
URL instead of in the POST data (worked fine on a
0.7.2) :
first I remove all input tags called 'submit', then I add
this javascript assuming I'm using a <form name=myform>
<script type="text/javascript">
function subForm(action) {
document.myform.action = '{ACTION_URL}?
submit='+action;
document.myform.submit();
}
</script>
So I can use a href link instead of the submit button :
<a href="javascript:subForm('save');" >Save me!</a>
hope this helps
tbz
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-10-29 09:00
Message:
Wov6px <a href="http://gfuorjgtzsyj.com/">gfuorjgtzsyj</a>,
[url=http://xnppnetmdbtu.com/]xnppnetmdbtu[/url],
[link=http://cgrvzqhgmzhh.com/]cgrvzqhgmzhh[/link],
http://dgxvqzizaici.com/
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110566&aid=848888&group_id=10566
|