Browse Source

优化发布文章表格

tags/6.0.4^2
xushubieli 2 years ago
parent
commit
361952d34d
3 changed files with 12 additions and 12 deletions
  1. +8
    -8
      src/dede/templets/article_add.htm
  2. +2
    -2
      src/dede/templets/article_edit.htm
  3. +2
    -2
      src/dede/templets/index_menu2.htm

+ 8
- 8
src/dede/templets/article_add.htm View File

@@ -100,7 +100,7 @@ input,select{height:auto !important}
<td height="26" colspan="5" class="bline">
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100" style="padding-left:10px">自定义属性:</td>
<td width="90" style="padding-left:10px">自定义属性:</td>
<td align="left">
<?php
$dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc");
@@ -192,18 +192,18 @@ input,select{height:auto !important}
<td height="26" colspan="5" class="bline">
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100" style="padding-left:10px">文章主栏目:</td>
<td width="90" style="padding-left:10px">文章主栏目:</td>
<td>
<span id='typeidct'>
<span id="typeidct">
<?php
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid);
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n";
echo "<option value='0'>请选择栏目...</option>\r\n";
echo "<select name='typeid' id='typeid' style='width:240px'>";
echo "<option value='0'>请选择栏目</option>";
echo $typeOptions;
echo "</select>";
?>
</span>
<img src='images/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" alt='快捷选择' title='快捷选择'>
<img src="images/menusearch.gif" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" alt="快捷选择" title="快捷选择">
<?php
if($cfg_need_typeid2=='Y')
{
@@ -370,7 +370,7 @@ input,select{height:auto !important}
$dsql->Execute();
while($row = $dsql->GetObject())
{
echo "<option value='".$row->rank."'>".$row->membername."</option>\r\n";
echo "<option value='".$row->rank."'>".$row->membername."</option>";
}
?>
</select> </td>
@@ -417,7 +417,7 @@ input,select{height:auto !important}
foreach($cfg_tamplate_arr as $k=>$v)
{
$v = trim($v);
echo ($k==$rndsel ? "<option value='$v' selected>$v</option>\r\n" : "<option value='$v'>$v</option>\r\n");
echo ($k==$rndsel ? "<option value='$v' selected>$v</option>" : "<option value='$v'>$v</option>");
}
?>
</select>


+ 2
- 2
src/dede/templets/article_edit.htm View File

@@ -88,7 +88,7 @@ img{vertical-align:baseline}
<td width="400%" height="26" colspan="2" class="bline">
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100" style="padding-left:10px">自定义属性:</td>
<td width="90" style="padding-left:10px">自定义属性:</td>
<td>
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC");
@@ -182,7 +182,7 @@ img{vertical-align:baseline}
<td height="26" colspan="2" class="bline">
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100" style="padding-left:10px">文章主栏目:</td>
<td width="90" style="padding-left:10px">文章主栏目:</td>
<td>
<?php
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid);


+ 2
- 2
src/dede/templets/index_menu2.htm View File

@@ -22,8 +22,8 @@ div.items{clear:both;padding:0;height:0}
.fllct{float:left;width:80px}
.flrct{float:left;padding-top:4px}
.sitemu li{padding:0 0 0 20px;height:26px;line-height:26px;background:url(images/arr4.gif)no-repeat 6px 10px}
a.mmac div{padding:8px 4px 4px 10px;height:38px!important;font-weight:600;color:#325304;background:url(images/leftbg2.gif)no-repeat}
a.mm div{padding:8px 4px 4px 10px;height:38px!important;font-weight:600;color:#475645;cursor:pointer;background:url(images/leftmbg1.gif) no-repeat}
a.mmac div{padding:8px 4px 4px 10px;height:40px!important;font-weight:600;color:#325304;background:url(images/leftbg2.gif)no-repeat}
a.mm div{padding:8px 4px 4px 10px;height:40px!important;font-weight:600;color:#475645;background:url(images/leftmbg1.gif)no-repeat;cursor:pointer}
a.mm:hover div{color:#4f7632;background:url(images/leftbg2.gif)no-repeat}
.mmf{padding:6px;height:1px}
#mainct{padding-top:12px;background:url(images/idnbg1.gif)repeat-y}


Loading…
Cancel
Save