| Conditions | 2 |
| Paths | 2 |
| Total Lines | 19 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | function print_page($header = true) |
||
| 31 | { |
||
| 32 | if(!$this->is_admin) |
||
| 33 | { |
||
| 34 | $this->body = ' |
||
| 35 | <div class="row"> |
||
| 36 | <div class="col-lg-12"> |
||
| 37 | <h1 class="page-header"> |
||
| 38 | You must |
||
| 39 | <a href="'.$this->profilesUrl.'/login.php?return='.$this->currentUrl().'">log in |
||
| 40 | <span class="glyphicon glyphicon-log-in"></span> |
||
| 41 | </a> |
||
| 42 | to access the Burning Flipside Profile Admin system! |
||
| 43 | </h1> |
||
| 44 | </div> |
||
| 45 | </div>'; |
||
| 46 | } |
||
| 47 | parent::printPage($header); |
||
| 48 | } |
||
| 49 | } |
||
| 51 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.