Browse Source

btn

tags/6.1.8
xushubieli 2 years ago
parent
commit
8c0df49485
3 changed files with 69 additions and 69 deletions
  1. +36
    -36
      src/admin/archives_do.php
  2. +19
    -19
      src/admin/catalog_edit.php
  3. +14
    -14
      src/admin/templets/catalog_add_quick.htm

+ 36
- 36
src/admin/archives_do.php View File

@@ -343,19 +343,19 @@ else if ($dopost == 'moveArchives') {
echo "<input type='hidden' name='qstr' value='{$qstr}'>";
echo "<table width='100%' style='display:inline-block;z-index:9000'>";
?>
<tr height='26'>
<td width="86" class='bline'>&nbsp;目标栏目:</td>
<td class='bline'><?php echo $typeOptions; ?></td>
<tr>
<td width="86" height="26" class="bline">&nbsp;目标栏目:</td>
<td class="bline"><?php echo $typeOptions; ?></td>
</tr>
<tr height='26'>
<td width="86" class='bline'>&nbsp;文档ID:</td>
<td class='bline'>
<tr>
<td width="86" height="26" class="bline">&nbsp;文档ID:</td>
<td class="bline">
<input type='text' name='tmpids' value="<?php echo $qstr; ?>" style='width:320px;overflow:hidden'>
<br>移动到的目标栏目必须和选定的文档频道类型一致,否则程序会自动勿略不符合的文档
</td>
</tr>
<tr height='36'>
<td colspan='2' align='center' class='py-3'>
<tr>
<td colspan="2" align="center" class="py-3">
<button type='submit' class='btn btn-success'>保存</button>
<button type='button' onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class='btn btn-success'>关闭</button>
</td>
@@ -548,9 +548,9 @@ else if ($dopost == 'quickEdit') {
echo "<input type='hidden' name='oldtypeid' value='{$arcRow['typeid']}'>";
echo "<table width='100%' style='display:inline-block;z-index:9000'>";
?>
<tr height='26'>
<td width="86" class='bline'>&nbsp;所属栏目:</td>
<td class='bline'>
<tr>
<td width="86" height="26" class="bline">&nbsp;所属栏目:</td>
<td class="bline">
<?php
$typeOptions = GetOptionList($arcRow['typeid'], $cuserLogin->getUserChannel(), $arcRow['channel']);
echo "<select name='typeid' style='width:320px'>";
@@ -560,9 +560,9 @@ else if ($dopost == 'quickEdit') {
?>
</td>
</tr>
<tr height='26'>
<td width="86" class='bline'>&nbsp;属性:</td>
<td class='bline'>
<tr>
<td width="86" height="26" class="bline">&nbsp;属性:</td>
<td class="bline">
<input type='hidden' name='oldflag' value='<?php echo $arcRow['flag']; ?>'>
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC");
@@ -577,17 +577,17 @@ else if ($dopost == 'quickEdit') {
?>
</td>
</tr>
<tr height='26'>
<td width="86" class='bline'>&nbsp;标题:</td>
<td class='bline'><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:320px"></td>
<tr>
<td width="86" height="26" class="bline">&nbsp;标题:</td>
<td class="bline"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:320px"></td>
</tr>
<tr height='26'>
<td width="86" class='bline'>&nbsp;简略标题:</td>
<td class='bline'><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:320px"></td>
<tr>
<td width="86" height="26" class="bline">&nbsp;简略标题:</td>
<td class="bline"><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:320px"></td>
</tr>
<tr height='26'>
<td width="86" class='bline'>&nbsp;阅读权限:</td>
<td class='bline'>
<tr>
<td width="86" height="26" class="bline">&nbsp;阅读权限:</td>
<td class="bline">
<select name="arcrank" id="arcrank" style="width:100px">
<option value='<?php echo $arcRow["arcrank"] ?>'>
<?php echo $arcRow["rankname"] ?> </option>
@@ -603,12 +603,12 @@ else if ($dopost == 'quickEdit') {
需要金币:<input name="money" type="text" id="money" value="<?php echo $arcRow["money"]; ?>" style="width:100px">
</td>
</tr>
<tr height='26'>
<td width="86" class='bline'>&nbsp;关键词:</td>
<td class='bline'><input name="keywords" type="text" id="keywords" value="<?php echo $arcRow['keywords']; ?>" style="width:320px"></td>
<tr>
<td width="86" height="26" class="bline">&nbsp;关键词:</td>
<td class="bline"><input name="keywords" type="text" id="keywords" value="<?php echo $arcRow['keywords']; ?>" style="width:320px"></td>
</tr>
<tr height='36'>
<td colspan='2' align='center' class='py-3'>
<tr>
<td colspan="2" align="center" class="py-3">
<button type='submit' class='btn btn-success'>保存</button>
<button type='button' onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class='btn btn-success'>关闭</button>
</td>
@@ -865,9 +865,9 @@ else if ($dopost == 'attsDlg') {
echo "<input type='hidden' name='qstr' value='{$qstr}'>";
echo "<table width='100%' style='display:inline-block;z-index:9000'>";
?>
<tr height='26'>
<td width="86" class='bline'>&nbsp;属性:</td>
<td class='bline'>
<tr>
<td width="86" height="26" class="bline">&nbsp;属性:</td>
<td class="bline">
<input type='hidden' name='oldflag' value='<?php echo $arcRow['flag']; ?>'>
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC");
@@ -879,12 +879,12 @@ else if ($dopost == 'attsDlg') {
?>
</td>
</tr>
<tr height='26'>
<td width="86" class='bline'>&nbsp;文档ID:</td>
<td class='bline'><input type='text' name='tmpids' value="<?php echo $qstr; ?>" style='width:320px;overflow:hidden'></td>
<tr>
<td width="86" height="26" class="bline">&nbsp;文档ID:</td>
<td class="bline"><input type='text' name='tmpids' value="<?php echo $qstr; ?>" style='width:320px;overflow:hidden'></td>
</tr>
<tr height='36'>
<td colspan='2' align='center' class='py-3'>
<tr>
<td colspan="2" align="center" class="py-3">
<button type='submit' class='btn btn-success'>保存</button>
<button type='button' onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class='btn btn-success'>关闭</button>
</td>


+ 19
- 19
src/admin/catalog_edit.php View File

@@ -165,15 +165,15 @@ if ($dopost == 'time') {
<input type="hidden" name="moresite" value="<?php echo $myrow['moresite']; ?>">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="160" class='bline' height="26" align="center">是否支持投稿:</td>
<td class='bline'>
<td width="160" class="bline" height="26" align="center">是否支持投稿:</td>
<td class="bline">
<label><input type='radio' name='issend' value='0' class='np' <?php if ($myrow['issend'] == "0") echo " checked='1' "; ?>>&nbsp;不支持</label>
<label><input type='radio' name='issend' value='1' class='np' <?php if ($myrow['issend'] == "1") echo " checked='1' "; ?>>&nbsp;支持</label>
</td>
</tr>
<tr>
<td class='bline' height="26" align="center">内容模型:</td>
<td class='bline'>
<td class="bline" height="26" align="center">内容模型:</td>
<td class="bline">
<?php
foreach ($channelArray as $k => $arr) {
if ($k == $channelid) echo "{$arr['typename']} | {$arr['nid']}";
@@ -183,16 +183,16 @@ if ($dopost == 'time') {
</td>
</tr>
<tr>
<td class='bline' height="26" align="center">栏目名称:</td>
<td class='bline'><input name="typename" type="text" id="typename" value="<?php echo $myrow['typename'] ?>" style="width:260px" class="iptxt"></td>
<td class="bline" height="26" align="center">栏目名称:</td>
<td class="bline"><input name="typename" type="text" id="typename" value="<?php echo $myrow['typename'] ?>" style="width:260px" class="iptxt"></td>
</tr>
<tr>
<td class='bline' height="26" align="center"> 排列顺序:</td>
<td class='bline'> <input name="sortrank" type="text" value="<?php echo $myrow['sortrank'] ?>" style="width:100px" class="iptxt">(由低 &gt; 高)</td>
<td class="bline" height="26" align="center"> 排列顺序:</td>
<td class="bline"> <input name="sortrank" type="text" value="<?php echo $myrow['sortrank'] ?>" style="width:100px" class="iptxt">(由低 &gt; 高)</td>
</tr>
<tr>
<td class='bline' height="26" align="center">浏览权限:</td>
<td class='bline'>
<td class="bline" height="26" align="center">浏览权限:</td>
<td class="bline">
<select name="corank" id="corank" style="width:100px">
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcrank` WHERE `rank` >= 0");
@@ -208,31 +208,31 @@ if ($dopost == 'time') {
</td>
</tr>
<tr>
<td class='bline' height="26" align="center">文件保存目录:</td>
<td class='bline'><input name="typedir" type="text" id="typedir" value="<?php echo $myrow['typedir'] ?>" style="width:260px"class="iptxt"></td>
<td class="bline" height="26" align="center">文件保存目录:</td>
<td class="bline"><input name="typedir" type="text" id="typedir" value="<?php echo $myrow['typedir'] ?>" style="width:260px"class="iptxt"></td>
</tr>
<tr>
<td height="26" align="center" class='bline'>栏目列表选项:</td>
<td class='bline'>
<td height="26" align="center" class="bline">栏目列表选项:</td>
<td class="bline">
<label><input type='radio' name='isdefault' value='1' class='np' <?php if ($myrow['isdefault'] == 1) echo " checked='1' "; ?>>&nbsp;链接到默认页</label>
<label><input type='radio' name='isdefault' value='0' class='np' <?php if ($myrow['isdefault'] == 0) echo " checked='1' "; ?>>&nbsp;链接到列表第一页</label>
<label><input type='radio' name='isdefault' value='-1' class='np' <?php if ($myrow['isdefault'] == -1) echo " checked='1' "; ?>>&nbsp;使用动态页</label>
</td>
</tr>
<tr>
<td class='bline' height="26" align="center">默认页的名称:</td>
<td class='bline'><input name="defaultname" type="text" value="<?php echo $myrow['defaultname'] ?>" style="width:260px" class="iptxt"></td>
<td class="bline" height="26" align="center">默认页的名称:</td>
<td class="bline"><input name="defaultname" type="text" value="<?php echo $myrow['defaultname'] ?>" style="width:260px" class="iptxt"></td>
</tr>
<tr>
<td height="26" class='bline' align="center">栏目属性:</td>
<td class='bline'>
<td height="26" class="bline" align="center">栏目属性:</td>
<td class="bline">
<label><input name="ispart" type="radio" id="radio" value="0" class='np' <?php if ($myrow['ispart'] == 0) echo " checked='1' "; ?>>&nbsp;最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input name="ispart" type="radio" id="radio2" value="1" class='np' <?php if ($myrow['ispart'] == 1) echo " checked='1' "; ?>>&nbsp;频道封面(栏目本身不允许发布文档)</label><br>
<label><input name="ispart" type="radio" id="radio3" value="2" class='np' <?php if ($myrow['ispart'] == 2) echo " checked='1' "; ?>>&nbsp;外部连接(在"文件保存目录"处填写网址)</label>
</td>
</tr>
<tr>
<td align="center" colspan="2" height="36" bgcolor='#FAFEE0'>
<td bgcolor="#FAFEE0" colspan="2" align="center" class="py-3">
<button onclick='getSelCat("<?php echo $targetid; ?>");' class='btn btn-success'>保存</button>
<button type='button' onclick='CloseMsg()' class='btn btn-success'>关闭</button>
</td>


+ 14
- 14
src/admin/templets/catalog_add_quick.htm View File

@@ -118,8 +118,8 @@
<td bgcolor="#f8f8f8"></td>
</tr>
<tr>
<td width="160" class='bline' height="26" style="padding-left:10px">是否支持投稿:</td>
<td class='bline'>
<td width="160" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td>
<td class="bline">
<label><input type='radio' name='issend' value='0' class='np' />
不支持</label>
&nbsp;
@@ -127,8 +127,8 @@
支持</label> </td>
</tr>
<tr>
<td class='bline' height="26" style="padding-left:10px">目录保存位置:</td>
<td class='bline'>
<td class="bline" height="26" style="padding-left:10px">目录保存位置:</td>
<td class="bline">
<input name="referpath" type="radio" id="truepath1" class="np" value="parent" checked='1' />
<label for="truepath1">默认HMTL目录(
<?php
@@ -145,8 +145,8 @@
</td>
</tr>
<tr>
<td class='bline' height="26" style="padding-left:10px">隶属栏目:</td>
<td class='bline'>
<td class="bline" height="26" style="padding-left:10px">隶属栏目:</td>
<td class="bline">
<select name='reid' onchange="showSeltype(this)">
<option value='0'>选择所属目录</option>
<?php echo $typeOptions; ?>
@@ -154,8 +154,8 @@
</td>
</tr>
<tr>
<td class='bline' height="26" style="padding-left:10px">内容模型:&nbsp; </td>
<td class='bline'><select name="channeltype" id="channeltype" style="width:260px" onChange="ParTemplet(this)">
<td class="bline" height="26" style="padding-left:10px">内容模型:&nbsp; </td>
<td class="bline"><select name="channeltype" id="channeltype" style="width:260px" onChange="ParTemplet(this)">
<?php
foreach($channelArray as $k=>$arr)
{
@@ -167,8 +167,8 @@
</td>
</tr>
<tr>
<td class='bline' height="26" style="padding-left:10px">栏目列表选项:</td>
<td class='bline'>
<td class="bline" height="26" style="padding-left:10px">栏目列表选项:</td>
<td class="bline">
<label><input type='radio' name='isdefault' value='1' class='np' checked='1' />
链接到默认页</label>
<label><input type='radio' name='isdefault' value='0' class='np' />
@@ -178,8 +178,8 @@
</td>
</tr>
<tr>
<td class='bline' height="26" style="padding-left:10px">默认页的名称:</td>
<td class='bline'><input name="defaultname" type="text" value="index.html" class="pubinputs"></td>
<td class="bline" height="26" style="padding-left:10px">默认页的名称:</td>
<td class="bline"><input name="defaultname" type="text" value="index.html" class="pubinputs"></td>
</tr>
<tr id='helpvar2' style='display:none'>
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px">支持变量:</td>
@@ -193,8 +193,8 @@
</td>
</tr>
<tr>
<td height="26" class='bline' style="padding-left:10px">文章命名规则:</td>
<td class='bline'><input name="namerule" type="text" id="namerule" value="{typedir}/{Y}{M}{D}/{aid}.html"
<td height="26" class="bline" style="padding-left:10px">文章命名规则:</td>
<td class="bline"><input name="namerule" type="text" id="namerule" value="{typedir}/{Y}{M}{D}/{aid}.html"
size="40" class="pubinputs">
<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:pointer" onClick="ShowHide('helpvar2')"></td>
</tr>


Loading…
Cancel
Save