faceoff support

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8953 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-08-30 09:54:47 +00:00
parent 236bb1528b
commit 56b95cdb40
5 changed files with 55 additions and 50 deletions

View file

@ -21,6 +21,7 @@
// Set a layout list
$oLayoutModel = &getModel('layout');
$layout_list = $oLayoutModel->getDownloadedLayoutList('P', true);
$layout_list[] = $oLayoutModel->getLayoutInfo('faceoff', null, 'P');
Context::set('type', 'P');
$pcLayoutCount = $oLayoutModel->getInstalledLayoutCount('P');