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


PHP safe_mailto函数代码示例

本文整理汇总了PHP中safe_mailto函数的典型用法代码示例。如果您正苦于以下问题:PHP safe_mailto函数的具体用法?PHP safe_mailto怎么用?PHP safe_mailto使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: smarty_function_url

/**
 * Smarty {url} function plugin
 *
 * Type:     function
 * Name:     url
 * @author:  Trimo
 * @mail:     trimo.1992[at]gmail[dot]com
 */
function smarty_function_url($params, &$smarty)
{
    if (!function_exists('current_url')) {
        if (!function_exists('get_instance')) {
            $smarty->trigger_error("url: Cannot load CodeIgniter");
            return;
        }
        $CI =& get_instance();
        $CI->load->helper('url');
    }
    if ($params['type'] == 'string') {
        return uri_string();
    } elseif ($params['type'] == 'anchor' && isset($params['url'])) {
        return anchor($params['url'], $params['text'], $params['attr']);
    } elseif ($params['type'] == 'safemail' && isset($params['url'])) {
        return safe_mailto($params['url'], $params['text'], $params['attr']);
    } elseif ($params['type'] == 'mail' && isset($params['url'])) {
        return mailto($params['url'], $params['text'], $params['attr']);
    } elseif ($params['type'] == 'autolink' && isset($params['url'])) {
        return auto_link($params['url'], isset($params['mode']) ? $params['mode'] : 'both', $params['new'] == 1 ? TRUE : FALSE);
    } elseif ($params['type'] == 'urltitle' && isset($params['title'])) {
        return url_title($params['title'], isset($params['mode']) ? $params['mode'] : 'dash', $params['lower'] == 1 ? TRUE : FALSE);
    } elseif ($params['type'] == 'prep' && isset($params['url'])) {
        return prep_url($params['url']);
    } elseif ($params['type'] == 'current') {
        return current_url();
    } elseif ($params['type'] == 'site') {
        return site_url($params['url']);
    } else {
        return base_url();
    }
}
开发者ID:tzmg,项目名称:BitWasp,代码行数:40,代码来源:function.url.php

示例2: pre_output_plugin

 /**
  * Process before outputting for the plugin
  *
  * This creates an array of data to be merged with the
  * tag array so relationship data can be called with
  * a {field.column} syntax
  *
  * @access	public
  * @param	string
  * @param	string
  * @param	array
  * @return	array
  */
 public function pre_output_plugin($input, $params)
 {
     $choices = array();
     get_instance()->load->helper('url');
     $choices['email_address'] = $input;
     $choices['mailto_link'] = mailto($input, $input);
     $choices['safe_mailto_link'] = safe_mailto($input, $input);
     return $choices;
 }
开发者ID:blekedeg,项目名称:lbhpers,代码行数:22,代码来源:field.email.php

示例3: index

 public function index()
 {
     $this->load->helper('url');
     $this->base = $this->config->item('base_url');
     echo '</br>Bienvenido a la página principal.</br>';
     echo $this->base;
     echo '</br>Bienvenido a la página principal.</br>';
     echo site_url();
     echo '</br>Bienvenido a la página principal.</br>';
     echo base_url();
     echo '</br>Bienvenido a la página principal.</br>';
     echo anchor('start/hello/fred', 'Say hello to Fred');
     echo '</br>Bienvenido a la página principal.</br>';
     echo safe_mailto('me@example.com', 'Click Here to Email Me');
 }
开发者ID:autobitacora,项目名称:misgastos,代码行数:15,代码来源:Principal.php

示例4: get_valtype

function get_valtype($val, $type, $mode = 'grid')
{
    $ci =& get_instance();
    switch ($type) {
        case "yes_no":
            return !$val ? img('public/img/icons/decline_inline.gif') : img('public/img/icons/accept_inline.gif');
            break;
        case "email":
            return $val ? safe_mailto($val) : '';
            break;
        case "url":
            return $val ? anchor(prep_url($val), lang('GO_LINK'), 'target="_blank"') : '';
            break;
        default:
            return $val;
    }
}
开发者ID:vsanth,项目名称:travelcrm,代码行数:17,代码来源:fields_helper.php

示例5: auto_link

