Selaa lähdekoodia

自定义字段位置出现调整同步

tags/6.2.0
xushubieli 3 vuotta sitten
vanhempi
commit
4bee778eac
7 muutettua tiedostoa jossa 57 lisäystä ja 66 poistoa
  1. +5
    -5
      src/admin/templets/album_add.htm
  2. +7
    -4
      src/admin/templets/album_edit.htm
  3. +6
    -10
      src/admin/templets/archives_edit.htm
  4. +5
    -5
      src/admin/templets/article_add.htm
  5. +5
    -9
      src/admin/templets/article_edit.htm
  6. +2
    -2
      src/admin/templets/spec_add.htm
  7. +27
    -31
      src/admin/templets/spec_edit.htm

+ 5
- 5
src/admin/templets/album_add.htm Näytä tiedosto

@@ -198,7 +198,7 @@ table{border-collapse:separate}
echo "<option value='0'>请选择栏目</option>";
echo $typeOptions;
echo "</select>";
?>
?>
</span>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'></i>
<?php
@@ -254,9 +254,6 @@ table{border-collapse:separate}
</table>
</td>
</tr>
<tr>
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -348,6 +345,9 @@ table{border-collapse:separate}
</table>
</td>
</tr>
<tr>
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td>
</tr>
<tr>
<td width="100%" height="26" colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -360,7 +360,7 @@ table{border-collapse:separate}
</tr>
<tr id="handfield">
<td colspan="4" class="bline" style="background:url(../static/web/img/albviewbg.jpg) #fff 0 20px no-repeat;">
<table width='100%' height='160' style="margin:0 0 20px 0">
<table width="100%" height="160">
<tr>
<td>
<div id="divFileProgressContainer"></div>


+ 7
- 4
src/admin/templets/album_edit.htm Näytä tiedosto

@@ -163,7 +163,8 @@ table{border-collapse:separate}
</td>
<td align="center"><img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px"></td>
</tr>
</table></td>
</table>
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline"><table width="900" cellspacing="0" cellpadding="0">
@@ -194,7 +195,7 @@ table{border-collapse:separate}
if($arcRow['typeid']=='0') echo "<option value='0' selected>请选择主分类</option>";
echo $typeOptions;
echo '</select>';
?>
?>
<i class='btn btn-sm fa fa-search' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title='快捷选择'></i>
</td>
<td width="90">消费金币:</td>
@@ -244,9 +245,11 @@ table{border-collapse:separate}
}
?>
<tr>
<td><?php
<td>
<?php
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');
?></td>
?>
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline"><table width="900" cellspacing="0" cellpadding="0">


+ 6
- 10
src/admin/templets/archives_edit.htm Näytä tiedosto

@@ -236,14 +236,7 @@ table{border-collapse:separate}
}
?>
<tr>
<td>
<?php
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow);
?>
</td>
</tr>
<tr>
<td width="400%" height="26">
<td width="900" height="26">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;附加选项:</td>
@@ -257,9 +250,12 @@ table{border-collapse:separate}
</table>
</td>
</tr>
<tr>
<td><?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow); ?></td>
</tr>
</table>
<!--高级参数-->
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6display:none">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;display:none">
<tr>
<td height="26" colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -331,7 +327,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="70" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;更新时间:</td>


+ 5
- 5
src/admin/templets/article_add.htm Näytä tiedosto

@@ -194,7 +194,7 @@ table{border-collapse:separate}
<?php
if($cfg_need_typeid2=='Y')
{
echo "<a href='javascript:AddTypeid2();' class='btn btn-success btn-sm'>选择副栏目</a>";
echo "<a href='javascript:AddTypeid2();' class='btn btn-success btn-sm'>选择副栏目</a>";
}
?>
</td>
@@ -244,9 +244,6 @@ table{border-collapse:separate}
</table>
</td>
</tr>
<tr>
<td colspan="2"><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td>
</tr>
<tr>
<td width="100%" height="26" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -277,13 +274,16 @@ table{border-collapse:separate}
</table>
</td>
</tr>
<tr>
<td colspan="2"><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td>
</tr>
<tr>
<td width="100%" id="arcBody">
<?php
GetEditor("body",$body,450);
?>
</td>
<td width="260" align="center" bgcolor="#FFFFCC" id="mPic" style="display:none"></td>
<td width="260" align="center" id="mPic" style="display:none"></td>
</tr>
</table>
<!--高级参数-->


