Changeset 1131 for trunk/install


Ignore:
Timestamp:
Apr 6, 2006, 4:23:54 AM (18 years ago)
Author:
rvelices
Message:

improvement: urls for tags can contain now only the tag or the id and tag

improvement: urls for category can be now id and category names (instead
of only id)

improvement: added 2 indexes (#image_tag.tag_id and #tags.url_name)

improvement: identification, register, search pages automatically set focus
on first form input

improvement: focus, nofocus css class now valid for all forms

fix: category comment is tag stripped in category_subcats.inc.php
(otherwise issues with html/scripts inside category comment)

Location:
trunk/install
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/phpwebgallery_structure.sql

    r1121 r1131  
    141141  `image_id` mediumint(8) unsigned NOT NULL default '0',
    142142  `tag_id` smallint(5) unsigned NOT NULL default '0',
    143   PRIMARY KEY  (`image_id`,`tag_id`)
     143  PRIMARY KEY  (`image_id`,`tag_id`),
     144  KEY `image_tag_i1` (`tag_id`)
    144145) TYPE=MyISAM;
    145146
     
    234235  `name` varchar(255) binary NOT NULL default '',
    235236  `url_name` varchar(255) binary NOT NULL default '',
    236   PRIMARY KEY  (`id`)
     237  PRIMARY KEY  (`id`),
     238  KEY `tags_i1` (`url_name`)
    237239) TYPE=MyISAM;
    238240
Note: See TracChangeset for help on using the changeset viewer.