function auto_link($str, $type = 'both', $popup = FALSE, $trimwidth = 0)
{
    if ($type != 'email') {
        if (preg_match_all("#(^|\\s|\\()((http(s?)://)|(www\\.))(\\w+[^\\s\\)\\<]+)#i", $str, $matches)) {
            $pop = '';
            if ($popup) {
                if ($popup === true) {
                    $popup = '_blank';
                }
                $pop = sprintf(' target="%s" ', $popup);
            }
            for ($i = 0; $i < count($matches['0']); $i++) {
                $period = '';
                if (preg_match("|\\.\$|", $matches['6'][$i])) {
                    $period = '.';
                    $matches['6'][$i] = substr($matches['6'][$i], 0, -1);
                }
                $url = sprintf('http%s://%s%s', $matches['4'][$i], $matches['5'][$i], $matches['6'][$i]);
                $url_display = $url;
                if ($trimwidth) {
                    $url_display = mb_strimwidth($url, 0, $trimwidth, '...');
                }
                $replaced = sprintf('<a href="%s"%s>%s</a>', $url, $pop, $url_display);
                $str = str_replace($matches['0'][$i], $replaced, $str);
            }
        }
    }
    if ($type != 'url') {
        if (preg_match_all("/([a-zA-Z0-9_\\.\\-\\+]+)@([a-zA-Z0-9\\-]+)\\.([a-zA-Z0-9\\-\\.]*)/i", $str, $matches)) {
            for ($i = 0; $i < count($matches['0']); $i++) {
                $period = '';
                if (preg_match("|\\.\$|", $matches['3'][$i])) {
                    $period = '.';
                    $matches['3'][$i] = substr($matches['3'][$i], 0, -1);
                }
                $str = str_replace($matches['0'][$i], safe_mailto($matches['1'][$i] . '@' . $matches['2'][$i] . '.' . $matches['3'][$i]) . $period, $str);
            }
        }
    }
    return $str;
}
开发者ID:nise-nabe,项目名称:uzuramemo,代码行数:41,代码来源:MY_url_helper.php

示例6: Rakza

			<!-- contents  -->
			<div id="contents" class="container">
				
				<?php 
echo $contents;
?>
				
			</div>
			<div style="clearfix"></div>
			<!-- footer  -->
			<footer id="footer" class="well hidden-phone">
				<div class="container">
					<p class="muted">
						Powered by IT Pole Interactif - In case of problems with WebTV, please contact Mohamed Rakza (
						<?php 
echo safe_mailto('mohamed.rakza@oxylane.com', 'mohamed.rakza@oxylane.com');
?>
)
					</p>
					<a href="https://sites.google.com/a/oxylane.com/webtv/" target="_blank"><?php 
echo tagimg('qrcode.png', 'Qr Code', '100', '100');
?>
<br />WebTv Help</a>
				</div>
				<blockquote class="pull-right mt35">
  					<p>Ensemble, créer l'envie et rendre accessibles à chacun le plaisir et les bienfaits du sport.</p>
  					<small>Sportivement votre <cite title="Source Title">Oxylane</cite></small>
				</blockquote>
			</footer>

	<!-- external javascript
开发者ID:keyanmca,项目名称:webtv,代码行数:31,代码来源:template.php

示例7: safe_mailto

<article id="postit" class="pull-right post-it fade in shadow visible-desktop">
	<button type="button" class="close" data-dismiss="alert">&times;</button>
	<ul class="unstyled">
		<li><h3><?php 
echo $infos[0]->nom;
?>
</h3></li>
<!-- 		<li>Responsable : <?php 
echo safe_mailto($infos[0]->responsablemail, $infos[0]->responsable);
?>
</li> -->
		<li>Responsable : <?php 
echo $infos[0]->responsable;
?>
</li>
		<?php 
if ($nbliens != 0) {
    ?>
<li>Nb de Pages : <?php 
    echo $nbliens;
    ?>
</li><?php 
}
?>
		<?php 
