当您为工单表单配置一个字段并且您在设置选项卡中时,您将看到此标签丢失:
我猜这与 include/staff/templates 中的文件 dynamic-field-config.tmpl.php 有关。
第 102 行似乎是问题的根源:
<div class="span4">
<div style="margin-bottom:5px"><strong><?php __('Data Integrity');
?></strong>
<i class="help-tip icon-question-sign"
data-title="<?php echo __('Required to close a thread'); ?>"
data-content="<?php echo __('Optionally, this field can prevent closing a thread until it has valid data.'); ?>"></i>
</div>
</div>
这是Editable-Label要比较的对应部分:
<div class="span4">
<div style="margin-bottom:5px"><strong>Editable</strong>
<i class="help-tip icon-question-sign"
data-content="<?php echo __('Fields marked editable allow agents and endusers to update the content of this field after the form entry has been created.'); ?>"
data-title="<?php echo __('Editable'); ?>"></i>
</div>
</div>
通常标签在强标签之间,这一行没有标签,只有这个代码“”。
顺便说一句:我对 osticket.com 的新版本感到非常兴奋:1.10 RC3 和 1.9.14。 👍
非常感谢@greezybacon @protich !
在第 102 行添加“echo”:
<div style="margin-bottom:5px"><strong><?php echo __('Data Integrity');
..似乎解决了这个问题:
@mfelber感谢您的提示。 我直接解决了问题
谢谢
最有用的评论
在第 102 行添加“echo”:
<div style="margin-bottom:5px"><strong><?php echo __('Data Integrity');
..似乎解决了这个问题: