PageRenderTime 42ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://github.com/Fishgate/privatecollectionswp
PHP | 25 lines | 23 code | 2 blank | 0 comment | 0 complexity | 148e8a3b116cee49edecdbf7681ac90c MD5 | raw file
  1. <?php
  2. class C_NextGen_Basic_Album_Installer extends C_Gallery_Display_Installer
  3. {
  4. function install()
  5. {
  6. $this->install_display_type(
  7. NGG_BASIC_COMPACT_ALBUM, array(
  8. 'title' => __('NextGEN Basic Compact Album', 'nggallery'),
  9. 'entity_types' => array('album', 'gallery'),
  10. 'preview_image_relpath' => 'photocrati-nextgen_basic_album#compact_preview.jpg',
  11. 'default_source' => 'albums',
  12. 'view_order' => NGG_DISPLAY_PRIORITY_BASE + 200
  13. ));
  14. $this->install_display_type(
  15. NGG_BASIC_EXTENDED_ALBUM, array(
  16. 'title' => __('NextGEN Basic Extended Album', 'nggallery'),
  17. 'entity_types' => array('album', 'gallery'),
  18. 'preview_image_relpath' => 'photocrati-nextgen_basic_album#extended_preview.jpg',
  19. 'default_source' => 'albums',
  20. 'view_order' => NGG_DISPLAY_PRIORITY_BASE + 210
  21. ));
  22. }
  23. }