From 8a56e4460fbb1634b9f5fc3bb2807b3826f8dbf1 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 31 Aug 2010 13:22:35 +0000 Subject: [PATCH] loosened username requirement added min-width for body added the description metatag for the project home page --- codepot/src/codepot/controllers/main.php | 3 ++- codepot/src/codepot/views/project_home.php | 1 + codepot/src/css/common.css | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/codepot/src/codepot/controllers/main.php b/codepot/src/codepot/controllers/main.php index 4c7ea1a1..c4fb0689 100644 --- a/codepot/src/codepot/controllers/main.php +++ b/codepot/src/codepot/controllers/main.php @@ -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('',''); diff --git a/codepot/src/codepot/views/project_home.php b/codepot/src/codepot/views/project_home.php index 09b2d7ab..42eef3f0 100644 --- a/codepot/src/codepot/views/project_home.php +++ b/codepot/src/codepot/views/project_home.php @@ -5,6 +5,7 @@ + diff --git a/codepot/src/css/common.css b/codepot/src/css/common.css index 2d086022..33fb75c9 100644 --- a/codepot/src/css/common.css +++ b/codepot/src/css/common.css @@ -1,6 +1,7 @@ body { padding: 0; margin: 5px 5px 5px 5px; + min-width: 600px; } .content