- Timestamp:
- 10/10/08 21:32:44 (8 weeks ago)
- Location:
- trunk/app
- Files:
-
- 6 modified
-
config/sql/postgresql/ts_index.sql (modified) (1 diff)
-
controllers/users_controller.php (modified) (1 diff)
-
views/elements/login.ctp (modified) (2 diffs)
-
views/elements/login_hide.ctp (modified) (1 diff)
-
views/elements/search.ctp (modified) (2 diffs)
-
webroot/css/portal/portal.css (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/config/sql/postgresql/ts_index.sql
r805 r808 1 1 CREATE TEXT SEARCH DICTIONARY karamelo_es ( 2 template = snowball,3 language = spanish,2 template = snowball, 3 language = spanish, 4 4 stopwords = spanish 5 5 ); 6 6 7 7 CREATE TEXT SEARCH CONFIGURATION public.karamelo_es ( COPY = pg_catalog.spanish ); 8 9 CREATE TEXT SEARCH DICTIONARY karamelo_en ( 10 template = snowball, 11 language = english, 12 stopwords = english 13 ); 14 15 CREATE TEXT SEARCH CONFIGURATION public.karamelo_en ( COPY = pg_catalog.english ); 16 8 17 9 18 CREATE INDEX pgnews_idx ON news USING gin(to_tsvector('karamelo_es', body)); -
trunk/app/controllers/users_controller.php
r788 r808 215 215 public function login() 216 216 { 217 if ($this->Auth->user()):218 if (!empty($this->data)):217 if ($this->Auth->user()): 218 if (!empty($this->data)): 219 219 if (empty($this->data['User']['remember_me'])): 220 220 $this->Cookie->del('User'); -
trunk/app/views/elements/login.ctp
r674 r808 4 4 <legend><?php __('Login'); ?></legend> 5 5 <?php 6 echo $form->input('User.email', array('size' => 1 5, 'maxlength'=> 45, 'between'=>'<br />')) . '<br />';6 echo $form->input('User.email', array('size' => 13, 'maxlength'=> 45, 'between'=>'<br />')) . '<br />'; 7 7 echo $form->label('User.pwd', 'Password: ').'<br />'; 8 8 echo $form->password('User.pwd', array('id' => 'user_pwd', 'size' => 9, 'maxlength' => 9)) . '<br />'; … … 14 14 15 15 <?php 16 echo $html-> para(null, $html->link(__('Join us!', true), '/users/register'));17 echo $html-> para(null, $html->link(__('Forgot your password?', true), '/recovers/recover'));16 echo $html->div(null, $html->link(__('Join us!', true), '/users/register')); 17 echo $html->div(null, $html->link(__('Forgot your password?', true), '/recovers/recover')); 18 18 ?> 19 19 </div> -
trunk/app/views/elements/login_hide.ctp
r794 r808 22 22 echo $form->input('User.email', array('size' => 30, 'maxlength'=>50, 'between' => ': <br />')) . "<br />"; 23 23 24 echo $form->input(' pwd', array('between'=>'<br />', 'type' => 'password', 'label'=>'Password:', 'size' => 9, 'maxlength'=> 9));24 echo $form->input('User.pwd', array('between'=>'<br />', 'type' => 'password', 'label'=>'Password:', 'size' => 9, 'maxlength'=> 9)); 25 25 26 26 echo $form->label('remember_me', __('Remember me', true)); 27 echo $form->checkbox('User. cookie');27 echo $form->checkbox('User.remember_me'); 28 28 29 29 echo $form->end(__('Login', true)); -
trunk/app/views/elements/search.ctp
r806 r808 23 23 //]]> 24 24 </script> 25 <div style="margin:0 0 22px 0;padding:0;" 25 26 <?php 26 27 echo $form->create('Entry', array('action'=>'search', 'onsubmit'=>"return chkSearch()")); … … 30 31 echo $form->end('Search'); 31 32 ?> 33 </div> -
trunk/app/webroot/css/portal/portal.css
r790 r808 86 86 .bg1 { background: url(/css/portal/img/img04.gif) no-repeat left bottom; } 87 87 .bg2 { background: url(/css/portal/img/img05.gif) no-repeat left bottom; } 88 .bg3 { background: url(/css/portal/img/img06.gif) no-repeat left bottom; }88 .bg3 { background: url(/css/portal/img/img06.gif) no-repeat left bottom; padding:0;margin:0;} 89 89 .bg4 { background: url(/css/portal/img/img08.gif) no-repeat left bottom; } 90 90 .bg5 { background: url(/css/portal/img/img09.gif) no-repeat left bottom; } … … 136 136 .outbutton{ text-align:center;margin:25px 0; } 137 137 /*Login boxes*/ 138 #login{ padding:0;margin:15px 0 25px 0;} 138 139 #cover { 139 140 position: absolute; … … 146 147 filter: alpha(opacity=70); 147 148 z-index: 5; 148 } 149 149 } 150 150 #loginpopup { 151 151 position: absolute;
