PageRenderTime 7004ms queryFilters 0ms Sphinxql 147ms app.CodeModel.GetByIds 87ms findMatchingLines 63ms GetByIds 150ms meta 0ms repositoryFilters 6ms languageFilters 1ms sourceFilters 3ms

421,407 results for 'php empty repo:nosen/jelly2' (7004 ms)

Source

Language

Repository

main.php https://github.com/gbby/folders2web.git | PHP | 814 lines
1<?php
2
34 *
35 * Please have a look at the "mediamanager.php" and "detail.php" file in the
36 * same folder, they are also influencing the var's value.
53}
54if (!empty($vector_action) &&
55    $vector_action !== "article" &&
417    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
418<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo hsc($conf["lang"]); ?>" lang="<?php echo hsc($conf["lang"]); ?>" dir="<?php echo hsc($lang["direction"]); ?>">
419<head>
432//are slashes "/" used for the keynames (see bugreport for more information:
433//<http://bugs.php.net/bug.php?id=49692>). to trigger this workaround, simply
434//delete/rename vector's style.ini.
435if (!file_exists(DOKU_TPLINC."style.ini")){
436    echo  "<link rel=\"stylesheet\" media=\"all\" type=\"text/css\" href=\"".DOKU_TPL."bug49642.php".((!empty($lang["direction"]) && $lang["direction"] === "rtl") ? "?langdir=rtl" : "")."\" />\n"; //var comes from DokuWiki core
437}
v1.php https://github.com/svn2github/efront-lms.git | PHP | 1,613 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
cap-interceptor_rs.php https://github.com/adityag2/suneha.git | PHP | 1,010 lines
285
286						if ( ( false !== $key ) && ! $doing_admin_menus && in_array( $pagenow, array( 'edit.php', 'post.php', 'post-new.php', 'press-this.php', 'admin-ajax.php', 'upload.php', 'media.php' ) ) ) {				
287							$rs_reqd_caps[$key] = $object_type_obj->cap->$post_cap_name;
353			if ( ! $doing_admin_menus ) {
354				if ( ! empty($_REQUEST['action']) && in_array( $pagenow, array('edit.php','edit-tags.php') ) )
355					$this->skip_id_generation = true;
443			
444			if ( defined('RVY_VERSION') && in_array( $pagenow, array('edit.php', 'edit-tags.php', 'admin-ajax.php') ) && ( ! empty($_REQUEST['action']) && ( -1 != $_REQUEST['action'] ) ) ) {
445				$rs_reqd_caps = Rvy_Helper::fix_table_edit_reqd_caps( $rs_reqd_caps, $args[0], $_post, $object_type_obj );
553
554		$maybe_attachment = in_array( $pagenow, array( 'upload.php', 'media.php' ) );
555
617		// Page refresh following publishing of new page by users who can edit by way of Term Role fails without this workaround
618		if ( ! empty( $_POST ) && ( defined( 'SCOPER_CACHE_SAFE_MODE' ) || ( in_array( $pagenow, array( 'post.php', 'press-this.php' ) ) && ( $args[0] == $object_type_obj->cap->edit_post ) ) ) ) {
619			$force_refresh = true;
role-scoper_init.php https://github.com/adityag2/suneha.git | PHP | 1,047 lines
361	if ( ! isset( $optval ) ) {
362		if ( ! empty($scoper_default_options) && ! empty( $scoper_default_options[$option_basename] ) )
363			$optval = $scoper_default_options[$option_basename];
895
896	if ( ! empty( $GLOBALS['post'] ) && is_object($GLOBALS['post']) && ! empty( $GLOBALS['post']->post_type ) ) {
897		$object_type = $GLOBALS['post']->post_type;
907		
908	} elseif ( in_array( $pagenow, array( 'post-new.php', 'edit.php' ) ) ) {
909		$object_type = ! empty( $_GET['post_type'] ) ? $_GET['post_type'] : 'post';
913
914	} elseif ( in_array( $pagenow, array( 'admin-ajax.php' ) ) && ! empty( $_REQUEST['taxonomy'] ) ) {
915		$object_type = $_REQUEST['taxonomy'];
920				
921	} elseif ( ! empty( $_GET['post'] ) ) {	 // post.php
922		if ( $_post = get_post( $_GET['post'] ) )
utils.php https://github.com/vincentamari/SuperSweetAdmin.git | PHP | 4,193 lines
176	'upload_badext' => empty($upload_badext) ? array (
177	'php', 'php3', 'php4', 'php5', 'pl', 'cgi', 'py',
178	'asp', 'cfm', 'js', 'vbs', 'html', 'htm' ) : $upload_badext,
300	'upload_badext' => array (
301	'php', 'php3', 'php4', 'php5', 'pl', 'cgi', 'py',
302	'asp', 'cfm', 'js', 'vbs', 'html', 'htm' ),
1806	if(isset($_SERVER['PHP_SELF'])) {
1807		if (!empty($_SERVER['PHP_SELF'])) clean_string($_SERVER['PHP_SELF'], 'SAFED_GET');
1808	}
2480function check_php_version($sys_php_version = '') {
2481	$sys_php_version = empty($sys_php_version) ? constant('PHP_VERSION') : $sys_php_version;
2482	// versions below $min_considered_php_version considered invalid by default,
3424	if(function_exists('json_encode')) {
3425		$phpInfo = getPhpInfo(8);
3426        return version_compare($phpInfo['json']['json version'], '1.1.1', '<');
propal.php https://github.com/zeert/dolibarr.git | PHP | 1,806 lines
372    			$newlang='';
373    			if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
374    			if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$object->client->default_lang;
1448$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action);    // Note that $action and $object may have been modified by hook
1449if (empty($reshook) && ! empty($extrafields->attribute_label))
1450{
1620		{
1621			print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&amp;action=reopen'.(empty($conf->global->MAIN_JUMP_TAG)?'':'#reopen').'"';
1622			print '>'.$langs->trans('ReOpen').'</a>';
1661		{
1662			print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&amp;action=statut'.(empty($conf->global->MAIN_JUMP_TAG)?'':'#close').'"';
1663			print '>'.$langs->trans('Close').'</a>';
1737        $newlang='';
1738        if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
1739        if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$object->client->default_lang;
fiche.php https://github.com/zeert/dolibarr.git | PHP | 1,341 lines
1<?php
2/* Copyright (C) 2002-2007	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
28require_once(DOL_DOCUMENT_ROOT."/core/class/html.formfile.class.php");
29require_once(DOL_DOCUMENT_ROOT."/fichinter/class/fichinter.class.php");
30require_once(DOL_DOCUMENT_ROOT."/core/modules/fichinter/modules_fichinter.php");
30require_once(DOL_DOCUMENT_ROOT."/core/modules/fichinter/modules_fichinter.php");
31require_once(DOL_DOCUMENT_ROOT."/core/lib/fichinter.lib.php");
32require_once(DOL_DOCUMENT_ROOT."/core/lib/date.lib.php");
37}
38if (! empty($conf->global->FICHEINTER_ADDON) && is_readable(DOL_DOCUMENT_ROOT ."/core/modules/fichinter/mod_".$conf->global->FICHEINTER_ADDON.".php"))
39{
886
887    $linkback = '<a href="'.DOL_URL_ROOT.'/fichinter/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
888
1271            $newlang='';
1272            if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
1273            if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$object->client->default_lang;
functions.php https://github.com/ngocphuuit/wordpress-tax.git | PHP | 812 lines
1<?php
2/*
31            return maybe_unserialize( $cache[$post_id][$meta_key][0] );
32        } else if ( !$single && !empty( $cache[$post_id][$meta_key] ) ) {
33            return maybe_unserialize( $cache[$post_id][$meta_key] );
71    $custom_types = get_option( 'wpcf-custom-types', array() );
72    if ( !empty( $custom_types ) ) {
73        foreach ( $custom_types as $post_type => $data ) {
73        foreach ( $custom_types as $post_type => $data ) {
74            if ( !empty( $data['supports']['thumbnail'] ) ) {
75                if ( !current_theme_supports( 'post-thumbnails' ) ) {
422    global $wpcf;
423    $is_windows = PHP_OS == "WIN32" || PHP_OS == "WINNT";
424    if ( isset( $wpcf->debug ) ) {
779                'checked' => (!empty( $field['value'][$option_key] )// Also check new post
780                || ($pagenow == 'post-new.php' && !empty( $option['checked'] ))) ? true : false,
781                'name' => 'wpcf[' . $field['id'] . '][' . $option_key . ']',
logic.php https://github.com/tjgillies/openmicroblogger.git | PHP | 1,097 lines
1<?php
2/**
66      set_include_path( dirname(__FILE__) . PATH_SEPARATOR . get_include_path() );
67      require_once 'Auth/OpenID/Consumer.php';
68
106    $openid->log->debug('temporary include path for importing = ' . get_include_path());
107    require_once('Auth/OpenID/Discover.php');
108    require_once('Auth/OpenID/DatabaseConnection.php');
108    require_once('Auth/OpenID/DatabaseConnection.php');
109    require_once('Auth/OpenID/MySQLStore.php');
110    require_once('Auth/OpenID/Consumer.php');
505      
506    if ($self == 'wp-login.php' && !empty($_POST['openid_url'])) {
507      // TODO wp_signon only exists in wp2.5+
690    $wpp = parse_url(get_option('siteurl'));
691    $redirect_to = $wpp['path'] . '/wp-admin/' . (current_user_can('edit_users') ? 'users.php' : 'profile.php') . '?page=openid';
692    if (function_exists('wp_safe_redirect')) {
fiche.php https://bitbucket.org/speedealing/speedealing.git | PHP | 2,050 lines
821    {
822        header('Location: '.$_SERVER["PHP_SELF"].'?id='.$object->id.(empty($conf->global->MAIN_JUMP_TAG)?'':'#builddoc'));
823        exit;
1608                    if ($forceall || (! empty($conf->product->enabled) && ! empty($conf->service->enabled))
1609                    || (empty($conf->product->enabled) && empty($conf->service->enabled))) print '<br>';
1610                }
1750            if ($forceall || (! empty($conf->product->enabled) && ! empty($conf->service->enabled))
1751            || (empty($conf->product->enabled) && empty($conf->service->enabled))) print '<br>';
1752
1785            // Ajout de produits/services predefinis
1786            if (! empty($conf->product->enabled) || ! empty($conf->service->enabled))
1787            {
1980                $newlang='';
1981                if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
1982                if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$object->client->default_lang;
fiche.php https://bitbucket.org/speedealing/speedealing.git | PHP | 1,586 lines
1<?php
2/* Copyright (C) 2003-2004	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
31require_once(DOL_DOCUMENT_ROOT."/core/lib/price.lib.php");
32require_once(DOL_DOCUMENT_ROOT.'/core/lib/contract.lib.php');
33require_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
34require_once(DOL_DOCUMENT_ROOT."/core/modules/contract/modules_contract.php");
35if (! empty($conf->produit->enabled) || ! empty($conf->service->enabled))  require_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php");
36if (! empty($conf->propal->enabled))  require_once(DOL_DOCUMENT_ROOT."/comm/propal/class/propal.class.php");
379             $newlang='';
380             if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
381             if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$object->client->default_lang;
627    {
628        Header('Location: '.$_SERVER["PHP_SELF"].'?id='.$object->id.(empty($conf->global->MAIN_JUMP_TAG)?'':'#builddoc'));
629        exit;
901
902        $linkback = '<a href="'.DOL_URL_ROOT.'/contrat/liste.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
903
install.php https://github.com/mikmagic/sugarcrm_dev.git | PHP | 587 lines
1<?php
2 if(!defined('sugarEntry'))define('sugarEntry', true);
39if (version_compare(phpversion(),'5.2.0') < 0) {
40	$msg = 'Minimum PHP version required is 5.2.0.  You are using PHP version  '. phpversion();
41    die($msg);
50require_once('include/SugarLogger/LoggerManager.php');
51require_once('sugar_version.php');
52require_once('include/utils.php');
284// Add check here to see if a silent install config file exists; if so then launch silent installer
285elseif ( is_file('config_si.php') && empty($sugar_config['installer_locked'])) {
286    echo <<<EOHTML
326
327$exclude_files = array('register.php','download_modules.php');
328
487        // check to see if installer has been disabled
488        if(is_readable('config.php') && (filesize('config.php') > 0)) {
489            include_once('config.php');
SugarView.php https://github.com/mikmagic/sugarcrm_dev.git | PHP | 1,244 lines
1<?php
2/*********************************************************************************
213            //Also, do not track save actions where there is no bean id
214            if($monitor->visible && empty($this->bean->id)) {
215            $trackerManager->unsetMonitor($monitor);
306        $company_logo_attributes = sugar_cache_retrieve('company_logo_attributes');
307        if(!empty($company_logo_attributes)) {
308            $ss->assign("COMPANY_LOGO_MD5", $company_logo_attributes[0]);
345        $global_control_links = array();
346        require("include/globalControlLinks.php");
347
847    {
848        if (isset($this->bean) && !empty($this->bean->id) && (file_exists('modules/' . $this->module . '/metadata/subpaneldefs.php') || file_exists('custom/modules/' . $this->module . '/metadata/subpaneldefs.php') || file_exists('custom/modules/' . $this->module . '/Ext/Layoutdefs/layoutdefs.ext.php'))) {
849            $GLOBALS['focus'] = $this->bean;
857    {
858        if (!empty($GLOBALS['current_user']) && empty($GLOBALS['modListHeader']))
859            $GLOBALS['modListHeader'] = query_module_access_list($GLOBALS['current_user']);
admin.php https://bitbucket.org/cubeee/wp-fin.git | PHP | 926 lines
165	$key_status_strings = array( 
166	 	'empty'   => __( 'Empty' ), 
167		'valid'   => __( 'Valid' ), 
218						<td>
219							<input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $key_status;?>"><div class="under-input key-status <?php echo $key_status;?>"><?php echo isset( $key_status_strings[ $key_status ] ) ? $key_status_strings[ $key_status ] : '';?></div>
220							<p class="need-key description"><?php printf( __('You must enter a valid Akismet API key here. If you need an API key, you can <a href="%s">create one here</a>'), '#' );?></p>
227							<fieldset><legend class="screen-reader-text"><span><?php _e('Settings');?></span></legend>
228							<label for="akismet_discard_month" title="<?php esc_attr_e( 'Auto-detete old spam' ); ?>"><input name="akismet_discard_month" id="akismet_discard_month" value="true" type="checkbox" <?php echo get_option('akismet_discard_month') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Auto-delete spam submitted on posts more than a month old.'); ?></span></label><br>
229							<label for="akismet_show_user_comments_approved" title="<?php esc_attr_e( 'Show approved comments' ); ?>"><input name="akismet_show_user_comments_approved" id="akismet_show_user_comments_approved" value="true" type="checkbox" <?php echo get_option('akismet_show_user_comments_approved') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Show the number of comments you\'ve approved beside each comment author.'); ?></span></label>
322	if ( !$api_key ) :?>
323	<div id="akismet-warning" class="updated fade"><p><strong><?php _e('Akismet is almost ready.');?></strong> <?php printf( __( 'You must <a href="%1$s">enter your Akismet API key</a> for it to work.' ), $config_link );?></p></div><?php
324	else :?>
324	else :?>
325	<iframe src="<?php echo esc_url( sprintf( '%s://akismet.com/web/1.0/user-stats.php?blog=%s&api_key=%s', is_ssl()?'https':'http', $blog, $api_key ) ); ?>" width="100%" height="2500px" frameborder="0" id="akismet-stats-frame"></iframe><?php
326	endif;?>
Themes.php https://github.com/Arantor/Elkarte.git | PHP | 2,214 lines
396		foreach ($context['themes'] as $k => $v)
397			if (empty($v['theme_dir']) || (!file_exists($v['theme_dir'] . '/Settings.template.php') && empty($v['num_members'])))
398				unset($context['themes'][$k]);
706
707	if (empty($_GET['th']) && empty($_GET['id']))
708		return action_admintheme();
1441		// This happens when the admin session is gone and the user has to login again
1442		if (empty($_FILES['theme_gz']) && empty($_REQUEST['theme_gz']))
1443			redirectexit('action=admin;area=theme;sa=admin;' . $context['session_var'] . '=' . $context['session_id']);
2097	{
2098		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/' . $_REQUEST['template'] . '.template.php'))
2099			$filename = $base_theme_dir . '/' . $_REQUEST['template'] . '.template.php';
2112	{
2113		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/languages/' . $_REQUEST['lang_file'] . '.php'))
2114			$filename = $base_theme_dir . '/languages/' . $_REQUEST['template'] . '.php';
Themes.php https://github.com/smf-portal/SMF2.1.git | PHP | 2,205 lines
392		foreach ($context['themes'] as $k => $v)
393			if (empty($v['theme_dir']) || (!file_exists($v['theme_dir'] . '/Settings.template.php') && empty($v['num_members'])))
394				unset($context['themes'][$k]);
1437		// This happens when the admin session is gone and the user has to login again
1438		if (empty($_FILES['theme_gz']) && empty($_REQUEST['theme_gz']))
1439			redirectexit('action=admin;area=theme;sa=admin;' . $context['session_var'] . '=' . $context['session_id']);
1546
1547					if (empty($explicit_images) && !empty($install_info['base_theme_url']))
1548						$install_info['theme_url'] = $install_info['base_theme_url'];
2086	{
2087		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/' . $_REQUEST['template'] . '.template.php'))
2088			$filename = $base_theme_dir . '/' . $_REQUEST['template'] . '.template.php';
2101	{
2102		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/languages/' . $_REQUEST['lang_file'] . '.php'))
2103			$filename = $base_theme_dir . '/languages/' . $_REQUEST['template'] . '.php';
SugarView.php https://github.com/vincentamari/SuperSweetAdmin.git | PHP | 1,249 lines
1<?php
2/*********************************************************************************
302        $company_logo_attributes = sugar_cache_retrieve('company_logo_attributes');
303        if(!empty($company_logo_attributes)) {
304            $ss->assign("COMPANY_LOGO_MD5", $company_logo_attributes[0]);
341        $global_control_links = array();
342        require("include/globalControlLinks.php");
343
449                // We are using grouped tabs
450                require_once('include/GroupedTabs/GroupedTabStructure.php');
451                $groupedTabsClass = new GroupedTabStructure();
848    {
849        if (isset($this->bean) && !empty($this->bean->id) && (file_exists('modules/' . $this->module . '/metadata/subpaneldefs.php') || file_exists('custom/modules/' . $this->module . '/metadata/subpaneldefs.php') || file_exists('custom/modules/' . $this->module . '/Ext/Layoutdefs/layoutdefs.ext.php'))) {
850            $GLOBALS['focus'] = $this->bean;
858    {
859        if (!empty($GLOBALS['current_user']) && empty($GLOBALS['modListHeader']))
860            $GLOBALS['modListHeader'] = query_module_access_list($GLOBALS['current_user']);
class-supportflow-admin.php https://github.com/SupportFlow/supportflow.git | PHP | 1,296 lines
68
69		if ( in_array( $pagenow, array( 'post.php', 'post-new.php' ) ) ) {
70			wp_enqueue_media();
256
257		$class    = empty( $class ) && empty( $_REQUEST['post_status'] ) && empty( $_REQUEST['show_sticky'] ) ? ' class="current"' : '';
258		$view_all = "<a href='edit.php?post_type=$post_type'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_posts, 'posts' ), number_format_i18n( $total_posts ) ) . '</a>';
790							<?php foreach ( $post_statuses as $slug => $post_status ) : ?>
791								<option value="<?php esc_attr_e( $slug ) ?>"<?php selected( $current_status_id, $slug ) ?>><?php esc_html_e( $post_status['label'] ) ?></option>;
792							<?php endforeach; ?>
1183
1184		if ( in_array( $pagenow, array( 'edit.php', 'post-new.php' ) ) && ! empty( $_GET['post_type'] ) && $_GET['post_type'] == SupportFlow()->post_type ) {
1185			return $pagenow;
1185			return $pagenow;
1186		} elseif ( 'post.php' == $pagenow && ! empty( $_GET['action'] ) && 'edit' == $_GET['action'] && ! empty( $_GET['post'] ) ) {
1187			$the_post = get_post( absint( $_GET['post'] ) );
install.php https://github.com/zihuxinyu/typecho.git | PHP | 629 lines
191                    <form method="post" action="?config" name="config">
192                    <p class="message error"><?php _e('您没有上传 config.inc.php 文件,请您重新安装!'); ?> <button class="btn primary" type="submit"><?php _e('重新安装 &raquo;'); ?></button></p>
193                    </form>
239                        <li><a href="<?php echo $loginUrl; ?>"><?php _e('点击这里访问您的控制面板'); ?></a></li>
240                        <li><a href="<?php echo _u(); ?>/index.php"><?php _e('点击这里查看您的 Blog'); ?></a></li>
241                    </ul>
553                                <?php if (_p('Mysql')): ?><option value="Mysql"<?php if('Mysql' == $adapter): ?> selected=true<?php endif; ?>><?php _e('Mysql 原生函数适配器') ?></option><?php endif; ?>
554                                <?php if (_p('SQLite')): ?><option value="SQLite"<?php if('SQLite' == $adapter): ?> selected=true<?php endif; ?>><?php _e('SQLite 原生函数适配器 (SQLite 2.x)') ?></option><?php endif; ?>
555                                <?php if (_p('Pgsql')): ?><option value="Pgsql"<?php if('Pgsql' == $adapter): ?> selected=true<?php endif; ?>><?php _e('Pgsql 原生函数适配器') ?></option><?php endif; ?>
555                                <?php if (_p('Pgsql')): ?><option value="Pgsql"<?php if('Pgsql' == $adapter): ?> selected=true<?php endif; ?>><?php _e('Pgsql 原生函数适配器') ?></option><?php endif; ?>
556                                <?php if (_p('Pdo_Mysql')): ?><option value="Pdo_Mysql"<?php if('Pdo_Mysql' == $adapter): ?> selected=true<?php endif; ?>><?php _e('Pdo 驱动 Mysql 适配器') ?></option><?php endif; ?>
557                                <?php if (_p('Pdo_SQLite')): ?><option value="Pdo_SQLite"<?php if('Pdo_SQLite' == $adapter): ?> selected=true<?php endif; ?>><?php _e('Pdo 驱动 SQLite 适配器 (SQLite 3.x)') ?></option><?php endif; ?>
557                                <?php if (_p('Pdo_SQLite')): ?><option value="Pdo_SQLite"<?php if('Pdo_SQLite' == $adapter): ?> selected=true<?php endif; ?>><?php _e('Pdo 驱动 SQLite 适配器 (SQLite 3.x)') ?></option><?php endif; ?>
558                                <?php if (_p('Pdo_Pgsql')): ?><option value="Pdo_Pgsql"<?php if('Pdo_Pgsql' == $adapter): ?> selected=true<?php endif; ?>><?php _e('Pdo 驱动 PostgreSql 适配器') ?></option><?php endif; ?>
559                            </select>
Menu.php https://github.com/zihuxinyu/typecho.git | PHP | 344 lines
128        array(
129            array(_t('文章'), _t('管理文章'), 'manage-posts.php', 'contributor', false, 'write-post.php'),
130            array(array('Widget_Contents_Post_Admin', 'getMenuTitle'), array('Widget_Contents_Post_Admin', 'getMenuTitle'), 'manage-posts.php?uid=', 'contributor', true),
130            array(array('Widget_Contents_Post_Admin', 'getMenuTitle'), array('Widget_Contents_Post_Admin', 'getMenuTitle'), 'manage-posts.php?uid=', 'contributor', true),
131            array(_t('独立页面'), _t('管理独立页面'), 'manage-pages.php', 'editor', false, 'write-page.php'),
132            array(_t('评论'), _t('管理评论'), 'manage-comments.php', 'contributor'),
133            array(array('Widget_Comments_Admin', 'getMenuTitle'), array('Widget_Comments_Admin', 'getMenuTitle'), 'manage-comments.php?cid=', 'contributor', true),
134            array(_t('分类'), _t('管理分类'), 'manage-categories.php', 'editor', false, 'category.php'),
135            array(_t('新增分类'), _t('新增分类'), 'category.php', 'editor', true),
142            array(array('Widget_Contents_Attachment_Edit', 'getMenuTitle'), array('Widget_Contents_Attachment_Edit', 'getMenuTitle'), 'media.php?cid=', 'contributor', true),
143            array(_t('用户'), _t('管理用户'), 'manage-users.php', 'administrator', false, 'user.php'),
144            array(_t('新增用户'), _t('新增用户'), 'user.php', 'administrator', true),
218                    && basename($urlParts['path']) == 'extending.php'
219                    && !empty($currentUrlParams['panel']) && !empty($urlParams['panel'])
220                    && $urlParams['panel'] != $currentUrlParams['panel']){
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21