예제 #1
0
파일: basic.php 프로젝트: raku/MorCMS
<?php

defined('SYSPATH') or die('No direct script access.');
I18n::$view = 'pagination';
?>
<p class="pagination">

	<?php 
if ($first_page !== FALSE) {
    ?>
		<a href="<?php 
    echo HTML::chars($page->url($first_page));
    ?>
" rel="first"><?php 
    echo __('First');
    ?>
</a>
	<?php 
} else {
    ?>
		<?php 
    echo __('First');
    ?>
	<?php 
}
?>

	<?php 
if ($previous_page !== FALSE) {
    ?>
		<a href="<?php 
예제 #2
0
파일: layout.php 프로젝트: raku/MorCMS
<?php

defined('SYSPATH') or die('No direct script access.');
I18n::$view = 'layout';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html> 
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title><?php 
echo __($title);
?>
 - wunderCMS - Admin Panel</title>

	<?php 
echo Html::style('media/css/reset.css');
?>
	<?php 
echo Html::style('media/css/buttons.css');
?>
	<?php 
echo Html::style('media/css/style.css');
?>
	<?php 
echo Html::style('media/css/tpl-std.css');
?>
	<?php 
echo Html::style('media/css/jquery.jgrowl.css');
?>
	<?php 
echo Html::style('media/css/aristo/jquery-ui-1.8.7.custom.css');
예제 #3
0
파일: grid.php 프로젝트: raku/MorCMS
<?php

defined('SYSPATH') or die('No direct script access.');
I18n::$view = 'CRUD_' . $name;
?>

<div id="header">

    <h2><?php 
echo __($name);
?>
</h2>

    <?php 
echo Form::button(null, __('search'), array('class' => 'button icon search', 'id' => 'filter'));
?>
    <?php 
echo Html::anchor($base_controller . $name . '/add/', __('add'), array('class' => 'button icon add'));
?>

</div>

<?php 
if (count($data) != 0) {
    ?>
<table class="tpl selectable <?php 
    echo $sortable ? 'sortable' : '';
    ?>
">
    <thead>
        <tr>
예제 #4
0
파일: auth.php 프로젝트: raku/MorCMS
<?php

I18n::$view = 'auth';
?>

<?php 
if (isset($error)) {
    ?>
    <b>Error</b>
<?php 
}
?>

<form action="#" method="post">
    <div>
        <label for="authUsername"><?php 
echo __('username');
?>
</label>
        <input id="authUsername" type="text" name="username" />
    </div>
    <div>
        <label for="authPassword"><?php 
echo __('password');
?>
</label>
        <input id="authPassword" type="password" name="password" />
    </div>
    <div>
        <input type="submit" name="submit" value="<?php 
echo __('signin');