Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Require Fire Event in Add message

iMughaliMughal New
edited September 2012 in Vanilla 2.0 - 2.8

Require a new FireEvent in "applications\conversations\views\messages\add.php".
to apply Editors and something else.
Code After FireEvent:

<?php if (!defined('APPLICATION')) exit();
$this->Title(T('Start a New Conversation'));
<div id="ConversationForm">
   <h1><?php echo T('Start a New Conversation'); ?></h1>
   echo $this->Form->Open();
   echo $this->Form->Errors();
   echo '<div class="P">';
      echo $this->Form->Label('Recipients', 'To');
      echo Wrap($this->Form->TextBox('To', array('MultiLine' => TRUE, 'class' => 'MultiComplete')), 'div', array('class' => 'TextBoxWrapper'));
   echo '</div>';
   if (C('Conversations.Subjects.Visible')) {
      echo '<div class="P">';
         echo $this->Form->Label('Subject', 'Subject');
         echo Wrap(
            $this->Form->TextBox('Subject', array('class' => 'InputBox BigInput')),
            array('class' => 'TextBoxWrapper'));
      echo '</div>';
   echo '<div class="P">';
      echo Wrap($this->Form->TextBox('Body', array('MultiLine' => TRUE)), 'div', array('class' => 'TextBoxWrapper'));
   echo '</div>';
   echo $this->Form->Close('Start Conversation');
Sign In or Register to comment.