示例#1
0
 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;
 }
示例#2
0
										<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>
示例#3
0
    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 
    }
示例#4
0
    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 
    }