Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
25
application/views/auth/change_password.php
Normal file
25
application/views/auth/change_password.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<h1><?php echo lang('change_password_heading');?></h1>
|
||||
|
||||
<div id="infoMessage"><?php echo $message;?></div>
|
||||
|
||||
<?php echo form_open("auth/change_password");?>
|
||||
|
||||
<p>
|
||||
<?php echo lang('change_password_old_password_label', 'old_password');?> <br />
|
||||
<?php echo form_input($old_password);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label for="new_password"><?php echo sprintf(lang('change_password_new_password_label'), $min_password_length);?></label> <br />
|
||||
<?php echo form_input($new_password);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('change_password_new_password_confirm_label', 'new_password_confirm');?> <br />
|
||||
<?php echo form_input($new_password_confirm);?>
|
||||
</p>
|
||||
|
||||
<?php echo form_input($user_id);?>
|
||||
<p><?php echo form_submit('submit', lang('change_password_submit_btn'));?></p>
|
||||
|
||||
<?php echo form_close();?>
|
||||
20
application/views/auth/create_group.php
Normal file
20
application/views/auth/create_group.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<h1><?php echo lang('create_group_heading');?></h1>
|
||||
<p><?php echo lang('create_group_subheading');?></p>
|
||||
|
||||
<div id="infoMessage"><?php echo $message;?></div>
|
||||
|
||||
<?php echo form_open("auth/create_group");?>
|
||||
|
||||
<p>
|
||||
<?php echo lang('create_group_name_label', 'group_name');?> <br />
|
||||
<?php echo form_input($group_name);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('create_group_desc_label', 'description');?> <br />
|
||||
<?php echo form_input($description);?>
|
||||
</p>
|
||||
|
||||
<p><?php echo form_submit('submit', lang('create_group_submit_btn'));?></p>
|
||||
|
||||
<?php echo form_close();?>
|
||||
57
application/views/auth/create_user.php
Normal file
57
application/views/auth/create_user.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<h1><?php echo lang('create_user_heading');?></h1>
|
||||
<p><?php echo lang('create_user_subheading');?></p>
|
||||
|
||||
<div id="infoMessage"><?php echo $message;?></div>
|
||||
|
||||
<?php echo form_open("auth/create_user");?>
|
||||
|
||||
<p>
|
||||
<?php echo lang('create_user_fname_label', 'first_name');?> <br />
|
||||
<?php echo form_input($first_name);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('create_user_lname_label', 'last_name');?> <br />
|
||||
<?php echo form_input($last_name);?>
|
||||
</p>
|
||||
|
||||
<?php
|
||||
if($identity_column!=='email') {
|
||||
echo '<p>';
|
||||
echo lang('create_user_identity_label', 'identity');
|
||||
echo '<br />';
|
||||
echo form_error('identity');
|
||||
echo form_input($identity);
|
||||
echo '</p>';
|
||||
}
|
||||
?>
|
||||
|
||||
<p>
|
||||
<?php echo lang('create_user_company_label', 'company');?> <br />
|
||||
<?php echo form_input($company);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('create_user_email_label', 'email');?> <br />
|
||||
<?php echo form_input($email);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('create_user_phone_label', 'phone');?> <br />
|
||||
<?php echo form_input($phone);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('create_user_password_label', 'password');?> <br />
|
||||
<?php echo form_input($password);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('create_user_password_confirm_label', 'password_confirm');?> <br />
|
||||
<?php echo form_input($password_confirm);?>
|
||||
</p>
|
||||
|
||||
|
||||
<p><?php echo form_submit('submit', lang('create_user_submit_btn'));?></p>
|
||||
|
||||
<?php echo form_close();?>
|
||||
18
application/views/auth/deactivate_user.php
Normal file
18
application/views/auth/deactivate_user.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<h1><?php echo lang('deactivate_heading');?></h1>
|
||||
<p><?php echo sprintf(lang('deactivate_subheading'), $user->username);?></p>
|
||||
|
||||
<?php echo form_open("auth/deactivate/".$user->id);?>
|
||||
|
||||
<p>
|
||||
<?php echo lang('deactivate_confirm_y_label', 'confirm');?>
|
||||
<input type="radio" name="confirm" value="yes" checked="checked" />
|
||||
<?php echo lang('deactivate_confirm_n_label', 'confirm');?>
|
||||
<input type="radio" name="confirm" value="no" />
|
||||
</p>
|
||||
|
||||
<?php echo form_hidden($csrf); ?>
|
||||
<?php echo form_hidden(array('id'=>$user->id)); ?>
|
||||
|
||||
<p><?php echo form_submit('submit', lang('deactivate_submit_btn'));?></p>
|
||||
|
||||
<?php echo form_close();?>
|
||||
20
application/views/auth/edit_group.php
Normal file
20
application/views/auth/edit_group.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<h1><?php echo lang('edit_group_heading');?></h1>
|
||||
<p><?php echo lang('edit_group_subheading');?></p>
|
||||
|
||||
<div id="infoMessage"><?php echo $message;?></div>
|
||||
|
||||
<?php echo form_open(current_url());?>
|
||||
|
||||
<p>
|
||||
<?php echo lang('edit_group_name_label', 'group_name');?> <br />
|
||||
<?php echo form_input($group_name);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('edit_group_desc_label', 'description');?> <br />
|
||||
<?php echo form_input($group_description);?>
|
||||
</p>
|
||||
|
||||
<p><?php echo form_submit('submit', lang('edit_group_submit_btn'));?></p>
|
||||
|
||||
<?php echo form_close();?>
|
||||
66
application/views/auth/edit_user.php
Normal file
66
application/views/auth/edit_user.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<h1><?php echo lang('edit_user_heading');?></h1>
|
||||
<p><?php echo lang('edit_user_subheading');?></p>
|
||||
|
||||
<div id="infoMessage"><?php echo $message;?></div>
|
||||
|
||||
<?php echo form_open(uri_string());?>
|
||||
|
||||
<p>
|
||||
<?php echo lang('edit_user_fname_label', 'first_name');?> <br />
|
||||
<?php echo form_input($first_name);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('edit_user_lname_label', 'last_name');?> <br />
|
||||
<?php echo form_input($last_name);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('edit_user_company_label', 'company');?> <br />
|
||||
<?php echo form_input($company);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('edit_user_phone_label', 'phone');?> <br />
|
||||
<?php echo form_input($phone);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('edit_user_password_label', 'password');?> <br />
|
||||
<?php echo form_input($password);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('edit_user_password_confirm_label', 'password_confirm');?><br />
|
||||
<?php echo form_input($password_confirm);?>
|
||||
</p>
|
||||
|
||||
<?php if ($this->ion_auth->is_admin()): ?>
|
||||
|
||||
<h3><?php echo lang('edit_user_groups_heading');?></h3>
|
||||
<?php foreach ($groups as $group):?>
|
||||
<label class="checkbox">
|
||||
<?php
|
||||
$gID=$group['id'];
|
||||
$checked = null;
|
||||
$item = null;
|
||||
foreach($currentGroups as $grp) {
|
||||
if ($gID == $grp->id) {
|
||||
$checked= ' checked="checked"';
|
||||
break;
|
||||
}
|
||||
}
|
||||
?>
|
||||
<input type="checkbox" name="groups[]" value="<?php echo $group['id'];?>"<?php echo $checked;?>>
|
||||
<?php echo htmlspecialchars($group['name'],ENT_QUOTES,'UTF-8');?>
|
||||
</label>
|
||||
<?php endforeach?>
|
||||
|
||||
<?php endif ?>
|
||||
|
||||
<?php echo form_hidden('id', $user->id);?>
|
||||
<?php echo form_hidden($csrf); ?>
|
||||
|
||||
<p><?php echo form_submit('submit', lang('edit_user_submit_btn'));?></p>
|
||||
|
||||
<?php echo form_close();?>
|
||||
6
application/views/auth/email/activate.tpl.php
Normal file
6
application/views/auth/email/activate.tpl.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1><?php echo sprintf(lang('email_activate_heading'), $identity);?></h1>
|
||||
<p><?php echo sprintf(lang('email_activate_subheading'), anchor('auth/activate/'. $id .'/'. $activation, lang('email_activate_link')));?></p>
|
||||
</body>
|
||||
</html>
|
||||
6
application/views/auth/email/forgot_password.tpl.php
Normal file
6
application/views/auth/email/forgot_password.tpl.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1><?php echo sprintf(lang('email_forgot_password_heading'), $identity);?></h1>
|
||||
<p><?php echo sprintf(lang('email_forgot_password_subheading'), anchor('auth/reset_password/'. $forgotten_password_code, lang('email_forgot_password_link')));?></p>
|
||||
</body>
|
||||
</html>
|
||||
7
application/views/auth/email/new_password.tpl.php
Normal file
7
application/views/auth/email/new_password.tpl.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1><?php echo sprintf(lang('email_new_password_heading'), $identity);?></h1>
|
||||
|
||||
<p><?php echo sprintf(lang('email_new_password_subheading'), $new_password);?></p>
|
||||
</body>
|
||||
</html>
|
||||
15
application/views/auth/forgot_password.php
Normal file
15
application/views/auth/forgot_password.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<h1><?php echo lang('forgot_password_heading');?></h1>
|
||||
<p><?php echo sprintf(lang('forgot_password_subheading'), $identity_label);?></p>
|
||||
|
||||
<div id="infoMessage"><?php echo $message;?></div>
|
||||
|
||||
<?php echo form_open("auth/forgot_password");?>
|
||||
|
||||
<p>
|
||||
<label for="identity"><?php echo (($type=='email') ? sprintf(lang('forgot_password_email_label'), $identity_label) : sprintf(lang('forgot_password_identity_label'), $identity_label));?></label> <br />
|
||||
<?php echo form_input($identity);?>
|
||||
</p>
|
||||
|
||||
<p><?php echo form_submit('submit', lang('forgot_password_submit_btn'));?></p>
|
||||
|
||||
<?php echo form_close();?>
|
||||
31
application/views/auth/index.php
Normal file
31
application/views/auth/index.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<h1><?php echo lang('index_heading');?></h1>
|
||||
<p><?php echo lang('index_subheading');?></p>
|
||||
|
||||
<div id="infoMessage"><?php echo $message;?></div>
|
||||
|
||||
<table cellpadding=0 cellspacing=10>
|
||||
<tr>
|
||||
<th><?php echo lang('index_fname_th');?></th>
|
||||
<th><?php echo lang('index_lname_th');?></th>
|
||||
<th><?php echo lang('index_email_th');?></th>
|
||||
<th><?php echo lang('index_groups_th');?></th>
|
||||
<th><?php echo lang('index_status_th');?></th>
|
||||
<th><?php echo lang('index_action_th');?></th>
|
||||
</tr>
|
||||
<?php foreach ($users as $user):?>
|
||||
<tr>
|
||||
<td><?php echo htmlspecialchars($user->first_name,ENT_QUOTES,'UTF-8');?></td>
|
||||
<td><?php echo htmlspecialchars($user->last_name,ENT_QUOTES,'UTF-8');?></td>
|
||||
<td><?php echo htmlspecialchars($user->email,ENT_QUOTES,'UTF-8');?></td>
|
||||
<td>
|
||||
<?php foreach ($user->groups as $group):?>
|
||||
<?php echo anchor("auth/edit_group/".$group->id, htmlspecialchars($group->name,ENT_QUOTES,'UTF-8')) ;?><br />
|
||||
<?php endforeach?>
|
||||
</td>
|
||||
<td><?php echo ($user->active) ? anchor("auth/deactivate/".$user->id, lang('index_active_link')) : anchor("auth/activate/". $user->id, lang('index_inactive_link'));?></td>
|
||||
<td><?php echo anchor("auth/edit_user/".$user->id, 'Edit') ;?></td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
</table>
|
||||
|
||||
<p><?php echo anchor('auth/create_user', lang('index_create_user_link'))?> | <?php echo anchor('auth/create_group', lang('index_create_group_link'))?></p>
|
||||
28
application/views/auth/login.php
Normal file
28
application/views/auth/login.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<h1><?php echo lang('login_heading');?></h1>
|
||||
<p><?php echo lang('login_subheading');?></p>
|
||||
|
||||
<div id="infoMessage"><?php echo $message;?></div>
|
||||
|
||||
<?php echo form_open("auth/login");?>
|
||||
|
||||
<p>
|
||||
<?php echo lang('login_identity_label', 'identity');?>
|
||||
<?php echo form_input($identity);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('login_password_label', 'password');?>
|
||||
<?php echo form_input($password);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('login_remember_label', 'remember');?>
|
||||
<?php echo form_checkbox('remember', '1', FALSE, 'id="remember"');?>
|
||||
</p>
|
||||
|
||||
|
||||
<p><?php echo form_submit('submit', lang('login_submit_btn'));?></p>
|
||||
|
||||
<?php echo form_close();?>
|
||||
|
||||
<p><a href="forgot_password"><?php echo lang('login_forgot_password');?></a></p>
|
||||
22
application/views/auth/reset_password.php
Normal file
22
application/views/auth/reset_password.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<h1><?php echo lang('reset_password_heading');?></h1>
|
||||
|
||||
<div id="infoMessage"><?php echo $message;?></div>
|
||||
|
||||
<?php echo form_open('auth/reset_password/' . $code);?>
|
||||
|
||||
<p>
|
||||
<label for="new_password"><?php echo sprintf(lang('reset_password_new_password_label'), $min_password_length);?></label> <br />
|
||||
<?php echo form_input($new_password);?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo lang('reset_password_new_password_confirm_label', 'new_password_confirm');?> <br />
|
||||
<?php echo form_input($new_password_confirm);?>
|
||||
</p>
|
||||
|
||||
<?php echo form_input($user_id);?>
|
||||
<?php echo form_hidden($csrf); ?>
|
||||
|
||||
<p><?php echo form_submit('submit', lang('reset_password_submit_btn'));?></p>
|
||||
|
||||
<?php echo form_close();?>
|
||||
10
application/views/index.html
Normal file
10
application/views/index.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
88
application/views/welcome_message.php
Normal file
88
application/views/welcome_message.php
Normal file
@@ -0,0 +1,88 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Welcome to CodeIgniter</title>
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
::selection{ background-color: #E13300; color: white; }
|
||||
::moz-selection{ background-color: #E13300; color: white; }
|
||||
::webkit-selection{ background-color: #E13300; color: white; }
|
||||
|
||||
body {
|
||||
background-color: #fff;
|
||||
margin: 40px;
|
||||
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||
color: #4F5155;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #003399;
|
||||
background-color: transparent;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #444;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #D0D0D0;
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
margin: 0 0 14px 0;
|
||||
padding: 14px 15px 10px 15px;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||
font-size: 12px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #D0D0D0;
|
||||
color: #002166;
|
||||
display: block;
|
||||
margin: 14px 0 14px 0;
|
||||
padding: 12px 10px 12px 10px;
|
||||
}
|
||||
|
||||
#body{
|
||||
margin: 0 15px 0 15px;
|
||||
}
|
||||
|
||||
p.footer{
|
||||
text-align: right;
|
||||
font-size: 11px;
|
||||
border-top: 1px solid #D0D0D0;
|
||||
line-height: 32px;
|
||||
padding: 0 10px 0 10px;
|
||||
margin: 20px 0 0 0;
|
||||
}
|
||||
|
||||
#container{
|
||||
margin: 10px;
|
||||
border: 1px solid #D0D0D0;
|
||||
-webkit-box-shadow: 0 0 8px #D0D0D0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="container">
|
||||
<h1>Welcome to CodeIgniter!</h1>
|
||||
|
||||
<div id="body">
|
||||
<p>The page you are looking at is being generated dynamically by CodeIgniter.</p>
|
||||
|
||||
<p>If you would like to edit this page you'll find it located at:</p>
|
||||
<code>application/views/welcome_message.php</code>
|
||||
|
||||
<p>The corresponding controller for this page is found at:</p>
|
||||
<code>application/controllers/welcome.php</code>
|
||||
|
||||
<p>If you are exploring CodeIgniter for the very first time, you should start by reading the <a href="user_guide/">User Guide</a>.</p>
|
||||
</div>
|
||||
|
||||
<p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds</p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user