import v1.1.0_beta1 | 2009-08-21

This commit is contained in:
2019-07-17 22:16:19 +02:00
parent 2c1152f0d3
commit 8dee6b1a10
2306 changed files with 251360 additions and 23428 deletions

View File

@ -6,49 +6,33 @@
}
</style>
<![endif]-->
<em><?= $this->translate('This message will be sent to all registered Community-ID users') ?></em>
<form id="messageUsersForm" name="messageUsersForm" method="post" action="<?= $this->base ?>/messageusers/send">
<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">
<input type="hidden" name="messageType" value="rich" />
<dl class="shortLabelsForm">
<?= $this->messageUsersForm->subject ?>
<?= $this->messageUsersForm->cc ?>
</dl>
<?php echo $this->messageUsersForm->subject ?>
<?php echo $this->messageUsersForm->cc ?>
<div id="textareasWrapper">
<div id="linkSwitchToPlain">
<a href="#" onclick="COMMID.messageUsers.switchToPlainText()"><?= $this->translate('switch to Plain-Text') ?></a>
<a href="#" onclick="COMMID.messageUsers.switchToPlainText()"><?php echo $this->translate('switch to Plain-Text') ?></a>
</div>
<div id="linkSwitchToRich">
<a href="#" onclick="COMMID.messageUsers.switchToRichText()"><?= $this->translate('switch to Rich-Text (HTML)') ?></a>
<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 ?>
</div>
<dl class="shortLabelsForm">
<!-- can't use the Zend_Form here in order to overcome an IE bug -->
<dt id="bodyPlainDt">
<label for="bodyPlain" class="optional"><?= $this->translate('Body:') ?></label>
</dt>
<dd id="bodyPlainDd">
<textarea name="bodyPlain" id="bodyPlain" rows="24" cols="80"><?= $this->messageUsersForm->bodyPlain->getValue() ?></textarea>
</dd>
<dt id="bodyHTMLDt">
<label for="bodyHTML" class="optional"><?= $this->translate('Body:') ?></label>
</dt>
<dd id="bodyHTMLDd">
<textarea name="bodyHTML" id="bodyHTML" rows="24" cols="80"><?= $this->messageUsersForm->bodyHTML->getValue() ?></textarea>
</dd>
</dl>
</div>
<input type="submit" id="send" value="<?= $this->translate('Send') ?>" />
<input type="submit" id="send" value="<?php echo $this->translate('Send') ?>" />
<script type="text/javascript">
var oButton = new YAHOO.widget.Button("send");
</script>
</form>
<script type="text/javascript">
YAHOO.util.Event.onDOMReady(function() {
COMMID.loader.insert(
["resize", "menu", "editor"],
function() {
COMMID.editor.init('100%','500px', 'bodyHTML');
$("messageUsersForm").onsubmit = COMMID.messageUsers.send;
}
);
});
YAHOO.util.Event.onDOMReady(function() {
$("messageUsersForm").onsubmit = COMMID.messageUsers.send;
});
</script>