mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-01-09 04:17:31 +08:00
fix postion
This commit is contained in:
parent
7e8f021bf1
commit
94580b453d
@ -97,6 +97,9 @@ $HTTP["url"] =~ "^/(i|public)/" {
|
||||
- 或者参考:[https://blog.png.cm/996.html](https://blog.png.cm/996.html)
|
||||
|
||||
<details><summary><mark><font color=darkred>点击查看2.0版更新日志</font></mark></summary>
|
||||
* 2022-1-28 v2.4.8
|
||||
- 修复开启登录上传后无法上传的bug
|
||||
- 增加安装时检测.user.ini
|
||||
|
||||
* 2022-1-27 v2.4.7
|
||||
- 优化页面排版
|
||||
|
@ -139,7 +139,7 @@ if (isset($_GET['reimg'])) {
|
||||
<input type="url" class="form-control" name="domain" required="required" value="<?php echo $config['domain']; ?>" onkeyup="this.value=this.value.replace(/\s/g,'')">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>图片链接域名 | 末尾不加'/' 如果只有一个域名请与上边一致</label>
|
||||
<label data-toggle="tooltip" title="如果只有一个域名请与上边一致">图片链接域名 | 末尾不加'/' </label>
|
||||
<input type="text" class="form-control" name="imgurl" required="required" value="<?php echo $config['imgurl']; ?>" placeholder="末尾不加/" onkeyup="this.value=this.value.replace(/\s/g,'')" title="网站域名与图片链接域名可以不同,比如A域名上传,可以返回B域名图片链接,A、B需绑定到同一空间下,如果不变的话,下边2个填写成一样的! ">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@ -148,23 +148,23 @@ if (isset($_GET['reimg'])) {
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>网站关键字</label>
|
||||
<textarea class="form-control" rows="3" name="keywords" required="required" onkeyup="this.value=this.value.replace(/\s/g,'')"><?php echo $config['keywords']; ?></textarea>
|
||||
<textarea class="form-control" rows="2" name="keywords" required="required" onkeyup="this.value=this.value.replace(/\s/g,'')"><?php echo $config['keywords']; ?></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>网站描述</label>
|
||||
<textarea class="form-control" rows="3" name="description" required="required" onkeyup="this.value=this.value.replace(/\s/g,'')"><?php echo $config['description']; ?></textarea>
|
||||
<textarea class="form-control" rows="2" name="description" required="required" onkeyup="this.value=this.value.replace(/\s/g,'')"><?php echo $config['description']; ?></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>网站公告 | 支持html 不同公告以a标签分割</label>
|
||||
<label data-toggle="tooltip" title="不同公告以a标签分割">网站公告 | 支持html</label>
|
||||
<textarea class="form-control" rows="3" name="tips"><?php echo $config['tips']; ?></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>页脚信息</label>
|
||||
<textarea class="form-control" rows="3" name="footer"><?php echo $config['footer']; ?></textarea>
|
||||
<label data-toggle="tooltip" title="统计代码/JS/CSS | 代码需要闭合标签">页首信息 | 支持html</label>
|
||||
<textarea class="form-control" rows="3" name="customize"><?php echo $config['customize']; ?></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>统计代码 | 需要包含script标签</></label>
|
||||
<textarea class="form-control" rows="7" name="customize"><?php echo $config['customize']; ?></textarea>
|
||||
<label data-toggle="tooltip" title="统计代码/JS/CSS | 代码需要闭合标签">页脚信息 | 支持htm</label>
|
||||
<textarea class="form-control" rows="7" name="footer"><?php echo $config['footer']; ?></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="switch switch-inline">
|
||||
|
@ -18,8 +18,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php if (!empty($config['footer'])) echo $config['footer']; // 页脚信息
|
||||
?>
|
||||
<?php /** 页脚信息 */ if (!empty($config['footer'])) echo $config['footer']; ?>
|
||||
<p>
|
||||
© 2018-<?php echo date("Y"); ?>
|
||||
<a href="https://png.cm/" target="_blank"> EasyImage</a>
|
||||
@ -41,8 +40,6 @@
|
||||
</footer>
|
||||
|
||||
<?php
|
||||
// 自定义代码
|
||||
if ($config['customize']) echo $config['customize'];
|
||||
// 环境检测
|
||||
checkEnv($config['checkEnv']);
|
||||
?>
|
||||
|
@ -31,6 +31,8 @@ require_once APP_ROOT . '/application/total_files.php';
|
||||
<script src="<?php static_cdn(); ?>/public/static/zui/lib/ieonly/respond.js"></script>
|
||||
<script src="<?php static_cdn(); ?>/public/static/zui/lib/ieonly/excanvas.js"></script>
|
||||
<![endif]-->
|
||||
<?php /** 自定义代码 */ if (!empty($config['customize'])) echo $config['customize']; ?>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="container">
|
||||
|
@ -4,14 +4,14 @@ $config=Array
|
||||
'title'=>'简单图床 - EasyImage',
|
||||
'keywords'=>'简单图床,easyimage,无数据库图床,PHP多图长传程序,自适应页面,HTML5,markdown,bbscode,一键复制',
|
||||
'description'=>'简单图床EasyImage是一款支持多文件上传的无数据库图床,可以完美替代PHP多图上传程序,最新html5自适应页面兼容手机电脑,上传后返回图片直链,markdown图片,论坛贴图bbscode链接,简单方便支持一键复制,支持多域名,api上传。',
|
||||
'tips'=>'<a><li class="icon icon-bullhorn text-muted"> 单文件≤10M,单次上传≤30张</li></a>
|
||||
<a href="https://github.com/icret/EasyImages2.0" target="_black"><i class="icon icon-heart"> 简单图床是一款开源图床, 支持多文件上传无数据库</i></a>
|
||||
'tips'=>'<a><li class="icon icon-bullhorn text-muted"> 单文件≤10M,单次上传≤30张</li></a>
|
||||
<a href="https://github.com/icret/EasyImages2.0" target="_black"><i class="icon icon-heart"> 简单图床是一款开源图床, 支持多文件上传无数据库</i></a>
|
||||
<a href="https://github.com/icret/EasyImages2.0" target="_black"><i class="icon icon-github"> 如果你喜欢这种图床风格就下载喔 (๑•̀ㅂ•́)و✧</i></a>',
|
||||
'domain'=>'http://127.0.0.1',
|
||||
'imgurl'=>'http://127.0.0.1',
|
||||
'user'=>'admin',
|
||||
'password'=>'e6e061838856bf47e1de730719fb2609',
|
||||
'mustLogin'=>1,
|
||||
'mustLogin'=>0,
|
||||
'apiStatus'=>0,
|
||||
'path'=>'/i/',
|
||||
'imgName'=>'default',
|
||||
@ -44,7 +44,17 @@ $config=Array
|
||||
'static_cdn_url'=>'https://cdn.jsdelivr.net/gh/icret/EasyImages2.0',
|
||||
'TinyPng_key'=>'',
|
||||
'moderatecontent_key'=>'',
|
||||
'footer'=>'<a href="/admin/terms.php" target="_blank">请勿上传违反中国政策的图片</a>',
|
||||
'footer'=>'<a href="/admin/terms.php" target="_blank">请勿上传违反中国政策的图片</a>
|
||||
<script>
|
||||
var _hmt = _hmt || [];
|
||||
(function() {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?c790ac2bdc2f385757ecd0183206108d";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
</script>
|
||||
',
|
||||
'ad_top'=>0,
|
||||
'ad_top_info'=>' <!--广告 按照这个范例替换相应链接,如果想多几个广告,就多复制几个-->
|
||||
<div class="col-md-12" style="text-align: center;margin:2px;">
|
||||
@ -57,16 +67,7 @@ $config=Array
|
||||
</div>',
|
||||
'showSwitch'=>1,
|
||||
'listNumber'=>20,
|
||||
'customize'=>' <!-- 百度统计代码-->
|
||||
<script>
|
||||
var _hmt = _hmt || [];
|
||||
(function() {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?5320b69f4f1caa9328dfada73c8e6a75";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
</script>',
|
||||
'customize'=>'',
|
||||
'checkEnv'=>1,
|
||||
'checkImg'=>0,
|
||||
'checkImg_value'=>50,
|
||||
@ -80,5 +81,5 @@ $config=Array
|
||||
'check_ip_model'=>0,
|
||||
'check_ip_list'=>'',
|
||||
'version'=>'2.4.7',
|
||||
'form'=>'2022-01-28 21:21:52'
|
||||
'form'=>'2022-01-28 22:50:38'
|
||||
);
|
Loading…
Reference in New Issue
Block a user