if(C('DEVELOP_MODE')==true){ {:L('PUBLIC_PAGE_CONFIGURATION')} } {$pageTitle}
{:L('PUBLIC_CHECH_IS')}
$key = is_array($pk) ? $pk[0] : $pk; $keyType = $pageKeyData['key_type'][$key]; if(is_array($pk)){ $pk = $pk[0];}
{:L('PUBLIC_SYSTEM_FIELD')} {:L('PUBLIC_ADMIN_TITLE')} {:L('PUBLIC_ADMIN_TYPE')} {:L('PUBLIC_ADMIN_MODIFY')} {:L('PUBLIC_ADMIN_INFO')} {:L('PUBLIC_ADMIN_NOTHING')}
{$pk}
if(!empty($pageTab)):
endif; if($pageKeyData=='null'){ {:L('PUBLIC_PLEASE')}{:L('PUBLIC_PAGE_CONFIGURATION')} }else{
onsubmit = "return {$onsubmit};" id='detail_form' name='detail_form'>
$upkey = 1; $key = $pk; $_pk = $pk; is_array($pk) && $pk = $pk[0]; $key = is_array($pk) ? $pk[0] : $pk; $defaultS = isset($detailData[$pk]) ? $detailData[$pk] : $pageKeyData['key_default'][$key]; $event = $pageKeyData['key_javascript'][$key]; $keyName = $pageKeyData['key_name'][$key] ? $pageKeyData['key_name'][$key] :$pk; $keyType = $pageKeyData['key_type'][$key] ? $pageKeyData['key_type'][$key] :'text'; if($keyType != 'hidden'):/*非隐藏域*/
if(in_array($pk,$notEmpty)){ * }{$keyName}:
endif; /*非隐藏域*/ if($keyType == 'text'): onfocus = "{$event}" class="s-txt" style='width:200px'> endif; if($keyType == 'password'): onfocus = "{$event}" class="s-txt" style='width:200px'> endif; if($keyType == 'select'): if($pk=='province' or $pk=='area'): onfocus = "{$event}" class="s-txt" style='width:200px'> endif; endif; if($keyType == 'department'): {:W('Department',array('inputName'=>$pk,'canChange'=>1,'tpl'=>'input','notop'=>1,'defaultName'=>$detailData['department_show'],'defaultId'=>intval($defaultS)))} endif; if($keyType == 'radio'): $nums = count($opt[$pk]); $tempi = 1; foreach($opt[$pk] as $sk=>$sv): $br = $nums >=6 && $tempi%3==0 ? '
':''; $tempi++;
endforeach;
{$br} endif; if($keyType == 'radio2'): $o = !is_array($detailData[$pk]) ? explode(';',trim($detailData[$pk],';')) : $detailData[$pk]; foreach($opt[$pk] as $sk=>$sv):

{$sv.name}:


if($v['child']){
}
endforeach; endif; /* checkBox 默认值是以","隔开的字符串,表示可以选多个 */ if($keyType == 'checkbox'): $defaultS = !is_array($defaultS) ? explode(',',trim($defaultS,',')) : $defaultS; foreach($opt[$pk] as $sk=>$sv): endforeach; endif; /* checkBox 默认值是以";"隔开的字符串,表示可以选多个 */ if($keyType == 'checkbox2'): $o = !is_array($detailData[$pk]) ? explode(';',trim($detailData[$pk],';')) : $detailData[$pk]; foreach($opt[$pk] as $sk=>$sv):

{$sv.title}:


endforeach; endif; /* 日期插件 支持一行多个*/ if($keyType == 'date'): if(is_array($_pk)){ foreach($_pk as $v=>$vv){ {:W('DateSelect',array('name'=>$pk."[]",'class'=>'s-txt','id'=>'from_'.$pk.'_'.$v,'value'=>$defaultS[$v],'dtype'=>'full'))} echo $v == (count($_pk)-1) ? '':' — '; } }else{ }endif; if($keyType == 'textarea'): endif; if($keyType == 'stringText'): {:W('StringText',array('inputname'=>$pk,'value'=>$defaultS))} endif; if($keyType == 'user'): {:W('SearchUser', array('uids'=>$defaultS, 'name'=>$pk,'follow'=>0, 'max'=>0,'noself'=>0))} endif; if($keyType == 'oneUser'): {:W('SearchUser', array('uids'=>$defaultS, 'name'=>$pk,'follow'=>0, 'max'=>1,'noself'=>0,))} endif; if($keyType == 'editor'): {:W('Editor',array('width'=>'80%','height'=>'200','contentName'=>$pk,'value'=>$defaultS))} endif; if($keyType == 'word'): endif; if($keyType == 'hidden'): endif; if($keyType === 'color'): {:W('Color', array('value'=>$defaultS, 'id'=>$pk))} endif; if($keyType == 'define'): {$detailData[$pk]} endif; if($keyType == 'image'):
++$upkey; endif; if($keyType == 'file2'):
endif; if($keyType == 'file'):
{:W('Upload',array('uploadType'=>'file','inputname'=>$pk,'attachIds'=>$defaultS))}
endif; if(!empty($pageKeyData['key_tishi'][$key])){

{$pageKeyData['key_tishi'][$key]}

} if($keyType != 'hidden'): /*非隐藏域*/
endif; /*隐藏域*/
}