/**
  *  render the application page and return the produced HTML
  *  
  *  @param string $output the requested method output string
  */
 public function _output($output)
 {
     theme_pagetitle($this->name);
     if ($this->ajax) {
         echo $output;
     } else {
         echo $this->load->view("edit_mode/app", array("app" => &$this, "content" => $output), TRUE);
     }
 }
Esempio n. 2
0
</div>
		<div class="menu">
			<?php 
theme_menu('ul', 'li', 'active', 0);
?>
		</div>
	</div>

	<div class="content">
		<div class="submenu">
				<?php 
theme_menu('ul', 'li', 'active', 1, true);
?>
		</div>
		<div class="kop"><?php 
theme_pagetitle();
?>
</div>
		<div class="txt">
			<?php 
theme_content();
?>
			<?php 
theme_area('main');
?>
		</div>
		<div style="clear: both;"> </div>
		<div class="footer">
			<?php 
theme_area('footer');
?>
<?php

echo theme_doctype();
theme_pagetitle(lang('system_forgot'));
theme_add('dijit.form.Button');
theme_add('dijit.Dialog');
theme_add('dijit.form.TextBox');
theme_add('dijit.form.Button');
theme_add('assets/style/auth_style.css');
theme_add('assets/style/style.css');
?>
<html>
<head>
	<?php 
echo theme_head();
?>
<script type="text/javascript" >
dojo.addOnLoad( null, function(){
	dijit.byId( 'loginD' ).show();
});
</script>
</head>
	<body class="claro">

		<div id="loginD" dojoType="dijit.Dialog" title="<?php 
echo lang('system_forgot');
?>
" >
		
<p><?php 
echo lang('system_please_enter_email');
Esempio n. 4
0
<?php

echo theme_doctype();
theme_pagetitle(lang('system_register'));
theme_add('dijit.form.Button');
theme_add('dijit.Dialog');
theme_add('dijit.form.TextBox');
theme_add('dijit.form.Button');
theme_add('assets/style/auth_style.css');
theme_add('assets/style/style.css');
?>
<html>
<head>
	<?php 
echo theme_head();
?>
<script type="text/javascript" >
dojo.addOnLoad( null, function(){
	dijit.byId( 'loginD' ).show();
});
</script>
</head>
	<body class="claro">

		<div id="loginD" dojoType="dijit.Dialog" title="<?php 
echo lang('system_register');
?>
" >
		
		<div class='mainInfo'>
		
Esempio n. 5
0
 /**
  * render the HTML of current section
  * that function works if that section is the current
  * section of the user
  **/
 public function render()
 {
     if (!$this->ci->system->section->can_view()) {
         show_error(lang('system_access_denied'));
     }
     $page_body = new Content(1);
     $page_body_text = $page_body->render();
     // adding the admin toolbar
     if ($this->ci->ion_auth->is_admin()) {
         $page_body_text .= $this->ci->load->view('edit_mode/toolbar', '', TRUE);
     }
     theme_pagetitle($this->name);
     // Rendering the page
     $this->ci->load->view('xhtml', array('body' => $page_body_text));
 }
Esempio n. 6
0
<?php

echo theme_doctype();
theme_pagetitle(lang('system_login'));
theme_add('dijit.form.Button');
theme_add('dijit.Dialog');
theme_add('dijit.form.TextBox');
theme_add('dijit.form.Button');
theme_add('assets/style/auth_style.css');
theme_add('assets/style/style.css');
?>
<html>
<head>
	<?php 
echo theme_head();
?>
<script type="text/javascript">
dojo.addOnLoad( null, function(){
	dijit.byId( 'loginD' ).show();
});
</script>
</head>
	<body class="<?php 
echo theme_dojotheme();
?>
">

		<div id="loginD" dojoType="dijit.Dialog" title="<?php 
echo lang('system_login');
?>
" >
<?php

echo theme_doctype();
theme_pagetitle(lang('system_change_password'));
theme_add('dijit.form.Button');
theme_add('dijit.Dialog');
theme_add('dijit.form.TextBox');
theme_add('dijit.form.Button');
theme_add('assets/style/auth_style.css');
theme_add('assets/style/style.css');
?>
<html>
<head>
	<?php 
echo theme_head();
?>
<script type="text/javascript" >
dojo.addOnLoad( null, function(){
	dijit.byId( 'loginD' ).show();
});
</script>
</head>
	<body class="claro">

		<div id="loginD" dojoType="dijit.Dialog" title="<?php 
echo lang('system_change_password');
?>
" >
		
<?php 
if (strlen($message) > 0) {