Changeset 1041 for trunk/install


Ignore:
Timestamp:
Feb 14, 2006, 2:14:31 AM (18 years ago)
Author:
rvelices
Message:

feature 251: Rating For Anonymous users

fix: pageitems for favorites category and remove old use of $has_next,
$has_prev in picture.php (slideshow and favorites section)

optimization: one less sql query in picture.php when there are no comments

display of the refresh url in redirect.tpl (useful when debugging with
browser meta redirects disabled)

Location:
trunk/install
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/phpwebgallery_structure.sql

    r1028 r1041  
    174174  `user_id` smallint(5) NOT NULL default '0',
    175175  `element_id` mediumint(8) unsigned NOT NULL default '0',
     176  `anonymous_id` varchar(45) NOT NULL default '',
    176177  `rate` tinyint(2) unsigned NOT NULL default '0',
    177   PRIMARY KEY  (`user_id`,`element_id`)
     178  `date` date NOT NULL default '0000-00-00',
     179  PRIMARY KEY  (`element_id`,`user_id`,`anonymous_id`)
    178180) TYPE=MyISAM;
    179181
Note: See TracChangeset for help on using the changeset viewer.