@@ -535,9 +535,12 @@ else if ($dopost == 'quickEdit') { | |||
} | |||
?> | |||
</select> | |||
<label>需要金币:<input type="text" name="money" id="money" value="<?php echo $arcRow["money"];?>" class="admin-input-xs"></label> | |||
</td> | |||
</tr> | |||
</tr> | |||
<td>金币</td> | |||
<td><input type="text" name="money" id="money" value="<?php echo $arcRow["money"];?>" class="admin-input-sm"></td> | |||
<tr> | |||
<tr> | |||
<td width="160">关键词</td> | |||
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords'];?>" class="admin-input-lg"></td> | |||
@@ -62,7 +62,7 @@ if (!empty($iseditor)) { | |||
<script src="/static/web/js/jquery.min.js"></script> | |||
</head> | |||
<body> | |||
<div class="upload-box"> | |||
<div class="upload-bg"> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">选择图片</div> | |||
<div class="card-body"> | |||
@@ -51,7 +51,7 @@ if (!empty($noeditor)) { | |||
<link rel="stylesheet" href="/static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<div class="upload-box"> | |||
<div class="upload-bg"> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">选择多媒体</div> | |||
<div class="card-body"> | |||
@@ -51,7 +51,7 @@ if (!empty($noeditor)) { | |||
<link rel="stylesheet" href="/static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<div class="upload-box"> | |||
<div class="upload-bg"> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">选择软件</div> | |||
<div class="card-body"> | |||
@@ -42,7 +42,7 @@ if (empty($comeback)) { | |||
<link rel="stylesheet" href="/static/web/css/admin.css"> | |||
</head> | |||
<body > | |||
<div class="upload-box"> | |||
<div class="upload-bg"> | |||
<div class="card shadow-sm"> | |||
<div class="card-header">选择模板</div> | |||
<div class="card-body"> | |||
@@ -108,7 +108,7 @@ | |||
<a href="javascript:ShowCatMap(event,this,<?php echo $channelid;?>,'typeid');" class="btn btn-success btn-sm">选择</a> | |||
<?php if ($cfg_need_typeid2=='Y') {echo "<a href='javascript:AddTypeid2();' class='btn btn-success btn-sm'>副栏目</a>";}?> | |||
</td> | |||
<td>需要金币</td> | |||
<td>金币</td> | |||
<td><input type="text" name="money" id="money" value="0" class="admin-input-sm"></td> | |||
</tr> | |||
<tr id="typeid2tr" style="display:none"> | |||
@@ -106,7 +106,7 @@ | |||
?> | |||
<a href="javascript:ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>');" class="btn btn-success btn-sm">选择</a> | |||
</td> | |||
<td>需要金币</td> | |||
<td>金币</td> | |||
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" class="admin-input-sm"></td> | |||
</tr> | |||
<?php if ($cfg_need_typeid2=='Y') {?> | |||
@@ -110,7 +110,7 @@ | |||
<a href="javascript:ShowCatMap(event,this,<?php echo $channelid;?>,'typeid');" class="btn btn-success btn-sm">选择</a> | |||
<?php if ($cfg_need_typeid2=='Y') {echo "<a href='javascript:AddTypeid2();' class='btn btn-success btn-sm'>副栏目</a>";}?> | |||
</td> | |||
<td>需要金币</td> | |||
<td>金币</td> | |||
<td><input type="text" name="money" id="money" value="0" class="admin-input-sm"></td> | |||
</tr> | |||
<tr id="typeid2tr" style="display:none"> | |||
@@ -108,7 +108,7 @@ | |||
?> | |||
<a href="javascript:ShowCatMap(event,this,<?php echo $channelid;?>,'typeid');" class="btn btn-success btn-sm">选择</a> | |||
</td> | |||
<td>需要金币</td> | |||
<td>金币</td> | |||
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" class="admin-input-sm"></td> | |||
</tr> | |||
<?php if ($cfg_need_typeid2=='Y') {?> | |||
@@ -103,7 +103,7 @@ | |||
<a href="javascript:ShowCatMap(event,this,<?php echo $channelid;?>,'typeid');" class="btn btn-success btn-sm">选择</a> | |||
<?php if ($cfg_need_typeid2=='Y') {echo "<a href='javascript:AddTypeid2();' class='btn btn-success btn-sm'>副栏目</a>";}?> | |||
</td> | |||
<td>需要金币</td> | |||
<td>金币</td> | |||
<td><input type="text" name="money" id="money" value="0" class="admin-input-sm"></td> | |||
</tr> | |||
<tr id="typeid2tr" style="display:none"> | |||
@@ -140,7 +140,7 @@ | |||
<td colspan="3"> | |||
<label><input type="radio" name="sptype" value="hand" <?php if ($cfg_arcautosp=='N') echo 'checked'?>> 手动</label> | |||
<label><input type="radio" name="sptype" value="auto" <?php if ($cfg_arcautosp=='Y') echo 'checked'?>> 自动</label> | |||
<label>大小:<input name="spsize" type="text" id="spsize" value="<?php echo $cfg_arcautosp_size?>" class="admin-input-xs"> K(分页符为:#p#分页标题#e#)</label> | |||
<label>大小:<input name="spsize" type="text" id="spsize" value="<?php echo $cfg_arcautosp_size?>" class="admin-input-sm"> K(分页符为:#p#分页标题#e#)</label> | |||
</td> | |||
</tr> | |||
<?php PrintAutoFieldsAdd($cInfos['fieldset'],'autofield'); ?> | |||
@@ -107,7 +107,7 @@ | |||
?> | |||
<a href="javascript:ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>');" class="btn btn-success btn-sm">选择</a> | |||
</td> | |||
<td>需要金币</td> | |||
<td>金币</td> | |||
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" class="admin-input-sm"></td> | |||
</tr> | |||
<?php if ($cfg_need_typeid2=='Y') {?> | |||
@@ -123,7 +123,7 @@ | |||
<tr align="center"> | |||
<td class="rank"> | |||
<input type="hidden" name="posttype" class="pubinputs"> | |||
<input type="text" name="rank" value="1" class="pubinputs admin-input-xs"> | |||
<input type="text" name="rank" value="1" class="pubinputs admin-input-sm"> | |||
</td> | |||
<td><input type="text" name="toptype" class="pubinputs admin-input-sm"></td> | |||
<td><input type="text" name="sontype" class="pubinputs w-100"></td> | |||
@@ -133,7 +133,7 @@ | |||
<tr align="center" class="repeat"> | |||
<td class="rank"> | |||
<input type="hidden" name="posttype<?php echo $i;?>" value="<?php echo $i;?>"> | |||
<input type="text" name="rank<?php echo $i;?>" value="<?php echo $i;?>" class="pubinputs admin-input-xs"> | |||
<input type="text" name="rank<?php echo $i;?>" value="<?php echo $i;?>" class="pubinputs admin-input-sm"> | |||
</td> | |||
<td><input type="text" name="toptype<?php echo $i;?>" class="pubinputs admin-input-sm"></td> | |||
<td><input type="text" name="sontype<?php echo $i;?>" class="pubinputs w-100"></td> | |||
@@ -150,7 +150,7 @@ | |||
<tr align="center"> | |||
<td class="rank"> | |||
<input type="hidden" name="posttype" class="pubinputs"> | |||
<input type="text" name="rank" value="1" class="pubinputs admin-input-xs"> | |||
<input type="text" name="rank" value="1" class="pubinputs admin-input-sm"> | |||
</td> | |||
<td><input type="text" name="reltype" class="pubinputs admin-input-sm"></td> | |||
<td><button name="" type="button" class="btn btn-danger btn-sm del">删除</button></td> | |||
@@ -159,7 +159,7 @@ | |||
<tr align="center" class="repeat"> | |||
<td class="rank"> | |||
<input type="hidden" name="posttype<?php echo $i;?>" value="<?php echo $i;?>"> | |||
<input type="text" name="rank<?php echo $i;?>" value="<?php echo $i;?>" class="pubinputs admin-input-xs"> | |||
<input type="text" name="rank<?php echo $i;?>" value="<?php echo $i;?>" class="pubinputs admin-input-sm"> | |||
</td> | |||
<td><input type="text" name="reltype<?php echo $i;?>" class="pubinputs admin-input-sm"></td> | |||
<td><button type="button" class="btn btn-danger btn-sm del">删除</button></td> | |||
@@ -78,7 +78,7 @@ | |||
</tr> | |||
<tr> | |||
<td>最大长度</td> | |||
<td><input type="text" name="maxlength" id="maxlength" value="255" class="admin-input-xs">(文本数据必须填写,大于255为text类型)</td> | |||
<td><input type="text" name="maxlength" id="maxlength" value="255" class="admin-input-sm">(文本数据必须填写,大于255为text类型)</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" align="center"> | |||
@@ -91,7 +91,7 @@ | |||
</tr> | |||
<tr> | |||
<td>最大长度</td> | |||
<td><input type="text" name="maxlength" id="maxlength" class="admin-input-xs" value="<?php echo $ctag->GetAtt('maxlength')?>">(文本数据必须填写,大于255为text类型)</td> | |||
<td><input type="text" name="maxlength" id="maxlength" class="admin-input-sm" value="<?php echo $ctag->GetAtt('maxlength')?>">(文本数据必须填写,大于255为text类型)</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" align="center"> | |||
@@ -35,7 +35,7 @@ | |||
</tr> | |||
<tr> | |||
<td>排列位置</td> | |||
<td><input type="text" name="sortrank" id="sortrank" value="1" class="admin-input-xs">(由小到大排列)</td> | |||
<td><input type="text" name="sortrank" id="sortrank" value="1" class="admin-input-sm">(由小到大排列)</td> | |||
</tr> | |||
<tr> | |||
<td>网站Logo</td> | |||
@@ -39,7 +39,7 @@ | |||
<tbody> | |||
<tr> | |||
<td width="260">会员登录id</td> | |||
<td><input type="text" name="msgtoid" value="<?php echo empty($touid)? '' : $touid?>" class="admin-input-xs" required>(网址uid=后面跟的id)</td> | |||
<td><input type="text" name="msgtoid" value="<?php echo empty($touid)? '' : $touid?>" class="admin-input-sm" required>(网址uid=后面跟的id)</td> | |||
</tr> | |||
<tr> | |||
<td>标题</td> | |||
@@ -33,7 +33,7 @@ | |||
</tr> | |||
<tr> | |||
<td>模型id</td> | |||
<td><input type="text" name="id" id="id" class="admin-input-xs" value="<?php echo $newid;?>">(创建后不可修改,具有唯一性)</td> | |||
<td><input type="text" name="id" id="id" class="admin-input-sm" value="<?php echo $newid;?>">(创建后不可修改,具有唯一性)</td> | |||
</tr> | |||
<tr> | |||
<td>模型标识</td> | |||
@@ -118,7 +118,7 @@ | |||
</tr> | |||
<tr> | |||
<td>默认栏目id</td> | |||
<td><input type="text" name="dfcid" id="dfcid" class="admin-input-xs" value="0">(与投稿唯一性结合可以用自定义模型)</td> | |||
<td><input type="text" name="dfcid" id="dfcid" class="admin-input-sm" value="0">(与投稿唯一性结合可以用自定义模型)</td> | |||
</tr> | |||
<tr> | |||
<td>投稿具有唯一性</td> | |||
@@ -123,7 +123,7 @@ | |||
</tr> | |||
<tr> | |||
<td>默认栏目id</td> | |||
<td><input type="text" name="dfcid" id="dfcid" class="admin-input-xs" value="<?php echo $row['dfcid'];?>">(与投稿唯一性结合可以用自定义模型)</td> | |||
<td><input type="text" name="dfcid" id="dfcid" class="admin-input-sm" value="<?php echo $row['dfcid'];?>">(与投稿唯一性结合可以用自定义模型)</td> | |||
</tr> | |||
<tr> | |||
<td>投稿具有唯一性</td> | |||
@@ -120,7 +120,7 @@ | |||
</tr> | |||
<tr> | |||
<td>最大长度</td> | |||
<td><input type="text" name="maxlength" id="maxlength" class="admin-input-xs" value="255">(文本数据必须填写,大于255为text类型)</td> | |||
<td><input type="text" name="maxlength" id="maxlength" class="admin-input-sm" value="255">(文本数据必须填写,大于255为text类型)</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" align="center"> | |||
@@ -132,7 +132,7 @@ | |||
</tr> | |||
<tr> | |||
<td>最大长度</td> | |||
<td><input type="text" name="maxlength" id="maxlength" class="admin-input-xs" value="<?php echo $ctag->GetAtt('maxlength')?>">(文本数据必须填写,大于255为text类型)</td> | |||
<td><input type="text" name="maxlength" id="maxlength" class="admin-input-sm" value="<?php echo $ctag->GetAtt('maxlength')?>">(文本数据必须填写,大于255为text类型)</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" align="center"> | |||
@@ -120,7 +120,7 @@ | |||
<a href="javascript:ShowCatMap(event,this,<?php echo $channelid;?>,'typeid');" class="btn btn-success btn-sm">选择</a> | |||
<?php if ($cfg_need_typeid2=='Y') {echo "<a href='javascript:AddTypeid2();' class='btn btn-success btn-sm'>副栏目</a>";}?> | |||
</td> | |||
<td>需要金币</td> | |||
<td>金币</td> | |||
<td><input type="text" name="needmoney" id="needmoney" value="<?php echo $softconfig['dfywboy'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
<tr id="typeid2tr" style="display:none"> | |||
@@ -79,8 +79,7 @@ | |||
</tr> | |||
<tr> | |||
<td>下载默认金币</td> | |||
<td><input type="text" name="dfywboy" value="<?php echo $row['dfywboy'];?>" class="admin-input-xs"> | |||
</td> | |||
<td><input type="text" name="dfywboy" value="<?php echo $row['dfywboy'];?>" class="admin-input-sm"></td> | |||
</tr> | |||
<tr> | |||
<td>参数限制方式</td> | |||
@@ -92,9 +91,9 @@ | |||
<tr> | |||
<td>镜像服务器列表</td> | |||
<td> | |||
<label>镜像网站:<input type="text" name="serverurl" id="serverurl"></label> | |||
<label>镜像目录:<input type="text" name="servername" id="servername"></label> | |||
<label>镜像名称:<input type="text" name="servertype" id="servertype" value="默认下载地址"></label> | |||
<input type="text" name="serverurl" id="serverurl" placeholder="请输入镜像网站"> | |||
<input type="text" name="servername" id="servername" placeholder="请输入镜像目录"> | |||
<input type="text" name="servertype" id="servertype" value="默认下载地址"> | |||
<button type="button" name="submit" onclick="AddServer();" class="btn btn-success btn-sm">添加一项</button> | |||
</td> | |||
</tr> | |||
@@ -118,7 +118,7 @@ | |||
?> | |||
<a href="javascript:ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>');" class="btn btn-success btn-sm">选择</a> | |||
</td> | |||
<td>需要金币</td> | |||
<td>金币</td> | |||
<td><input type="text" name="needmoney" id="needmoney" value="<?php echo $needmoney;?>" class="admin-input-sm"></td> | |||
</tr> | |||
<?php if ($cfg_need_typeid2=='Y') {?> | |||
@@ -169,7 +169,7 @@ else if ($open == 2) { | |||
include_once(DEDETEMPLATE.'/apps/view_msg.htm'); | |||
exit(); | |||
} | |||
//以下为正常情况,自动扣点数,如果文档需要金币,检查会员是否浏览过本文档 | |||
//以下为正常情况,自动扣点数,如果文档金币,检查会员是否浏览过本文档 | |||
if ($needMoney > 0 && $mid != $cfg_ml->M_ID) { | |||
$sql = "SELECT aid,money FROM `#@__member_operation` WHERE buyid='ARCHIVE".$id."' AND mid='".$cfg_ml->M_ID."'"; | |||
$row = $dsql->GetOne($sql); | |||
@@ -47,7 +47,7 @@ if ($needMoney > 0 || $needRank > 1) { | |||
include_once(DEDETEMPLATE.'/apps/view_msg.htm'); | |||
exit(); | |||
} | |||
//需要金币的情况 | |||
//金币处理 | |||
if ($needMoney > 0 && $arc->Fields['mid'] != $cfg_ml->M_ID) { | |||
$sql = "SELECT aid,money FROM `#@__member_operation` WHERE buyid='ARCHIVE".$aid."' AND mid='".$cfg_ml->M_ID."'"; | |||
$row = $dsql->GetOne($sql); | |||
@@ -82,7 +82,7 @@ if ($needMoney > 0 || $needRank > 1) { | |||
exit(); | |||
} | |||
} | |||
} //金币处理付处理 | |||
} | |||
} | |||
$arc->Display(); | |||
if (DEBUG_LEVEL === TRUE) { | |||
@@ -5,7 +5,7 @@ | |||
--blue-300:#80bdff; | |||
--success-800:#009688; | |||
--b-radius:0.5rem; | |||
--b-radius-300:0.35rem | |||
--b-radius-300:0.25rem | |||
} | |||
::-webkit-scrollbar { | |||
display:none | |||
@@ -71,7 +71,7 @@ input[type=file] { | |||
input[type=button],input[type=submit],input[type=reset] { | |||
padding:0.375rem 0.75rem; | |||
height:30px; | |||
line-height:1.5; | |||
line-height:1.6; | |||
font-size:12px; | |||
color:var(--white); | |||
background:var(--green); | |||
@@ -188,7 +188,7 @@ input:focus,select:focus,textarea:focus { | |||
position:absolute; | |||
top:16px; | |||
left:16px; | |||
z-index:998 | |||
z-index:1998 | |||
} | |||
.login-from .form-icon i { | |||
font-size:18px!important; | |||
@@ -393,41 +393,20 @@ body.menu-show .body-right { | |||
top:0; | |||
right:0 | |||
} | |||
.coolbg { | |||
padding:0.5rem; | |||
background:var(--white); | |||
border-bottom:1px solid var(--gray-300); | |||
text-align:right | |||
} | |||
.coolbg-box { | |||
padding:0.5rem; | |||
background:var(--white); | |||
overflow-y:auto | |||
} | |||
.colordlg { | |||
padding:0.5rem; | |||
background:var(--white); | |||
border:1px solid var(--gray-300); | |||
z-index:10005 | |||
z-index:19991 | |||
} | |||
.pubdlg { | |||
z-index:8888 | |||
} | |||
.fullpagediv { | |||
position:absolute; | |||
top:0; | |||
left:0; | |||
width:100%; | |||
height:100%; | |||
background:var(--bg); | |||
opacity:0.6; | |||
z-index:1999 | |||
z-index:19992 | |||
} | |||
.quicksel { | |||
padding:0.5rem; | |||
height:350px; | |||
overflow-y:auto; | |||
z-index:10005 | |||
z-index:19993 | |||
} | |||
.quickselitem .topcat { | |||
margin-bottom:1rem; | |||
@@ -444,7 +423,17 @@ body.menu-show .body-right { | |||
} | |||
.mysource,.mywriter { | |||
width:500px; | |||
z-index:10001 | |||
z-index:19994 | |||
} | |||
.fullpagediv { | |||
position:absolute; | |||
top:0; | |||
left:0; | |||
width:100%; | |||
height:100%; | |||
background:var(--bg); | |||
opacity:0.6; | |||
z-index:19995 | |||
} | |||
.atlas { | |||
float:left; | |||
@@ -600,14 +589,14 @@ body.menu-show .body-right { | |||
font-size:18px; | |||
color:var(--green); | |||
content:'\f058'; | |||
z-index:9 | |||
z-index:1991 | |||
} | |||
#file_list li .tools { | |||
display:none; | |||
position:absolute; | |||
bottom:12px; | |||
right:10px; | |||
z-index:99 | |||
z-index:1992 | |||
} | |||
#file_list li:hover .tools { | |||
display:block | |||
@@ -633,25 +622,25 @@ body.menu-show .body-right { | |||
width:500px; | |||
height:auto | |||
} | |||
.browsehappy { | |||
padding:1rem 30px; | |||
color:var(--orange); | |||
background:var(--yellow) | |||
} | |||
.body-row { | |||
display:flex; | |||
flex-wrap:wrap | |||
} | |||
.upload-bg { | |||
margin:1rem; | |||
background:var(--white) | |||
} | |||
.w-65 { | |||
width:65% | |||
} | |||
.w-35 { | |||
width:35% | |||
} | |||
.browsehappy { | |||
padding:1rem 30px; | |||
color:var(--orange); | |||
background:var(--yellow) | |||
} | |||
.upload-box { | |||
margin:1rem; | |||
background:var(--white) | |||
} | |||
.breadcrumb { | |||
padding:0; | |||
background:none | |||
@@ -681,10 +670,6 @@ body.menu-show .body-right { | |||
padding:0.5rem; | |||
vertical-align:middle | |||
} | |||
.icon img { | |||
width:20px; | |||
height:20px | |||
} | |||
.form-control { | |||
display:inline-block | |||
} | |||
@@ -692,6 +677,10 @@ body.menu-show .body-right { | |||
font-size:14px!important; | |||
color:inherit | |||
} | |||
.icon img { | |||
width:20px; | |||
height:20px | |||
} | |||
.fileinput-button { | |||
display:inline-block; | |||
position:relative; | |||
@@ -754,21 +743,39 @@ body.menu-show .body-right { | |||
height:90px | |||
} | |||
.admin-textarea-sm { | |||
width:360px; | |||
width:350px; | |||
height:60px | |||
} | |||
.admin-input-lg { | |||
width:360px | |||
width:350px | |||
} | |||
.admin-input-md { | |||
width:260px | |||
width:230px | |||
} | |||
.admin-input-sm { | |||
width:160px | |||
width:180px | |||
} | |||
.admin-input-xs { | |||
width:70px | |||
} | |||
.btn-sm { | |||
padding:0.375rem 0.6rem; | |||
height:30px; | |||
font-size:12px | |||
} | |||
.btn-xs { | |||
padding:0.22rem; | |||
height:20px; | |||
line-height:1; | |||
font-size:12px; | |||
border-radius:var(--b-radius-300)!important | |||
} | |||
.btn+.btn { | |||
margin-left:0.5rem | |||
} | |||
.shadow-sm { | |||
box-shadow:0 .125rem 0.25rem rgba(0,0,0,.025)!important | |||
} | |||
a:hover,body.menu-hide .body-right,body.menu-show .body-right,.sidemenu .submenu li:hover,.table-hover tbody tr:hover { | |||
transition:all 0.5s | |||
} | |||
@@ -776,13 +783,13 @@ span.page-link { | |||
color:var(--white); | |||
background:var(--green) | |||
} | |||
input,select,textarea,.web-info,.upload-box,.colordlg,.pubdlg,.quickselitem .topcat,.mysource,.mywriter,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn,.alert,.rounded,#edsta { | |||
input,select,textarea,.web-info,.upload-bg,.colordlg,.pubdlg,.quickselitem .topcat,.mysource,.mywriter,#edsta,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn,.alert,.rounded { | |||
border-radius:var(--b-radius)!important | |||
} | |||
.coolbg,.cke_top { | |||
.cke_top { | |||
border-radius:var(--b-radius) var(--b-radius) 0 0!important | |||
} | |||
.submenu,.coolbg-box,.cke_bottom { | |||
.submenu,.cke_bottom { | |||
border-radius:0 0 var(--b-radius) var(--b-radius)!important | |||
} | |||
.page-item:first-child .page-link { | |||
@@ -801,45 +808,27 @@ input,select,textarea,.web-info,.upload-box,.colordlg,.pubdlg,.quickselitem .top | |||
border-top-right-radius:0!important; | |||
border-bottom-right-radius:0!important | |||
} | |||
.btn-sm { | |||
padding:0.375rem 0.6rem; | |||
height:30px; | |||
font-size:12px | |||
} | |||
.btn-xs { | |||
padding:0.22rem; | |||
height:20px; | |||
line-height:1; | |||
font-size:12px; | |||
border-radius:var(--b-radius-300)!important | |||
} | |||
.btn+.btn { | |||
margin-left:0.5rem | |||
} | |||
.shadow-sm { | |||
box-shadow:0 .125rem 0.25rem rgba(0,0,0,.025)!important | |||
} | |||
@media (min-width:1199px) { | |||
.modal-dialog { | |||
max-width:500px | |||
} | |||
max-width:500px | |||
} | |||
} | |||
@media screen and (max-width:1199px) and (min-width:992px) { | |||
.login-box { | |||
padding:30px | |||
} | |||
padding:30px | |||
} | |||
} | |||
@media (max-width:768px) { | |||
td { | |||
white-space:nowrap | |||
} | |||
.install-box,.tips-box,.w-65,.w-35,.admin-textarea-sm,.admin-input-lg,.admin-input-md,.admin-input-sm,.admin-input-xs { | |||
width:100% | |||
} | |||
.tips { | |||
padding:0 1rem | |||
} | |||
.login-box { | |||
padding:30px | |||
} | |||
white-space:nowrap | |||
} | |||
.install-box,.tips-box,.w-65,.w-35,.admin-textarea-sm,.admin-input-lg,.admin-input-md,.admin-input-sm { | |||
width:100% | |||
} | |||
.tips { | |||
padding:0 1rem | |||
} | |||
.login-box { | |||
padding:30px | |||
} | |||
} |
@@ -390,13 +390,16 @@ input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkb | |||
width:100% | |||
} | |||
.admin-input-lg { | |||
width:60% | |||
width:350px | |||
} | |||
.admin-input-md { | |||
width:230px | |||
} | |||
.admin-input-sm { | |||
width:160px | |||
width:180px | |||
} | |||
.admin-input-xs { | |||
width:60px | |||
width:70px | |||
} | |||
a:hover,.item-theme:hover,.item-news:hover { | |||
transition:all 0.5s | |||
@@ -451,18 +454,18 @@ a:hover,.item-theme:hover,.item-news:hover { | |||
} | |||
@media (max-width:768px) { | |||
.pb-m-3 { | |||
padding-bottom:1rem | |||
} | |||
.login-from { | |||
width:100% | |||
} | |||
.bannr-img,.item-theme-img img,.list-article-img img { | |||
height:250px | |||
} | |||
.item-news-img img { | |||
height:210px | |||
} | |||
.feedbacks .feedback-action { | |||
float:none | |||
} | |||
padding-bottom:1rem | |||
} | |||
.login-from { | |||
width:100% | |||
} | |||
.bannr-img,.item-theme-img img,.list-article-img img { | |||
height:250px | |||
} | |||
.item-news-img img { | |||
height:210px | |||
} | |||
.feedbacks .feedback-action { | |||
float:none | |||
} | |||
} |
@@ -800,7 +800,7 @@ class FreeList | |||
* @param int $rank 阅读权限 | |||
* @param string $namerule 名称规则 | |||
* @param string $typedir 栏目dir | |||
* @param string $money 需要金币 | |||
* @param string $money 金币 | |||
* @param string $filename 文件名称 | |||
* @param string $moresite 多站点 | |||
* @param string $siteurl 站点地址 | |||
@@ -639,7 +639,7 @@ class TagList | |||
* @param int $rank 浏览权限 | |||
* @param string $namerule 命名规则 | |||
* @param string $artdir 文档路径 | |||
* @param int $money 需要金币 | |||
* @param int $money 金币 | |||
* @param string $filename 文件名称 | |||
* @return string | |||
*/ | |||
@@ -7,7 +7,7 @@ | |||
* @link https://www.dedebiz.com | |||
*/ | |||
//系统默认运行模式为安全模式,模板管理、标签管理、数据库管理、模块管理等功能已暂停,如果您需要这些功能,DEDEBIZ_SAFE_MODE后面值`TRUE`改为`FALSE`恢复使用 | |||
define('DEDEBIZ_SAFE_MODE', FALSE); | |||
define('DEDEBIZ_SAFE_MODE', TRUE); | |||
//生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,用于开发调试 | |||
if (!defined('DEDE_ENVIRONMENT')) { | |||
define('DEDE_ENVIRONMENT', 'production'); | |||
@@ -113,7 +113,7 @@ function GetFormItem($ctag, $admintype = 'admin') | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' class='form-control admin-input-lg' placeholder='请选择附件上传或填写附件地址'> <input type='button' name='".$fieldname."_bt' class='btn btn-success btn-sm' value='选择' onclick=\"SelectSoft('$fname.$fieldname')\">"; | |||
} else if ($fieldType == 'int' || $fieldType == 'float') { | |||
$dfvalue = ($ctag->GetAtt('default') != '' ? $ctag->GetAtt('default') : '0'); | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' class='form-control admin-input-xs' value='$dfvalue'>"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' class='form-control admin-input-sm' value='$dfvalue'>"; | |||
} else if ($fieldType == 'relation') { | |||
$dfvalue = ($ctag->GetAtt('default') != '' ? $ctag->GetAtt('default') : ''); | |||
$channel = ($ctag->GetAtt('channel') == "") ? "1" : $ctag->GetAtt('channel'); | |||
@@ -380,7 +380,7 @@ function GetFormItemValue($ctag, $fvalue, $admintype = 'admin', $fieldname = '') | |||
$selectStr = "<input type='button' name='".$fieldname."_bt' class='btn btn-success btn-sm' value='选择' onclick=\"SelectSoft('$fname.$fieldname')\">"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' class='form-control admin-input-lg'> $selectStr"; | |||
} else if ($ftype == "int" || $ftype == "float") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' class='form-control admin-input-xs' value='$fvalue'>"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' class='form-control admin-input-sm' value='$fvalue'>"; | |||
} else if ($ftype == "relation") { | |||
$fname = defined('DEDEADMIN')? 'form1' : 'addcontent'; | |||
$channel = ($ctag->GetAtt('channel') == "") ? "1" : $ctag->GetAtt('channel'); | |||