當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。