loosened username requirement
added min-width for body added the description metatag for the project home page
This commit is contained in:
parent
fc8acff0e3
commit
8a56e4460f
@ -25,7 +25,8 @@ class Main extends Controller
|
||||
$this->load->model ('UserModel', 'users');
|
||||
$this->load->library(array('encrypt', 'form_validation', 'session'));
|
||||
|
||||
$this->form_validation->set_rules('user_name', 'username', 'required|alpha_dash');
|
||||
//$this->form_validation->set_rules('user_name', 'username', 'required|alpha_dash');
|
||||
$this->form_validation->set_rules('user_name', 'username', 'required');
|
||||
$this->form_validation->set_rules('user_pass', 'password', 'required');
|
||||
$this->form_validation->set_error_delimiters('<span class="form_field_error">','</span>');
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta name="keywords" content="<?=$project->id?>" />
|
||||
<meta name="description" content="<?=htmlspecialchars($project->summary)?>" />
|
||||
|
||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/project.css')?>" />
|
||||
|
@ -1,6 +1,7 @@
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 5px 5px 5px 5px;
|
||||
min-width: 600px;
|
||||
}
|
||||
|
||||
.content
|
||||
|
Loading…
Reference in New Issue
Block a user