if ($tempssequence[0]->temps != NULL) {
    ?>
<li>Durée Sequence : <?php 
    echo $tempssequence[0]->temps;
    ?>
 sec</li><?php 
开发者ID:keyanmca,项目名称:webtv,代码行数:31,代码来源:postit.php

示例8: safe_mailto

?>
</li>
            <li class="mail"><?php 
echo safe_mailto('pressestelle@feuerwehr-bs.de', 'Pressestelle');
?>
</li>
            <li class="mail"><?php 
echo safe_mailto('jugendfeuerwehr@feuerwehr-bs.de', 'Jugendfeuerwehr');
?>
</li>
            <li class="mail"><?php 
echo safe_mailto('minifeuerwehr@feuerwehr-bs.de', 'Minifeuerwehr');
?>
</li>
            <li class="mail"><?php 
echo safe_mailto('verein@feuerwehr-bs.de', 'Verein');
?>
</li>
        </ul>
        <br />
    </div>    
</div>
<hr class="clear" />

<?php 
if (strpos(current_url(), 'captcha') !== false || strpos(current_url(), 'validierung') !== false) {
    ?>
    <script type="text/javascript">
        $("#js_openKontakt").removeClass('active');
        $("#js_closeKontakt").addClass('active');
        $(".kontaktformular").css('display', 'block');
开发者ID:shartte,项目名称:fw_bs_webpage,代码行数:31,代码来源:kontakt_overview.php

示例9: auto_link

 function auto_link($str, $type = 'both', $popup = FALSE)
 {
     if ($type != 'email') {
         if (preg_match_all("#(^|\\s|\\()((http(s?)://)|(www\\.))(\\w+[^\\s\\)\\<]+)#i", $str, $matches)) {
             $pop = $popup == TRUE ? " target=\"_blank\" " : "";
             for ($i = 0; $i < count($matches['0']); $i++) {
                 $period = '';
                 if (preg_match("|\\.\$|", $matches['6'][$i])) {
                     $period = '.';
                     $matches['6'][$i] = substr($matches['6'][$i], 0, -1);
                 }
                 $str = str_replace($matches['0'][$i], $matches['1'][$i] . '<a href="http' . $matches['4'][$i] . '://' . $matches['5'][$i] . $matches['6'][$i] . '"' . $pop . '>http' . $matches['4'][$i] . '://' . $matches['5'][$i] . $matches['6'][$i] . '</a>' . $period, $str);
             }
         }
     }
     if ($type != 'url') {
         if (preg_match_all("/([a-zA-Z0-9_\\.\\-\\+]+)@([a-zA-Z0-9\\-]+)\\.([a-zA-Z0-9\\-\\.]*)/i", $str, $matches)) {
             for ($i = 0; $i < count($matches['0']); $i++) {
                 $period = '';
                 if (preg_match("|\\.\$|", $matches['3'][$i])) {
                     $period = '.';
                     $matches['3'][$i] = substr($matches['3'][$i], 0, -1);
                 }
                 $str = str_replace($matches['0'][$i], safe_mailto($matches['1'][$i] . '@' . $matches['2'][$i] . '.' . $matches['3'][$i]) . $period, $str);
             }
         }
     }
     return $str;
 }
开发者ID:ericariyanto,项目名称:angularjs-ci3,代码行数:29,代码来源:url_helper.php

示例10: auto_link

 /**
  * Modifies the auto_link helper (url_helper) by accepting as an optional third
  * argument an array of html attributes for the anchor tags (just like the anchor helper).
  *
  * This array is supplied as the third argument, replacing the
  * optional argument $pop in the original helper.
  *
  * This modified helper attempts to be backward compatible with the use of the
  * original helper by accepting TRUE and FALSE as possible values for the $attributes
  * argument, and giving output identical to the original usage of the helper.
  *
  * use:  auto_link($string, 'url' , array('class' => 'external', 'target'=>'_blank'));
  * use:  auto_link($string, 'email', array('class' => 'email_link' , 'style' => 'color:red;'));
  * use(legacy): auto_link($string, 'url' , TRUE);
  *
  * @link https://github.com/EllisLab/CodeIgniter/wiki/auto-link
  * @author Derek Jones (original author)
  * @author Ivan Tcholakov (adaptation)
  *
  * @see url_helper
  * @link http://codeigniter.com/user_guide/helpers/url_helper.html
  * @param string $str
  * @param string $type
  * @param mixed $attributes
  * @return string
  */
 function auto_link($str, $type = 'both', $attributes = '')
 {
     static $html_helper_loaded = null;
     if ($html_helper_loaded !== true) {
         get_instance()->load->helper('html');
         $html_helper_loaded = true;
     }
     // MAKE THE THIRD ARGUMENT BACKWARD COMPATIBLE
     // here we deal with the original third argument $pop
     // which could be TRUE or FALSE, and was FALSE by default.
     if ($attributes === TRUE) {
         $attributes = ' target="_blank"';
     } elseif ($attributes === FALSE) {
         $attributes = '';
     }
     if ($attributes != '') {
         $attributes = ' ' . get_attributes_string($attributes);
     }
     // Find and replace any URLs.
     // Modified by Ivan Tcholakov, 19-DEC-2013.
     //if ($type !== 'email' && preg_match_all('#(\w*://|www\.)[^\s()<>;]+\w#i', $str, $matches, PREG_OFFSET_CAPTURE | PREG_SET_ORDER))
     if ($type !== 'email' && preg_match_all('#(\\w*://|www\\.)[^\\s()<>;]+(\\w|/)#i', $str, $matches, PREG_OFFSET_CAPTURE | PREG_SET_ORDER)) {
         // We process the links in reverse order (last -> first) so that
         // the returned string offsets from preg_match_all() are not
         // moved as we add more HTML.
         foreach (array_reverse($matches) as $match) {
             // $match[0] is the matched string/link
             // $match[1] is either a protocol prefix or 'www.'
             //
             // With PREG_OFFSET_CAPTURE, both of the above is an array,
             // where the actual value is held in [0] and its offset at the [1] index.
             $a = '<a href="' . (strpos($match[1][0], '/') ? '' : 'http://') . $match[0][0] . '"' . $attributes . '>' . $match[0][0] . '</a>';
             $str = substr_replace($str, $a, $match[0][1], strlen($match[0][0]));
         }
     }
     // Find and replace any emails.
     if ($type !== 'url' && preg_match_all('#([\\w\\.\\-\\+]+@[a-z0-9\\-]+\\.[a-z0-9\\-\\.]+[^[:punct:]\\s])#i', $str, $matches, PREG_OFFSET_CAPTURE)) {
         foreach (array_reverse($matches[0]) as $match) {
             if (filter_var($match[0], FILTER_VALIDATE_EMAIL) !== FALSE) {
                 $str = substr_replace($str, safe_mailto($match[0], '', $attributes), $match[1], strlen($match[0]));
             }
         }
     }
     return $str;
 }
开发者ID:Balamir,项目名称:starter-public-edition-3,代码行数:71,代码来源:MY_url_helper.php

示例11: auto_link

 /**
  * Auto-linker
  *
  * Automatically links URL and Email addresses.
  * Note: There's a bit of extra code here to deal with
  * URLs or emails that end in a period. We'll strip these
  * off and add them after the link.
  *
  * @param	string	the string
  * @param	string	the type: email, url, or both
  * @param	bool	whether to create pop-up links
  * @return	string
  */
 function auto_link($str, $type = 'both', $popup = FALSE)
 {
     if ($type !== 'email' && preg_match_all('#(^|\\s|\\(|\\b)((http(s?)://)|(www\\.))(\\w+[^\\s\\)\\<]+)#i', $str, $matches)) {
         $pop = $popup ? ' target="_blank" ' : '';
         for ($i = 0, $c = count($matches[0]); $i < $c; $i++) {
             if (preg_match('|\\.$|', $matches[6][$i])) {
                 $period = '.';
                 $matches[6][$i] = substr($matches[6][$i], 0, -1);
             } else {
                 $period = '';
             }
             $str = str_replace($matches[0][$i], $matches[1][$i] . '<a href="http' . $matches[4][$i] . '://' . $matches[5][$i] . $matches[6][$i] . '"' . $pop . '>http' . $matches[4][$i] . '://' . $matches[5][$i] . $matches[6][$i] . '</a>' . $period, $str);
         }
     }
     if ($type !== 'url' && preg_match_all('/([a-zA-Z0-9_\\.\\-\\+]+)@([a-zA-Z0-9\\-]+)\\.([a-zA-Z0-9\\-\\.]*)/i', $str, $matches)) {
         for ($i = 0, $c = count($matches); $i < $c; $i++) {
             if (preg_match('|\\.$|', $matches[3][$i])) {
                 $period = '.';
                 $matches[3][$i] = substr($matches[3][$i], 0, -1);
             } else {
                 $period = '';
             }
             $str = str_replace($matches[0][$i], safe_mailto($matches[1][$i] . '@' . $matches[2][$i] . '.' . $matches[3][$i]) . $period, $str);
         }
     }
     return $str;
 }
开发者ID:colonia,项目名称:tomatocart-v2,代码行数:40,代码来源:url_helper.php

示例12: anchor

<footer class="footer-distributed">
    <div class="footer-center">

        <div>
            <i class="fa fa-map-marker"></i>
            <p><? echo anchor('contact', 'Sheidow Park, South Australia');?></p>
        </div>

        <div>
            <i class="fa fa-phone"></i>
            <p><a href="tel:+61-8-<? echo $phone;?>"><? echo substr_replace($phone, ' ', 4, 0);?></a></p>
        </div>

        <div>
            <i class="fa fa-envelope"></i>
            <p><? echo safe_mailto($email)?></p>
        </div>
        
        <div>
            <a href="https://fb.com/trottparkfencingclub"><i class="fa fa-facebook"></i></a> 
            <p> <a href="https://fb.com/trottparkfencingclub">fb.com/trottparkfencingclub</a></p>

        </div>

    </div>

    <div class="footer-right">
    <div class="map_canvas" style="width:100%; height: 250px"></div>
    <? echo $this->load->view('training',$this->data,true);?>
	<div class="footer-company-about">
    Copyright &copy;<? echo date('Y');?> Trott Park Fencing Club Inc., website built by <a href="http://jonno.9ch.in">Jonathan Mackenzie</a>
开发者ID:JonnoFTW,项目名称:tpfc-website,代码行数:31,代码来源:default.php

示例13: fuel_var

	//]]>
	</script>
</head>

<body class="<?php 
echo fuel_var('body_class', 'Body Class');
?>
">
<div id="container">
	<div id="container_inner">
		<div id="header">
			<div id="topnav">
				<ul>
					<li><a href="http://www.thedaylightstudio.com">About Daylight</a></li>
					<li class="last"><?php 
echo safe_mailto('info@thedaylightstudio.com', 'Contact');
?>
</li>
				</ul>
			</div>
			<a href="http://www.thedaylightstudio.com" id="daylight_logo"></a>
		
	
			<a href="<?php 
echo site_url();
?>
" id="fuel_logo">FUEL CMS</a>

			<div id="fuel_intro">
				<h1 id="fuel_cms">FUEL CMS</h1>
				<div id="fuel_tagline"></div>
开发者ID:kieranklaassen,项目名称:FUEL-CMS,代码行数:31,代码来源:header.php

示例14: class

<h1>Credits</h1>
<p>We've borrowed a ton of ideas from a ton of people. Here are a few that we'd like to acknowledge:</p>

<ul>
	<li><a href="http://ellislabs.com" target="_blank">EllisLabs</a> - for the great work with CodeIgniter/ExpressionEngine</li>
	<li><a href="http://jquery.com" target="_blank">jQuery Team</a> - it's hard to imagine doing our jobs without jQuery</li>
	<li><a href="http://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/wiki/Home" target="_blank">wiredesignz</a> - for his excellent <a href="http://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/wiki/Home" target="_blank">Modular Extensions - HMVC</a> module library</li>
	<li><a href="http://codeigniter.com/forums/viewthread/57117/" target="_blank">Al James</a> - for his Cache library we use all over</li>
	<li><a href="http://markitup.jaysalvat.com/home/" target="_blank">Jay Salvat</a> - for his great textarea editor MarkItUp!</li>
	<li><a href="http://philsturgeon.co.uk" target="_blank">Phil Sturgeon</a> - for his MY_Parser implementation with Dwoo and Unzip class (and many other great contributions to the CI community including <a href="http://www.pyrocms.com" target="_blank">PyroCMS</a>)</li>
	<li><a href="http://dwoo.org" target="_blank">Jordi Boggiano</a> - for his Dwoo template library. We tried reinventing the wheel but quickly realized Jordi had already done it.</li>
	<li><a href="http://www.famfamfam.com/lab/icons/" target="_blank">famfamfam icon set</a> and <a href="https://github.com/yusukekamiyamane/fugue-icons" target="_blank">Fugue Icons by Yusuke Kamiyamane</a> - for their great icon libraries</li>
</ul>

<p>And last but not least, the growing FUEL CMS community that has taken the time to provide valuable feedback, bug fixes, and suggestions.</p>

<p class="important">If you feel like you should be on this list, <?php 
echo safe_mailto('info@getfuelcms.com', 'please send us an email');
?>
.</p>
开发者ID:magicjoey,项目名称:FUEL-CMS,代码行数:20,代码来源:credits.php

示例15: auto_link

/**
 * Auto-linker
 * 
 * Corrected so it takes URLs without space before (begining of line, for example).
 *
 * Adds the subject attribute in email.
 * Example : mailto:my.name@domain.tld?subject='My subject' will be linked correctly
 *
 * Automatically links URL and Email addresses.
 * Note: There's a bit of extra code here to deal with
 * URLs or emails that end in a period.  We'll strip these
 * off and add them after the link.
 *
 * @access	public
 * @param	string	the string
 * @param	string	the type: email, url, or both
 * @param	bool 	whether to create pop-up links
 * @return	string
 *
 */
function auto_link($str, $type = 'both', $popup = FALSE)
{
    $m = array();
    if (preg_match_all('(<a\\ .+?>.+?</a>)', $str, $m)) {
        foreach ($m[0] as $k => $val) {
            $str = str_replace($val, '[[[a' . $k . ']]]', $str);
        }
    }
    if ($type != 'email') {
        // (|\b) : Includes href="..." in auto_link, which isn't good
        // if (preg_match_all("#(^|\s|\(|\b)((http(s?)://)|(www\.))(\w+[^\s\)\<]+)#i", $str, $matches))
        if (preg_match_all("#(^|\\>|\\s|\\()((http(s?)://)|(www\\.))(\\w+[^\\s\\)\\<]+)#i", $str, $matches)) {
            $pop = $popup == TRUE ? " target=\"_blank\" " : "";
            for ($i = 0; $i < count($matches['0']); $i++) {
                $period = '';
                if (preg_match("|\\.\$|", $matches['6'][$i])) {
                    $period = '.';
                    $matches['6'][$i] = substr($matches['6'][$i], 0, -1);
                }
                $str = str_replace($matches['0'][$i], $matches['1'][$i] . '<a href="http' . $matches['4'][$i] . '://' . $matches['5'][$i] . $matches['6'][$i] . '"' . $pop . '>http' . $matches['4'][$i] . '://' . $matches['5'][$i] . $matches['6'][$i] . '</a>' . $period, $str);
            }
        }
    }
    if ($type != 'url') {
        if (preg_match_all("#([a-zA-Z0-9_\\.\\-\\+]+)@([a-zA-Z0-9\\-]+)\\.([a-zA-Z0-9\\-\\.]*)((\\?subject\\=)(\\')(.*)(\\'))*#i", $str, $matches)) {
            for ($i = 0; $i < count($matches['0']); $i++) {
                $period = '';
                if (preg_match("|\\.\$|", $matches['3'][$i])) {
                    $period = '.';
                    $matches['3'][$i] = substr($matches['3'][$i], 0, -1);
                }
                $comp_email = $matches['1'][$i] . '@' . $matches['2'][$i] . '.' . $matches['3'][$i] . $matches['5'][$i] . $matches['7'][$i];
                $email = $matches['1'][$i] . '@' . $matches['2'][$i] . '.' . $matches['3'][$i];
                $str = str_replace($matches['0'][$i], safe_mailto($comp_email, $email) . $period, $str);
            }
        }
    }
    if (!empty($m)) {
        foreach ($m[0] as $k => $val) {
            $str = str_replace('[[[a' . $k . ']]]', $val, $str);
        }
    }
    return $str;
}
开发者ID:trk,项目名称:ionize,代码行数:64,代码来源:MY_url_helper.php


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