public function debug_messages() { require_once "includes/general/messages.php"; $show_queries = config('show_queries'); $messages = array(); //$show_queries = (!$show_queries && logged_in() && current_user_id() == 1) ? 1 : $show_queries; if ($show_queries) { $messages = dump_messages("sql_queries"); } return $messages; }
<input type="hidden" name="logout" value="1" /> <button class="btn-link" type="submit"><?php echo _('Log ou'); ?> t</button> </form></a> </li> </ul> </li> <?php $GLOBALS['system']->printNavigation(); ?> </ul> </div><!--/.nav-collapse --> </div><!--/.navbar--> </div> <div id="body"> <?php dump_messages(); if ($title = $GLOBALS['system']->getTitle()) { echo '<h1>' . ents($title) . '</h1>'; } $GLOBALS['system']->printBody(); ?> </div> </div> </div> </body> </html>
function printConfirmation() { dump_messages(); ?> <h2>Installation Complete!</h2> You can now: <ul> <li><a target="_blank" href="<?php echo BASE_URL; ?> /readme.html">View the readme file</a> for further information</li> <li><a href="<?php echo BASE_URL; ?> ">Log in to the system</a> to start work</li> </ul> <?php }
function printConfirmation() { dump_messages(); ?> <h2>Installation Complete!</h2> You can now <a href="<?php echo BASE_URL; ?> ">log in to the system</a> to start work. <?php }