100+ results results for 'php empty repo:masnug/grc276-blog-laravel' (1239 ms)
131 132 /// Returns if the string is empty. Also, C_String() would return "" 133 bool IsEmpty(void) const; 215 216 /// URL Encode the string. See http://www.codeguru.com/cpp/cpp/cpp_mfc/article.php/c4029/ 217 RakNet::RakString& URLEncode(void); 322 /// \internal 323 static SharedString emptyString; 324heartbeat.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 490 lines
12 * 13 * Available filters in ajax-actions.php: 14 * - heartbeat_received 124 case 'error': 125 case 'empty': 126 case 'unknown': 152 function connect() { 153 var send = {}, data, i, empty = true, 154 nonce = typeof window.heartbeatSettings == 'object' ? window.heartbeatSettings.nonce : ''; 164 if ( data.hasOwnProperty( i ) ) { 165 empty = false; 166 break; 171 // schedule the next tick and bail 172 if ( empty && ! self.hasConnectionError() ) { 173 connecting = false;automatic_profile.php https://gitlab.com/alexprowars/bitrix | PHP | 426 lines
1<?php 2 67 68 if(!empty($this->parentHandlerInitParams["PROFILES"][$this->profileId]["TRACKING_CLASS_NAME"])) 69 $this->trackingClass = $this->parentHandlerInitParams["PROFILES"][$this->profileId]["TRACKING_CLASS_NAME"]; 82 83 if(is_array($parentTP) && !empty($parentTP)) 84 { 84 { 85 if(empty($this->trackingParams) || !is_array($this->trackingParams)) 86 { 91 foreach($this->trackingParams as $k => $v) 92 if(empty($v) && !empty($parentTP[$k])) 93 $this->trackingParams[$k] = $parentTP[$k]; 121 foreach($own["CONFIG"] as $k => $v) 122 if(empty($v["GROUP"]) || $v["GROUP"] != $this->profileId) 123 $profileOldConfig["CONFIG"][$k] = $parent["CONFIG"][$k];wpsc-swfupload-handlers.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 348 lines
5function wpsc_fileDialogStart() { 6 jQuery("#media-upload-error").empty(); 7} 43 else { 44 jQuery('#media-item-' + fileObj.id).load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()}); 45 } 61 // Tell the server to delete it. TODO: handle exceptions 62 jQuery.ajax({url:'admin-ajax.php',type:'post',success:deleteSuccess,error:deleteError,id:fileObj.id,data:{ 63 id : this.id.replace(/[^0-9]/g,''), 80 error.html('<div class="file-error"><button type="button" id="dismiss-'+id+'" class="button dismiss">'+swfuploadL10n.dismiss+'</button>'+html+'</div>'); 81 jQuery('#dismiss-'+id).click(function(){jQuery(this).parents('.file-error').slideUp(200, function(){jQuery(this).empty();})}); 82} 100 // Vanish it. 101 jQuery('#media-item-' + this.id + ' .filename:empty').remove(); 102 jQuery('#media-item-' + this.id + ' .filename').append(' <span class="file-error">'+swfuploadL10n.deleted+'</span>').siblings('a.toggle').remove();Front.php https://gitlab.com/blingbang2016/shop | PHP | 389 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 212 { 213 // empty route supplied - return base url 214 if (empty($routeName)) { 233 { 234 // empty route supplied - return base url 235 if (empty($frontName)) { 268 $to = (string)$rewrite->to; 269 if (empty($from) || empty($to)) { 270 continue;template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
12Loc::loadMessages(__FILE__); 13?><div class="container-fluid"><?php 14if (!empty($arResult['ERRORS']['FATAL'])) 39{ 40 if (!empty($arResult['ERRORS']['NONFATAL'])) 41 { 54 ?> 55 <div class="mt-3 alert alert-secondary"><?= Loc::getMessage('SPOL_TPL_EMPTY_CANCELED_ORDER')?></div> 56 <? 60 ?> 61 <div class="mt-3 alert alert-secondary"><?= Loc::getMessage('SPOL_TPL_EMPTY_HISTORY_ORDER_LIST')?></div> 62 <? 67 ?> 68 <div class="mt-3 alert alert-secondary"><?= Loc::getMessage('SPOL_TPL_EMPTY_ORDER_LIST')?></div> 69 <?class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
1<?php 2 45 46 if (empty($params['NAME_CONFIRM_TEMPLATE'])) 47 { 50 51 if (empty($params['ACCOUNT_NUMBER'])) 52 { 55 56 if (empty($params['PAYMENT_NUMBER'])) 57 { 69 70 if (empty($params['ALLOW_INNER'])) 71 { 74 75 if (empty($params['ONLY_INNER_FULL'])) 76 {search.php https://gitlab.com/alexprowars/bitrix | PHP | 532 lines
1<?php 2/** 154 { 155 if (!empty($user['crmEntity'])) 156 { 165 { 166 if (!empty($user['crmEntity'])) 167 { 215 216 if (!empty($contact['PHOTO']) && intval($contact['PHOTO']) > 0) 217 { 265 266 if (!empty($company['LOGO']) && intval($company['LOGO']) > 0) 267 { 372 $search = $requestFields['SEARCH']; 373 $searchConverted = (!empty($requestFields['SEARCH_CONVERTED']) ? $requestFields['SEARCH_CONVERTED'] : false); 374 $nameTemplate = Handler::getNameTemplate($requestFields);catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
214 215 if (empty($data['bx_user_id']) && !empty($data['user_id'])) 216 { 221 222 if (!empty($orderUser) && !empty($orderUser['BX_USER_ID'])) 223 { 284 285 if (empty($data['bx_user_id']) && OrderTable::getEntity()->hasField('BX_USER_ID')) 286 { 291 292 if (!empty($order) && !empty($order['BX_USER_ID'])) 293 { 326 { 327 if (empty($phone) && mb_stripos($row['CODE'], 'PHONE') !== false) 328 {arr.php https://gitlab.com/ken3/bluSky | PHP | 602 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 333 * 334 * // Add an empty value to the start of a select list 335 * Arr::unshift($array, 'none', 'Select a value'); 351 /** 352 * Recursive version of [array_map](http://php.net/array_map), applies one or more 353 * callbacks to all elements in an array, including sub-arrays. 403 * Merges one or more arrays recursively and preserves all keys. 404 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)! 405 *general_vb.php https://gitlab.com/elasa/vb-elasa.ir | PHP | 359 lines
1<?php 2/* 24 { 25 if (!empty($query) AND ($name !== 'pmpopup' OR !defined('NOPMPOPUP'))) 26 { 121 // if there are some results to show, query the data 122 if (!empty($threadids)) { 123 // get last read info for each threadclass-wc-report-sales-by-category.php https://gitlab.com/hotrainer/zarmani | PHP | 438 lines
220 </select> 221 <a href="#" class="select_none"><?php _e( 'None', 'woocommerce' ); ?></a> 222 <a href="#" class="select_all"><?php _e( 'All', 'woocommerce' ); ?></a> 223 <input type="submit" class="submit button" value="<?php esc_attr_e( 'Show', 'woocommerce' ); ?>" /> 224 <input type="hidden" name="range" value="<?php if ( ! empty( $_GET['range'] ) ) echo esc_attr( $_GET['range'] ) ?>" /> 225 <input type="hidden" name="start_date" value="<?php if ( ! empty( $_GET['start_date'] ) ) echo esc_attr( $_GET['start_date'] ) ?>" /> 226 <input type="hidden" name="end_date" value="<?php if ( ! empty( $_GET['end_date'] ) ) echo esc_attr( $_GET['end_date'] ) ?>" /> 227 <input type="hidden" name="page" value="<?php if ( ! empty( $_GET['page'] ) ) echo esc_attr( $_GET['page'] ) ?>" /> 228 <input type="hidden" name="tab" value="<?php if ( ! empty( $_GET['tab'] ) ) echo esc_attr( $_GET['tab'] ) ?>" /> 228 <input type="hidden" name="tab" value="<?php if ( ! empty( $_GET['tab'] ) ) echo esc_attr( $_GET['tab'] ) ?>" /> 229 <input type="hidden" name="report" value="<?php if ( ! empty( $_GET['report'] ) ) echo esc_attr( $_GET['report'] ) ?>" /> 230 </div> 259 href="#" 260 download="report-<?php echo esc_attr( $current_range ); ?>-<?php echo date_i18n( 'Y-m-d', current_time('timestamp') ); ?>.csv" 261 class="export_csv"Curl.php https://gitlab.com/blingbang2016/shop | PHP | 576 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 252 * 253 * @param string $uri uri relative to host, ex. "/index.php" 254 */ 297 { 298 if(empty($this->_responseHeaders['Set-Cookie'])) { 299 return array(); 324 { 325 if(empty($this->_responseHeaders['Set-Cookie'])) { 326 return array();walkthrough_test.php https://gitlab.com/JrLucena/moodle | PHP | 309 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 30global $CFG; 31require_once(dirname(__FILE__) . '/../../../engine/lib.php'); 32require_once(dirname(__FILE__) . '/../../../engine/tests/helpers.php'); 223 224 public function test_deferredfeedback_resume_multichoice_single_emptyanswer_first() { 225 228 229 // Attempt it and submit empty. 230 $this->start_attempt_at_question($mc, 'deferredfeedback', 3);options-permalink.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 285 lines
199 <tr> 200 <th><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th> 201 <td><code><?php echo get_option('home'); ?>/?p=123</code></td> 203 <tr> 204 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[1]); ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Day and name'); ?></label></th> 205 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/sample-post/'; ?></code></td> 207 <tr> 208 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[2]); ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Month and name'); ?></label></th> 209 <td><code><?php echo get_option('home') . $blog_prefix . $prefix . '/' . date('Y') . '/' . date('m') . '/sample-post/'; ?></code></td> 211 <tr> 212 <th><label><input name="selection" type="radio" value="<?php echo esc_attr($structures[3]); ?>" class="tog" <?php checked($structures[3], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></th> 213 <td><code><?php echo get_option('home') . $blog_prefix . $prefix; ?>/archives/123</code></td> 284 285<?php require('./admin-footer.php'); ?> 286Index.php https://gitlab.com/tonycodes/october | PHP | 458 lines
1<?php namespace Cms\Controllers; 2 159 160 if (!empty($templateData['markup']) && Config::get('cms.convertLineEndings', false) === true) { 161 $templateData['markup'] = $this->convertLineEndings($templateData['markup']);grid.locale-en.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 224 lines
6 * Dual licensed under the MIT and GPL licenses: 7 * http://www.opensource.org/licenses/mit-license.php 8 * http://www.gnu.org/licenses/gpl.html 20 recordtext: "View {0} - {1} of {2}", 21 emptyrecords: "No records to view", 22 loadtext: "Loading...", 158 masks: { 159 // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid 160 // and see http://docs.jquery.com/UI/Datepicker/formatDate 163 // information about date, time, numbers and currency formats used in different countries 164 // one should just convert the information in PHP format 165 // short date:functions.inc.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 346 lines
1<?php 2 288 289 if (empty($facilities)) { 290 return $_error = "Seleccione al menos dos opciones";string.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 300 lines
30 31.. php:staticmethod:: uuid() 32 50 51 $data = "cakephp 'great framework' php"; 52 $result = String::tokenize($data, ' ', "'", "'"); 53 // result contains 54 array('cakephp', "'great framework'", 'php'); 55 55 56.. php:staticmethod:: insert($string, $data, $options = array()) 57 63 64.. php:staticmethod:: cleanInsert($string, $options = array()) 65update.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 476 lines
1<?php 2/** 5 * @license GNU General Public License version 3, or later 6 * @version $Id: update.php 82 2010-10-23 19:13:50Z nikosdion $ 7 */ 32 jimport('joomla.filesystem.file'); 33 $this->isPro = JFile::exists(JPATH_COMPONENT_ADMINISTRATOR.DS.'tables'.DS.'redirs.php'); 34 107 // Make sure we ask the server at most every 24 hrs (unless $force is true) 108 if( ($difference < 24) && (!empty($inidata)) && (!$force) ) 109 { 163 $password = $params->get('update_password', ''); 164 if( !empty($username) && !empty($password) ) 165 { 409 } else { 410 // PHP 4 way (actually, it's just a fallback as we can't run Admin Tools in PHP4) 411 ini_set('user_agent', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)');Input.php https://gitlab.com/dleonov/my-framework-two | PHP | 419 lines
1<?php 2 170 * @param array $vars Associative array of keys and filter types to apply. 171 * If empty and datasource is null, all the input data will be returned 172 * but filtered using the filter given by the parameter defaultFilter in 174 * @param mixed $datasource Array to retrieve data from, or null. 175 * @param string $defaultFilter Default filter used in FilterInput::clean if vars is empty and 176 * datasource is null. If 'unknown', the default case is used in 191 * @param array $vars Associative array of keys and filter types to apply. 192 * If empty and datasource is null, all the input data will be returned 193 * but filtered using the filter given by the parameter defaultFilter in 195 * @param mixed $datasource Array to retrieve data from, or null. 196 * @param string $defaultFilter Default filter used in FilterInput::clean if vars is empty and 197 * datasource is null. If 'unknown', the default case is used in 206 { 207 if (empty($vars) && is_null($datasource)) 208 {ClassMetadataTest.php https://gitlab.com/freebird/WebApp | PHP | 280 lines
1<?php 2 20 21class ClassMetadataTest extends \PHPUnit_Framework_TestCase 22{ 275 */ 276 public function testGetPropertyMetadataReturnsEmptyArrayWithoutConfiguredMetadata() 277 { 277 { 278 $this->assertCount(0, $this->metadata->getPropertyMetadata('foo'), '->getPropertyMetadata() returns an empty collection if no metadata is configured for the given property'); 279 }shortcodes.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 334 lines
1<?php 2/** 117 * This function is simple, it clears all of the shortcode tags by replacing the 118 * shortcodes global by a empty array. This is actually a very efficient method 119 * for removing all shortcodes. 146 147 if (empty($shortcode_tags) || !is_array($shortcode_tags)) 148 return $content; 259 foreach ($match as $m) { 260 if (!empty($m[1])) 261 $atts[strtolower($m[1])] = stripcslashes($m[2]); 261 $atts[strtolower($m[1])] = stripcslashes($m[2]); 262 elseif (!empty($m[3])) 263 $atts[strtolower($m[3])] = stripcslashes($m[4]); 263 $atts[strtolower($m[3])] = stripcslashes($m[4]); 264 elseif (!empty($m[5])) 265 $atts[strtolower($m[5])] = stripcslashes($m[6]);Configuration.php https://gitlab.com/freebird/WebApp | PHP | 226 lines
1<?php 2 58 59 if (isset($value['profiler']['container_types']) && !empty($value['profiler']['container_types']) 60 && isset($value['container']['types']) && !empty($value['container']['types'])Curl.php https://gitlab.com/daigiangaitu91/magento | PHP | 453 lines
1<?php 2/** 156 * 157 * @SuppressWarnings(PHPMD.NPathComplexity) 158 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 175 * 176 * @SuppressWarnings(PHPMD.NPathComplexity) 177 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 196 197 if (!empty($fields['category_ids'])) { 198 $categoryIds = []; 217 218 if (!empty($fields['website_ids'])) { 219 foreach ($fields['website_ids'] as &$value) { 308 * 309 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 310 * @SuppressWarnings(PHPMD.NPathComplexity)theme-editor.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 256 lines
72 if (is_writeable($file)) { 73 //is_writable() not always reliable, check return value. see comments @ http://uk.php.net/is_writable 74 $f = fopen($file, 'w+'); 162 <ul> 163<?php 164 $template_mapping = array(); 184 ?> 185 <li><a href="theme-editor.php?file=<?php echo "$template_file"; ?>&theme=<?php echo urlencode($theme) ?>&dir=theme"><?php echo $filedesc ?></a></li> 186<?php endwhile; ?> 202 ?> 203 <li><a href="theme-editor.php?file=<?php echo "$style_file"; ?>&theme=<?php echo urlencode($theme) ?>&dir=style"><?php echo $filedesc ?></a></li> 204<?php endwhile; ?> 220 <?php echo $docs_select; ?> 221 <input type="button" class="button" value=" <?php esc_attr_e( 'Lookup' ); ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'http://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode( get_locale() ) ?>&version=<?php echo urlencode( $wp_version ) ?>&redirect=true'); }" /> 222 </div>inputfilter.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 551 lines
1<?php 2/** 2/** 3 * @class: InputFilter (PHP4 & PHP5, with comments) 4 * @project: PHP Input Filter 5 * @date: 10-05-2005 6 * @version: 1.2.2_php4/php5 7 * @author: Daniel Morris 18{ 19 var $tagsArray; // default = empty array 20 var $attrArray; // default = empty array 58 /** 59 * Method to be called by another php script. Processes for XSS and 60 * specified bad code. 85 */ 86 if (is_string($source) && !empty ($source)) 87 {index_t.php https://gitlab.com/abbelal/home-practice | PHP | 257 lines
1 2<?php 3include_once ("../vendor/autoload.php"); 210 $serial = 1; 211 if (isset($Alldata) && !empty($Alldata)) { 212 216 <tr> 217 <td><?php echo $serial++ ?></td> 218 <td><?php echo $Singledata['full_name'] ?></td> 223 <td><img src="<?php echo "images/" . $Singledata['image'] ?>" width="200" height="150"></td> 224 <td><a href="show.php?id=<?php echo $Singledata['id'] ?>"><i class="icon-file-eye"></i>View</a></td> 225 <td><a href="edit.php?id=<?php echo $Singledata['id'] ?>"><i class="icon-pencil7"></i>Edit</a></td> 225 <td><a href="edit.php?id=<?php echo $Singledata['id'] ?>"><i class="icon-pencil7"></i>Edit</a></td> 226 <td><a href="delete.php?id=<?php echo $Singledata['id'] ?>"><i class="icon-trash"></i>Remove</a></td> 227Ftp.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 373 lines
1<?php 2 11 12require_once W3TC_LIB_W3_DIR . '/Cdn/Base.php'; 13 25 /** 26 * PHP5 Constructor 27 * 44 /** 45 * PHP4 Constructor 46 * 59 function _connect(&$error) { 60 if (empty($this->_config['host'])) { 61 $error = 'Empty host.'; 65 66 if (empty($this->_config['port'])) { 67 $this->_config['port'] = 21;script.js https://gitlab.com/alexprowars/bitrix | JavaScript | 432 lines
10 opts: { // default options 11 url: '/somewhere.php', 12 ajaxFlag: 'AJAX_MODE', 61 // set message 62 if(BX.type.isNotEmptyString(next) && sv.stage != result.data.NEXT_STAGE) 63 ctx.setStage(result.data.NEXT_STAGE); 312 if(typeof this.vars.statistics.TOTAL != 'undefined' && this.vars.statistics.TOTAL.CNT == 0) 313 return true; // empty base 314componentbase.php https://gitlab.com/alexprowars/bitrix | PHP | 558 lines
1<?php 2 184 $params =& $this->getParams(); 185 if (empty($params['CURRENT_LANG'])) 186 { 188 } 189 if (empty($params['LIST_PATH'])) 190 { 196 } 197 if (empty($params['SHOW_SOURCE_PATH'])) 198 { 198 { 199 $params['SHOW_SOURCE_PATH'] = '/bitrix/admin/translate_show_php.php'; 200 } 202 { 203 $params['EDIT_SOURCE_PATH'] = '/bitrix/admin/translate_edit_php.php'; 204 }class-wp-customize-setting.php https://gitlab.com/Gashler/dp | PHP | 439 lines
1<?php 2/** 51 $this->id = $this->id_data[ 'base' ]; 52 if ( ! empty( $this->id_data[ 'keys' ] ) ) 53 $this->id .= '[' . implode( '][', $this->id_data[ 'keys' ] ) . ']'; 74 case 'option' : 75 if ( empty( $this->id_data[ 'keys' ] ) ) 76 add_filter( 'pre_option_' . $this->id_data[ 'base' ], array( $this, '_preview_filter' ) ); 181 // Handle non-array theme mod. 182 if ( empty( $this->id_data[ 'keys' ] ) ) 183 return set_theme_mod( $this->id_data[ 'base' ], $value ); 201 // Handle non-array option. 202 if ( empty( $this->id_data[ 'keys' ] ) ) 203 return update_option( $this->id_data[ 'base' ], $value ); 231 // Handle non-array value 232 if ( empty( $this->id_data[ 'keys' ] ) ) 233 return $function( $this->id_data[ 'base' ], $this->default );mssql_driver.php https://gitlab.com/digitalpoetry/catt-old | PHP | 517 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 94 95 if ( ! empty($this->port)) 96 { 134 $query = $query->row_array(); 135 $this->_quoted_identifier = empty($query) ? FALSE : (bool) $query['qi']; 136 $this->_escape_char = ($this->_quoted_identifier) ? '"' : array('[', ']'); 365 $message = mssql_get_last_message(); 366 if ( ! empty($message)) 367 { 446 // however an ORDER BY clause is required for it to work 447 if (version_compare($this->version(), '9', '>=') && $this->qb_offset && ! empty($this->qb_orderby)) 448 {CAutoComplete.php https://gitlab.com/zenfork/vektor | PHP | 294 lines
1<?php 2/** 42 * be used to generate a URL using {@link CController::createUrl}; 43 * If the URL is an empty string, the currently requested URL is used. 44 * This property will be ignored if {@link data} is set. 90 * @var boolean if set to true, the autocompleter will only allow results that 91 * are presented by the backend. Note that illegal values result in an empty 92 * input box. Defaults to false.http.php https://gitlab.com/Gashler/dp | PHP | 519 lines
1<?php 2/** 219 * @param array $response HTTP response. 220 * @return array The headers of the response. Empty array if incorrect parameter given. 221 */ 235 * @param string $header Header name to retrieve value from. 236 * @return string The header value. Empty string on if incorrect parameter given, or if the header doesn't exist. 237 */ 250 * 251 * Will return an empty array if incorrect parameter value is given. 252 * 255 * @param array $response HTTP response. 256 * @return string the response code. Empty string on incorrect parameter given. 257 */ 267 * 268 * Will return an empty array if incorrect parameter value is given. 269 *rendererbase.php https://gitlab.com/JrLucena/moodle | PHP | 271 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 81 ); 82 $output .= html_writer::empty_tag('input', $attr); 83 } 104 if ($options->feedback) { 105 $output .= html_writer::nonempty_tag('div', $this->specific_feedback($qa), 106 array('class' => 'specificfeedback')); 110 if ($options->numpartscorrect) { 111 $output .= html_writer::nonempty_tag('div', $this->num_parts_correct($qa), 112 array('class' => 'numpartscorrect')); 119 if ($options->generalfeedback) { 120 $output .= html_writer::nonempty_tag('div', $this->general_feedback($qa), 121 array('class' => 'generalfeedback')); 124 if ($options->rightanswer) { 125 $output .= html_writer::nonempty_tag('div', $this->correct_response($qa), 126 array('class' => 'rightanswer'));edit.php https://gitlab.com/JrLucena/moodle | PHP | 241 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 24 25require_once('../config.php'); 26require_once('lib.php'); 26require_once('lib.php'); 27require_once('edit_form.php'); 28 38} else { 39 if (!empty($id)) { 40 $returnurl = new moodle_url($CFG->wwwroot . '/course/view.php', array('id' => $id)); 46 case 'category': 47 $returnurl = new moodle_url($CFG->wwwroot . '/course/index.php', array('categoryid' => $categoryid)); 48 break; 49 case 'catmanage': 50 $returnurl = new moodle_url($CFG->wwwroot . '/course/management.php', array('categoryid' => $categoryid)); 51 break;yii.php https://gitlab.com/PragmaticLinux/Yii | PHP | 114 lines
1<?php 2/** 9 * Each array element represents the translation (value) of a message (key). 10 * If the value is empty, the message is considered as not translated. 11 * Messages that no longer need translation will have their translationsshipping.php https://gitlab.com/firstrate/firstrate | PHP | 268 lines
1<?php 2class ControllerApiShipping extends Controller { 73 foreach ($custom_fields as $custom_field) { 74 if (($custom_field['location'] == 'address') && $custom_field['required'] && empty($this->request->post['custom_field'][$custom_field['custom_field_id']])) { 75 $json['error']['custom_field' . $custom_field['custom_field_id']] = sprintf($this->language->get('error_custom_field'), $custom_field['name']); 233 // Shipping Method 234 if (empty($this->session->data['shipping_methods'])) { 235 $json['error'] = $this->language->get('error_no_shipping');upload.php https://gitlab.com/plusplusminus/isissoftware | PHP | 245 lines
1<?php 2 7/** 8 * upload.php 9 * 46 47 if ( empty( $form ) || ! $form['is_active'] ) { 48 die(); 102 103 if ( empty( $field ) || GFFormsModel::get_input_type( $field ) != 'fileupload' ) { 104 die(); 109 110 $allowed_extensions = ! empty( $field->allowedExtensions ) ? GFCommon::clean_extensions( explode( ',', strtolower( $field->allowedExtensions ) ) ) : array(); 111 123 124 if ( ! empty( $allowed_extensions ) ) { 125 if ( ! GFCommon::match_file_extension( $file_name, $allowed_extensions ) || ! GFCommon::match_file_extension( $uploaded_filename, $allowed_extensions ) ) {yii.php https://gitlab.com/PragmaticLinux/Yii | PHP | 114 lines
1<?php 2/** 9* Each array element represents the translation (value) of a message (key). 10* If the value is empty, the message is considered as not translated. 11* Messages that no longer need translation will have their translationsHelperRegistryTest.php https://gitlab.com/18runt88/cakephp | PHP | 334 lines
1<?php 2/** 2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @link http://cakephp.org CakePHP(tm) Project 12 * @since 2.0.0 12 * @since 2.0.0 13 * @license http://www.opensource.org/licenses/mit-license.php MIT License 14 */ 168 169 $this->assertEmpty($this->Events->listeners('View.beforeRender')); 170 }search.tpl https://gitlab.com/firstrate/firstrate | Smarty Template | 207 lines
4 <?php foreach ($breadcrumbs as $breadcrumb) { ?> 5 <li><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a></li> 6 <?php } ?> 99 <?php if ($limits['value'] == $limit) { ?> 100 <option value="<?php echo $limits['href']; ?>" selected="selected"><?php echo $limits['text']; ?></option> 101 <?php } else { ?> 101 <?php } else { ?> 102 <option value="<?php echo $limits['href']; ?>"><?php echo $limits['text']; ?></option> 103 <?php } ?> 112 <div class="product-thumb"> 113 <div class="image"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>" class="img-responsive" /></a></div> 114 <div class="caption"> 141 <div class="button-group"> 142 <button type="button" onclick="cart.add('<?php echo $product['product_id']; ?>', '<?php echo $product['minimum']; ?>');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $button_cart; ?></span></button> 143 <button type="button" data-toggle="tooltip" title="<?php echo $button_wishlist; ?>" onclick="wishlist.add('<?php echo $product['product_id']; ?>');"><i class="fa fa-heart"></i></button>emogrifier.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 228 lines
1<?php defined('_JEXEC') or die('Restricted access'); ?> 2<?php 20 2010-06-16 Added static caching for less processing overhead in situations where multiple emogrification takes place 21 2010-07-26 Fixed bug where '0' values were getting discarded because of php's empty() function... Thanks Scott! 22 2010-09-03 Added checks to invisible node removal to ensure that we don't try to remove non-existent child nodes of parents that have already been deleted 117 $nodes = @$xpath->query($this->translateCSStoXpath(trim($value['selector']))); 118 if(empty($nodes)) continue; 119 214 foreach ($definitions as $def) { 215 if (empty($def) || strpos($def, ':') === false) continue; 216 list($key,$value) = explode(':',$def,2); 216 list($key,$value) = explode(':',$def,2); 217 if (empty($key) || strlen(trim($value)) === 0) continue; 218 $retArr[trim($key)] = trim($value);File.php https://gitlab.com/devtoannh/cafe | PHP | 468 lines
25 */ 26require_once 'Zend/CodeGenerator/Php/Abstract.php'; 27 86 if ($fileName == '') { 87 require_once 'Zend/CodeGenerator/Php/Exception.php'; 88 throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.'); 209 require_once 'Zend/CodeGenerator/Php/Exception.php'; 210 throw new Zend_CodeGenerator_Php_Exception('setDocblock() is expecting either a string, array or an instance of Zend_CodeGenerator_Php_Docblock'); 211 } 293 require_once 'Zend/CodeGenerator/Php/Exception.php'; 294 throw new Zend_CodeGenerator_Php_Exception('Expecting either an array or an instance of Zend_CodeGenerator_Php_Class'); 295 } 460 if ($this->_filename == '' || !is_writable(dirname($this->_filename))) { 461 require_once 'Zend/CodeGenerator/Php/Exception.php'; 462 throw new Zend_CodeGenerator_Php_Exception('This code generator object is not writable.');AbstractRequestHandlerTest.php git://github.com/symfony/symfony.git | PHP | 417 lines
1<?php 2 13 14use PHPUnit\Framework\TestCase; 15use Symfony\Component\EventDispatcher\EventDispatcher; 150 */ 151 public function testSubmitFormWithEmptyNameIfAtLeastOneFieldInRequest($method) 152 { 179 */ 180 public function testDoNotSubmitFormWithEmptyNameIfNoFieldInRequest($method) 181 {map.js https://gitlab.com/Aaeinstein54/ember.js | JavaScript | 497 lines
15 This implementation follows the current iteration of the ES6 proposal for 16 maps (http://wiki.ecmascript.org/doku.php?id=harmony:simple_maps_and_sets), 17 with one exception: as we do not have the luxury of in-VM iteration, we implement a 25import { guidFor } from 'ember-metal/utils'; 26import EmptyObject from 'ember-metal/empty_object'; 27 36function copyNull(obj) { 37 var output = new EmptyObject(); 38 39 for (var prop in obj) { 40 // hasOwnPropery is not needed because obj is new EmptyObject(); 41 output[prop] = obj[prop]; 95 clear() { 96 this.presenceSet = new EmptyObject(); 97 this.list = [];VarCloner.php https://gitlab.com/alamgircsejnu/AMS-Project-Laravel | PHP | 324 lines
1<?php 2 148 case 'object': 149 if (empty($objRefs[$h = $zval['object_handle'] ?: ($hashMask ^ hexdec(substr(spl_object_hash($v), $hashOffset, PHP_INT_SIZE)))])) { 150 $stub = new Stub(); 164 } else { 165 $h = $hashMask ^ hexdec(substr(spl_object_hash($stub->value), $hashOffset, PHP_INT_SIZE)); 166 } 174 } 175 if (empty($objRefs[$h])) { 176 $objRefs[$h] = $stub; 185 case 'unknown type': 186 if (empty($resRefs[$h = (int) $v])) { 187 $stub = new Stub(); 198 } 199 if (empty($resRefs[$h])) { 200 $resRefs[$h] = $stub;squadadmin.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 361 lines
1<?php 2# <one line to give a brief idea of what this does.> 24 25require_once('../../include/init.php'); 26require_once('../../include/account.php'); 53 if (!$form_realname) 54 { fb(_("You must supply a non-empty real name."),1); } 55 104 105 # Unset variables so the form below will be empty 106 $form_id = null; 176 { 177 print form_header($_SERVER["PHP_SELF"].'#form', $form_id); 178 print form_input("hidden", "group_id", $group_id); 213 if (!$form_realname) 214 { fb(_("You must supply a non-empty real name."),1); } 215 elseNetClient.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 629 lines
1<?php 2 187 */ 188 public function capturePhpErrorWithException($iErrNo, $sErrStr, $sErrFile, $iErrLine) 189 { 209 { 210 if (!\MailSo\Base\Validator::NotEmptyString($sServerName, true) || !\MailSo\Base\Validator::PortInt($iPort)) 211 { 270 271 \set_error_handler(array(&$this, 'capturePhpErrorWithException')); 272quickadd.php https://gitlab.com/julienv/joomleague | PHP | 295 lines
1<?php 2/** 3 * @copyright Copyright (C) 2006-2014 joomleague.at. All rights reserved. 4 * @license GNU/GPL, see LICENSE.php 5 * Joomla! is free software. This version may have been modified pursuant 8 * other free or open source software licenses. 9 * See COPYRIGHT.php for copyright notices and details. 10 */ 16 17require_once ( JPATH_COMPONENT . DS . 'models' . DS . 'list.php' ); 18 193 { 194 if ( !$personid && empty($name) ) { 195 $this->setError(Jtext::_('COM_JOOMLEAGUE_ADMIN_QUICKADD_CTRL_ADD_PLAYER_REQUIRES_ID_OR_NAME'));cache.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 503 lines
1<?php 2/** 261 function add( $id, $data, $group = 'default', $expire = '' ) { 262 if ( empty ($group) ) 263 $group = 'default'; 303 function delete($id, $group = 'default', $force = false) { 304 if (empty ($group)) 305 $group = 'default'; 348 function get($id, $group = 'default') { 349 if ( empty ($group) ) 350 $group = 'default'; 465 /** 466 * PHP4 constructor; Calls PHP 5 style constructor 467 * 483 /** 484 * @todo This should be moved to the PHP4 style constructor, PHP5 485 * already calls __destruct()RCCWP_CreateCustomFieldPage.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 357 lines
29 30 <?php if(isset($_GET['custom-group-id']) && !empty($_GET['custom-group-id'])) { ?> 31 <input type="hidden" name="custom-group-id" value="<?php echo $_GET['custom-group-id']?>"> 32 <?php } ?> 33 <?php if(isset($_POST['custom-group-id']) && !empty($_POST['custom-group-id'])) { ?> 34 <input type="hidden" name="custom-group-id" value="<?php echo $_POST['custom-group-id']?>"> 85 <select name="custom-field-required" id="custom-field-required"> 86 <option value="0" selected="selected"><?php _e('Not Required - can be empty',$mf_domain); ?></option> 87 <option value="1"><?php _e('Required - can not be empty',$mf_domain); ?></option> 129 ?> 130 <label><input name="custom-field-type" value="<?php echo $field->id?>" type="radio" <?php echo $checked?> onclick='fun("<?php echo $field->name?>");' /> <!-- Calling Javascript Function --> 131 <?php echo $field->name?></label><br /> 348 <p class="submit" > 349 <a style="color:black" href="<?php echo RCCWP_ManagementPage::GetCustomWritePanelGenericUrl('cancel-create-custom-field')."&custom-group-id=$customGroupID"?>" class="button"><?php _e('Cancel', $mf_domain); ?></a> 350 <input type="submit" id="finish-create-custom-field" value="<?php _e('Finish', $mf_domain); ?>" />jquery.storageapi.js https://gitlab.com/Mirros/cdnjs | JavaScript | 412 lines
6 * Licensed under the MIT license: 7 * http://www.opensource.org/licenses/mit-license.php 8 * 165 166 // Check if items of a storage are empty 167 function _isEmpty(storage){ 169 if(l==1){ 170 // If only one argument, test if storage is empty 171 return (_keys(storage).length==0); 172 }else if($.isArray(a1)){ 173 // If first argument is an array, test each item of this array and return true only if all items are empty 174 for(var i=0; i<a1.length;i++){ 174 for(var i=0; i<a1.length;i++){ 175 if(!_isEmpty(storage,a1[i])) return false; 176 }tbl_structure.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 469 lines
6 * 7 * @package PhpMyAdmin 8 */ 13require_once 'libraries/common.inc.php'; 14require_once 'libraries/mysql_charsets.lib.php'; 15 19require_once 'libraries/structure.lib.php'; 20require_once 'libraries/index.lib.php'; 21 111 $action = 'tbl_structure.php'; 112 include 'libraries/mult_submits.inc.php'; 113 /** 137require_once 'libraries/tbl_common.inc.php'; 138$url_query .= '&goto=tbl_structure.php&back=tbl_structure.php'; 139$url_params['goto'] = 'tbl_structure.php';class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
1<?php 2/** 12 * This class maps shortcodes settings to VC editors. You can manage add new shortcodes or manage default shortcodes 13 * mapped in config/map.php. For developers it is possible to use API functions to add update settings attributes. 14 * 14 * 15 * @see config/map.php 16 * @see include/helpers/helpers_api.php 94 /** @var Vc_Settings $settings - get use group access rules */ 95 if ( ! empty( $current_user->roles ) ) { 96 self::$user_role = $current_user->roles[0]; 126 * You need to shortcode's tag and settings to map correctly. 127 * Default shortcodes are mapped in config/map.php file. 128 * The best way is to call this method with "init" action callback function of WP. 143 if ( ! self::$is_init ) { 144 if ( empty( $attributes['name'] ) ) { 145 trigger_error( sprintf( __( "Wrong name for shortcode:%s. Name required", "js_composer" ), $tag ) );plugin.php https://gitlab.com/endomorphosis/falkenstein | PHP | 248 lines
1<?php 2/* 19 */ 20require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php"; 21 51 { 52 if (empty($_POST['CKFinderCommand']) || $_POST['CKFinderCommand'] != 'true') { 53 $this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST); 89 $quality = 80; 90 $resizeOriginal = !empty($_POST['width']) && !empty($_POST['height']); 91 121 122 require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/Thumbnail.php"; 123 134 foreach (array('small', 'medium', 'large') as $size) { 135 if (!empty($_POST[$size]) && $_POST[$size] == '1') { 136 $thumbName = $nameWithoutExt."_".$size.".".$extension;ImageMagick.php https://gitlab.com/yousafsyed/easternglamor | PHP | 480 lines
1<?php 2/** 19 20 const ERROR_WRONG_IMAGE = 'Image is not readable or file name is empty.'; 21 237 * @throws \Exception 238 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 239 * @SuppressWarnings(PHPMD.NPathComplexity) 242 { 243 if (empty($imagePath) || !file_exists($imagePath)) { 244 throw new \LogicException(self::ERROR_WATERMARK_IMAGE_ABSENT); 332 if (!class_exists('\Imagick', false)) { 333 throw new \Exception("Required PHP extension 'Imagick' was not loaded."); 334 } 421 422 if (!empty($font)) { 423 if (method_exists($image, 'setFont')) {mod_form.php https://gitlab.com/JrLucena/moodle | PHP | 229 lines
1<?php 2if (!defined('MOODLE_INTERNAL')) { 5 6require_once ($CFG->dirroot.'/course/moodleform_mod.php'); 7 18 $mform->addElement('text', 'name', get_string('name'), array('size'=>'64')); 19 if (!empty($CFG->formatstringstriptags)) { 20 $mform->setType('name', PARAM_TEXT); 171 // be the case if there is a default value defined. 172 if (empty($default_values['entbypage']) || $default_values['entbypage'] < 0) { 173 $default_values['entbypage'] = $this->get_default_entbypage(); 179 $default_values['completionentriesenabled']= 180 !empty($default_values['completionentries']) ? 1 : 0; 181 if (empty($default_values['completionentries'])) { 199 function completion_rule_enabled($data) { 200 return (!empty($data['completionentriesenabled']) && $data['completionentries']!=0); 201 }handlers.dev.js https://gitlab.com/endomorphosis/jeffersonsmithmayor | JavaScript | 370 lines
3function fileDialogStart() { 4 jQuery("#media-upload-error").empty(); 5} 63 else { 64 item.load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()}); 65 } 182 183 jQuery('.filename:empty', item).remove(); 184 jQuery('.filename .title', item).css('font-weight','bold');blogpost.php https://gitlab.com/alexprowars/bitrix | PHP | 516 lines
1<?php 2 31 { 32 $this->addError(new Error(Loc::getMessage('SONET_CONTROLLER_LIVEFEED_BLOGPOST_EMPTY'), 'SONET_CONTROLLER_LIVEFEED_BLOGPOST_EMPTY')); 33 return null; 58 if ( 59 !empty($postSocnetPermsList['SG']) 60 && is_array($postSocnetPermsList['SG']) 220 { 221 $this->addError(new Error(Loc::getMessage('SONET_CONTROLLER_LIVEFEED_BLOGPOST_EMPTY'), 'SONET_CONTROLLER_LIVEFEED_BLOGPOST_EMPTY')); 222 return null; 277 278 if (!empty($destData)) 279 { 282 $entitites = Json::decode($destData); 283 if (!empty($entitites)) 284 {Grammar.php https://gitlab.com/hacongbang/pusher | PHP | 459 lines
1<?php 2 255 /** 256 * Create an empty Doctrine DBAL TableDiff from the Blueprint. 257 *Indexer.php https://gitlab.com/daigiangaitu91/magento | PHP | 448 lines
1<?php 2/** 16/** 17 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 18 */ 219 $indexer = $this->config->getIndexer($indexerId); 220 if (empty($indexer) || empty($indexer['indexer_id']) || $indexer['indexer_id'] != $indexerId) { 221 throw new \InvalidArgumentException("{$indexerId} indexer does not exist.");imagepicker.php https://gitlab.com/che234/adn | PHP | 267 lines
1<?php 2/** 2/** 3 * @version $Id: imagepicker.php 11812 2013-06-27 17:49:30Z djamil $ 4 * @author RocketTheme http://www.rockettheme.com 43 $this->data = json_decode($this->value); 44 if (empty($this->data->path) && !preg_match("/^-([a-z]{1,})-$/", $this->value)) $this->value = ""; 45 if (isset($this->data->link)) $link = $this->data->link; 50 if (isset($this->data->path)){ 51 $preview = !empty($this->data->preview) ? $this->data->preview : $this->data->path; 52 if (!preg_match("/^https?:\/\//", $preview) && substr($preview, 0, 1) != '/'){ 125 'attributes' => array( 126 'value' => $platforminfo->getRootUrl().'/wp-admin/media-upload.php?post_id=0&width=640&height=687&e_name=' . $this->id . '&TB_iframe=1', 127 'icon' => 'mediamanager', 137 'attributes' => array( 138 'value' => $platforminfo->getRootUrl().'/wp-admin/admin-ajax.php?action=rokgallery_gallerypicker&height=600&width=675&show_menuitems=0&inputfield=' . $this->id . '&modal=false&TB_iframe=true', 139 'icon' => 'rokgallery',link-manager.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 292 lines
85<?php screen_icon(); ?> 86<h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php 87if ( !empty($_GET['s']) ) 195 $edit_link = get_edit_bookmark_link(); 196 ?><tr id="link-<?php echo $link->link_id; ?>" valign="middle" <?php echo $style; ?>><?php 197 foreach($link_columns as $column_name=>$column_display_name) { 245 case 'rel': 246 ?><td <?php echo $attributes ?>><?php echo empty($link->link_rel) ? '<br />' : $link->link_rel; ?></td><?php 247 break; 248 case 'visible': 249 ?><td <?php echo $attributes ?>><?php echo $visible; ?></td><?php 250 break; 251 case 'rating': 252 ?><td <?php echo $attributes ?>><?php echo $rating; ?></td><?php 253 break;functions.php https://gitlab.com/BaseX/BaseX | PHP | 276 lines
1<?php 2// $Id: functions.php,v 1.5 2004/12/12 04:50:37 phppp Exp $ 3// ------------------------------------------------------------------------ // 26// ------------------------------------------------------------------------ // 27// Author: D.J.(phppp) php_pp@hotmail.com // 28// URL: http://www.xoops.org.cn // 78/** 79 * Analyzes some PHP environment variables to find the most probable language 80 * that should be used 124 // variable 125 if (empty($lang) && !empty($HTTP_ACCEPT_LANGUAGE)) { 126 $accepted = explode(',', $HTTP_ACCEPT_LANGUAGE); 136 // 2. try to findout user's language by checking its HTTP_USER_AGENT variable 137 if (empty($lang) && !empty($HTTP_USER_AGENT)) { 138 $lang = xlanguage_lang_detect($HTTP_USER_AGENT, 2);HeadLink.php https://gitlab.com/daigiangaitu91/magento | PHP | 495 lines
1<?php 2/** 61 * 62 * Use PHP_EOL as separator 63 */ 67 68 $this->setSeparator(PHP_EOL); 69 } 199 $intersection = array_intersect($this->itemKeys, $keys); 200 if (empty($intersection)) { 201 return false; 317 if (isset($attributes['conditionalStylesheet']) 318 && !empty($attributes['conditionalStylesheet']) 319 && is_string($attributes['conditionalStylesheet']) 390 $conditionalStylesheet = array_shift($args); 391 if (!empty($conditionalStylesheet) && is_string($conditionalStylesheet)) { 392 $conditionalStylesheet = (string) $conditionalStylesheet;XsdTest.php https://gitlab.com/daigiangaitu91/magento | PHP | 302 lines
1<?php 2/** 9 10class XsdTest extends \PHPUnit_Framework_TestCase 11{ 69 $actualResult = $dom->validate($schema, $actualErrors); 70 $this->assertEquals(empty($expectedErrors), $actualResult); 71 $this->assertEquals($expectedErrors, $actualErrors); 122 * @return array 123 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 124 */ 127 return [ 128 'valid empty' => ['<config/>', []], 129 'valid empty renderers' => ['<config><renderers/></config>', []], 129 'valid empty renderers' => ['<config><renderers/></config>', []], 130 'valid empty totals' => ['<config><totals/></config>', []], 131 'valid empty renderers and totals' => ['<config><renderers/><totals/></config>', []],HTMLModuleManager.php https://gitlab.com/hop23typhu/list-theme | PHP | 403 lines
1<?php 2 166 } 167 if (empty($module->name)) { 168 trigger_error('Module instance of ' . get_class($module) . ' must have name');LeoblogOwlCarousel.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 363 lines
1<?php 2/** 21 { 22 if (empty($name)) 23 {install_deDE.php http://wowroster.googlecode.com/svn/trunk/ | PHP | 411 lines
1<?php 2/** 8 * @license http://www.gnu.org/licenses/gpl.html Licensed under the GNU General Public License v3. 9 * @version SVN: $Id: install_deDE.php 2222 2010-12-05 10:05:37Z c.treyce@gmail.com $ 10 * @link http://www.wowroster.net 48 49stages should be integers, ascending, starting at 0, without gaps. In other words, put them in the right order and have PHP assign the keys. 50 54 55The 'Key' entry, recommended to be last (though place doesn't really matter) names the icon and the lockpicking skill. If a lock is unpickable, leave the field empty 56*/makefont.php https://bitbucket.org/OverSite/capstone-demo.git | PHP | 410 lines
1<?php 2/******************************************************************************* 9 10require('ttfparser.php'); 11 13{ 14 if (PHP_SAPI == 'cli') { 15 if ($severity) 44 $a = file($file); 45 if (empty($a)) 46 Error('Encoding not found: ' . $enc); 137 $a = file($afm); 138 if (empty($a)) 139 Error('AFM file empty or not readable'); 393 if ($argc == 1) 394 die("Usage: php makefont.php fontfile [encoding] [embed] [subset]\n"); 395 $fontfile = $argv[1];DB_result.php https://gitlab.com/betanurlaila/UI_onlineshop | PHP | 666 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 242 // In the event that query caching is on, the result_id variable 243 // will not be a valid resource so we'll simply return an empty 244 // array. 283 // In the event that query caching is on, the result_id variable 284 // will not be a valid resource so we'll simply return an empty 285 // array. 328 // array_key_exists() instead of isset() to allow for NULL values 329 if (empty($this->row_data) OR ! array_key_exists($n, $this->row_data)) 330 {base_admin.class.php https://gitlab.com/hop23typhu/list-theme | PHP | 526 lines
180 if(!empty(self::$master_view) && !isset(self::$tempVars["is_masterView"]) ){ 181 $masterViewFilepath = self::$path_views.self::$master_view.".php"; 182 UniteFunctionsRev::validateFilepath($masterViewFilepath,"Master View"); 187 else{ //simple require the view file. 188 $viewFilepath = self::$path_views.$view.".php"; 189 299 300 $link = admin_url( "admin.php?page=".self::$dir_plugin.$params); 301 return($link); 350 351 if(!empty($arrData)){ 352 417 if( UniteZipRev::isZipExists() == false) 418 UniteFunctionsRev::throwError("The ZipArchive php extension not exists, can't extract the update file. Please turn it on in php ini."); 419 }class-wc-query.php https://gitlab.com/hop23typhu/list-theme | PHP | 496 lines
1<?php 2/** 59 $_query = wp_parse_args( $q->query ); 60 if ( empty( $_query ) || ! array_diff( array_keys( $_query ), array( 'preview', 'page', 'paged', 'cpage', 'orderby' ) ) ) { 61 $q->is_page = true; 134 // If this is not a WC Query, do not modify the query 135 if ( empty( $wp_the_query->query_vars['wc_query'] ) ) 136 return $where; 183 // Abort if we're not filtering posts 184 if ( empty( $this->post__in ) ) 185 return $posts; 187 // Abort if this query has already been done 188 if ( ! empty( $query->wc_query ) ) 189 return $posts; 191 // Abort if this isn't a search query 192 if ( empty( $query->query_vars["s"] ) ) 193 return $posts;base.php https://gitlab.com/alexprowars/bitrix | PHP | 539 lines
1<?php 2namespace Bitrix\Report\VisualConstructor\Fields; 333 { 334 return !empty($this->dataAttributes[$key]) ? $this->dataAttributes[$key] : null; 335 } 409 $result = ''; 410 if (!empty($classes)) 411 { 411 { 412 $result = !empty($classes) ? ' class="' . implode(' ', $classes) . '"' : ''; 413 }TestBaseTest.php git://github.com/drupal/drupal.git | PHP | 470 lines
1<?php 2 175 // Verify some startup values. 176 $this->assertAttributeEmpty('assertions', $test_base); 177 if (is_string($status)) { 196 } 197 $this->assertAttributeNotEmpty('assertions', $test_base); 198 // Make a ReflectionProperty for the assertions property,widget-categories.php http://ooxx.googlecode.com/svn/trunk/ | PHP | 246 lines
217 <label for="<?php echo $this->get_field_id( 'hierarchical' ); ?>"> 218 <input class="checkbox" type="checkbox" <?php checked( $instance['hierarchical'], true ); ?> id="<?php echo $this->get_field_id( 'hierarchical' ); ?>" name="<?php echo $this->get_field_name( 'hierarchical' ); ?>" /> <?php _e( 'Hierarchical?', $this->textdomain ); ?> <code>hierarchical</code></label> 219 </p> 225 <label for="<?php echo $this->get_field_id( 'show_last_update' ); ?>"> 226 <input class="checkbox" type="checkbox" <?php checked( $instance['show_last_update'], true ); ?> id="<?php echo $this->get_field_id( 'show_last_update' ); ?>" name="<?php echo $this->get_field_name( 'show_last_update' ); ?>" /> <?php _e( 'Show last update?', $this->textdomain ); ?> <code>show_last_update</code></label> 227 </p> 229 <label for="<?php echo $this->get_field_id( 'show_count' ); ?>"> 230 <input class="checkbox" type="checkbox" <?php checked( $instance['show_count'], true ); ?> id="<?php echo $this->get_field_id( 'show_count' ); ?>" name="<?php echo $this->get_field_name( 'show_count' ); ?>" /> <?php _e( 'Show count?', $this->textdomain ); ?> <code>show_count</code></label> 231 </p> 233 <label for="<?php echo $this->get_field_id( 'hide_empty' ); ?>"> 234 <input class="checkbox" type="checkbox" <?php checked( $instance['hide_empty'], true ); ?> id="<?php echo $this->get_field_id( 'hide_empty' ); ?>" name="<?php echo $this->get_field_name( 'hide_empty' ); ?>" /> <?php _e( 'Hide empty?', $this->textdomain ); ?> <code>hide_empty</code></label> 235 </p> 237 <label for="<?php echo $this->get_field_id( 'feed' ); ?>"> 238 <input class="checkbox" type="checkbox" <?php checked( $instance['feed'], true ); ?> id="<?php echo $this->get_field_id( 'feed' ); ?>" name="<?php echo $this->get_field_name( 'feed' ); ?>" /> <?php _e( 'Show RSS feed?', $this->textdomain ); ?> <code>feed</code></label> 239 </p>template.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 394 lines
95 * Works by first retrieving the current slug for example 'category-default.php' and then 96 * trying category ID, for example 'category-1.php' and will finally fallback to category.php 97 * template, if those files don't exist. 185 * 186 * Attempts to locate 'home.php' first before falling back to 'index.php'. 187 * 193function get_home_template() { 194 $templates = array( 'home.php', 'index.php' ); 195 218 * Will first look for the specifically assigned page template 219 * The will search for 'page-{slug}.php' followed by 'page-id.php' 220 * and finally 'page.php' 296 * 297 * Some examples for the 'text/plain' mime type are 'text.php', 'plain.php', and 298 * finally 'text_plain.php'.lib.php https://gitlab.com/JrLucena/moodle | PHP | 339 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 24 */ 25require_once($CFG->dirroot . '/repository/lib.php'); 26 69 // Without an API key, don't show this repo to users as its useless without it. 70 if (empty($this->apikey)) { 71 $this->disabled = true; 86 if (!isset($this->service)) { 87 require_once($CFG->libdir . '/google/lib.php'); 88 $this->client = get_google_client(); 100 public function set_option($options = array()) { 101 if (!empty($options['apikey'])) { 102 set_config('apikey', trim($options['apikey']), 'youtube'); 123 public function check_login() { 124 return !empty($this->keyword); 125 }Sliding.php https://code.google.com/p/s3db/ | PHP | 315 lines
1<?php 2// +----------------------------------------------------------------------+ 4// +----------------------------------------------------------------------+ 5// | Copyright (c) 1997-2003 The PHP Group | 6// +----------------------------------------------------------------------+ 6// +----------------------------------------------------------------------+ 7// | This source file is subject to version 2.0 of the PHP license, | 8// | that is bundled with this package in the file LICENSE, and is | 9// | available at through the world-wide-web at | 10// | http://www.php.net/license/2_02.txt. | 11// | If you did not receive a copy of the PHP license and are unable to | 12// | obtain it through the world-wide-web, please send a note to | 13// | license@php.net so we can mail you a copy immediately. | 14// +----------------------------------------------------------------------+ 17// 18// $Id: Sliding.php,v 1.5 2004/01/16 10:29:57 quipo Exp $ 19View.php git://github.com/concrete5/concrete5.git | PHP | 478 lines
1<?php 2namespace Concrete\Core\View; 102 unset($path); 103 if (!empty($__data__['scopedItems'])) { 104 if (array_key_exists('__data__', $__data__['scopedItems'])) { 210 if (!$this->innerContentFile) { // will already be set in a legacy tools file 211 $this->setInnerContentFile($env->getPath($this->viewRootDirectoryName.'/'.trim($this->viewPath, '/').'.php', $this->viewPkgHandle)); 212 } 336 337 // replace any empty placeholders 338 $contents = $this->replaceEmptyAssetPlaceholders($contents); 399 400 protected function replaceEmptyAssetPlaceholders($pageContent) 401 { 466 467 $_record = $_locator->getRecord(DIRNAME_ELEMENTS . '/' . $_file . '.php'); 468 $_file = $_record->getFile();permissions.inc.php git://github.com/modxcms/revolution.git | PHP | 192 lines
1<?php 2/** 57$_lang['perm.element_tree_desc'] = 'Kemampuan untuk lihat elemen pohon di navigasi kiri.'; 58$_lang['perm.empty_cache_desc'] = 'Untuk mengosongkan cache situs.'; 59$_lang['perm.error_log_erase_desc'] = 'Untuk menghapus log kesalahan.';date.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 272 lines
26 // + improved by: Rafał Kukawski (http://blog.kukawski.pl) 27 // + bugfixed by: omid (http://phpjs.org/functions/380:380#comment_137122) 28 // + input by: Martin 32 // + bugfixed by: Chris (http://www.devotis.nl/) 33 // % note 1: Uses global: php_js to store the default timezone 34 // % note 2: Although the function potentially allows timezone info (see notes), it currently does not set 35 // % note 2: per a timezone specified by date_default_timezone_set(). Implementers might use 36 // % note 2: this.php_js.currentTimezoneOffset and this.php_js.currentTimezoneDST set by that function 37 // % note 2: in order to adjust the dates in this function (or our other date functions!) accordingly 65 // a backslash followed by any character (including backslash) -> the character 66 // empty string -> empty string 67 formatChr = /\\?(.?)/gi, 226 } 227 if (that.php_js && that.php_js.default_timezone) { 228 default = that.php_js.default_timezone;Route.php https://gitlab.com/Marwein/tnjobs | PHP | 588 lines
1<?php 2 192 * Returns the lowercased schemes this route is restricted to. 193 * So an empty array means that any scheme is allowed. 194 * 203 * Sets the schemes (e.g. 'https') this route is restricted to. 204 * So an empty array means that any scheme is allowed. 205 * 233 * Returns the uppercased HTTP methods this route is restricted to. 234 * So an empty array means that any method is allowed. 235 * 244 * Sets the HTTP methods (e.g. 'POST') this route is restricted to. 245 * So an empty array means that any method is allowed. 246 * 582 if ('' === $regex) { 583 throw new \InvalidArgumentException(sprintf('Routing requirement for "%s" cannot be empty.', $key)); 584 }helper.php https://gitlab.com/julienv/joomleague | PHP | 417 lines
1<?php 2/** 2/** 3 * @version $Id: helper.php 4905 2010-01-30 08:51:33Z and_one $ 4 * @package Joomleague 6 * @copyright Copyright (C) 2005-2014 joomleague.at. All rights reserved. 7 * @license GNU/GPL, see LICENSE.php 8 * Joomla! is free software. This version may have been modified pursuant to the 10 * of works licensed under the GNU General Public License or other free or open 11 * source software licenses. See COPYRIGHT.php for copyright notices and 12 * details. 261 { 262 if (empty($this->_teamoptions)) 263 {FormControl.php https://code.google.com/p/celebrio/ | PHP | 632 lines
1<?php 2 436 { 437 return !empty($this->options['rendered']); 438 } 518 { 519 return !empty($this->options['required']); 520 }Collection.php https://gitlab.com/daigiangaitu91/magento | PHP | 303 lines
1<?php 2/** 14/** 15 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 16 */ 76 * 77 * @SuppressWarnings(PHPMD.ExcessiveParameterList) 78 */ 177 { 178 if (empty($alias)) { 179 $alias = $field; 224 if (!is_array($fields)) { 225 if (empty($fields)) { 226 $fields = [];ManagerTest.php https://gitlab.com/daigiangaitu91/magento | PHP | 339 lines
1<?php 2/** 18 */ 19class ManagerTest extends \PHPUnit_Framework_TestCase 20{ 26 /** 27 * @var Factory|\PHPUnit_Framework_MockObject_MockObject 28 */ 31 /** 32 * @var CollectionFactory|\PHPUnit_Framework_MockObject_MockObject 33 */ 36 /** 37 * @var Session|\PHPUnit_Framework_MockObject_MockObject 38 */ 41 /** 42 * @var ManagerInterface|\PHPUnit_Framework_MockObject_MockObject 43 */CakeValidationSetTest.php https://gitlab.com/195/food-delivery | PHP | 337 lines
4 * 5 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 14 * @package Cake.Test.Case.Model.Validator 14 * @package Cake.Test.Case.Model.Validator 15 * @since CakePHP(tm) v 2.2.0 16 * @license http://www.opensource.org/licenses/mit-license.php MIT License 56 $result = $Field->validate($data); 57 $this->assertEmpty($result); 58 85 public function testGetRule() { 86 $rules = array('notBlank' => array('rule' => 'notBlank', 'message' => 'Can not be empty')); 87 $Field = new CakeValidationSet('title', $rules);CakeValidationSetTest.php https://gitlab.com/chandni.chauhan/Darlie-GumCare | PHP | 337 lines
85 public function testGetRule() { 86 $rules = array('notEmpty' => array('rule' => 'notEmpty', 'message' => 'Can not be empty')); 87 $Field = new CakeValidationSet('title', $rules); 103 public function testGetRules() { 104 $rules = array('notEmpty' => array('rule' => 'notEmpty', 'message' => 'Can not be empty')); 105 $Field = new CakeValidationSet('title', $rules); 117 public function testSetRule() { 118 $rules = array('notEmpty' => array('rule' => 'notEmpty', 'message' => 'Can not be empty')); 119 $Field = new CakeValidationSet('title', $rules); 150 public function testSetRules() { 151 $rule = array('notEmpty' => array('rule' => 'notEmpty', 'message' => 'Can not be empty')); 152 $Field = new CakeValidationSet('title', $rule); 212 $Set = new CakeValidationSet('title', array( 213 'notEmpty' => array('rule' => 'notEmpty', 'required' => true), 214 'numeric' => array('rule' => 'numeric'),TranslationDebugCommand.php https://gitlab.com/matijabelec/bigpandadev | PHP | 268 lines
1<?php 2 59 60 <info>php %command.full_name% en AcmeDemoBundle</info> 61 63 64 <info>php %command.full_name% --domain=messages en AcmeDemoBundle</info> 65 67 68 <info>php %command.full_name% --only-missing en AcmeDemoBundle</info> 69 71 72 <info>php %command.full_name% --only-unused en AcmeDemoBundle</info> 73 144 // No defined or extracted messages 145 if (empty($allMessages) || null !== $domain && empty($allMessages[$domain])) { 146 $outputMessage = sprintf('No defined or extracted messages for locale "%s"', $locale);GetFileController.php https://gitlab.com/goolic/PrestaShop | PHP | 332 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 22 * @copyright 2007-2015 PrestaShop SA 23 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24 * International Registered Trademark & Property of PrestaShop SA 41 $filename = ProductDownload::getFilenameFromFilename(Tools::getValue('file')); 42 if (empty($filename)) { 43 $newFileName = Tools::getValue('filename'); 43 $newFileName = Tools::getValue('filename'); 44 if (!empty($newFileName)) { 45 $filename = Tools::getValue('filename'); 60 if (!$this->context->customer->isLogged() && !Tools::getValue('secure_key') && !Tools::getValue('id_order')) { 61 Tools::redirect('index.php?controller=authentication&back=get-file.php&key='.$key); 62 } elseif (!$this->context->customer->isLogged() && Tools::getValue('secure_key') && Tools::getValue('id_order')) {JsonP.js https://gitlab.com/cruxrebels/laundromat-bot | JavaScript | 292 lines
80 * The remote server side needs to be configured to return data in this format. Here are suggestions for how you might 81 * achieve this using Java, PHP and ASP.net: 82 * 101 * 102 * PHP: 103 * 122 * String responseString = ""; 123 * if (!String.IsNullOrEmpty(cb)) { 124 * responseString = cb + "(" + jsonString + ")";class-wp-image-editor.php https://gitlab.com/Gashler/dp | PHP | 403 lines
1<?php 2/** 396 397 if ( empty( $extensions[0] ) ) 398 return false;class-wp-filesystem-base.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 321 lines
1<?php 2/** 178 function search_for_folder($folder, $base = '.', $loop = false ) { 179 if ( empty( $base ) || '.' == $base ) 180 $base = trailingslashit($this->cwd()); 222 * 223 * From the PHP documentation page for fileperms() 224 * 224 * 225 * @link http://docs.php.net/fileperms 226 * @since 2.5 277 * Converts '-rw-r--r--' to 0644 278 * From "info at rvgate dot nl"'s comment on the PHP documentation for chmod() 279 * 279 * 280 * @link http://docs.php.net/manual/en/function.chmod.php#49614 281 * @since 2.5autoptimizeBase.php https://gitlab.com/hop23typhu/list-theme | PHP | 317 lines
1<?php 2if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 38 } 39 } else if ((strpos($url,'//')===false) && (strpos($url,parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST))===false)) { 40 $url = AUTOPTIMIZE_WP_SITE_URL.$url; 43 // first check; hostname wp site should be hostname of url 44 $thisHost=@parse_url($url,PHP_URL_HOST); 45 if ($thisHost!==parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST)) { 54 $multidomainsWPML = apply_filters('wpml_setting', array(), 'language_domains'); 55 if (!empty($multidomainsWPML)) { 56 $multidomains = array_map(array($this,"ao_getDomain"),$multidomainsWPML); 58 59 if (!empty($this->cdn_url)) { 60 $multidomains[]=parse_url($this->cdn_url,PHP_URL_HOST); 64 65 if (!empty($multidomains)) { 66 if (in_array($thisHost,$multidomains)) {apc.object-cache.php https://gitlab.com/endomorphosis/falkenstein | PHP | 380 lines
1<?php 2/* 9 10Install this file to wp-content/object-cache.php 11 19if ( version_compare( '5.2.4', phpversion(), '>=' ) ) { 20 wp_die( 'The APC object cache backend requires PHP 5.2 or higher. You are running ' . phpversion() . '. Please remove the <code>object-cache.php</code> file from your content directory.' ); 21} 24 // Regular die, not wp_die(), because it gets sandboxed and shown in a small iframe 25 die( '<strong>ERROR:</strong> This is <em>not</em> a plugin, and it should not be activated as one.<br /><br />Instead, <code>' . str_replace( $_SERVER['DOCUMENT_ROOT'], '', __FILE__ ) . '</code> must be moved to <code>' . str_replace( $_SERVER['DOCUMENT_ROOT'], '', trailingslashit( WP_CONTENT_DIR ) ) . 'object-cache.php</code>' ); 26} else { 27 28// Users with setups where multiple installs share a common wp-config.php can use this 29// to guarantee uniqueness for the keys generated by this object cache 252 function key( $key, $group ) { 253 if ( empty( $group ) ) 254 $group = 'default';after-the-deadline.php https://gitlab.com/endomorphosis/falkenstein | PHP | 286 lines
27include( 'after-the-deadline/config-options.php' ); 28include( 'after-the-deadline/config-unignore.php' ); 29include( 'after-the-deadline/proxy.php' ); 63 if ( ! defined( 'ATD_TINYMCE_4' ) ) { 64 define( 'ATD_TINYMCE_4', ( ! empty( $GLOBALS['tinymce_version'] ) && substr( $GLOBALS['tinymce_version'], 0, 1 ) >= 4 ) ); 65 } 90 91 /* kill the spellchecker.. don't need no steenkin PHP spell checker */ 92 foreach ( $buttons as $key => $button ) { 122 123 $init_array['atd_rpc_url'] = admin_url( 'admin-ajax.php?action=proxy_atd&url=' ); 124 $init_array['atd_ignore_rpc_url'] = admin_url( 'admin-ajax.php?action=atd_ignore&phrase=' ); 252 253 $pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'admin.php', 'profile.php' ); 254editor.php https://gitlab.com/che234/adn | PHP | 343 lines
130 // at least one user group or user must be set 131 if (empty($item->types) && empty($item->users)) { 132 continue; 138 // user not in the current group... 139 if (empty($groups)) { 140 // no additional users set or no user match 140 // no additional users set or no user match 141 if (empty($item->users) || in_array($user->id, explode(',', $item->users)) === false) { 142 continue; 161 // check area 162 if (!empty($item->area) && (int) $item->area != $area) { 163 continue; 247 248 if (empty(self::$params[$signature])) { 249 wfimport('admin.helpers.extension');component.php https://gitlab.com/alexprowars/bitrix | PHP | 281 lines
32/***************** BASE ********************************************/ 33 $arParams["FID"] = intval(empty($arParams["FID"]) ? $_REQUEST["FID"] : $arParams["FID"]); 34 if ($_SERVER['REQUEST_METHOD'] == "POST") 36 else 37 $arParams["TID"] = (empty($arParams["TID"]) ? $_REQUEST["TID"] : $arParams["TID"]); 38 $arParams["newFID"] = intval($_REQUEST["newFID"]); 47 "profile_view" => "PAGE_NAME=profile_view&UID=#UID#"); 48 if (empty($arParams["URL_TEMPLATES_MESSAGE"]) && !empty($arParams["URL_TEMPLATES_READ"])) 49 { 59/***************** ADDITIONAL **************************************/ 60 $arParams["NAME_TEMPLATE"] = (!empty($arParams["NAME_TEMPLATE"]) ? $arParams["NAME_TEMPLATE"] : false); 61/***************** STANDART ****************************************/ 79 $APPLICATION->AuthForm(GetMessage("FM_NO_FPERMS")); 80elseif (empty($topics)): 81 ShowError(GetMessage("F_ERROR_TOPICS_IS_EMPTY"));cache.php https://gitlab.com/alexprowars/bitrix | PHP | 541 lines
1<?php 2/** 64 $v = Config\Configuration::getValue("cache"); 65 if ($v != null && isset($v["type"]) && !empty($v["type"])) 66 { 197 $scriptName = $server->get("SCRIPT_NAME"); 198 if ($scriptName == "/bitrix/urlrewrite.php" && (($v = $server->get("REAL_FILE_PATH")) != null)) 199 { 201 } 202 elseif ($scriptName == "/404.php" && (($v = $server->get("REAL_FILE_PATH")) != null)) 203 { 257 $un = md5($uniqueString); 258 return mb_substr($un, 0, 2)."/".$un.".php"; 259 } 313 314 if (!is_array($data) || empty($data) || !isset($data['CONTENT']) || !isset($data['VARS'])) 315 {WindowsAzure.php https://gitlab.com/blingbang2016/shop | PHP | 343 lines
1<?php 2/** 19 20#require_once 'Zend/Cloud/QueueService/Adapter/AbstractAdapter.php'; 21#require_once 'Zend/Cloud/QueueService/Exception.php'; 21#require_once 'Zend/Cloud/QueueService/Exception.php'; 22#require_once 'Zend/Service/WindowsAzure/Storage/Queue.php'; 23 102 // Parse other options 103 if (! empty($options[self::PROXY_HOST])) { 104 $proxyHost = $options[self::PROXY_HOST];PublicController.php https://gitlab.com/jankube/mautic | PHP | 405 lines
39 $tokens = $stat->getTokens(); 40 if (!empty($tokens)) { 41 // Override tracking_pixel so as to not cause a double hit 52 $template = $entity->getTemplate(); 53 if (!empty($template)) { 54 $slots = $this->factory->getTheme($template)->getSlots('email'); 193 194 if (empty($template) && empty($formTemplate)) { 195 $template = $this->factory->getParameter('theme'); 212 ); 213 $contentTemplate = 'MauticCoreBundle::message.html.php'; 214 214 215 if (!empty($formContent)) { 216 $viewParams['content'] = $formContent;SqlController.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 324 lines
1<?php 2declare(strict_types=1); 3 4namespace PhpMyAdmin\Controllers; 5 5 6use PhpMyAdmin\CheckUserPrivileges; 7use PhpMyAdmin\Config\PageSettings; 7use PhpMyAdmin\Config\PageSettings; 8use PhpMyAdmin\Core; 9use PhpMyAdmin\DatabaseInterface; 9use PhpMyAdmin\DatabaseInterface; 10use PhpMyAdmin\Html\Generator; 11use PhpMyAdmin\Message; 11use PhpMyAdmin\Message; 12use PhpMyAdmin\ParseAnalyze; 13use PhpMyAdmin\Response;SdwApi.java https://jonathan.svn.codeplex.com/svn | Java | 359 lines
50 this.m_Client = Client.create (config); 51 this.m_Service = this.m_Client.resource (UriBuilder.fromUri ("http://seekdeepwithin.com/code/api.php").build ()); 52 } 71 { 72 if (this.m_ApiVersion == null || this.m_ApiVersion.isEmpty ()) { 73 this.m_ApiVersion = this.m_Service.queryParam ("action", "getapiversion") 84 { 85 if (this.m_DbVersion == null || this.m_DbVersion.isEmpty ()) { 86 this.m_DbVersion = this.m_Service.queryParam ("action", "getdbversion")bluepay.php https://gitlab.com/sheldonels/pyrocms | PHP | 310 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2 11 * @created 08/24/2011 12 * @license http://www.opensource.org/licenses/mit-license.php 13 * @link https://github.com/calvinfroedge/codeigniter-payments 158 159 if( ! empty($this->_api_settings->user_id) ) 160 { 186 { 187 // Key not being used or Parameter not included or empty 188 if($val === FALSE OR ! isset($params[$map]) OR empty($params[$map]) ) continue;script.php https://gitlab.com/sheldonels/dejavu | PHP | 263 lines
106 $mod = array_shift($process); 107 if (empty($PHORUM['mods'][$mod])) trigger_error( 108 "Requested module \"$mod\" does not exist or is not enabled.", 145 * # cd /your/phorum/dir 146 * # php ./script.php --module=external_foo 147 * </hookcode> 218 * # cd /your/phorum/dir 219 * # php ./script.php --scheduled 220 * </hookcode> 223 * remember to change the directory as well. You might also have to use the 224 * full path to your PHP binary (<filename>/usr/bin/php</filename> or 225 * whatever it is on your system), because the scheduling service might not 228 * <hookcode> 229 * 0 0 * * * cd /your/phorum/dir && /usr/bin/php ./script.php --scheduled 230 * </hookcode>tab_class.php https://gitlab.com/mohsentm/downloadchibashi | PHP | 346 lines
1<?php 2 3if ( ! class_exists( 'WP_List_Table' ) ) { 4 require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); 5} 38 39 if(!empty( $_REQUEST['status']) && $_REQUEST['status'] == "all" ) 40 { 41 $sql = "select * from {$wpdb->prefix}downloadchibashi_files_list"; 42 if ( ! empty( $_REQUEST['s'] ) ) { 43 $search = trim($_REQUEST['s']); 46 } 47 else if(!empty( $_REQUEST['status']) && $_REQUEST['status'] == "success" ) 48 $sql = "select count(*),f_datetime from {$wpdb->prefix}downloadchibashi_files_list where f_fail IS NULL group by DATE(f_datetime)"; 49 50 else if(!empty( $_REQUEST['status']) && $_REQUEST['status'] == "failed" ) 51 $sql = "select count(*),f_datetime from {$wpdb->prefix}downloadchibashi_files_list where f_fail =1 group by DATE(f_datetime)";file_helper.php https://gitlab.com/nightcrawlingz/kurikulum | PHP | 479 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 136 { 137 // Ignore empty folders 138 if (substr($filename, 0, 1) != '.') 240 241 // foreach (scandir($source_dir, 1) as $file) // In addition to being PHP5+, scandir() is simply not as fast 242 while (FALSE !== ($file = readdir($fp))) 334 * 335 * Translates a file extension into a mime type based on config/mimes.php. 336 * Returns FALSE if it can't determine the type, or open the mime config file 354 { 355 if (defined('ENVIRONMENT') AND is_file(APPPATH.'config/'.ENVIRONMENT.'/mimes.php')) 356 {view-about.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 106 lines
6 <div class="inside"> 7 <p><?php _e( 'WP-Table Reloaded allows you to create and manage tables in the admin-area of WordPress.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'Those tables may contain strings, numbers and even HTML (e.g. to include images or links).', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'You can then show the tables in your posts, on your pages or in text-widgets by using a shortcode.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'If you want to show your tables anywhere else in your theme, you can use a template tag function.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p> 8 </div> 13 <div class="inside"> 14 <p><?php _e( 'At first you should add or import a table.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'This means that you either let the plugin create an empty table for you or that you load an existing table from either a CSV, XML or HTML file.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p><p><?php _e( 'Then you can edit your data or change the structure of your table (e.g. by inserting or deleting rows or columns, swaping rows or columns or sorting them) and select specific table options like alternating row colors or whether to print the name or description, if you want.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'To easily add a link or an image to a cell, use the provided buttons. Those will ask you for the URL and a title. Then you can click into a cell and the corresponding HTML will be added to it for you.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p><p><?php printf( __( 'To insert the table into a page, post or text-widget, copy the shortcode <strong>[table id=%s /]</strong> and paste it into the corresponding place in the editor.', WP_TABLE_RELOADED_TEXTDOMAIN ), '<ID>' ); ?> <?php printf( __( 'You can also select the desired table from a list (after clicking the button "%s" in the editor toolbar) and the corresponding shortcode will be added for you.', WP_TABLE_RELOADED_TEXTDOMAIN ), __( 'Table', WP_TABLE_RELOADED_TEXTDOMAIN ) ); ?></p><p><?php _e( 'Tables can be styled by changing and adding CSS commands.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'The plugin ships with default CSS Stylesheets, which can be customized with own code or replaced with other Stylesheets.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'For this, each table is given certain CSS classes that can be used as CSS selectors.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php printf ( __( 'Please see the <a href="%s">documentation</a> for a list of these selectors and for styling examples.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/documentation/' ); ?></p> 15 </div> 34 <div class="inside"> 35 <p><?php printf( __( 'This plugin was written by <a href="%s">Tobias Bäthge</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/' ); ?> <?php _e( 'It is licensed as Free Software under GPL 2.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?><br/><?php printf( __( 'If you like the plugin, <a href="%s"><strong>a donation</strong></a> is recommended.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/donate/' ); ?> <?php printf( __( 'Please rate the plugin in the <a href="%s">WordPress Plugin Directory</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://wordpress.org/extend/plugins/wp-table-reloaded/' ); ?><br/><?php _e( 'Donations and good ratings encourage me to further develop the plugin and to provide countless hours of support. Any amount is appreciated! Thanks!', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p> 36 </div> 90 <div class="postbox<?php echo $this->helper->postbox_closed( 'debug-version-information', true ); ?>"> 91 <h3 class="hndle"><span><?php _e( 'Debug and Version Information', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></span><span class="hide_link"><small><?php echo _x( 'Hide', 'expand', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></small></span><span class="expand_link"><small><?php _e( 'Expand', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></small></span></h3> 92 <div class="inside"> 98 <br/>· WordPress: <?php echo $GLOBALS['wp_version']; ?> 99 <br/>· PHP: <?php echo phpversion(); ?> 100 <br/>· mySQL (Server): <?php echo mysql_get_server_info(); ?>0918fckconfig.js http://prosporous.googlecode.com/svn/trunk/ | JavaScript | 315 lines
55// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> 56// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code 57// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> 70 71FCKConfig.FillEmptyBlocks = true ; 72 86FCKConfig.ToolbarCanCollapse = true ; 87FCKConfig.IgnoreEmptyParagraphValue = true ; 88FCKConfig.PreserveSessionOnFileBrowser = false ; 158FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 159FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 160FCKConfig.FirefoxSpellChecker = false ; 265var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py 266var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py 267elfinder.pt_BR.js https://gitlab.com/r.collas/site_central | JavaScript | 320 lines
28 'errConf' : 'Configuração inválida do backend.', 29 'errJSON' : 'Módulo PHP JSON não está instalado.', 30 'errNoVolumes' : 'Não existe nenhum volume legÃvel disponivel.', 32 'errDataNotJSON' : 'Dados não estão no formato JSON.', 33 'errDataEmpty' : 'Dados vazios.', 34 'errCmdReq' : 'Requisição do Backend requer nome de comando.', 269 'kindTextPlain' : 'Texto simples', 270 'kindPHP' : 'PHP', 271 'kindCSS' : 'CSS',sfPropelFormGenerator.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 492 lines
99 100 file_put_contents($baseDir.'/base/Base'.$table->getPhpName().'Form.class.php', $this->evalTemplate('sfPropelFormGeneratedTemplate.php')); 101 if (!file_exists($classFile = $baseDir.'/'.$table->getPhpName().'Form.class.php')) 129 { 130 if ($relatedColumn->isForeignKey() && $relatedColumn->isPrimaryKey() && $this->table->getPhpName() != $this->getForeignTable($relatedColumn)->getPhpName()) 131 { 167 { 168 $names[] = array($this->getForeignTable($column)->getPhpName(), $column->getPhpName(), $column->isNotNull(), false); 169 } 173 { 174 $names[] = array($tables['relatedTable']->getPhpName(), $tables['middleTable']->getPhpName(), false, true); 175 } 262 { 263 $options[] = sprintf('\'model\' => \'%s\', \'add_empty\' => %s', $this->getForeignTable($column)->getPhpName(), $column->isNotNull() ? 'false' : 'true'); 264 }lib_test.php https://gitlab.com/JrLucena/moodle | PHP | 285 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 27global $CFG; 28require_once($CFG->dirroot . '/webservice/lib.php'); 29 98 $servicestructs = $dummy->get_service_structs(); 99 $this->assertNotEmpty($servicemethods); 100 // The function core_course_get_contents should be only the only web service function in the moment. 101 $this->assertEquals(1, count($servicemethods)); 102 // The function core_course_get_contents doesn't have a struct class, so the list of service structs should be empty. 103 $this->assertEmpty($servicestructs);Filesystem.php https://gitlab.com/blingbang2016/shop | PHP | 364 lines
1<?php 2/** 24/** Zend_Search_Lucene_Storage_Directory */ 25#require_once 'Zend/Search/Lucene/Storage/Directory.php'; 26 120 if (file_exists($path)) { 121 #require_once 'Zend/Search/Lucene/Exception.php'; 122 throw new Zend_Search_Lucene_Exception('Path exists, but it\'s not a directory'); 124 if (!self::mkdirs($path)) { 125 #require_once 'Zend/Search/Lucene/Exception.php'; 126 throw new Zend_Search_Lucene_Exception("Can't create directory '$path'."); 172 /** 173 * Creates a new, empty file in the directory with the given $filename. 174 * 184 unset($this->_fileHandlers[$filename]); 185 #require_once 'Zend/Search/Lucene/Storage/File/Filesystem.php'; 186 $this->_fileHandlers[$filename] = new Zend_Search_Lucene_Storage_File_Filesystem($this->_dirPath . '/' . $filename, 'w+b');de_DE.js https://gitlab.com/wuhang2003/core | JavaScript | 123 lines
10 "There is no error, the file uploaded with success" : "Es ist kein Fehler aufgetreten. Die Datei wurde erfolgreich hochgeladen.", 11 "The uploaded file exceeds the upload_max_filesize directive in php.ini: " : "Die hochgeladene Datei überschreitet die upload_max_filesize-Vorgabe in php.ini", 12 "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Die Datei ist größer, als die MAX_FILE_SIZE-Vorgabe erlaubt, die im HTML-Formular spezifiziert ist", 67 "\"{name}\" is an invalid file name." : "„{name}“ ist kein gültiger Dateiname.", 68 "File name cannot be empty." : "Der Dateiname darf nicht leer sein.", 69 "Storage of {owner} is full, files can not be updated or synced anymore!" : "Der Speicher von {owner} ist voll, Dateien können nicht mehr aktualisiert oder synchronisiert werden!", 104 "Save" : "Speichern", 105 "With PHP-FPM it might take 5 minutes for changes to be applied." : "Bei PHP-FPM kann es 5 Minuten dauern, bis Änderungen angewendet sind.", 106 "Missing permissions to edit from here." : "Fehlende Berechtigungen um von hier aus zu bearbeiten.",SqlServerGrammar.php https://gitlab.com/puntodos/ean-landings | PHP | 344 lines
1<?php 2 311 312 if (! empty($joins)) { 313 return trim("update {$alias} set {$columns} from {$table}{$joins} {$where}");class-wc-api-webhooks.php https://gitlab.com/Suhailgit/Project | PHP | 462 lines
1<?php 2/** 72 73 if ( ! empty( $status ) ) { 74 $filter['status'] = $status; 145 146 if ( ! empty( $status ) ) { 147 $filter['status'] = $status; 181 // validate topic 182 if ( empty( $data['topic'] ) || ! wc_is_webhook_valid_topic( strtolower( $data['topic'] ) ) ) { 183 throw new WC_API_Exception( 'woocommerce_api_invalid_webhook_topic', __( 'Webhook topic is required and must be valid', 'woocommerce' ), 400 ); 186 // validate delivery URL 187 if ( empty( $data['delivery_url'] ) || ! wc_is_valid_url( $data['delivery_url'] ) ) { 188 throw new WC_API_Exception( 'woocommerce_api_invalid_webhook_delivery_url', __( 'Webhook delivery URL must be a valid URL starting with http:// or https://', 'woocommerce' ), 400 ); 196 'post_password' => strlen( ( $password = uniqid( 'webhook_' ) ) ) > 20 ? substr( $password, 0, 20 ) : $password, 197 'post_title' => ! empty( $data['name'] ) ? $data['name'] : sprintf( __( 'Webhook created on %s', 'woocommerce' ), strftime( _x( '%b %d, %Y @ %I:%M %p', 'Webhook created on date parsed by strftime', 'woocommerce' ) ) ), 198 ), $data, $this );Feed.php https://gitlab.com/blingbang2016/shop | PHP | 409 lines
23/** @see Zend_Xml_Security */ 24#require_once 'Zend/Xml/Security.php'; 25 195 if (trim($string) == '') { 196 #require_once 'Zend/Feed/Exception.php'; 197 throw new Zend_Feed_Exception('Document/string being imported' 197 throw new Zend_Feed_Exception('Document/string being imported' 198 . ' is an Empty string or comes from an empty HTTP response'); 199 } 236 */ 237 #require_once 'Zend/Feed/Rss.php'; 238 // return a newly created Zend_Feed_Rss object 245 */ 246 #require_once 'Zend/Feed/Exception.php'; 247 throw new Zend_Feed_Exception('Invalid or unsupported feed format');template.php https://gitlab.com/Suhailgit/Project | PHP | 440 lines
1<?php 2 91 // Call the query 92 if ( ! empty( $r['s'] ) ) { 93 $bbp->search_query = new WP_Query( $r ); 103 // Only add pagination is query returned results 104 if ( ! empty( $bbp->search_query->found_posts ) && ! empty( $bbp->search_query->posts_per_page ) ) { 105 174 // Reset the post data when finished 175 if ( empty( $have_posts ) ) 176 wp_reset_postdata(); 223 // No search terms specified 224 if ( empty( $search_terms ) ) { 225 $title = esc_html__( 'Search', 'bbpress' ); 307 // Append search terms 308 if ( !empty( $search_terms ) ) { 309 $url = trailingslashit( $url ) . user_trailingslashit( urlencode( $search_terms ) );meta-box.php https://gitlab.com/hop23typhu/faci-vinhomes | PHP | 479 lines
1<?php 2// Prevent loading this file directly 46 * 47 * @see demo/demo.php file for details 48 * 287 $nonce = isset( $_POST["nonce_{$id}"] ) ? sanitize_key( $_POST["nonce_{$id}"] ) : ''; 288 if ( empty( $_POST["nonce_{$id}"] ) || ! wp_verify_nonce( $nonce, "rwmb-save-{$id}" ) ) 289 return; 355 */ 356 if ( ! empty( $meta_box['pages'] ) ) 357 { 454 * Check if meta box has been saved 455 * This helps saving empty value in meta fields (for text box, check box, etc.) 456 *wps-exclusions.php https://gitlab.com/hop23typhu/faci-parkhill | PHP | 234 lines
51 <td> 52 <input id="wps-exclusions" type="checkbox" value="1" name="wps_record_exclusions" <?php echo $WP_Statistics->get_option('record_exclusions')==true? "checked='checked'":'';?>><label for="wps-exclusions"><?php _e('Enable', 'wp_statistics'); ?></label> 53 <p class="description"><?php _e('This will record all the excluded hits in a separate table with the reasons why it was excluded but no other information. This will generate a lot of data but is useful if you want to see the total number of hits your site gets, not just actual user visits.', 'wp_statistics'); ?></p> 73 <td> 74 <input id="<?php echo $option_name;?>" type="checkbox" value="1" name="<?php echo $option_name;?>" <?php echo $WP_Statistics->get_option($store_name)==true? "checked='checked'":'';?>><label for="<?php echo $option_name;?>"><?php _e('Exclude', 'wp_statistics'); ?></label> 75 <p class="description"><?php echo sprintf(__('Exclude %s role from data collection.', 'wp_statistics'), $translated_role_name); ?></p> 170 <textarea id="wps_included_countries" name="wps_included_countries" rows="5" cols="10" class="code" dir="ltr"><?php echo htmlentities( $WP_Statistics->get_option('included_countries'), ENT_QUOTES );?></textarea> 171 <p class="description"><?php echo __('A list of country codes (one per line, two letters each) to include in statistics collection, if this list is not empty, only visitors from the included countries will be recorded. Use "000" (three zeros) to exclude unknown countries.', 'wp_statistics'); ?></p> 172 </td> 202 <td> 203 <input id="wps-exclude-adminpage" type="checkbox" value="1" name="wps_exclude_adminpage" <?php echo $WP_Statistics->get_option('exclude_adminpage')==true? "checked='checked'":'';?>><label for="wps-exclude-adminpage"><?php _e('Exclude', 'wp_statistics'); ?></label> 204 <p class="description"><?php _e('Exclude the admin pages for registering as a hit.', 'wp_statistics'); ?></p> 209 <td> 210 <input id="wps-exclude-feeds" type="checkbox" value="1" name="wps_exclude_feeds" <?php echo $WP_Statistics->get_option('exclude_feeds')==true? "checked='checked'":'';?>><label for="wps-exclude-feeds"><?php _e('Exclude', 'wp_statistics'); ?></label> 211 <p class="description"><?php _e('Exclude the RSS feeds for registering as a hit.', 'wp_statistics'); ?></p>MDB2Store.php https://gitlab.com/r.collas/site_central | PHP | 413 lines
1<?php 2 5 * 6 * PHP versions 4 and 5 7 * 15 16require_once 'MDB2.php'; 17 20 */ 21require_once 'Auth/OpenID/Interface.php'; 22 25 */ 26require_once 'Auth/OpenID.php'; 27 30 */ 31require_once 'Auth/OpenID/Nonce.php'; 32