+ 5
- 9
src/admin/templets/article_edit.htm Näytä tiedosto

@@ -237,13 +237,6 @@ table{border-collapse:separate}
</table>
</td>
</tr>
<tr>
<td colspan="2">
<?php
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');
?>
</td>
</tr>
<tr>
<td width="400%" height="26" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -257,13 +250,16 @@ table{border-collapse:separate}
</table>
</td>
</tr>
<tr>
<td colspan="2"><?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield'); ?></td>
</tr>
<tr>
<td width="100%"><?php GetEditor("body",stripcslashes($addRow['body']),450); ?></td>
<td width="260" align="center" bgcolor="#FFFFCC" id="mPic" style="display:none"></td>
<td width="260" align="center" id="mPic" style="display:none"></td>
</tr>
</table>
<!--高级参数-->
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6display:none">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;display:none">
<tr>
<td height="26" colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">


+ 2
- 2
src/admin/templets/spec_add.htm Näytä tiedosto

@@ -298,8 +298,8 @@ table{border-collapse:separate}
{
if($i==1)
{
$nodename = '默认节点';
$nodeid = 'default';
$nodename = '默认节点';
$nodeid = 'default';
} else {
$nodename = $nodeid = '';
}


+ 27
- 31
src/admin/templets/spec_edit.htm Näytä tiedosto

@@ -291,11 +291,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td>
<?php
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');
?>
</td>
<td><?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield'); ?></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none;border:1px solid #dee2e6">
@@ -306,32 +302,32 @@ table{border-collapse:separate}
<td height="26">
<table width="98%" cellspacing="2" cellpadding="2">
<?php
$speclisttmp = GetSysTemplets("spec_arclist.htm");
$i = 1;
$dtp = new DedeTagParse();
$dtp->LoadSource($addRow["note"]);
if(is_array($dtp->CTags)){
foreach($dtp->CTags as $tagid=>$ctag)
{
if($ctag->GetName()!="specnote") continue;
$notename = $ctag->GetAtt('name');
$col = $ctag->GetAtt('col');
$idlist = $ctag->GetAtt('idlist');
$imgwidth = $ctag->GetAtt('imgwidth');
$imgheight = $ctag->GetAtt('imgheight');
$titlelen = $ctag->GetAtt('titlelen');
$infolen = $ctag->GetAtt('infolen');
$temp = trim($ctag->GetInnerText());
$noteid = $ctag->GetAtt('noteid');
if(empty($noteid)) $noteid = $i;
$isauto = $ctag->GetAtt('isauto');
if(empty($isauto)) $isauto = 0;
$keywords = $ctag->GetAtt('keywords');
$typeid = $ctag->GetAtt('typeid');
if(empty($typeid)) $typeid = 0;
$rownum = $ctag->GetAtt('rownum');
if(empty($rownum)) $rownum = 40;
?>
$speclisttmp = GetSysTemplets("spec_arclist.htm");
$i = 1;
$dtp = new DedeTagParse();
$dtp->LoadSource($addRow["note"]);
if(is_array($dtp->CTags)){
foreach($dtp->CTags as $tagid=>$ctag)
{
if($ctag->GetName()!="specnote") continue;
$notename = $ctag->GetAtt('name');
$col = $ctag->GetAtt('col');
$idlist = $ctag->GetAtt('idlist');
$imgwidth = $ctag->GetAtt('imgwidth');
$imgheight = $ctag->GetAtt('imgheight');
$titlelen = $ctag->GetAtt('titlelen');
$infolen = $ctag->GetAtt('infolen');
$temp = trim($ctag->GetInnerText());
$noteid = $ctag->GetAtt('noteid');
if(empty($noteid)) $noteid = $i;
$isauto = $ctag->GetAtt('isauto');
if(empty($isauto)) $isauto = 0;
$keywords = $ctag->GetAtt('keywords');
$typeid = $ctag->GetAtt('typeid');
if(empty($typeid)) $typeid = 0;
$rownum = $ctag->GetAtt('rownum');
if(empty($rownum)) $rownum = 40;
?>
<tr bgcolor="#F8FCF1">
<td width="260">节点<?php echo $i?>名称:</td>
<td colspan="2">


Loading…
Peruuta
Tallenna