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


PHP jText::_方法代码示例

本文整理汇总了PHP中jText::_方法的典型用法代码示例。如果您正苦于以下问题:PHP jText::_方法的具体用法?PHP jText::_怎么用?PHP jText::_使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在jText的用法示例。


在下文中一共展示了jText::_方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: doPost

 /**
  * Process posted data and send email
  * @param type $module
  * @param type $params Back-end params
  * @param type $fields All fields of contact form
  */
 public function doPost($module, $params, $fields)
 {
     //xu ly page break và post
     if (JRequest::get('post') && JRequest::getVar('btqc' . $module->id)) {
         $data = JRequest::getVar('btqc' . $module->id);
         //get submitted data
         //validate data by PHP
         foreach ($fields as $field) {
             if ($field->type == 'pagebreak' || $field->type == 'separator') {
                 continue;
             }
             //nếu là checkbox và radio được required mà không được submit hoặc không có giá trị nào
             if ($field->type == 'checkbox' && $field->type == 'radio' && $field->required) {
                 if ($data[$field->alias] && !count($data[$field->alias])) {
                     $this->_result = false;
                     $this->_errorMessages[] = JText::_('ERROR_REQUIRED');
                 }
                 continue;
             } else {
                 if ($field->type == 'file') {
                     //nếu file required thì bắt buộc file check
                     if ($field->required) {
                         if (empty($_FILES) || !$_FILES['btqc' . $module->id]['tmp_name']['btqc_f_' . $field->alias]) {
                             $this->_result = false;
                             $this->_errorMessages[] = JText::_('ERROR_FILE_REQUIRED');
                             continue;
                         }
                     }
                     if (!empty($_FILES)) {
                         if (!key_exists('btqc_f_' . $field->alias, $_FILES['btqc' . $module->id]['tmp_name'])) {
                             continue;
                         }
                         $file = $_FILES['btqc' . $module->id]['tmp_name']['btqc_f_' . $field->alias];
                         if ($file) {
                             $fileExt = explode('.', $_FILES['btqc' . $module->id]['name']['btqc_f_' . $field->alias]);
                             $fileExt = strtolower($fileExt[1]);
                             //check ext
                             if ($field->ext && strpos($field->ext, $fileExt) === false) {
                                 $this->_result = false;
                                 $this->_errorMessages[] = sprintf(JText::_('ERROR_EXT'), str_replace('|', ',', $field->ext));
                             }
                             //check size
                             if (filesize($file) > $field->maxSize * 1024 * 1024) {
                                 $this->_result = false;
                                 $this->_errorMessages[] = sprintf(JText::_('ERROR_MAXSIZE'), $field->maxSize . 'MB');
                             }
                             //neu file khong được sumbit mà được required
                         }
                     }
                     continue;
                 } else {
                     if ($field->required && (!key_exists('btqc_f_' . $field->alias, $data) || !$data['btqc_f_' . $field->alias])) {
                         $this->_result = false;
                         $this->_errorMessages[] = JText::_('ERROR_REQUIRED');
                         continue;
                     }
                     if (!$field->required && (!key_exists('btqc_f_' . $field->alias, $data) || $data['btqc_f_' . $field->alias] == '')) {
                         continue;
                     }
                     //kiểu số
                     if ($field->type == 'number' && $data['btqc_f_' . $field->alias] && !is_numeric($data['btqc_f_' . $field->alias])) {
                         $this->_result = false;
                         $this->_errorMessages[] = JText::_('ERROR_NUMBER');
                     }
                     //kiểu email
                     if ($field->type == 'email' && $data['btqc_f_' . $field->alias]) {
                         $preg = "/^( [a-zA-Z0-9] )+( [a-zA-Z0-9\\._-] )*@( [a-zA-Z0-9_-] )+( [a-zA-Z0-9\\._-] +)+\$/";
                         if (preg_match($preg, $data['btqc_f_' . $field->alias])) {
                             $this->_result = false;
                             $this->_errorMessages[] = JText::_('ERROR_EMAIL');
                         }
                     }
                     //kiểu ngày
                     if ($field->type == 'date' && $data['btqc_f_' . $field->alias] && !strtotime($data['btqc_f_' . $field->alias])) {
                         $this->_result = false;
                         $this->_errorMessages[] = JText::_('ERROR_DATE');
                     }
                     continue;
                 }
             }
         }
         //nếu không có lỗi post và có sài captcha thì kiểm tra captcha
         if ($this->_result) {
             if ($params->get('captcha') != '0') {
                 $plugin = BTQuickContactHelper::getCaptchaPlugin($params);
                 if ($plugin) {
                     $captcha = JCaptcha::getInstance($plugin);
                     if (!$captcha->checkAnswer('')) {
                         $this->_result = false;
                         $this->_errorMessages[] = JText::_('ERROR_CAPTCHA');
                         $this->_jsonResponse['captchaError'] = true;
                     }
                 }
             }
//.........这里部分代码省略.........
开发者ID:Tommar,项目名称:remate,代码行数:101,代码来源:helper.php

示例2: saveorder

 /**
  * Method to save the submitted ordering values for records.
  *
  * @return  boolean  True on success
  *
  * @since   12.2
  */
 public function saveorder()
 {
     // Check for request forgeries.
     JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
     // Get the input
     $pks = $this->input->post->get('cid', array(), 'array');
     $order = $this->input->post->get('order', array(), 'array');
     // Sanitize the input
     JArrayHelper::toInteger($pks);
     JArrayHelper::toInteger($order);
     // Get the model
     $model = $this->getModel();
     if (empty($pks) && empty($order)) {
         $this->setRedirect(JRoute::_('index.php?option=' . $this->option . '&view=' . $this->view_list, false), jText::_('COM_MOBILIZE_ERROR_NO_ITEMS_SELECTED'), 'error');
         return false;
     } else {
         // Save the ordering
         $return = $model->saveorder($pks, $order);
         if ($return === false) {
             // Reorder failed
             $message = JText::sprintf('JLIB_APPLICATION_ERROR_REORDER_FAILED', $model->getError());
             $this->setRedirect(JRoute::_('index.php?option=' . $this->option . '&view=' . $this->view_list, false), $message, 'error');
             return false;
         } else {
             // Reorder succeeded.
             $this->setMessage(JText::_('JLIB_APPLICATION_SUCCESS_ORDERING_SAVED'));
             $this->setRedirect(JRoute::_('index.php?option=' . $this->option . '&view=' . $this->view_list, false));
             return true;
         }
     }
 }
开发者ID:densem-2013,项目名称:exikom,代码行数:38,代码来源:profiles.php

示例3: foreach

if (count($this->inventorylist) > 0) {
    $i = 0;
    $k = 0;
    $keyword = JRequest::getWord('keyword');
    foreach ($this->inventorylist as $key => $product) {
        $checked = JHTML::_('grid.id', $i, $product->virtuemart_product_id);
        $published = JHTML::_('grid.published', $product, $i);
        //<!-- low_stock_notification  -->
        if ($product->product_in_stock - $product->product_ordered < 1) {
            $stockstatut = "out";
        } elseif ($product->product_in_stock - $product->product_ordered < $product->low_stock_notification) {
            $stockstatut = "low";
        } else {
            $stockstatut = "normal";
        }
        $stockstatut = 'class="stock-' . $stockstatut . '" title="' . jText::_('COM_VIRTUEMART_STOCK_LEVEL_' . $stockstatut) . '"';
        ?>
			<tr class="row<?php 
        echo $k;
        ?>
">
				<!-- Checkbox -->
				<td><?php 
        echo $checked;
        ?>
</td>
				<!-- Product name -->
				<?php 
        $link = 'index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id=' . $product->virtuemart_product_id . '&product_parent_id=' . $product->product_parent_id;
        ?>
				<td><?php 
开发者ID:srbsnkr,项目名称:sellingonlinemadesimple,代码行数:31,代码来源:default.php

示例4:

			<?php 
            echo $item->introtext;
            ?>
		</div>
	<?php 
        }
        ?>

	<?php 
        if ($show_readmore) {
            ?>
	<a class="btn btn-primary" href="<?php 
            echo $item->link;
            ?>
"><?php 
            echo jText::_('MORE');
            ?>
</a>
<?php 
        }
        ?>

</div>
<div style="clear:both"></div>	
</div>
</li>
<?php 
    }
    ?>
</ul>
开发者ID:bumperkrop,项目名称:mod_sp_portfolio,代码行数:30,代码来源:appico.php

示例5:

    }
    ?>
		<div class="clear"></div>
	</div>
	<?php 
}
// Product Navigation END
?>
	<?php 
// Back To Category Button
if ($this->product->virtuemart_category_id) {
    $catURL = JRoute::_('index.php?option=com_virtuemart&view=category&virtuemart_category_id=' . $this->product->virtuemart_category_id);
    $categoryName = $this->product->category_name;
} else {
    $catURL = JRoute::_('index.php?option=com_virtuemart');
    $categoryName = jText::_('COM_VIRTUEMART_SHOP_HOME');
}
?>
	<div class="back-to-category"> <a href="<?php 
echo $catURL;
?>
" class="product-details" title="<?php 
echo $categoryName;
?>
"><?php 
echo JText::sprintf('COM_VIRTUEMART_CATEGORY_BACK_TO', $categoryName);
?>
</a> </div>
	<?php 
// Product Title
?>
开发者ID:jdrzaic,项目名称:joomla-dummy,代码行数:31,代码来源:default.php

示例6: base64_encode

?>
<b class="caret"></b></a>
							<ul class="dropdown-menu">
								<li class=""><a href="<?php 
echo jRoute::_('index.php?option=com_virtuemart&view=user');
?>
"><i class="icon icon-user"></i> <?php 
echo jText::_('COM_VIRTUEMART_YOUR_ACCOUNT_DETAILS');
?>
</a></li>
								<li class="divider"></li>
								<li class=""><a href="<?php 
echo jRoute::_('index.php?option=com_users&task=user.logout&' . jSession::getFormToken() . '=1&return=' . base64_encode('index.php?option=com_virtuemart'));
?>
"><i class="icon icon-exit"></i> <?php 
echo jText::_('COM_VIRTUEMART_BUTTON_LOGOUT');
?>
</a></li>
							</ul>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</nav>
	<?php 
if (count($messages)) {
    foreach ($messages as $message) {
        ?>
			<div class="alert alert-<?php 
        echo $message['type'];
开发者ID:denis1001,项目名称:Virtuemart-2-Joomla-3-Bootstrap,代码行数:31,代码来源:edit.html.php

示例7: array

        if ($order->virtuemart_user_id) {
            echo $this->editLink($order->virtuemart_user_id, $order->order_name, 'virtuemart_user_id[]', array('class' => 'hasTooltip', 'title' => JText::_('COM_VIRTUEMART_ORDER_EDIT_USER') . ' ' . $order->order_name), 'user');
        } else {
            echo $order->order_name;
        }
        ?>
				</td>
				<td class="autosize">
					<?php 
        if ($order->order_email) {
            ?>
						<a href="mailto:<?php 
            echo $order->order_email;
            ?>
?subject=<?php 
            echo jText::_('COM_VIRTUEMART_ORDER_LIST_NUMBER');
            ?>
&body=new" target="_top"><i class="icon-envelope"></i></a>
					<?php 
        }
        ?>
				</td>
				<!-- Payment method -->
				<td><?php 
        echo $order->payment_method;
        ?>
</td>
				<!-- Print view -->
				<?php 
        /* Print view URL */
        $print_url = juri::root() . 'index.php?option=com_virtuemart&view=invoice&layout=invoice&tmpl=component&virtuemart_order_id=' . $order->virtuemart_order_id . '&order_number=' . $order->order_number . '&order_pass=' . $order->order_pass;
开发者ID:denis1001,项目名称:Virtuemart-2-Joomla-3-Bootstrap,代码行数:31,代码来源:vendor_results.php

示例8: defined

 * @version $Id: default_customfields.php 5699 2012-03-22 08:26:48Z ondrejspilka $
 */

// Check to ensure this file is included in Joomla!
defined ( '_JEXEC' ) or die ( 'Restricted access' );
?>
<div class="product-fields">
	    <?php
	    $custom_title = null;
	    foreach ($this->product->customfieldsSorted[$this->position] as $field) {
	    	if ( $field->is_hidden ) //OSP http://forum.virtuemart.net/index.php?topic=99320.0
	    		continue;
			if ($field->display) {
	    ?><div class="product-field product-field-type-<?php echo $field->field_type ?>">
		    <?php if ($field->custom_title != $custom_title && $field->show_title) { ?>
			    <span class="product-fields-title" ><?php echo JText::_($field->custom_title); ?></span>
			    <?php
			    if ($field->custom_tip)
				echo JHTML::tooltip($field->custom_tip, JText::_($field->custom_title), 'tooltip.png');
			}
			?>
	    	    <span class="product-field-display"><?php echo $field->display ?></span>
	    	    <span class="product-field-desc"><?php echo jText::_($field->custom_field_desc) ?></span>
	    	</div>
		    <?php
		    $custom_title = $field->custom_title;
			}
	    }
	    ?>
        </div>
开发者ID:sergy444,项目名称:joomla,代码行数:30,代码来源:default_customfields.php

示例9: elseif

        } else {
            if ($inStock <= $product->low_stock_notification) {
                $stockLabel = 'label-warning';
            } else {
                $stockLabel = 'label-success';
            }
        }
        if ($inStock < 1) {
            $stockstatut = "OUT";
        } elseif ($inStock < $product->low_stock_notification) {
            $stockstatut = "LOW";
        } else {
            $stockstatut = "NORMAL";
        }
        $orderedLabel = $stockLabel;
        $stockstatut = $stockLabel . '" title="' . jText::_('COM_VIRTUEMART_STOCK_LEVEL_' . $stockstatut);
        if ($product->product_ordered == 0) {
            $orderedLabel = '';
        }
        ?>
			<tr <?php 
        echo $inStock < $product->product_ordered ? 'class="error"' : '';
        ?>
>
				<!-- Checkbox -->
				<td><?php 
        echo $checked;
        ?>
</td>
				<!-- Product name -->
				<td>
开发者ID:denis1001,项目名称:Virtuemart-2-Joomla-3-Bootstrap,代码行数:31,代码来源:default_results.php

示例10:

</th>
		<th><span class="icon-eye-open"></span></th>
		<th class="hidden-phone"><?php 
echo JText::_('COM_VIRTUEMART_FILES_LIST_FILETYPE');
?>
</th>
		<th><?php 
echo $this->sort('published', 'COM_VIRTUEMART_PUBLISHED');
?>
</th>
		<?php 
if (Vmconfig::get('multix', 'none') !== 'none' and $this->perms->check('admin')) {
    ?>
			<th width="20" class="autosize">
				<?php 
    echo jText::_('COM_VIRTUEMART_SHARED');
    ?>
			</th>
		<?php 
}
?>
	  <th class="hidden-phone"><?php 
echo $this->sort('virtuemart_media_id', 'COM_VIRTUEMART_ID');
?>
</th>
	</tr>
	</thead>
	<tbody>
	<?php 
if (count($this->files) > 0) {
    $i = 0;
开发者ID:denis1001,项目名称:Virtuemart-2-Joomla-3-Bootstrap,代码行数:31,代码来源:default_results.php

示例11: getSlideHtml

    /**
     * 
     * get slide list item html
     */
    public function getSlideHtml($item, $numItem)
    {
        $sliderID = $item->sliderid;
        $itemID = $item->id;
        //get params
        $params = new JRegistry();
        $params->loadString($item->params, "json");
        $urlRoot = JURI::root();
        //get image url's:
        $urlImage = $params->get("image");
        if (empty($urlImage)) {
            $urlImage = GlobalsUniteRev::$urlDefaultSlideImage;
        }
        $image = UniteFunctionJoomlaRev::getImageFilename($urlImage);
        $thumbUrl = UniteFunctionJoomlaRev::getImageOutputUrl($image, 200, 100, true);
        $imageUrl = $urlRoot . $image;
        $img_file = pathinfo($imageUrl, PATHINFO_BASENAME);
        $itemTitle = $item->title . " ({$img_file})";
        $itemTitle = htmlspecialchars($itemTitle);
        $linkItem = HelperUniteRev::getViewUrl_Item($sliderID, $itemID);
        $isPublished = $item->published;
        ob_start();
        $isJoomla3 = UniteFunctionJoomlaRev::isJoomla3();
        ?>
			<li id="item_<?php 
        echo $itemID;
        ?>
">
				<span class="slide-col col-checkbox">
					<div class='num-item'>
						<label class="label_numitem" for="check_item_<?php 
        echo $itemID;
        ?>
"><?php 
        echo $numItem;
        ?>
</label>							
					</div>
					
					<div class="published_icon_wrapper">						
						<?php 
        if ($isPublished) {
            ?>
						
							<?php 
            if ($isJoomla3) {
                //joomla 3 published
                ?>
								<a class="publish_link btn btn-micro active" data-published="true" data-itemid="<?php 
                echo $itemID;
                ?>
" title="<?php 
                echo JText::_("COM_UNITEREVOLUTION_UNPUBLISH_ITEM");
                ?>
" href="javascript:void(0);">							
									<div class="publish_loader" style="display:none;"></div>
									<i class="icon-publish"></i>
								</a>
							<?php 
            } else {
                //joomla 2.5 published
                ?>
								<a class="jgrid publish_link" data-published="true" data-itemid="<?php 
                echo $itemID;
                ?>
" title="<?php 
                echo JText::_("COM_UNITEREVOLUTION_UNPUBLISH_ITEM");
                ?>
" href="javascript:void(0);">							
									<div class="publish_loader" style="display:none;"></div>
									<span class="state publish">
										<span class="text"><?php 
                echo JText::_("COM_UNITEREVOLUTION_PUBLISHED");
                ?>
</span>
									</span>
								</a>
							
							<?php 
            }
            ?>
						
						<?php 
        } else {
            ?>
							<?php 
            if ($isJoomla3) {
                //joomla3 unpublish
                ?>
								<a class="publish_link btn btn-micro active" data-published="false" data-itemid="<?php 
                echo $itemID;
                ?>
" title="<?php 
                echo JText::_("COM_UNITEREVOLUTION_PUBLISH_ITEM");
                ?>
" href="javascript:void(0);">
//.........这里部分代码省略.........
开发者ID:DanyCan,项目名称:wisten.github.io,代码行数:101,代码来源:view.html.php

示例12: paste

 /**
  * Paste the table  in json format
  *
  */
 public function paste()
 {
     // TODO Test user ?
     $json = array();
     $json['fields'] = 'error';
     $json['msg'] = 'Invalid Token';
     $json['structure'] = 'empty';
     if (!JRequest::checkToken('get')) {
         echo json_encode($json);
         jexit();
     }
     $lang = JRequest::getvar('lg');
     $langs = VmConfig::get('active_languages', array());
     $language = JFactory::getLanguage();
     if (!in_array($lang, $langs)) {
         $json['msg'] = 'Invalid language ! ' . $lang;
         $json['langs'] = $langs;
         echo json_encode($json);
         jexit();
     }
     $lang = strtolower($lang);
     // Remove tag if defaut or
     // if ($language->getDefault() == $lang ) $dblang ='';
     $dblang = strtr($lang, '-', '_');
     $id = JRequest::getInt('id', 0);
     $viewKey = JRequest::getWord('editView');
     // TODO temp trick for vendor
     if ($viewKey == 'vendor') {
         $id = 1;
     }
     $tables = array('category' => 'categories', 'product' => 'products', 'manufacturer' => 'manufacturers', 'manufacturercategories' => 'manufacturercategories', 'vendor' => 'vendors', 'paymentmethod' => 'paymentmethods', 'shipmentmethod' => 'shipmentmethods');
     if (!array_key_exists($viewKey, $tables)) {
         $json['msg'] = "Invalid view " . $viewKey;
         echo json_encode($json);
         jExit();
     }
     $tableName = '#__virtuemart_' . $tables[$viewKey] . '_' . $dblang;
     $db = JFactory::getDBO();
     $q = 'select * FROM `' . $tableName . '` where `virtuemart_' . $viewKey . '_id` =' . $id;
     $db->setQuery($q);
     if ($json['fields'] = $db->loadAssoc()) {
         $json['structure'] = 'filled';
         $json['msg'] = jText::_('COM_VIRTUEMART_SELECTED_LANG') . ':' . $lang;
     } else {
         $json['structure'] = 'empty';
         $db->setQuery('SHOW COLUMNS FROM ' . $tableName);
         $tableDescribe = $db->loadAssocList();
         array_shift($tableDescribe);
         $fields = array();
         foreach ($tableDescribe as $key => $val) {
             $fields[$val['Field']] = $val['Field'];
         }
         $json['fields'] = $fields;
         $json['msg'] = JText::sprintf('COM_VIRTUEMART_LANG_IS_EMPTY', $lang, jText::_('COM_VIRTUEMART_' . strtoupper($viewKey)));
     }
     echo json_encode($json);
     jExit();
 }
开发者ID:Gskflute,项目名称:joomla25,代码行数:62,代码来源:translate.php

示例13: jQuery

?>
</label>
		<input type="text" name="product_in_stock" id="in_stock" value="0">
		<input type="hidden" name="virtuemart_product_id" id="virtuemart_product_id" value="0">
		<?php 
echo $this->addStandardHiddenToForm(null, 'updatestock');
?>
	</form>
  </div>
  <div class="modal-footer">
    <button class="btn btn-default" data-dismiss="modal" aria-hidden="true"><?php 
echo jText::_('COM_VIRTUEMART_CANCEL');
?>
</button>
    <button type="button" class="btn btn-primary" id="apply_stock"><?php 
echo jText::_('COM_VIRTUEMART_APPLY');
?>
</button>
  </div>
</div>
<script>
jQuery(function(){
	var $el,
		form = jQuery('#updateStockModal form');
	jQuery('#adminForm').on('click','.updateStock', function(){
		var $modal = jQuery('#updateStockModal');
		$el = jQuery(this);
		$modal.find('h3 span').text( $el.attr('data-title') );
		$modal.find('#virtuemart_product_id').val( $el.attr('data-id') );
		$modal.find('input#in_stock').val( $el.children().text() );
	});
开发者ID:denis1001,项目名称:Virtuemart-2-Joomla-3-Bootstrap,代码行数:31,代码来源:default.php

示例14: htmlentities

												<div class="jsn-iconbar jsn-vertical">
													<a data-action='social' href="javascript:void(0);" id="select_profile_social" title="<?php 
echo jText::_('JSN_MOBILIZE_EDIT_SOCIAL');
?>
"><i class="icon-pencil"></i></a>
												</div>
											</div>
											<div class="jsn-row-container row-fluid">
												<div id="jsn-switcher" class="jsn-column-container clearafter">
													<?php 
echo $this->_JSNMobilize->getItemsMenuIcon('mobilize-switcher', 'JSN_MOBILIZE_SWITCHER', '');
?>
												</div>
												<div class="jsn-iconbar jsn-vertical">
													<a data-action="switcher" title="<?php 
echo jText::_('JSN_MOBILIZE_EDIT_STYLE');
?>
" href="javascript:void(0);"><i class="icon-pencil"></i></a>
													<?php 
$styleSwitcher = !empty($this->_style->jsn_switcher) ? get_magic_quotes_gpc() == true || get_magic_quotes_runtime() == true ? stripslashes($this->_style->jsn_switcher) : $this->_style->jsn_switcher : '';
?>
													<input type="hidden" id="input_style_jsn_switcher" class="jsn-input-style" name="style[jsn_switcher]" value='<?php 
echo htmlentities($styleSwitcher);
?>
' />
												</div>
											</div>
											</div>
											<?php 
if (strtolower($edition) == "free") {
    ?>
开发者ID:NallelyFlores89,项目名称:basvec,代码行数:31,代码来源:default.php

示例15: altText

 public static function altText($string, $prefix = 'com_virtuemart')
 {
     $lang = JFactory::getLanguage();
     $name = str_replace(' ', '_', $string);
     if ($lang->hasKey($prefix . '_' . $name)) {
         return jText::_($prefix . '_' . $name);
     }
     return jText::_($string);
 }
开发者ID:denis1001,项目名称:Virtuemart-2-Joomla-3-Bootstrap,代码行数:9,代码来源:shopfunctions.php


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