Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
纵之格
SchoolCMS
提交
851571be
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 搜索 >>
提交
851571be
编写于
9月 05, 2017
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化图片比例提示
上级
20974468
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
3 addition
and
2 deletion
+3
-2
Application/Admin/Lang/zh-cn/article.php
Application/Admin/Lang/zh-cn/article.php
+2
-1
Application/Admin/View/Default/Article/SaveInfo.html
Application/Admin/View/Default/Article/SaveInfo.html
+1
-1
未找到文件。
Application/Admin/Lang/zh-cn/article.php
浏览文件 @
851571be
...
...
@@ -7,6 +7,7 @@
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
$common_image_proportion
=
MyC
(
'common_image_proportion'
);
return
array
(
// 添加/编辑
'article_add_name'
=>
'文章添加'
,
...
...
@@ -22,6 +23,6 @@ return array(
'article_class_format'
=>
'请选择文章分类'
,
'article_article_class_id_error'
=>
'文章分类id不存在'
,
'article_so_keyword_tips'
=>
'标题关键字'
,
'article_images_upload_format'
=>
'为了站点自适应结构美观,图片尺寸比例:宽度的%'
.
MyC
(
'common_image_proportion'
,
56.23
,
true
)
.
' [计算规则 '
.
MyC
(
'common_image_proportion'
,
56.23
,
true
)
.
'除以100再乘以宽度] 得到高度'
,
'article_images_upload_format'
=>
(
$common_image_proportion
==
0
)
?
''
:
'为了站点自适应结构美观,图片尺寸比例:宽度的%'
.
$common_image_proportion
.
' [计算规则 '
.
$common_image_proportion
.
'除以100再乘以宽度] 得到高度'
,
);
?>
\ No newline at end of file
Application/Admin/View/Default/Article/SaveInfo.html
浏览文件 @
851571be
...
...
@@ -44,7 +44,7 @@
</div>
<include
file=
"Lib/Enable"
/>
<div
class=
"am-form-group"
>
<label>
{{:L('article_content_text')}}
<span
class=
"fs-12 fw-100 cr-999"
>
(
<if
condition=
"IsMobile()"
>
{{:L('article_content_format_mobile')}}
<else
/>
{{:L('article_images_upload_format')}}
</if>
)
</span></label>
<label>
{{:L('article_content_text')}}
<span
class=
"fs-12 fw-100 cr-999"
>
<if
condition=
"IsMobile()"
>
({{:L('article_content_format_mobile')}})
<else
/><if
condition=
"L('article_images_upload_format') neq ''"
>
({{:L('article_images_upload_format')}})
</if></if>
</span></label>
<textarea
class=
"am-radius am-validate"
name=
"content"
rows=
"5"
minlength=
"50"
maxlength=
"105000"
<
if
condition=
"!IsMobile()"
>
id="editor-tag" data-url="{{:U('Admin/Ueditor/Index', ['path_type'=>'Article'])}}" placeholder="{{:L('article_content_format')}}"
<else
/>
placeholder="{{:L('article_content_format')}}{{:L('article_content_format_mobile')}}"
</if>
data-validation-message="{{:L('article_content_format')}}" required>
<notempty
name=
"data"
>
{{$data.content}}
</notempty></textarea>
</div>
<div
class=
"am-form-group"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录