PageRenderTime 20ms queryFilters 38ms Sphinxql 1355ms GetByIds 1365ms meta 0ms repositoryFilters 4ms languageFilters 6ms sourceFilters 1ms

1,427,616 results for 'php empty repo:adamanthea/sinister-gaming' (20 ms)

Source

Language

Repository

cap-interceptor_rs.php https://bitbucket.org/broderboy/nycendurance-wordpress | PHP | 1,009 lines
193		if ( ( 'edit_theme_options' == $orig_reqd_caps[0] ) && empty( $wp_blogcaps['edit_theme_options'] ) ) {
194			if ( in_array( $GLOBALS['pagenow'], array( 'nav-menus.php', 'admin-ajax.php' ) ) || $doing_admin_menus ) {
195				$key = array_search( 'edit_theme_options', $rs_reqd_caps );
285
286						if ( ( false !== $key ) && ! $doing_admin_menus && in_array( $pagenow, array( 'edit.php', 'post.php', 'post-new.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']) ) {
445				$rs_reqd_caps = Rvy_Helper::fix_table_edit_reqd_caps( $rs_reqd_caps, $args[0], $_post, $object_type_obj );
552
553		$maybe_attachment = in_array( $pagenow, array( 'upload.php', 'media.php' ) );
554
v1.php https://bitbucket.org/chamilo/chamilo/ | PHP | 1,619 lines
16 * @copyright  1997-2008 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php 137 2009-11-09 13:24:37Z vanpouckesven $
1049                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1050                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1051                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1157                }
1158                if ($d['type'] == 'php' && !empty($d['name'])) {
1159                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1160                        array('index' => $i, 'name' => $d['name']));
1161                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1162                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1164                }
1165                if ($d['type'] == 'php' && empty($d['version'])) {
1166                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php http://punchcms.googlecode.com/svn/trunk/ | PHP | 1,601 lines
16 * @copyright  1997-2006 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.69 2006/03/02 18:14:13 cellog Exp $
1041                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1042                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1043                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1149                }
1150                if ($d['type'] == 'php' && !empty($d['name'])) {
1151                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1152                        array('index' => $i, 'name' => $d['name']));
1153                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1154                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1156                }
1157                if ($d['type'] == 'php' && empty($d['version'])) {
1158                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
tasks.php git://github.com/Dolibarr/dolibarr.git | PHP | 853 lines
302			{
303				header("Location: ".DOL_URL_ROOT.'/projet/tasks/list.php'.(empty($mode) ? '' : '?mode='.$mode));
304				exit;
789	if (!empty($arrayfields['t.duration_effective']['checked'])) print_liste_field_titre($arrayfields['t.duration_effective']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
790	if (!empty($arrayfields['t.progress_calculated']['checked'])) print_liste_field_titre($arrayfields['t.progress_calculated']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
791	if (!empty($arrayfields['t.progress']['checked']))  print_liste_field_titre($arrayfields['t.progress']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
791	if (!empty($arrayfields['t.progress']['checked']))  print_liste_field_titre($arrayfields['t.progress']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
792	if (!empty($arrayfields['t.progress_summary']['checked'])) print_liste_field_titre($arrayfields['t.progress_summary']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'center ');
793	if ($object->usage_bill_time)
795		if (!empty($arrayfields['t.tobill']['checked']))  print_liste_field_titre($arrayfields['t.tobill']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
796		if (!empty($arrayfields['t.billed']['checked'])) print_liste_field_titre($arrayfields['t.billed']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
797	}
797	}
798	if (!empty($conf->global->PROJECT_SHOW_CONTACTS_IN_LIST)) print_liste_field_titre("TaskRessourceLinks", $_SERVER["PHP_SELF"], '', '', $param, $sortfield, $sortorder);
799	// Extra fields
init.php.orig git://pkgs.fedoraproject.org/WebCalendar | Unknown | 492 lines
34 *
35 * Also, for month.php, day.php, week.php, week_details.php:
36 *   - {@link send_no_cache_header ()};
57include_once 'includes/config.php';
58include_once 'includes/dbi4php.php';
59include_once 'includes/formvars.php';
124      ? $MENU_THEME : 'default' );
125    $menu_theme =  ( $SCRIPT == 'admin.php' && ! empty ( $GLOBALS['sys_MENU_THEME'] ) 
126      ? $GLOBALS['sys_MENU_THEME'] :
335  
336    if ( ! empty ( $thisyear ) && ! empty ( $thismonth ) ) {
337      $m = $thismonth;
403  
404    if ( ! empty ( $thisyear ) && ! empty ( $thismonth ) ) {
405      $m = $thismonth;
init.php git://pkgs.fedoraproject.org/WebCalendar | PHP | 492 lines
34 *
35 * Also, for month.php, day.php, week.php, week_details.php:
36 *   - {@link send_no_cache_header ()};
57include_once 'includes/config.php';
58include_once 'includes/dbi4php.php';
59include_once 'includes/formvars.php';
124      ? $MENU_THEME : 'default' );
125    $menu_theme =  ( $SCRIPT == 'admin.php' && ! empty ( $GLOBALS['sys_MENU_THEME'] ) 
126      ? $GLOBALS['sys_MENU_THEME'] :
335  
336    if ( ! empty ( $thisyear ) && ! empty ( $thismonth ) ) {
337      $m = $thismonth;
403  
404    if ( ! empty ( $thisyear ) && ! empty ( $thismonth ) ) {
405      $m = $thismonth;
index.php git://pkgs.fedoraproject.org/WebCalendar | PHP | 725 lines
1<?php
2/* $Id: index.php,v 1.60.2.15 2008/04/23 20:22:55 umcesrjones Exp $
34    $can_add = false;
35  else if (!empty($user) && $user != $login && $user != '__public__')
36    $can_add = false;
41
42$help_url = 'help_index.php';
43$month_url = 'month.php';
47
48$mycal = ( empty ( $STARTVIEW ) ? 'index.php' : $STARTVIEW );
49
49
50$mycal .= ( ! strpos ( $mycal, '.php' ) ? '.php' : '' );
51
112// Only display some links if we're viewing our own calendar.
113if ( ( empty ( $user ) || $user == $login ) || ( ! empty ( $user ) && access_is_enabled () && 
114  access_user_calendar ( 'view', $user) ) ) {
fiche.php https://github.com/zeert/dolibarr.git | PHP | 574 lines
1<?php
2/* Copyright (C) 2001-2002	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
27require_once(DOL_DOCUMENT_ROOT."/core/modules/dons/modules_don.php");
28require_once(DOL_DOCUMENT_ROOT."/core/class/html.formfile.class.php");
29require_once(DOL_DOCUMENT_ROOT."/core/class/html.formcompany.class.php");
29require_once(DOL_DOCUMENT_ROOT."/core/class/html.formcompany.class.php");
30require_once(DOL_DOCUMENT_ROOT."/compta/dons/class/don.class.php");
31require_once(DOL_DOCUMENT_ROOT."/compta/paiement/class/paiement.class.php");
226	$newlang='';
227	if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
228	if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$donation->client->default_lang;
241	{
242		Header('Location: '.$_SERVER["PHP_SELF"].'?id='.$donation->id.(empty($conf->global->MAIN_JUMP_TAG)?'':'#builddoc'));
243		exit;
444
445	$linkback = '<a href="'.DOL_URL_ROOT.'/compta/dons/liste.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
446
sitepress.class.php https://bitbucket.org/acipriani/madeinapulia.com | PHP | 11,455 lines
2573		// also fix links to category and tag pages
2574		if ( ( 'edit.php' == $pagenow || 'edit-pages.php' == $pagenow || 'categories.php' == $pagenow || 'edit-tags.php' == $pagenow ) && $current_language != $default_language ) {
2575			?>
5140								<label><input name="icl_mcs_custom_taxs_<?php echo $ctax ?>" class="icl_mcs_custom_taxs" type="radio"
5141											  value="<?php echo $ctax ?>" <?php echo $checked1; ?><?php echo $radio_disabled ?> />&nbsp;<?php _e( 'Translate', 'sitepress' ) ?></label>
5142								<label><input name="icl_mcs_custom_taxs_<?php echo $ctax ?>" type="radio" value="0" <?php echo $checked0; ?><?php echo $radio_disabled ?> />&nbsp;<?php _e( 'Do nothing', 'sitepress' ) ?></label>
5726} ?>
5727				<option value="<?php echo $lang[ 'code' ] ?>"<?php if ( $selected_language == $lang[ 'code' ] ): ?> selected="selected"<?php endif; ?>><?php echo $lang[ 'display_name' ] ?></option>
5728			<?php endforeach; ?>
5887					(<a class="icl_toggle_show_translations" href="#" <?php if (empty( $this->settings[ 'show_translations_flag' ] )): ?>style="display:none;"<?php endif; ?>><?php _e( 'hide', 'sitepress' ) ?></a><a
5888						class="icl_toggle_show_translations" href="#" <?php if (!empty( $this->settings[ 'show_translations_flag' ] )): ?>style="display:none;"<?php endif; ?>><?php _e( 'show', 'sitepress' ) ?></a>)
5889
9035				<input type="hidden" id="icl_dismiss_help_nonce" value="<?php echo $icl_dhn = wp_create_nonce( 'dismiss_help_nonce' ) ?>"/>
9036				<a href="admin.php?page=<?php echo basename( ICL_PLUGIN_PATH ) . '/menu/languages.php&icl_action=dismiss_help&_icl_nonce=' . $icl_dhn; ?>" class="button"><?php _e( 'No thanks, I will configure myself', 'sitepress' ) ?></a>&nbsp;
9037				<a title="<?php _e( 'Stop showing this message', 'sitepress' ) ?>" id="icl_dismiss_help" href=""><?php _e( 'Dismiss', 'sitepress' ) ?></a>
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 . ']',
Themes.php https://github.com/leftnode/nooges.com.git | PHP | 2,508 lines
450		foreach ($context['themes'] as $k => $v)
451			if (empty($v['theme_dir'])  || (!file_exists($v['theme_dir'] . '/Settings.template.php') && empty($v['num_members'])))
452				unset($context['themes'][$k]);
748
749	if (empty($_GET['th']) && empty($_GET['id']))
750		return ThemeAdmin();
2207	// If linktree is empty, just return - also allow an override.
2208	if (empty($context[\'linktree\']) || (!empty($context[\'dont_default_linktree\']) && !$force_show))
2209		return;
2255		/* IE6 can\'t do multiple class selectors */
2256		if ($context[\'browser\'][\'is_ie6\'] && !empty($button[\'active_button\']) && !empty($button[\'is_last\']))
2257			$classes[] = \'lastactive\';
2261		echo \'
2262				<a id="button_\', $act, \'"\', !empty($classes) ? \' class="\' . $classes . \'"\' : \'\', \' title="\', !empty($button[\'alttitle\']) ? $button[\'alttitle\'] : $button[\'title\'], \'" href="\', $button[\'href\'], \'">\', ($settings[\'use_image_buttons\'] ? \'<img src="\' . $settings[\'images_url\'] . \'/\' . $context[\'user\'][\'language\'] . \'/home.gif" alt="\' . $txt[\'home\'] . \'" border="0" />\' : $txt[\'home\']), \'</a>\', (empty($button[\'is_last\']) ? $context[\'menu_separator\'] : \'\');
2263
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')) {
install.php https://github.com/item/sugarcrm_dev.git | PHP | 586 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');
328if(isset($next_step) && isset($workflow[$next_step]) && !in_array($workflow[$next_step],$exclude_files) && isset($sugar_config['installer_locked']) && $sugar_config['installer_locked'] == true) {
486        // check to see if installer has been disabled
487        if(is_readable('config.php') && (filesize('config.php') > 0)) {
488            include_once('config.php');
v1.php http://gespac.googlecode.com/svn/trunk/ | 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,
Common.php http://akelosframework.googlecode.com/svn/trunk/ | PHP | 2,095 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 != '') {
index.php http://rapidleech.googlecode.com/svn/trunk/ | PHP | 324 lines
97	if (!empty($_GET['pauth'])) $pauth = decrypt(urldecode(trim($_GET['pauth'])));
98	else $pauth = (!empty($_GET['proxyuser']) && !empty($_GET['proxypass'])) ? base64_encode($_GET['proxyuser'] . ':' . $_GET['proxypass']) : '';
99}
105
106if (empty($_GET['filename']) || empty($_GET['host']) || empty($_GET['path'])) {
107	$LINK = !empty($_GET['link']) ? trim(rawurldecode($_GET['link'])) : false;
156	// If Url has user & pass, use them as premium login for plugins and set $auth for direct download.
157	if (!empty($Url['user']) && !empty($Url['pass'])) {
158		if (empty($_REQUEST['premium_acc'])) $_GET['premium_acc'] = $_POST['premium_acc'] = $_REQUEST['premium_acc'] = 'on';
234			$hostmatch = str_replace('.', '_', $hostmatch[1]);
235			if (isset($premium_acc["$hostmatch"]) && is_array($premium_acc["$hostmatch"]) && !empty($premium_acc["$hostmatch"]['user']) && !empty($premium_acc["$hostmatch"]['pass'])) {
236				$auth = base64_encode($premium_acc["$hostmatch"]['user'] . ":" . $premium_acc["$hostmatch"]['pass']);
298			$_GET['partSize'] = (isset($_GET['partSize']) && is_numeric($_GET['partSize']) ? $_GET['partSize'] * 1024 * 1024 : false);
299			if (xmail($fromaddr, $_GET['email'], 'File ' . basename($file['file']), 'File: ' . basename($file['file']) . "\r\n" . 'Link: ' . $_GET['link'] . (!empty($_GET['comment']) ? "\r\n" . 'Comments: ' . str_replace (array('\r', '\n'), array("\r", "\n"), $_GET['comment']) : ''), $pathWithName, $_GET['partSize'], ($_GET['partSize'] && !empty($_GET['method']) ? $_GET['method'] : ''))) {
300				printf(lang(11), $_GET['email'], basename($file['file']));
index.php http://rapidleech36b.googlecode.com/svn/trunk/ | PHP | 381 lines
69
70if (empty($_GET ["filename"]) || empty($_GET ["host"]) || empty($_GET ["path"])) {
71	if (!isset($_POST["link"])) {
148	// If Url has user & pass, use them as premium login for plugins and set $auth for direct download.
149	if (!empty($Url['user']) && !empty($Url['pass'])) {
150		if (!$_REQUEST['premium_acc']) $_GET['premium_acc'] = $_POST['premium_acc'] = $_REQUEST['premium_acc'] = 'on';
210	}
211	insert_location("$PHP_SELF?filename=" . urlencode($FileName) . "&host=" . $Url ["host"] . "&port=" . (isset($Url ["port"]) ? $Url ["port"] : '') . "&path=" . (!empty($Url ["path"]) ? urlencode($Url ["path"]) : '') . (!empty($Url ["query"]) ? urlencode("?" . $Url ["query"]) : "") . "&referer=" . urlencode($Referer) . "&email=" . (!empty($_GET ["domail"]) ? $_GET ["email"] : "") . "&partSize=" . (!empty($_GET ["split"]) ? $_GET ["partSize"] : "") . "&method=" . (!empty($_GET ["method"]) ? $_GET ["method"] : '') . (!empty($_GET ["proxy"]) ? "&useproxy=on&proxy=" . $_GET ["proxy"] : "") . "&saveto=" . $_GET ["path"] . "&link=" . urlencode($LINK) . (isset($_GET ["add_comment"]) && $_GET ["add_comment"] == "on" && !empty($_GET ["comment"]) ? "&comment=" . urlencode($_GET ["comment"]) : "") . $auth . ($pauth ? "&pauth=$pauth" : "") . (isset($_GET["idx"]) ? "&idx=" . $_GET["idx"] : "") . "&cookie=" . (!empty($_GET ["cookie"]) ? urlencode(encrypt($_GET ['cookie'])) : '' . "&dis_plug=on"));
212} else {
278		if ($ftp ["scheme"] == "ftp" && !$_GET ["proxy"]) {
279			$AUTH ["ftp"] = array("login" => !empty($ftp ["user"]) ? $ftp ["user"] : "anonymous", "password" => !empty($ftp ["pass"]) ? $ftp ["pass"] : "anonymous@leechget.com");
280			require_once (CLASS_DIR . "ftp.php");
336			$_GET ["partSize"] = (isset($_GET ["partSize"]) && is_numeric($_GET ["partSize"]) ? $_GET ["partSize"] * 1024 * 1024 : false);
337			if (xmail($fromaddr, $_GET ["email"], "File " . basename($file ["file"]), "File: " . basename($file ["file"]) . "\r\n" . "Link: " . $_GET ["link"] . (!empty($_GET ["comment"]) ? "\r\n" . "Comments: " . str_replace("\\r\\n", "\r\n", $_GET ["comment"]) : ""), $pathWithName, $_GET ["partSize"], ($_GET ["partSize"] && !empty($_GET ["method"]) ? $_GET ["method"] : ''))) {
338				print $L->sprintf($L->say['mail_file_sent'], $_GET['email'], basename($file['file']));
dispatch.php git://github.com/Dolibarr/dolibarr.git | PHP | 1,090 lines
93
94if ($action == 'checkdispatchline' && !((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande->receptionner)) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande_advance->check))))
95{
137
138if ($action == 'uncheckdispatchline' && !((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande->receptionner)) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande_advance->check))))
139{
180
181if ($action == 'denydispatchline' && !((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande->receptionner)) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande_advance->check))))
182{
819						if (!empty($conf->global->SUPPLIER_ORDER_CAN_UPDATE_BUYINGPRICE_DURING_RECEIPT)) {
820							if (empty($conf->multicurrency->enabled) && empty($conf->dynamicprices->enabled)) {
821								// Price
1036					print '<td class="center">';
1037					if ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande->receptionner)) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande_advance->check)))
1038					{
login.php git://pkgs.fedoraproject.org/WebCalendar | PHP | 307 lines
55
56$cookie_path = str_replace ( 'login.php', '', $PHP_SELF );
57//echo "Cookie path: $cookie_path\n";
240 <input name="login" id="user" size="15" maxlength="25"
241   value="<?php if ( ! empty ( $last_login ) ) echo $last_login;?>"
242   tabindex="1" />
271    if ( $nulist[$i]['cal_is_public'] == 'Y' ) {
272      ?><a class="nav" href="nulogin.php?login=<?php
273        echo $nulist[$i]['cal_login'] . '">' .
283<br /><br />
284<?php if ( ! empty ( $ALLOW_SELF_REGISTRATION ) &&
285  $ALLOW_SELF_REGISTRATION == 'Y' ) {
298<br />
299<a href="<?php echo $PROGRAM_URL ?>" id="programname"><?php echo $PROGRAM_NAME?></a>
300<?php // Print custom trailer (since we do not call print_trailer function)
trailer.php git://pkgs.fedoraproject.org/WebCalendar | PHP | 336 lines
29  $publicStr = $PUBLIC_ACCESS_FULLNAME;
30  if ( empty ( $readonly ) || $readonly != 'Y' )
31    $readonly = 'N';
47  // Get HOME URL and text.
48  if ( ! empty ( $GLOBALS['HOME_LINK'] ) ) {
49    $home = $GLOBALS['HOME_LINK'];
54
55  $mycal = ( empty ( $GLOBALS['STARTVIEW'] )
56    ? 'index.php' : $GLOBALS['STARTVIEW'] );
56    ? 'index.php' : $GLOBALS['STARTVIEW'] );
57  $mycal .= ( strpos ( $mycal, '.php' )? '' : '.php' );
58
67  $todayURL = ( ! strstr ( $reqURI, 'day.php' ) && !
68    strstr ( $reqURI, 'month.php' ) && ! strstr ( $reqURI, 'week.php' )
69    ? 'day.php' : $reqURI );
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21