Browse Source

系统行业样式调整

tags/6.2.8
叙述、别离 1 year ago
parent
commit
7ffa48a406
7 changed files with 15 additions and 15 deletions
  1. +1
    -1
      src/admin/ad_edit.php
  2. +1
    -1
      src/admin/mytag_edit.php
  3. +4
    -4
      src/admin/search_keywords_main.php
  4. +1
    -1
      src/admin/templets/stepselect_main.htm
  5. +2
    -2
      src/system/archive/freelist.class.php
  6. +3
    -3
      src/system/datalistcp.class.php
  7. +3
    -3
      src/system/typelink/typelink.class.php

+ 1
- 1
src/admin/ad_edit.php View File

@@ -21,7 +21,7 @@ if ($dopost == 'delete') {
} else if ($dopost == "gettag") {
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$jscode = "<script src='{$cfg_phpurl}/ad_js.php?aid=$aid'></script>";
$showhtml = "<xmp style='color:#333333;background-color:#ffffff'>\r\n\r\n$jscode\r\n\r\n</xmp>";
$showhtml = "<xmp>\r\n\r\n$jscode\r\n\r\n</xmp>";
$showhtml .= "预览:<iframe name='testfrm' frameborder='0' src='ad_edit.php?aid={$aid}&dopost=testjs' id='testfrm' width='100%' height='360'></iframe>";
$row = $dsql->GetOne("SELECT tagname from `#@__myad` WHERE aid='$aid' ");
$showtag = '{'."dede:myad name='{$row['tagname']}'/".'}';


+ 1
- 1
src/admin/mytag_edit.php View File

@@ -32,7 +32,7 @@ if ($dopost == 'delete') {
} else if ($dopost == "getjs") {
require_once(DEDEINC."/libraries/oxwindow.class.php");
$jscode = "<script src='{$cfg_phpurl}/mytag_js.php?aid=$aid'></script>";
$showhtml = "<xmp style='color:#333333;background-color:#ffffff'>\r\n\r\n$jscode\r\n\r\n</xmp>";
$showhtml = "<xmp>\r\n\r\n$jscode\r\n\r\n</xmp>";
$showhtml .= "预览:<iframe name='testfrm' frameborder='0' id='testfrm' src='mytag_edit.php?aid={$aid}&dopost=testjs'></iframe>";
$wintitle = "宏标记定义-获取标签";
$wecome_info = "<a href='mytag_main.php'>宏标记定义</a> - 获取标记";


+ 4
- 4
src/admin/search_keywords_main.php View File

@@ -81,11 +81,11 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid')
$dsql->Execute();
while ($row = $dsql->GetArray()) {
$line = "<tr align='center'>
<td><input name=\"aids[]\" type=\"checkbox\" class=\"np\" value=\"{$row['aid']}\" /></td>
<td><input name=\"aids[]\" type=\"checkbox\" value=\"{$row['aid']}\"></td>
<td>{$row['aid']}</td>
<td><input name='keyword' type='text' id='keyword{$row['aid']}' value='{$row['keyword']}' style='width:96%'></td>
<td><input name='spwords' type='text' id='spwords{$row['aid']}' value='{$row['spwords']}' style='width:96%'></td>
<td><input name='count' type='text' id='count{$row['aid']}' value='{$row['count']}' size='5'></td>
<td><input name='keyword' type='text' id='keyword{$row['aid']}' value='{$row['keyword']}'></td>
<td><input name='spwords' type='text' id='spwords{$row['aid']}' value='{$row['spwords']}'></td>
<td><input name='count' type='text' id='count{$row['aid']}' value='{$row['count']}'></td>
<td><a href='{$cfg_phpurl}/search.php?kwtype=0&keyword=".urlencode($row['keyword'])."&searchtype=titlekeyword' target='_blank'>{$row['result']}</a></td>
<td>".MyDate("Y-m-d H:i:s", $row['lasttime'])."</td>
<td>


+ 1
- 1
src/admin/templets/stepselect_main.htm View File

@@ -26,7 +26,7 @@
foreach($etypes as $arr)
{
$stylecolor = "";
if ($arr['issystem']==1) $stylecolor = " style='color:#999999' ";
if ($arr['issystem']==1) $stylecolor = " style='color:#999' ";
if ($egroup==$arr['egroup']) {
$selgroup = $arr['itemname'];
echo "<option value='{$arr['id']}' $stylecolor selected='1'>{$arr['egroup']}|{$arr['itemname']}</option>";


+ 2
- 2
src/system/archive/freelist.class.php View File

@@ -783,8 +783,8 @@ class FreeList
$plist = "<form name='pagelist' action='".$this->GetCurUrl()."'>$hidenform";
$plist .= $maininfo.$indexpage.$prepage.$listdd.$nextpage.$endpage;
if ($totalpage > $total_list) {
$plist .= "<input type='text' name='PageNo' value='".$this->PageNo."' style='width:30px' />\r\n";
$plist .= "<input type='submit' name='plistgo' value='GO' />\r\n";
$plist .= "<input type='text' name='PageNo' value='".$this->PageNo."'>\r\n";
$plist .= "<input type='submit' name='plistgo' value='GO'>\r\n";
}
$plist .= "</form>\r\n";
return $plist;


+ 3
- 3
src/system/datalistcp.class.php View File

@@ -306,10 +306,10 @@ class DataListCP
$plist .= $endpage;
}
if (preg_match("#form#i", $atts['listitem'])) {
$plist .= " <form name='pagelist' action='".$this->GetCurUrl()."' style='float:left' class='pagelistform'>$hidenform";
$plist .= " <form name='pagelist' action='".$this->GetCurUrl()."'>$hidenform";
if ($totalpage > $total_list) {
$plist .= "<input type='text' name='pageno' style='padding:0;width:30px;height:18px' />\r\n";
$plist .= "<input type='submit' name='plistgo' value='GO' style='padding:0;width:30px;height:22px' />\r\n";
$plist .= "<input type='text' name='pageno'>\r\n";
$plist .= "<input type='submit' name='plistgo' value='GO'>\r\n";
}
$plist .= "</form>\n";
}


+ 3
- 3
src/system/typelink/typelink.class.php View File

@@ -171,7 +171,7 @@ class TypeLink
$row = $this->dsql->GetOne("SELECT id,typename,ispart,channeltype FROM `#@__arctype` WHERE id='$hid'");
$channeltype = $row['channeltype'];
if ($row['ispart'] == 1) {
$this->OptionArrayList .= "<option value='".$row['id']."' style='background:#e9ecef;color:#545b62' selected>".$row['typename']."</option>\r\n";
$this->OptionArrayList .= "<option value='".$row['id']."' class='option1' selected>".$row['typename']."</option>\r\n";
} else {
$this->OptionArrayList .= "<option value='".$row['id']."' selected>".$row['typename']."</option>\r\n";
}
@@ -205,7 +205,7 @@ class TypeLink
while ($row = $this->dsql->GetObject()) {
if ($row->id != $hid) {
if ($row->ispart == 1) {
$this->OptionArrayList .= "<option value='".$row->id."' style='background:#e9ecef;color:#545b62'>".$row->typename."</option>\r\n";
$this->OptionArrayList .= "<option value='".$row->id."' class='option1'>".$row->typename."</option>\r\n";
} else {
$this->OptionArrayList .= "<option value='".$row->id."'>".$row->typename."</option>\r\n";
}
@@ -234,7 +234,7 @@ class TypeLink
if (!in_array($row->id, $oper)) continue;
}
if ($row->ispart == 1) {
$this->OptionArrayList .= "<option value='".$row->id."' style='background:#e9ecef;color:#545b62'>└$step ".$row->typename."</option>\r\n";
$this->OptionArrayList .= "<option value='".$row->id."' class='option1'>└$step ".$row->typename."</option>\r\n";
} else {
$this->OptionArrayList .= "<option value='".$row->id."'>└$step ".$row->typename."</option>\r\n";
}


Loading…
Cancel
Save