git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12241
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$compose_height = '550';
}
if ( checkForJavascript() ) {
$compose_height = '550';
}
if ( checkForJavascript() ) {
- $on_click=' onclick="comp_in_new_form(\''.$comp_uri.'\', this, this.form,'. $compose_width .',' . $compose_height .')"';
+ $on_click='comp_in_new_form(\''.$comp_uri.'\', this, this.form,'. $compose_width .',' . $compose_height .')';
$comp_uri = 'javascript:void(0)';
$method='get';
$onsubmit = 'return false';
$comp_uri = 'javascript:void(0)';
$method='get';
$onsubmit = 'return false';
* $form_onsubmit - The value of the <form>'s onsubmit handler (optional, may be blank)
* $compose_href - Base URL to forward, reply, etc. Note that a specific action
* must also be given by the form or in this URL.
* $form_onsubmit - The value of the <form>'s onsubmit handler (optional, may be blank)
* $compose_href - Base URL to forward, reply, etc. Note that a specific action
* must also be given by the form or in this URL.
- * $on_click - Onclick event string for all buttons
+ * $button_onclick - Onclick event string for all buttons
* $forward_as_attachment_enabled - boolean TRUE if forwarding as attachments
* has been enabled.
* $can_resume_draft - boolean TRUE if the "resume draft" is legitimate for
* $forward_as_attachment_enabled - boolean TRUE if forwarding as attachments
* has been enabled.
* $can_resume_draft - boolean TRUE if the "resume draft" is legitimate for
<?php
if ($can_resume_draft) {
?>
<?php
if ($can_resume_draft) {
?>
- <input type="submit" name="smaction_draft" value="<?php echo _("Resume Draft"); ?>" <?php echo $button_onclick; ?> />
+ <input type="submit" name="smaction_draft" value="<?php echo _("Resume Draft"); ?>" onclick="<?php echo $button_onclick; ?>" />
<?php
} elseif ($can_edit_as_new) {
?>
<?php
} elseif ($can_edit_as_new) {
?>
- <input type="submit" name="smaction_edit_new" value="<?php echo _("Edit Message as New"); ?>" <?php echo $button_onclick; ?> />
+ <input type="submit" name="smaction_edit_new" value="<?php echo _("Edit Message as New"); ?>" onclick="<?php echo $button_onclick; ?>" />
- <input type="submit" name="smaction_reply" value="<?php echo _("Reply"); ?>" <?php echo $button_onclick; ?> />
- <input type="submit" name="smaction_reply_all" value="<?php echo _("Reply All"); ?>" <?php echo $button_onclick; ?> />
+ <input type="submit" name="smaction_reply" value="<?php echo _("Reply"); ?>" onclick="<?php echo $button_onclick; ?>" />
+ <input type="submit" name="smaction_reply_all" value="<?php echo _("Reply All"); ?>" onclick="<?php echo $button_onclick; ?>" />
|
|
- <input type="submit" name="smaction_forward" value="<?php echo _("Forward"); ?>" <?php echo $button_onclick; ?> />
+ <input type="submit" name="smaction_forward" value="<?php echo _("Forward"); ?>" onclick="<?php echo $button_onclick; ?>" />
<?php
if ($forward_as_attachment_enabled) {
?>
<?php
if ($forward_as_attachment_enabled) {
?>
* $form_onsubmit - The value of the <form>'s onsubmit handler (optional, may be blank)
* $compose_href - Base URL to forward, reply, etc. Note that a specific action
* must also be given by the form or in this URL.
* $form_onsubmit - The value of the <form>'s onsubmit handler (optional, may be blank)
* $compose_href - Base URL to forward, reply, etc. Note that a specific action
* must also be given by the form or in this URL.
- * $on_click - Onclick event string for all buttons
+ * $button_onclick - Onclick event string for all buttons
* $forward_as_attachment_enabled - boolean TRUE if forwarding as attachments
* has been enabled.
* $can_resume_draft - boolean TRUE if the "resume draft" is legitimate for
* $forward_as_attachment_enabled - boolean TRUE if forwarding as attachments
* has been enabled.
* $can_resume_draft - boolean TRUE if the "resume draft" is legitimate for
<?php
if ($can_resume_draft) {
?>
<?php
if ($can_resume_draft) {
?>
- <input type="submit" name="smaction_draft" value="<?php echo _("Resume Draft"); ?>" <?php echo $button_onclick; ?> />
+ <input type="submit" name="smaction_draft" value="<?php echo _("Resume Draft"); ?>" onclick="<?php echo $button_onclick; ?>" />
<?php
} elseif ($can_edit_as_new) {
?>
<?php
} elseif ($can_edit_as_new) {
?>
- <input type="submit" name="smaction_edit_new" value="<?php echo _("Edit Message as New"); ?>" <?php echo $button_onclick; ?> />
+ <input type="submit" name="smaction_edit_new" value="<?php echo _("Edit Message as New"); ?>" onclick="<?php echo $button_onclick; ?>" />
- <input type="submit" name="smaction_reply" value="<?php echo _("Reply"); ?>" <?php echo $button_onclick; ?> />
- <input type="submit" name="smaction_reply_all" value="<?php echo _("Reply All"); ?>" <?php echo $button_onclick; ?> />
+ <input type="submit" name="smaction_reply" value="<?php echo _("Reply"); ?>" onclick="<?php echo $button_onclick; ?>" />
+ <input type="submit" name="smaction_reply_all" value="<?php echo _("Reply All"); ?>" onclick="<?php echo $button_onclick; ?>" />
|
|
- <input type="submit" name="smaction_forward" value="<?php echo _("Forward"); ?>" <?php echo $button_onclick; ?> />
+ <input type="submit" name="smaction_forward" value="<?php echo _("Forward"); ?>" onclick="<?php echo $button_onclick; ?>" />
<?php
if ($forward_as_attachment_enabled) {
?>
<?php
if ($forward_as_attachment_enabled) {
?>