100+ results results for 'php idate repo:asterix14/dolibarr' (2175 ms)
1<?php 2 218 */ 219 public function invalidate($lifetime = null) 220 {Url.php https://gitlab.com/x33n/respond | PHP | 548 lines
1<?php 2 8/** 9 * Parses and generates URLs based on URL parts. In favor of performance, URL parts are not validated. 10 */arr.php https://gitlab.com/ken3/bluSky | PHP | 602 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 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 * 514 * Creates a callable function and parameter list from a string representation. 515 * Note that this function does not validate the callback string. 516 *Command.php https://bitbucket.org/maatao/estrutura-b-sica-doctrine.git | PHP | 512 lines
1<?php 2 106 /** 107 * Initializes the command just after the input has been validated. 108 * 144 145 $input->validate(); 146 378 $name, 379 $_SERVER['PHP_SELF'].' '.$name 380 );SqlBase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 415 lines
1<?php 2 225 226 public function validateOptionsForm(&$form, FormStateInterface $form_state) { 227 // Only accept integer values. 383 384 public function exposedFormValidate(&$form, FormStateInterface $form_state) { 385 if (!$form_state->isValueEmpty('offset') && trim($form_state->getValue('offset'))) {Country.php https://gitlab.com/jslee1/PrestaShop | PHP | 417 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 73 'fields' => array( 74 'id_zone' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true), 75 'id_currency' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'), 75 'id_currency' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'), 76 'call_prefix' => array('type' => self::TYPE_INT, 'validate' => 'isInt'), 77 'iso_code' => array('type' => self::TYPE_STRING, 'validate' => 'isLanguageIsoCode', 'required' => true, 'size' => 3), 77 'iso_code' => array('type' => self::TYPE_STRING, 'validate' => 'isLanguageIsoCode', 'required' => true, 'size' => 3), 78 'active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'), 79 'contains_states' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => true),ClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
1<?php 2 39 * @author Jordi Boggiano <j.boggiano@seld.be> 40 * @see https://www.php-fig.org/psr/psr-0/ 41 * @see https://www.php-fig.org/psr/psr-4/ 290 { 291 $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; 292 } 376 377 $file = $this->findFileWithExtension($class, '.php'); 378ee374469f3039f2afc01916b1c6255a7d0864358.file.view-registration.tpl.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 260 lines
120 <option value="<?php echo $_smarty_tpl->getVariable('db_country')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['vCountryCode'];?> 121" <?php if ($_smarty_tpl->getVariable('db_country')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['vCountryCode']==$_smarty_tpl->getVariable('vCountry')->value){?> selected <?php }?>><?php echo $_smarty_tpl->getVariable('db_country')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['vCountry'];?> 122</option> 150</option> 151 <option value="FI" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='FI'){?> selected <?php }?>><?php echo @LBL_FINISH;?> 152</option> 152</option> 153 <option value="FN" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='FN'){?> selected <?php }?>><?php echo @LBL_FRENCH;?> 154</option> 154</option> 155 <option value="LV" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='LV'){?> selected <?php }?>><?php echo @LBL_LATVIN;?> 156</option> 166</option> 167 <option value="RS" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='RS'){?> selected <?php }?>><?php echo @LBL_RUSSIAN;?> 168</option>admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 223 { 224 // Validate the page 225 if ($this->form_validation->run()) 543 544 <li id="page_<?php echo $page['id']; ?>"> 545 <div> 545 <div> 546 <a href="#" rel="<?php echo $page['id'] . '">' . $page['title']; ?></a> 547 </div> 548 549 <?php if(isset($page['children'])): ?> 550 <ol> 550 <ol> 551 <?php $this->tree_builder($page); ?> 552 </ol>Index.php https://gitlab.com/tonycodes/october | PHP | 458 lines
1<?php namespace Cms\Controllers; 2 113 { 114 $this->validateRequestTheme(); 115 139 { 140 $this->validateRequestTheme(); 141 $type = Request::input('templateType'); 227 { 228 $this->validateRequestTheme(); 229 261 { 262 $this->validateRequestTheme(); 263 276 { 277 $this->validateRequestTheme(); 278BaseFcvalinmold.php https://github.com/cidesa/siga-universitario.git | PHP | 714 lines
1<?php 2 434 435 public function validate($columns = null) 436 { 436 { 437 $res = $this->doValidate($columns); 438 if ($res === true) { 447 448 protected function doValidate($columns = null) 449 { 456 457 if (($retval = FcvalinmoldPeer::doValidate($this, $columns)) !== true) { 458 $failureMap = array_merge($failureMap, $retval); 469 470 public function getByName($name, $type = BasePeer::TYPE_PHPNAME) 471 {Configuration.php https://github.com/lsmith77/symfony.git | PHP | 362 lines
1<?php 2 214 ->defaultValue(array('FrameworkBundle:Form')) 215 ->validate() 216 ->ifTrue(function($v) {return !in_array('FrameworkBundle:Form', $v); })display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
1<?php 2/** 13 global $wpdb; 14 $fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&subpage=upgrade-purchase-logs'; 15 ?> 49 <li> 50 <a href='?page=wpsc-debug&wpsc_debug_action=phpinfo'>Display phpinfo</a> 51 </li> 52 <li> 53 <a href='<?php echo $fixpage; ?>'>Fix Purchaselogs</a> 54 </li> 55 </ul> 56 <?php 57 if (defined('WPSC_ADD_DEBUG_PAGE') && (constant('WPSC_ADD_DEBUG_PAGE') == true)) { 79 </ul> 80 <?php 81 }plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 55 global $CFG; 56 require_once($CFG->libdir . '/filelib.php'); 57 201 global $CFG; 202 require_once($CFG->libdir . '/filelib.php'); 203 if ($this->extensions === null) { 265 $langfiles = get_directory_list($basedir); 266 $candidates = []; 267 foreach ($langfiles as $langfile) { 278 // Not an exact match but similar, for example "pt_br" is similar to "pt". 279 $candidates[$lang] = $langfile; 280 } 281 } 282 if (empty($js) && $candidates) { 283 // Exact match was not found, take the first candidate.session.php https://github.com/mathieu/fusionforge.git | PHP | 552 lines
1<?php 2/** 26 27require_once $gfcommon.'include/account.php'; 28require_once $gfcommon.'include/escapingUtils.php'; 201 } else { 202 // Invalidate (MD5) user_pw, refuse authentication 203 $res = db_query ("UPDATE users 214 215 // if allowpending (for verify.php) then allow 216 $userstatus=$usr['status']; 490 491//TODO - this should be generalized and used for pre.php, squal_pre.php, 492//SOAP, forum_gateway.php, tracker_gateway.php, etc to 547// Local Variables: 548// mode: php 549// c-file-style: "bsd"AdminLeoblogCategories.php https://gitlab.com/ptisky/API_prestashop | PHP | 459 lines
1<?php 2/** 12 13include_once(_PS_MODULE_DIR_.'leoblog/loader.php'); 14 76 if (Configuration::get('PS_REWRITING_SETTINGS')) 77 $url = str_replace('index.php', '', $url); 78 return $url; 102 { 103 # validate module 104 $parent_id = $root; 133 { 134 # validate module 135 $megamenu = new leoblogcat((int)$id_leoblogcat); 144 $megamenu->id_shop = $this->context->shop->id; 145 if ($megamenu->validateFields(false) && $megamenu->validateFieldsLang(false)) 146 {address.tpl https://gitlab.com/elasa/shop2.elasa.ir | Smarty Template | 236 lines
61 <label for="vat-number">{l s='VAT number'}{if in_array($field_name, $required_fields)} <sup>*</sup>{/if}</label> 62 <input type="text" class="form-control validate" data-validate="{$address_validation.$field_name.validate}" id="vat-number" name="vat_number" value="{if isset($smarty.post.vat_number)}{$smarty.post.vat_number}{else}{if isset($address->vat_number)}{$address->vat_number|escape:'html':'UTF-8'}{/if}{/if}" /> 63 </div> 95 <label for="address2">{l s='Address (Line 2)'}{if in_array($field_name, $required_fields)} <sup>*</sup>{/if}</label> 96 <input class="validate form-control" data-validate="{$address_validation.$field_name.validate}" type="text" id="address2" name="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{else}{if isset($address->address2)}{$address->address2|escape:'html':'UTF-8'}{/if}{/if}" /> 97 </div> 102 <label for="postcode">{l s='Zip/Postal Code'} <sup>*</sup></label> 103 <input class="is_required validate form-control" data-validate="{$address_validation.$field_name.validate}" type="text" id="postcode" name="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{else}{if isset($address->postcode)}{$address->postcode|escape:'html':'UTF-8'}{/if}{/if}" /> 104 </div> 143 <label for="phone_mobile">{l s='Mobile phone'}{if isset($one_phone_at_least) && $one_phone_at_least} <sup>**</sup>{/if}</label> 144 <input class="validate form-control" data-validate="{$address_validation.phone_mobile.validate}" type="tel" id="phone_mobile" name="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{else}{if isset($address->phone_mobile)}{$address->phone_mobile|escape:'html':'UTF-8'}{/if}{/if}" /> 145 </div> 190 <label for="alias">{l s='Please assign an address title for future reference.'} <sup>*</sup></label> 191 <input type="text" id="alias" class="is_required validate form-control" data-validate="{$address_validation.alias.validate}" name="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{else if isset($address->alias)}{$address->alias|escape:'html':'UTF-8'}{elseif !$select_address}{l s='My address'}{/if}" /> 192 </div>ConfigDependencyManager.php https://gitlab.com/reasonat/test8 | PHP | 351 lines
1<?php 2 81 * provides the configuration entity class being installed. This is important 82 * for configuration synchronization, which needs to be able to validate 83 * configuration in the sync directory before the synchronization has occurred.ipayment_pp.php https://github.com/chrish123/oscommerce2.git | PHP | 258 lines
1<?php 2/* 111 tep_draw_hidden_field('silent_error_url', tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error=' . $this->code, 'SSL', true)) . 112 tep_draw_hidden_field('hidden_trigger_url', tep_href_link('ext/modules/payment/ipayment/callback_pp.php', '', 'SSL', false)) . 113 tep_draw_hidden_field('client_name', 'oscommerce') . 179 tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Transaction Method', 'MODULE_PAYMENT_IPAYMENT_PP_TRANSACTION_METHOD', 'Authorization', 'The processing method to use for each transaction.', '6', '0', 'tep_cfg_select_option(array(\'Authorization\', \'Capture\'), ', now())"); 180 tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Secret Hash Password', 'MODULE_PAYMENT_IPAYMENT_PP_SECRET_HASH_PASSWORD', '', 'The secret hash password to validate transactions with', '6', '4', now())"); 181 tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Transaction Notification (E-Mail)', 'MODULE_PAYMENT_IPAYMENT_PP_DEBUG_EMAIL', '', 'An e-mail address to send transaction notifications to.', '6', '0', now())");FileUploadForm.php https://gitlab.com/mohamed_hussein/prodt | PHP | 392 lines
1<?php 2 169 // @todo Move validation in https://www.drupal.org/node/2988215 170 '#process' => array_merge(['::validateUploadElement'], $process, ['::processUploadElement']), 171 '#upload_validators' => $item->getUploadValidators(), 193 /** 194 * Validates the upload element. 195 * 203 */ 204 public function validateUploadElement(array $element, FormStateInterface $form_state) { 205 if ($form_state::hasAnyErrors()) {Generic.php https://github.com/brion/mediawiki-svn.git | PHP | 490 lines
1<?php 2/** 47 /* 48 * Validate a thumbnail parameter at parse time. 49 * Return true to accept the parameter, and false to reject it. 51 */ 52 abstract function validateParam( $name, $value ); 53 120 * @param $dstUrl String: Destination URL to use in output HTML 121 * @param $params Array: Arbitrary set of parameters validated by $this->validateParam() 122 */ 133 * @param $dstUrl String: destination URL to use in output HTML 134 * @param $params Array: arbitrary set of parameters validated by $this->validateParam() 135 * @param $flags Integer: a bitfield, may contain self::TRANSFORM_LATER 330 331 function validateParam( $name, $value ) { 332 if ( in_array( $name, array( 'width', 'height' ) ) ) {SecurityComponent.php https://gitlab.com/alexandresgv/siteentec | PHP | 405 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 0.10.8 12 * @since 0.10.8 13 * @license http://www.opensource.org/licenses/mit-license.php MIT License 14 */ 33 * 34 * @link http://book.cakephp.org/3.0/en/controllers/components/security.html 35 */ 55 * Other checks like requireAuth(), requireSecure() etc. will still be applied. 56 * - `validatePost` - Whether to validate POST data. Set to false to disable 57 * for data coming from 3rd party services, etc.local.php https://gitlab.com/Svyrydov/test-project | PHP | 903 lines
1<?php 2 34 35 // validate 36 if( !acf_have_local_field_groups() ) { 139 140 // validate 141 $field_group = acf_get_valid_field_group($field_group); 154 155 $field_group['local'] = 'php'; 156 224 // clear cache 225 // - delete cache was origional added to ensure changes to JSON / PHP would appear in WP when using memcache 226 // - the downside is that wp_cache_delet is taxing on the system so has been commented out 425 426 // validate 427 if( !acf_get_setting('local') ) {agent.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 529 lines
1<?php 2/** 9 * @copyright 2010 - 2012 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 17 * 18 * This class uses PHP's get_browser() to get details from the browsers user agent 19 * string. If not available, it can use a coded alternative using the php_browscap.ini 98 'enabled' => true, 99 'url' => 'http://browsers.garykeith.com/stream.asp?Lite_PHP_BrowsCapINI', 100 'method' => 'wrapper', 437 curl_setopt($curl, CURLOPT_HEADER, 0); 438 curl_setopt($curl, CURLOPT_USERAGENT, 'Fuel PHP framework - Agent class (http://fuelphp.com)'); 439 curl_setopt($curl, CURLOPT_URL, static::$config['browscap']['url']); 444 case 'wrapper': 445 ini_set('user_agent', 'Fuel PHP framework - Agent class (http://fuelphp.com)'); 446 $data = file_get_contents(static::$config['browscap']['url']);customer_group.php https://gitlab.com/hazelnuts23/unitedfoodstuff | PHP | 406 lines
1<?php 2class ControllerSaleCustomerGroup extends Controller { 21 22 if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) { 23 $this->model_sale_customer_group->addCustomerGroup($this->request->post); 53 54 if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) { 55 $this->model_sale_customer_group->editCustomerGroup($this->request->get['customer_group_id'], $this->request->post); 85 86 if (isset($this->request->post['selected']) && $this->validateDelete()) { 87 foreach ($this->request->post['selected'] as $customer_group_id) { 363 364 protected function validateForm() { 365 if (!$this->user->hasPermission('modify', 'sale/customer_group')) { 377 378 protected function validateDelete() { 379 if (!$this->user->hasPermission('modify', 'sale/customer_group')) {AdvancedServerDatabaseConfig.cs https://openHistorian.svn.codeplex.com/svn | C# | 388 lines
10// 11// http://www.opensource.org/licenses/eclipse-1.0.php 12// 293 294 ValidateExtension(IntermediateFileExtension, out intermediateFilePendingExtension, out intermediateFileFinalExtension); 295 ValidateExtension(FinalFileExtension, out finalFilePendingExtension, out finalFileFinalExtension); 358 359 ValidateExtension(IntermediateFileExtension, out intermediateFilePendingExtension, out intermediateFileFinalExtension); 360 ValidateExtension(FinalFileExtension, out finalFilePendingExtension, out finalFileFinalExtension); 371 372 private static void ValidateExtension(string extension, out string pending, out string final) 373 {index.php http://pixie-cms.googlecode.com/svn/trunk/ | PHP | 548 lines
43/* Check for config */ 44if ((!file_exists('admin/config.php')) or (filesize('admin/config.php') < 10)) { 45 /* redirect to installer */ 88 } 89 /* New! Built in php function. Tell php what the server timezone is so that we can use php 5's rewritten time and date functions with the correct time and without error messages */ 90 date_default_timezone_set("$server_timezone"); 95/* Import the validate library */ 96include_once 'admin/lib/lib_validate.php'; 97/* Import the date library */ 110if (strnatcmp(phpversion(), '5.0.0') >= 0) { 111 /* Load the php5 version of simplepie if you are running php5 */ 112 include_once 'admin/lib/lib_simplepie_php5.php'; 159 if (file_exists("admin/themes/{$site_theme}/theme.php")) { 160 /* New! Your custom theme file must be named theme.php instead of index.php */ 161 include_once("admin/themes/{$site_theme}/theme.php");Abstract.php https://github.com/Emmes/Magento.dev.git | PHP | 517 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) 2010 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 123 */ 124 public function useValidateRemoteAddr() 125 { 127 if (is_null($use)) { 128 return parent::useValidateRemoteAddr(); 129 } 137 */ 138 public function useValidateHttpVia() 139 {SensorRunner.php https://gitlab.com/Drulenium-bot/monitoring | PHP | 351 lines
1<?php 2/** 339 // No sensor names provided, clear all caches. 340 Cache::invalidateTags(array('monitoring_sensor_result')); 341 }Cloud.php https://gitlab.com/yousafsyed/easternglamor | PHP | 410 lines
1<?php 2/** 25 */ 26#require_once 'Zend/Tag/Item.php'; 27 143 { 144 // Validate and cleanup the tags 145 $itemList = $this->getItemList(); 152 } else { 153 #require_once 'Zend/Tag/Cloud/Exception.php'; 154 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array'); 174 } else { 175 #require_once 'Zend/Tag/Cloud/Exception.php'; 176 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array'); 203 if (null === $this->_tags) { 204 #require_once 'Zend/Tag/ItemList.php'; 205 $this->setItemList(new Zend_Tag_ItemList());CAutoComplete.php https://gitlab.com/zenfork/vektor | PHP | 294 lines
1<?php 2/** 31 /** 32 * @var array data that would be saved as client-side data to provide candidate selections. 33 * Each array element can be string or an associative array. 38 /** 39 * @var string|array the URL that can return the candidate selections. 40 * A 'q' GET parameter will be sent with the URL which contains what the user has entered so far.QueryPluginBase.php https://gitlab.com/reasonat/test8 | PHP | 353 lines
1<?php 2 107 108 public function validateOptionsForm(&$form, FormStateInterface $form_state) { } 109jquery.validate.min.js http://flumpshop.googlecode.com/svn/trunk/ | JavaScript | 15 lines
8 * 9 * $Id: jquery.validate.js 6403 2009-06-17 14:27:16Z joern.zaefferer $ 10 * 11 * Dual licensed under the MIT and GPL licenses: 12 * http://www.opensource.org/licenses/mit-license.php 13 * http://www.gnu.org/licenses/gpl.html 14 */ 15eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(7($){$.H($.2L,{17:7(d){l(!6.F){d&&d.2q&&2T.1z&&1z.52("3y 3p, 4L\'t 17, 64 3y");8}p c=$.19(6[0],\'v\');l(c){8 c}c=2w $.v(d,6[0]);$.19(6[0],\'v\',c);l(c.q.3x){6.3s("1w, 3i").1o(".4E").3e(7(){c.3b=w});l(c.q.35){6.3s("1w, 3i").1o(":2s").3e(7(){c.1Z=6})}6.2s(7(b){l(c.q.2q)b.5J();7 1T(){l(c.q.35){l(c.1Z){p a=$("<1w 1V=\'5r\'/>").1s("u",c.1Z.u).33(c.1Z.Z).51(c.U)}c.q.35.V(c,c.U);l(c.1Z){a.3D()}8 N}8 w}l(c.3b){c.3b=N;8 1T()}l(c.L()){l(c.1b){c.1l=w;8 N}8 1T()}12{c.2l();8 N}})}8 c},J:7(){l($(6[0]).2W(\'L\')){8 6.17().L()}12{p b=w;p a=$(6[0].L).17();6.P(7(){b&=a.I(6)});8 b}},4D:7(c){p d={},$I=6;$.P(c.1I(/\\s/),7(a,b){d[b]=$I.1s(b);$I.6d(b)});8 d},1i:7(h,k){p f=6[0];l(h){p i=$.19(f.L,\'v\').q;p d=i.1i;p c=$.v.36(f);23(h){1e"1d":$.H(c,$.v.1X(k));d[f.u]=c;l(k.G)i.G[f.u]=$.H(i.G[f.u],k.G);31;1e"3D":l(!k){T d[f.u];8 c}p e={};$.P(k.1I(/\\s/),7(a,b){e[b]=c[b];T c[b]});8 e}}p g=$.v.41($.H({},$.v.3Y(f),$.v.3V(f),$.v.3T(f),$.v.36(f)),f);l(g.15){p j=g.15;T g.15;g=$.H({15:j},g)}8 g}});$.H($.5p[":"],{5n:7(a){8!$.1p(""+a.Z)},5g:7(a){8!!$.1p(""+a.Z)},5f:7(a){8!a.4h}});$.v=7(b,a){6.q=$.H(w,{},$.v.3d,b);6.U=a;6.3I()};$.v.W=7(c,b){l(R.F==1)8 7(){p a=$.3F(R);a.4V(c);8 $.v.W.1Q(6,a)};l(R.F>2&&b.2c!=3B){b=$.3F(R).4Q(1)}l(b.2c!=3B){b=[b]}$.P(b,7(i,n){c=c.1u(2w 3t("\\\\{"+i+"\\\\}","g"),n)});8 c};$.H($.v,{3d:{G:{},2a:{},1i:{},1c:"3r",28:"J",2F:"4P",2l:w,3o:$([]),2D:$([]),3x:w,3l:[],3k:N,4O:7(a){6.3U=a;l(6.q.4K&&!6.4J){6.q.1K&&6.q.1K.V(6,a,6.q.1c,6.q.28);6.1M(a).2A()}},4C:7(a){l(!6.1E(a)&&(a.u 11 6.1a||!6.K(a))){6.I(a)}},6c:7(a){l(a.u 11 6.1a||a==6.4A){6.I(a)}},68:7(a){l(a.u 11 6.1a)6.I(a);12 l(a.4x.u 11 6.1a)6.I(a.4x)},39:7(a,c,b){$(a).22(c).2v(b)},1K:7(a,c,b){$(a).2v(c).22(b)}},63:7(a){$.H($.v.3d,a)},G:{15:"61 4r 2W 15.",1q:"M 2O 6 4r.",1J:"M O a J 1J 5X.",1B:"M O a J 5W.",1A:"M O a J 1A.",2j:"M O a J 1A (5Q).",1G:"M O a J 1G.",1P:"M O 5O 1P.",2f:"M O a J 5L 5I 1G.",2o:"M O 47 5F Z 5B.",43:"M O a Z 5z a J 5x.",18:$.v.W("M O 3K 5v 2X {0} 2V."),1y:$.v.W("M O 5t 5s {0} 2V."),2i:$.v.W("M O a Z 3W {0} 3O {1} 2V 5o."),2r:$.v.W("M O a Z 3W {0} 3O {1}."),1C:$.v.W("M O a Z 5j 2X 46 3M 3L {0}."),1t:$.v.W("M O a Z 5d 2X 46 3M 3L {0}.")},3J:N,5a:{3I:7(){6.24=$(6.q.2D);6.4t=6.24.F&&6.24||$(6.U);6.2x=$(6.q.3o).1d(6.q.2D);6.1a={};6.54={};6.1b=0;6.1h={};6.1f={};6.21();p f=(6.2a={});$.P(6.q.2a,7(d,c){$.P(c.1I(/\\s/),7(a,b){f[b]=d})});p e=6.q.1i;$.P(e,7(b,a){e[b]=$.v.1X(a)});7 2N(a){p b=$.19(6[0].L,"v"),3c="4W"+a.1V.1u(/^17/,"");b.q[3c]&&b.q[3c].V(b,6[0])}$(6.U).2K(":3E, :4U, :4T, 2e, 4S","2d 2J 4R",2N).2K(":3C, :3A, 2e, 3z","3e",2N);l(6.q.3w)$(6.U).2I("1f-L.17",6.q.3w)},L:7(){6.3v();$.H(6.1a,6.1v);6.1f=$.H({},6.1v);l(!6.J())$(6.U).3u("1f-L",[6]);6.1m();8 6.J()},3v:7(){6.2H();Q(p i=0,14=(6.2b=6.14());14[i];i++){6.29(14[i])}8 6.J()},I:7(a){a=6.2G(a);6.4A=a;6.2P(a);6.2b=$(a);p b=6.29(a);l(b){T 6.1f[a.u]}12{6.1f[a.u]=w}l(!6.3q()){6.13=6.13.1d(6.2x)}6.1m();8 b},1m:7(b){l(b){$.H(6.1v,b);6.S=[];Q(p c 11 b){6.S.27({1j:b[c],I:6.26(c)[0]})}6.1n=$.3n(6.1n,7(a){8!(a.u 11 b)})}6.q.1m?6.q.1m.V(6,6.1v,6.S):6.3m()},2S:7(){l($.2L.2S)$(6.U).2S();6.1a={};6.2H();6.2Q();6.14().2v(6.q.1c)},3q:7(){8 6.2k(6.1f)},2k:7(a){p b=0;Q(p i 11 a)b++;8 b},2Q:7(){6.2C(6.13).2A()},J:7(){8 6.3j()==0},3j:7(){8 6.S.F},2l:7(){l(6.q.2l){3Q{$(6.3h()||6.S.F&&6.S[0].I||[]).1o(":4N").3g().4M("2d")}3f(e){}}},3h:7(){p a=6.3U;8 a&&$.3n(6.S,7(n){8 n.I.u==a.u}).F==1&&a},14:7(){p a=6,2B={};8 $([]).1d(6.U.14).1o(":1w").1L(":2s, :21, :4I, [4H]").1L(6.q.3l).1o(7(){!6.u&&a.q.2q&&2T.1z&&1z.3r("%o 4G 3K u 4F",6);l(6.u 11 2B||!a.2k($(6).1i()))8 N;2B[6.u]=w;8 w})},2G:7(a){8 $(a)[0]},2z:7(){8 $(6.q.2F+"."+6.q.1c,6.4t)},21:7(){6.1n=[];6.S=[];6.1v={};6.1k=$([]);6.13=$([]);6.2b=$([])},2H:7(){6.21();6.13=6.2z().1d(6.2x)},2P:7(a){6.21();6.13=6.1M(a)},29:7(d){d=6.2G(d);l(6.1E(d)){d=6.26(d.u)[0]}p a=$(d).1i();p c=N;Q(Y 11 a){p b={Y:Y,2n:a[Y]};3Q{p f=$.v.1N[Y].V(6,d.Z.1u(/\\r/g,""),d,b.2n);l(f=="1S-1Y"){c=w;6g}c=N;l(f=="1h"){6.13=6.13.1L(6.1M(d));8}l(!f){6.4B(d,b);8 N}}3f(e){6.q.2q&&2T.1z&&1z.6f("6e 6b 6a 69 I "+d.4z+", 29 47 \'"+b.Y+"\' Y",e);67 e;}}l(c)8;l(6.2k(a))6.1n.27(d);8 w},4y:7(a,b){l(!$.1H)8;p c=6.q.3a?$(a).1H()[6.q.3a]:$(a).1H();8 c&&c.G&&c.G[b]},4w:7(a,b){p m=6.q.G[a];8 m&&(m.2c==4v?m:m[b])},4u:7(){Q(p i=0;i<R.F;i++){l(R[i]!==20)8 R[i]}8 20},2u:7(a,b){8 6.4u(6.4w(a.u,b),6.4y(a,b),!6.q.3k&&a.62||20,$.v.G[b],"<4s>60: 5Z 1j 5Y Q "+a.u+"</4s>")},4B:7(b,a){p c=6.2u(b,a.Y),37=/\\$?\\{(\\d+)\\}/g;l(1g c=="7"){c=c.V(6,a.2n,b)}12 l(37.16(c)){c=1F.W(c.1u(37,\'{$1}\'),a.2n)}6.S.27({1j:c,I:b});6.1v[b.u]=c;6.1a[b.u]=c},2C:7(a){l(6.q.2t)a=a.1d(a.4q(6.q.2t));8 a},3m:7(){Q(p i=0;6.S[i];i++){p a=6.S[i];6.q.39&&6.q.39.V(6,a.I,6.q.1c,6.q.28);6.2E(a.I,a.1j)}l(6.S.F){6.1k=6.1k.1d(6.2x)}l(6.q.1x){Q(p i=0;6.1n[i];i++){6.2E(6.1n[i])}}l(6.q.1K){Q(p i=0,14=6.4p();14[i];i++){6.q.1K.V(6,14[i],6.q.1c,6.q.28)}}6.13=6.13.1L(6.1k);6.2Q();6.2C(6.1k).4o()},4p:7(){8 6.2b.1L(6.4n())},4n:7(){8 $(6.S).4m(7(){8 6.I})},2E:7(a,c){p b=6.1M(a);l(b.F){b.2v().22(6.q.1c);b.1s("4l")&&b.4k(c)}12{b=$("<"+6.q.2F+"/>").1s({"Q":6.34(a),4l:w}).22(6.q.1c).4k(c||"");l(6.q.2t){b=b.2A().4o().5V("<"+6.q.2t+"/>").4q()}l(!6.24.5S(b).F)6.q.4j?6.q.4j(b,$(a)):b.5R(a)}l(!c&&6.q.1x){b.3E("");1g 6.q.1x=="1D"?b.22(6.q.1x):6.q.1x(b)}6.1k=6.1k.1d(b)},1M:7(a){p b=6.34(a);8 6.2z().1o(7(){8 $(6).1s(\'Q\')==b})},34:7(a){8 6.2a[a.u]||(6.1E(a)?a.u:a.4z||a.u)},1E:7(a){8/3C|3A/i.16(a.1V)},26:7(d){p c=6.U;8 $(4i.5P(d)).4m(7(a,b){8 b.L==c&&b.u==d&&b||4g})},1O:7(a,b){23(b.4f.4e()){1e\'2e\':8 $("3z:3p",b).F;1e\'1w\':l(6.1E(b))8 6.26(b.u).1o(\':4h\').F}8 a.F},4d:7(b,a){8 6.32[1g b]?6.32[1g b](b,a):w},32:{"5N":7(b,a){8 b},"1D":7(b,a){8!!$(b,a.L).F},"7":7(b,a){8 b(a)}},K:7(a){8!$.v.1N.15.V(6,$.1p(a.Z),a)&&"1S-1Y"},4c:7(a){l(!6.1h[a.u]){6.1b++;6.1h[a.u]=w}},4b:7(a,b){6.1b--;l(6.1b<0)6.1b=0;T 6.1h[a.u];l(b&&6.1b==0&&6.1l&&6.L()){$(6.U).2s();6.1l=N}12 l(!b&&6.1b==0&&6.1l){$(6.U).3u("1f-L",[6]);6.1l=N}},2h:7(a){8 $.19(a,"2h")||$.19(a,"2h",{2M:4g,J:w,1j:6.2u(a,"1q")})}},1R:{15:{15:w},1J:{1J:w},1B:{1B:w},1A:{1A:w},2j:{2j:w},4a:{4a:w},1G:{1G:w},49:{49:w},1P:{1P:w},2f:{2f:w}},48:7(a,b){a.2c==4v?6.1R[a]=b:$.H(6.1R,a)},3V:7(b){p a={};p c=$(b).1s(\'5H\');c&&$.P(c.1I(\' \'),7(){l(6 11 $.v.1R){$.H(a,$.v.1R[6])}});8 a},3T:7(c){p a={};p d=$(c);Q(Y 11 $.v.1N){p b=d.1s(Y);l(b){a[Y]=b}}l(a.18&&/-1|5G|5C/.16(a.18)){T a.18}8 a},3Y:7(a){l(!$.1H)8{};p b=$.19(a.L,\'v\').q.3a;8 b?$(a).1H()[b]:$(a).1H()},36:7(b){p a={};p c=$.19(b.L,\'v\');l(c.q.1i){a=$.v.1X(c.q.1i[b.u])||{}}8 a},41:7(d,e){$.P(d,7(c,b){l(b===N){T d[c];8}l(b.2R||b.2p){p a=w;23(1g b.2p){1e"1D":a=!!$(b.2p,e.L).F;31;1e"7":a=b.2p.V(e,e);31}l(a){d[c]=b.2R!==20?b.2R:w}12{T d[c]}}});$.P(d,7(a,b){d[a]=$.44(b)?b(e):b});$.P([\'1y\',\'18\',\'1t\',\'1C\'],7(){l(d[6]){d[6]=2Z(d[6])}});$.P([\'2i\',\'2r\'],7(){l(d[6]){d[6]=[2Z(d[6][0]),2Z(d[6][1])]}});l($.v.3J){l(d.1t&&d.1C){d.2r=[d.1t,d.1C];T d.1t;T d.1C}l(d.1y&&d.18){d.2i=[d.1y,d.18];T d.1y;T d.18}}l(d.G){T d.G}8 d},1X:7(a){l(1g a=="1D"){p b={};$.P(a.1I(/\\s/),7(){b[6]=w});a=b}8 a},5A:7(c,a,b){$.v.1N[c]=a;$.v.G[c]=b!=20?b:$.v.G[c];l(a.F<3){$.v.48(c,$.v.1X(c))}},1N:{15:7(c,d,a){l(!6.4d(a,d))8"1S-1Y";23(d.4f.4e()){1e\'2e\':p b=$(d).33();8 b&&b.F>0;1e\'1w\':l(6.1E(d))8 6.1O(c,d)>0;5y:8 $.1p(c).F>0}},1q:7(f,h,j){l(6.K(h))8"1S-1Y";p g=6.2h(h);l(!6.q.G[h.u])6.q.G[h.u]={};g.40=6.q.G[h.u].1q;6.q.G[h.u].1q=g.1j;j=1g j=="1D"&&{1B:j}||j;l(g.2M!==f){g.2M=f;p k=6;6.4c(h);p i={};i[h.u]=f;$.2U($.H(w,{1B:j,3Z:"2Y",3X:"17"+h.u,5w:"5u",19:i,1x:7(d){k.q.G[h.u].1q=g.40;p b=d===w;l(b){p e=k.1l;k.2P(h);k.1l=e;k.1n.27(h);k.1m()}12{p a={};p c=(g.1j=d||k.2u(h,"1q"));a[h.u]=$.44(c)?c(f):c;k.1m(a)}g.J=b;k.4b(h,b)}},j));8"1h"}12 l(6.1h[h.u]){8"1h"}8 g.J},1y:7(b,c,a){8 6.K(c)||6.1O($.1p(b),c)>=a},18:7(b,c,a){8 6.K(c)||6.1O($.1p(b),c)<=a},2i:7(b,d,a){p c=6.1O($.1p(b),d);8 6.K(d)||(c>=a[0]&&c<=a[1])},1t:7(b,c,a){8 6.K(c)||b>=a},1C:7(b,c,a){8 6.K(c)||b<=a},2r:7(b,c,a){8 6.K(c)||(b>=a[0]&&b<=a[1])},1J:7(a,b){8 6.K(b)||/^((([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\E-\\B\\C-\\x\\A-\\y])+(\\.([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\E-\\B\\C-\\x\\A-\\y])+)*)|((\\3S)((((\\2m|\\1W)*(\\30\\3R))?(\\2m|\\1W)+)?(([\\3P-\\5q\\45\\42\\5D-\\5E\\3N]|\\5m|[\\5l-\\5k]|[\\5i-\\5K]|[\\E-\\B\\C-\\x\\A-\\y])|(\\\\([\\3P-\\1W\\45\\42\\30-\\3N]|[\\E-\\B\\C-\\x\\A-\\y]))))*(((\\2m|\\1W)*(\\30\\3R))?(\\2m|\\1W)+)?(\\3S)))@((([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])))\\.)+(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|[\\E-\\B\\C-\\x\\A-\\y])))\\.?$/i.16(a)},1B:7(a,b){8 6.K(b)||/^(5h?|5M):\\/\\/(((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:)*@)?(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5]))|((([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])))\\.)+(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|[\\E-\\B\\C-\\x\\A-\\y])))\\.?)(:\\d*)?)(\\/((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)+(\\/(([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)*)*)?)?(\\?((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|[\\5e-\\5T]|\\/|\\?)*)?(\\#((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|\\/|\\?)*)?$/i.16(a)},1A:7(a,b){8 6.K(b)||!/5U|5c/.16(2w 5b(a))},2j:7(a,b){8 6.K(b)||/^\\d{4}[\\/-]\\d{1,2}[\\/-]\\d{1,2}$/.16(a)},1G:7(a,b){8 6.K(b)||/^-?(?:\\d+|\\d{1,3}(?:,\\d{3})+)(?:\\.\\d+)?$/.16(a)},1P:7(a,b){8 6.K(b)||/^\\d+$/.16(a)},2f:7(b,e){l(6.K(e))8"1S-1Y";l(/[^0-9-]+/.16(b))8 N;p a=0,d=0,2g=N;b=b.1u(/\\D/g,"");Q(p n=b.F-1;n>=0;n--){p c=b.59(n);p d=58(c,10);l(2g){l((d*=2)>9)d-=9}a+=d;2g=!2g}8(a%10)==0},43:7(b,c,a){a=1g a=="1D"?a.1u(/,/g,\'|\'):"57|56?g|55";8 6.K(c)||b.65(2w 3t(".("+a+")$","i"))},2o:7(c,d,a){p b=$(a).66(".17-2o").2I("3H.17-2o",7(){$(d).J()});8 c==b.33()}}});$.W=$.v.W})(1F);(7($){p c=$.2U;p d={};$.2U=7(a){a=$.H(a,$.H({},$.53,a));p b=a.3X;l(a.3Z=="2Y"){l(d[b]){d[b].2Y()}8(d[b]=c.1Q(6,R))}8 c.1Q(6,R)}})(1F);(7($){l(!1F.1r.38.2d&&!1F.1r.38.2J&&4i.3G){$.P({3g:\'2d\',3H:\'2J\'},7(b,a){$.1r.38[a]={50:7(){6.3G(b,2y,w)},4Z:7(){6.4Y(b,2y,w)},2y:7(e){R[0]=$.1r.2O(e);R[0].1V=a;8 $.1r.1T.1Q(6,R)}};7 2y(e){e=$.1r.2O(e);e.1V=a;8 $.1r.1T.V(6,e)}})};$.H($.2L,{2K:7(d,e,c){8 6.2I(e,7(a){p b=$(a.4X);l(b.2W(d)){8 c.1Q(b,R)}})}})})(1F);',62,389,'||||||this|function|return|||||||||||||if||||var|settings||||name|validator|true|uFDCF|uFFEF||uFDF0|uD7FF|uF900||u00A0|length|messages|extend|element|valid|optional|form|Please|false|enter|each|for|arguments|errorList|delete|currentForm|call|format|_|method|value||in|else|toHide|elements|required|test|validate|maxlength|data|submitted|pendingRequest|errorClass|add|case|invalid|typeof|pending|rules|message|toShow|formSubmitted|showErrors|successList|filter|trim|remote|event|attr|min|replace|errorMap|input|success|minlength|console|date|url|max|string|checkable|jQuery|number|metadata|split|email|unhighlight|not|errorsFor|methods|getLength|digits|apply|classRuleSettings|dependency|handle|da|type|x09|normalizeRule|mismatch|submitButton|undefined|reset|addClass|switch|labelContainer||findByName|push|validClass|check|groups|currentElements|constructor|focusin|select|creditcard|bEven|previousValue|rangelength|dateISO|objectLength|focusInvalid|x20|parameters|equalTo|depends|debug|range|submit|wrapper|defaultMessage|removeClass|new|containers|handler|errors|hide|rulesCache|addWrapper|errorLabelContainer|showLabel|errorElement|clean|prepareForm|bind|focusout|validateDelegate|fn|old|delegate|fix|prepareElement|hideErrors|param|resetForm|window|ajax|characters|is|than|abort|Number|x0d|break|dependTypes|val|idOrName|submitHandler|staticRules|theregex|special|highlight|meta|cancelSubmit|eventType|defaults|click|catch|focus|findLastActive|button|size|ignoreTitle|ignore|defaultShowErrors|grep|errorContainer|selected|numberOfInvalids|error|find|RegExp|triggerHandler|checkForm|invalidHandler|onsubmit|nothing|option|checkbox|Array|radio|remove|text|makeArray|addEventListener|blur|init|autoCreateRanges|no|to|equal|x7f|and|x01|try|x0a|x22|attributeRules|lastActive|classRules|between|port|metadataRules|mode|originalMessage|normalizeRules|x0c|accept|isFunction|x0b|or|the|addClassRules|numberDE|dateDE|stopRequest|startRequest|depend|toLowerCase|nodeName|null|checked|document|errorPlacement|html|generated|map|invalidElements|show|validElements|parent|field|strong|errorContext|findDefined|String|customMessage|parentNode|customMetaMessage|id|lastElement|formatAndAdd|onfocusout|removeAttrs|cancel|assigned|has|disabled|image|blockFocusCleanup|focusCleanup|can|trigger|visible|onfocusin|label|slice|keyup|textarea|file|password|unshift|on|target|removeEventListener|teardown|setup|appendTo|warn|ajaxSettings|valueCache|gif|jpe|png|parseInt|charAt|prototype|Date|NaN|greater|uE000|unchecked|filled|https|x5d|less|x5b|x23|x21|blank|long|expr|x08|hidden|least|at|json|more|dataType|extension|default|with|addMethod|again|524288|x0e|x1f|same|2147483647|class|card|preventDefault|x7e|credit|ftp|boolean|only|getElementsByName|ISO|insertAfter|append|uF8FF|Invalid|wrap|URL|address|defined|No|Warning|This|title|setDefaults|returning|match|unbind|throw|onclick|checking|when|occured|onkeyup|removeAttr|exception|log|continue'.split('|'),0,{}))actions.class.php https://github.com/dada888/phpcollab3.git | PHP | 291 lines
1<?php 2/** 2/** 3 * This file is part of the phpCollab3 package. 4 * (c) 2009 Ideato s.r.l. <phpcollab@ideato.it> 10 * 11 * @package phpCollab3 12 * @subpackage idProjectManagementPlugin Modules 17 * 18 * @package phpCollab3 19 * @subpackage idProjectManagementPlugin Modules 23{ 24 private function validateStaffForm(sfWebRequest $request) 25 { 179 { 180 $this->form = $this->validateStaffForm($request); 181 $this->setTemplate('staffList');CreditCard.php https://github.com/michaelmcandrew/vaw.git | PHP | 297 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 16 * @category Validate 17 * @package Validate_Finance_CreditCard 18 * @author Stefan Neufeind <pear.neufeind@speedpartner.de> 22 * @version CVS: $Id: CreditCard.php,v 1.13 2007/09/16 16:42:34 kguest Exp $ 23 * @link http://pear.php.net/package/Validate_Finance_CreditCard 24 */ 42 * @copyright 1997-2005 Stefan Neufeind 43 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 44 * @version Release: @package_version@ 44 * @version Release: @package_version@ 45 * @link http://pear.php.net/package/Validate_Finance_CreditCard 46 */ 233 * This method only checks for the format. It doesn't 234 * validate that the value is the one on the card. 235 *YamlFileLoader.php https://bitbucket.org/cryofrost/portal.git | PHP | 339 lines
1<?php 2 241 { 242 return $this->validate(Yaml::parse($file), $file); 243 } 245 /** 246 * Validates a YAML file. 247 * 254 */ 255 private function validate($content, $file) 256 {ScrollBar.js https://github.com/stephaneerard/qooxdoo.git | JavaScript | 429 lines
11 LGPL: http://www.gnu.org/licenses/lgpl.html 12 EPL: http://www.eclipse.org/org/documents/epl-v10.php 13 See the LICENSE file in the project's left-level directory for details. 132 * 133 * Strictly validates according to {@link #maximum}. 134 * Does not apply any correction to the incoming value. If you dependfile.php https://bitbucket.org/cisash/fananeen.git | PHP | 324 lines
1<?php 2 12 'description' => __('File', 'wpcf'), 13 'validate' => array('required'), 14 'meta_box_js' => array( 105 window.wpcf_formfield = '#'+jQuery(this).attr('id')+'-holder'; 106 tb_show('<?php 107 _e('Upload file', 'wpcf'); 108 109 ?>', 'media-upload.php?post_id=<?php echo $post->ID; ?>&type=file&wpcf-fields-media-insert=1&TB_iframe=true'); 110 return false; 124 </script> 125 <?php 126} 142 </style> 143 <?php 144}training_partner_game_update.php https://bitbucket.org/itoxable/chiron-gaming.git | PHP | 264 lines
1<?php 2/*******************************************************************************/ 6 7include('general_include.php'); 8include"checklogin.php"; 35 $err_msgs .= $AdminManagerObjAjax->DuplicateCheck(TABLEPREFIX."_user_game","game_id",$game_id,"Game","user_game_id",$user_game_id,"user_id",$u_id,"user_type_id",3); 36 /*$err_msgs .=$AdminManagerObjAjax->Validate(strip_tags($ladder_id),"Ladder","EMP",$type=""); 37 $err_msgs .=$AdminManagerObjAjax->Validate(strip_tags($race_id),"Race","EMP",$type=""); 37 $err_msgs .=$AdminManagerObjAjax->Validate(strip_tags($race_id),"Race","EMP",$type=""); 38 $err_msgs .=$AdminManagerObjAjax->Validate(strip_tags($server_id),"Server","EMP",$type="");*/ 39 /* Error Checking Ends */ 112 } 113 echo "<script>window.location.href='training_partner_gamemanager.php?messg=".$msgreport."&u_id=".$u_id."&IsPreserved=Y'</script>"; 114 exit;length_class.php https://bitbucket.org/elena_dyavolova/omf.git | PHP | 412 lines
1<?php 2class ControllerLocalisationLengthClass extends Controller { 21 22 if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) { 23 $this->model_localisation_length_class->addLengthClass($this->request->post); 53 54 if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) { 55 $this->model_localisation_length_class->editLengthClass($this->request->get['length_class_id'], $this->request->post); 85 86 if (isset($this->request->post['selected']) && $this->validateDelete()) { 87 foreach ($this->request->post['selected'] as $length_class_id) { 363 364 protected function validateForm() { 365 if (!$this->user->hasPermission('modify', 'localisation/length_class')) { 385 386 protected function validateDelete() { 387 if (!$this->user->hasPermission('modify', 'localisation/length_class')) {CreditCard.php https://gitlab.com/devtoannh/cafe | PHP | 317 lines
22/** 23 * @see Zend_Validate_Abstract 24 */ 24 */ 25require_once 'Zend/Validate/Abstract.php'; 26 32 */ 33class Zend_Validate_CreditCard extends Zend_Validate_Abstract 34{ 229 if (!is_callable($service)) { 230 require_once 'Zend/Validate/Exception.php'; 231 throw new Zend_Validate_Exception('Invalid callback given'); 301 try { 302 require_once 'Zend/Validate/Callback.php'; 303 $callback = new Zend_Validate_Callback($this->_service);ProtectedUserFieldConstraintValidatorTest.php https://gitlab.com/reasonat/test8 | PHP | 309 lines
1<?php 2 40 /** 41 * @covers ::validate 42 * 42 * 43 * @dataProvider providerTestValidate 44 */ 44 */ 45 public function testValidate($items, $expected_violation, $name = FALSE) { 46 $constraint = new ProtectedUserFieldConstraint(); 63 $validator->initialize($context); 64 $validator->validate($items, $constraint); 65 } 67 /** 68 * Data provider for ::testValidate(). 69 */User.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 393 lines
1<?php 2 59 function LoginValidate() { 60 $validate1 = array( 61 'email'=> array( 71 ); 72 $this->validate=$validate1; 73 return $this->validates(); 79 */ 80 function RegisterValidate() { 81 $validate1 = array( 150 'mustMatch'=>array( 151 'rule' => array('recaptchaValidate'), 152 'message' => ''), 154 ); 155 $this->validate=$validate1; 156 return $this->validates();XmlFileLoader.php https://github.com/thewiredman/symfony.git | PHP | 402 lines
1<?php 2 73 74 $this->container->getParameterBag()->add($xml->parameters->getArgumentsAsPhp('parameter')); 75 } 84 $this->currentDir = dirname($file); 85 $this->import((string) $import['resource'], (Boolean) $import->getAttributeAsPhp('ignore-errors')); 86 } 112 $method = 'set'.str_replace('-', '', $key); 113 $definition->$method((string) $service->getAttributeAsPhp($key)); 114 } 120 121 $definition->setArguments($service->getArgumentsAsPhp('argument')); 122 137 foreach ($service->call as $call) { 138 $definition->addMethodCall((string) $call['method'], $call->getArgumentsAsPhp('argument')); 139 }PMA_relation_cleanup_test.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 511 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 3/** 4 * tests for relation_cleanup.lib.php 5 * 5 * 6 * @package PhpMyAdmin-test 7 */ 13 14require_once 'libraries/database_interface.inc.php'; 15 15 16require_once 'libraries/relation.lib.php'; 17require_once 'libraries/relation_cleanup.lib.php'; 23 * 24 * this class is for testing relation_cleanup.lib.php functions 25 *CurrencysymbolTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 327 lines
1<?php 2/** 13 * 14 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 15 */ 15 */ 16class CurrencysymbolTest extends \PHPUnit_Framework_TestCase 17{ 25 /** 26 * @var \Magento\Framework\Locale\ResolverInterface|\PHPUnit_Framework_MockObject_MockObject 27 */ 30 /** 31 * @var \Magento\Framework\App\Config\ScopeConfigInterface|\PHPUnit_Framework_MockObject_MockObject 32 */ 35 /** 36 * @var \Magento\Store\Model\System\Store|\PHPUnit_Framework_MockObject_MockObject 37 */Abstract.php https://bitbucket.org/simukti/zf1.git | PHP | 447 lines
27 */ 28require_once 'Zend/Validate.php'; 29 33 */ 34require_once 'Zend/Validate/Hostname.php'; 35 137 $this->_validHost = new Zend_Validate(); 138 $this->_validHost->addValidator(new Zend_Validate_Hostname(Zend_Validate_Hostname::ALLOW_ALL)); 139 275 */ 276 require_once 'Zend/Mail/Protocol/Exception.php'; 277 throw new Zend_Mail_Protocol_Exception($errorStr); 375 */ 376 require_once 'Zend/Mail/Protocol/Exception.php'; 377 throw new Zend_Mail_Protocol_Exception($this->_host . ' has timed out');SearchIndex.php https://gitlab.com/mohamed_hussein/prodt | PHP | 330 lines
1<?php 2 97 $split = preg_split('/\s*<([^>]+?)>\s*/', $text, -1, PREG_SPLIT_DELIM_CAPTURE); 98 // Note: PHP ensures the array consists of alternating delimiters and 99 // literals and begins and ends with a literal (inserting $null as 183 184 // Remove the item $sid from the search index, and invalidate the relevant 185 // cache tags. 255 if ($type) { 256 // Invalidate all render cache items that contain data from this index. 257 $this->cacheTagsInvalidator->invalidateTags(['search_index:' . $type]); 259 else { 260 // Invalidate all render cache items that contain data from any index. 261 $this->cacheTagsInvalidator->invalidateTags(['search_index']);concept-behaviors.md https://gitlab.com/brucealdridge/yii2 | Markdown | 332 lines
59 60```php 61namespace app\components; 72 return [ 73 ActiveRecord::EVENT_BEFORE_VALIDATE => 'beforeValidate', 74 ]; 84[[yii\base\Behavior::events()]] メソッドは、イベントとそれに対応するハンドラのリストを返します。 85上の例では [[yii\db\ActiveRecord::EVENT_BEFORE_VALIDATE|EVENT_BEFORE_VALIDATE]] イベントがあること、 86そのハンドラ定義である `beforeValidate()` を宣言しています。イベントハンドラを指定するときは、以下の表記方法が使えます: 176 177```php 178[ 197 198```php 199// "prop1" はビヘイビアクラス内で定義されたプロパティHttp.php https://gitlab.com/rsilveira1987/Expresso | PHP | 453 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Http.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 20 */ 24 */ 25require_once 'Zend/File/Transfer/Adapter/Abstract.php'; 26 47 if (ini_get('file_uploads') == false) { 48 require_once 'Zend/File/Transfer/Exception.php'; 49 throw new Zend_File_Transfer_Exception('File uploads are not allowed in your php config!'); 110 { 111 require_once 'Zend/File/Transfer/Exception.php'; 112 throw new Zend_File_Transfer_Exception('Method not implemented'); 122 { 123 // Workaround for a PHP error returning empty $_FILES when form data exceeds php settings 124 if (empty($this->_files) && ($_SERVER['CONTENT_LENGTH'] > 0)) {field-groups.php https://gitlab.com/sihabudinahmad/asppi | PHP | 671 lines
544 <h3><?php _e("Changelog",'acf'); ?></h3> 545 <p><?php _e("See what's new in",'acf'); ?> <a href="<?php echo admin_url('edit.php?post_type=acf-field-group&page=acf-settings-info&tab=changelog'); ?>"><?php _e("version",'acf'); ?> <?php echo acf_get_setting('version'); ?></a> 546 555 <li><a href="<?php echo $www; ?>#how-to" target="_blank"><?php _e("'How to' guides",'acf'); ?></a></li> 556 <li><a href="<?php echo $www; ?>#tutorials" target="_blank"><?php _e("Tutorials",'acf'); ?></a></li> 557 </ul> 595 var id = $(this).closest('tr').attr('id').replace('post-', ''), 596 $span = $('<span class="acf-duplicate-field-group"><a title="<?php _e('Duplicate this item', 'acf'); ?>" href="<?php echo admin_url($this->url . '&acfduplicate='); ?>' + id + '&_wpnonce=<?php echo wp_create_nonce('bulk-posts'); ?>"><?php _e('Duplicate', 'acf'); ?></a> | </span>'); 597 632<?php foreach( $this->sync as $group ): $i++; ?> 633 <tr <?php if($i%2 == 0): ?>class="alternate"<?php endif; ?>> 634 <th class="check-column" scope="row"> 640 <div class="row-actions"> 641 <span class="import"><a title="<?php echo esc_attr( __('Synchronise field group', 'acf') ); ?>" href="<?php echo admin_url($this->url . '&post_status=sync&acfsync=' . $group['key'] . '&_wpnonce=' . wp_create_nonce('bulk-posts')); ?>"><?php _e( 'Sync', 'acf' ); ?></a></span> 642 </div>Config.php https://bitbucket.org/webpolis/liiv.git | PHP | 514 lines
1<?php 2/* 22 */ 23require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/AccessControlConfig.php"; 24/** 26 */ 27require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ResourceTypeConfig.php"; 28/** 30 */ 31require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ThumbnailsConfig.php"; 32/** 34 */ 35require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ImagesConfig.php"; 36 125 /** 126 * If set to true, validate image size 127 *CaBundle.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 291 lines
195 // Vulnerable: 196 // PHP 5.3.0 - PHP 5.3.27 197 // PHP 5.4.0 - PHP 5.4.22 199 if ( 200 (PHP_VERSION_ID < 50400 && PHP_VERSION_ID >= 50328) 201 || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423) 201 || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423) 202 || (PHP_VERSION_ID < 50600 && PHP_VERSION_ID >= 50507) 203 ) { 244 // Based on testcase in https://github.com/php/php-src/commit/c1224573c773b6845e83505f717fbf820fc18415 245 // changes in https://github.com/php/php-src/commit/76a7fd893b7d6101300cc656058704a73254d593 246 $cert = 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVwRENDQTR5Z0F3SUJBZ0lKQUp6dThyNnU2ZUJjTUEwR0NTcUdTSWIzRFFFQkJRVUFNSUhETVFzd0NRWUQKVlFRR0V3SkVSVEVjTUJvR0ExVUVDQXdUVG05eVpISm9aV2x1TFZkbGMzUm1ZV3hsYmpFUU1BNEdBMVVFQnd3SApTOE9Ed3Jac2JqRVVNQklHQTFVRUNnd0xVMlZyZEdsdmJrVnBibk14SHpBZEJnTlZCQXNNRmsxaGJHbGphVzkxCmN5QkRaWEowSUZObFkzUnBiMjR4SVRBZkJnTlZCQU1NR0cxaGJHbGphVzkxY3k1elpXdDBhVzl1WldsdWN5NWsKWlRFcU1DZ0dDU3FHU0liM0RRRUpBUlliYzNSbFptRnVMbVZ6YzJWeVFITmxhM1JwYjI1bGFXNXpMbVJsTUhVWQpaREU1TnpBd01UQXhNREF3TURBd1dnQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBCkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUEKQUFBQUFBQVhEVEUwTVRFeU9ERXhNemt6TlZvd2djTXhDekFKQmdOVkJBWVRBa1JGTVJ3d0dnWURWUVFJREJOTwpiM0prY21obGFXNHRWMlZ6ZEdaaGJHVnVNUkF3RGdZRFZRUUhEQWRMdzRQQ3RteHVNUlF3RWdZRFZRUUtEQXRUClpXdDBhVzl1UldsdWN6RWZNQjBHQTFVRUN3d1dUV0ZzYVdOcGIzVnpJRU5sY25RZ1UyVmpkR2x2YmpFaE1COEcKQTFVRUF3d1liV0ZzYVdOcGIzVnpMbk5sYTNScGIyNWxhVzV6TG1SbE1Tb3dLQVlKS29aSWh2Y05BUWtCRmh0egpkR1ZtWVc0dVpYTnpaWEpBYzJWcmRHbHZibVZwYm5NdVpHVXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCCkR3QXdnZ0VLQW9JQkFRRERBZjNobDdKWTBYY0ZuaXlFSnBTU0RxbjBPcUJyNlFQNjV1c0pQUnQvOFBhRG9xQnUKd0VZVC9OYSs2ZnNnUGpDMHVLOURaZ1dnMnRIV1dvYW5TYmxBTW96NVBINlorUzRTSFJaN2UyZERJalBqZGhqaAowbUxnMlVNTzV5cDBWNzk3R2dzOWxOdDZKUmZIODFNTjJvYlhXczROdHp0TE11RDZlZ3FwcjhkRGJyMzRhT3M4CnBrZHVpNVVhd1Raa3N5NXBMUEhxNWNNaEZHbTA2djY1Q0xvMFYyUGQ5K0tBb2tQclBjTjVLTEtlYno3bUxwazYKU01lRVhPS1A0aWRFcXh5UTdPN2ZCdUhNZWRzUWh1K3ByWTNzaTNCVXlLZlF0UDVDWm5YMmJwMHdLSHhYMTJEWAoxbmZGSXQ5RGJHdkhUY3lPdU4rblpMUEJtM3ZXeG50eUlJdlZBZ01CQUFHalFqQkFNQWtHQTFVZEV3UUNNQUF3CkVRWUpZSVpJQVliNFFnRUJCQVFEQWdlQU1Bc0dBMVVkRHdRRUF3SUZvREFUQmdOVkhTVUVEREFLQmdnckJnRUYKQlFjREFqQU5CZ2txaGtpRzl3MEJBUVVGQUFPQ0FRRUFHMGZaWVlDVGJkajFYWWMrMVNub2FQUit2SThDOENhRAo4KzBVWWhkbnlVNGdnYTBCQWNEclk5ZTk0ZUVBdTZacXljRjZGakxxWFhkQWJvcHBXb2NyNlQ2R0QxeDMzQ2tsClZBcnpHL0t4UW9oR0QySmVxa2hJTWxEb214SE83a2EzOStPYThpMnZXTFZ5alU4QVp2V01BcnVIYTRFRU55RzcKbFcyQWFnYUZLRkNyOVRuWFRmcmR4R1ZFYnY3S1ZRNmJkaGc1cDVTanBXSDErTXEwM3VSM1pYUEJZZHlWODMxOQpvMGxWajFLRkkyRENML2xpV2lzSlJvb2YrMWNSMzVDdGQwd1lCY3BCNlRac2xNY09QbDc2ZHdLd0pnZUpvMlFnClpzZm1jMnZDMS9xT2xOdU5xLzBUenprVkd2OEVUVDNDZ2FVK1VYZTRYT1Z2a2NjZWJKbjJkZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K'; 269 count($output) === 3 270 && $output[0] === sprintf('string(%d) "%s"', strlen(PHP_VERSION), PHP_VERSION) 271 && $output[1] === 'string(27) "stefan.esser@sektioneins.de"'members.lang.php https://bitbucket.org/speedealing/speedealing.git | PHP | 224 lines
1<?php 2/* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.com> 33 'ListOfPublicMembers' => 'Lista de miembros públicos', 34 'ListOfValidatedPublicMembers' => 'Lista de miembros públicos validados', 35 'ErrorThisMemberIsNotPublic' => 'Este miembro no es público', 49 'MembersListQualified' => 'Listado de los miembros cualificados', 50 'MenuMembersToValidate' => 'Miembros borrador', 51 'MenuMembersValidated' => 'Miembros validados', 82 'MembersStatusToValidShort' => 'Miembros borrador', 83 'MembersStatusValidated' => 'Miembros validados', 84 'MembersStatusPaid' => 'Afiliaciones al día', 124 'Filehtpasswd' => 'Archivo htpasswd', 125 'ValidateMember' => 'Validar un miembro', 126 'ConfirmValidateMember' => '¿Está seguro de querer validar a este miembro?', 214 'Entreprises' => 'Empresas', 215 'DOLIBARRFOUNDATION_PAYMENT_FORM' => 'Para realizar el pago de su cotización por transferencia bancaria, visite la página <a target="_blank" href="http://wiki.speedealing.org/index.php/Subscribirse#Para_una_adhesi.C3.B3n_por_transferencia">http://wiki.speedealing.org/index.php/Subscribirse</a>.<br>Para pagar con tarjeta de crédito o PayPal, haga clic en el botón en la parte inferior de esta página.<br><br>', 216 'ErrorBadValueForDate' => 'Erreur : La date de fin d\'adhésion ne doit être ni égale ni inférieure à la date de début.',TaxonomyIndexTid.php https://gitlab.com/reasonat/test8 | PHP | 401 lines
1<?php 2 24 // Stores the exposed input for this filter. 25 public $validated_exposed_input = NULL; 26 261 262 protected function valueValidate($form, FormStateInterface $form_state) { 263 // We only validate if they've chosen the text field style. 288 // If view is an attachment and is inheriting exposed filters, then assume 289 // exposed input has already been validated 290 if (!empty($this->view->is_attachment) && $this->view->display_handler->usesExposed()) { 290 if (!empty($this->view->is_attachment) && $this->view->display_handler->usesExposed()) { 291 $this->validated_exposed_input = (array) $this->view->exposed_raw_input[$this->options['expose']['identifier']]; 292 } 300 // If it's non-required and there's no value don't bother filtering. 301 if (!$this->options['expose']['required'] && empty($this->validated_exposed_input)) { 302 return FALSE;sfValidatorDateTest.php https://github.com/bb-dev/OpenPNE3.git | PHP | 246 lines
1<?php 2 10 11require_once(dirname(__FILE__).'/../../bootstrap/unit.php'); 12 22 23// validate strtotime formats 24$t->diag('validate strtotime formats'); 39 40// validate timestamp 41$t->diag('validate timestamp'); 43 44// validate date array 45$t->diag('validate date array'); 86 87// validate regex 88$t->diag('validate regex');routes.php https://gitlab.com/rodrigo.butta/bgh | PHP | 213 lines
1<?php 2 38 Route::get('registration', ['as' => 'registration', 'uses' => 'Auth\RegistrationController@getIndex']); 39 Route::get('registration/activate/{username}/{code}', 'Auth\RegistrationController@validateUser'); 40 Route::get('password/email', ['as' => 'password.reminder', 'uses' => 'Auth\PasswordController@getEmail']);holiday.lang.php https://bitbucket.org/speedealing/speedealing.git | PHP | 148 lines
1<?php 2/* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.com> 23 'NotActiveModCP' => 'Трябва да се даде възможност на модула отпуски, за да видите тази страница.', 24 'NotConfigModCP' => 'Трябва да конфигурирате модула празници, за да видите тази страница. За да направите това, <a href="./admin/holiday.php?leftmenu=setup&mainmenu=home" style="font-weight: normal; color: red; text-decoration: underline;">натиснете тук</a> </ a> <a href="./admin/holiday.php?leftmenu=setup&mainmenu=home" style="font-weight: normal; color: red; text-decoration: underline;">.</a>', 25 'NoCPforUser' => 'Не е нужно търсене за почивка.', 32 'DraftCP' => 'Проект', 33 'ToValidateCP' => 'Очаква одобрение', 34 'ValidateCP' => 'Утвърден', 38 'ListeCP' => 'Списък на празници', 39 'ValidateByCP' => 'Ще бъдат утвърдени от', 40 'DescCP' => 'Описание', 108 'ValueOptionCP' => 'Стойност', 109 'GroupToValidateCP' => 'Група с възможност за валидиране на празниците', 110 'ConfirmConfigCP' => 'Проверка на конфигурацията', 113 'ErrorUpdateConfCP' => 'Възникна грешка по време на актуализацията, моля опитайте отново.', 114 'AddCPforUsers' => 'Моля, добавете баланса на празниците на потребителите, като <a href="../define_holiday.php" style="font-weight: normal; color: red; text-decoration: underline;">кликнете тук</a> .', 115 'DelayForSubmitCP' => 'Краен срок да кандидатстват за празниците',Extension.php https://bitbucket.org/acidel/buykoala.git | PHP | 397 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) 2011 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 58#echo "<pre>".print_r($pfm,1)."</pre>"; 59 if (!$pfm->validate(PEAR_VALIDATE_NORMAL)) { 60 //echo "<pre>".print_r($this->getData(),1)."</pre>"; 116 $exclude = $this->getData('depends_php_exclude')!=='' ? explode(',', $this->getData('depends_php_exclude')) : false; 117 $pfm->setPhpDep($this->getData('depends_php_min'), $this->getData('depends_php_max'), $exclude); 118 $pfm->setPearinstallerDep('1.6.2'); 355 #'pear.php.net' => 'PEAR', 356 #'pear.phpunit.de' => 'PHPUnit', 357 );directpost.js https://bitbucket.org/acidel/buykoala.git | JavaScript | 383 lines
8 * It is also available through the world-wide-web at this URL: 9 * http://opensource.org/licenses/afl-3.0.php 10 * If you did not receive a copy of the license and are unable to 22 * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com) 23 * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 24 */ 52 53 validate : function() { 54 this.isValid = true; 56 if ($(this.code + '_' + elemIndex)) { 57 if (!Validation.validate($(this.code + '_' + elemIndex))) { 58 this.isValid = false; 231 submitAdminOrder : function() { 232 if (editForm.validate()) { 233 var paymentMethodEl = $(editForm.formId).getInputs('radio','payment[method]').find(function(radio) {CommandTest.php https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git | PHP | 420 lines
1<?php 2 339 $v = $this->getMockBuilder('Guzzle\Service\Description\SchemaValidator') 340 ->setMethods(array('validate')) 341 ->getMock(); 341 ->getMock(); 342 $v->expects($this->never())->method('validate'); 343 $command->setValidator($v); 369 */ 370 public function testValidatesCommandBeforeSending() 371 { 374 $v = $this->getMockBuilder('Guzzle\Service\Description\SchemaValidator') 375 ->setMethods(array('validate', 'getErrors')) 376 ->getMock(); 376 ->getMock(); 377 $v->expects($this->any())->method('validate')->will($this->returnValue(false)); 378 $v->expects($this->any())->method('getErrors')->will($this->returnValue(array('[Foo] Baz', '[Bar] Boo')));attribute.php https://bitbucket.org/elena_dyavolova/omf.git | PHP | 446 lines
1<?php 2class ControllerCatalogAttribute extends Controller { 21 22 if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) { 23 $this->model_catalog_attribute->addAttribute($this->request->post); 53 54 if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) { 55 $this->model_catalog_attribute->editAttribute($this->request->get['attribute_id'], $this->request->post); 85 86 if (isset($this->request->post['selected']) && $this->validateDelete()) { 87 foreach ($this->request->post['selected'] as $attribute_id) { 369 370 protected function validateForm() { 371 if (!$this->user->hasPermission('modify', 'catalog/attribute')) { 387 388 protected function validateDelete() { 389 if (!$this->user->hasPermission('modify', 'catalog/attribute')) {ListCommand.php https://gitlab.com/ealexis.t/trends | PHP | 278 lines
1<?php 2 112 { 113 $this->validateInput($input); 114 $this->initEnumerators(); 224 /** 225 * Validate that input options make sense, provide defaults when called without options. 226 * 230 */ 231 private function validateInput(InputInterface $input) 232 {ConfigurationController.php https://gitlab.com/nitm/yii2-module | PHP | 330 lines
1<?php 2 131 132 return \yii\widgets\ActiveForm::validate($this->model); 133 } 134 135 if ($this->model->validate()) { 136 switch ($this->model->getScenario()) { 182 ]; 183 switch ($this->model->validate()) { 184 case true: 245 246 return \yii\widgets\ActiveForm::validate($this->model); 247 } 248 249 if ($this->model->validate()) { 250 switch ($this->model->getScenario()) {event_profile_field_test.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 393 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 29 30require_once($CFG->dirroot . '/user/profile/definelib.php'); 31 69 70 // Validate that the event was correctly triggered. 71 $event = reset($events); 104 105 // Validate that the events were correctly triggered. 106 $this->assertInstanceOf('\core\event\user_info_category_updated', $event1); 140 141 // Validate that the event was correctly triggered. 142 $event = reset($events); 185 186 // Validate that the event was correctly triggered. 187 $event = reset($events);RequestContactImport.php https://gitlab.com/i-have-a-green/digitemis-v3 | PHP | 541 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 243 /** 244 * Validate all the properties in the model 245 * return true if all passedexternal.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 338 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 26 27require_once("$CFG->libdir/externallib.php"); 28require_once("$CFG->dirroot/webservice/externallib.php"); 73 74 // Validate and normalize parameters. 75 $tags = self::validate_parameters(self::update_tags_parameters(), array('tags' => $tags)); 192 193 // Validate and normalize parameters. 194 $tags = self::validate_parameters(self::get_tags_parameters(), array('tags' => $tags)); 196 $systemcontext = context_system::instance(); 197 self::validate_context($systemcontext); 198 291 global $PAGE; 292 // Validate and normalize parameters. 293 $tagindex = self::validate_parameters(ParamFetcherTest.php https://gitlab.com/cuza/Clinic_Recods | PHP | 440 lines
1<?php 2 28 */ 29class ParamFetcherTest extends \PHPUnit_Framework_TestCase 30{ 203 ->expects($this->once()) 204 ->method('validate') 205 ->with('value', array('constraint')) 223 ->expects($this->once()) 224 ->method('validate') 225 ->with('value', ['constraint']) 247 ->expects($this->once()) 248 ->method('validate') 249 ->with('value', array('constraint'))File.php https://bitbucket.org/acidel/buykoala.git | PHP | 412 lines
29 */ 30#require_once 'Zend/Reflection/Function.php'; 31 94 if (!$fileRealpath || !in_array($fileRealpath, get_included_files())) { 95 #require_once 'Zend/Reflection/Exception.php'; 96 throw new Zend_Reflection_Exception('File ' . $file . ' must be required before it can be reflected'); 187 if (!$instance instanceof Zend_Reflection_Docblock) { 188 #require_once 'Zend/Reflection/Exception.php'; 189 throw new Zend_Reflection_Exception('Invalid reflection class specified; must extend Zend_Reflection_Docblock'); 225 if (!$instance instanceof Zend_Reflection_Function) { 226 #require_once 'Zend/Reflection/Exception.php'; 227 throw new Zend_Reflection_Exception('Invalid reflection class provided; must extend Zend_Reflection_Function'); 319 * Token ID's are explained here: 320 * http://www.php.net/manual/en/tokens.php. 321 */CssModulesPlugin.js https://gitlab.com/nguyenthehiep3232/marius | JavaScript | 462 lines
1/* 2 MIT License http://www.opensource.org/licenses/mit-license.php 3 Author Tobias Koppers @sokra 44 45const validateGeneratorOptions = createSchemaValidation( 46 require("../../schemas/plugins/css/CssGeneratorOptions.check.js"), 52); 53const validateParserOptions = createSchemaValidation( 54 require("../../schemas/plugins/css/CssParserOptions.check.js"), 130 .tap(plugin, parserOptions => { 131 validateParserOptions(parserOptions); 132 return new CssParser(); 136 .tap(plugin, parserOptions => { 137 validateParserOptions(parserOptions); 138 return new CssParser({admin.php https://bitbucket.org/viktorfabry/banditos.git | PHP | 503 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 199 200 // validate and insert 201 if ($id = $this->page_m->create($input)) 329 330 // validate and insert 331 if ($this->page_m->edit($id, $input))export_execute.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 252 lines
1<?php 2 2 3require_once('../config.php'); 4//require_once($CFG->dirroot.'/course/lib.php'); 4//require_once($CFG->dirroot.'/course/lib.php'); 5require_once($CFG->dirroot.'/calendar/lib.php'); 6require_once($CFG->libdir.'/bennu/bennu.inc.php'); 54 55 $link = new moodle_url('/calendar/export.php', $params); 56 redirect($link->out()); 178 // Parameters given but incorrect, redirect back to export page 179 redirect($CFG->wwwroot.'/calendar/export.php'); 180 die(); 243header('Last-Modified: '. gmdate('D, d M Y H:i:s', time()) .' GMT'); 244header('Cache-Control: private, must-revalidate, pre-check=0, post-check=0, max-age=0'); 245header('Expires: '. gmdate('D, d M Y H:i:s', 0) .'GMT');ipayment_elv.php https://github.com/chrish123/oscommerce2.git | PHP | 269 lines
1<?php 2/* 122 tep_draw_hidden_field('silent_error_url', tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error=' . $this->code, 'SSL', true)) . 123 tep_draw_hidden_field('hidden_trigger_url', tep_href_link('ext/modules/payment/ipayment/callback_elv.php', '', 'SSL', false)) . 124 tep_draw_hidden_field('client_name', 'oscommerce') . 190 tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Transaction Method', 'MODULE_PAYMENT_IPAYMENT_ELV_TRANSACTION_METHOD', 'Authorization', 'The processing method to use for each transaction.', '6', '0', 'tep_cfg_select_option(array(\'Authorization\', \'Capture\'), ', now())"); 191 tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Secret Hash Password', 'MODULE_PAYMENT_IPAYMENT_ELV_SECRET_HASH_PASSWORD', 'testtest', 'The secret hash password to validate transactions with', '6', '4', now())"); 192 tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Transaction Notification (E-Mail)', 'MODULE_PAYMENT_IPAYMENT_ELV_DEBUG_EMAIL', '', 'An e-mail address to send transaction notifications to.', '6', '0', now())");Abstract.php https://bitbucket.org/ngmares/moodle.git | PHP | 456 lines
24 */ 25require_once 'Zend/Validate/Interface.php'; 26 151 if (!isset($this->_messageTemplates[$messageKey])) { 152 require_once 'Zend/Validate/Exception.php'; 153 throw new Zend_Validate_Exception("No message template exists for key '$messageKey'"); 193 */ 194 require_once 'Zend/Validate/Exception.php'; 195 throw new Zend_Validate_Exception("No property exists by the name '$property'"); 330 } else { 331 require_once 'Zend/Validate/Exception.php'; 332 throw new Zend_Validate_Exception('Invalid translator specified'); 377 } else { 378 require_once 'Zend/Validate/Exception.php'; 379 throw new Zend_Validate_Exception('Invalid translator specified');wc-cart-functions.php https://gitlab.com/rubengrb/ws.vidrialum | PHP | 374 lines
1<?php 2/** 60/** 61 * Retrieves unvalidated referer from '_wp_http_referer' or HTTP referer. 62 * 111 if ( 'yes' === get_option( 'woocommerce_cart_redirect_after_add' ) ) { 112 $return_to = apply_filters( 'woocommerce_continue_shopping_redirect', wc_get_raw_referer() ? wp_validate_redirect( wc_get_raw_referer(), false ) : wc_get_page_permalink( 'shop' ) ); 113 $message = sprintf( '<a href="%s" class="button wc-forward">%s</a> %s', esc_url( $return_to ), esc_html__( 'Continue Shopping', 'woocommerce' ), esc_html( $added_text ) ); 204 205 wc_get_template( 'cart/cart-shipping.php', array( 206 'package' => $package, 353function wc_cart_round_discount( $value, $precision ) { 354 if ( version_compare( PHP_VERSION, '5.3.0', '>=' ) ) { 355 return round( $value, $precision, WC_DISCOUNT_ROUNDING_MODE );BaseElementFieldType.php https://gitlab.com/madebycloud/derekman | PHP | 509 lines
1<?php 2namespace Craft; 116 /** 117 * @inheritDoc IFieldType::validate() 118 * 122 */ 123 public function validate($value) 124 {tracker.php https://github.com/nadavkav/MoodleTAO.git | PHP | 220 lines
1<?php // $Id: tracker.php,v 1.1.10.3 2008/10/20 22:11:42 diml Exp $ 2 // tracker.php - created with Moodle 1.2 development (2003111400) 98$string['noissuesreported'] = 'No issue reported'; 99$string['nolocalcandidate'] = 'No local candidate for cascading'; 100$string['nooptions'] = 'No option';YamlFileLoader.php https://github.com/ruudk/symfony.git | PHP | 262 lines
1<?php 2 86 foreach ($parsedConfig as $name => $config) { 87 $this->validate($config, $name, $path); 88 228 /** 229 * Validates the route configuration. 230 * 237 */ 238 protected function validate($config, string $name, string $path) 239 {Atom.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 427 lines
1<?php 2/** 273 $this->getDataContainer()->getId()) 274 && !$this->_validateTagUri($this->getDataContainer()->getId()) 275 ) { 284 /** 285 * Validate a URI using the tag scheme (RFC 4151) 286 * 289 */ 290 protected function _validateTagUri($id) 291 {ParameterTest.php https://gitlab.com/x33n/respond | PHP | 416 lines
1<?php 2 123 */ 124 public function testValidatesComplexFilters() 125 {post.php https://github.com/bernard357/yacs.git | PHP | 315 lines
1<?php 2/** 14 * If anonymous comments are allowed, YACS uses the value of the author field as the id of a user profile. 15 * If a password is provided, YACS validates it as well. 16 * 30 * 31 * @see control/configure.php 32 * 36 * [snippet] 37 * POST /yacs/comments/post.php/123 HTTP/1.1 38 * Content-Type: text/xml 53 * [snippet] 54 * POST http://www.foo.com/yacs/comments/post.php/123 55 * Content-Type: application/x-www-form-urlencoded 64 * Accepted calls: 65 * - post.php/<type>/<id> create a new comment for this anchor 66 * - post.php?anchor=<type>:<id> create a new comment for this anchortemplate.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'.FieldInstancePerFormDisplayTest.php https://gitlab.com/reasonat/test8 | PHP | 184 lines
1<?php 2 113 'bundle' => 'test_vocabulary', 114 'data' => 'a:7:{s:5:"label";s:4:"Link";s:6:"widget";a:5:{s:6:"weight";s:2:"10";s:4:"type";s:10:"link_field";s:6:"module";s:4:"link";s:6:"active";i:0;s:8:"settings";a:0:{}}s:8:"settings";a:12:{s:12:"absolute_url";i:1;s:12:"validate_url";i:1;s:3:"url";i:0;s:5:"title";s:8:"optional";s:11:"title_value";s:19:"Unused Static Title";s:27:"title_label_use_field_label";i:0;s:15:"title_maxlength";s:3:"128";s:7:"display";a:1:{s:10:"url_cutoff";s:2:"81";}s:10:"attributes";a:6:{s:6:"target";s:6:"_blank";s:3:"rel";s:8:"nofollow";s:18:"configurable_class";i:0;s:5:"class";s:7:"classes";s:18:"configurable_title";i:1;s:5:"title";s:0:"";}s:10:"rel_remove";s:19:"rel_remove_external";s:13:"enable_tokens";i:1;s:18:"user_register_form";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"link_default";s:6:"weight";s:1:"9";s:8:"settings";a:0:{}s:6:"module";s:4:"link";}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 115 'deleted' => '0',ContentEntityForm.php https://gitlab.com/reasonat/test8 | PHP | 290 lines
1<?php 2 76 // Mark the entity as requiring validation. 77 $entity->setValidationRequired(!$form_state->getTemporaryValue('entity_validated')); 78 90 */ 91 public function validateForm(array &$form, FormStateInterface $form_state) { 92 parent::validateForm($form, $form_state); 95 96 $violations = $entity->validate(); 97 104 105 // The entity was validated. 106 $entity->setValidationRequired(FALSE); 106 $entity->setValidationRequired(FALSE); 107 $form_state->setTemporaryValue('entity_validated', TRUE); 108em-ml-io.php https://gitlab.com/pankajmohale/chef2go | PHP | 266 lines
1<?php 2/** 179 * @param EM_Location $EM_Location 180 * @param string $validate 181 * @return boolean 182 */ 183 public static function location_get_post_meta($result, $EM_Location, $validate = true){ 184 //check if this is a master location, if not then we need to get the relevant master location info and populate this object with it so it passes validation and saves correctly. 188 self::location_merge_original_meta($EM_Location, $location); 189 if ($validate) $result = $EM_Location->validate(); 190 }GetKillmailsKillmailIdKillmailHashOkVictim.php https://gitlab.com/mglinski/php-esi-lib | PHP | 432 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 188 /** 189 * validate all the properties in the model 190 * return true if all passedAbstract.php https://gitlab.com/rsilveira1987/Expresso | PHP | 414 lines
1<?php 2/** 19 * 20 * @todo validate value! 21 */ 227 228 //@todo validate value before setting it! 229 $this->_value = $_value;AvailablePath.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 324 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 */ 49 */ 50class Mage_Core_Model_File_Validator_AvailablePath extends Zend_Validate_Abstract 51{ 251 /** 252 * Validate value by path masks 253 *user.php https://gitlab.com/hschoenburg/tlworks2 | PHP | 595 lines
1<?php 2 209 210 // validate 211 if( !acf_verify_ajax() ) die(); 217 218 // validate 219 if( !$choices ) die();Template.php https://bitbucket.org/mengqing/magento-mirror.git | PHP | 395 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) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 82 /** 83 * Validate Newsletter template 84 * 87 */ 88 public function validate() 89 { 97 foreach (array_keys($validators) as $validateField) { 98 $data[$validateField] = $this->getDataUsingMethod($validateField); 99 }validation.md https://gitlab.com/ken3/bluSky | Markdown | 236 lines
12 13[!!] Note that any valid [PHP callback](http://php.net/manual/language.pseudo-types.php#language.types.callback) can be used as a rule. 14 52 53All validation rules are defined as a field name, a method, a function (using the [PHP callback](http://php.net/callback) syntax) or [closure](http://php.net/manual/functions.anonymous.php), and an array of parameters: 54 125 126Any custom rules can be added using a [PHP callback](http://php.net/manual/language.pseudo-types.php#language.types.callback]: 127 153 <li><?php echo $message ?></li> 154 <?php endforeach ?> 155 <?php endif ?> 157 <dl> 158 <dt><?php echo Form::label('username', 'Username') ?></dt> 159 <dd><?php echo Form::input('username', $post['username']) ?></dd>tour.php https://bitbucket.org/moodle/moodle.git | PHP | 333 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 54 55 $params = self::validate_parameters(self::fetch_and_start_tour_parameters(), [ 56 'tourid' => $tourid, 61 $context = \context_helper::instance_by_id($params['context']); 62 self::validate_context($context); 63 121 public static function reset_tour($tourid, $context, $pageurl) { 122 $params = self::validate_parameters(self::reset_tour_parameters(), [ 123 'tourid' => $tourid, 128 $context = \context_helper::instance_by_id($params['context']); 129 self::validate_context($context); 130 189 public static function complete_tour($tourid, $context, $pageurl, $stepid, $stepindex) { 190 $params = self::validate_parameters(self::complete_tour_parameters(), [ 191 'tourid' => $tourid,EsmtpTransport.php https://gitlab.com/techniconline/kmc | PHP | 386 lines
1<?php 2 219 * 220 * If no response codes are given, the response will not be validated. 221 * If codes are given, an exception will be thrown on an invalid response.profile.php https://github.com/michaelchisari/appleseed.git | PHP | 224 lines
9 <!-- Title --> 10 <title><?php echo __("Layout"); ?></title> 11 34 <!-- Load JQuery::Validation --> 35 <script type="text/javascript" src="/libraries/external/JQuery-1.4.2/plugins/jquery.validate.js"></script> 36ServerDatabasesControllerTest.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 315 lines
14 15require_once 'test/libraries/stubs/ResponseStub.php'; 16require_once 'test/PMATestCase.php'; 112 113 //validate 1: General info 114 $this->assertContains( 118 119 //validate 2:ajax Form 120 $this->assertContains( 120 $this->assertContains( 121 '<form class="ajax" action="server_databases.php" ', 122 $html 153 $this->assertRegExp( 154 '/title="phpmyadmin"[[:space:]]*value="phpmyadmin"/', 155 $htmlfetch.php https://bitbucket.org/moodle/moodle.git | PHP | 322 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 42use moodle_exception; 43require_once($CFG->dirroot.'/grade/grading/form/rubric/lib.php'); 44 96 global $CFG, $USER; 97 require_once("{$CFG->libdir}/gradelib.php"); 98 [ 102 'gradeduserid' => $gradeduserid, 103 ] = self::validate_parameters(self::execute_parameters(), [ 104 'component' => $component, 109 110 // Validate the context. 111 $context = context::instance_by_id($contextid); 111 $context = context::instance_by_id($contextid); 112 self::validate_context($context); 113ClientInvitationController.php https://gitlab.com/haroldv22/tupadrino | PHP | 287 lines
1<?php 2 16use yii\web\UploadedFile; 17use moonland\phpexcel\Excel; 18 75 76 $excel = new Excel(); // Phpexcel 77 $errorEmail = ''; 84 85 if($model->validate()){ 86AssignLibraryPlugin.js https://gitlab.com/ahmad.jamal/sally | JavaScript | 351 lines
1/* 2 MIT License http://www.opensource.org/licenses/mit-license.php 3 Author Tobias Koppers @sokra 32/** 33 * Validates the library name by checking for keywords and valid characters 34 * @param {string} name name to be validatedclass-wc-settings-tax.php https://gitlab.com/campus-academy/krowkaramel | PHP | 348 lines
108 if ( isset( $_POST['woocommerce_tax_classes'] ) ) { 109 $this->save_tax_classes( wp_unslash( $_POST['woocommerce_tax_classes'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized 110 } 118 119 // Invalidate caches. 120 WC_Cache_Helper::invalidate_cache_group( 'taxes' ); 205 'rates' => array_values( WC_Tax::get_rates_for_tax_class( $current_class ) ), 206 'page' => ! empty( $_GET['p'] ) ? absint( $_GET['p'] ) : 1, // phpcs:ignore WordPress.Security.NonceVerification.Recommended 207 'limit' => 100, 241 242 include __DIR__ . '/views/html-settings-tax.php'; 243 } 308 $current_class = sanitize_title( $this->get_current_tax_class() ); 309 // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated, WordPress.Security.NonceVerification.Missing 310 $posted_countries = wc_clean( wp_unslash( $_POST['tax_rate_country'] ) );README.md https://gitlab.com/harsh_0/demo | Markdown | 203 lines
3`CachePolicy` tells when responses can be reused from a cache, taking into account [HTTP RFC 7234](http://httpwg.org/specs/rfc7234.html) rules for user agents and shared caches. 4It also implements [RFC 5861](https://tools.ietf.org/html/rfc5861), implementing `stale-if-error` and `stale-while-revalidate`. 5It's aware of many tricky details such as the `Vary` header, proxy revalidation, and authenticated responses. 78 79If `options.ignoreCargoCult` is true, common anti-cache directives will be completely ignored if the non-standard `pre-check` and `post-check` directives are present. These two useless directives are most commonly found in bad StackOverflow answers and PHP's "session limiter" defaults. 80 105After that time (when `timeToLive() <= 0`) the response might not be usable without revalidation. However, there are exceptions, e.g. a client can explicitly allow stale responses, so always check with `satisfiesWithoutRevalidation()`. 106`stale-if-error` and `stale-while-revalidate` extend the time to live of the cache, that can still be used if stale. 107 127 128#### `revalidatedPolicy(revalidationRequest, revalidationResponse)` 129 150 // Create updated policy and combined response from the old and new data 151 const { policy, modified } = oldPolicy.revalidatedPolicy( 152 newRequest,Controller.php https://gitlab.com/haque.mdmanzurul/TripAdviosrScrapper | PHP | 530 lines
1<?php 2 8use Illuminate\Routing\Controller as BaseController; 9use Illuminate\Foundation\Validation\ValidatesRequests; 10use Illuminate\Http\Request; 15 16 use DispatchesJobs, ValidatesRequests; 17 183 184 function validateForm() 185 { 213 214 function validatePost( $table ) 215 {Rule.php https://bitbucket.org/moodle/moodle.git | PHP | 426 lines
1<?php 2 2 3namespace PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter\Column; 4 4 5use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException; 6use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter\Column; 243 if (!in_array($ruleType, self::RULE_TYPES)) { 244 throw new PhpSpreadsheetException('Invalid rule type for column AutoFilter Rule.'); 245 } 274 foreach ($value as $key => $v) { 275 // Validate array entries 276 if (!in_array($key, self::DATE_TIME_GROUPS)) { 284 if (count($value) == 0) { 285 throw new PhpSpreadsheetException('Invalid rule value for column AutoFilter Rule.'); 286 }ConfigSingleImportForm.php https://gitlab.com/geeta7/drupal | PHP | 423 lines
1<?php 2 282 */ 283 public function validateForm(array &$form, FormStateInterface $form_state) { 284 // The confirmation step needs no additional validation. 291 292 // Validate for config entities. 293 if ($form_state->getValue('config_type') !== 'system.simple') { 360 try { 361 $config_importer->validate(); 362 $form_state->set('config_importer', $config_importer);6fcd78d08ae72f493e78dba05715eb88db712faf.file.homebanners.tpl.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 210 lines
40 <?php }?> 41 <?php if ($_GET['var_msg_new']!=''){?> 42 <div class="status success" id="errormsgdiv"> 70 <select id="eType" name="Data[eType]" onchange="getType(this.value);"> 71 <option value="Image" <?php if ($_smarty_tpl->getVariable('db_design')->value[0]['eType']=='Image'){?> selected <?php }?>>Image</option> 72 <option value="Video" <?php if ($_smarty_tpl->getVariable('db_design')->value[0]['eType']=='Video'){?> selected <?php }?>>Video</option> 89 <input type="file" id="vImage" name="Data[vImage]" class="inputbox" title="Design" title="Upload Banner" /> 90 <?php if ($_smarty_tpl->getVariable('db_design')->value[0]['thumb_url']!=''){?> 91 [<a href="<?php echo $_smarty_tpl->getVariable('db_design')->value[0]['thumb_url'];?> 137?> 138 <option <?php if ($_smarty_tpl->getVariable('db_design')->value[0]['iDisplayOrder']==$_smarty_tpl->getVariable('smarty')->value['section']['i']['index_next']){?>selected<?php }?> value="<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['i']['index_next'];?> 139"><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['i']['index_next'];?> 147 <option value="Active" <?php if ($_smarty_tpl->getVariable('db_design')->value[0]['eStatus']=='Active'){?>selected<?php }?>>Active</option> 148 <option value="Inactive" <?php if ($_smarty_tpl->getVariable('db_design')->value[0]['eStatus']=='Inactive'){?>selected<?php }?>>Inactive</option> 149 </select>login.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 402 lines
1<?php 2namespace Concrete\Controller\SinglePage; 35 36 public function session_invalidated() 37 { 104 $valt = $this->app->make('token'); 105 if (!$valt->validate('login_' . $type)) { 106 $this->error->add($valt->getErrorMessage()); 365 foreach ($unfilled as $attribute) { 366 $err = $attribute->validateAttributeForm(); 367 if ($err == false) { 386 { 387 if ($this->app->make('token')->validate('logout', $token)) { 388 $u = new User();functions.inc.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 346 lines
1<?php 2 2 3function validate_users($value) { 4 11 /* 'codigo' => array( 12 'filter' => FILTER_VALIDATE_REGEXP, 13 'options' => array('regexp' => '/^.{5,10}$/') 15 'nombre' => array( 16 'filter' => FILTER_VALIDATE_REGEXP, 17 'options' => array('regexp' => '/^[a-zA-Z0-9](_(?!(\.|_))|\.(?!(_|\.))|[a-zA-Z0-9]){0,18}[a-zA-Z0-9]$/') 19 'apellidos' => array( 20 'filter' => FILTER_VALIDATE_REGEXP, 21 'options' => array('regexp' => '/^\D{3,30}$/') 23 'direccion' => array( 24 'filter' => FILTER_VALIDATE_REGEXP, 25 'options' => array('regexp' => '/^\D{3,300}$/')api.php https://github.com/gabelula/Ushahidi_Web.git | PHP | 354 lines
1<?php defined('SYSPATH') or die('No direct script access allowed.'); 2 5 * 6 * PHP version 5 7 * LICENSE: This source file is subject to LGPL license 67 // Test to see if rule checks have beens satisfied 68 if ($post->validate() AND $post->action == 's') 69 { 179 180 // Validate the submitted data against the validation rules 181 if ($post->validate()) 297 298 // Validate the submitted data against the validatieon rules 299 if ($post->validate())SYLK.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 450 lines
34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 44 */ 45class PHPExcel_Reader_SYLK extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader 46{ 213 /** 214 * Loads PHPExcel from file into PHPExcel instance 215 * 216 * @param string $pFilename 217 * @param PHPExcel $objPHPExcel 218 * @return PHPExcel 220 */ 221 public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) 222 {FacebookSession.php https://gitlab.com/hoanghung.dev/aloads | PHP | 367 lines
1<?php 2/** 65 * var $session = new FacebookSession($accessToken); 66 * This will validate the token and provide a Session object ready for use. 67 * It will throw a SessionException in case of error. 186 187 // @TODO Remove validate() in 4.1: can be accessed from AccessToken directly 188 /** 188 /** 189 * validate - Ensures the current session is valid, throwing an exception if 190 * not. Fetches token info from Facebook. 199 */ 200 public function validate($appId = null, $appSecret = null, $machineId = null) 201 { 211 212 // @TODO Remove validateSessionInfo() in 4.1: can be accessed from AccessToken directly 213 /**