當前位置: 首頁>>代碼示例>>PHP>>正文


PHP admin::mhi_subtabs方法代碼示例

本文整理匯總了PHP中admin::mhi_subtabs方法的典型用法代碼示例。如果您正苦於以下問題:PHP admin::mhi_subtabs方法的具體用法?PHP admin::mhi_subtabs怎麽用?PHP admin::mhi_subtabs使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在admin的用法示例。


在下文中一共展示了admin::mhi_subtabs方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::mhi_subtabs("activity");
?>
				</h2>
				
				<form name="nav">
					<div>
						Select type of action: 
						<select name="SelectURL" onChange="document.location.href=document.nav.SelectURL.options[document.nav.SelectURL.selectedIndex].value">
						<option value="<?php 
echo url::base();
?>
admin/mhi/activity/"<?php 
if ($current_log_action_id == FALSE) {
    ?>
 selected <?php 
}
開發者ID:jetherton,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:mhi_activity.php

示例2:

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::mhi_subtabs("updatelist");
?>
				</h2>
				
				<div>
					Use a query like <?php 
echo url::base();
?>
admin/mhi/updatelist?mhimassupdatedb=100&from_version=27 to do a mass update. mhimassupdatedb is the number to update. from_version are the sites of that version to update.
				</div>
				<hr/>
				
				<table class="table-graph horizontal-bar">
				<?php 
foreach ($db_versions as $db => $version) {
    if ($version == $current_version) {
開發者ID:jetherton,項目名稱:Ushahidi_Web,代碼行數:31,代碼來源:mhi_updatelist.php

示例3:

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::mhi_subtabs("deployments");
?>
				</h2>
				<!-- tabs -->
				<div class="tabs">
					<!-- tabset -->
					<ul class="tabset">
						<li><a href="?status=0" <?php 
if ($status != 'a' && $status != 'p' && $status != 's') {
    echo "class=\"active\"";
}
?>
><?php 
echo Kohana::lang('ui_main.show_all');
?>
</a></li>
開發者ID:nebogeo,項目名稱:borrowed-scenery,代碼行數:31,代碼來源:mhi.php


注:本文中的admin::mhi_subtabs方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。