# *************************************************
# Coppermine Photo Gallery 1.4.X Right Click Menu Plugin
# *************************************************
# 2.0.0  Right Click Menu
# Copyright (C) 2006 Borzoo Mossavari <bmossavari@gmail.com>
# ************************************************* 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# *************************************************


#
# Table structure for table `CPG_plugin_rcmenu`
#
CREATE TABLE IF NOT EXISTS `CPG_plugin_rcmenu` (
  `id` INT(10) UNSIGNED NOT NULL default '0',
  `title` VARCHAR(45) NOT NULL DEFAULT 'My Project',
  `url` VARCHAR(255) NOT NULL DEFAULT 'http://www.myprj.com',
  `target` varchar(15) NOT NULL default '_self',

  `hrnext` int(1) unsigned NOT NULL default '0',

  `admin` int(1) unsigned NOT NULL default '1',
 
  PRIMARY KEY(`id`)
)
TYPE=MyISAM;

INSERT INTO `CPG_plugin_rcmenu` (id,title,url,target,hrnext,admin)VALUES ( '1','Home','URL to your gallery index.php','_self','0','0');
INSERT INTO `CPG_plugin_rcmenu` (id,title,url,target,hrnext,admin)VALUES ( '2','Upload','URL to upload.php','_self','0','0');
INSERT INTO `CPG_plugin_rcmenu` (id,title,url,target,hrnext,admin)VALUES ( '3','Search','URL to search.php','_self','1','0');
INSERT INTO `CPG_plugin_rcmenu` (id,title,url,target,hrnext,admin)VALUES ( '4','Email','mailto:user@mail.com','_self','1','1');
INSERT INTO `CPG_plugin_rcmenu` (id,title,url,target,hrnext,admin)VALUES ( '5','My Site','http://www.yourdomain.com','_blank','0','0');