aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r--h-source/Application/Views/Desktop/talk.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/h-source/Application/Views/Desktop/talk.php b/h-source/Application/Views/Desktop/talk.php
index 4f1e1b2..ac02490 100644
--- a/h-source/Application/Views/Desktop/talk.php
+++ b/h-source/Application/Views/Desktop/talk.php
@@ -116,6 +116,18 @@
<?php echo $notice;?>
+ <!--preiview-->
+ <?php if (isset($preview_message)) { ?>
+ <div class="message_preview_notice">
+ <?php echo gtext("preview of the message");?>:
+ </div>
+ <div class="issues_message_item_preview">
+ <div class="message_view_description">
+ <?php echo decodeWikiText($preview_message);?>
+ </div>
+ </div>
+ <?php } ?>
+
<div class="notebooks_insert_form">
<form action="<?php echo $this->baseUrl."/".$this->controller."/talk/$lang/$id_hard/$token".$this->viewStatus;?>#form" method="POST">
@@ -131,6 +143,7 @@
<?php echo Html_Form::textarea('message',$values['message'],'talk_textarea_entry','bb_code');?>
</div>
+ <input type="submit" name="previewAction" value="<?php echo gtext("Preview");?>">
<input type="submit" name="insertAction" value="<?php echo gtext("Save");?>">
</div>