mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Remove trailing whitespace
This commit is contained in:
parent
c5267b42fd
commit
37b0d3a1e6
71 changed files with 806 additions and 806 deletions
|
|
@ -18,7 +18,7 @@ class layoutAdminController extends layout
|
|||
/**
|
||||
* Create a new layout
|
||||
* Insert a title into "layouts" table in order to create a layout
|
||||
* @deprecated
|
||||
* @deprecated
|
||||
* @return void|Object (void : success, Object : fail)
|
||||
*/
|
||||
function procLayoutAdminInsert()
|
||||
|
|
@ -65,7 +65,7 @@ class layoutAdminController extends layout
|
|||
* Initiate if it is faceoff layout
|
||||
* @param int $layout_srl
|
||||
* @param string $layout_name
|
||||
* @return void
|
||||
* @return void
|
||||
*/
|
||||
function initLayout($layout_srl, $layout_name)
|
||||
{
|
||||
|
|
@ -278,12 +278,12 @@ class layoutAdminController extends layout
|
|||
|
||||
$layout_file = $oLayoutModel->getUserLayoutHtml($layout_srl);
|
||||
FileHandler::removeFile($layout_file);
|
||||
|
||||
|
||||
// Delete Layout
|
||||
$args = new stdClass();
|
||||
$args->layout_srl = $layout_srl;
|
||||
$output = executeQuery("layout.deleteLayout", $args);
|
||||
|
||||
|
||||
Rhymix\Framework\Cache::delete('layout:' . $args->layout_srl);
|
||||
|
||||
if(!$output->toBool()) return $output;
|
||||
|
|
@ -390,7 +390,7 @@ class layoutAdminController extends layout
|
|||
$ext = substr(strrchr($filename,'.'),1);
|
||||
$filename = sprintf('%s.%s', md5($filename), $ext);
|
||||
}
|
||||
|
||||
|
||||
if(file_exists($path .'/'. $filename)) @unlink($path . $filename);
|
||||
if(!move_uploaded_file($source['tmp_name'], $path . $filename )) return false;
|
||||
return true;
|
||||
|
|
@ -693,7 +693,7 @@ class layoutAdminController extends layout
|
|||
$args->extra_vars = $output->extra_vars;
|
||||
$extra_vars = unserialize($args->extra_vars);
|
||||
$image_list = array();
|
||||
|
||||
|
||||
if($layout->extra_var_count && $extra_vars)
|
||||
{
|
||||
$reg = "/^.\/files\/attach\/images\/([0-9]+)\/(.*)/";
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ class layoutAdminView extends layout
|
|||
$layout_info = $oLayoutModel->getLayoutInfo($item->layout, null, $type);
|
||||
if ($layout_info)
|
||||
{
|
||||
$layout_list[$item->layout]['title'] = $layout_info->title;
|
||||
$layout_list[$item->layout]['title'] = $layout_info->title;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
/**
|
||||
* @class layout
|
||||
* @author NAVER (developers@xpressengine.com)
|
||||
* high class of the layout module
|
||||
* high class of the layout module
|
||||
*/
|
||||
class layout extends ModuleObject
|
||||
{
|
||||
|
|
@ -13,7 +13,7 @@ class layout extends ModuleObject
|
|||
*/
|
||||
function moduleInstall()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -31,7 +31,7 @@ class layout extends ModuleObject
|
|||
*/
|
||||
function moduleUpdate()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -40,7 +40,7 @@ class layout extends ModuleObject
|
|||
*/
|
||||
function recompileCache()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
/* End of file layout.class.php */
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ class layoutModel extends layout
|
|||
unset($output->data[$no]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$oLayoutAdminModel = getAdminModel('layout');
|
||||
$siteDefaultLayoutSrl = $oLayoutAdminModel->getSiteDefaultLayout($layout_type);
|
||||
if($siteDefaultLayoutSrl)
|
||||
|
|
@ -64,7 +64,7 @@ class layoutModel extends layout
|
|||
$responsiveLayoutInfo->title = lang('use_responsive_pc_layout');
|
||||
array_unshift($output->data, $responsiveLayoutInfo);
|
||||
}
|
||||
|
||||
|
||||
return $output->data;
|
||||
}
|
||||
|
||||
|
|
@ -162,7 +162,7 @@ class layoutModel extends layout
|
|||
$titleList[$dLayoutInfo->layout] = $dLayoutInfo->title;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if($layout)
|
||||
{
|
||||
if(count($instanceList) < 1 && $downloadedList[$layout])
|
||||
|
|
@ -265,7 +265,7 @@ class layoutModel extends layout
|
|||
{
|
||||
return $layout_info;
|
||||
}
|
||||
|
||||
|
||||
// Get information from the DB
|
||||
$args = new stdClass();
|
||||
$args->layout_srl = $layout_srl;
|
||||
|
|
@ -589,7 +589,7 @@ class layoutModel extends layout
|
|||
|
||||
$count = count($extra_vars);
|
||||
$extra_var_count += $count;
|
||||
|
||||
|
||||
for($i=0;$i<$count;$i++)
|
||||
{
|
||||
unset($var, $options);
|
||||
|
|
@ -680,7 +680,7 @@ class layoutModel extends layout
|
|||
$extra_var_groups = $xml_obj->extra_vars->group;
|
||||
if(!$extra_var_groups) $extra_var_groups = $xml_obj->extra_vars;
|
||||
if(!is_array($extra_var_groups)) $extra_var_groups = array($extra_var_groups);
|
||||
|
||||
|
||||
$extra_var_count = 0;
|
||||
$buff[] = '$layout_info->extra_var = new stdClass;';
|
||||
foreach($extra_var_groups as $group)
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class layoutView extends layout
|
|||
|
||||
/**
|
||||
* Preview a layout with module.
|
||||
*
|
||||
*
|
||||
* @return Object
|
||||
*/
|
||||
public function dispLayoutPreviewWithModule()
|
||||
|
|
@ -260,7 +260,7 @@ class layoutView extends layout
|
|||
{
|
||||
throw new Rhymix\Framework\Exception(lang('msg_unabled_preview'));
|
||||
}
|
||||
|
||||
|
||||
$mid = current($output->data)->mid;
|
||||
}
|
||||
|
||||
|
|
@ -397,7 +397,7 @@ class layoutView extends layout
|
|||
}
|
||||
else
|
||||
{
|
||||
return '';
|
||||
return '';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -413,7 +413,7 @@ class layoutView extends layout
|
|||
}
|
||||
else
|
||||
{
|
||||
return '';
|
||||
return '';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue