当前位置: 首页>>代码示例>>PHP>>正文


PHP TranslationManagement::include_underscore_templates方法代码示例

本文整理汇总了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');
    }
开发者ID:tlandn,项目名称:akvo-sites-zz-template,代码行数:101,代码来源:wpml-tm-menus.class.php


注:本文中的TranslationManagement::include_underscore_templates方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。