@@ -10,8 +10,11 @@ |
||
| 10 | 10 | <input type="hidden" name="table" value="<?=$this->table?>"> |
| 11 | 11 | <input type="hidden" name="id_in_table" value="<?=$this->id_in_table?>"> |
| 12 | 12 | </form> |
| 13 | -<?php else: ?> |
|
| 13 | +<?php else { |
|
| 14 | + : ?> |
|
| 14 | 15 | <div class="row"> |
| 15 | 16 | <p>You must be connected to publish a comment</p> |
| 16 | 17 | </div> |
| 17 | -<?php endif;?> |
|
| 18 | 18 | \ No newline at end of file |
| 19 | +<?php endif; |
|
| 20 | +} |
|
| 21 | +?> |
|
| 19 | 22 | \ No newline at end of file |
@@ -37,10 +37,10 @@ |
||
| 37 | 37 | |
| 38 | 38 | //-------------------------- GETTER ----------------------------------------------------------------------------// |
| 39 | 39 | public function getRequiredConnection() { |
| 40 | - return $this->required_connection; |
|
| 40 | + return $this->required_connection; |
|
| 41 | 41 | } |
| 42 | 42 | public function getCheckComment() { |
| 43 | - return $this->check_comment; |
|
| 43 | + return $this->check_comment; |
|
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | private function getSuccessMessagePublish() { |