mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +00:00
- Removed method index, inbox, view and outbox from controller
system/Messages - Removed views messageReply, messageView, messages, messagesInbox and messagesOutbox - Removed menu item "Nachrichten" from VileSci->Admin - Controller system/Messages: method write also works for replying to a message - View system/messageWrite also worki for replying to a message - Updated content/messages.js.php to call the system/Messages controller with the new parameters
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
<?php $this->load->view("templates/header", array("title" => "MessageReply", "jquery" => true, "tinymce" => true)); ?>
|
||||
|
||||
<body>
|
||||
|
||||
<?php
|
||||
$href = str_replace("/system/Messages/write", "/system/Messages/send", $_SERVER["REQUEST_URI"]);
|
||||
?>
|
||||
|
||||
<form id="sendForm" method="post" action="<?php echo $href; ?>">
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
@@ -33,15 +36,30 @@
|
||||
<strong>Subject:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<input id="subject" type="text" value="" name="subject" size="70">
|
||||
<?php
|
||||
$subject = '';
|
||||
if (isset($message))
|
||||
{
|
||||
$subject = 'Re: '.$message->subject;
|
||||
}
|
||||
?>
|
||||
<input id="subject" type="text" value="<?php echo $subject; ?>" name="subject" size="70">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td width="80%">
|
||||
<strong>Message:</strong><br>
|
||||
<textarea id="bodyTextArea" name="body"></textarea>
|
||||
<?php
|
||||
$body = '';
|
||||
if (isset($message))
|
||||
{
|
||||
$body = $message->body;
|
||||
}
|
||||
?>
|
||||
<textarea id="bodyTextArea" name="body"><?php echo $body; ?></textarea>
|
||||
</td>
|
||||
<td width="3%"> </td>
|
||||
<td width="17%">
|
||||
@@ -143,7 +161,6 @@
|
||||
?>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
|
||||
<script>
|
||||
tinymce.init({
|
||||
@@ -254,4 +271,7 @@
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
|
||||
</body>
|
||||
|
||||
<?php $this->load->view("templates/footer"); ?>
|
||||
Reference in New Issue
Block a user