2019-07-17 20:08:50 +00:00
|
|
|
<!--[if IE]>
|
|
|
|
<style>
|
|
|
|
/* avoid IE jumping when clearing float here */
|
|
|
|
#messageUsersForm #textareasWrapper dd {
|
|
|
|
clear : none;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<![endif]-->
|
2019-07-17 20:16:19 +00:00
|
|
|
<em><?php echo $this->translate('This message will be sent to all registered Community-ID users') ?></em>
|
|
|
|
<form id="messageUsersForm" name="messageUsersForm" method="post" action="<?php echo $this->base ?>/messageusers/send" class="formGrid">
|
2019-07-17 20:08:50 +00:00
|
|
|
<input type="hidden" name="messageType" value="rich" />
|
2019-07-17 20:16:19 +00:00
|
|
|
<?php echo $this->messageUsersForm->subject ?>
|
|
|
|
<?php echo $this->messageUsersForm->cc ?>
|
2019-07-17 20:08:50 +00:00
|
|
|
<div id="textareasWrapper">
|
|
|
|
<div id="linkSwitchToPlain">
|
2019-07-17 20:16:19 +00:00
|
|
|
<a href="#" onclick="COMMID.messageUsers.switchToPlainText()"><?php echo $this->translate('switch to Plain-Text') ?></a>
|
2019-07-17 20:08:50 +00:00
|
|
|
</div>
|
|
|
|
<div id="linkSwitchToRich">
|
2019-07-17 20:16:19 +00:00
|
|
|
<a href="#" onclick="COMMID.messageUsers.switchToRichText()"><?php echo $this->translate('switch to Rich-Text (HTML)') ?></a>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<div id="bodyPlainWrapper">
|
|
|
|
<?php echo $this->messageUsersForm->bodyPlain ?>
|
|
|
|
</div>
|
|
|
|
<div id="bodyHTMLWrapper">
|
|
|
|
<?php echo $this->messageUsersForm->bodyHTML ?>
|
2019-07-17 20:08:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-07-17 20:16:19 +00:00
|
|
|
<input type="submit" id="send" value="<?php echo $this->translate('Send') ?>" />
|
2019-07-17 20:08:50 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
var oButton = new YAHOO.widget.Button("send");
|
|
|
|
</script>
|
|
|
|
</form>
|
|
|
|
<script type="text/javascript">
|
2019-07-17 20:16:19 +00:00
|
|
|
YAHOO.util.Event.onDOMReady(function() {
|
|
|
|
$("messageUsersForm").onsubmit = COMMID.messageUsers.send;
|
|
|
|
});
|
2019-07-17 20:08:50 +00:00
|
|
|
</script>
|