本文整理汇总了PHP中TranslationManagement::include_underscore_templates方法的典型用法代码示例。如果您正苦于以下问题:PHP TranslationManagement::include_underscore_templates方法的具体用法?PHP TranslationManagement::include_underscore_templates怎么用?PHP TranslationManagement::include_underscore_templates使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TranslationManagement
的用法示例。
在下文中一共展示了TranslationManagement::include_underscore_templates方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: build_content_translation_jobs
//.........这里部分代码省略.........
</th>
<th scope="col" id="title" class="manage-column column-title" style="">
<?php
_e('Title', 'wpml-translation-management');
?>
</th>
<th scope="col" id="language" class="manage-column column-language" style="">
<?php
_e('Language', 'wpml-translation-management');
?>
</th>
<th scope="col" id="status" class="manage-column column-status" style="">
<?php
_e('Status', 'wpml-translation-management');
?>
</th>
<th scope="col" id="translator" class="manage-column column-translator" style="">
<?php
_e('Translator', 'wpml-translation-management');
?>
</th>
</tr>
</thead>
<tfoot>
<tr>
<th scope="col" id="cb" class="manage-column check-column" style="">
<label class="screen-reader-text" for="bulk-select-bottom"><?php
_e('Select All', 'wpml-translation-management');
?>
</label>
<input id="bulk-select-bottom" class="bulk-select-checkbox" type="checkbox">
</th>
<th scope="col" id="job_id" class="manage-column column-job_id" style="">
<?php
_e('Job ID', 'wpml-translation-management');
?>
</th>
<th scope="col" id="title" class="manage-column column-title" style="">
<?php
_e('Title', 'wpml-translation-management');
?>
</th>
<th scope="col" id="language" class="manage-column column-language" style="">
<?php
_e('Language', 'wpml-translation-management');
?>
</th>
<th scope="col" id="status" class="manage-column column-status" style="">
<?php
_e('Status', 'wpml-translation-management');
?>
</th>
<th scope="col" id="translator" class="manage-column column-translator" style="">
<?php
_e('Translator', 'wpml-translation-management');
?>
</th>
</tr>
</tfoot>
<tbody class="groups"></tbody>
</table>
<br/>
<?php
wp_nonce_field('assign_translator_nonce', '_icl_nonce_at');
?>
<input type="hidden" name="icl_tm_action" value=""/>
<input id="icl-tm-jobs-cancel-but" name="icl-tm-jobs-cancel-but" class="button-primary" type="submit" value="<?php
_e('Cancel selected', 'wpml-translation-management');
?>
" disabled="disabled"/>
<span id="icl-tm-jobs-cancel-msg" style="display: none"><?php
_e('Are you sure you want to cancel these jobs?', 'wpml-translation-management');
?>
</span>
<span id="icl-tm-jobs-cancel-msg-2" style="display: none"><?php
_e('WARNING: %s job(s) are currently being translated.', 'wpml-translation-management');
?>
</span>
<span id="icl-tm-jobs-cancel-msg-3" style="display: none"><?php
_e('Are you sure you want to abort this translation?', 'wpml-translation-management');
?>
</span>
<span class="navigator"></span>
<span class="spinner waiting-2" style="display: none; float:none; visibility: visible"></span>
<?php
wp_nonce_field('icl_cancel_translation_jobs_nonce', 'icl_cancel_translation_jobs_nonce');
?>
<?php
wp_nonce_field('icl_get_jobs_table_data_nonce', 'icl_get_jobs_table_data_nonce');
?>
</div>
<?php
TranslationManagement::include_underscore_templates('listing');
}