mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 15:52:17 +09:00
Issue 2380: Admin UI Refactoring - Advanced - Layouts
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11636 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
683b48658e
commit
01a0d56e32
12 changed files with 306 additions and 448 deletions
|
|
@ -354,28 +354,6 @@
|
|||
|
||||
}
|
||||
|
||||
/**
|
||||
* Pop-up details of the layout(conf/info.xml)
|
||||
* @deprecated
|
||||
* @return void
|
||||
**/
|
||||
function dispLayoutAdminInfo() {
|
||||
// Get the layout information
|
||||
$oLayoutModel = &getModel('layout');
|
||||
$layout_info = $oLayoutModel->getLayoutInfo(Context::get('selected_layout'));
|
||||
Context::set('layout_info', $layout_info);
|
||||
// Set the layout to be pop-up
|
||||
$this->setLayoutFile('popup_layout');
|
||||
|
||||
$security = new Security();
|
||||
$security->encodeHTML('layout_list..');
|
||||
$security->encodeHTML('layout_list..author..');
|
||||
$security->encodeHTML('layout_list..history..');
|
||||
$security->encodeHTML('layout_list..history..author..');
|
||||
// Set a template file
|
||||
$this->setTemplateFile('layout_detail_info');
|
||||
}
|
||||
|
||||
/**
|
||||
* Modify admin layout of faceoff
|
||||
* @deprecated
|
||||
|
|
@ -424,26 +402,6 @@
|
|||
$this->setTemplateFile('faceoff_layout_edit');
|
||||
}
|
||||
|
||||
/**
|
||||
* display used images info for faceoff
|
||||
* @deprecated
|
||||
* @return void
|
||||
**/
|
||||
function dispLayoutAdminLayoutImageList(){
|
||||
$layout_srl = Context::get('layout_srl');
|
||||
$oLayoutModel = &getModel('layout');
|
||||
// Image List
|
||||
$layout_image_list = $oLayoutModel->getUserLayoutImageList($layout_srl);
|
||||
Context::set('layout_image_list',$layout_image_list);
|
||||
// Path
|
||||
$layout_image_path = $oLayoutModel->getUserLayoutImagePath($layout_srl);
|
||||
Context::set('layout_image_path',$layout_image_path);
|
||||
|
||||
$this->setLayoutFile('popup_layout');
|
||||
|
||||
$this->setTemplateFile('layout_image_list');
|
||||
}
|
||||
|
||||
/**
|
||||
* Copy layout instance
|
||||
* @return void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue