PageRenderTime 19ms queryFilters 0ms Sphinxql 1012ms GetByIds 617ms meta 0ms repositoryFilters 8ms languageFilters 1ms sourceFilters 1ms

1,856,275 results for 'php empty repo:selfeky/xclusivescardwebsite' (19 ms)

Source

Language

Repository

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', '<');
utils.php https://github.com/BarnetikKoop/SuiteCRM.git | PHP | 5,084 lines
186	'upload_badext' => empty($upload_badext) ? array (
187	'php', 'php3', 'php4', 'php5', 'pl', 'cgi', 'py',
188	'asp', 'cfm', 'js', 'vbs', 'html', 'htm' ) : $upload_badext,
331	'upload_badext' => array (
332	'php', 'php3', 'php4', 'php5', 'pl', 'cgi', 'py',
333	'asp', 'cfm', 'js', 'vbs', 'html', 'htm' ),
1997	if(isset($_SERVER['PHP_SELF'])) {
1998		if (!empty($_SERVER['PHP_SELF'])) clean_string($_SERVER['PHP_SELF'], 'SAFED_GET');
1999	}
2871function check_php_version($sys_php_version = '') {
2872	$sys_php_version = empty($sys_php_version) ? constant('PHP_VERSION') : $sys_php_version;
2873	// versions below $min_considered_php_version considered invalid by default,
3770
3771	// http://us3.php.net/manual/en/ref.pcre.php#ini.pcre.backtrack-limit
3772	// starting with 5.2.0, backtrack_limit breaks JSON decoding
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'] ) )
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;
Themes.php https://github.com/dekoza/openshift-smf-2.0.7.git | PHP | 2,163 lines
370
371	if (empty($_GET['th']) && empty($_GET['id']))
372	{
439		foreach ($context['themes'] as $k => $v)
440			if (empty($v['theme_dir']) || (!file_exists($v['theme_dir'] . '/Settings.template.php') && empty($v['num_members'])))
441				unset($context['themes'][$k]);
1330
1331	if ((!empty($_FILES['theme_gz']) && (!isset($_FILES['theme_gz']['error']) || $_FILES['theme_gz']['error'] != 4)) || !empty($_REQUEST['theme_gz']))
1332		$method = 'upload';
2044	{
2045		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/' . $_REQUEST['template'] . '.template.php'))
2046			$filename = $base_theme_dir . '/' . $_REQUEST['template'] . '.template.php';
2059	{
2060		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/languages/' . $_REQUEST['lang_file'] . '.php'))
2061			$filename = $base_theme_dir . '/languages/' . $_REQUEST['template'] . '.php';
class.admin.php https://github.com/ArzuA/gitwordpress.git | PHP | 1,916 lines
428		$active = 'email' == $current_tab ? 'nav-tab-active' : '';
429		?><a class="nav-tab <?php echo $active; ?>" href="<?php echo admin_url( 'admin.php?page=it-exchange-settings&tab=email' ); ?>"><?php _e( 'Email Settings', 'it-l10n-ithemes-exchange' ); ?></a><?php
430	}
451		$active = 'pages' == $current_tab ? 'nav-tab-active' : '';
452		?><a class="nav-tab <?php echo $active; ?>" href="<?php echo admin_url( 'admin.php?page=it-exchange-settings&tab=pages' ); ?>"><?php _e( 'Pages', 'it-l10n-ithemes-exchange' ); ?></a><?php
453	}
494		$active = 'enabled' == $current_tab ? 'nav-tab-active' : '';
495		?><a class="nav-tab <?php echo $active; ?>" href="<?php echo admin_url( 'admin.php?page=it-exchange-addons&tab=enabled' ); ?>"><?php _e( 'Enabled', 'it-l10n-ithemes-exchange' ); ?></a><?php
496	}
505		$active = 'disabled' == $current_tab ? 'nav-tab-active' : '';
506		?><a class="nav-tab <?php echo $active; ?>" href="<?php echo admin_url( 'admin.php?page=it-exchange-addons&tab=disabled' ); ?>"><?php _e( 'Disabled', 'it-l10n-ithemes-exchange' ); ?></a><?php
507	}
546		$active = 'get-more' == $current_tab ? 'nav-tab-active' : '';
547		?><a class="nav-tab <?php echo $active; ?>" href="<?php echo admin_url( 'admin.php?page=it-exchange-addons&tab=get-more' ); ?>"><?php _e( 'Get More', 'it-l10n-ithemes-exchange' ); ?></a><?php
548	}
install.php https://github.com/BarnetikKoop/SuiteCRM.git | PHP | 609 lines
42if (version_compare(phpversion(),'5.2.0') < 0) {
43	$msg = 'Minimum PHP version required is 5.2.0.  You are using PHP version  '. phpversion();
44    die($msg);
226
227if(empty($sugar_config['cache_dir']) && !empty($_SESSION['cache_dir'])) {
228    $sugar_config['cache_dir'] = $_SESSION['cache_dir'];
292// Add check here to see if a silent install config file exists; if so then launch silent installer
293elseif ( is_file('config_si.php') && empty($sugar_config['installer_locked'])) {
294
337
338    $exclude_files = array('complete_install.php','register.php','download_modules.php');
339
503        // check to see if installer has been disabled
504        if(is_readable('config.php') && (filesize('config.php') > 0)) {
505            include_once('config.php');
functions.php https://github.com/DigitalPaulScholtenProject/DPSP-Platform.git | PHP | 1,509 lines
30include_once(CFCT_PATH.'functions/tinymce-upload/image-popup.php');
31include_once(CFCT_PATH.'functions/phpquery/phpquery.php');
32include_once(CFCT_PATH.'functions/anno-xml-download.php');
1032			<td class="first b"><a href="<?php echo esc_url($base_edit_link); ?>"><?php echo number_format_i18n($total_records); ?></a></td>
1033			<td class="t"><a href="<?php echo esc_url($base_edit_link); ?>"><?php _e('Articles', 'anno'); ?></a></td>
1034		</tr>
1039				<td class="first b"><a href="<?php echo esc_url($details['url']); ?>"><?php echo esc_html(number_format_i18n($details['count'])); ?></a></td>
1040				<td class="t"><a class="<?php echo esc_attr($details['class']); ?>" href="<?php echo esc_url($details['url']); ?>"><?php echo esc_html($details['i18n']); // already i18n'd ?></a></td>
1041			</tr>
1165	global $post;
1166	if (($hook_suffix == 'post-new.php' || $hook_suffix == 'post.php') && (!empty($post->post_type) && $post->post_type == 'article')) {
1167?>
1257function anno_edit_post_assets($hook_suffix) {
1258	if ($hook_suffix == 'post.php' || $hook_suffix == 'post-new.php') {
1259		global $post;
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']));
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,
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']));
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;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21