提交 851571be 编写于 作者: G gongfuxiang

优化图片比例提示

上级 20974468
......@@ -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
......@@ -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.
先完成此消息的编辑!
想要评论请 注册