mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-03 07:23:12 +02:00
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) git-svn-id: http://piwigo.org/svn/trunk@1131 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -140,7 +140,8 @@ DROP TABLE IF EXISTS `phpwebgallery_image_tag`;
|
||||
CREATE TABLE `phpwebgallery_image_tag` (
|
||||
`image_id` mediumint(8) unsigned NOT NULL default '0',
|
||||
`tag_id` smallint(5) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`image_id`,`tag_id`)
|
||||
PRIMARY KEY (`image_id`,`tag_id`),
|
||||
KEY `image_tag_i1` (`tag_id`)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
--
|
||||
@@ -233,7 +234,8 @@ CREATE TABLE `phpwebgallery_tags` (
|
||||
`id` smallint(5) unsigned NOT NULL auto_increment,
|
||||
`name` varchar(255) binary NOT NULL default '',
|
||||
`url_name` varchar(255) binary NOT NULL default '',
|
||||
PRIMARY KEY (`id`)
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `tags_i1` (`url_name`)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user