Version 2.2.2

This commit is contained in:
Neo committed 2025-12-19 00:24:35 -08:00
1 parent 22f1b963ee
commit a3bb603c96
858 files changed
+479463 -188140

No files matched your search

+10 -4
View File
@@ -18,10 +18,11 @@
+--------------------------------------------------------------------------
*/
define( 'GALLERY_PATH' , ROOT_PATH.'modules/gallery/' );
if ( ! defined( 'IN_ACP' ) )
{
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
exit();
}
@@ -44,11 +45,11 @@ class ad_gallery {
unset($$k);
}
$this->ipsclass->admin->page_title = "Invision Gallery Manager";
$this->ipsclass->admin->page_title = "Óïðàâëåíèå Invision Gallery";
$this->ipsclass->admin->page_detail = "You can set up and manage your gallery in this section.";
$this->ipsclass->admin->page_detail = "Ýòà ñåêöèÿ ïîçâîëÿåò âàì óïðàâëÿòü ãàëåðååé IP.Gallery .";
$this->ipsclass->admin->nav[] = array( 'section=components&act=gallery' , 'Invision Gallery Manager Home' );
$this->ipsclass->admin->nav[] = array( 'section=components&act=gallery' , 'Óïðàâëåíèå Invision Gallery' );
//-----------------------------------------
// Do some set up
@@ -66,6 +67,11 @@ class ad_gallery {
$section = ( $this->ipsclass->input['code'] ) ? "ad_{$this->ipsclass->input['code']}" : "ad_overview";
if( !in_array( $section, array( 'ad_overview', 'ad_albums', 'ad_cats', 'ad_groups', 'ad_media', 'ad_postform', 'ad_stats', 'ad_tools' ) ) )
{
$section = 'ad_overview';
}
require ROOT_PATH.'modules/gallery/lib/gallery_library.php';
$this->gallery_lib = new gallery_lib();
$this->gallery_lib->ipsclass =& $this->ipsclass;