mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1118 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
77a0d87dfc
commit
428e44d492
4 changed files with 7 additions and 11 deletions
|
|
@ -357,9 +357,7 @@
|
|||
if($this->getColumnType($output->column_type,$name)!='number') {
|
||||
$value = "'".$this->addQuotes($value)."'";
|
||||
if(!$value) $value = 'null';
|
||||
} else {
|
||||
if(!$value) $value = 0;
|
||||
}
|
||||
} elseif(!$value || is_numeric($value)) $value = (int)$value;
|
||||
|
||||
if(strpos($name,'.')===false) $column_list[] = '"'.$name.'"';
|
||||
else $column_list[] = $name;
|
||||
|
|
@ -387,7 +385,7 @@
|
|||
|
||||
$value = $val['value'];
|
||||
if($this->getColumnType($output->column_type,$name)!='number') $value = "'".$this->addQuotes($value)."'";
|
||||
else $value = (int)$value;
|
||||
elseif(!$value || is_numeric($value)) $value = (int)$value;
|
||||
|
||||
if(strpos($name,'.')===false) $name = '"'.$name.'"';
|
||||
$column_list[] = sprintf('%s = %s', $name, $value);
|
||||
|
|
|
|||
|
|
@ -19,8 +19,6 @@
|
|||
**/
|
||||
function printContent(&$oModule) {
|
||||
|
||||
if(!$oModule->getTemplateFile()) return;
|
||||
|
||||
// header 출력
|
||||
$this->_printHeader();
|
||||
|
||||
|
|
|
|||
|
|
@ -317,11 +317,11 @@
|
|||
break;
|
||||
case 'plus' :
|
||||
$args = abs($args);
|
||||
$val = sprintf('%s+%d', $name, $args);
|
||||
$val = sprintf('"%s+%d"', $name, $args);
|
||||
break;
|
||||
case 'minus' :
|
||||
$args = abs($args);
|
||||
$val = sprintf('%s-%d', $name, $args);
|
||||
$val = sprintf('"%s-%d"', $name, $args);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -372,9 +372,9 @@
|
|||
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->updateModuleSkinVars($module_srl, $skin_vars);
|
||||
$url = sprintf("./?module=%s&act=%s&module_srl=%s&page=%s", Context::get('module'), 'dispBoardAdminSkinInfo', $module_srl, Context::get('page'));
|
||||
header("location:".$url);
|
||||
exit();
|
||||
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile("top_refresh.html");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue