Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 17 lines (16 sloc) 0.611 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?php if (!defined('APPLICATION')) exit();
   echo $this->Form->Open();
   echo $this->Form->Errors();
   echo $this->Form->Close();
?>
<div class="Info">
<?php
if ($this->RequestMethod == 'discussion')
$Message = T('DiscussionRequiresApproval', "Your discussion will appear after it is approved.");
else
$Message = T('CommentRequiresApproval', "Your comment will appear after it is approved.");
echo '<div>', $Message, '</div>';

if ($this->Data('DiscussionUrl'))
   echo '<div>', sprintf(T('Click <a href="%s">here</a> to go back to the discussion.'), Url($this->Data('DiscussionUrl'))), '</div>';
?>
</div>
Something went wrong with that request. Please try again.