PageRenderTime 3341ms queryFilters 0ms Sphinxql 3024ms GetByIds 238ms meta 0ms repositoryFilters 18ms languageFilters 2ms sourceFilters 1ms

364,113 results for 'php empty' (3341 ms)

Source

Language

Repository

PackageManagerDisplay.php https://github.com/BarnetikKoop/SuiteCRM.git | PHP | 622 lines
1<?php
2/*********************************************************************************
44require_once('include/ytree/Tree.php');
45require_once('include/ytree/Node.php');
46require_once('ModuleInstall/PackageManager/ListViewPackages.php');
78        $error_html = "";
79		if(!empty($mi_errors)){
80			$error_html = "<tr><td><span>";
215        }
216        if($form_action == 'install.php' && (empty($releases) || count($releases['packages']) == 0)){
217        	//return false;
240    	$output = "<div id='login_panel'><div class='hd'><b>".$mod_strings['HDR_LOGIN_PANEL']."</b></div>";
241        $output .= "<div class='bd'><form><table><tr><td>".$mod_strings['LBL_USERNAME']."</td><td><input type='text' name='login_panel_username' id='login_panel_username' value='".$credentials['username']."'></td><td><a href='http://www.sugarcrm.com/crm/index.php?option=com_registration&task=register' target='blank'>".$mod_strings['LNK_NEW_ACCOUNT']."</a></td>";
242
533            $credentials = PackageManager::getCredentials();
534            if(empty($credentials['username']) || empty($credentials['password'])){
535            	//$header_text = "<font color='red'><b>".$mod_strings['ERR_CREDENTIALS_MISSING']."</b></font>";
comments.php https://bitbucket.org/bontiv/insomnia | PHP | 234 lines
36	foreach ($_POST['idCom'] as $k => $v) $plxAdmin->modCommentaire($v, 'online');
37	header('Location: comments.php'.(!empty($_GET['a'])?'?a='.$_GET['a']:''));
38	exit;
42	foreach ($_POST['idCom'] as $k => $v) $plxAdmin->modCommentaire($v, 'offline');
43	header('Location: comments.php'.(!empty($_GET['a'])?'?a='.$_GET['a']:''));
44	exit;
121
122<form action="comments.php<?php echo !empty($_GET['a'])?'?a='.$_GET['a']:'' ?>" method="post" id="form_comments">
123
220		<?php $urlp_hl = $plxAdmin->racine.'feed.php?admin'.$plxAdmin->aConf['clef'].'/commentaires/hors-ligne'; ?>
221		<li><a href="<?php echo $urlp_hl ?>" title="<?php echo L_COMMENT_OFFLINE_FEEDS_TITLE ?>"><?php echo L_COMMENT_OFFLINE_FEEDS ?></a></li>
222		<?php $urlp_el = $plxAdmin->racine.'feed.php?admin'.$plxAdmin->aConf['clef'].'/commentaires/en-ligne'; ?>
222		<?php $urlp_el = $plxAdmin->racine.'feed.php?admin'.$plxAdmin->aConf['clef'].'/commentaires/en-ligne'; ?>
223		<li><a href="<?php echo $urlp_el ?>" title="<?php echo L_COMMENT_ONLINE_FEEDS_TITLE ?>"><?php echo L_COMMENT_ONLINE_FEEDS ?></a></li>
224	</ul>
TreasuryGallery.php https://github.com/tekimaki/treasury.git | PHP | 615 lines
395		// sort out the description
396		if( $this->isValid() && !empty( $this->mInfo['data'] ) && empty( $pParamHash['edit'] ) ) {
397			$pParamHash['content_store']['data'] = '';
529		global $gBitSystem;
530		if( empty( $pTitle ) && !empty( $this ) ) {
531			$pTitle = $this->getTitle();
533
534		if( empty( $pMixed ) && !empty( $this ) ) {
535			$pMixed = $this->mInfo;
538		$ret = $pTitle;
539		if( !empty( $pTitle ) && !empty( $pMixed ) ) {
540			if( $gBitSystem->isPackageActive( 'treasury' ) ) {
602		} else {
603			$ret = TREASURY_PKG_URL.'edit_gallery.php'.(!empty( $pMixed )?"?":"");
604		}
modinstall.class.php https://github.com/krisj/revolution.git | PHP | 905 lines
1<?php
2/*
83    public function loadSettings($class = 'modInstallSettings') {
84        $path = dirname(__FILE__).'/'.strtolower($class).'.class.php';
85        $included = @include_once $path;
100    public function loadLexicon($class = 'modInstallLexicon') {
101        $path = dirname(__FILE__).'/'.strtolower($class).'.class.php';
102        $included = @include $path;
138            case modInstall::MODE_UPGRADE_EVO :
139                $included = @ include MODX_INSTALL_PATH . 'manager/includes/config.inc.php';
140                if ($included && isset ($dbase))
144            case modInstall::MODE_UPGRADE_REVO_ADVANCED :
145                $included = @ include MODX_CORE_PATH . 'config/' . MODX_CONFIG_KEY . '.inc.php';
146                if ($included && isset ($dbase)) {
790        if (defined('MODX_CORE_PATH') && file_exists(MODX_CORE_PATH) && is_dir(MODX_CORE_PATH)) {
791            if (file_exists(MODX_CORE_PATH . 'xpdo/xpdo.class.php') && file_exists(MODX_CORE_PATH . 'model/modx/modx.class.php')) {
792                $exists = true;
profile.php https://bitbucket.org/Balancer/projects-balancer | PHP | 1,630 lines
1105							<?php echo $username_field ?>
1106<?php if ($pun_user['id'] == $id || $pun_user['g_id'] == PUN_ADMIN || ($user['g_id'] > PUN_MOD && $pun_config['p_mod_change_passwords'] == '1')): ?><p><a href="<?php echo $pun_config['root_uri'];?>/profile.php?action=change_pass&amp;id=<?php echo $id ?>"><?php echo $lang_profile['Change pass'];/*"*/?></a></p>
1107<?php endif; ?>					</div>
1327						<div class="infldset">
1328<?php if (isset($avatar_format)): ?>					<img src="<?php echo $pun_config['root_uri'];?>/<?php echo $pun_config['o_avatars_dir'].'/'.$id.'.'.$avatar_format;/*"*/?>" <?php echo $img_size[3] ?> alt="" />
1329<?php endif; ?>					<p><?php echo $lang_profile['Avatar info'] ?></p>
1342							<div class="txtarea">
1343								<label><?php echo $lang_profile['Sig max length'] ?>: <?php echo $pun_config['p_sig_length'] ?> / <?php echo $lang_profile['Sig max lines'] ?>: <?php echo $pun_config['p_sig_lines'] ?><br />
1344								<textarea name="signature" rows="4" cols="65"><?php echo pun_htmlspecialchars($user['signature']) ?></textarea><br /></label>
1346							<ul class="bblinks">
1347								<li><a href="<?php echo $pun_config['root_uri'];?>/help.php#bbcode" onclick="window.open(this.href); return false;"><?php echo $lang_common['BBCode'] ?></a>: <?php echo ($pun_config['p_sig_bbcode'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></li>
1348								<li><a href="<?php echo $pun_config['root_uri'];?>/help.php#img" onclick="window.open(this.href); return false;"><?php echo $lang_common['img tag'] ?></a>: <?php echo ($pun_config['p_sig_img_tag'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></li>
1348								<li><a href="<?php echo $pun_config['root_uri'];?>/help.php#img" onclick="window.open(this.href); return false;"><?php echo $lang_common['img tag'] ?></a>: <?php echo ($pun_config['p_sig_img_tag'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></li>
1349								<li><a href="<?php echo $pun_config['root_uri'];?>/help.php#smilies" onclick="window.open(this.href); return false;"><?php echo $lang_common['Smilies'] ?></a>: <?php echo ($pun_config['o_smilies_sig'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></li>
1350							</ul>
modinstall.class.php https://bitbucket.org/argnist/mohana | PHP | 911 lines
1<?php
2/*
83    public function loadSettings($class = 'modInstallSettings') {
84        $path = dirname(__FILE__).'/'.strtolower($class).'.class.php';
85        $included = @include_once $path;
100    public function loadLexicon($class = 'modInstallLexicon') {
101        $path = dirname(__FILE__).'/'.strtolower($class).'.class.php';
102        $included = @include $path;
139            case modInstall::MODE_UPGRADE_EVO :
140                $included = @ include MODX_INSTALL_PATH . 'manager/includes/config.inc.php';
141                if ($included && isset ($dbase))
145            case modInstall::MODE_UPGRADE_REVO_ADVANCED :
146                $included = @ include MODX_CORE_PATH . 'config/' . MODX_CONFIG_KEY . '.inc.php';
147                if ($included && isset ($dbase)) {
796        if (defined('MODX_CORE_PATH') && file_exists(MODX_CORE_PATH) && is_dir(MODX_CORE_PATH)) {
797            if (file_exists(MODX_CORE_PATH . 'xpdo/xpdo.class.php') && file_exists(MODX_CORE_PATH . 'model/modx/modx.class.php')) {
798                $exists = true;
travel.php https://bitbucket.org/bplsilva/t2r | PHP | 778 lines
1<?php
2session_start();
10	
11<?php
12$settingsXml = new DOMDocument('1.0','UTF-8');
197				
198				if (!empty($remItineraryNumber) && !empty($remItineraryDepLocation) && !empty($remItineraryDepCountry) 
199					&& !empty($remItineraryArrLocation) && !empty($remItineraryArrCountry)) {
304				$locationCountry = getCountryName($settingsXpath,$location->getAttribute('country'));
305				if (empty($locations[$locationCountry])) { $locations[$locationCountry] = array(); }
306				$locations[$locationCountry][$location->getAttribute('id')] = array('id' => $location->getAttribute('id'), 'name' => $location->getAttribute('name'));
330			
331				if (empty($travel['lastDay'])) { echo "datepickerSimple();"; }
332				else { echo "datepickerLimit('".substr($travel['lastDay'],0,4).",". substr($travel['lastDay'],5,2) .",".substr($travel['lastDay'],8,2)."');"; }
422        <a href='travelinfo.php'>Travel Information</a>";
423        if ($travel['km'] == 0) { echo "<a href='empty.php'>Empty Travels</a>"; }
424		else if (strtotime($travel['firstDay']) > strtotime(date("Y-m-d")) || strtotime($travel['lastDay']) > strtotime(date("Y-m-d"))) { echo "<a href='upcoming.php'>Upcoming Travels</a>"; }
modinstall.class.php http://modx-revo-ja.googlecode.com/svn/ | PHP | 898 lines
1<?php
2/*
83    public function loadSettings($class = 'modInstallSettings') {
84        $path = dirname(__FILE__).'/'.strtolower($class).'.class.php';
85        $included = @include_once $path;
100    public function loadLexicon($class = 'modInstallLexicon') {
101        $path = dirname(__FILE__).'/'.strtolower($class).'.class.php';
102        $included = @include $path;
137            case modInstall::MODE_UPGRADE_EVO :
138                $included = @ include MODX_INSTALL_PATH . 'manager/includes/config.inc.php';
139                if ($included && isset ($dbase))
143            case modInstall::MODE_UPGRADE_REVO_ADVANCED :
144                $included = @ include MODX_CORE_PATH . 'config/' . MODX_CONFIG_KEY . '.inc.php';
145                if ($included && isset ($dbase)) {
784        if (defined('MODX_CORE_PATH') && file_exists(MODX_CORE_PATH) && is_dir(MODX_CORE_PATH)) {
785            if (file_exists(MODX_CORE_PATH . 'xpdo/xpdo.class.php') && file_exists(MODX_CORE_PATH . 'model/modx/modx.class.php')) {
786                $exists = true;
document.php git://github.com/Dolibarr/dolibarr.git | PHP | 200 lines
1<?php
2/* Copyright (C) 2003-2007 Rodolphe Quiedeville  <rodolphe@quiedeville.org>
29require '../main.inc.php';
30require_once DOL_DOCUMENT_ROOT.'/core/lib/order.lib.php';
31require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
31require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
32require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
33require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
33require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
34require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
35if (!empty($conf->projet->enabled)) {
114
115		$linkback = '<a href="'.DOL_URL_ROOT.'/commande/list.php?restore_lastsearch_values=1'.(!empty($socid) ? '&socid='.$socid : '').'">'.$langs->trans("BackToList").'</a>';
116
161
162		$linkback = '<a href="'.DOL_URL_ROOT.'/commande/list.php'.(!empty($socid) ? '?socid='.$socid : '').'">'.$langs->trans("BackToList").'</a>';
163
tbl_replace.php https://bitbucket.org/wmark/gentoo_vhcs_mods.git | PHP | 275 lines
1<?php
2/* $Id: tbl_replace.php,v 2.27 2004/12/28 16:34:44 nijel Exp $ */
28if (isset($after_insert) && $after_insert == 'new_insert') {
29    $goto = 'tbl_change.php?'
30          . PMA_generate_common_url($db, $table, '&')
36          . '&dontlimitchars=' . $dontlimitchars
37          . (empty($sql_query) ? '' : '&sql_query=' . urlencode($sql_query));
38} elseif (isset($after_insert) && $after_insert == 'same_insert') {
84    if (!@file_exists('./' . $is_gotofile)) {
85        $goto        = (empty($table)) ? 'db_details.php' : 'tbl_properties.php';
86        $is_gotofile = TRUE;
202
203if (empty($valuelist) && empty($query)) {
204    // No change -> move back to the calling script
255if ($is_gotofile) {
256    if ($goto == 'db_details.php' && !empty($table)) {
257        unset($table);
epTestManager.php https://bitbucket.org/davidmpaz/ezpdo.git | PHP | 2,289 lines
1<?php
2
3/**
4 * $Id: epTestManager.php 1019 2006-11-29 06:26:43Z nauhygon $
5 *
7 *
8 * @author Oak Nauhygon <ezpdo4php@gmail.com>
9 * @version $Revision: 1019 $ $Date: 2006-11-29 01:26:43 -0500 (Wed, 29 Nov 2006) $
16 */
17include_once(dirname(__FILE__).'/epTestRuntime.php');
18
21 *
22 * @author Oak Nauhygon <ezpdo4php@gmail.com>
23 * @version $Revision: 1019 $ $Date: 2006-11-29 01:26:43 -0500 (Wed, 29 Nov 2006) $
60        // use manager to create one object
61        include_once(EP_TESTS.'/classes/bookstore/src/eptBook.php');
62
Common.php https://bitbucket.org/kucing2k/ediassoc.git | PHP | 2,094 lines
503            case 'provides':
504                if (empty($attribs['type']) || empty($attribs['name'])) {
505                    break;
1147                }
1148                if ($d['type'] == 'php' && !empty($d['name'])) {
1149                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1149                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1150                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1151                    $errors[] = "dependency $i: missing name";
1414                                 )) {
1415                            PEAR::raiseError('Error: PHP5 packages must be packaged by php 5 PEAR');
1416                            return false;
1793        $request .= "Host: $host:$port\r\n".
1794            "User-Agent: PHP/".PHP_VERSION."\r\n";
1795        if ($proxy_host != '' && $proxy_user != '') {
v1.php https://bitbucket.org/kucing2k/ediassoc.git | PHP | 1,612 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,
install.php https://bitbucket.org/cviolette/sugarcrm.git | PHP | 602 lines
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);
222
223if(empty($sugar_config['cache_dir']) && !empty($_SESSION['cache_dir'])) {
224    $sugar_config['cache_dir'] = $_SESSION['cache_dir'];
287// Add check here to see if a silent install config file exists; if so then launch silent installer
288elseif ( is_file('config_si.php') && empty($sugar_config['installer_locked'])) {
289
332
333    $exclude_files = array('register.php','download_modules.php');
334
498        // check to see if installer has been disabled
499        if(is_readable('config.php') && (filesize('config.php') > 0)) {
500            include_once('config.php');
v1.php https://bitbucket.org/adarshj/convenient_website.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,
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,841 lines
190    }
191    if (empty($_POST['idprodfournprice']) && empty($_POST['np_desc']) && empty($_POST['dp_desc']))
192    {
1395                print '<a name="'.$line->id.'"></a>'; // ancre pour retourner sur la ligne
1396                if ((! empty($conf->product->enabled) || ! empty($conf->service->enabled)) && $line->fk_product > 0)
1397                {
1411                    print $form->select_type_of_lines($line->product_type,'type',1);
1412                    if (! empty($conf->product->enabled) && ! empty($conf->service->enabled)) print '<br>';
1413                }
1474            if ($forceall || (! empty($conf->product->enabled) && ! empty($conf->service->enabled))
1475            || (empty($conf->product->enabled) && empty($conf->service->enabled))) print '<br>';
1476
1500            // Ajout de produits/services predefinis
1501            if (! empty($conf->product->enabled) || ! empty($conf->service->enabled))
1502            {
fiche.php https://bitbucket.org/speedealing/speedealing.git | PHP | 1,347 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{
893
894    $linkback = '<a href="'.DOL_URL_ROOT.'/fichinter/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
895
1278            $newlang='';
1279            if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
1280            if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$object->client->default_lang;
v1.php https://bitbucket.org/renaatdemuynck/chamilo | PHP | 1,706 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1028                PEAR_PACKAGEFILE_ERROR_CHANNELVAL => 'Channel validator error: field "%field%" - %reason%', 
1029                PEAR_PACKAGEFILE_ERROR_PHP5 => 'Error, PHP5 token encountered in %file%, analysis should be in PHP5', 
1030                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 'File "%file%" in package.xml does not exist', 
1161                }
1162                if ($d['type'] == 'php' && ! empty($d['name']))
1163                {
1166                }
1167                elseif ($d['type'] != 'php' && empty($d['name']))
1168                {
1170                }
1171                if ($d['type'] == 'php' && empty($d['version']))
1172                {
v1.php https://bitbucket.org/renaatdemuynck/chamilo | PHP | 1,712 lines
243/**
244 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
245 */
1034                PEAR_PACKAGEFILE_ERROR_CHANNELVAL => 'Channel validator error: field "%field%" - %reason%', 
1035                PEAR_PACKAGEFILE_ERROR_PHP5 => 'Error, PHP5 token encountered in %file%, analysis should be in PHP5', 
1036                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 'File "%file%" in package.xml does not exist', 
1167                }
1168                if ($d['type'] == 'php' && ! empty($d['name']))
1169                {
1172                }
1173                elseif ($d['type'] != 'php' && empty($d['name']))
1174                {
1176                }
1177                if ($d['type'] == 'php' && empty($d['version']))
1178                {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21