layout thumbnail.png uploaded.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8985 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2011-09-02 05:13:10 +00:00
parent 35a23caba8
commit 4ba036f045
10 changed files with 282 additions and 272 deletions

View file

@ -28,9 +28,9 @@ class HTMLDisplayHandler {
$output = $oTemplate->compile($template_path, $tpl_file);
// add .admin div for adminitration pages
// add .x div for adminitration pages
if(Context::getResponseMethod() == 'HTML') {
if(Context::get('module')!='admin' && strpos(Context::get('act'),'Admin')>0) $output = '<div class="admin">'.$output.'</div>';
if(Context::get('module')!='admin' && strpos(Context::get('act'),'Admin')>0) $output = '<div class="x">'.$output.'</div>';
if(Context::get('layout') != 'none') {
if(__DEBUG__==3) $start = getMicroTime();