100+ results results for 'php empty repo:goldie/zend-framework1' (188 ms)
1<?php 2# <one line to give a brief idea of what this does.> 24 25require_once('../../include/init.php'); 26require_once('../../include/account.php'); 53 if (!$form_realname) 54 { fb(_("You must supply a non-empty real name."),1); } 55 104 105 # Unset variables so the form below will be empty 106 $form_id = null; 176 { 177 print form_header($_SERVER["PHP_SELF"].'#form', $form_id); 178 print form_input("hidden", "group_id", $group_id); 213 if (!$form_realname) 214 { fb(_("You must supply a non-empty real name."),1); } 215 elseinstall_deDE.php http://wowroster.googlecode.com/svn/trunk/ | PHP | 411 lines
1<?php 2/** 8 * @license http://www.gnu.org/licenses/gpl.html Licensed under the GNU General Public License v3. 9 * @version SVN: $Id: install_deDE.php 2222 2010-12-05 10:05:37Z c.treyce@gmail.com $ 10 * @link http://www.wowroster.net 48 49stages should be integers, ascending, starting at 0, without gaps. In other words, put them in the right order and have PHP assign the keys. 50 54 55The 'Key' entry, recommended to be last (though place doesn't really matter) names the icon and the lockpicking skill. If a lock is unpickable, leave the field empty 56*/widget-categories.php http://ooxx.googlecode.com/svn/trunk/ | PHP | 246 lines
217 <label for="<?php echo $this->get_field_id( 'hierarchical' ); ?>"> 218 <input class="checkbox" type="checkbox" <?php checked( $instance['hierarchical'], true ); ?> id="<?php echo $this->get_field_id( 'hierarchical' ); ?>" name="<?php echo $this->get_field_name( 'hierarchical' ); ?>" /> <?php _e( 'Hierarchical?', $this->textdomain ); ?> <code>hierarchical</code></label> 219 </p> 225 <label for="<?php echo $this->get_field_id( 'show_last_update' ); ?>"> 226 <input class="checkbox" type="checkbox" <?php checked( $instance['show_last_update'], true ); ?> id="<?php echo $this->get_field_id( 'show_last_update' ); ?>" name="<?php echo $this->get_field_name( 'show_last_update' ); ?>" /> <?php _e( 'Show last update?', $this->textdomain ); ?> <code>show_last_update</code></label> 227 </p> 229 <label for="<?php echo $this->get_field_id( 'show_count' ); ?>"> 230 <input class="checkbox" type="checkbox" <?php checked( $instance['show_count'], true ); ?> id="<?php echo $this->get_field_id( 'show_count' ); ?>" name="<?php echo $this->get_field_name( 'show_count' ); ?>" /> <?php _e( 'Show count?', $this->textdomain ); ?> <code>show_count</code></label> 231 </p> 233 <label for="<?php echo $this->get_field_id( 'hide_empty' ); ?>"> 234 <input class="checkbox" type="checkbox" <?php checked( $instance['hide_empty'], true ); ?> id="<?php echo $this->get_field_id( 'hide_empty' ); ?>" name="<?php echo $this->get_field_name( 'hide_empty' ); ?>" /> <?php _e( 'Hide empty?', $this->textdomain ); ?> <code>hide_empty</code></label> 235 </p> 237 <label for="<?php echo $this->get_field_id( 'feed' ); ?>"> 238 <input class="checkbox" type="checkbox" <?php checked( $instance['feed'], true ); ?> id="<?php echo $this->get_field_id( 'feed' ); ?>" name="<?php echo $this->get_field_name( 'feed' ); ?>" /> <?php _e( 'Show RSS feed?', $this->textdomain ); ?> <code>feed</code></label> 239 </p>Sliding.php https://code.google.com/p/s3db/ | PHP | 315 lines
1<?php 2// +----------------------------------------------------------------------+ 4// +----------------------------------------------------------------------+ 5// | Copyright (c) 1997-2003 The PHP Group | 6// +----------------------------------------------------------------------+ 6// +----------------------------------------------------------------------+ 7// | This source file is subject to version 2.0 of the PHP license, | 8// | that is bundled with this package in the file LICENSE, and is | 9// | available at through the world-wide-web at | 10// | http://www.php.net/license/2_02.txt. | 11// | If you did not receive a copy of the PHP license and are unable to | 12// | obtain it through the world-wide-web, please send a note to | 13// | license@php.net so we can mail you a copy immediately. | 14// +----------------------------------------------------------------------+ 17// 18// $Id: Sliding.php,v 1.5 2004/01/16 10:29:57 quipo Exp $ 19FormControl.php https://code.google.com/p/celebrio/ | PHP | 632 lines
1<?php 2 436 { 437 return !empty($this->options['rendered']); 438 } 518 { 519 return !empty($this->options['required']); 520 }0918fckconfig.js http://prosporous.googlecode.com/svn/trunk/ | JavaScript | 315 lines
55// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> 56// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code 57// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> 70 71FCKConfig.FillEmptyBlocks = true ; 72 86FCKConfig.ToolbarCanCollapse = true ; 87FCKConfig.IgnoreEmptyParagraphValue = true ; 88FCKConfig.PreserveSessionOnFileBrowser = false ; 158FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 159FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 160FCKConfig.FirefoxSpellChecker = false ; 265var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py 266var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py 267sfPropelFormGenerator.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 492 lines
99 100 file_put_contents($baseDir.'/base/Base'.$table->getPhpName().'Form.class.php', $this->evalTemplate('sfPropelFormGeneratedTemplate.php')); 101 if (!file_exists($classFile = $baseDir.'/'.$table->getPhpName().'Form.class.php')) 129 { 130 if ($relatedColumn->isForeignKey() && $relatedColumn->isPrimaryKey() && $this->table->getPhpName() != $this->getForeignTable($relatedColumn)->getPhpName()) 131 { 167 { 168 $names[] = array($this->getForeignTable($column)->getPhpName(), $column->getPhpName(), $column->isNotNull(), false); 169 } 173 { 174 $names[] = array($tables['relatedTable']->getPhpName(), $tables['middleTable']->getPhpName(), false, true); 175 } 262 { 263 $options[] = sprintf('\'model\' => \'%s\', \'add_empty\' => %s', $this->getForeignTable($column)->getPhpName(), $column->isNotNull() ? 'false' : 'true'); 264 }OLE_Root.php https://PHPExcel.svn.codeplex.com/svn | PHP | 482 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 11// | http://www.php.net/license/2_02.txt. | 12// | If you did not receive a copy of the PHP license and are unable to | 13// | obtain it through the world-wide-web, please send a note to | 22 23require_once 'PHPExcel/Shared/OLE/OLE_PPS.php'; 24 31*/ 32class PHPExcel_Shared_OLE_PPS_Root extends PHPExcel_Shared_OLE_PPS 33 { 152 $raList[$i]->Size = $raList[$i]->_DataLen(); 153 if ($raList[$i]->Size < PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) { 154 $iSBcnt += floor($raList[$i]->Size / $this->_SMALL_BLOCK_SIZE) 407 $iBbCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE; 408 $i1stBdL = ($this->_BIG_BLOCK_SIZE - 0x4C) / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE; 409AltBinaryRandomAccessList.fs git://github.com/dmohl/fsharpx.git | F# | 371 lines
1// originally published by Julien 2// original implementation taken from http://lepensemoi.free.fr/index.php/2010/02/11/alternative-binary-random-access-list 3//J.F. added remove, trys, length, append, rev 30 31 member this.IsEmpty() = AltBinRndAccList.isEmpty this 32 86 87 static member internal isEmpty : AltBinRndAccList<'a> -> bool = function Nil -> true | _ -> false 88 225 226 member this.IsEmpty() = AltBinRndAccList.isEmpty this 227 326 ///returns true if the random access list has no elements 327 let inline isEmpty (xs: AltBinRndAccList<'a>) = xs.IsEmpty() 328Autolink.php git://github.com/mikenz/twitter-text-php.git | PHP | 449 lines
1<?php 2/** 9 10require_once 'Regex.php'; 11 380 if ($this->nofollow) $rel[] = 'nofollow'; 381 if (!empty($rel)) $link .= ' rel="'.implode(' ', $rel).'"'; 382 if ($this->target) $link .= ' target="'.$this->target.'"'; 430 list($all, $before, $at, $username, $slash_listname, $after) = array_pad($matches, 6, ''); 431 # If $after is not empty, there is an invalid character. 432 if (!empty($after)) return $all; 432 if (!empty($after)) return $all; 433 if (!empty($slash_listname)) { 434 # Replace the list and usernamefriend.php http://praized.googlecode.com/svn/trunk/ | PHP | 358 lines
15 * 16 * <code><?php if ( pzdc_has_friend() ) : ?>...<?php endif; ?></code> 17 * 31 * 32 * @param string $identifier Optional user identifier (login) for custom template development (see bundled praized-php lib) 33 * @return mixed Boolean FALSE or Object Current friend (see params) 37 global $PraizedCommunity; 38 if ( ! empty($identifier) ) 39 $PraizedCommunity->tpt_has_friend($identifier); 154 * @param boolean $echo Defines if the output should be echoed or simpy returned, defaults to TRUE 155 * @param string $identifier Optional user identifier (login) for custom template development (see bundled praized-php lib) 156 * @return string 167 * @param boolean $echo Defines if the output should be echoed or simpy returned, defaults to TRUE 168 * @param string $identifier Optional friend identifier (login) for custom template development (see bundled praized-php lib) 169 * @return stringAdminDiscountEdit.aspx.cs https://hg.codeplex.com/mojoportal | C# | 335 lines
5// The use and distribution terms for this software are covered by the 6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php) 7// which can be found in the file CPL.TXT at the root of this distribution. 32 private Store store = null; 33 private Guid discountGuid = Guid.Empty; 34 protected Double timeOffset = 0; 69 { 70 if (discountGuid == Guid.Empty) { return; } 71 117 //TODO: add support for offer specific discounts 118 discount.OfferGuid = Guid.Empty; 119 if (timeZone != null) 156 { 157 percentDiscount = decimal.Parse(txtPercentageDiscount.Text.Replace("%", string.Empty), NumberStyles.Number, currencyCulture); 158 percentDiscount = percentDiscount / 100;Config_File.class.php http://interra.googlecode.com/svn/trunk/ | PHP | 390 lines
1<?php 2 19 * 20 * @link http://smarty.php.net/ 21 * @version 2.6.9 22 * @copyright Copyright: 2001-2005 New Digital Group, Inc. 23 * @author Andrei Zmievski <andrei@php.net> 24 * @access public 27 28/* $Id: Config_File.class.php 2 2005-06-13 10:42:23Z alex $ */ 29 85 { 86 if (!empty($config_path)) { 87 if (!is_string($config_path) || !file_exists($config_path) || !is_dir($config_path)) { 109 { 110 if (empty($file_name)) { 111 $this->_trigger_error_msg('Empty config file name');Linux_SambaShareSecurityForGlobalInstance.cpp git://pkgs.fedoraproject.org/sblim-cmpi-samba | C++ | 415 lines
11// You can obtain a current copy of the Eclipse Public License from 12// http://www.opensource.org/licenses/eclipse-1.0.php 13// 33 //---------------------------------------------------------------------------- 34 //empty constructor 35 Linux_SambaShareSecurityForGlobalInstance::Linux_SambaShareSecurityForGlobalInstance() {Linux_SambaCommonSecurityForShareInstance.cpp git://pkgs.fedoraproject.org/sblim-cmpi-samba | C++ | 415 lines
11// You can obtain a current copy of the Eclipse Public License from 12// http://www.opensource.org/licenses/eclipse-1.0.php 13// 33 //---------------------------------------------------------------------------- 34 //empty constructor 35 Linux_SambaCommonSecurityForShareInstance::Linux_SambaCommonSecurityForShareInstance() {ServicesBuilder.php https://hg.codeplex.com/bukuphpjs | PHP | 413 lines
1<?php 2 14 * 15 * PHP version 5 16 * 18 * @package WindowsAzure\Common 19 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 20 * @copyright 2012 Microsoft Corporation 21 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 22 * @link https://github.com/windowsazure/azure-sdk-for-php 23 */ 55 * @package WindowsAzure\Common 56 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 57 * @copyright 2012 Microsoft Corporation 59 * @version Release: @package_version@ 60 * @link https://github.com/windowsazure/azure-sdk-for-php 61 */WebSocketParserD08.java git://pkgs.fedoraproject.org/jetty | Java | 389 lines
11 * The Apache License v2.0 is available at 12 * http://www.opensource.org/licenses/apache2.0.php 13 * 24// The Apache License v2.0 is available at 25// http://www.opensource.org/licenses/apache2.0.php 26// You may elect to redistribute this code under either of these licenses. 119 /* ------------------------------------------------------------ */ 120 public boolean isBufferEmpty() 121 {css_optimiser.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 506 lines
1<?php 2header('Content-Type:text/html; charset=utf-8'); 2header('Content-Type:text/html; charset=utf-8'); 3require ('class.csstidy.php'); 4require ('lang.inc.php'); 78$css = new csstidy(); 79if (isset($_REQUEST['custom']) && ! empty($_REQUEST['custom'])) 80{ 119<title> 120 <?php 121 echo $lang[$l][0]; 146<h1 style="display: inline"> 147 <?php 148 echo $lang[$l][1]; 150 </h1> 151 <?php 152 echo $lang[$l][2];group.php http://nukeviet-shop.googlecode.com/svn/trunk/ | PHP | 214 lines
1<?php 2 21$savegroup = $nv_Request->get_int( 'savegroup', 'post', 0 ); 22if ( ! empty( $savegroup ) ) 23{ 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(); 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 ); 211echo nv_admin_theme( $contents ); 212include ( NV_ROOTDIR . "/includes/footer.php" ); 213ODe_Style_Style.h git://pkgs.fedoraproject.org/abiword | C Header | 350 lines
59 60 bool isEmpty() const; 61 86 m_defaultStyle = true; 87 if (m_pParagraphProps) 88 m_pParagraphProps->m_defaultStyle = m_defaultStyle; 180 // <style:paragraph-properties> attributes 181 class ParagraphProps { 182 public: 182 public: 183 ParagraphProps() { 184 // Rule of thumb: never use this constructor, it only exists for 193 void write(UT_UTF8String& rOutput, const UT_UTF8String& rSpacesOffset) const ; 194 ParagraphProps& operator=(const ParagraphProps& rParagraphProps); 195 bool operator==(const ParagraphProps& rParagraphProps) const;permissions_phpbb.php http://twpug.googlecode.com/svn/trunk/ | PHP | 219 lines
1<?php 2if (empty($lang) || !is_array($lang)) 29* 30* if (empty($lang) || !is_array($lang)) 31* { 43* 'acl_bug_view' => array('lang' => 'Can view bug reports', 'cat' => 'bugs'), 44* 'acl_bug_post' => array('lang' => 'Can post bugs', 'cat' => 'post'), // Using a phpBB category here 45* )); 174 'acl_a_jabber' => array('lang' => '????Jabber??', 'cat' => 'settings'), 175 'acl_a_phpinfo' => array('lang' => '????php??', 'cat' => 'settings'), 176mejoramiento_adecuaciones_controller.php http://learning-circles.googlecode.com/svn/trunk/ | PHP | 226 lines
1<?php 2class MejoramientoAdecuacionesController extends AppController { 19 20 if($group_id == '1' && empty($zonas)){//Si es admin redireccionar a lista de zonas 21 $this->redirect(array('action'=> 'zonas_adecuacion')); 61 } 62 if (!empty($this->data)) { 63 $form = $this->data; 70 71 $intramuro = (!empty($form['intramuro'][$iem])) ? $form['intramuro'][$iem] : '0'; 72 $extramuro = (!empty($form['extramuro'][$iem])) ? $form['extramuro'][$iem] : '0'; 72 $extramuro = (!empty($form['extramuro'][$iem])) ? $form['extramuro'][$iem] : '0'; 73 $adecuaciones = (!empty($form['adecuaciones'][$iem])) ? $form['adecuaciones'][$iem] : NULL; 74 $costos = (!empty($form['costos'][$iem])) ? $form['costos'][$iem] : '0'; 113 } 114 if (!$fecha && !$zona && empty($this->data)) { 115 $this->Session->setFlash(__('Invalid mejoramiento adecuacione', true));config.php http://comet.googlecode.com/svn/trunk/ | PHP | 308 lines
1<?php 2/* 41/* 42 Uncomment lines below to enable PHP error reporting and displaying PHP errors. 43 Do not do this on a production server. Might be helpful when debugging why CKFinder does not work as expected. 54$baseUrl : the base path used to build the final URL for the resources handled 55in CKFinder. If empty, the default value (/userfiles/) is used. 56 179"DefaultResourceTypes" settings is used (may contain the resource type names 180separated by a comma). If left empty, all types are loaded. 181 218 219 - If "php" is on the denied extensions list, a file named foo.php cannot be 220 uploaded. 225 226In some conditions Apache can treat the foo.php.rar file just like any PHP 227script and execute it.nodes.inc.php git://pkgs.fedoraproject.org/zabbix | PHP | 350 lines
1<?php 2/* 45 } 46 return (empty($result) ? $default : $result); 47} 133 134 if (empty($result)) { 135 $result = CWebUser::$data['node']['nodeid']; 136 } 137 if (empty($result)) { 138 $result = $ZBX_CURRENT_NODEID; 184 } 185 elseif (!empty($nodeids)) { 186 $result['selected'] = ($switch_node > 0) ? $switch_node : array_shift($nodeids); 274 case ZBX_NODE_MASTER: 275 if (!empty($masterid)) { 276 error(_('Master node "ID" must be empty.'));MaildirTest.php git://github.com/zendframework/zf2.git | PHP | 445 lines
1<?php 2/** 36 */ 37class MaildirTest extends \PHPUnit_Framework_TestCase 38{ 67 if ($count != 2) { 68 $this->markTestSkipped('Are you sure your tmp dir is a valid empty dir?'); 69 return;functions.php http://jvstutoriales.googlecode.com/svn/trunk/ | PHP | 459 lines
97 98 header("Location: themes.php?page=functions.php&saved=true"); 99 die; 164 <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> 165 <td width="80%"><input style="width:400px;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" type="<?php echo $value['type']; ?>" value="<?php if ( get_settings( $value['id'] ) != "") { echo get_settings( $value['id'] ); } else { echo $value['std']; } ?>" /></td> 166 </tr> 179 <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> 180 <td width="80%"><textarea name="<?php echo $value['id']; ?>" style="width:400px; height:200px;" type="<?php echo $value['type']; ?>" cols="" rows=""><?php if ( get_settings( $value['id'] ) != "") { echo get_settings( $value['id'] ); } else { echo $value['std']; } ?></textarea></td> 181 194 <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td> 195 <td width="80%"><select style="width:240px;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>"><?php foreach ($value['options'] as $option) { ?><option<?php if ( get_settings( $value['id'] ) == $option) { echo ' selected="selected"'; } elseif ($option == $value['std']) { echo ' selected="selected"'; } ?>><?php echo $option; ?></option><?php } ?></select></td> 196 </tr> 209 <td width="80%"><? if(get_settings($value['id'])){ $checked = "checked=\"checked\""; }else{ $checked = ""; } ?> 210 <input type="checkbox" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked; ?> /> 211 </td>mkdist.php git://pkgs.fedoraproject.org/php | PHP | 549 lines
15 16$dist_dir = $build_dir . "/php-" . phpversion(); 17$test_dir = $build_dir . "/php-test-pack-" . phpversion(); 210/* the core dll */ 211copy("$build_dir/php.exe", "$dist_dir/php.exe"); 212copy("$build_dir/$phpdll", "$dist_dir/$phpdll"); 240 "win32/install.txt" => "install.txt", 241 "win32/pws-php5cgi.reg" => "pws-php5cgi.reg", 242 "win32/pws-php5isapi.reg" => "pws-php5isapi.reg", 461} 462copy('run-tests.php', $test_dir . '/run-test.php'); 463 495 496 /* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar) 497 * broken out of the tarballs */phpbb2_template.class.php https://bitbucket.org/chamilo/chamilo/ | PHP | 478 lines
1<?php 2/*************************************************************************** 2/*************************************************************************** 3 * template.php 4 * ------------------- 5 * begin : Saturday, Feb 13, 2001 6 * copyright : (C) 2001 The phpBB Group 7 * email : support@phpbb.com 8 * 9 * $Id: template.php 5142 2005-05-06 20:50:13Z acydburn $ 10 * 23/** 24 * Template class. By Nathan Codding of the phpBB group. 25 * The interface was originally inspired by PHPLib templates, 29 30class Phpbb2Template { 31 var $classname = "Phpbb2Template";fckconfig.js http://esnippet.googlecode.com/svn/trunk/ | JavaScript | 317 lines
57// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> 58// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code 59// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> 72 73FCKConfig.FillEmptyBlocks = true ; 74 88FCKConfig.ToolbarCanCollapse = true ; 89FCKConfig.IgnoreEmptyParagraphValue = true ; 90FCKConfig.FloatingPanelsZIndex = 10000 ; 159FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 160FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 161FCKConfig.FirefoxSpellChecker = false ; 271var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py 272var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py 273db.class.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 438 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ?????????? (Build on ThinkPHP) 4// +---------------------------------------------------------------------- 24 static $db; 25 if(empty($db)) 26 $db = new $dbclass(); 51 { 52 if(empty($condition)) 53 $where = '1'; 98 $where = ''; 99 if(empty($condition)) 100 $where = '1'; 249 { 250 if (empty($item_list)) 251 {SectionCorp.php https://code.google.com/p/yapeal/ | PHP | 364 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 6 * 7 * LICENSE: This file is part of Yet Another Php Eve Api library also know 8 * as Yapeal which will be used to refer to it in the rest of this license. 41 $mess = basename(__FILE__) 42 . ' must be included it can not be ran directly.' . PHP_EOL; 43 if (PHP_SAPI != 'cli') { 64 /** 65 * Function called by Yapeal.php to start section pulling XML from servers. 66 * 84 return FALSE; 85 };// if empty $result ... 86 // Build name of filter based on mode.logs.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 336 lines
1<?php 2 24$sql = "SELECT SQL_CALC_FOUND_ROWS * FROM `" . $db_config['prefix'] . "_logs` WHERE `id`!=0"; 25$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op; 26 42 nv_insert_logs( NV_LANG_DATA, $module_name, sprintf ( $lang_module['filter_check_log'], $op ), $admin_info['username'] . " - " . $admin_info['userid'], 0 ); 43 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op ); 44 exit(); 58 59 if ( ! empty ( $data_search['q'] ) and $data_search['q'] != $lang_module['filter_enterkey'] ) 60 { 64 65 if ( ! empty ( $data_search['from'] ) ) 66 { 75 76 if ( ! empty ( $data_search['to'] ) ) 77 {tabby.js https://code.google.com/p/quickdiagrams/ | JavaScript | 269 lines
63 if (16 == $.fn.tabby.catch_kc(e)) pressed.shft = false; 64 }).bind('blur',function (e) { // workaround for Opera -- http://www.webdeveloper.com/forum/showthread.php?p=806588 65 if (9 == pressed.last) $(e.target).one('focus',function (e) {pressed.last = null;}).get(0).focus(); 171 var bookmark = range.getBookmark(); 172 //first try to the left by moving opening up our empty range to the left 173 range.moveStart('character', -options.tabString.length); 182 } 183 // move the pointer to the start of them empty range and select it 184 range.collapse(true);fckconfig.js http://3rgbcom.googlecode.com/svn/trunk/ | JavaScript | 329 lines
57// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> 58// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code 59// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> 72 73FCKConfig.FillEmptyBlocks = true ; 74 88FCKConfig.ToolbarCanCollapse = true ; 89FCKConfig.IgnoreEmptyParagraphValue = true ; 90FCKConfig.PreserveSessionOnFileBrowser = false ; 164FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 165FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 166FCKConfig.FirefoxSpellChecker = false ; 276var _FileBrowserLanguage = 'aspx' ; // asp | aspx | cfm | lasso | perl | php | py 277var _QuickUploadLanguage = 'aspx' ; // asp | aspx | cfm | lasso | perl | php | py 278PHPExcel_Worksheet_RowDimension.html https://PHPExcel.svn.codeplex.com/svn | HTML | 403 lines
38 <div class="package"> 39 <a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_ColumnDimension_php.html"> ColumnDimension.php 40 </a><br> 44 </a><br> 45 <a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_PageMargins_php.html"> PageMargins.php 46 </a><br> 46 </a><br> 47 <a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_PageSetup_php.html"> PageSetup.php 48 </a><br> 48 </a><br> 49 <a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_Protection_php.html"> Protection.php 50 </a><br> 50 </a><br> 51 <a href="../PHPExcel_Worksheet/_Classes_PHPExcel_Worksheet_RowDimension_php.html"> RowDimension.php 52 </a><br>MinimizeToTrayMenu.htm http://autohotkey-chinese.googlecode.com/svn/trunk/ | HTML | 267 lines
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<link rel="alternate" type="application/rss+xml" title="AutoHotkey Forum RSS" href="/forum/rss.php"> 8<link href="/docs/css/default.css" rel="stylesheet" type="text/css"> 50 51<em>; If you prefer to have the tray menu empty of all the standard items,</em> 52<em>; such as Help and Pause, use N. Otherwise, use Y:</em> 186 <em>; It should always find a free slot if things are designed right.</em> 187 if mwt_WindowID%a_index% = <em>; An empty slot was found.</em> 188 {exclusions.cpp http://windowpicker.googlecode.com/svn/trunk/ | C++ | 331 lines
20 21 g_phPages[PAGE_EXCLUSIONS] = hwnd; 22 140 141void EmptyExclList(HWND hwndLV) { 142 _vExclList.clear();Excel5.php https://PHPExcel.svn.codeplex.com/svn | PHP | 389 lines
22 * @package PHPExcel_Writer 23 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/lgpl.txt LGPL 71 * 72 * @param PHPExcel $phpExcel PHPExcel object 73 */ 252 // // Print area 253 // $printArea = PHPExcel_Cell::splitRange($phpSheet->getPageSetup()->getPrintArea()); 254 // $printArea[0] = PHPExcel_Cell::coordinateFromString($printArea[0]); 348 * @param PHPExcel $pPHPExcel 349 * @return PHPExcel_Style[] All styles in PHPExcel 350 * @throws Exception 351 */ 352 private function _allStyles(PHPExcel $pPHPExcel = null) 353 {WrapperTypeDef.cpp https://Phalanger.svn.codeplex.com/svn | C++ | 443 lines
13// 14// ExtSupport - substitute for php4ts.dll/php5ts.dll 15// 32 33using namespace PHP::Core; 34using namespace PHP::ExtManager; 35 36namespace PHP 37{ 88 ParameterTypeInfo ^info = Params[i]->Clone(); 89 info->ParamType = (info->IsOut ? PHP::Core::PhpReference::typeid : Object::typeid); 90 100 101 // Creates a new empty OverloadTypeInfo. 102 OverloadTypeInfo::OverloadTypeInfo()default.php http://jfusion.googlecode.com/svn/trunk/ | PHP | 250 lines
101 <?php if ($record->name == 'joomla_int'): //joomla_int must be treated separately?> 102 <a href="index.php?option=com_jfusion&task=plugineditor&jname=<?php echo $record->name; ?>" title="Edit Plugin"><img src="<?php echo $images ?>edit.png" alt="Edit Plugin" /></a> 103 <img src="<?php echo $images ?>copy_icon_dim.png" /> 107 <a href="index.php?option=com_jfusion&task=plugineditor&jname=<?php echo $record->name; ?>" title="Edit Plugin"><img src="<?php echo $images ?>edit.png" alt="Edit Plugin" /></a> 108 <a href="javascript: void(0)" onclick="copy_plugin('index.php?option=com_jfusion&task=copy_plugin&jname=<?php echo $record->name; ?>')" title="Copy Plugin"><img src="<?php echo $images ?>copy_icon.png" alt="Copy Plugin" /></a> 109 <img src="<?php echo $images ?>delete_icon_dim.png" title='<?php echo JText::_('PLUGIN_HAS_COPIES'); ?>' /> 110 <?php if ($record->wizard): ?> 111 <a href="index.php?option=com_jfusion&task=wizard&jname=<?php echo $record->name; ?>" title="Plugin Wizard"><img src="<?php echo $images ?>wizard_icon.png" alt="Plugin Wizard" /></a> 112 <?php else :?> 116 <a href="index.php?option=com_jfusion&task=plugineditor&jname=<?php echo $record->name; ?>" title="Edit Plugin"><img src="<?php echo $images ?>edit.png" alt="Edit Plugin" /></a> 117 <a href="javascript: void(0)" onclick="copy_plugin('index.php?option=com_jfusion&task=copy_plugin&jname=<?php echo $record->name; ?>')" title="Copy Plugin"><img src="<?php echo $images ?>copy_icon.png" alt="Copy Plugin" /></a> 118 <a href="javascript: void(0)" onclick="uninstall_plugin('<?php echo $record->name; ?>')" title="Delete Plugin"><img src="<?php echo $images ?>delete_icon.png" alt="Uninstall Plugin" /></a> 119 <?php if ($record->wizard): ?> 120 <a href="index.php?option=com_jfusion&task=wizard&jname=<?php echo $record->name; ?>" title="Plugin Wizard"><img src="<?php echo $images ?>wizard_icon.png" alt="Plugin Wizard" /></a> 121 <?php else :?>dns_zone_add.tpl http://scalr.googlecode.com/svn/ | Smarty Template | 267 lines
40 { 41 url: "/server/ajax-ui-server.php", 42 baseParams: {action: "LoadFarms"}, 44 { 45 root: 'data', // from php file: array("data" => $result); 46 id: 'id', 52 { 53 url: "/server/ajax-ui-server.php", 54 baseParams: {action: "LoadFarmRoles"}, 56 { 57 root: 'data', // from php file: array("data" => $result); 58 id: 'id', 74 triggerAction: 'all', 75 emptyText: '', 76controllers.rb http://ruby-taskr.googlecode.com/svn/trunk/ | Ruby | 344 lines
103 # Create new actions/action_parameters for the remaining params 104 unless params[:action].empty? 105 params[:action].map do |num, params| 186 begin 187 # the "0" is for compatibility with PHP's Zend_Rest_Client 188 task_data = @input['task'] || @input["0"] || @inputSluggableBehavior.php git://github.com/infinitas/infinitas.git | PHP | 342 lines
1<?php 2 /** 8 * @version $Revision: 36 $ 9 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 10 * @package Infinitas.Libs.Model.Behavior 74 75 if (empty($this->__settings[$Model->alias]['label'])) { 76 throw new Exception(sprintf('Model "%s" has no sluggable fields', $Model->alias)); 94 $isBlank = false; 95 if (isset($Model->data[$Model->alias][$this->__settings[$Model->alias]['slug']]) && empty($Model->data[$Model->alias][$this->__settings[$Model->alias]['slug']])) { 96 $isBlank = true; 101 $this->__settings[$Model->alias]['overwrite'] || 102 empty($Model->id) 103 ); 110 foreach ($this->__settings[$Model->alias]['label'] as $field) { 111 if (!empty($Model->data[$Model->alias][$field])) { 112 $label .= !empty($label) ? ' ' : '' . $Model->data[$Model->alias][$field];WeatherConditions.php https://code.google.com/p/celebrio/ | PHP | 457 lines
1<?php 2/** 108 /*public function setAttribute($name, $value) { 109 if(empty($value) || empty($name)) { 110 return false;DataBaseAction.class.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 417 lines
1<?php 2// +---------------------------------------------------------------------- 2// +---------------------------------------------------------------------- 3// | ?????????? (Build on ThinkPHP) 4// +---------------------------------------------------------------------- 29 $time = gmtTime(); 30 $name = empty($_REQUEST['sql_file_name']) ? toDate($time,'YmdHis') : $_REQUEST['sql_file_name']; 31 $tables = $this->getAllTable(); 45 $table_data = $_SESSION['dump_table_data']; 46 if(empty($table_data)) 47 $this->redirect('DataBase/index'); 93 $table_data = '$table_data = '.var_export($table_data, true).";"; 94 $db_table_file = $back_dir."tables.php"; 95 @file_put_contents($db_table_file,"<?php\n$table_data\n?>"); 178 $dir = $_REQUEST['dir']; 179 if(empty($dir)) 180 exit;Profiler.php git://github.com/michael-romer/zf-boilerplate.git | PHP | 471 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Profiler.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 280 */ 281 require_once 'Zend/Db/Profiler/Query.php'; 282 $this->_queryProfiles[] = new Zend_Db_Profiler_Query($queryText, $queryType); 308 */ 309 require_once 'Zend/Db/Profiler/Exception.php'; 310 throw new Zend_Db_Profiler_Exception("Profiler has no query with handle '$queryId'."); 319 */ 320 require_once 'Zend/Db/Profiler/Exception.php'; 321 throw new Zend_Db_Profiler_Exception("Query with profiler handle '$queryId' has already ended."); 361 */ 362 require_once 'Zend/Db/Profiler/Exception.php'; 363 throw new Zend_Db_Profiler_Exception("Query handle '$queryId' not found in profiler log.");Range.php git://github.com/phpbb/customisation-db.git | PHP | 378 lines
94 if ($lowerTerm !== null && $upperTerm !== null && $lowerTerm->field != $upperTerm->field) { 95 require_once 'Zend/Search/Lucene/Exception.php'; 96 throw new Zend_Search_Lucene_Exception('Both terms must be for the same field'); 161 162 require_once 'Zend/Search/Lucene.php'; 163 $maxTerms = Zend_Search_Lucene::getTermsPerQueryLimit(); 221 if (count($this->_matches) == 0) { 222 require_once 'Zend/Search/Lucene/Search/Query/Empty.php'; 223 return new Zend_Search_Lucene_Search_Query_Empty(); 224 } else if (count($this->_matches) == 1) { 225 require_once 'Zend/Search/Lucene/Search/Query/Term.php'; 226 return new Zend_Search_Lucene_Search_Query_Term(reset($this->_matches)); 227 } else { 228 require_once 'Zend/Search/Lucene/Search/Query/MultiTerm.php'; 229 $rewrittenQuery = new Zend_Search_Lucene_Search_Query_MultiTerm();core.php git://github.com/Austinb/GameQ.git | PHP | 638 lines
1<?php 2/** 216 // We have passed options so let's set them 217 if(!empty($options)) 218 { 354 // Act as setter 355 if(!empty($options)) 356 { 367 { 368 return (isset($this->packets[self::PACKET_CHALLENGE]) && !empty($this->packets[self::PACKET_CHALLENGE])); 369 } 386 // Act as setter 387 if(!empty($response)) 388 { 402 // Act as setter 403 if(!empty($result)) 404 {pages.php https://code.google.com/p/osclass/ | PHP | 249 lines
1<?php if ( ! defined('ABS_PATH')) exit('ABS_PATH is not loaded. Direct access is not allowed.'); 2 54 $this->_exportVariableToView("page", $this->pageManager->findByPrimaryKey(Params::getParam("id"))); 55 $this->doView("pages/frm.php"); 56 break; 63 $postParams = Params::getParamsAsArray('', false); 64 $not_empty = false; 65 foreach ($postParams as $k => $v) { 66 if(preg_match('|(.+?)#(.+)|', $k, $m)) { 67 if($m[2]=='s_title' && $v!='') { $not_empty = true; }; 68 $aFieldsDescription[$m[1]][$m[2]] = $v; 83 84 if($not_empty) { 85 foreach($aFieldsDescription as $k => $_data) { 98 } else { 99 osc_add_flash_error_message(_m("The page couldn't be updated, at least one title should not be empty"), 'admin') ; 100 }handlers.dev.js http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | JavaScript | 433 lines
2function fileDialogStart() { 3 jQuery("#media-upload-error").empty(); 4} 113 jQuery.ajax({ 114 url: 'admin-ajax.php', 115 type: 'post', 131 jQuery.ajax({ 132 url: 'admin-ajax.php', 133 type: 'post', 168 error.html('<div class="file-error"><button type="button" id="dismiss-'+id+'" class="button dismiss">'+swfuploadL10n.dismiss+'</button>'+html+'</div>'); 169 jQuery('#dismiss-'+id).click(function(){jQuery(this).parents('.file-error').slideUp(200, function(){jQuery(this).empty();})}); 170} 198 199 jQuery('.filename:empty', item).remove(); 200 jQuery('.filename .title', item).css('font-weight','bold');loader-disabled.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 438 lines
252 <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == true ) : ?> 253 checked="checked"<?php endif; ?> value="1" /> <?php _e( 'Yes', "bp-media" ) ?> 254 <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?> 254 <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?> 255 checked="checked"<?php endif; ?> value="0" /> <?php _e( 'No', "bp-media" ) ?> 256 </td> 261 <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == true ) : ?> 262 checked="checked"<?php endif; ?> value="1" /> <?php _e( 'Yes', "bp-media" ) ?> 263 <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?> 263 <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?> 264 checked="checked"<?php endif; ?> value="0" /> <?php _e( 'No', "bp-media" ) ?> 265 </td> 301 302 <?php 303RegisteredCharacter.php https://code.google.com/p/yapeal/ | PHP | 309 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 6 * 7 * LICENSE: This file is part of Yet Another Php Eve Api library also know 8 * as Yapeal which will be used to refer to it in the rest of this license. 41 $mess = basename(__FILE__) 42 . ' must be included it can not be ran directly.' . PHP_EOL; 43 if (PHP_SAPI != 'cli') { 110 // Was $id set? 111 if (!empty($id)) { 112 // If $id has any characters other than 0-9 it's not a characterID. 137 };// else ... 138 };// if !empty $id ... 139 }// function __constructmyocamlbuild.ml git://github.com/mirage/dyntype.git | OCaml | 492 lines
88 if lst = [] then 89 s_ "<empty>" 90 else 129 130 let load ?(allow_empty=false) ?(filename=default_filename) () = 131 if Sys.file_exists filename then 169 let mp = 170 read_file MapString.empty 171 in 174 end 175 else if allow_empty then 176 begin 176 begin 177 MapString.empty 178 endCommand.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 512 lines
1<?php 2 43 * 44 * @throws \LogicException When the command name is empty 45 */ 59 if (!$this->name) { 60 throw new \LogicException('The command name cannot be empty.'); 61 } 263 * 264 * @throws \InvalidArgumentException When command name given is empty 265 */ 275 if (!$name) { 276 throw new \InvalidArgumentException('A command name cannot be empty.'); 277 } 378 $name, 379 $_SERVER['PHP_SELF'].' '.$name 380 );Client.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 26 */ 27require_once 'Zend/Http/Client.php'; 28 32 */ 33require_once 'Zend/XmlRpc/Client/ServerProxy.php'; 34 38 */ 39require_once 'Zend/XmlRpc/Client/ServerIntrospection.php'; 40 45 */ 46require_once 'Zend/XmlRpc/Value.php'; 47 51 */ 52require_once 'Zend/XmlRpc/Request.php'; 53StashApplyCommandTest.java git://pkgs.fedoraproject.org/eclipse-jgit | Java | 457 lines
7 * accompanies this distribution, is reproduced below, and is 8 * available at http://www.eclipse.org/org/documents/edl-v10.php 9 * 102 Status status = git.status().call(); 103 assertTrue(status.getAdded().isEmpty()); 104 assertTrue(status.getChanged().isEmpty()); 104 assertTrue(status.getChanged().isEmpty()); 105 assertTrue(status.getConflicting().isEmpty()); 106 assertTrue(status.getModified().isEmpty()); 106 assertTrue(status.getModified().isEmpty()); 107 assertTrue(status.getUntracked().isEmpty()); 108 assertTrue(status.getRemoved().isEmpty()); 129 Status status = git.status().call(); 130 assertTrue(status.getChanged().isEmpty()); 131 assertTrue(status.getConflicting().isEmpty());MessageController.php http://mock-project.googlecode.com/svn/trunk/ | PHP | 217 lines
1<?php 2 17 18// require_once APPLICATION_PATH . '/modules/user/models/DbTable/Member.php'; 19 $us = new User_Model_DbTable_Member(); 185 186 if (!empty($search_column) && !empty($search_for)) { 187 $select->where($search_column . ' LIKE ?', '%' . $search_for . '%');lib.php git://pkgs.fedoraproject.org/moodle | PHP | 318 lines
29 30require_once($CFG->libdir.'/flickrlib.php'); 31 60 $frob = optional_param('frob', '', PARAM_RAW); 61 if (empty($this->token) && !empty($frob)) { 62 $auth_info = $this->flickr->auth_getToken($frob); 75 public function check_login() { 76 return !empty($this->token); 77 } 172 foreach ($photos['photo'] as $p) { 173 if(empty($p['title'])) { 174 $p['title'] = get_string('notitle', 'repository_flickr'); 275 } 276 if (empty($secret)) { 277 $secret = '';computer.class.php git://pkgs.fedoraproject.org/glpi-pdf | PHP | 260 lines
1<?php 2 3/* 4 * @version $Id: computer.class.php 322 2012-04-06 17:03:33Z remi $ 5 ------------------------------------------------------------------------- 59 $col2 = $LANG['common'][26].' : '.Html::convDateTime($computer->fields['date_mod']); 60 if(!empty($computer->fields['template_name'])) { 61 $col2 .= ' ('.$LANG['common'][13].' : '.$computer->fields['template_name'].')'; 182 $specif_text = implode(',',$specif_fields); 183 if (!empty($specif_text)) { 184 $specif_text=" ,".$specif_text." ";CacheControl.java git://pkgs.fedoraproject.org/jsr-311 | Java | 371 lines
7 * You can obtain a copy of the license at 8 * http://www.opensource.org/licenses/cddl1.php 9 * See the License for the specific language governing 59 * <li>proxyRevalidate = false</li> 60 * <li>An empty list of private fields</li> 61 * <li>An empty list of no-cache fields</li> 61 * <li>An empty list of no-cache fields</li> 62 * <li>An empty map of cache extensions</li> 63 * </ul> 163 * @return a mutable list of field-names that will form the value of the no-cache cache control directive. 164 * An empty list results in a bare no-cache directive. 165 * @see #isNoCache 210 * @return a mutable list of field-names that will form the value of the private cache control directive. 211 * An empty list results in a bare no-cache directive. 212 * @see #isPrivatecfg.cpp git://github.com/facebook/hiphop-php.git | C++ | 308 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 +----------------------------------------------------------------------+ 20 21namespace HPHP { 22namespace VM {SignalType.cs https://TimeSeriesFramework.svn.codeplex.com/svn | C# | 323 lines
10// 11// http://www.opensource.org/licenses/eclipse-1.0.php 12// 205 206 if (!string.IsNullOrEmpty(source) && source.ToUpper() == "PMU") 207 { 209 } 210 else if (!string.IsNullOrEmpty(source) && source.ToUpper() == "PHASOR" && !string.IsNullOrEmpty(phasorType)) 211 {class.baseobject.php https://code.google.com/p/movabletype/ | PHP | 388 lines
12require_once('adodb-active-record.inc.php'); 13require_once('adodb-exceptions.inc.php'); 14 175 public static function install_meta($class, $name, $type) { 176 if (empty($name) or empty($type) or empty($class)) 177 return; 273 "from " . $this->_table . $join; 274 if (!empty($where)) 275 $sql = $sql . " where $where"; 306 $blog = $this->load_cache($this->_prefix . ":" . $this->id . ":blog:" . $blog_id); 307 if (empty($blog)) { 308 require_once('class.mt_blog.php'); 375 if (empty(self::$_cache_driver)) { 376 require_once("class.basecache.php"); 377 try {misc.js https://bitbucket.org/dinhtrung/yiicorecms/ | JavaScript | 381 lines
1<?php 2 9 * @copyright 2010, 2011 KCFinder Project 10 * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 11 * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 219 if (name.value == '') { 220 browser.alert(browser.label(labels.errEmpty), false); 221 name.focus(); 332browser.baseGetData = function(act) { 333 var data = 'browse.php?type=' + encodeURIComponent(this.type) + '&lng=' + this.lang; 334 if (act)API.php https://code.google.com/p/molinos-cms/ | PHP | 383 lines
1<?php 2/** 150 151 foreach (preg_split('/[\r\n]+/', $headers, -1, PREG_SPLIT_NO_EMPTY) as $h) { 152 if (0 === strpos($h, 'HTTP/')) 235 236 if (!empty($head['content-length']) and $head['content-length'] != ($got = filesize($outfile))) { 237 $this->log($url . ": incomplete file, {$got} bytes instead of {$url}"); 317 'method' => 'POST', 318 'header' => 'Content-Type: application/x-www-form-urlencoded' . PHP_EOL, 319 'content' => Molinos_Core_API::getInstance('http')->build_query($data),ucp.php https://code.google.com/p/phpbbex/ | PHP | 361 lines
14define('IN_PHPBB', true); 15$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; 16$phpEx = substr(strrchr(__FILE__, '.'), 1); 96 97 $message = $message . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a> '); 98 trigger_error($message); 204 { 205 redirect(append_sid("{$phpbb_root_path}index.$phpEx")); 206 } 258 { 259 $redirect_url = append_sid("{$phpbb_root_path}ucp.$phpEx?i=pm&p=" . request_var('p', 0)); 260 login_box($redirect_url, $user->lang['LOGIN_EXPLAIN_UCP']); 335// Assign data to the template engine for the list of modules 336$module->assign_tpl_vars(append_sid("{$phpbb_root_path}ucp.$phpEx")); 337main.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 404 lines
37 38// line 565 in phpfreechat.class.php 39$GLOBALS["i18n"]["Text cannot be empty"] = "Tekstvak kan niet leeg zijn"; 40 41// line 392 in phpfreechat.class.php 42$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s verandert de nickname in %s"; 52 53// line 262 in phpfreechat.class.php 54$GLOBALS["i18n"]["Unknown command [%s]"] = "Onbekende opdracht [%s]"; 89// line 23 in chat.html.tpl.php 90$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "PHP FREE CHAT [powered by phpFreeChat-%s]"; 91 166 167// line 343 in phpfreechatconfig.class.php 168$GLOBALS["i18n"]["'%s' parameter is mandatory by default use '%s' value"] = "'%s' parameter is verplicht bij standaard gebruik '%s' waarde";main.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 407 lines
37 38// line 565 in phpfreechat.class.php 39$GLOBALS["i18n"]["Text cannot be empty"] = "Hej! Vi forgesis skribi ion!!!"; 40 41// line 392 in phpfreechat.class.php 42$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s changes nickname to %s"; 52 53// line 262 in phpfreechat.class.php 54$GLOBALS["i18n"]["Unknown command [%s]"] = "Unknown command [%s]"; 89// line 23 in chat.html.tpl.php 90$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "PHP FREE CHAT [powered by phpFreeChat-%s]"; 91 166 167// line 343 in phpfreechatconfig.class.php 168$GLOBALS["i18n"]["'%s' parameter is mandatory by default use '%s' value"] = "'%s' parameter is mandatory by default use '%s' value";band_list.inc.php http://prohits.googlecode.com/svn/trunk/ | PHP | 339 lines
20$HasHitsColor = "#5b52ad"; 21$EmptyColor = "#d9e8f0"; 22?> 29 <?if($Lane_ID){?> 30 if(isEmptyStr(theForm.frm_Location.value) || !radio_checked(theForm.frm_Intensity) || isEmptyStr(theForm.frm_BandMW.value)){ 31 alert("The new band has to have band code, intensity and observed MW!"); 39 if(isEmptyStr(theForm.frm_Location.value) ){ 40 alert("Sample code should not be empty!"); 41 return false; 51 <?if($Lane_ID){?> 52 if(isEmptyStr(theForm.frm_Location.value) || !radio_checked(theForm.frm_Intensity) || isEmptyStr(theForm.frm_BandMW.value)){ 53 alert("The new band has to have band code, intensity and observed MW!"); 61 if(isEmptyStr(theForm.frm_Location.value) ){ 62 alert("Sample code should not be empty!"); 63 return false;module.audio.voc.php http://pumukit.googlecode.com/svn/trunk/ | PHP | 240 lines
1<?php 2// +----------------------------------------------------------------------+ 2// +----------------------------------------------------------------------+ 3// | PHP version 5 | 4// +----------------------------------------------------------------------+ 16// +----------------------------------------------------------------------+ 17// | module.audio.voc.php | 18// | Module for analyzing Creative VOC Audio files. | 21// 22// $Id: module.audio.voc.php,v 1.3 2006/11/02 10:48:02 ah Exp $ 23 101 // Less accurate sample_rate calculation than the Extended block (#8) data (but better than nothing if Extended Block is not available) 102 if (empty($info_audio['sample_rate'])) { 103 // SR byte = 256 - (1000000 / sample_rate) 167 168 if (!empty($this_block)) { 169 $this_block['block_offset'] = $block_offset;Pgsql.php git://github.com/michael-romer/zf-boilerplate.git | PHP | 336 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Pgsql.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 26 */ 27require_once 'Zend/Db/Adapter/Pdo/Abstract.php'; 28 88 89 if (!empty($this->_config['charset'])) { 90 $sql = "SET NAMES '" . $this->_config['charset'] . "'"; 251 */ 252 require_once 'Zend/Db/Adapter/Exception.php'; 253 throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid"); 260 */ 261 require_once 'Zend/Db/Adapter/Exception.php'; 262 throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");imagemagick.php git://github.com/fuel/core.git | PHP | 356 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. 4 * 9 * @copyright 2010 - 2019 Fuel Development Team 10 * @link https://fuelphp.com 11 */ 26 $this->clear_sizes(); 27 if (empty($this->image_temp)) 28 { 185 186 if ($is_loaded_file and ! empty($this->image_temp)) 187 {date.php git://github.com/gallery/gallery3.git | PHP | 395 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/** 7 * @copyright (c) 2007-2009 Kohana Team 8 * @license http://kohanaphp.com/license 9 */ 55 * Returns the offset (in seconds) between two time zones. 56 * @see http://php.net/timezones 57 * 213 // We use caching for months, because time functions are used 214 if (empty($months[$year][$month])) 215 { 280 // Invalid output 281 if (empty($output)) 282 return FALSE; 288 $time1 = max(0, (int) $time1); 289 $time2 = empty($time2) ? time() : max(0, (int) $time2); 290TemperatureTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: TemperatureTest.php 23772 2011-02-28 21:35:29Z ralph $ 21 */ 22 23if (!defined('PHPUnit_MAIN_METHOD')) { 24 define('PHPUnit_MAIN_METHOD', 'Zend_Measure_TemperatureTest::main'); 29 */ 30require_once 'Zend/Measure/Temperature.php'; 31 34 */ 35require_once 'Zend/Registry.php'; 36 44 */ 45class Zend_Measure_TemperatureTest extends PHPUnit_Framework_TestCase 46{MaildirFolderTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2 12 */ 13require_once 'Zend/Mail/Storage/Folder/Maildir.php'; 14 17 */ 18require_once 'Zend/Config.php'; 19 20/** 21 * PHPUnit test case 22 */ 22 */ 23require_once 'PHPUnit/Framework/TestCase.php'; 24 30 */ 31class Zend_Mail_MaildirFolderTest extends PHPUnit_Framework_TestCase 32{fsource_PHPExcel_Shared__PHPExcelSharedPasswordHasher.php.html https://PHPExcel.svn.codeplex.com/svn | HTML | 124 lines
15 [ <a href="../classtrees_PHPExcel_Shared.html" class="menu">class tree: PHPExcel_Shared</a> ] 16 [ <a href="../elementindex_PHPExcel_Shared.html" class="menu">index: PHPExcel_Shared</a> ] 17 [ <a href="../elementindex.html" class="menu">all elements</a> ] 28 <a href="../li_PHPExcel_Cell.html">PHPExcel_Cell</a><br /> 29 <a href="../li_PHPExcel_Reader.html">PHPExcel_Reader</a><br /> 30 <a href="../li_PHPExcel_Shared.html">PHPExcel_Shared</a><br /> 42<h1 align="center">Source for file PasswordHasher.php</h1> 43<p>Documentation is available at <a href="../PHPExcel_Shared/_Classes_PHPExcel_Shared_PasswordHasher_php.html">PasswordHasher.php</a></p> 44<div class="php"> 44<div class="php"> 45<div class="listing"><pre><ol><li><a name="a1"></a><span class="src-php"><?php</span></li> 46<li><a name="a2"></a><span class="src-doc">/**</span></li> 79<li><a name="a35"></a><span class="src-doc"> */</span></li> 80<li><a name="a36"></a><span class="src-key">class </span><a href="../PHPExcel_Shared/PHPExcel_Shared_PasswordHasher.html">PHPExcel_Shared_PasswordHasher</a></li> 81<li><a name="a37"></a><span class="src-sym">{</span></li>recordsettable.php http://webpy-php-port.googlecode.com/svn/trunk/ | PHP | 422 lines
1<?php 2 189 $s = ''; 190 if(!empty($this->actions)){ 191 foreach($this->actions as $k=>$v){ 204 205 if(!empty($this->primary_key)){ 206 if(is_array($this->primary_key)){ 250 $field = $this->rs->FetchField($i); 251 if(!empty($this->fields_to_hide)){ 252 if(in_array($field->name, $this->fields_to_hide)) continue; // move to next iteration 280 281 if(!empty($this->actions)){ 282 #$col_sort_options[] = 'None'; 311 $field = $this->rs->FetchField($i); 312 if(!empty($this->fields_to_hide)){ 313 if(in_array($field->name, $this->fields_to_hide)) continue;Schema.php git://github.com/maintainable/framework.git | PHP | 354 lines
1<?php 2/** 8 * @author Chuck Hagenbuch <chuck@horde.org> 9 * @license http://opensource.org/licenses/bsd-license.php 10 * @category Horde 18 * @author Chuck Hagenbuch <chuck@horde.org> 19 * @license http://opensource.org/licenses/bsd-license.php 20 * @category Horde 292 293 $limit = !empty($options['limit']) ? $options['limit'] : null; 294 $precision = !empty($options['precision']) ? $options['precision'] : null; 294 $precision = !empty($options['precision']) ? $options['precision'] : null; 295 $scale = !empty($options['scale']) ? $options['scale'] : null; 296sidebar.php git://pkgs.fedoraproject.org/horde | PHP | 272 lines
1<?php 2/** 2/** 3 * $Horde: horde/services/portal/sidebar.php,v 1.4.2.20 2009/01/06 15:27:33 jan Exp $ 4 * 108 // Filter out all headings without children. 109 if ($params['status'] == 'heading' && empty($children[$app])) { 110 continue; 149 $params['status'] == 'block' || 150 !file_exists($registry->get('fileroot', $application) . '/config/prefs.php')) { 151 continue; 163 164 if (!empty($prefs_apps['horde'])) { 165 $menu['options_' . 'horde'] = array('name' => _("Global Options"), 168 'icon' => $registry->get('icon', 'horde'), 169 'url' => Horde::applicationUrl('services/prefs.php?app=horde')); 170 unset($prefs_apps['horde']);pts_result_file_analyzer.php git://pkgs.fedoraproject.org/phoronix-test-suite | PHP | 375 lines
1<?php 2 161 { 162 if(empty($this_identifier)) 163 {scheme3_e.html http://zhangpengpeng.googlecode.com/svn/trunk/ | HTML | 287 lines
18<table class='guide'><tr> 19<td><a rel=home href='http://www.shido.info/index_e.php'> 20 <img src='../images/shido_small.png' class='arrow' border=0>HOME</a></td> 24<td><a rel=next href="scheme4_e.html"><img src='../images/right_arrow.gif' class='arrow' border=0>4. Defining Functions</a></td> 25<td><a href='http://www.shido.info/gb/write_guestbook_e.php?ref=lisp/scheme3_e.html&t=%28Scheme%29+Making+Lists' target='new'> 26<img src='../images/pencil.gif' class='arrow' border=0>Post Messages</a></td> 94<strong>'()</strong>. 95<strong>'()</strong> is called the empty list, which is included to lists. 96Even if the data consists of only one cons cell, it is a list if the cdr part is <tt>'()</tt>. 141 </ul> 142Actually, <tt>'()</tt> is a quoted empty list, which means that 143you should write <tt>'()</tt> to represent an empty list while the interpreter 143you should write <tt>'()</tt> to represent an empty list while the interpreter 144responds <tt>()</tt> for an empty list. 145AzureStorage.php https://code.google.com/p/celebrio/ | PHP | 252 lines
1<?php 2 45 if($dataFile->isDirectory()) { 46 throw new \InvalidArgumentException("Azure storage does not return directory but empty file.", 0); 47 } 49 50 if(empty($container)) 51 $container = $this->getContainer(); 72 $path = $this->getPathForFile($dataFile); 73 if(empty($container)) 74 $container = $this->getContainer(); 102 $path = $this->getPathForFile($dataFile); 103 if(empty($container)) 104 $container = $this->getContainer(); 128 $path = $this->getPathForFile($dataFile); 129 if(empty($container)) 130 $container = $this->getContainer();TemperatureTest.php git://pkgs.fedoraproject.org/php-ZendFramework | PHP | 448 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: TemperatureTest.php 24594 2012-01-05 21:27:01Z matthew $ 21 */ 22 23if (!defined('PHPUnit_MAIN_METHOD')) { 24 define('PHPUnit_MAIN_METHOD', 'Zend_Measure_TemperatureTest::main'); 29 */ 30require_once 'Zend/Measure/Temperature.php'; 31 34 */ 35require_once 'Zend/Registry.php'; 36 44 */ 45class Zend_Measure_TemperatureTest extends PHPUnit_Framework_TestCase 46{visual_test.php git://pkgs.fedoraproject.org/pgfouine | PHP | 386 lines
1<?php 2 // $Id: visual_test.php,v 1.1 2005/11/09 23:41:18 gsmet Exp $ 12 // 13 // The proper tests start in all_tests.php 14 require_once('../unit_tester.php'); 14 require_once('../unit_tester.php'); 15 require_once('../shell_tester.php'); 16 require_once('../mock_objects.php'); 16 require_once('../mock_objects.php'); 17 require_once('../reporter.php'); 18 require_once('../xml.php'); 229 230 function testEmptyMatching() { 231 $dummy = &new MockDummy($this); 236 237 function testEmptyMatchingWithCustomMessage() { 238 $dummy = &new MockDummy($this);user.php git://pkgs.fedoraproject.org/virtuoso-opensource | PHP | 387 lines
1<?php 2# 22?> 23<?php 24 146 $GLOBALS[$prefix . "is_admin"] = $row[2]; 147 $GLOBALS[$prefix . "email"] = empty ( $row[3] ) ? "" : $row[3]; 148 if ( strlen ( $row[0] ) && strlen ( $row[1] ) ) 373 "cal_is_admin" => $row[3], 374 "cal_email" => empty ( $row[4] ) ? "" : $row[4], 375 "cal_password" => $row[5],query_builder.php http://hppg.googlecode.com/svn/trunk/ | PHP | 303 lines
1<?php 2/** 116 $tokens = array(); 117 $tokenArray = preg_split( '@(\s)|(["+():-])@', $searchQuery, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY ); 118 foreach ( $tokenArray as $token )Upload.php git://github.com/panada/Panada.git | PHP | 496 lines
143 144 if (!empty($this->editImage)) { 145 foreach ($this->editImage as $editImage) { 175 2 => 'No folder located. Please define the folder location.', 176 3 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.', 177 4 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.', 213 */ 214 if (empty($this->folderLocation)) { 215 $this->_setErrorMessage(2); 233 foreach ($arr as $name) { 234 if (empty($name)) { 235 continue; 442 // php formats 443 'php|php4|php3|phtml' => 'application/x-httpd-php', 444 'phps' => 'application/x-httpd-php-source',s3_upload.php git://github.com/abbasali/S3Upload-Behavior.git | PHP | 312 lines
35 * 36 * As the S3 class itself requires PHP > 5.2, the requirement for this behavior is also PHP > 5.2 and cURL 37 * 42 * @author Abbas Ali <abbas@sanisoft.com> 43 * @link http://www.sanisoft.com/blog/2010/03/29/amazon-s3-upload-behavior-cakephp 44 * @version 1.0.0 131 // If the field is required and file name is empty then invalidate the field 132 if ($options['required'] && empty($model->data[$model->name][$formfield]['name']) && empty($model->{$model->primaryKey})) { 133 $model->invalidate($options['formfield'], 'required'); 250 // If we have S3 credentials for this field/file 251 if (!empty($this->settings[$model->name][$field]['s3_access_key']) && !empty($this->settings[$model->name][$field]['s3_secret_key'])) { 252 $accessKey = $this->settings[$model->name][$field]['s3_access_key']; 293 // If we have S3 credentials for this field/file 294 if (!empty($options['s3_access_key']) && !empty($options['s3_secret_key'])) { 295 $accessKey = $options['s3_access_key'];PearPackageTask.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 501 lines
1<?php 2/* 2/* 3 * $Id: PearPackageTask.php 843 2010-09-02 14:39:13Z mrook $ 4 * 21 22require_once 'phing/tasks/system/MatchingTask.php'; 23include_once 'phing/types/FileSet.php'; 76 * @package phing.tasks.ext 77 * @version $Id: PearPackageTask.php 843 2010-09-02 14:39:13Z mrook $ 78 */ 106 { 107 include_once 'PEAR/PackageFileManager.php'; 108 if (! class_exists('PEAR_PackageFileManager')) 135 { 136 if (empty($this->filesets)) 137 {ValidateAttributesTest.php git://pkgs.fedoraproject.org/sahana | PHP | 443 lines
1<?php 2 2 3require_once('HTMLPurifier/Config.php'); 4require_once('HTMLPurifier/StrategyHarness.php'); 4require_once('HTMLPurifier/StrategyHarness.php'); 5require_once('HTMLPurifier/Strategy/ValidateAttributes.php'); 6 16 17 function testEmpty() { 18 $this->assertResult(''); 90 $this->assertResult( 91 '<acronym title="PHP: Hypertext Preprocessor">PHP</acronym>' 92 );messages.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 407 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 4 * 5 * PHP version 5 6 * LICENSE: This source file is subject to LGPL license 55 // Is this an Inbox or Outbox Filter? 56 if (!empty($_GET['type'])) 57 { 78 // Do we have a reporter ID? 79 if (isset($_GET['rid']) AND !empty($_GET['rid'])) 80 { 85 $level = '0'; 86 if (isset($_GET['level']) AND !empty($_GET['level'])) 87 { 308 $settings = Settings_Model::get_array(); 309 if ( !empty($settings)) 310 {postgres_driver.inc http://scalr.googlecode.com/svn/ | PHP | 657 lines
1<?php 2 3/** 4 * ADOdb Lite is a PHP class to encapsulate multiple database APIs and is compatible with 5 * a subset of the ADODB Command Syntax. 45 if (isset($host[1])) $this->connect_string .= " port=$host[1]"; 46 else if (!empty($this->port)) $this->connect_string .= " port=" . $this->port; 47 } 205 if (!$magic_quotes) { 206 if (strnatcmp(PHP_VERSION, '4.2.0') >= 0) { 207 return "'" . pg_escape_string($string) . "'"; 378 if (@pg_numfields( $resultId ) <= 0) { // return simplified recordset for inserts/updates/deletes with lower overhead 379 $recordset = new ADORecordSet_empty(); 380 $this->record_set = $recordset; 461 { 462 if(empty($field)) 463 {tipo_cambios_controller.php http://scp-soft.googlecode.com/svn/trunk/ | PHP | 359 lines
1<?php 2class TipoCambiosController extends AppController{ 16 17 if (!empty($this->params['url']['limite'])) 18 $this->limite = $this->params['url']['limite']; 26 function add(){ 27 if (!empty($this->data)){ 28 $cantidad = $this->TipoCambio->find('count',array( 70 function edit($id = null){ 71 if (empty($id)){ 72 $this->Session->setFlash('El identificador de tipo de cambio es incorrecto'); 75 76 if (!empty($this->data)){ 77 $this->data['TipoCambio']['usuario_modificacion_id'] = $this->_usuario['id']; 97 function delete($id = null, $verbose = true){ 98 if (empty($id)){ 99 if ($verbose){comment-template.php http://core.svn.wordpress.org/ | PHP | 363 lines
1<?php 2/* 7 global $comment; 8 if ( empty($comment->comment_author) ) 9 $author = __('Anonymous'); 31 $email = apply_filters('comment_email', $comment->comment_author_email); 32 if ((!empty($email)) && ($email != '@')) { 33 $display = ($linktext != '') ? $linktext : $email; 44 45 if ( empty( $url ) || 'http://' == $url ) 46 $return = $author; 225 global $id; 226 $tb_url = get_option('siteurl') . '/wp-trackback.php?p=' . $id; 227 273 274function comments_template( $file = '/comments.php' ) { 275 global $wp_query, $withcomments, $post, $wpdb, $id, $comment, $user_login, $user_ID, $user_identity;MaildirFolderTest.php git://github.com/zendframework/zf2.git | PHP | 0 lines
1<?php 2/** 36 */ 37class MaildirFolderTest extends \PHPUnit_Framework_TestCase 38{ 69 if ($count != 2) { 70 $this->markTestSkipped('Are you sure your tmp dir is a valid empty dir?'); 71 return; 149 150 $this->fail('no exception raised with empty params'); 151 } 203 try { 204 // explicit call of __toString() needed for PHP < 5.2 205 $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder'); 235 236 // explicit call of __toString() needed for PHP < 5.2 237 $found_folders[$folder->__toString()] = $localName;posting.php https://hg.codeplex.com/mvcbb | PHP | 222 lines
1<?php 2/** 6* @package language 7* @version $Id: common.php 2009 Sastra Manurung 8* @copyright (c) 2009 Zourbuth Studio 8* @copyright (c) 2009 Zourbuth Studio 9* @license http://opensource.org/licenses/gpl-license.php GNU Public License 10* 15*/ 16if (!defined('IN_PHPBB')) 17{ 20 21if (empty($lang) || !is_array($lang)) 22{ 142 'PARTIAL_UPLOAD' => 'File yang diupload hanya sebagian saja.', 143 'PHP_SIZE_NA' => 'File lampiran terlalu besar.<br />Tidak dapat menentukan ukuran maksimum yang ditentukan PHP dalam php.ini.', 144 'PHP_SIZE_OVERRUN' => 'Ukuran file lampiran terlalu besar, ukuran upload maksimum adalah %1$d %2$s.<br />Mohon dicatat bahwa hal ini diatur pada php.ini dan tidak dapat dikesampingkan.',FormErrors.php git://github.com/zendframework/zf2.git | PHP | 467 lines
1<?php 2/** 97 98 if (empty($markup)) { 99 return $content; 421 $label = $element->getLabel(); 422 if (empty($label)) { 423 $label = $element->getName();gettext.c git://github.com/vpj/PHP-Extension-API.git | C | 392 lines
2 +----------------------------------------------------------------------+ 3 | PHP Version 5 | 4 +----------------------------------------------------------------------+ 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 1997-2009 The PHP Group | 6 +----------------------------------------------------------------------+ 128 NULL, 129 PHP_MINFO(php_gettext), 130 NO_VERSION_YET, 152 153PHP_MINFO_FUNCTION(php_gettext) 154{ 258 if (domain[0] == '\0') { 259 php_error(E_WARNING, "The first parameter of bindtextdomain must not be empty"); 260 RETURN_FALSE;api_b2b_2_0_advance.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 251 lines
1<?php 2include_once(CORE_DIR.'/api/shop_api_object.php'); 43 44 if(!empty($error_msg)){ 45 $this->add_application_error($error_msg); 72 73 if(!empty($error_msg)){ 74 $this->add_application_error($error_msg); 108 109 $last_cost_payment = empty($order['cost_payment']) ? 0 : $order['cost_payment'];//????????? 110 $money = $order['total_amount'] - $order['payed'];//?????DB.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 488 lines
1<?php 2/** 33 else{ 34 showError(__T('Config\'s argument error,or miss adapter,please check conf.php!')); 35 } 39 40 require_once(SYSBASE.'Database/DB/'.$DB_config['adapter'].'.php'); 41 60 { 61 if(!empty($table)){ 62 $this->table=str_replace('#',$this->pre,$table); 74 function setSql($sql){ 75 if(!empty($sql)){ 76 $this->sql=str_replace('#',$this->pre,$sql);ctl.articles.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 273 lines
1<?php 2include_once('objectPage.php'); 27 28 $this->begin('index.php?ctl=content/articles&act=addnew'); 29 32 33 if (empty($_POST['title'])){ 34 trigger_error('??????',E_USER_ERROR); 67 if(!$oArticle->addArticle($_POST)){ 68 $this->splash('failed','index.php?ctl=content/articles&act=index',$msg); 69 } 69 } 70 $this->splash('success','index.php?ctl=content/articles&act=index',__('??????')); 71 } 152 153 $this->begin('index.php?ctl=content/articles&act=detail&p[0]='.$article_id); 154HTMLModuleManager.php git://github.com/anantgarg/Qwench.git | PHP | 403 lines
1<?php 2 166 } 167 if (empty($module->name)) { 168 trigger_error('Module instance of ' . get_class($module) . ' must have name');header.php http://gevion.googlecode.com/svn/trunk/ | PHP | 182 lines
1<?php 2/* $Id: header.php,v 1.23 2010/03/15 08:16:38 devincen Exp $ 30<meta name="author" content="Antonio De Vincentiis www.devincentiis.it"> 31<?php 32$menuclass = ' class="FacetMainMenu" '; 33$style = 'stylesheet.css'; 34if (!empty($admin_aziend['style'])){ 35 $style = $admin_aziend['style']; 44{ 45 /* - In $idScript si deve passare l'id dell'array submenu (m2) in menu.language.php (per mettere nel tag <TITLE> ) 46 oltre che il nome del modulo anche quello dello script tradotto 65 if ($ctrl_m1!=$row['m1_id']) { 66 require("../../modules/".$row['name']."/menu.".$admin_aziend['lang'].".php"); 67 } 73 if ($ctrl_m2 != $row['m2_id'] and $ctrl_m1 != $row['m1_id']) { 74 require("../../modules/".$row['name']."/lang.".$admin_aziend['lang'].".php"); 75 if (isset($strScript[$scriptname])){ // se ? stato tradotto lo script lo ritorno al chiamanteempty.html git://github.com/kazuho/cppref.git | HTML | 147 lines
42 <div class="pagename"> 43 [[<a href="../../stl/stack/empty.html" title="Backlinks">empty</a>]] 44 </div> 53 <div class="breadcrumbs"> 54 <span class="bchead">You are here: </span><a href="../../start.html" title="start">C++ Reference</a> » <a href="../../stl/start.html" title="stl:start">C++ Standard Template Library</a> » <a href="../../stl/stack/start.html" title="stl:stack:start">C++ Stacks</a> » <a href="../../stl/stack/empty.html" title="stl:stack:empty">empty</a> </div> 55 57 58<div class="plugin_translation"><span>Translations of this page<sup><a href="../../localization.html" class="wikilink1" title="localization">?</a></sup>:</span> <ul> <li><div class="li"><span class="curid"><a href="../../stl/stack/empty.html" class="wikilink1" title="stl:stack:empty">en</a></span></div></li> <li><div class="li"><a href="../../br-pt/stl/stack/empty.html" class="wikilink2" title="br-pt:stl:stack:empty" rel="nofollow">br-pt</a></div></li> <li><div class="li"><a href="../../cn/stl/stack/empty.html" class="wikilink2" title="cn:stl:stack:empty" rel="nofollow">cn</a></div></li> <li><div class="li"><a href="../../cz/stl/stack/empty.html" class="wikilink2" title="cz:stl:stack:empty" rel="nofollow">cz</a></div></li> <li><div class="li"><a href="../../de/stl/stack/empty.html" class="wikilink2" title="de:stl:stack:empty" rel="nofollow">de</a></div></li> <li><div class="li"><a href="../../es/stl/stack/empty.html" class="wikilink2" title="es:stl:stack:empty" rel="nofollow">es</a></div></li> <li><div class="li"><a href="../../fr/stl/stack/empty.html" class="wikilink2" title="fr:stl:stack:empty" rel="nofollow">fr</a></div></li> <li><div class="li"><a href="../../it/stl/stack/empty.html" class="wikilink1" title="it:stl:stack:empty">it</a></div></li> <li><div class="li"><a href="../../jp/stl/stack/empty.html" class="wikilink2" title="jp:stl:stack:empty" rel="nofollow">jp</a></div></li> <li><div class="li"><a href="../../nl/stl/stack/empty.html" class="wikilink2" title="nl:stl:stack:empty" rel="nofollow">nl</a></div></li> <li><div class="li"><a href="../../pl/stl/stack/empty.html" class="wikilink1" title="pl:stl:stack:empty">pl</a></div></li> <li><div class="li"><a href="../../ro/stl/stack/empty.html" class="wikilink2" title="ro:stl:stack:empty" rel="nofollow">ro</a></div></li> <li><div class="li"><a href="../../ru/stl/stack/empty.html" class="wikilink1" title="ru:stl:stack:empty">ru</a></div></li> <li><div class="li"><a href="../../sk/stl/stack/empty.html" class="wikilink1" title="sk:stl:stack:empty">sk</a></div></li> <li><div class="li"><a href="../../tr/stl/stack/empty.html" class="wikilink2" title="tr:stl:stack:empty" rel="nofollow">tr</a></div></li> <li><div class="li"><a href="../../tw/stl/stack/empty.html" class="wikilink2" title="tw:stl:stack:empty" rel="nofollow">tw</a></div></li></ul></div> 59 72 73<h2><a name="empty" id="empty">empty</a></h2> 74<div class="level2"> 144 145<div class="no"><img src="/wiki/lib/exe/indexer.php?id=stl%3Astack%3Aempty&1273198050" width="1" height="1" alt="" /></div> 146</body>nrepl.clj git://github.com/clojure/tools.nrepl.git | Clojure | 246 lines
2; The use and distribution terms for this software are covered by the 3; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) 4; which can be found in the file epl-v10.html at the root of this distribution. 154 the result of (read)ing it. Returns the message unchanged if the :value 155 slot is empty or not a string." 156 [{:keys [value] :as msg}]MassTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: MassTest.php 23772 2011-02-28 21:35:29Z ralph $ 21 */ 25 */ 26require_once 'Zend/Measure/Flow/Mass.php'; 27 35 */ 36class Zend_Measure_Flow_MassTest extends PHPUnit_Framework_TestCase 37{ 71 $value = new Zend_Measure_Flow_Mass('novalue',Zend_Measure_Flow_Mass::STANDARD,'de'); 72 $this->fail('Exception expected because of empty value'); 73 } catch (Zend_Measure_Exception $e) { 268 $value->setValue('novalue',Zend_Measure_Flow_Mass::STANDARD,'de'); 269 $this->fail('Exception expected because of empty value'); 270 } catch (Zend_Measure_Exception $e) {KeywordEditController.php http://geocontexter.googlecode.com/svn/trunk/ | PHP | 304 lines
1<?php 2/** 11 * @package GeoContexter 12 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 13 * @author Armand Turpel <geocontexter@gmail.com> 168 // 169 if(!empty($attribute_id_group)) 170 { 236 237 if(empty($params['data']['title'])) 238 { 238 { 239 $this->view->error[] = 'Keyword title is empty'; 240 $this->view->headTitle('Error: keyword title field is empty', 'PREPEND');FrequencyTest.php git://pkgs.fedoraproject.org/php-ZendFramework | PHP | 390 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: FrequencyTest.php 24594 2012-01-05 21:27:01Z matthew $ 21 */ 26 */ 27require_once 'Zend/Measure/Frequency.php'; 28 36 */ 37class Zend_Measure_FrequencyTest extends PHPUnit_Framework_TestCase 38{ 72 $value = new Zend_Measure_Frequency('novalue',Zend_Measure_Frequency::STANDARD,'de'); 73 $this->fail('Exception expected because of empty value'); 74 } catch (Zend_Measure_Exception $e) { 269 $value->setValue('novalue',Zend_Measure_Frequency::STANDARD,'de'); 270 $this->fail('Exception expected because of empty value'); 271 } catch (Zend_Measure_Exception $e) {MassTest.php git://pkgs.fedoraproject.org/php-ZendFramework | PHP | 389 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: MassTest.php 24594 2012-01-05 21:27:01Z matthew $ 21 */ 25 */ 26require_once 'Zend/Measure/Flow/Mass.php'; 27 35 */ 36class Zend_Measure_Flow_MassTest extends PHPUnit_Framework_TestCase 37{ 71 $value = new Zend_Measure_Flow_Mass('novalue',Zend_Measure_Flow_Mass::STANDARD,'de'); 72 $this->fail('Exception expected because of empty value'); 73 } catch (Zend_Measure_Exception $e) { 268 $value->setValue('novalue',Zend_Measure_Flow_Mass::STANDARD,'de'); 269 $this->fail('Exception expected because of empty value'); 270 } catch (Zend_Measure_Exception $e) {History.php git://pkgs.fedoraproject.org/horde | PHP | 408 lines
1<?php 2/** 5 * 6 * $Horde: framework/History/History.php,v 1.28.2.25 2010/11/08 16:17:28 jan Exp $ 7 * 61 62 if (empty($conf['sql']['phptype']) || 63 $conf['sql']['phptype'] == 'none') { 68 69 require_once 'DB.php'; 70 $this->_write_db = &DB::connect($conf['sql']); 73 if (is_a($this->_write_db, 'DB_common')) { 74 switch ($this->_write_db->phptype) { 75 case 'mssql': 89 * seperately. */ 90 if (!empty($conf['sql']['splitread'])) { 91 $params = array_merge($conf['sql'], $conf['sql']['read']);Services_Trackback_Test.php http://nothing-at-all.googlecode.com/svn/trunk/ | PHP | 449 lines
2require_once 'Services/Trackback.php'; 3require_once 'Services/Trackback/SpamCheck.php'; 4require_once 'Services/Trackback/SpamCheck/Mock.php'; 5 6require_once 'PHPUnit/Framework/TestCase.php'; 7 111 112 $data['trackback_url'] = 'http://pear.php.net/trackback/trackback.php?id=Net_FTP'; 113 340 $strictness = SERVICES_TRACKBACK_STRICTNESS_LOW; 341 $url1 = "http://www.example.com/trackback/index.php"; 342 $url2 = "http://www.example.net/trackbike/index.htm"; 348 $strictness = SERVICES_TRACKBACK_STRICTNESS_MIDDLE; 349 $url1 = "http://www.example.com/trackback/index.php"; 350 $url2 = "http://www.example.com/trackbike/index.htm";modmail.class.php git://github.com/modxcms/revolution.git | PHP | 430 lines
1<?php 2/* 226 $helo = $this->modx->getOption('mail_smtp_helo',''); 227 if (!empty($helo)) { $default[modMail::MAIL_SMTP_HELO] = $helo; } 228 $default[modMail::MAIL_SMTP_HOSTS] = $this->modx->getOption('mail_smtp_hosts',null,'localhost');handlers.dev.js http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | JavaScript | 452 lines
3function fileDialogStart() { 4 jQuery("#media-upload-error").empty(); 5} 111 else { 112 item.load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()}); 113 } 146 jQuery.ajax({ 147 url: 'admin-ajax.php', 148 type: 'post', 164 jQuery.ajax({ 165 url: 'admin-ajax.php', 166 type: 'post', 257 258 jQuery('.filename:empty', item).remove(); 259 jQuery('.filename .title', item).css('font-weight','bold');sub-activity-class-singlepost.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 381 lines
1<?php 2 36 37 if( empty($activity_post_id) || empty($album_id) || empty($media_id) ){ 38 return false;labels.inc git://pkgs.fedoraproject.org/roundcubemail | PHP | 484 lines
1<?php 2 182$labels['compact'] = '??'; 183$labels['empty'] = '??'; 184report_docacq.php http://gevion.googlecode.com/svn/trunk/ | PHP | 320 lines
1<?php 2/*$Id: report_docacq.php,v 1.24 2010/02/24 08:19:59 devincen Exp $ 24*/ 25require("../../library/include/datlib.inc.php"); 26require("../vendit/class/class_scadenzario.php"); 47 48if ((isset($_GET['clientdoc'])) and (!empty($_GET['clientdoc']))) { 49 $clientdoc = $_GET['clientdoc']; 55 56if ((isset($_GET['per_data'])) and (!empty($_GET['per_data']))) { 57 $per_data_selected = "checked"; 63 $data_search_a = $_GET['annami']."-".$_GET['mesami']."-".$_GET['gioami']; 64 if (!empty($where)) { 65 $where .= " AND datemi >= '".$data_search_da."' AND datemi <= '".$data_search_a."' "; 90$titolo="Documenti d'acquisto"; 91require("../../library/include/header.php"); 92$script_transl=HeadMain();commerce_payment.checkout_pane.inc https://hg.codeplex.com/webstart | Pascal | 316 lines
1<?php 2 46 47 // If no payment methods were found, return the empty form. 48 if (empty($options)) { 65 // If at least one payment option is available... 66 if (!empty($options)) { 67 // Add a radio select widget to specify the payment method. 78 // in the order / checkout pane or the first available method. 79 $pane_values = !empty($form_state['values']) ? $form_state['values'][$checkout_pane['pane_id']] : array(); 80 127 // Only attempt validation if we actually had payment methods on the form. 128 if (!empty($form[$pane_id]) && !empty($form_state['values'][$pane_id])) { 129 $pane_form = $form[$pane_id]; 174 // Only submit if we actually had payment methods on the form. 175 if (!empty($form[$pane_id]) && !empty($form_state['values'][$pane_id])) { 176 $pane_form = $form[$pane_id];Order.php https://hg.codeplex.com/cp3046team07bj | PHP | 302 lines
4include_once 'include/placeorder.php'; 5require_once "cart.class.php"; 6include('gloable.php'); 15{ 16header("location:log in.php"); 17} 99 <td><a href="index.php"><img src="Untitled-2_??.gif" width=100% height="250" /></a> 100 <?php include('header.php');?></td> 101 104</table> 105<h1 style=" color:#3366CC;"> Hello <?php $user->get_fullname($uid); ?></h1> 106 177 <th width="58%" > <div align="left"> 178 <?php echo date("Y-m-d",time()+8*3600); ?> 179 </div></th>Linux_SambaServiceConfigurationForServiceManualInstance.cpp git://pkgs.fedoraproject.org/sblim-cmpi-samba | C++ | 311 lines
11// You can obtain a current copy of the Eclipse Public License from 12// http://www.opensource.org/licenses/eclipse-1.0.php 13// 33 //---------------------------------------------------------------------------- 34 //empty constructor 35 Linux_SambaServiceConfigurationForServiceManualInstance::Linux_SambaServiceConfigurationForServiceManualInstance() {URLEncodedTest.java git://pkgs.fedoraproject.org/jetty | Java | 257 lines
9// The Apache License v2.0 is available at 10// http://www.opensource.org/licenses/apache2.0.php 11// You may elect to redistribute this code under either of these licenses. 49 UrlEncoded url_encoded = new UrlEncoded(); 50 assertEquals("Initially not empty",0, url_encoded.size()); 51 53 url_encoded.decode(""); 54 assertEquals("Not empty after decode(\"\")",0, url_encoded.size()); 55 229 UrlEncoded url_encoded = new UrlEncoded(); 230 assertEquals("Empty",0, url_encoded.size()); 231PropertyPathOperators.cs https://hg.codeplex.com/dotnetrdf | C# | 326 lines
147 SparqlQuery q = new SparqlQuery(); 148 q.RootGraphPattern = this.ToGraphPattern(); 149 q.Optimise(); 156 /// <returns></returns> 157 public abstract GraphPattern ToGraphPattern(); 158 214 215 if (!results.IsEmpty) 216 { 293 294 if (!results.IsEmpty) 295 {prototype_engine.php git://github.com/abalonepaul/eav_behavior.git | PHP | 370 lines
7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 11 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 17 * @link http://cakephp.org CakePHP(tm) Project 18 * @package cake 19 * @subpackage cake.libs.view.helpers 20 * @since CakePHP(tm) v 1.3 21 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 201 } 202 if (!empty($options)) { 203 $optionString = ', {' . $this->_parseOptions($options) . '}';V3Graph.h git://pkgs.fedoraproject.org/verilator | C Header | 268 lines
71 // METHODS 72 void clear(); // Empty it of all vertices/edges, as if making a new object 73 void clearColors(); 156 // METHODS 157 void verticesPushBack(V3Graph* graphp); 158 // ACCESSORS 164 // CONSTRUCTION 165 V3GraphVertex(V3Graph* graphp); 166 virtual ~V3GraphVertex() {} 166 virtual ~V3GraphVertex() {} 167 void unlinkEdges(V3Graph* graphp); 168 void unlinkDelete(V3Graph* graphp); 193 V3GraphEdge* inBeginp() const { return m_ins.begin(); } 194 bool inEmpty() const { return inBeginp()==NULL; } 195 bool inSize1() const;ICollectionGenerator.cs https://hg.codeplex.com/fluentserializer | C# | 235 lines
4// Distributed under the MIT/X11 software license, see the accompanying 5// file COPYING or http://www.opensource.org/licenses/mit-license.php. 6// </copyright> 87 88 ConstructorInfo constructor = decoratedTypeWithHelper.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.EmptyTypes, null); 89 var helper2 = (ICollectionHelper)constructor.Invoke(null);period_manager.class.php https://bitbucket.org/chamilo/chamilo-app-internship-organizer-dev/ | PHP | 318 lines
1<?php 2namespace application\internship_organizer; 7 8require_once WebApplication :: get_application_class_lib_path('internship_organizer') . 'period_manager/component/browser/browser_table.class.php'; 9require_once WebApplication :: get_application_class_lib_path('internship_organizer') . 'period_menu.class.php'; 9require_once WebApplication :: get_application_class_lib_path('internship_organizer') . 'period_menu.class.php'; 10require_once WebApplication :: get_application_class_lib_path('internship_organizer') . 'period.class.php'; 11 134 135 function get_period_emptying_url($period) 136 { 281 * Helper function for the SubManager class, 282 * pending access to class constants via variables in PHP 5.3 283 * e.g. $name = $class :: DEFAULT_ACTION 296 * Helper function for the SubManager class, 297 * pending access to class constants via variables in PHP 5.3 298 * e.g. $name = $class :: PARAM_ACTIONgenmenu.php http://opixido-ocms.googlecode.com/svn/trunk/ | PHP | 325 lines
1<?php 2 129 130 $ulId = empty($rootId) ? '' : ' id="menu_' . $this->nom_menu . '"'; 131 $divid = empty($rootId) ? '' : ' id="div_menu_' . $this->nom_menu . '"'; 158 159 if (!empty($rootId)) { 160 if ($this->conf['use_images']) { 184 $tpl->set('titre', akev($value, 'titre')); 185 $tpl->set('id', empty($rootId) ? ' id="ml' . akev($value, 'idmenu') . '" ' : ' id="menu_' . $this->nom_menu . '_' . $cpt . '" '); 186 $tpl->set('style', akev($value, 'style'));console.php git://pkgs.fedoraproject.org/zoneminder | PHP | 343 lines
92 } 93 if ( $group && !empty($groupIds) && !array_key_exists( $monitors[$i]['Id'], $groupIds ) ) 94 { 134{ 135 if ( !empty($lastId) ) 136 $seqIdUpList[$seqId] = $lastId; 200?> 201 <div id="options"><?= makePopupLink( '?view=options', 'zmOptions', 'options', $SLANG['Options'] ) ?><?php if ( logToDatabase() > Logger::NOLOG ) { ?> / <?= makePopupLink( '?view=log', 'zmLog', 'log', '<span class="'.logState().'">'.$SLANG['Log'].'</span>' ) ?><?php } ?></div> 202<?php 243 <th class="colZones"><?= $SLANG['Zones'] ?></th> 244<?php 245if ( canEdit('Monitors') ) 330?> 331 <td class="colMark"><input type="checkbox" name="markMids[]" value="<?= $monitor['Id'] ?>" onclick="setButtonStates( this )"<?php if ( !canEdit( 'Monitors' ) ) { ?> disabled="disabled"<?php } ?>/></td> 332 </tr>TaxonomyTreesPostTypeWidget.class.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 193 lines
122 $see_number_products = isset( $instance['see_number_products'] ) ? (bool)$instance['see_number_products'] : false; 123 $hide_empty_taxonomies = isset( $instance['hide_empty_taxonomies'] ) ? (bool)$instance['hide_empty_taxonomies'] : false; 124 $included_taxonomies = isset( $instance['included_taxonomies'] ) ? (array)$instance['included_taxonomies'] : array(); 141 <?php foreach(get_object_taxonomies( $instance['post_type'] ) as $taxonomy): $tax = get_taxonomy( $taxonomy ); ?> 142 <option value="<?php echo esc_attr( $taxonomy );?>"<?php selected( $instance['taxonomy'], $taxonomy ); ?>><?php echo $tax->labels->name;?></option> 143 <?php endforeach; ?> 149 <br /> 150 <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id( 'hide_empty_taxonomies' ); ?>" name="<?php echo $this->get_field_name( 'hide_empty_taxonomies' ); ?>" <?php checked( $hide_empty_taxonomies, true ); ?> /> 151 <label for="<?php echo $this->get_field_id( 'hide_empty_taxonomies' ); ?>"><?php _e( 'Hide empty terms', 'tcp' ); ?></label> 163 foreach( $categories as $cat ): ?> 164 <option value="<?php echo esc_attr( $cat->term_id );?>"<?php $this->selected_multiple( $included_taxonomies, $cat->term_id ); ?>><?php echo $cat->cat_name;?></option> 165 <?php endforeach; ?> 166 </select> 167 <input type="button" onclick="tcp_select_up('<?php echo $this->get_field_id( 'included_taxonomies' ); ?>', '<?php echo $this->get_field_id( 'order_included' ); ?>');" id="tcp_up" value="<?php _e( 'up', 'tcp' );?>" class="button-secondary"/> 168 <input type="button" onclick="tcp_select_down('<?php echo $this->get_field_id( 'included_taxonomies' ); ?>', '<?php echo $this->get_field_id( 'order_included' ); ?>');" id="tcp_down" value="<?php _e( 'down', 'tcp' );?>" class="button-secondary"/>sk_basic_plugins.php http://spam-karma.googlecode.com/svn/trunk/ | PHP | 253 lines
1<?php 2/********************************************************************************************** 14************************************************************************************************/ 15?><?php 16// Basic plugins 111 { 112 if (empty($cmt_object->author_url['href'])) 113 {AnalyticsAsyncTopScript.cs https://hg01.codeplex.com/mojoportal | C# | 348 lines
5// The use and distribution terms for this software are covered by the 6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php) 7// which can be found in the file CPL.TXT at the root of this distribution. 34 private SiteSettings siteSettings = null; 35 private string googleAnalyticsProfileId = string.Empty; 36 private List<AnalyticsTransaction> transactions = new List<AnalyticsTransaction>(); 38 private string memberType = "member"; 39 private string pageToTrack = string.Empty; 40 private string sectionKey = "section"; 40 private string sectionKey = "section"; 41 private string section = string.Empty; 42 private string overrideDomain = string.Empty; 195 { 196 writer.Write(" _gaq.push(['_trackPageview','" + pageToTrack.Replace("'", string.Empty).Replace("\"", string.Empty) + "']); "); 197 }php-alternative-syntax-for-flow-control.html http://dyhb-frame.googlecode.com/svn/trunk/ | HTML | 222 lines
3 <head> 4 <title>The DoYouHaoBaby PHP Framework For PHP5 | ????????</title> 5 <meta http-equiv="content-type" content="text/html; charset=gbk" /> 45 <p> 46 PHP ?????????PHP ?HTML??????????????????????????????????</p> 47 <div class="title2"> 57<LI class=alt><SPAN><SPAN><?php </SPAN><SPAN class=vars>$sCompanyName</SPAN><SPAN> ='DoYouHaoBaby!';?> </SPAN></SPAN></LI> 58<LI><SPAN><?php </SPAN><SPAN class=keyword>if</SPAN><SPAN> ( !</SPAN><SPAN class=func>empty</SPAN><SPAN class=keyword>empty</SPAN><SPAN>( </SPAN><SPAN class=vars>$sCompanyName</SPAN><SPAN> ) ): ?> </SPAN></SPAN></LI> 59<LI class=alt><SPAN> DoYouHaoBaby ?????? </SPAN></LI> 65<LI class=alt><SPAN><SPAN><?php </SPAN><SPAN class=vars>$sCompanyName</SPAN><SPAN> ='DoYouHaoBaby!';?> </SPAN></SPAN></LI> 66<LI><SPAN><?php </SPAN><SPAN class=keyword>if</SPAN><SPAN> ( !</SPAN><SPAN class=func>empty</SPAN><SPAN class=keyword>empty</SPAN><SPAN>( </SPAN><SPAN class=vars>$sCompanyName</SPAN><SPAN> ) ){ ?> </SPAN></SPAN></LI> 67<LI class=alt><SPAN> DoYouHaoBaby ?????? </SPAN></LI> 159<LI><SPAN><?php </SPAN><SPAN class=keyword>foreach</SPAN><SPAN> ( </SPAN><SPAN class=vars>$arrList</SPAN><SPAN> </SPAN><SPAN class=keyword>as</SPAN><SPAN> </SPAN><SPAN class=vars>$key</SPAN><SPAN> => </SPAN><SPAN class=vars>$value</SPAN><SPAN> ): ?> </SPAN></SPAN></LI> 160<LI class=alt><SPAN><li><?php </SPAN><SPAN class=func>echo</SPAN><SPAN> </SPAN><SPAN class=vars>$key</SPAN><SPAN>;?>-<?php </SPAN><SPAN class=func>echo</SPAN><SPAN> </SPAN><SPAN class=vars>$value</SPAN><SPAN>;?></li> </SPAN></SPAN></LI> 161<LI><SPAN><?php </SPAN><SPAN class=keyword>endforeach</SPAN><SPAN>; ?> </SPAN></SPAN></LI></OL></DIV> </p>SuperColumn.class.php git://github.com/mjpearson/Pandra.git | PHP | 315 lines
1<?php 2/** 20 * 21 * @author Michael Pearson <pandra-support@phpgrease.net> 22 * @copyright 2010 phpgrease.net 103 104 if (!empty($modifiedColumns)) { 105 foreach ($modifiedColumns as &$cObj) { 112 113 if (!empty($deletions)) { 114 $p = new SlicePredicate(PandraSlicePredicate::TYPE_COLUMNS, $deletions); 118 119 if (!empty($insertions)) { 120 $sc = new \cassandra_SuperColumn(array('name' => $selfName, 'columns' => $insertions)); 195 196 if (!empty($result)) { 197 $this->init();ctl.gtype.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 264 lines
1<?php 2/** 6 * @package 7 * @version $Id: ctl.gtype.php 1928 2008-04-25 02:13:05Z alex $ 8 * @copyright 2003-2007 ShopEx 11 */ 12include_once('objectPage.php'); 13class ctl_gtype extends objectPage{ 103 function toSave(){ 104 if (empty($_POST['name'])){ 105 $this->begin('index.php?ctl=goods/gtype&act=newType'); 108 } 109 $this->begin('index.php?ctl=goods/gtype&act=index'); 110 $objGtype = &$this->system->loadModel('goods/gtype'); 188 function fetchSave(){ 189 $this->begin('index.php?ctl=goods/gtype&act=index',array(300001=>'index.php?ctl=goods/gtype&act=fetchProtoTypes&p[0]=gtype.php&p[1]=id='.$_POST['param_id'])); 190 $xml = &$this->system->loadModel('utility/xml');api_b2b_1_0_productline.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 207 lines
1<?php 2include_once(CORE_DIR.'/api/shop_api_object.php'); 124 $arr_dealer_purview = array(0,1,2,3); 125 if(!empty($member) && in_array($dealer_purview,$arr_dealer_purview)){ 126 $member_id = $member['member_id']; 151 $arr_sub_cat_id = $objProductCat->getSubCatId($pline_info['cat_id']); 152 if(!empty($arr_sub_cat_id)){ 153 $arr_sub_cat_id[] = $pline_info['cat_id'];class.listype.php http://kak.googlecode.com/svn/trunk/ | PHP | 343 lines
1<?php 2defined('_JEXEC') OR die('Access Denied!'); 157 if ($show['admin']) { 158 if(empty($listType)) $listType =1; 159 if (class_exists($GLOBALS[JNEWS.'classes'.$listType])) {index.php http://phpshop.googlecode.com/svn/trunk/ | PHP | 371 lines
3// 4// This source file is part of phpShop(R). 5// 20 21// $Id: index.php,v 1.1.1.1 2004/07/27 14:58:07 pablo Exp $ 22 37if (!get_magic_quotes_gpc()) { 38 die("You must enable magic_quotes_gpc in php.ini in order to run phpShop. Read <a href=\"http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc\"> the docs</a>."); 39} 59 $HTTP_COOKIE_VARS = $_COOKIE; 60 $PHP_SELF = $_SERVER["PHP_SELF"]; 61 $SERVER_NAME = $_SERVER["SERVER_NAME"]; 72} else { 73 //http://de.php.net/manual/de/function.import-request-variables.php 74 //if you're stuck using a pre-4.10 version of phpclass.SMART.inc.php http://openbiz-cubi.googlecode.com/svn/trunk/ | PHP | 234 lines
99 { 100 if ( empty($this->_filecontent) || empty($this->_ids)) { 101 return; 143 preg_match('/Elements in grown defect list\: (.*)\n/', $result, $lines); 144 if ((!empty($lines))&&(!empty($lines[0]))) { 145 $values=preg_split('/[\s,]+/',$lines[0]); 154 preg_match('/ number of hours powered up = (.*)\n/', $result, $lines); 155 if ((!empty($lines))&&(!empty($lines[0]))) { 156 $values=preg_split('/[\s,.]+/',$lines[0]); 165 preg_match('/Current Drive Temperature\: (.*)\n/', $result, $lines); 166 if ((!empty($lines))&&(!empty($lines[0]))) { 167 $values=preg_split('/[\s,]+/',$lines[0]); 205 { 206 if ( empty($this->_result) || empty($this->_ids)) { 207 return $this->xml->getSimpleXmlElement();user_waiting.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 222 lines
71 72 $full_name = ( ! empty( $row['full_name'] ) ) ? $row['full_name'] : $row['username']; 73 $subject = $lang_module['adduser_register']; 73 $subject = $lang_module['adduser_register']; 74 $message = sprintf( $lang_module['adduser_register_info'], $full_name, $global_config['site_name'], NV_MY_DOMAIN . NV_BASE_SITEURL . "index.php?" . NV_LANG_VARIABLE . "=" . NV_LANG_DATA . "&" . NV_NAME_VARIABLE . "=" . $module_name, $row['username'] ); 75 $message .= "<br /><br />------------------------------------------------<br /><br />"; 112 113if ( ! empty( $method ) and isset( $methods[$method] ) and ! empty( $methodvalue ) ) 114{ 154$head_tds['username']['title'] = $lang_module['account']; 155$head_tds['username']['href'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=user_waiting&sortby=username&sorttype=ASC"; 156$head_tds['full_name']['title'] = $lang_module['name']; 158$head_tds['email']['title'] = $lang_module['email']; 159$head_tds['email']['href'] = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=user_waiting&sortby=email&sorttype=ASC"; 160$head_tds['regdate']['title'] = $lang_module['register_date'];Atom10.php http://rhaco.googlecode.com/svn/rhaco_1_x/trunk/ | PHP | 335 lines
1<?php 2Rhaco::import("tag.feed.Atom"); 253 if(Variable::istype("AtomLink",$data)){ 254 if(!$data->isEmpty()) $outTag->addValue($data->get()); 255 } 296 function getUpdated($format=""){ 297 return (empty($format)) ? DateUtil::formatAtom($this->updated) : DateUtil::format($this->updated,$format); 298 }class_DbConnect.php http://easyapns.googlecode.com/svn/trunk/ | PHP | 467 lines
1<?PHP 2################################################################################# 22/** 23 * @category Apple Push Notification Service using PHP & MySQL 24 * @package EasyAPNs 277 { 278 $sql .= (!empty($sql) ? ', ' : '') . "$name $type"; 279 } 412 { 413 $errorpath = $_SERVER['PHP_SELF']; 414 } 435 * 436 * @param string The error message. If empty, one will be built with $this->sql. 437 * @return string