privatecollectionswp /htdocs/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_album/class.nextgen_basic_album_installer.php

Language PHP Lines 25
MD5 Hash 148e8a3b116cee49edecdbf7681ac90c
Repository https://github.com/Fishgate/privatecollectionswp.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

class C_NextGen_Basic_Album_Installer extends C_Gallery_Display_Installer
{
	function install()
	{
		$this->install_display_type(
			NGG_BASIC_COMPACT_ALBUM, array(
			'title'					=>	__('NextGEN Basic Compact Album', 'nggallery'),
			'entity_types'			=>	array('album', 'gallery'),
			'preview_image_relpath'	=>	'photocrati-nextgen_basic_album#compact_preview.jpg',
			'default_source'		=>	'albums',
			'view_order' => NGG_DISPLAY_PRIORITY_BASE + 200
		));

		$this->install_display_type(
			NGG_BASIC_EXTENDED_ALBUM, array(
			'title'					=>	__('NextGEN Basic Extended Album', 'nggallery'),
			'entity_types'			=>	array('album', 'gallery'),
			'preview_image_relpath'	=>	'photocrati-nextgen_basic_album#extended_preview.jpg',
			'default_source'		=>	'albums',
			'view_order' => NGG_DISPLAY_PRIORITY_BASE + 210
		));
	}
}
Back to Top