pull/141/head
parent
dd4a1e4394
commit
cdf9ea9fd9
|
@ -263,7 +263,6 @@ if (isset($_GET['suspic_reimg'])) {
|
|||
</script>
|
||||
";
|
||||
}
|
||||
|
||||
header("refresh:1;url=/admin/admin.inc.php");
|
||||
}
|
||||
|
||||
|
@ -392,7 +391,6 @@ auto_delete(); //定时删除
|
|||
</form>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="Content2">
|
||||
|
||||
<form action="<?php echo $_SERVER['SCRIPT_NAME']; ?>" method="post">
|
||||
<div class="form-group col-md-12">
|
||||
<div class="form-group col-md-1">
|
||||
|
@ -560,8 +558,8 @@ auto_delete(); //定时删除
|
|||
<input type="text" class="form-control" id="add_modify_token" name="add_token" value="<?php echo privateToken(); ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="add_modify_token_time" data-toggle="tooltip" title="正整数或负整数<p>正整数代表有效期</p><p>负整数(-1)代表过期</p>">有效期 (天): </label>
|
||||
<input type="number" class="form-control" id="add_modify_token_time" name="add_token_expired" value="30">
|
||||
<label for="add_modify_token_time" data-toggle="tooltip" title="正整数或负整数<br/>正整数设置有效期<br/>负整数(-1)设置过期">有效期 (天): </label>
|
||||
<input type="number" class="form-control" id="add_modify_token_time" name="add_token_expired" min="-1" value="30" required="required">
|
||||
</div>
|
||||
<input type="hidden" class="form-control" name="add_token_id" value="<?php echo count($tokenList); ?>" placeholder="隐藏的保存">
|
||||
<button type="submit" class="btn btn-primary">添加</button>
|
||||
|
@ -585,7 +583,7 @@ auto_delete(); //定时删除
|
|||
<form action="<?php echo $_SERVER['SCRIPT_NAME']; ?>" method="post">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">天数</span>
|
||||
<input type="number" name="auto_delete" class="form-control" placeholder="0" value="<?php echo $config['auto_delete']; ?>">
|
||||
<input type="number" name="auto_delete" class="form-control" min="1" placeholder="0" value="<?php echo $config['auto_delete']; ?>" required="required">
|
||||
<span class="input-group-btn"><button class="btn btn-primary">设置</button></span>
|
||||
</div>
|
||||
<input type="hidden" class="form-control" name="update" value="<?php echo date("Y-m-d H:i:s"); ?>" placeholder="隐藏的保存">
|
||||
|
@ -617,17 +615,17 @@ auto_delete(); //定时删除
|
|||
<label data-toggle="tooltip" title="已生成的缩略图不会失效 需清理缓存">生成大小</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">宽</span>
|
||||
<input type="number" name="thumbnail_w" class="form-control" placeholder="258" value="<?php if (!empty($config['thumbnail_w'])) echo $config['thumbnail_w']; ?>">
|
||||
<input type="number" name="thumbnail_w" class="form-control" min="5" placeholder="258" value="<?php echo $config['thumbnail_w']; ?>" required="required">
|
||||
<span class="input-group-addon">px</span>
|
||||
<span class="input-group-addon">高</span>
|
||||
<input type="number" name="thumbnail_h" class="form-control" placeholder="258" value="<?php if (!empty($config['thumbnail_h'])) echo $config['thumbnail_h']; ?>">
|
||||
<input type="number" name="thumbnail_h" class="form-control" min="5" placeholder="258" value="<?php echo $config['thumbnail_h']; ?>" required="required">
|
||||
<span class="input-group-addon">px</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="report" data-toggle="tooltip" title="举报地址支持Zoho表单、金数据、表单大师等<br/>(推荐ZOHO)留空则不显示">举报地址 <a href="https://store.zoho.com.cn/referral.do?servicename=ZohoForms&category=ZohoForms&ref=52f8a4e98a7a7d4c2475713784605af0dc842f6cc9732dd77f37b87f2959149e212e550f50a869f70360f15b80a4abc6" target="_blank"><i class="icon icon-external-link"></i></a></label>
|
||||
<input type="text" class="form-control" id="report" name="report" value="<? if (isset($config['report'])) echo $config['report']; ?>" placeholder="可以是网址或邮箱" onkeyup="this.value=this.value.replace(/\s/g,'')">
|
||||
<input type="text" class="form-control" id="report" name="report" value="<?php echo $config['report']; ?>" placeholder="可以是网址或邮箱" onkeyup="this.value=this.value.replace(/\s/g,'')">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="switch switch-inline">
|
||||
|
@ -836,7 +834,7 @@ auto_delete(); //定时删除
|
|||
<div class="form-group">
|
||||
<div class="input-group" data-toggle="tooltip" title="请输入限制数量 | 0 为不限制<br /> 开启监黄,水印等受网络波动和机器性能,执行完毕前限制不生效!">
|
||||
<span class="input-group-addon">游客上传限制</span>
|
||||
<input class="form-control" type="number" name="ip_upload_counts" value="<?php echo $config['ip_upload_counts']; ?>">
|
||||
<input class="form-control" type="number" name="ip_upload_counts" min="0" value="<?php echo $config['ip_upload_counts']; ?>" required="required">
|
||||
<span class="input-group-addon">张</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1086,7 +1084,7 @@ auto_delete(); //定时删除
|
|||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="login_bg" data-toggle="tooltip" title="图片地址可以是相对路径或网址">登录背景</label>
|
||||
<input type="text" class="form-control" id="login_bg" name="login_bg" value="<? if ($config['login_bg']) echo $config['login_bg']; ?>" required="required" placeholder="图片地址可以是相对路径或网址" onkeyup="this.value=this.value.replace(/\s/g,'')">
|
||||
<input type="text" class="form-control" id="login_bg" name="login_bg" value="<?php if ($config['login_bg']) echo $config['login_bg']; ?>" required="required" placeholder="图片地址可以是相对路径或网址" onkeyup="this.value=this.value.replace(/\s/g,'')">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-9">
|
||||
|
@ -1096,7 +1094,7 @@ auto_delete(); //定时删除
|
|||
</div>
|
||||
<div class="col-md-3">
|
||||
<label id="listDate" data-toggle="tooltip" title="广场往日浏览限制<br />有助于防爬虫抓取<br />建议不超10天,否则页面导致排版混乱">广场限制 | 当前: <?php echo $config['listDate']; ?>天</label>
|
||||
<input type="number" class="form-control" id="listDate" name="listDate" value="<? if ($config['listDate']) echo $config['listDate']; ?>" min="1" max="100" required="required" placeholder="有助于防爬虫抓取 建议不超10天" onkeyup="this.value=this.value.replace(/\s/g,'')">
|
||||
<input type="number" class="form-control" id="listDate" name="listDate" value="<?php if ($config['listDate']) echo $config['listDate']; ?>" min="1" max="100" required="required" placeholder="有助于防爬虫抓取 建议不超10天" onkeyup="this.value=this.value.replace(/\s/g,'')">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
|
@ -1161,7 +1159,7 @@ auto_delete(); //定时删除
|
|||
<div class="form-group col-md-3">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">有效期</span>
|
||||
<input type="number" class="form-control" name="uploader_time" value="30" id="uploader_time" required="required" placeholder="有效期 单位: 天">
|
||||
<input type="number" class="form-control" name="uploader_time" value="30" id="uploader_time" placeholder="有效期 单位: 天" required="required">
|
||||
<span class="input-group-addon">天</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -171,7 +171,7 @@ if ($config['ad_top']) echo $config['ad_top_info'];
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? /** 底部广告 */ if ($config['ad_bot']) echo $config['ad_bot_info']; ?>
|
||||
<?php /** 底部广告 */ if ($config['ad_bot']) echo $config['ad_bot_info']; ?>
|
||||
<!-- 随机图片 -->
|
||||
<?php if ($config['info_rand_pic']) : ?>
|
||||
<div class="col-md-12" style="padding-bottom: 10px;">
|
||||
|
|
|
@ -41,7 +41,7 @@ $config=Array
|
|||
'textSize'=>50,
|
||||
'textFont'=>'/public/static/pang_men_zheng_dao_biao_ti_ti_3.0.ttf',
|
||||
'waterImg'=>'/public/images/watermark.png',
|
||||
'extensions'=>'gif,jpeg,png,tif,bmp,svg,webp,jpg,tga,ico,avif',
|
||||
'extensions'=>'jpg,jpeg,png,gif,bmp,webp,svg,ico,jfif,tif,svg,tga',
|
||||
'compress'=>0,
|
||||
'compress_ratio'=>80,
|
||||
'thumbnail'=>1,
|
||||
|
@ -115,7 +115,7 @@ $config=Array
|
|||
'guest_path_status'=>0,
|
||||
'token_path_status'=>0,
|
||||
'admin_path'=>'u',
|
||||
'update'=>'2023-02-13 12:54:50',
|
||||
'update'=>'2023-02-14 21:17:45',
|
||||
'footer'=>'<a href="https://github.com/icret/EasyImages2.0" target="_blank" rel="nofollow" data-toggle="tooltip" title="Since 2018 - Github">© Since 2018</a>
|
||||
<a href="https://png.cm/" target="_blank" data-toggle="tooltip" title="EasyImage 简单图床">EasyImage</a>
|
||||
<a href="/admin/terms.php" target="_blank" data-toggle="tooltip" title="使用协议">DMCA</a>
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
![项目状态](https://repobeats.axiom.co/api/embed/0922803f14091f0686de26fee5196b9984b106a4.svg "Repobeats analytics image")
|
||||
|
||||
*2023-02-12 v2.7.5 dev
|
||||
- 增加定时删除上传文件
|
||||
- 更换检测最新版本方式
|
||||
- 增加定时删除文件
|
||||
- 更换检测新版本方式
|
||||
- API上传增加返回Token ID
|
||||
- 优化显示
|
||||
|
||||
|
|
Loading…
Reference in New Issue