Changeset 791 for trunk

Show
Ignore:
Timestamp:
10/02/08 18:47:46 (7 weeks ago)
Author:
aarkerio
Message:

Update SQL tables

Location:
trunk/app
Files:
3 modified

Legend:

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

    r436 r791  
    66    "created" timestamp(0) with time zone DEFAULT now() NOT NULL, 
    77    "level" int NOT NULL DEFAULT 0,  -- build the message thread if reply exist 
    8     "sender" int NOT NULL REFERENCES users(id) ON DELETE CASCADE, -- Who send the message 
     8    "sender_id" int NOT NULL REFERENCES users(id) ON DELETE CASCADE, -- Who send the message 
    99    "user_id" int NOT NULL REFERENCES users(id) ON DELETE CASCADE,  -- Who receive the message 
    1010    "status" smallint NOT NULL DEFAULT 0 
  • trunk/app/views/entries/admin_listing.ctp

    r776 r791  
    2929 
    3030<?php 
    31 $paginator->options(array('url' => $val['User']['username'])); 
     31if ( isset($val) ): 
     32   $paginator->options(array('url' => $val['User']['username'])); 
     33endif; 
    3234 
    3335$t  = $html->div(null,$paginator->prev('« '.__('Previous', true),null,null,array('class'=>'disabled')),array('style'=>'width:100px;float:left')); 
  • trunk/app/views/users/admin_edit.ctp

    r789 r791  
    11<?php  
    22 //die( var_dump( $this->data ) );  
    3  
    4  echo $javascript->link('myfunctions');  
    53 
    64 if ($this->data['User']['id'] != $session->read('Auth.User.id')):