Changeset 808 for trunk

Show
Ignore:
Timestamp:
10/10/08 21:32:44 (8 weeks ago)
Author:
aarkerio
Message:

Little changes

Location:
trunk/app
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/config/sql/postgresql/ts_index.sql

    r805 r808  
    11CREATE TEXT SEARCH DICTIONARY karamelo_es ( 
    2     template = snowball, 
    3     language = spanish, 
     2    template  = snowball, 
     3    language  = spanish, 
    44    stopwords = spanish 
    55); 
    66 
    77CREATE TEXT SEARCH CONFIGURATION public.karamelo_es ( COPY = pg_catalog.spanish );  
     8 
     9CREATE TEXT SEARCH DICTIONARY karamelo_en ( 
     10    template  = snowball, 
     11    language  = english, 
     12    stopwords = english 
     13); 
     14 
     15CREATE TEXT SEARCH CONFIGURATION public.karamelo_en ( COPY = pg_catalog.english );  
     16 
    817 
    918CREATE INDEX pgnews_idx ON news USING gin(to_tsvector('karamelo_es', body)); 
  • trunk/app/controllers/users_controller.php

    r788 r808  
    215215 public function login() 
    216216 { 
    217     if ($this->Auth->user()): 
    218            if (!empty($this->data)): 
     217  if ($this->Auth->user()): 
     218       if (!empty($this->data)): 
    219219                if (empty($this->data['User']['remember_me'])): 
    220220                    $this->Cookie->del('User'); 
  • trunk/app/views/elements/login.ctp

    r674 r808  
    44<legend><?php __('Login'); ?></legend> 
    55  <?php  
    6    echo  $form->input('User.email', array('size' => 15, 'maxlength'=> 45, 'between'=>'<br />')) . '<br />'; 
     6   echo  $form->input('User.email', array('size' => 13, 'maxlength'=> 45, 'between'=>'<br />')) . '<br />'; 
    77   echo  $form->label('User.pwd', 'Password: ').'<br />'; 
    88   echo  $form->password('User.pwd', array('id' => 'user_pwd', 'size' => 9, 'maxlength' => 9)) . '<br />'; 
     
    1414 
    1515 <?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'));  
    1818 ?> 
    1919 </div> 
  • trunk/app/views/elements/login_hide.ctp

    r794 r808  
    2222   echo  $form->input('User.email', array('size' => 30, 'maxlength'=>50, 'between' => ': <br />')) . "<br />";    
    2323 
    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)); 
    2525 
    2626   echo $form->label('remember_me', __('Remember me', true)); 
    27    echo $form->checkbox('User.cookie'); 
     27   echo $form->checkbox('User.remember_me'); 
    2828 
    2929   echo $form->end(__('Login', true)); 
  • trunk/app/views/elements/search.ctp

    r806 r808  
    2323//]]> 
    2424</script> 
     25<div style="margin:0 0 22px 0;padding:0;" 
    2526<?php  
    2627    echo $form->create('Entry', array('action'=>'search', 'onsubmit'=>"return chkSearch()")); 
     
    3031   echo $form->end('Search'); 
    3132 ?> 
     33</div> 
  • trunk/app/webroot/css/portal/portal.css

    r790 r808  
    8686.bg1 { background: url(/css/portal/img/img04.gif) no-repeat left bottom; } 
    8787.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;} 
    8989.bg4 { background: url(/css/portal/img/img08.gif) no-repeat left bottom; } 
    9090.bg5 { background: url(/css/portal/img/img09.gif) no-repeat left bottom; } 
     
    136136.outbutton{ text-align:center;margin:25px 0; } 
    137137/*Login boxes*/ 
     138#login{ padding:0;margin:15px 0 25px 0;} 
    138139#cover {  
    139140      position: absolute; 
     
    146147      filter: alpha(opacity=70); 
    147148      z-index: 5; 
    148 }          
    149           
     149} 
    150150#loginpopup {  
    151151      position: absolute;