diff --git a/src/admin/templets/content_s_list.htm b/src/admin/templets/content_s_list.htm index 0476b15e..0b8395dc 100644 --- a/src/admin/templets/content_s_list.htm +++ b/src/admin/templets/content_s_list.htm @@ -8,6 +8,7 @@ + @@ -35,6 +36,7 @@ + diff --git a/src/system/customfields.func.php b/src/system/customfields.func.php index c8cf3782..2c30c11a 100755 --- a/src/system/customfields.func.php +++ b/src/system/customfields.func.php @@ -104,7 +104,8 @@ function GetFormItem($ctag, $admintype = 'admin') $nowtime = GetDateTimeMk(time()); $innertext = ""; } else if ($fieldType == 'img' || $fieldType == 'imgfile') { - $innertext = " "; + $fname = defined('DEDEADMIN')? 'form1' : 'addcontent'; + $innertext = " "; } else if ($fieldType == 'media') { $innertext = ""; } else if ($fieldType == 'addon') { @@ -405,18 +406,23 @@ function GetFormItemValue($ctag, $fvalue, $admintype = 'admin', $fieldname = '') $fvalue = trim($ntag->GetInnerText()); } } - $innertext = " "; + $fname = defined('DEDEADMIN')? 'form1' : 'addcontent'; + $innertext = " "; } else if ($ftype == "imgfile") { - $innertext = " "; + $fname = defined('DEDEADMIN')? 'form1' : 'addcontent'; + $innertext = " "; } else if ($ftype == "media") { - $innertext = " "; + $fname = defined('DEDEADMIN')? 'form1' : 'addcontent'; + $innertext = " "; } else if ($ftype == "addon") { - $innertext = " "; + $fname = defined('DEDEADMIN')? 'form1' : 'addcontent'; + $innertext = " "; } else if ($ftype == "int" || $ftype == "float") { $innertext = ""; } else if ($ftype == "relation") { + $fname = defined('DEDEADMIN')? 'form1' : 'addcontent'; $channel = ($ctag->GetAtt('channel') == "") ? "1" : $ctag->GetAtt('channel'); - $innertext = "
"; + $innertext = "
"; if ($ctag->GetAtt('automake') == 1) { $innertext .= ""; } diff --git a/src/theme/plus/post_diyform.htm b/src/theme/plus/post_diyform.htm index e4a2493e..5eabd0de 100644 --- a/src/theme/plus/post_diyform.htm +++ b/src/theme/plus/post_diyform.htm @@ -8,7 +8,7 @@ - +