100+ results results for 'php max' (967 ms)
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 21 * @copyright 2015-2016 Cubyn 22 * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 23 */ 43 margin-top: -200px; 44 max-height: 90%; 45 overflow-x: hidden;VarCloner.php https://gitlab.com/Sigpot/AirSpot | PHP | 324 lines
38 $maxItems = $this->maxItems; 39 $maxString = $this->maxString; 40 $cookie = (object) array(); // Unique object used to detect hard references 103 $stub->class = Stub::STRING_BINARY; 104 if (0 <= $maxString && 0 < $cut = strlen($v) - $maxString) { 105 $stub->cut = $cut; 109 } 110 } elseif (0 <= $maxString && isset($v[1 + ($maxString >> 2)]) && 0 < $cut = mb_strlen($v, 'UTF-8') - $maxString) { 111 $stub = new Stub(); 169 $stub->value = null; 170 if (0 <= $maxItems && $maxItems <= $pos) { 171 $stub->cut = count($a); 193 $stub->value = null; 194 if (0 <= $maxItems && $maxItems <= $pos) { 195 $stub->cut = count($a);arr.php https://bitbucket.org/i1598/caiyun_stat.git | PHP | 602 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 242 * @param integer $step stepping 243 * @param integer $max ending number 244 * @return array 245 */ 246 public static function range($step = 10, $max = 100) 247 { 251 $array = array(); 252 for ($i = $step; $i <= $max; $i += $step) 253 { 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 *admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 2 3require_once(APPPATH.'controllers/project.php'); 4 228 ); 229 $this->data["versionsmax"][$k] = $this->versions->get_versions($ver, "", NULL, NULL, 'MAX(version_number) as finalversion'); 230 } 232 233 if( !empty($this->data["versionsmax"]) ){ 234 foreach($this->data["versionsmax"] as $k => $v) { 393 ); 394 $get_max = $this->versions->get_versions($getver, '', NULL, NULL, "MAX(version_number) as last_ver"); 395 398 "version_id" => NULL, 399 "version_number" => $get_max[0]["last_ver"]+1, 400 "project_id" => $chapidBatch.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 514 lines
1<?php 2 197 'description' => ts('Variable name/programmatic handle for this batch.'), 198 'maxlength' => 64, 199 'size' => CRM_Utils_Type::BIG, 213 'description' => ts('Friendly Name.'), 214 'maxlength' => 255, 215 'size' => CRM_Utils_Type::HUGE,web.php https://github.com/XioNoX/Benevolus.git | PHP | 509 lines
1<?php 2 3/** 4 Web pack for the PHP Fat-Free Framework 5 33 @param $text string 34 @param $maxlen integer 35 **/ 35 **/ 36 static function slug($text,$maxlen=0) { 37 $out=preg_replace('/([^\w]|-)+/','-', 39 self::$vars['DIACRITICS']))); 40 return trim(strtolower($maxlen?substr($out,0,$maxlen):$out),'-'); 41 } 205 if ($echo) { 206 if (PHP_SAPI!='cli' && !headers_sent()) 207 header(self::HTTP_Content.': '.$mime[$ext[1]].'; '.Pager.php https://github.com/kevindev/ci_campusync_auth.git | PHP | 576 lines
55 /** 56 * @var integer $_maxPerPage Maximum number of itens per page 57 */ 92 93 $this->setMaxPerPage($maxPerPage); 94 } 414 */ 415 public function setMaxPerPage($max) 416 { 417 if ($max > 0) { 418 $this->_maxPerPage = $max; 419 } else if ($max == 0) { 421 } else { 422 $this->_maxPerPage = abs($max); 423 }WebformSettingsForm.php https://gitlab.com/guillaumev/alkarama | PHP | 334 lines
1<?php 2 159 '#default_value' => $config->get('progressbar.label_first'), 160 '#maxlength' => 255, 161 ); 166 '#default_value' => $config->get('progressbar.label_confirmation'), 167 '#maxlength' => 255, 168 ); 280 281 $form['advanced']['email_select_max'] = array( 282 '#type' => 'textfield', 283 '#title' => t("Select email mapping limit"), 284 '#default_value' => $config->get('advanced.email_select_max'), 285 '#description' => t('When mapping emails addresses to a select component, limit the choice to components with less than the amount of options indicated. This is to avoid flooding the email settings form.'), 328 ->set('advanced.token_access', $values['advanced']['token_access']) 329 ->set('advanced.email_select_max', $values['advanced']['email_select_max']) 330 ->save();TestData.php https://github.com/orchestra-io/sample-openx.git | PHP | 301 lines
33require_once MAX_PATH . '/lib/OA/Dll.php'; 34require_once MAX_PATH . '/lib/max/Dal/Common.php'; 35require_once MAX_PATH . '/lib/OA/Dal/DataGenerator.php'; 244 $doBanners->htmltemplate = "<script type='text/javascript'><!--//<![CDATA[ 245 var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php'); 246 var m3_r = Math.floor(Math.random()*99999999999); 246 var m3_r = Math.floor(Math.random()*99999999999); 247 if (!document.MAX_used) document.MAX_used = ','; 248 document.write (\"<scr\"+\"ipt type='text/javascript' src='\"+m3_u); 262 var m3_r = Math.floor(Math.random()*99999999999); 263 if (!document.MAX_used) document.MAX_used = ','; 264 document.write (\"<scr\"+\"ipt type='text/javascript' src='\"+m3_u); 266 document.write ('&cb=' + m3_r); 267 if (document.MAX_used != ',') document.write (\"&exclude=\" + document.MAX_used); 268 document.write (\"&loc=\" + escape(window.location));UpgradeComponentGroup.php https://github.com/orchestra-io/sample-openx.git | PHP | 320 lines
1<?php 2 24+---------------------------------------------------------------------------+ 25$Id: UpgradeComponentGroup.php 30820 2009-01-13 19:02:17Z andrew.hill $ 26*/ 34 35require_once MAX_PATH.'/lib/OA/Upgrade/Upgrade.php'; 36 58 59 $this->recoveryFile = MAX_PATH.'/var/plugins/recover/'.strtoupper($this->aComponentGroup['name']); 60 /*$this->nobackupsFile = MAX_PATH.$pluginPath.'NOBACKUPS'; 60 /*$this->nobackupsFile = MAX_PATH.$pluginPath.'NOBACKUPS'; 61 $this->postTaskFile = MAX_PATH.$pluginPath.'TASKS.php';*/ 62 63 $this->initDatabaseConnection(); 64 if (!file_exists(MAX_PATH.'/var/plugins/log')) 65 {edit.php https://github.com/thisduck/wordpress.git | PHP | 294 lines
18if ( $_redirect = intval( max( @$_REQUEST['p'], @$_REQUEST['attachment_id'], @$_REQUEST['page_id'] ) ) ) { 19 wp_redirect( admin_url('edit-comments.php?p=' . $_redirect ) ); 20 exit; 29 30 if ( strpos($sendback, 'post.php') !== false ) 31 $sendback = admin_url($post_new_file); 114 $submenu_file = "edit.php?post_type=$post_type"; 115 $post_new_file = "post-new.php?post_type=$post_type"; 116} else { 163<?php screen_icon(); ?> 164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php 165if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) 170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?> 171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div> 172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 lines
1<?php 2/** 99 * 100 * Indicates the maximum error relative to the primary reference source at the 101 * root of the synchronization subnet, in seconds 403 /* 404 * Indicates the maximum error relative to the primary reference source at the 405 * root of the synchronization subnet, in seconds.Advertiser.php https://bitbucket.org/valmy/openx.git | PHP | 371 lines
1<?php 2 35// Required classes 36require_once MAX_PATH . '/lib/OA/Dal/Statistics.php'; 37tcp_cubic.c https://gitlab.com/karrei/imx6-kernel | C | 497 lines
31#define BICTCP_BETA_SCALE 1024 /* Scale factor beta calculation 32 * max_cwnd = snd_cwnd * beta 33 */ 43#define HYSTART_DELAY_MAX (16U<<3) 44#define HYSTART_DELAY_THRESH(x) clamp(x, HYSTART_DELAY_MIN, HYSTART_DELAY_MAX) 45 84 u32 cnt; /* increase cwnd by 1 after ACKs */ 85 u32 last_max_cwnd; /* last maximum snd_cwnd */ 86 u32 loss_cwnd; /* congestion window at last loss */ 234 * (ca->last_max_cwnd - cwnd)); 235 ca->bic_origin_point = ca->last_max_cwnd; 236 } 295 delta = ca->tcp_cwnd - cwnd; 296 max_cnt = cwnd / delta; 297 if (ca->cnt > max_cnt)twitter-timeline.php https://gitlab.com/vanafroo/voipWEB | PHP | 470 lines
1<?php 2 26 'twitter_timeline', 27 /** This filter is documented in modules/widgets/facebook-likebox.php */ 28 apply_filters( 'jetpack_widget_name', esc_html__( 'Twitter Timeline', 'jetpack' ) ), 63 public function admin_scripts( $hook ) { 64 // This is still 'widgets.php' when managing widgets via the Customizer. 65 if ( 'widgets.php' === $hook ) { 83 if ( isset( $instance['title'] ) ) { 84 /** This filter is documented in core/src/wp-includes/default-widgets.php */ 85 echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ) . $args['after_title']; 145 146 /** This action is documented in modules/widgets/social-media-icons.php */ 147 do_action( 'jetpack_bump_stats_extras', 'widget', 'twitter_timeline' ); 296 <label for="<?php echo $this->get_field_id( 'width' ); ?>"> 297 <?php esc_html_e( 'Maximum Width (px; 220 to 1200):', 'jetpack' ); ?> 298 </label>sbhnddma.h https://github.com/netarchy/infuse4g-sources.git | C Header | 343 lines
9 * under the terms of the GNU General Public License version 2 (the "GPL"), 10 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 11 * following added to such license: 72#define D32RINGALIGN_BITS 12 73#define D32MAXRINGSZ (1 << D32RINGALIGN_BITS) 74#define D32RINGALIGN (1 << D32RINGALIGN_BITS) 75 76#define D32MAXDD (D32MAXRINGSZ / sizeof (dma32dd_t)) 77 211#define D64RINGALIGN_BITS 13 212#define D64MAXRINGSZ (1 << D64RINGALIGN_BITS) 213#define D64RINGALIGN (1 << D64RINGALIGN_BITS) 214 215#define D64MAXDD (D64MAXRINGSZ / sizeof (dma64dd_t)) 216ContributionPage.php https://github.com/szantog/panparks.git | PHP | 354 lines
1<?php 2 36 37require_once 'CRM/Core/Form.php'; 38require_once 'CRM/Core/PseudoConstant.php'; 38require_once 'CRM/Core/PseudoConstant.php'; 39require_once 'CRM/Contribute/PseudoConstant.php'; 40 115 // set up tabs 116 require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php'; 117 CRM_Contribute_Form_ContributionPage_TabHeader::build( $this ); 224 //set defaults for pledgeBlock values. 225 require_once 'CRM/Pledge/BAO/PledgeBlock.php'; 226 $pledgeBlockParams = array( 'entity_id' => $this->_id, 232 } 233 $pledgeBlock = array( 'is_pledge_interval', 'max_reminders', 234 'initial_reminder_day', 'additional_reminder_day' );TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
1<?php 2 49 ], 50 'max' => [ 51 'name' => tr('Character Limit'), 51 'name' => tr('Character Limit'), 52 'description' => tr('Maximum number of characters to be stored.'), 53 'filter' => 'int', 55 ], 56 'listmax' => [ 57 'name' => tr('Display Limit (List)'), 57 'name' => tr('Display Limit (List)'), 58 'description' => tr('Maximum number of characters to be displayed in list mode before the value gets truncated.'), 59 'filter' => 'int', 61 ], 62 'wordmax' => [ 63 'name' => tr('Word Count'),cpanel.php https://github.com/andrewgs/practice-book.ru.git | PHP | 320 lines
111 <option value="0">Выберите группу</option> 112 <?php for($i=0;$i<count($unitgroups);$i++):?> 113 <option value="<?=$unitgroups[$i]['prg_id'];?>"><?=$unitgroups[$i]['prg_title'];?></option> 113 <option value="<?=$unitgroups[$i]['prg_id'];?>"><?=$unitgroups[$i]['prg_title'];?></option> 114 <?php endfor; ?> 115 </select> 141 <td class="col-price-company"><?=$units[$i]['cu_price'];?></td> 142 <td class=""><strong><?=$units[$i]['cu_priceunit'];?><?php if($units[$i]['cu_unitscode']):?>/<?=$units[$i]['cu_unitscode'];?><?php endif;?></strong></td> 143 </tr> 184 <?php endif; ?> 185 <?php if($representative[$i]['uicq']): ?> 186 <div class="federal-skype-icq"> 298 <div class="clear"></div> 299 <?php $this->load->view('company_interface/footer'); ?> 300 </div> <!-- end of #container -->facebook.php https://github.com/copongcopong/CakePHP-Facebook-Plugin.git | PHP | 425 lines
1<?php 2/** 20 */ 21 var $__fbShareScript = 'http://static.ak.fbcdn.net/connect.php/js/FB.Share'; 22 64 * - width int The width of the plugin in pixels 65 * - max-rows int The maximum number of rows of profile pictures to show 66 * - perms list of permissions to ask for when logging in separated by commas (eg: 'email,read_stream,publish_stream'). (http://developers.facebook.com/docs/authentication/permissions) 176 else { 177 $retval = $this->Html->link($options['label'], 'http://www.facebook.com/sharer.php', array('share_url' => $url, 'type' => $options['type'], 'name' => $options['anchor'])); 178 $retval .= $this->Html->script($this->__fbShareScript); 380 appId : '{$appId}', 381 session : {$session}, // don't refetch the session when PHP already has it 382 status : true, // check login statususer.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
1<?php 2/** 101$_lang['user_err_not_specified_resource_baseurl'] = 'Please specify a valid resource URL.'; 102$_lang['user_err_not_specified_uploadsize'] = 'Please specify a valid max upload size in bytes.'; 103$_lang['user_err_not_specified_username'] = 'Please specify a user name.';admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 21 'label' => 'lang:pages.title_label', 22 'rules' => 'trim|required|max_length[250]' 23 ), 26 'label' => 'lang:pages.slug_label', 27 'rules' => 'trim|required|alpha_dot_dash|max_length[250]' 28 ), 51 'label' => 'lang:pages.meta_title_label', 52 'rules' => 'trim|max_length[250]' 53 ), 56 'label' => 'lang:pages.meta_keywords_label', 57 'rules' => 'trim|max_length[250]' 58 ), 543 544 <li id="page_<?php echo $page['id']; ?>"> 545 <div>UploadHandler.php https://github.com/zikula-modules/Reviews.git | PHP | 404 lines
45 $this->imageFileTypes = array('gif', 'jpeg', 'jpg', 'png', 'swf'); 46 $this->forbiddenFileTypes = array('cgi', 'pl', 'asp', 'phtml', 'php', 'php3', 'php4', 'php5', 'exe', 'com', 'bat', 'jsp', 'cfm', 'shtml'); 47 $this->allowedFileSizes = array('review' => array('coverUpload' => 102400)); 146 if ($fileSize > $maxSize) { 147 $maxSizeKB = $maxSize / 1024; 148 if ($maxSizeKB < 1024) { 148 if ($maxSizeKB < 1024) { 149 $maxSizeKB = DataUtil::formatNumber($maxSizeKB); 150 return LogUtil::registerError(__f('Error! Your file is too big. Please keep it smaller than %s kilobytes.', array($maxSizeKB), $dom)); 152 $maxSizeMB = $maxSizeKB / 1024; 153 $maxSizeMB = DataUtil::formatNumber($maxSizeMB); 154 return LogUtil::registerError(__f('Error! Your file is too big. Please keep it smaller than %s megabytes.', array($maxSizeMB), $dom)); 325 break; 326 case UPLOAD_ERR_INI_SIZE: //uploaded file exceeds the upload_max_filesize directive in php.ini 327 $errmsg = __('File too big', $dom);Indicators.class.php https://github.com/bgerp/bgerp.git | PHP | 440 lines
1<?php 2 105 $this->FLD('name', 'varchar(64)', 'caption=Наименование,column=none'); 106 $this->FLD('value', 'double(minDecimals=0, maxDecimals=4, smartRound)', 'caption=Стойност,smartCenter,input=none'); 107 $this->FLD('lastValue', 'datetime', 'caption=Към момент,oldFieldName=time,input=none');FileValidatorTest.php https://github.com/Exercise/symfony.git | PHP | 324 lines
1<?php 2 18 19abstract class FileValidatorTest extends \PHPUnit_Framework_TestCase 20{ 94 $constraint = new File(array( 95 'maxSize' => 10, 96 'maxSizeMessage' => 'myMessage', 114 $constraint = new File(array( 115 'maxSize' => '1k', 116 'maxSizeMessage' => 'myMessage', 134 $constraint = new File(array( 135 'maxSize' => '1M', 136 'maxSizeMessage' => 'myMessage', 152 */ 153 public function testInvalidMaxSize() 154 {wp-settings.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 323 lines
1<?php 2/** 5 * 6 * Allows for some configuration in wp-config.php (see default-constants.php) 7 * 7 * 8 * @internal This file must be parsable by PHP4. 9 * 20// Include files required for initialization. 21require( ABSPATH . WPINC . '/load.php' ); 22require( ABSPATH . WPINC . '/default-constants.php' ); 61if ( WP_CACHE ) 62 WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' ); 63 315 * 316 * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for 317 * users not logged in.functions.inc.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 346 lines
1<?php 2 28 'filter' => FILTER_VALIDATE_INT, 29 'options' => array('min_range' => 0, 'max_range' => 1000) 30 ),jquery.mask.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 281 lines
9 * 10 * The MIT License (http://www.opensource.org/licenses/mit-license.php) 11 * 57 el.each(function() { 58 if (options.maxlength !== false) { 59 el.attr('maxlength', mask.length); 235 p.destroyEvents(); 236 p.val(jMask.getCleanVal()).removeAttr('maxlength'); 237 }; 273 274 if (input.attr('data-mask-maxlength') === 'false') { 275 options.maxlength = false;Test.php https://bitbucket.org/Nemcio/kloxo-mr.git | PHP | 275 lines
18 * @copyright 1997-2006 The PHP Group 19 * @license http://www.php.net/license/3_0.txt PHP License 3.0 20 * @version CVS: $Id: Test.php,v 1.1.1.1 2009/05/08 18:30:19 root Exp $ 38 * @copyright 1997-2006 The PHP Group 39 * @license http://www.php.net/license/3_0.txt PHP License 3.0 40 * @version Release: 1.4.9 56 'shortopt' => 'r', 57 'doc' => 'Run tests in child directories, recursively. 4 dirs deep maximum', 58 ), 81 'shortopt' => 'u', 82 'doc' => 'Search parameters for AllTests.php, and use that to run phpunit-based tests', 83 ), 85 'doc' => '[testfile|dir ...] 86Run regression tests with PHP\'s regression testing script (run-tests.php).', 87 ),instructions_de.htm https://bitbucket.org/vins13pattar/adaptive-images.git | HTML | 177 lines
136 @media only screen and (max-device-width: 479px) { 137 html { background-image:url(ai-cookie.php?maxwidth=479); } } 138 @media only screen and (min-device-width: 480px) and (max-device-width: 767px) { 138 @media only screen and (min-device-width: 480px) and (max-device-width: 767px) { 139 html { background-image:url(ai-cookie.php?maxwidth=767); } } 140 @media only screen and (min-device-width: 768px) and (max-device-width: 991px) { 140 @media only screen and (min-device-width: 768px) and (max-device-width: 991px) { 141 html { background-image:url(ai-cookie.php?maxwidth=991); } } 142 @media only screen and (min-device-width: 992px) and (max-device-width: 1381px) { 142 @media only screen and (min-device-width: 992px) and (max-device-width: 1381px) { 143 html { background-image:url(ai-cookie.php?maxwidth=1381); } } 144 @media only screen and (min-device-width: 1382px) { 144 @media only screen and (min-device-width: 1382px) { 145 html { background-image:url(ai-cookie.php?maxwidth=unknown); } } 146</style></code></pre>test.php https://github.com/md-tech/openemr.git | PHP | 422 lines
1<?php 2$debug=1; 2$debug=1; 3require_once("gacl_admin.inc.php"); 4 146/* 147//require_once('../Cache_Lite.php'); 148require_once('./profiler.inc'); 152 'caching' => true, 153 'cacheDir' => '/tmp/phpgacl_cache', 154 'lifeTime' => 100 207/* 208$max_aco=10; 209$max_aro=50; 210 211$max_acl=100; 212$min_rand_aco=1;PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
12__author__ = "Jens Diemer (www.jensdiemer.de)" 13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php" 14__url__ = "http://www.jensdiemer.de/Programmieren/Python/PyDown" 93 "temp_prefix": "PyDown_", 94 # Max. alter einer Temp-Datei in Sec. bevor sie automatisch gelöscht wird 95 "temp_max_old": 60,ValidationStatistics_body.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 307 lines
1<?php 2 119 $outdated = intval( $reviewed ) - intval( $synced ); 120 $outdated = $wgLang->formatnum( max( 0, $outdated ) ); // lag between queries 121 187 global $wgPhpCli; 188 $ext = !empty( $wgPhpCli ) ? $wgPhpCli : 'php'; 189 $path = wfEscapeShellArg( dirname( __FILE__ ) . '/../maintenance/updateStats.php' );SAPI.h https://gitlab.com/iranjith4/hhvm | C Header | 310 lines
2 +----------------------------------------------------------------------+ 3 | PHP Version 5 | 4 +----------------------------------------------------------------------+ 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.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 +----------------------------------------------------------------------+ 248 int php_ini_ignore; 249 int php_ini_ignore_cwd; /* don't look for php.ini in the current directory */ 250 285#define SAPI_DEFAULT_CHARSET "" 286#define SAPI_PHP_VERSION_HEADER "X-Powered-By: PHP/" PHP_VERSION 287yii.php https://gitlab.com/Griffolion/Game-Embargo-Tracker | PHP | 114 lines
1<?php 2/** 39 'The file "{file}" is not an image.' => 'Die Datei "{file}" ist kein Bild.', 40 'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu groß. Es {limit, plural, one{ist} other{sind}} maximal {limit, number} {limit, plural, one{Byte} other{Bytes}} erlaubt.', 41 'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu klein. Es {limit, plural, one{ist} other{sind}} mindestens {limit, number} {limit, plural, one{Byte} other{Bytes}} erforderlich.', 42 'The format of {attribute} is invalid.' => 'Das Format von {attribute} ist ungültig.', 43 'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu groß. Es darf maximal {limit, number} Pixel hoch sein.', 44 'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu groß. Es darf maximal {limit, number} Pixel breit sein.', 55 'You are not allowed to perform this action.' => 'Sie dürfen diese Aktion nicht durchführen.', 56 'You can upload at most {limit, number} {limit, plural, one{file} other{files}}.' => 'Sie können maximal {limit, number} {limit, plural, one{eine Datei} other{# Dateien}} hochladen.', 57 'in {delta, plural, =1{a day} other{# days}}' => 'in {delta, plural, =1{einem Tag} other{# Tagen}}', 78 '{attribute} must be less than or equal to "{compareValue}".' => '{attribute} muss kleiner oder gleich "{compareValue}" sein.', 79 '{attribute} must be no greater than {max}.' => '{attribute} darf nicht größer als {max} sein.', 80 '{attribute} must be no less than {min}.' => '{attribute} darf nicht kleiner als {min} sein.', 83 '{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '{attribute} muss mindestens {min, number} Zeichen enthalten.', 84 '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '{attribute} darf maximal {max, number} Zeichen enthalten.', 85 '{attribute} should contain {length, number} {length, plural, one{character} other{characters}}.' => '{attribute} muss aus genau {length, number} Zeichen bestehen.',Clients.php https://gitlab.com/my-application.bjoernbartels.earth/my-application | PHP | 322 lines
1<?php 2/** 94 'min' => 1, 95 'max' => 255, 96 ), 117 'min' => 1, 118 'max' => 255, 119 ), 140 'min' => 1, 141 'max' => 255, 142 ), 163 'min' => 1, 164 'max' => 255, 165 ), 186 'min' => 1, 187 'max' => 255, 188 ),BannerServiceImpl.php https://bitbucket.org/blackriver/openx.git | PHP | 344 lines
1<?php 2 24+---------------------------------------------------------------------------+ 25$Id: BannerServiceImpl.php 81772 2012-09-11 00:07:29Z chris.nutting $ 26*/ 34// Base class BaseLogonService 35require_once MAX_PATH . '/www/api/v1/common/BaseServiceImpl.php'; 36 37// Banner Dll class 38require_once MAX_PATH . '/lib/OA/Dll/Banner.php'; 39BannerCommand.php https://gitlab.com/vectorci/clitools | PHP | 334 lines
1<?php 2 182 // Get max number of rows 183 $maxLines = max(count($leftCol), count($rightCol)); 184 187 188 for ($i = 0; $i < $maxLines; $i++) { 189 $leftColLine = ''; 205 206 // Fix max length 207 $leftColLine = substr($leftColLine, 0, $colLeftWidth);voucher.php https://bitbucket.org/allanxyh/uniquemall.git | PHP | 263 lines
1<?php 2class ControllerAccountVoucher extends Controller { 59 $this->data['entry_message'] = $this->language->get('entry_message'); 60 $this->data['entry_amount'] = sprintf($this->language->get('entry_amount'), $this->currency->format($this->config->get('config_voucher_min')), $this->currency->format($this->config->get('config_voucher_max'))); 61 247 248 if (($this->currency->convert($this->request->post['amount'], $this->currency->getCode(), $this->config->get('config_currency')) < $this->config->get('config_voucher_min')) || ($this->currency->convert($this->request->post['amount'], $this->currency->getCode(), $this->config->get('config_currency')) > $this->config->get('config_voucher_max'))) { 249 $this->error['amount'] = sprintf($this->language->get('error_amount'), $this->currency->format($this->config->get('config_voucher_min')), $this->currency->format($this->config->get('config_voucher_max')) . ' ' . $this->currency->getCode());bcm_umi_nand.c https://github.com/Mengqi/linux-2.6.git | C | 579 lines
6* under the terms of the GNU General Public License version 2, available at 7* http://www.broadcom.com/licenses/GPLv2.php (the "GPL"). 8* 73#define DMA_MIN_BUFLEN 512 74#define DMA_MAX_BUFLEN PAGE_SIZE 75#define USE_DIRECT_IO(len) (((len) < DMA_MIN_BUFLEN) || \ 75#define USE_DIRECT_IO(len) (((len) < DMA_MIN_BUFLEN) || \ 76 ((len) > DMA_MAX_BUFLEN)) 77 82 * 83 * Need to make sure REG_NAND_DATA_PADDR + DMA_MAX_LEN < 0x80002000 84 */ 84 */ 85#define DMA_MAX_LEN 1024 86EditView.html https://github.com/jacknicole/sugarcrm_dev.git | HTML | 249 lines
53 54<form name="EditView" id="EditView" method="POST" action="index.php" enctype="multipart/form-data"> 55 <input type="hidden" name="module" value="EmailTemplates"> 101 <td width="30%" > 102 <input name='name' tabindex="10" type="text" size='30' maxlength="255" value="{NAME}"> 103 </td> 210<!-- BEGIN: NoInbound3 --> 211<form id="upload_form" name="upload_form" method="POST" action='AttachDocuments.php' enctype="multipart/form-data"> 212 <div id="upload_div">shipping.php https://gitlab.com/reclamare/mao | PHP | 268 lines
1<?php 2class ControllerApiShipping extends Controller { 137 $this->response->addHeader('Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS'); 138 $this->response->addHeader('Access-Control-Max-Age: 1000'); 139 $this->response->addHeader('Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With'); 207 $this->response->addHeader('Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS'); 208 $this->response->addHeader('Access-Control-Max-Age: 1000'); 209 $this->response->addHeader('Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With'); 260 $this->response->addHeader('Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS'); 261 $this->response->addHeader('Access-Control-Max-Age: 1000'); 262 $this->response->addHeader('Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With');menus-sync.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 272 lines
63 <tr> 64 <th scope="row" class="check-column"><input type="checkbox" name="sync[menu_translation][<?php echo $menu_id ?>][<?php echo $language ?>]" value="<?php echo esc_attr( $name ) ?>"/></th> 65 <td><?php echo $lang_details[ 'display_name' ]; ?></td> 163 ?> 164 <input type="hidden" name="sync[menu_options][<?php echo $menu_id ?>][<?php echo $l[ 'code' ] ?>][auto_add]" value="<?php echo esc_attr( $menu[ 'translations' ][ $l[ 'code' ] ][ 'auto_add' ] ); ?>"/> 165 <?php 184 ?> 185 <input id="icl_msync_sync" type="submit" class="button-primary" value="<?php _e( 'Sync', 'sitepress' ); ?>"<?php if ( !$need_sync ): ?> disabled="disabled"<?php endif; ?> /> 186 190 data-max_input_vars="<?php echo ini_get( 'max_input_vars' ); ?>"> 191 <?php _e( 'The menus on this page may not sync because it requires more input variables. Please modify the <strong>max_input_vars</strong> setting in your php.ini or .htaccess files to <strong>!NUM!</strong> or more.', 'siteprss'); ?> 192 </span> 195 ?> 196 <input id="icl_msync_sync" type="submit" class="button-primary" value="<?php _e( 'Nothing Sync', 'sitepress' ); ?>"<?php if ( !$need_sync ): ?> disabled="disabled"<?php endif; ?> /> 197 <?phppdf.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 295 lines
65 $text = JText::_('COM_VIRTUEMART_VENDOR_FORM_INFO_LBL'); 66 echo '<span class="bold">'. JText::_('COM_VIRTUEMART_PRODUCT_DETAILS_VENDOR_LBL'). '</span>'; ?><a class="modal" href="<?php echo $link ?>"><?php echo $text ?></a><br /> 67 */ ?> 149 150 <?php // Ask a question about this product 151 $url = JRoute::_('index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id='.$this->product->virtuemart_product_id.'&virtuemart_category_id='.$this->product->virtuemart_category_id.'&tmpl=component'); ?> 152 <div class="ask-a-question"> 153 <a class="ask-a-question modal" rel="{handler: 'iframe', size: {x: 700, y: 550}}" href="<?php echo $url ?>"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL') ?></a> 154 </div> 166 } else { ?> 167 <span class="bold"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DETAILS_MANUFACTURER_LBL') ?></span><a class="modal" href="<?php echo $link ?>"><?php echo $text ?></a> 168 <?PHP } ?> 224 if( $this->showReview ) { 225 $maxrating = VmConfig::get('vm_maximum_rating_scale',5); 226 $ratingsShow = VmConfig::get('vm_num_ratings_show',3); // TODO add vm_num_ratings_show in vmConfigAbstract.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 456 lines
1<?php 2/** 24 */ 25require_once 'Zend/Validate/Interface.php'; 26 96 /** 97 * Limits the maximum returned length of a error message 98 * 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');PropelPager.php https://github.com/1989gaurav/Propel.git | PHP | 597 lines
1<?php 2 15 * 16 * require_once 'propel/util/PropelPager.php'; 17 * require_once 'PEACH/Propel/Poem/poemPeer.php'; 111 112 /** @var int Max rows to return (0 means all) */ 113 protected $max = 0; 281 $this->criteria->setOffset($this->start); 282 $this->criteria->setLimit($this->max); 283 $this->rs = call_user_func(array($this->getPeerClass(), $this->getPeerSelectMethod()), $this->criteria); 341 $recordCount = $this->getTotalRecordCount(); 342 if ($this->max > 0) { 343 $this->pages = ceil($recordCount/$this->max); 403 { 404 return !($this->getTotalRecordCount() % $this->max); 405 }functions.php https://github.com/torstein1989/Capstone_II.git | PHP | 315 lines
88 ?> 89 <article <?php comment_class(); ?> id="comment-<?php comment_ID() ?>"> 90 <?php echo get_avatar( $comment, 40 ); ?> 90 <?php echo get_avatar( $comment, 40 ); ?> 91 <?php printf( __( '%s says:', 'starkers' ), sprintf( '%s', get_comment_author_link() ) ); ?> 92 <?php if ( $comment->comment_approved == '0' ) : ?> 102 103 <?php comment_text(); ?> 104 104 105 <?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> 106 112 <article <?php comment_class(); ?> id="comment-<?php comment_ID() ?>"> 113 <p><?php _e( 'Pingback:', 'starkers' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __('(Edit)', 'starkers'), ' ' ); ?></p> 114 <?phpArray.php https://github.com/Martin1982/IBMessagingWorkshopServer.git | PHP | 355 lines
25 */ 26// require_once 'Zend/Queue/Adapter/AdapterAbstract.php'; 27 28/** 29 * Class for using a standard PHP array as a queue 30 * 148 */ 149 // require_once 'Zend/Queue/Exception.php'; 150 throw new Zend_Queue_Exception('Queue does not exist'); 198 if (!class_exists($classname)) { 199 // require_once 'Zend/Loader.php'; 200 Zend_Loader::loadClass($classname); 207 * 208 * @param integer $maxMessages Maximum number of messages to return 209 * @param integer $timeout Visibility timeout for these messageserrors.php https://github.com/libersoft/fengoffice-ls.git | PHP | 194 lines
1<?php 2 45 'invalid upload type' => 'Invalid file type. Allowed types are {0}', 46 'invalid upload dimensions' => 'Invalid image dimensions. Max size is {0}x{1} pixels', 47 'invalid upload size' => 'Invalid image size. Max size is {0}', 92 'event subject required' => 'Event subject is required', 93 'event description maxlength' => 'Description must be under 3000 characters', 94 'event subject maxlength' => 'Subject must be under 100 characters', 154 155 'maximum number of users reached error' => 'The maximum number of users has been reached', 156 'maximum number of users exceeded error' => 'The maximum number of users has been exceeded. The application will not work anymore until this issue is resolved.', 156 'maximum number of users exceeded error' => 'The maximum number of users has been exceeded. The application will not work anymore until this issue is resolved.', 157 'maximum disk space reached' => 'Your disk quota is full. Please delete some object before trying to add new ones, or contact support to enable more users.', 158 'name must be unique' => 'Sorry, but selected name is already taken',file.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 138 lines
1<?php 2/** 37$_lang['file_err_unzip_invalid_path'] = '解凍済みファイルのパスが不適切です。'; 38$_lang['file_err_unzip_missing_lib'] = ' zipライブラリが見当たりません。(php_zip.dll / zip.so)'; 39$_lang['file_err_upload'] = 'ファイルのアップロード中にエラーが発生しました。'; 130$_lang['upload.notpermitted.extension'] = 'Upload of this filetype (.[[+ext]]) is not allowed!'; 131$_lang['upload.notpermitted.filesize'] = 'Filesize bigger ([[+size]]) than allowed! (max. [[+max]])'; 132$_lang['upload.columns.file'] = 'ファイル';ParameterTest.php https://gitlab.com/x33n/respond | PHP | 416 lines
1<?php 2 19 'minLength' => 2, 20 'maxLength' => 5, 21 'location' => 'body', 34 $this->assertEquals(2, $p->getMinLength()); 35 $this->assertEquals(5, $p->getMaxLength()); 36 $this->assertEquals('body', $p->getLocation()); 136 ->setSentAs('f') 137 ->setMaxLength(1) 138 ->setMinLength(1) 139 ->setMinimum(2) 140 ->setMaximum(2) 141 ->setMinItems(3) 141 ->setMinItems(3) 142 ->setMaxItems(3) 143 ->setRequired(true)Core.class.php https://gitlab.com/adamlwalker/generatedata | PHP | 511 lines
37 private static $releaseDate = "2014-09-06"; 38 private static $minimumPHPVersion = "5.3.0"; 39 private static $minimumMySQLVersion = "4.1.3"; 46 // left as public, because they're often modified / accessed, and it's just too fussy otherwise. The 47 // PHPDoc helps my IDE figure out what the hell each of them are 48 177 if (isset($maxGeneratedRows)) { 178 self::$maxGeneratedRows = $maxGeneratedRows; 179 } 183 if (isset($maxDemoModeRows)) { 184 self::$maxDemoModeRows = $maxDemoModeRows; 185 } 273 */ 274 public static function getMaxGeneratedRows() { 275 return self::$maxGeneratedRows;Test.php https://bitbucket.org/shashwat_dinasource/bitscentral.git | PHP | 275 lines
18 * @copyright 1997-2006 The PHP Group 19 * @license http://www.php.net/license/3_0.txt PHP License 3.0 20 * @version CVS: $Id: Test.php,v 1.9 2006/02/03 22:28:08 cellog Exp $ 38 * @copyright 1997-2006 The PHP Group 39 * @license http://www.php.net/license/3_0.txt PHP License 3.0 40 * @version Release: 1.4.11 56 'shortopt' => 'r', 57 'doc' => 'Run tests in child directories, recursively. 4 dirs deep maximum', 58 ), 81 'shortopt' => 'u', 82 'doc' => 'Search parameters for AllTests.php, and use that to run phpunit-based tests', 83 ), 85 'doc' => '[testfile|dir ...] 86Run regression tests with PHP\'s regression testing script (run-tests.php).', 87 ),photospip_fr.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 142 lines
1<?php 2// This is a SPIP language file -- Ceci est un fichier langue de SPIP 69 'label_couleur_sepia' => 'Couleur :', 70 'label_hauteur_previsu' => 'Hauteur maximale de la prévisualisation en px (450 par défaut) : ', 71 'label_image_aplatir' => 'Aplatir l\'image', 84 'label_image_sincity' => 'Filtre Sin City', 85 'label_largeur_previsu' => 'Largeur maximale de la prévisualisation en px (450 par défaut) : ', 86 'label_limiter_version' => 'Limiter le nombre de versions possibles à :',medias_kr.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 191 lines
1<?php 2// This is a SPIP language file -- Ceci est un fichier langue de SPIP 97 'image_tourner_gauche' => 'Rotation 90° à gauche', # NEW 98 'info_doc_max_poids' => 'Les documents doivent obligatoirement faire moins de @maxi@ (ce fichier fait @actuel@).', # NEW 99 'info_document' => 'Document', # NEW 105 'info_illustrations' => 'Illustrations', # NEW 106 'info_image_max_poids' => 'Les images doivent obligatoirement faire moins de @maxi@ (ce fichier fait @actuel@).', # NEW 107 'info_inclusion_directe' => 'Inclusion directe :', # NEW 110 'info_largeur' => 'Largeur', # NEW 111 'info_logo_max_taille' => 'Les logos doivent obligatoirement faire moins de @maxi@ (ce fichier fait @actuel@).', # NEW 112 'info_modifier_document' => 'Modifier le document', # NEW 177 'upload_info_mode_image' => 'Retirer du portfolio', # NEW 178 'upload_limit' => 'Ce fichier est trop gros pour le serveur ; la taille maximum autorisée en <i>upload</i> est de @max@.', # NEW 179 'upload_zip_conserver' => 'Conserver l’archive après extraction', # NEWmedias_ja.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 188 lines
1<?php 2// This is a SPIP language file -- Ceci est un fichier langue de SPIP 97 'image_tourner_gauche' => '左に90°回転', 98 'info_doc_max_poids' => 'Les documents doivent obligatoirement faire moins de @maxi@ (ce fichier fait @actuel@).', # NEW 99 'info_document' => 'ドキュメント', 105 'info_illustrations' => 'Illustrations', # NEW 106 'info_image_max_poids' => 'Les images doivent obligatoirement faire moins de @maxi@ (ce fichier fait @actuel@).', # NEW 107 'info_inclusion_directe' => '直接インクルード:', 110 'info_largeur' => 'Largeur', # NEW 111 'info_logo_max_taille' => 'ロゴは、@maxi@より少ないべきです(このファイルは@actuel@)。', 112 'info_modifier_document' => 'Modifier le document', # NEW 174 'upload_info_mode_image' => 'Retirer du portfolio', # NEW 175 'upload_limit' => 'このファイルはサーバーにとって大きすぎます; 許可された<i>upload</i>の最大サイズは、@max@です。', 176 'upload_zip_conserver' => 'Conserver l’archive après extraction', # NEWPeriod.php https://github.com/quarkness/piwik.git | PHP | 418 lines
52 { 53 return $this->archiveNumericValuesGeneral($aNames, 'max'); 54 } 62 * @param array|string $aNames Array of strings or string containg the field names to select 63 * @param string $operationToApply Available operations = sum, max, min 64 */ 93 case 'max': 94 $results[$name] = max($results[$name], $valueToSum); 95 break; 176 177 $blob = $table->getSerialized( $maximumRowsInDataTableLevelZero, $maximumRowsInSubDataTable, $columnToSortByBeforeTruncation ); 178 destroy($table); 284 $record = $this->archiveNumericValuesSum($toSum); 285 $this->archiveNumericValuesMax( 'max_actions' ); 286massmessage.php https://github.com/TravianWar/Travianx.git | PHP | 327 lines
37 38$max_per_pass = 1000; 39 48 $users_count = $users_count['count']; 49 if ($_GET['from'] + $max_per_pass <= $users_count) $plus = $max_per_pass; else $plus = $users_count - $_GET['from']; 50 $sql = "INSERT INTO ".TB_PREFIX."mdata (`target`, `owner`, `topic`, `message`, `viewed`, `archived`, `send`, `time`) VALUES "; 69 mysql_query($sql); 70 if (($users_count - $_GET['from']) > $max_per_pass) echo header("Location: massmessage.php?send=true&from=",$_GET['from'] + $max_per_pass); else $done = true; 71} 163<head> 164 <title><?php echo SERVER_NAME ?></title> 165 <link REL="shortcut icon" HREF="favicon.ico"/> 227 <tr> 228 <td style="font-size: 10pt; text-align: left; width: 200px;"><?php echo MASS_SUBJECT; ?></td> 229 <td style="font-size: 10pt; text-align: left;">article.php https://bitbucket.org/eternaware/joomus.git | PHP | 323 lines
1<?php 2/** 104 $subQuery = $db->getQuery(true); 105 $subQuery->select('contact.user_id, MAX(contact.id) AS id, contact.language'); 106 $subQuery->from('#__contact_details AS contact');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", 99 "Restored by %2$s" : "Wiederhergestellt durch %2$s", 100 "Upload (max. %s)" : "Hochladen (max. %s)", 101 "File handling" : "Dateibehandlung", 101 "File handling" : "Dateibehandlung", 102 "Maximum upload size" : "Maximale Upload-Größe", 103 "max. possible: " : "maximal möglich:", 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.", 116 "Upload too large" : "Der Upload ist zu groß", 117 "The files you are trying to upload exceed the maximum size for file uploads on this server." : "Die Datei überschreitet die Maximalgröße für Uploads auf diesem Server.", 118 "No favorites" : "Keine Favoriten",FreeBusyGenerator.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 322 lines
1<?php 2 179 180 $maxRecurrences = 200; 181 181 182 while($iterator->valid() && --$maxRecurrences) { 183BaseUserService.php https://github.com/kervin/kyzstudio.git | PHP | 399 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: BaseUserService.php 20166 2010-01-09 19:00:17Z bkarwin $ 21 */ 25 */ 26#require_once 'Zend/Service/DeveloperGarden/Client/ClientAbstract.php'; 27 30 */ 31#require_once 'Zend/Service/DeveloperGarden/Response/BaseUserService/GetQuotaInformationResponse.php'; 32 35 */ 36#require_once 'Zend/Service/DeveloperGarden/Response/BaseUserService/ChangeQuotaPoolResponse.php'; 37 40 */ 41#require_once 'Zend/Service/DeveloperGarden/Response/BaseUserService/GetAccountBalanceResponse.php'; 42string-util.cpp https://github.com/tstarling/hiphop-php.git | C++ | 461 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.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 +----------------------------------------------------------------------+ 16 17#include "hphp/runtime/base/string-util.h" 18#include <algorithm>sale_note_a5.blade.php https://gitlab.com/laher01/factu40 | PHP | 230 lines
1@php 2 $establishment = $document->establishment; 8 9@endphp 10<html> 20 <div class="company_logo_box"> 21 <img src="data:{{mime_content_type(public_path("storage/uploads/logos/{$company->logo}"))}};base64, {{base64_encode(file_get_contents(public_path("storage/uploads/logos/{$company->logo}")))}}" alt="{{$company->name}}" class="company_logo" style="max-width: 150px;"> 22 </div> 148 @if($row->discounts) 149 @php 150 $total_discount_line = 0; 153 } 154 @endphp 155 {{ number_format($total_discount_line, 2) }} 215 <strong>PAGOS:</strong> </td></tr> 216 @php 217 $payment = 0;Array.php https://bitbucket.org/haichau59/manga.git | PHP | 355 lines
25 */ 26//require_once 'Zend/Queue/Adapter/AdapterAbstract.php'; 27 28/** 29 * Class for using a standard PHP array as a queue 30 * 148 */ 149 //require_once 'Zend/Queue/Exception.php'; 150 throw new Zend_Queue_Exception('Queue does not exist'); 198 if (!class_exists($classname)) { 199 //require_once 'Zend/Loader.php'; 200 Zend_Loader::loadClass($classname); 207 * 208 * @param integer $maxMessages Maximum number of messages to return 209 * @param integer $timeout Visibility timeout for these messagesnfs-storage-config.php https://github.com/qyjohn/openqrm.git | PHP | 336 lines
29 30<?php 31/* 50// error_reporting(E_ALL); 51$thisfile = basename($_SERVER['PHP_SELF']); 52$RootDir = $_SERVER["DOCUMENT_ROOT"].'/openqrm/base/'; 53$BaseDir = $_SERVER["DOCUMENT_ROOT"].'/openqrm/'; 54require_once "$RootDir/include/user.inc.php"; 55require_once "$RootDir/class/image.class.php"; 55require_once "$RootDir/class/image.class.php"; 56require_once "$RootDir/class/storage.class.php"; 57require_once "$RootDir/class/resource.class.php"; 57require_once "$RootDir/class/resource.class.php"; 58require_once "$RootDir/class/deployment.class.php"; 59require_once "$RootDir/include/htmlobject.inc.php";slot.c https://github.com/andikleen/linux-misc.git | C | 380 lines
56 57static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf) 58{ 58{ 59 return bus_speed_read(slot->bus->max_bus_speed, buf); 60} 88static struct pci_slot_attribute pci_slot_attr_max_speed = 89 __ATTR(max_bus_speed, S_IRUGO, max_speed_read_file, NULL); 90static struct pci_slot_attribute pci_slot_attr_cur_speed = 94 &pci_slot_attr_address.attr, 95 &pci_slot_attr_max_speed.attr, 96 &pci_slot_attr_cur_speed.attr, 108 char *new_name; 109 int len, max, dup; 110yii.php https://gitlab.com/isdzulqor/Slis-Dev | PHP | 125 lines
1<?php 2/** 86 '{attribute} must be less than or equal to "{compareValue}".' => '{attribute} mestilah kurang daripada atau sama dengan "{compareValue}".', 87 '{attribute} must be no greater than {max}.' => '{attribute} tidak boleh lebih besar daripada {max}.', 88 '{attribute} must be no less than {min}.' => '{attribute} tidak boleh kurang daripada {min}.', 92 '{attribute} mesti mengandungi sekurang-kurangnya {min, number} {min, plural, one{character} other{characters}}.', 93 '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => 94 '{attribute} mesti mengangungi paling banyak {max, number} {max, plural, one{character} other{characters}}.',k-Means_clustering.php https://github.com/srahn/kvwmap.git | PHP | 233 lines
52 53 $maxima = kMeansClustering::findLocalMaxima($glatt); 54#echo '<br>$maxima: ';var_dump($maxima); echo '<br>'; 54#echo '<br>$maxima: ';var_dump($maxima); echo '<br>'; 55 $dataMax = array_reduce($data, function($p,$c) {return max($p,$c);},-INF); 56 $dataMin = array_reduce($data, function($p,$c) {return min($p,$c);}, INF); 121 // calculate offset for cluster-splitting (e.g. 1/256th of the average cluster size) 122 $dataMax = array_reduce($data, function($p,$c) {return max($p,$c);},-INF); 123 $dataMin = array_reduce($data, function($p,$c) {return min($p,$c);}, INF); 123 $dataMin = array_reduce($data, function($p,$c) {return min($p,$c);}, INF); 124 $offset = ($dataMax - $dataMin) / ($numCls << 8); 125 227 if ($value > $userdata['array'][$left] && $value >= $userdata['array'][$right]) $userdata['maxima'][] = $idx; 228 }, array('maxima'=> &$maxima, 'array'=>$array, 'maxIdx' => count($array)-1)); 229 return $maxima;SYLK.php https://gitlab.com/Zinnurain/destination_finder_beta | 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 {ext_zlib.php https://github.com/tstarling/hiphop-php.git | PHP | 376 lines
1<?hh 2// @generated by docskel.php 3 19 * @param int $level - The level of compression. Can be given as 0 for no 20 * compression up to 9 for maximum compression. If -1 is used, the 21 * default compression of the zlib library is used which is 6. 31 * @param string $data - The data to decode, encoded by gzencode(). 32 * @param int $length - The maximum length of data to decode. 33 * 44 * @param int $level - The level of compression. Can be given as 0 for no 45 * compression up to 9 for maximum compression. If not given, the default 46 * compression level will be the default compression level of the zlib 58 * @param int $level - The level of compression. Can be given as 0 for no 59 * compression up to 9 for maximum compression. If not given, the default 60 * compression level will be the default compression level of the zlibValidatorTypeGuesser.php https://github.com/Exercise/symfony.git | PHP | 273 lines
1<?php 2 58 */ 59 public function guessMaxLength($class, $property) 60 { 63 return $this->guess($class, $property, function (Constraint $constraint) use ($guesser) { 64 return $guesser->guessMaxLengthForConstraint($constraint); 65 }); 145 146 case 'Symfony\Component\Validator\Constraints\MaxLength': 147 case 'Symfony\Component\Validator\Constraints\MinLength': 153 case 'Symfony\Component\Validator\Constraints\Size': 154 case 'Symfony\Component\Validator\Constraints\Max': 155 return new TypeGuess('number', array(), Guess::LOW_CONFIDENCE); 175 /** 176 * Guesses a field's maximum length based on the given constraint 177 *analyze.c https://bitbucket.org/JasonGross/alphabets.git | C | 236 lines
23% % 24% http://www.imagemagick.org/script/license.php % 25% % 83 char 84 text[MaxTextExtent]; 85 186 brightness_mean=brightness_sum_x/area; 187 (void) FormatMagickString(text,MaxTextExtent,"%g",brightness_mean); 188 (void) SetImageProperty(image,"filter:brightness:mean",text); 190 area*brightness_sum_x/area)); 191 (void) FormatMagickString(text,MaxTextExtent,"%g", 192 brightness_standard_deviation); 200 brightness_standard_deviation)-3.0; 201 (void) FormatMagickString(text,MaxTextExtent,"%g",brightness_kurtosis); 202 (void) SetImageProperty(image,"filter:brightness:kurtosis",text);fckeditor.css https://gitlab.com/ptisky/API_prestashop | CSS | 536 lines
83overflow-x: hidden; 84max-height:380px; 85} 266span.fileFlash, span.fileVideo, span.filePicture, 267span.filePPT, span.fileExcel, span.filePhp, 268span.fileMusic, span.fileExe, span.fileAcrobat, 289span.fileExcel{background-image:url(../images/small_icon/fileExcel.png);} 290span.filePhp{background-image:url(../images/small_icon/filePhp.png);} 291span.fileMusic{background-image:url(../images/small_icon/fileMusic.png);} 301dt.fileFlash, dt.fileVideo, 302dt.filePPT, dt.fileExcel, dt.filePhp, 303dt.fileMusic, dt.fileExe, dt.fileAcrobat, 328dt.fileExcel{background-image:url(../images/big_icon/fileExcel.png);} 329dt.filePhp{background-image:url(../images/big_icon/filePhp.png);} 330dt.fileMusic{background-image:url(../images/big_icon/fileMusic.png);}IWnoteboard_user_nova.tpl https://github.com/intraweb-modules13/IWnoteboard.git | Smarty Template | 355 lines
44 if(f.m.value=="n"){ 45 f.action="index.php?module=IWnoteboard&func=crear" 46 }else{ 46 }else{ 47 f.action="index.php?module=IWnoteboard&func=update" 48 } 60 var minYear = 00; 61 var maxYear = 99; 62 var errorMsg = ""; 72 errorMsg = "{{gt text="Some of the dates in the form are not correct"}} " + field.value; 73 } else if(regs[3] < minYear || regs[3] > maxYear) { 74 //for gt detection 178 <label for="data">{gt text="Publish date"}</label> 179 <input type="text" name="data" id="data" maxlength="8" size="8" value="{$data}" onFocus=blur() /> 180 </div>template-bootstrap.php https://gitlab.com/danielortiz1982/spicer | PHP | 198 lines
14 <link rel='stylesheet' type='text/css' href='<?php echo PAGEDIR; ?>/machines/libraries/mmenu/jquery.mmenu.all.css' /> 15 <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/machines/libraries/owlcarousel/owlcarousel.css"> 16 <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/styles/styles.min.css"> 25 </head> 26 <body data-tempdir="<?php echo PAGEDIR; ?>" id="<?php echo get_post( $post )->post_name; ?>" <?=(returnMobile() == 'true')? 'class="mobileMode"' : 'class="desktopMode"';?>> 27 75 <a class="navbar-brand" href="<?php echo home_url(); ?>"> 76 <img src="<?php echo PAGEDIR; ?>/images/graphics/logo.png" alt="<?php bloginfo('name');?>" /> 77 </a> 78 </div> 79 <?php 80 192 <?php if (returnBrowser() !== "internet-explorer-8"): ?> 193 <script src="<?php echo PAGEDIR; ?>/machines/libraries/dynamics/dynamics.js"></script> 194 <?php endif; ?>view_jadwal_pelajaran.php https://gitlab.com/imadd23/sijs | PHP | 303 lines
15 white-space: nowrap; 16 max-width: 30px; 17 overflow-x: hidden; 27 min-width: 50px !important; 28 max-width: 50px !important; 29 } 49</style> 50<!--<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/ace/plugin/perfect-scrollbar/css/perfect-scrollbar.css');?>">--> 51<div class="row"> 53 <h3 class="row header smaller lighter blue"> 54 <span class="col-sm-6"> Jadwal Pelajaran <?php echo $semester;?></span><!-- /.col --> 55 57 <label class="pull-right inline"> 58 <?php if ($obj->has_access('jadwal_pelajaran', 'view')){ ?> 59 <a class="btn btn-xs btn-primary" target="_blank" href="<?php echo site_url('jadwal_pelajaran/export');?>">group.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 214 lines
1<?php 2 68 } 69 list( $weight ) = $db->sql_fetchrow( $db->sql_query( "SELECT max(`weight`) FROM " . $table_name . " WHERE `parentid`=" . $db->dbescape( $data['parentid'] ) . "" ) ); 70 $weight = intval( $weight ) + 1; 82 nv_del_moduleCache( $module_name ); 83 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" ); 84 die(); 101 { 102 list( $weight ) = $db->sql_fetchrow( $db->sql_query( "SELECT max(`weight`) FROM " . $table_name . " WHERE `parentid`=" . $db->dbescape( $data['parentid'] ) . "" ) ); 103 $weight = intval( $weight ) + 1; 110 111 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" ); 112 die(); 209 210include ( NV_ROOTDIR . "/includes/header.php" ); 211echo nv_admin_theme( $contents );img2thumb.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 393 lines
27* @var int $bg_blue 0-255 - blue color variable for background filler 28* @var int $maxSize 0-1 - true/false - should thumbnail be filled to max pixels 29*/ 65 { 66 $this->maxSize = false; 67 } 195 196 $maxX = $newxsize; 197 $maxY = $newysize; 221 if( function_exists("imagecreatetruecolor") ) 222 $im_out = imagecreatetruecolor($maxX,$maxY); 223 else 223 else 224 $im_out = imagecreate($maxX,$maxY); 225Mmc.h https://gitlab.com/envieidoc/Clover | C Header | 302 lines
8 which accompanies this distribution. The full text of the license may be found at 9 http://opensource.org/licenses/bsd-license.php 10 99 UINT16 WRITE_BL_PARTIAL: 1; // Partial blocks for write allowed [21:21] 100 UINT16 WRITE_BL_LEN: 4; // Max. write data block length [25:22] 101 UINT16 R2W_FACTOR: 3; // Write speed factor [28:26] 108 UINT32 C_SIZE_MULT: 3; // Device size multiplier [49:47] 109 UINT32 VDD_W_CURR_MAX: 3; // Max. write current @ VDD max [52:50] 110 UINT32 VDD_W_CURR_MIN: 3; // Max. write current @ VDD min [55:53] 110 UINT32 VDD_W_CURR_MIN: 3; // Max. write current @ VDD min [55:53] 111 UINT32 VDD_R_CURR_MAX: 3; // Max. read current @ VDD max [58:56] 112 UINT32 VDD_R_CURR_MIN: 3; // Max. read current @ VDD min [61:59] 120 UINT32 READ_BL_PARTIAL: 1; // Partial blocks for read allowed [79:79] 121 UINT32 READ_BL_LEN: 4; // Max. read data block length [83:80] 122 UINT32 CCC: 12;// Card command classes [95:84]password.c https://gitlab.com/envieidoc/advancedtomato2 | C | 460 lines
14 +----------------------------------------------------------------------+ 15 | Authors: Anthony Ferrara <ircmaxell@php.net> | 16 +----------------------------------------------------------------------+ 48 49static char* php_password_get_algo_name(const php_password_algo algo) 50{ 59 60static php_password_algo php_password_determine_algo(const char *hash, const size_t len) 61{ 155 for (i = 0; i < raw_length; i++) { 156 buffer[i] ^= (char) (255.0 * php_rand(TSRMLS_C) / RAND_MAX); 157 } 161 if (php_password_salt_to64(buffer, raw_length, length, result) == FAILURE) { 162 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Generated salt too short"); 163 efree(buffer);MultishippingTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 271 lines
1<?php 2/** 7 8class MultishippingTest extends \PHPUnit_Framework_TestCase 9{ 15 /** 16 * @var \PHPUnit_Framework_MockObject_MockObject 17 */ 20 /** 21 * @var \PHPUnit_Framework_MockObject_MockObject 22 */ 25 /** 26 * @var \PHPUnit_Framework_MockObject_MockObject 27 */ 30 /** 31 * @var \PHPUnit_Framework_MockObject_MockObject 32 */options.php https://gitlab.com/alexprowars/bitrix | PHP | 479 lines
1<?php 2$module_id = 'landing'; 23// lang 24IncludeModuleLangFile($docRoot . '/bitrix/modules/main/options.php'); 25Loc::loadMessages(__FILE__); 333 ob_start(); 334 require_once($docRoot . '/bitrix/modules/main/admin/group_rights.php'); 335 ob_end_clean(); 400 elseif ($type[0] == 'text'): 401 ?><input type="text" size="<?echo $type[1]?>" maxlength="255" value="<?echo \htmlspecialcharsbx($val)?>" name="<?echo \htmlspecialcharsbx($Option[0])?>" /><? 402 elseif ($type[0] == 'doubletext'): 403 list($val1, $val2) = explode('x', $val); 404 ?><input type="text" size="<?echo $type[1]?>" maxlength="255" value="<?echo \htmlspecialcharsbx($val1)?>" name="<?echo \htmlspecialcharsbx($Option[0].'_1')?>" /><? 405 ?><input type="text" size="<?echo $type[1]?>" maxlength="255" value="<?echo \htmlspecialcharsbx($val2)?>" name="<?echo \htmlspecialcharsbx($Option[0].'_2')?>" /><? 464 $tabControl->BeginNextTab(); 465 require_once($docRoot . '/bitrix/modules/main/admin/group_rights.php'); 466composite_log.php https://gitlab.com/alexprowars/bitrix | PHP | 461 lines
14 */ 15require_once(dirname(__FILE__)."/../include/prolog_admin_before.php"); 16require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); 16require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); 17define("HELP_FILE", "settings/composite_pages.php"); 18 35 $duration = intval($request->getPost("duration")); 36 $duration = max($duration, 300); 37 Option::set("main", "composite_debug_duration", $duration); 208 209 $pageCell = '<div style="max-width:250px; word-wrap: break-word"><a href="//%s" target="_blank">%s</a><br>%s</div>'; 210 $pageLink = htmlspecialcharsbx($record["HOST"].$record["URI"]); 221 $messageCell = 222 '<a href="composite_diff.php?lang='.LANGUAGE_ID.'&log_id='.$record["ID"].'" target="_blank">'. 223 Loc::getMessage("MAIN_COMPOSITE_LOG_VIEW_DIFF").'</a>';Users.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 209 lines
1<?php 2/* 134 * all expressions to pass the filters. 135 * @opt_param string maxResults The maximum number of results per page that 136 * should be returned. If the number of available results is larger than 136 * should be returned. If the number of available results is larger than 137 * maxResults, Compute Engine returns a nextPageToken that can be used to get 138 * the next page of results in subsequent list requests.sfValidatorDateTest.php https://github.com/bheneka/gitta.git | PHP | 246 lines
1<?php 2 10 11require_once(dirname(__FILE__).'/../../bootstrap/unit.php'); 12 177 178// max and min options 179$t->diag('max and min options'); 180$v->setOption('min', strtotime('1 Jan 2005')); 181$v->setOption('max', strtotime('31 Dec 2007')); 182$t->is($v->clean('18 october 2005'), '2005-10-18', '->clean() can accept a max/min option'); 185 $v->clean('18 october 2004'); 186 $t->fail('->clean() throws an exception if the date is not within the range provided by the min/max options'); 187} 189{ 190 $t->pass('->clean() throws an exception if the date is not within the range provided by the min/max options'); 191}security.php https://github.com/kpike/moodle.git | PHP | 131 lines
1<?php 2 24 25 $max_upload_choices = get_max_upload_sizes(); 26 // maxbytes set to 0 will allow the maximum server limit for uploads 27 $max_upload_choices[0] = get_string('serverlimit', 'admin'); 28 $temp->add(new admin_setting_configselect('maxbytes', get_string('maxbytes', 'admin'), get_string('configmaxbytes', 'admin'), 0, $max_upload_choices)); 29 // 100MB 40 $temp->add(new admin_setting_configcheckbox('enabletrusttext', get_string('enabletrusttext', 'admin'), get_string('configenabletrusttext', 'admin'), 0)); 41 $temp->add(new admin_setting_configselect('maxeditingtime', get_string('maxeditingtime','admin'), get_string('configmaxeditingtime','admin'), 1800, 42 array(60 => get_string('numminutes', '', 1), 69 $temp->add(new admin_setting_configtext('minpasswordnonalphanum', get_string('minpasswordnonalphanum', 'admin'), get_string('configminpasswordnonalphanum', 'admin'), 1, PARAM_INT)); 70 $temp->add(new admin_setting_configtext('maxconsecutiveidentchars', get_string('maxconsecutiveidentchars', 'admin'), get_string('configmaxconsecutiveidentchars', 'admin'), 0, PARAM_INT)); 71 $temp->add(new admin_setting_configcheckbox('groupenrolmentkeypolicy', get_string('groupenrolmentkeypolicy', 'admin'), get_string('groupenrolmentkeypolicy_desc', 'admin'), 1));pwp.c https://bitbucket.org/wallwizz/imagemagick-6.8.4-for-bb10.git | C | 319 lines
25% % 26% http://www.imagemagick.org/script/license.php % 27% % 155 unsigned char 156 magick[MaxTextExtent]; 157 219 break; 220 (void) FormatLocaleString(next_image->filename,MaxTextExtent, 221 "slide_%02ld.sfw",(long) next_image->scene);sysvmsg.c https://gitlab.com/envieidoc/tomato | C | 477 lines
2 +----------------------------------------------------------------------+ 3 | PHP Version 5 | 4 +----------------------------------------------------------------------+ 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 1997-2014 The PHP Group | 6 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 319 if (maxsize <= 0) { 320 php_error_docref(NULL TSRMLS_CC, E_WARNING, "maximum size of the message has to be greater than zero"); 321 return; 342 343 messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf)); 344mmc_ffu.c https://gitlab.com/SpasilliumNexus/frankenclark_kernel | C | 496 lines
131 max_page_cnt = limit; 132 area->max_tfr = max_page_cnt * PAGE_SIZE; 133 } 138 if (area->max_segs * max_seg_page_cnt > max_page_cnt) 139 area->max_segs = DIV_ROUND_UP(max_page_cnt, max_seg_page_cnt); 140 229 if (area.max_tfr >> 9 > card->host->max_blk_count) 230 area.max_tfr = card->host->max_blk_count << 9; 231 if (area.max_tfr > card->host->max_req_size) 231 if (area.max_tfr > card->host->max_req_size) 232 area.max_tfr = card->host->max_req_size; 233 if (DIV_ROUND_UP(area.max_tfr, area.max_seg_sz) > area.max_segs) 233 if (DIV_ROUND_UP(area.max_tfr, area.max_seg_sz) > area.max_segs) 234 area.max_tfr = area.max_segs * area.max_seg_sz; 235wl_cfgp2p.h https://github.com/CyanogenMod/lge-kernel-omap4.git | C Header | 291 lines
8 * under the terms of the GNU General Public License version 2 (the "GPL"), 9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 10 * following added to such license: 42 P2PAPI_BSSCFG_CONNECTION, /* maps to driver's P2P connection bsscfg */ 43 P2PAPI_BSSCFG_MAX 44} p2p_bsscfg_type_t; 45 46#define IE_MAX_LEN 300 47//LGE_UPDATE_S, moon-wifi@lge.com by wo0ngs 2012-06-15, yangseon.so, set p2p_res_max_len to 1400 47//LGE_UPDATE_S, moon-wifi@lge.com by wo0ngs 2012-06-15, yangseon.so, set p2p_res_max_len to 1400 48#define P2P_RES_MAX_LEN 1400 49//LGE_UPDATE_E, moon-wifi@lge.com by wo0ngs 2012-06-15, yangseon.so, set p2p_res_max_len to 1400 52struct p2p_saved_ie { 53 u8 p2p_probe_req_ie[IE_MAX_LEN]; 54//LGE_UPDATE_S, moon-wifi@lge.com by wo0ngs 2012-06-15, yangseon.so, set p2p_res_max_len to 1400class-wp-media-list-table.php https://github.com/vidor/vidor.me.git | PHP | 396 lines
174?> 175 <tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top"> 176<?php 253?> 254 <td <?php echo $attributes ?>><?php 255 $tags = get_the_tags(); 270?> 271 <td <?php echo $attributes ?>><?php echo has_excerpt() ? $post->post_excerpt : ''; ?></td> 272<?php 291?> 292 <td <?php echo $attributes ?>><?php echo $h_time ?></td> 293<?php 313?> 314 <td <?php echo $attributes ?>><?php _e( '(Unattached)' ); ?><br /> 315 <?php if( $user_can_edit ) {?>migration_tables_core_538.php https://bitbucket.org/blackriver/openx.git | PHP | 318 lines
1<?php 2 24+---------------------------------------------------------------------------+ 25$Id: migration_tables_core_538.php 81772 2012-09-11 00:07:29Z chris.nutting $ 26*/ 27 28require_once(MAX_PATH.'/lib/OA/Upgrade/Migration.php'); 29 298 { 299 $prefix = $GLOBALS['_MAX']['CONF']['table']['prefix']; 300 $tableName = $this->oDBH->quoteIdentifier($prefix.$table, true);BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
1<?php 2/** 32 * @param mixed $var variable to be dumped 33 * @param integer $depth maximum depth that the dumper should go into the variable. Defaults to 10. 34 * @param boolean $highlight whether the result should be syntax-highlighted 45 * @param mixed $var variable to be dumped 46 * @param integer $depth maximum depth that the dumper should go into the variable. Defaults to 10. 47 * @param boolean $highlight whether the result should be syntax-highlighted 56 if ($highlight) { 57 $result = highlight_string("<?php\n" . self::$_output, true); 58 self::$_output = preg_replace('/<\\?php<br \\/>/', '', $result, 1); 119 self::$_output .= "$className#$id\n" . $spaces . '('; 120 if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) { 121 $dumpValues = $var->__debugInfo(); 141 * 142 * The string is a valid PHP expression that can be evaluated by PHP parser 143 * and the evaluation result will give back the variable value.fa.inc.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 313 lines
1<?php 2$translations = array( 16 'No extension' => 'پسوند نامعتبر', 17 'None of the supported PHP extensions (%s) are available.' => ' پسوند پی اچ پی در دسترس نیست (%s) تعداد', 18 'Session support must be enabled.' => 'پشتيباني از نشست بايستي فعال گردد', 19 'Session expired, please login again.' => 'نشست پايان يافته، لطفا دوباره وارد شويد', 20 '%s version: %s through PHP extension %s' => 'نسخه %s : %s توسعه پی اچ پی %s', 21 'Refresh' => 'بازيابي', 64 'Unable to upload a file.' => 'قادر به بارگذاري فايل نيستيد', 65 'Maximum allowed file size is %sB.' => ' %sB حداكثر اندازه فايل', 66 'Too big POST data. Reduce the data or increase the %s configuration directive.' => 'حجم داده ارسالي برزگ است. حجم داده كاهش دهيد و يا مقدار %s را در پيكربندي افزايش دهيد.', 166 'Remove' => 'حذف', 167 'Maximum number of allowed fields exceeded. Please increase %s.' => 'حداکثر مجاز فیلدهای مجاز اشباع شد. لطفا %s را کاهش دهید', 168innodb.lib.php https://github.com/drbowen/openemr.git | PHP | 411 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin-Engines 7 */ 7 */ 8if (! defined('PHPMYADMIN')) { 9 exit; 14 * 15 * @package PhpMyAdmin-Engines 16 */ 92 ), 93 'innodb_max_dirty_pages_pct' => array( 94 'type' => PMA_ENGINE_DETAILS_TYPE_NUMERIC, 95 ), 96 'innodb_max_purge_lag' => array( 97 ),CookieJar.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 385 lines
1<?php 2 26 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 27 * @link https://wiki.jasig.org/display/CASC/phpCAS 28 */ 35 * @category Authentication 36 * @package PhpCAS 37 * @author Adam Franco <afranco@middlebury.edu> 127 * Parse Cookies without PECL 128 * From the comments in http://php.net/manual/en/function.http-parse-cookie.php 129 * 137 { 138 phpCAS::traceBegin(); 139 $cookies = array(); 145 146 phpCAS::traceEnd($cookies); 147 return $cookies;ogniter_default_lang.php https://bitbucket.org/NeoArc/ogniter-language.git | PHP | 355 lines
1<?php 2 50$lang['og_num_alliances'] = '# alianças'; 51$lang['og_max_score'] = 'Pontuação máxima'; 52$lang['og_enabled'] = 'Ativado'; 325$lang['total_energy'] = 'Total energy'; 326$lang['max_temp'] = 'Max. temperature'; 327$lang['energy'] = 'Energy';functions.php https://gitlab.com/eita/agencia-consumo-responsavel | PHP | 376 lines
327 <p><label for="<?php echo $this->get_field_id( 'number' ); ?>"><?php _e( 'Number of feeds to show:' ); ?></label> 328 <input id="<?php echo $this->get_field_id( 'number' ); ?>" name="<?php echo $this->get_field_name( 'number' ); ?>" type="text" value="<?php echo $number; ?>" size="3" /></p> 329 330 <p><label for="<?php echo $this->get_field_id( 'show_feed_title' ); ?>"><?php _e( 'Display feed title (Yes/No):' ); ?></label> 331 <input id="<?php echo $this->get_field_id( 'show_feed_title' ); ?>" name="<?php echo $this->get_field_name( 'show_feed_title' ); ?>" type="checkbox" value="true" <?php echo $show_feed_title?'checked="checked"':''; ?> /></p> 332 333 <p><label for="<?php echo $this->get_field_id( 'feed_words' ); ?>"><?php _e( 'No. of feed words to show:' ); ?></label> 334 <input id="<?php echo $this->get_field_id( 'feed_words' ); ?>" name="<?php echo $this->get_field_name( 'feed_words' ); ?>" type="text" value="<?php echo $feed_words; ?>" size="3" /></p> 335 336 <p><label for="<?php echo $this->get_field_id( 'content_height' ); ?>"><?php _e( 'Widget Height:' ); ?></label> 337 <input id="<?php echo $this->get_field_id( 'content_height' ); ?>" name="<?php echo $this->get_field_name( 'content_height' ); ?>" type="text" value="<?php echo $content_height; ?>" size="6" /><small><br /> 338e.g. 400px<br /> 342 <p><label for="<?php echo $this->get_field_id( 'rfw_cache' ); ?>"><?php _e( 'Cache Period:' ); ?></label> 343 <input id="<?php echo $this->get_field_id( 'rfw_cache' ); ?>" name="<?php echo $this->get_field_name( 'rfw_cache' ); ?>" type="text" value="<?php echo $rfw_cache; ?>" placeholder="Enter in seconds" size="20" /><small><br /> 344e.g. 7200 seconds = 2 hours<br />wl_cfgp2p.h https://gitlab.com/SerenityS/slteskt_kernel | C Header | 429 lines
8 * under the terms of the GNU General Public License version 2 (the "GPL"), 9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 10 * following added to such license: 42 P2PAPI_BSSCFG_CONNECTION, /* maps to driver's P2P connection bsscfg */ 43 P2PAPI_BSSCFG_MAX 44} p2p_bsscfg_type_t; 53 P2P_SCAN_NORMAL, /* scan during not-connected status */ 54 P2P_SCAN_PURPOSE_MAX 55} p2p_scan_purpose_t; 56 57/* vendor ies max buffer length for probe response or beacon */ 58#define VNDR_IES_MAX_BUF_LEN 1400 64 u8 p2p_probe_req_ie[VNDR_IES_BUF_LEN]; 65 u8 p2p_probe_res_ie[VNDR_IES_MAX_BUF_LEN]; 66 u8 p2p_assoc_req_ie[VNDR_IES_BUF_LEN];LoggerFormattingInfo.html https://github.com/kennethjiang/Wolke.git | HTML | 349 lines
99 <div class="info-box-body"> 100 <!-- ========== Info from phpDoc block ========= --> 101<p class="short-description">This class encapsulates the information obtained when parsing formatting modifiers in conversion modifiers.</p> 105 <p class="notes"> 106 Located in <a class="field" href="_helpers---LoggerFormattingInfo.php.html">/helpers/LoggerFormattingInfo.php</a> (line <span class="field">29</span>) 107 </p> 134 <span class="var-type">mixed</span> 135 <a href="#$max" title="details" class="var-name">$max</a> 136 </div> 212</div> 213<a name="var$max" id="$max"><!-- --></A> 214<div class="oddrow"> 345 <p class="notes" id="credit"> 346 Documentation generated on Fri, 27 Nov 2009 07:44:50 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> 347 </p>view.html.php https://gitlab.com/julienv/joomleague | PHP | 170 lines
1<?php defined( '_JEXEC' ) or die( 'Restricted access' ); 2 82 { 83 require_once( JLG_PATH_SITE.DS."assets".DS."classes".DS."open-flash-chart".DS."open-flash-chart.php" ); 84 93 94 $matchDayGoalsCountMax = 0; 95 foreach( $data as $rw ) 159 $y = new y_axis(); 160 $y->set_range( 0, max($matchDayGoalsCount)+2, $config['y_axis_steps']); 161 $y->set_colours($config['y_axis_colour'], $config['y_axis_colour_inner']);grid.locale-ro.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 198 lines
5 * Dual licensed under the MIT and GPL licenses: 6 * http://www.opensource.org/licenses/mit-license.php 7 * http://www.gnu.org/licenses/gpl.html 87 minValue: "valoarea trebuie sa fie mai mare sau egală cu", 88 maxValue: "valoarea trebuie sa fie mai mică sau egală cu", 89 email: "nu este o adresă de e-mail validă",