Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
纵之格
SchoolCMS
提交
28df5e49
S
SchoolCMS
项目概览
纵之格
/
SchoolCMS
通知
11
Star
2
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SchoolCMS
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
28df5e49
编写于
5月 15, 2017
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
2.3.1bug修复
上级
1a6894ec
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
6 addition
and
6 deletion
+6
-6
Application/Admin/View/Default/View/Index.html
Application/Admin/View/Default/View/Index.html
+3
-3
Application/Common/Conf/config.php
Application/Common/Conf/config.php
+1
-1
Application/Home/Controller/CommonController.class.php
Application/Home/Controller/CommonController.class.php
+1
-1
core.php
core.php
+1
-1
未找到文件。
Application/Admin/View/Default/View/Index.html
浏览文件 @
28df5e49
...
...
@@ -287,7 +287,7 @@
<div
class=
"layout-content-submit drag-submit"
>
<if
condition=
"C('IS_DEVELOP')"
>
<if
condition=
"!empty($v['item'][0]['id'])"
>
<div
class=
"fl data-variable"
>
$
article
_{{$v['item'][0]['id']}}
</div>
<div
class=
"fl data-variable"
>
$
data
_{{$v['item'][0]['id']}}
</div>
</if>
</if>
<input
type=
"checkbox"
name=
"switch-checkbox"
data-size=
"xs"
data-on-color=
"success"
data-off-color=
"warning"
data-off-text=
"{{:L("
common_operation_off_text
")}}"
data-on-text=
"{{:L("
common_operation_on_text
")}}"
data-id=
"{{$v.id}}"
<
if
condition=
"$v['is_enable'] eq 1"
>
checked="true"
</if>
/>
...
...
@@ -315,7 +315,7 @@
<li
class=
"layout-item"
>
<div
class=
"layout-content-submit"
>
<if
condition=
"C('IS_DEVELOP')"
>
<div
class=
"fl data-variable"
>
$
article
_{{$vs.id}}
</div>
<div
class=
"fl data-variable"
>
$
data
_{{$vs.id}}
</div>
</if>
<button
type=
"button"
class=
"am-btn am-btn-secondary am-radius layout-submit-edit am-btn-xs m-r-5"
data-am-modal=
"{target: '#layout-module-win'}"
data-id=
"{{$vs.id}}"
data-value=
"{data-value}"
data-tag=
"layout-content-{{$v.value}}-{{$vs.id}}"
data-json=
'{{$vs.json}}'
>
{{:L("common_operation_edit")}}
</button>
<button
type=
"button"
class=
"am-btn am-btn-danger am-radius am-btn-xs layout-submit-delete"
data-id=
"{{$vs.id}}"
data-type=
"module"
>
{{:L("common_operation_remove")}}
</button>
...
...
@@ -340,7 +340,7 @@
<div
class=
"am-u-md-{{$t_all[$ks]}}"
>
<div
class=
"layout-content-submit"
>
<if
condition=
"C('IS_DEVELOP')"
>
<div
class=
"fl data-variable"
>
$
article
_{{$vs.id}}
</div>
<div
class=
"fl data-variable"
>
$
data
_{{$vs.id}}
</div>
</if>
<button
type=
"button"
class=
"am-btn am-btn-secondary am-radius layout-submit-edit am-btn-xs"
data-am-modal=
"{target: '#layout-module-win'}"
data-id=
"{{$vs.id}}"
data-value=
"{{$v.value}}"
data-tag=
"layout-content-{{$v.value}}-{{$vs.id}}"
data-json=
'{{$vs.json}}'
>
{{:L("common_operation_edit")}}
</button>
</div>
...
...
Application/Common/Conf/config.php
浏览文件 @
28df5e49
...
...
@@ -11,7 +11,7 @@
$timezone
=
S
(
'cache_common_timezone_data'
);
return
array
(
// 是否开启开发者模式
'IS_DEVELOP'
=>
fals
e
,
'IS_DEVELOP'
=>
tru
e
,
// 显示页面Trace信息
'SHOW_PAGE_TRACE'
=>
false
,
...
...
Application/Home/Controller/CommonController.class.php
浏览文件 @
28df5e49
...
...
@@ -312,7 +312,7 @@ class CommonController extends Controller
$item
[
$ik
]
=
$html
;
// 模板赋值
$this
->
assign
(
'
article
_'
.
$iv
[
'id'
],
$article
);
$this
->
assign
(
'
data
_'
.
$iv
[
'id'
],
$article
);
$this
->
assign
(
'rules_'
.
$iv
[
'id'
],
$iv
);
}
}
...
...
core.php
浏览文件 @
28df5e49
...
...
@@ -38,7 +38,7 @@ if(is_dir("./Install") && !file_exists("./Install/install.lock"))
if
(
version_compare
(
PHP_VERSION
,
'5.3.0'
,
'<'
))
die
(
'require PHP > 5.3.0 !'
);
// 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false
define
(
'APP_DEBUG'
,
fals
e
);
define
(
'APP_DEBUG'
,
tru
e
);
// 分之模式,master,develop,test,debug
define
(
'APP_STATUS'
,
'master'
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录