diff -r 000000000000 -r 7caf561c50ee plugins/Gallery.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/Gallery.php Wed Jul 25 16:36:26 2007 -0400 @@ -0,0 +1,50 @@ +sql_query('CREATE TABLE '.table_prefix.'gallery( + img_id int(12) NOT NULL auto_increment, + is_folder tinyint(1) NOT NULL DEFAULT 0, + folder_parent int(12) DEFAULT NULL, + img_title varchar(255) NOT NULL DEFAULT \'\', + img_desc longtext NOT NULL DEFAULT \'\', + print_sizes longtext NOT NULL DEFAULT \'\', + img_filename varchar(255) NOT NULL, + img_time_upload int(12) NOT NULL DEFAULT 0, + img_time_mod int(12) NOT NULL DEFAULT 0, + PRIMARY KEY ( img_id ) + );'); + if ( !$q ) + $db->_die(); + + setConfig('gallery_version', GALLERY_VERSION); +} + +require( ENANO_ROOT . '/plugins/gallery/functions.php' ); +require( ENANO_ROOT . '/plugins/gallery/nssetup.php' ); +require( ENANO_ROOT . '/plugins/gallery/viewimage.php' ); +require( ENANO_ROOT . '/plugins/gallery/browser.php' ); +require( ENANO_ROOT . '/plugins/gallery/upload.php' ); +require( ENANO_ROOT . '/plugins/gallery/fetcher.php' ); + +?>