first commit
This commit is contained in:
23
admin/menu.photos.php
Normal file
23
admin/menu.photos.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
$main_class = 'MenuPhotos';
|
||||
|
||||
class MenuPhotos extends BaseAdminPhotos
|
||||
{
|
||||
use DatabaseCommunication;
|
||||
use \KupShop\ContentBundle\Util\BlocksTrait;
|
||||
|
||||
protected $relation_table_name = 'photos_menu_relation';
|
||||
protected $photo_type = 4;
|
||||
protected $tablefield = 'id_menu';
|
||||
protected $photo_nametype = 'Menu';
|
||||
protected $copy_from = 'ze stránky';
|
||||
protected $search_field = 'menu';
|
||||
|
||||
public function handleMovePhoto()
|
||||
{
|
||||
parent::handleMovePhoto();
|
||||
|
||||
$this->updateBlocksPhotosPositions($this->getID(), 'menu_links', $this->tablefield, $this->relation_table_name);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user