{eqxue{if(C('DEVELOP_MODE')==true){?} {:L('PUBLIC_PAGE_CONFIGURATION')} {eqxue{}?} {$pageTitle}
{:L('PUBLIC_CHECH_IS')}

{:L('PUBLIC_SYSTEM_FIELD')} | {:L('PUBLIC_ADMIN_TITLE')} | {:L('PUBLIC_ADMIN_TYPE')} | {:L('PUBLIC_ADMIN_MODIFY')} | {:L('PUBLIC_ADMIN_INFO')} | {:L('PUBLIC_ADMIN_NOTHING')}
--- | --- | --- | --- | --- | ---
{eqxue{ $key = is_array($pk) ? $pk[0] : $pk; $keyType = $pageKeyData['key_type'][$key]; if(is_array($pk)){ $pk = $pk[0];} ?}
{$pk} |  |  |  |  |

{eqxue{if(!empty($pageTab)):?}

{eqxue{ !$_REQUEST['tabHash'] && $_REQUEST['tabHash'] = $pageTab[0]['tabHash'];?}
- {$t.title}

{eqxue{endif;?} {eqxue{ if($pageKeyData=='null'){?} {:L('PUBLIC_PLEASE')}{:L('PUBLIC_PAGE_CONFIGURATION')} {eqxue{}else{?} onsubmit = "return {$onsubmit};" name='detail_form'>
{eqxue{$upkey = 1;?} {eqxue{ $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'):/*非隐藏域*/ ?}

{eqxue{if(in_array($pk,$notEmpty)){?} * {eqxue{}?}{$keyName}：
  {eqxue{endif; /*非隐藏域*/ ?} {eqxue{if($keyType == 'text'):?} onfocus = "{$event}" class="s-txt" style='width:200px'> {eqxue{endif;?} {eqxue{if($keyType == 'password'):?} onfocus = "{$event}" class="s-txt" style='width:200px'> {eqxue{endif;?} {eqxue{ if($keyType == 'select'): ?}
  {eqxue{endif;?} {eqxue{if($keyType == 'department'):?} {:W('Department',array('inputName'=>$pk,'canChange'=>1,'tpl'=>'input','notop'=>1,'defaultName'=>$detailData['department_show'],'defaultId'=>intval($defaultS)))} {eqxue{endif;?} {eqxue{ if($keyType == 'radio'): $nums = count($opt[$pk]); $tempi = 1; foreach($opt[$pk] as $sk=>$sv): $br = $nums >=6 && $tempi%3==0 ? '
  ':''; $tempi++; ?} onclick = "{$event}" >{$sv} {eqxue{endforeach;?}
  {$br} {eqxue{endif;?} {eqxue{ /* checkBox 默认值是以","隔开的字符串,表示可以选多个 */ if($keyType == 'checkbox'): $defaultS = !is_array($defaultS) ? explode(',',trim($defaultS,',')) : $defaultS; foreach($opt[$pk] as $sk=>$sv): ?} onclick = "{$event}" >{$sv} {eqxue{endforeach; endif;?} {eqxue{ /* 日期插件 支持一行多个*/ 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'))} {eqxue{ echo $v == (count($_pk)-1) ? '':' — ';?} {eqxue{ } }else{ ?} {eqxue{}endif;?} {eqxue{if($keyType == 'textarea'):?} onfocus = "{$event}"</neq>>{$defaultS} {eqxue{endif;?} {eqxue{if($keyType == 'stringText'):?} {:W('StringText',array('inputname'=>$pk,'value'=>$defaultS))} {eqxue{endif;?} {eqxue{if($keyType == 'user'):?} {:W('SearchUser', array('uids'=>$defaultS, 'name'=>$pk,'follow'=>0, 'max'=>0,'noself'=>0))} {eqxue{endif;?} {eqxue{if($keyType == 'oneUser'):?} {:W('SearchUser', array('uids'=>$defaultS, 'name'=>$pk,'follow'=>0, 'max'=>1,'noself'=>0,))} {eqxue{endif;?} {eqxue{if($keyType == 'editor'):?} {:W('Editor',array('width'=>'99%','height'=>'200','contentName'=>$pk,'value'=>$defaultS))} {eqxue{endif;?} {eqxue{if($keyType == 'word'):?} onclick= "{$event}"> {$defaultS} {eqxue{endif;?} {eqxue{if($keyType == 'hidden'):?} {eqxue{endif;?} {eqxue{if($keyType === 'color'):?} {:W('Color', array('value'=>$defaultS, 'id'=>$pk))} {eqxue{endif;?} {eqxue{if($keyType == 'define'):?} {$detailData[$pk]} {eqxue{endif;?} {eqxue{if($keyType == 'image'):?}
  {eqxue{if($defaultS && is_numeric($defaultS)){?} {eqxue{}elseif (in_array($defaultS, array('level1.png', 'level2.png', 'level3.png', 'level4.png', 'level5.png', 'level6.png', 'level7.png', 'level8.png', 'level9.png', 'level10.png'))){?} {eqxue{}?}
  onchange="{$event}"/>
  {eqxue{++$upkey;?} {eqxue{endif;?} {eqxue{if($keyType == 'file'):?}
  {:W('Upload',array('uploadType'=>'file','inputname'=>$pk,'attachIds'=>$defaultS, 'limit'=>1))}
  {eqxue{endif;?} {eqxue{ if(!empty($pageKeyData['key_tishi'][$key])){?}

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

  {eqxue{ }?} {eqxue{if($keyType != 'hidden'): /*非隐藏域*/?}

{eqxue{endif; /*隐藏域*/ ?}
{eqxue{ } ?}