@@ -48,7 +48,7 @@ if ($dopost != 'save') { | |||||
if ($ctag->GetName() == 'link') { | if ($ctag->GetName() == 'link') { | ||||
$islocal = $ctag->GetAtt('islocal'); | $islocal = $ctag->GetAtt('islocal'); | ||||
if ($islocal != 1) $needmsg = "<label class='ml-2'><input type='checkbox' name='del{$newRowStart}' value='1'> 删除</label>"; | if ($islocal != 1) $needmsg = "<label class='ml-2'><input type='checkbox' name='del{$newRowStart}' value='1'> 删除</label>"; | ||||
else $needmsg = '<button type="button" name="sel1" id="sel1" class="btn btn-success btn-sm ml-2" onclick="SelectSoft(\'form1.softurl'.$newRowStart.'\')">选取</button><label class="ml-2"><input type="checkbox" name="" id="" checked="checked"> 上传压缩包自动解压</label>'; | |||||
else $needmsg = '<button type="button" name="sel1" id="sel1" class="btn btn-success btn-sm ml-2" onclick="SelectSoft(\'form1.softurl'.$newRowStart.'\')">选取</button>'; | |||||
$nForm .= "<div class='py-2'><label>软件地址{$newRowStart}:<input type='text' name='softurl{$newRowStart}' value='".trim($ctag->GetInnerText())."' class='admin-input-lg'></label><label class='ml-2'>地址名称:<input type='text' name='servermsg{$newRowStart}' value='".$ctag->GetAtt("text")."' class='admin-input-sm'></label><input type='hidden' name='islocal{$newRowStart}' value='{$islocal}'>$needmsg</div>\r\n"; | $nForm .= "<div class='py-2'><label>软件地址{$newRowStart}:<input type='text' name='softurl{$newRowStart}' value='".trim($ctag->GetInnerText())."' class='admin-input-lg'></label><label class='ml-2'>地址名称:<input type='text' name='servermsg{$newRowStart}' value='".$ctag->GetAtt("text")."' class='admin-input-sm'></label><input type='hidden' name='islocal{$newRowStart}' value='{$islocal}'>$needmsg</div>\r\n"; | ||||
$newRowStart++; | $newRowStart++; | ||||
} | } | ||||
@@ -275,8 +275,11 @@ | |||||
<tr> | <tr> | ||||
<td width="120">官方网址:</td> | <td width="120">官方网址:</td> | ||||
<td width="420"><input type="text" name="officialUrl" id="officialUrl" value="" class="admin-input-lg"></td> | <td width="420"><input type="text" name="officialUrl" id="officialUrl" value="" class="admin-input-lg"></td> | ||||
<td width="120">演示地址:</td> | |||||
<td><input type="text" name="officialDemo" id="officialDemo" value="" class="admin-input-lg"></td> | |||||
<td width="120">演示网址:</td> | |||||
<td> | |||||
<input type="text" name="officialDemo" id="officialDemo" value="" class="admin-input-lg"> | |||||
<label><input type="checkbox" name="" id="" checked="checked"> 上传压缩包自动解压</label> | |||||
</td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -321,10 +324,9 @@ | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="120">本地上传:</td> | <td width="120">本地上传:</td> | ||||
<td width="620"> | |||||
<td width="460"> | |||||
<input type="text" name="softurl1" id="softurl1" class="admin-input-lg"> | <input type="text" name="softurl1" id="softurl1" class="admin-input-lg"> | ||||
<button type="button" name="sel1" id="sel1" class="btn btn-success btn-sm" onclick="SelectSoft('form1.softurl1')">选取</button> | <button type="button" name="sel1" id="sel1" class="btn btn-success btn-sm" onclick="SelectSoft('form1.softurl1')">选取</button> | ||||
<label><input type="checkbox" name="" id="" checked="checked"> 上传压缩包自动解压</label> | |||||
</td> | </td> | ||||
<td width="120">地址名称:</td> | <td width="120">地址名称:</td> | ||||
<td><input type="text" name="servermsg1" id="servermsg1" value="本地下载" class="admin-input-sm"></td> | <td><input type="text" name="servermsg1" id="servermsg1" value="本地下载" class="admin-input-sm"></td> | ||||
@@ -281,8 +281,11 @@ | |||||
<tr> | <tr> | ||||
<td width="120">官方网址:</td> | <td width="120">官方网址:</td> | ||||
<td width="420"><input type="text" name="officialUrl" id="officialUrl" value="<?php echo $addRow['officialUrl']?>" class="admin-input-lg"></td> | <td width="420"><input type="text" name="officialUrl" id="officialUrl" value="<?php echo $addRow['officialUrl']?>" class="admin-input-lg"></td> | ||||
<td width="120">程序演示:</td> | |||||
<td><input type="text" name="officialDemo" id="officialDemo" value="<?php echo $addRow['officialDemo']?>" class="admin-input-lg"></td> | |||||
<td width="120">演示网址:</td> | |||||
<td> | |||||
<input type="text" name="officialDemo" id="officialDemo" value="<?php echo $addRow['officialDemo']?>" class="admin-input-lg"> | |||||
<label><input type="checkbox" name="" id="" checked="checked"> 上传压缩包自动解压</label> | |||||
</td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||