100+ results results for 'php glob repo:toolbag/s3-attachable-cake' (301 ms)
6 * Licensed under the MIT License at: 7 * http://www.opensource.org/licenses/mit-license.php 8 * 10 11(function (global) { 12 44 * 45 * Global configuration options: 46 * 101 // doc will be undefined during a build 102 doc = global.document, 103 // find the head element and set it to it's standard property if nec.wikiparser_test.php git://github.com/moodle/moodle.git | PHP | 247 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 20 * @package mod_wiki 21 * @category phpunit 22 * @copyright 2009 Marc Alier, Jordi Piguillem marc.alier@upc.edu 35 36global $CFG; 37require_once($CFG->dirroot . '/mod/wiki/parser/parser.php'); 91 $input = '<h1>Code & Test</h1>'; 92 $output = '<h3><a name="toc-1"></a>Code & Test <a href="edit.php?pageid=&section=Code+%26amp%3B+Test" '. 93 'class="wiki_edit_section">[edit]</a></h3>' . "\n"; 94 $toc = '<div class="wiki-toc"><p class="wiki-toc-title">Table of contents</p><p class="wiki-toc-section-1 '. 95 'wiki-toc-section">1. <a href="#toc-1">Code & Test <a href="edit.php?pageid=&section=Code+%26amp%3B+'. 96 'Test" class="wiki_edit_section">[edit]</a></a></p></div>'; 104 $input = '<h1>Another áéíóúç€ test</h1>'; 105 $output = '<h3><a name="toc-1"></a>Another áéíóúç€ test <a href="edit.php?pageid=&section=Another+%C'. 106 '3%A1%C3%A9%C3%AD%C3%B3%C3%BA%C3%A7%E2%82%AC+test" class="wiki_edit_section">[edit]</a></h3>' . "\n";AdminCarriers.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 298 lines
1<?php 2 3/** 4 * Carriers tab for admin panel, AdminCarriers.php 5 * @category admin 8 * @copyright PrestaShop 9 * @license http://www.opensource.org/licenses/osl-3.0.php Open-source licence 3.0 10 * @version 1.3 13 14include_once(PS_ADMIN_DIR.'/../classes/AdminTab.php'); 15 21 { 22 global $cookie; 23 48 { 49 global $currentIndex, $cookie; 50 parent::displayForm();admin.php http://jfusion.googlecode.com/svn/trunk/ | PHP | 434 lines
1<?php 2/** 14 */ 15//require_once dirname(__FILE__) . DS . 'factory.php'; 16 18 * JFusion Admin class for Magento 1.1 19 * For detailed descriptions on these functions please check the model.abstractadmin.php 20 * @package JFusion_Magento 48 $params = array(); 49 $params['database_host'] = (string)$xml->document->global[0]->resources[0]->default_setup[0]->connection[0]->host[0]->data(); 50 $params['database_name'] = (string)$xml->document->global[0]->resources[0]->default_setup[0]->connection[0]->dbname[0]->data(); 50 $params['database_name'] = (string)$xml->document->global[0]->resources[0]->default_setup[0]->connection[0]->dbname[0]->data(); 51 $params['database_user'] = (string)$xml->document->global[0]->resources[0]->default_setup[0]->connection[0]->username[0]->data(); 52 $params['database_password']= (string)$xml->document->global[0]->resources[0]->default_setup[0]->connection[0]->password[0]->data(); 52 $params['database_password']= (string)$xml->document->global[0]->resources[0]->default_setup[0]->connection[0]->password[0]->data(); 53 $params['database_prefix'] = (string)$xml->document->global[0]->resources[0]->db[0]->table_prefix[0]->data(); 54 $params['database_type'] = "mysql";Database.php https://bitbucket.org/aswinvk28/smartpan-stock-drupal.git | PHP | 450 lines
1<?php 2 14 * all control and shepherding of database connections into a single location 15 * without the use of globals. 16 */ 50 /** 51 * A processed copy of the database connection information from settings.php. 52 * 211 final public static function parseConnectionInfo() { 212 global $databases; 213 260 * Under normal circumstances the preferred way to specify database 261 * credentials is via settings.php. However, this method allows them to be 262 * added at arbitrary times, such as during unit tests, when connecting to 272 * The database connection information, as it would be defined in 273 * settings.php. Note that the structure of this array will depend on the 274 * database driver it is connecting to.tab-screen.css http://simpleinvoices.googlecode.com/svn/trunk/ | CSS | 793 lines
64 65/* GLOBALS & GENERAL CASES 66-------------------------------------------------*/ 195 196/* Old PHP Reports CSS - uses class="reportTable" */ 197 216 217/* New PHPreports CSS - uses ID="pg2" or "pg1" - Although HEADER and FOOTER are used now instead of PAGE_LAYER, it is left as is for compatibility */ 218AnalyserTest.php https://github.com/sebastianbergmann/phploc.git | PHP | 407 lines
14use function sprintf; 15use PHPUnit\Framework\TestCase; 16 202 [ 203 __DIR__ . '/../_files/tests_old.php', 204 ], 214 [ 215 __DIR__ . '/../_files/twoTestsThatIndirectlyExtendOldPHPUnitTestCase.php', 216 ], 226 [ 227 __DIR__ . '/../_files/twoTestsThatIndirectlyExtendPHPUnitTestCase.php', 228 ], 362 363 $this->assertSame(0, $result['llocGlobal']); 364 }index.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 363 lines
40 41require_once('../../include/init.php'); 42require_once('../../include/timezones.php'); 61 } 62 setcookie("SV_THEME", $user_theme, time() + 60*60*24*365, $GLOBALS['sys_url_topdir']); 63 179print $HTML->box_nextitem(utils_get_alt_row_color($i)); 180print '<a href="change.php?item=gpgkey">'._("Edit GPG Key").'</a>'; 181print '<p class="smaller">'; 213print $HTML->box_nextitem(utils_get_alt_row_color($i)); 214print '<a href="change.php?item=realname">'._("Change Real Name").'</a>'; 215print '<p class="smaller">'.sprintf(_("You are %s."), '<strong>'.$row_user['realname'].'</strong>').'</p>'; 325 { 326 print utils_link($GLOBALS['sys_home'].'support/?group='.$GLOBALS['sys_unix_group_name'], 327 sprintf(_("%s administrators should be asked to take care of Savane CSS Guidelines, since it is the default theme"), $GLOBALS['sys_name']), "warn");modResource.class.php git://github.com/Dolibarr/dolibarr.git | PHP | 321 lines
1<?php 2/* Copyright (C) 2013-2014 Jean-François Ferry <jfefe@aternatik.fr> 23 * \brief Resource module descriptor. 24 * \file core/modules/modResource.class.php 25 * \ingroup resource 27 */ 28include_once DOL_DOCUMENT_ROOT."/core/modules/DolibarrModules.class.php"; 29 42 { 43 global $langs, $conf; 44 80 // for specific path of parts (eg: /resource/core/modules/barcode) 81 // for specific css file (eg: /resource/css/resource.css.php) 82 $this->module_parts = array(); 87 88 // Config pages. Put here list of php pages 89 // stored into resource/admin directory, used to setup module.index.php http://pixie-cms.googlecode.com/svn/trunk/ | PHP | 548 lines
43/* Check for config */ 44if ((!file_exists('admin/config.php')) or (filesize('admin/config.php') < 10)) { 45 /* redirect to installer */ 69/* Prevent superglobal poisoning before extraction */ 70globalSec('Main index.php', 1); 71/* Access to form vars if register globals is off */ 88 } 89 /* New! Built in php function. Tell php what the server timezone is so that we can use php 5's rewritten time and date functions with the correct time and without error messages */ 90 date_default_timezone_set("$server_timezone"); 294 print $rel_path; 295?>admin/jscript/public.js.php<?php 296 if (isset($s)) { 311 print $rel_path; 312?>admin/themes/style.php?theme=<?php 313 print $site_theme;HTMLDefinitionTest.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 348 lines
1<?php 2 101 102 function assertPurification_AllowedAttributes_global_style() 103 { 106 107 function test_AllowedAttributes_global_preferredSyntax() 108 { 110 $this->config->set('HTML.AllowedAttributes', 'style'); 111 $this->assertPurification_AllowedAttributes_global_style(); 112 } 113 114 function test_AllowedAttributes_global_verboseSyntax() 115 { 117 $this->config->set('HTML.AllowedAttributes', '*@style'); 118 $this->assertPurification_AllowedAttributes_global_style(); 119 }grid.custom.js https://hg01.codeplex.com/razorpad | JavaScript | 0 lines
6 * Dual licensed under the MIT and GPL licenses: 7 * http://www.opensource.org/licenses/mit-license.php 8 * http://www.gnu.org/licenses/gpl-2.0.html 9**/ 10/*global jQuery, $ */ 11SqlController.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 324 lines
1<?php 2declare(strict_types=1); 3 4namespace PhpMyAdmin\Controllers; 5 5 6use PhpMyAdmin\CheckUserPrivileges; 7use PhpMyAdmin\Config\PageSettings; 7use PhpMyAdmin\Config\PageSettings; 8use PhpMyAdmin\Core; 9use PhpMyAdmin\DatabaseInterface; 9use PhpMyAdmin\DatabaseInterface; 10use PhpMyAdmin\Html\Generator; 11use PhpMyAdmin\Message; 11use PhpMyAdmin\Message; 12use PhpMyAdmin\ParseAnalyze; 13use PhpMyAdmin\Response;Aggregation.php git://github.com/ruflin/Elastica.git | PHP | 471 lines
1<?php 2namespace Elastica\QueryBuilder\DSL; 12use Elastica\Aggregation\GeohashGrid; 13use Elastica\Aggregation\GlobalAggregation; 14use Elastica\Aggregation\Histogram; 237 /** 238 * global aggregation. 239 * 239 * 240 * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-global-aggregation.html 241 * 243 * 244 * @return GlobalAggregation 245 */ 245 */ 246 public function global_agg($name) 247 {questiontype.php git://github.com/moodle/moodle.git | PHP | 284 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 27 28require_once($CFG->dirroot . '/question/type/ddimageortext/questiontypebase.php'); 29 58 public function save_question_options($formdata) { 59 global $DB, $USER; 60 $context = $formdata->context; 146 public function move_files($questionid, $oldcontextid, $newcontextid) { 147 global $DB; 148 $fs = get_file_storage(); 170 protected function delete_files($questionid, $contextid) { 171 global $DB; 172 $fs = get_file_storage();write.php http://viet-group.googlecode.com/svn/trunk/ | PHP | 284 lines
17 */ 18global $file_lang_tran_no_comp; 19$file_lang_tran_no_comp = array(); 33{ 34 global $module_name, $db, $language_array, $global_config, $include_lang, $lang_module, $file_lang_tran_no_comp, $array_lang_exit, $array_lang_no_check; 35 list( $module, $admin_file, $langtype, $author_lang ) = $db->sql_fetchrow( $db->sql_query( "SELECT `module`, `admin_file`, `langtype`, `author_" . $dirlang . "` FROM `" . NV_LANGUAGE_GLOBALTABLE . "_file` WHERE `idfile` ='" . intval( $idfile ) . "'" ) ); 53 $include_lang = ""; 54 $modules_exit = nv_scandir( NV_ROOTDIR . "/modules", $global_config['check_module'] ); 55 73 { 74 $include_lang = NV_ROOTDIR . "/language/" . $dirlang . "/" . $module . ".php"; 75 } 273 } 274 include ( NV_ROOTDIR . "/includes/header.php" ); 275 echo nv_admin_theme( $contents );Context.cs http://flashdevelop.googlecode.com/svn/trunk/FD4/ | C# | 390 lines
13 14namespace PHPContext 15{ 19 new static readonly protected Regex re_CMD_BuildCommand = 20 new Regex("@php[\\s]+(?<params>.*)", RegexOptions.Compiled | RegexOptions.Multiline); 21 25 private ContextSettings langSettings; 26 private List<InlineRange> phpRanges; // inlined PHP ranges in HTML 27 186 phpRanges = new List<InlineRange>(); 187 return PhpFilter.FilterSource(src, phpRanges); 188 } 197 { 198 PhpFilter.FilterSource(model, phpRanges); 199 }features.inc http://drawshield.googlecode.com/svn/trunk/ | PHP | 270 lines
1<?php /* Copyright 2010 Karl R. Wilcox 2 16function get_features ( $feature_sets, &$node ) { 17 global $dom; 18 global $pending_items;MDB2Store.php http://hppg.googlecode.com/svn/trunk/ | PHP | 414 lines
1<?php 2 5 * 6 * PHP versions 4 and 5 7 * 15 16require_once 'lib/core/lhexternal/MDB2.php'; 17 20 */ 21require_once 'lib/core/lhexternal/Auth/OpenID/Interface.php'; 22 25 */ 26require_once 'lib/core/lhexternal/Auth/OpenID.php'; 27 30 */ 31require_once 'lib/core/lhexternal/Auth/OpenID/Nonce.php'; 32jquery.blockUI.js http://vispell.googlecode.com/svn/trunk/ | JavaScript | 399 lines
8 * Dual licensed under the MIT and GPL licenses: 9 * http://www.opensource.org/licenses/mit-license.php 10 * http://www.gnu.org/licenses/gpl.html 23 24// global $ methods for blocking/unblocking the entire page 25$.blockUI = function(opts) { install(window, opts); };FormOptionsHelper.php git://github.com/phpwax/phpwax.git | PHP | 273 lines
1<?php 2/** 3 * 4 * @package PHP-Wax 5 * @author Ross Riley 10 */ 11if(!array_key_exists('COUNTRIES',$GLOBALS)) { 12 $GLOBALS['COUNTRIES'] = 122 if($with_label) $html.= $this->make_label($with_label); 123 $html.= $this->options_for_select($GLOBALS['COUNTRIES'], $options); 124 return $html;actions.c git://github.com/DimaSmirnov/Archlinux-downgrader.git | C | 352 lines
208 chunk.size = 0; 209 curl_global_init(CURL_GLOBAL_ALL); 210 curl = curl_easy_init(); 210 curl = curl_easy_init(); 211 sprintf(tmp_string,"https://aur.archlinux.org/rpc.php?type=search&arg=%s",package); 212 curl_easy_setopt(curl, CURLOPT_URL, tmp_string); 230 curl_easy_cleanup(curl); 231 curl_global_cleanup(); 232 if(chunk.memory) free(chunk.memory);Bouncer.php git://github.com/znarf/Bouncer.git | PHP | 645 lines
1<?php 2 211 212 $request = Request::createFromGlobals(); 213 $request->setTrustedProxies(array('127.0.0.1')); 560 else { 561 // $this->error('No exit callable set. PHP exit construct will be used.'); 562 exit;function_view_log_test.php git://github.com/phpbb/phpbb.git | PHP | 424 lines
5* 6* @copyright (c) phpBB Limited <https://www.phpbb.com> 7* @license GNU General Public License, version 2 (GPL-2.0) 26 { 27 global $phpEx, $phpbb_dispatcher; 28 $phpbb_dispatcher = new phpbb_mock_event_dispatcher(); 157 'viewpost' => '', 158 'viewlogs' => append_sid("phpBB/mcp.$phpEx", 'i=logs&mode=topic_logs&t=56'), 159 ), 373 { 374 global $cache, $db, $user, $auth, $phpbb_log, $phpbb_dispatcher, $phpbb_root_path, $phpEx; 375 416 417 $phpbb_log = new \phpbb\log\log($db, $user, $auth, $phpbb_dispatcher, $phpbb_root_path, 'adm/', $phpEx, LOG_TABLE); 418FieldInstancePerFormDisplayTest.php git://github.com/drupal/drupal.git | PHP | 185 lines
1<?php 2 35 'required' => FALSE, 36 'global_settings' => array(), 37 ), 47 'required' => FALSE, 48 'global_settings' => array(), 49 ), 59 'required' => FALSE, 60 'global_settings' => array(), 61 ), 71 'required' => FALSE, 72 'global_settings' => array(), 73 ),AdminCarts.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 286 lines
1<?php 2 3/** 4 * Customers tab for admin panel, AdminContacts.php 5 * @category admin 8 * @copyright PrestaShop 9 * @license http://www.opensource.org/licenses/osl-3.0.php Open-source licence 3.0 10 * @version 1.3 13 14include_once(PS_ADMIN_DIR.'/../classes/AdminTab.php'); 15 44 { 45 global $currentIndex, $cookie; 46 142 'product_mini_'.intval($product['id_product']).(isset($product['id_product_attribute']) ? '_'.intval($product['id_product_attribute']) : '').'.jpg', 45, 'jpg') : '--').'</td> 143 <td><a href="index.php?tab=AdminCatalog&id_product='.$product['id_product'].'&updateproduct&token='.$tokenCatalog.'"> 144 <span class="productName">'.$product['name'].'</span><br />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(); 215$phplib = str_replace(".dll", ".lib", $phpdll); 216copy("$build_dir/$phplib", "$dist_dir/dev/$phplib"); 217/* debug builds; copy the symbols too */ 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 */select_giomag.php http://gevion.googlecode.com/svn/trunk/ | PHP | 207 lines
1<?php 2/* $Id: select_giomag.php,v 1.16 2010/01/17 17:27:04 devincen Exp $ 24*/ 25require("../../library/include/datlib.inc.php"); 26$admin_aziend=checkAdmin(); 30 { 31 global $gTables,$admin_aziend; 32 $m=array(); 112 ); 113 header("Location: sent_print.php"); 114 exit; 116 117require("../../library/include/header.php"); 118$script_transl=HeadMain(0,array('calendarpopup/CalendarPopup'));permissions_phpbb.php http://twpug.googlecode.com/svn/trunk/ | PHP | 219 lines
1<?php 2if (empty($lang) || !is_array($lang)) 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* )); 166 'acl_m_warn' => array('lang' => '??????', 'cat' => 'misc'), 167 'acl_m_ban' => array('lang' => '??????', 'cat' => 'misc'), // This moderator setting is only global (and not local) 168)); 174 'acl_a_jabber' => array('lang' => '????Jabber??', 'cat' => 'settings'), 175 'acl_a_phpinfo' => array('lang' => '????php??', 'cat' => 'settings'), 176login.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 257 lines
71 { 72 fb(sprintf(_("Savane thinks your cookies are not activated for %s. To log-in, we need you to activate cookies in your web browser for this website. Please do so and click here:"), $sys_default_domain).' '.$GLOBALS['sys_https_url'].$GLOBALS['sys_home'].'account/login.php?uri='.$uri, 1); 73 } 108 setcookie('SV_THEME', $theme, time() + 60*60*24, 109 $GLOBALS['sys_home'], $GLOBALS['sys_default_domain']); 110 } 132 # Go there saying hello to your brother 133 header ("Location: ".$http."://".$GLOBALS['sys_brother_domain'].$GLOBALS['sys_home']."/account/login.php?session_uid=".user_getid()."&session_hash=".$GLOBALS['session_hash']."&cookie_for_a_year=$cookie_for_a_year&from_brother=1&login=1&stay_in_ssl=$stay_in_ssl&brotherhood=1&uri=".urlencode($uri)); 134 exit; 195 '<li class="boxitem">'._("Did you forget or misspell your password?").'<br />'.utils_link('lostpw.php', _("You can recover your password using the lost password form.")).'</li>'. 196 '<li class="boxitemalt">'._("Still having trouble?").'<br />'.utils_link($GLOBALS['sys_home'].'support/?group='.$GLOBALS['sys_unix_group_name'], _("Fill a support request.")).'</li>'; 197 print '</ul></div>'; 205} 206print '<form action="'.$GLOBALS['sys_https_url'].$GLOBALS['sys_home'].'account/login.php" method="post">'; 207print '<input type="hidden" name="uri" value="'.htmlspecialchars($uri, ENT_QUOTES).'" />';XMemory_8hpp_source.html git://pkgs.fedoraproject.org/xqilla | HTML | 111 lines
6</head><body> 7<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a> 8<!-- Generated by Doxygen 1.6.1 --> 21 <li><a href="files.html"><span>File List</span></a></li> 22 <li><a href="globals.html"><span>File Members</span></a></li> 23 </ul>nodes.inc.php git://pkgs.fedoraproject.org/zabbix | PHP | 350 lines
1<?php 2/* 54 55 global $ZBX_LOCALNODEID, $ZBX_LOCMASTERID, $ZBX_CURRENT_NODEID, $ZBX_CURMASTERID, $ZBX_NODES, $ZBX_NODES_IDS, 56 $ZBX_AVAILABLE_NODES, $ZBX_VIEWED_NODES, $ZBX_WITH_ALL_NODES; 116function get_current_nodeid($force_all_nodes = null, $perm = null) { 117 global $ZBX_CURRENT_NODEID, $ZBX_AVAILABLE_NODES, $ZBX_VIEWED_NODES; 118 150function get_viewed_nodes() { 151 global $ZBX_LOCALNODEID; 152 191function get_node_name_by_elid($id_val, $force_with_all_nodes = null, $delimiter = '') { 192 global $ZBX_NODES, $ZBX_VIEWED_NODES; 193 206function getNodeIdByNodeName($nodeName) { 207 global $ZBX_NODES; 208graph_processor.h git://github.com/chromium/chromium.git | C Header | 231 lines
24 25 static void RemoveWeakNodesFromGraph(GlobalDumpGraph* global_graph); 26 26 27 static void AddOverheadsAndPropogateEntries(GlobalDumpGraph* global_graph); 28 28 29 static void CalculateSizesForGraph(GlobalDumpGraph* global_graph); 30 38 const base::trace_event::ProcessMemoryDump& source, 39 GlobalDumpGraph* global_graph, 40 GlobalDumpGraph::Process* process_graph); 53 static void AssignTracingOverhead(base::StringPiece allocator, 54 GlobalDumpGraph* global_graph, 55 GlobalDumpGraph::Process* process);update.zep.c git://github.com/phalcon/cphalcon.git | C | 541 lines
102{ 103 zephir_method_globals *ZEPHIR_METHOD_GLOBALS_PTR = NULL; 104 zend_long type, ZEPHIR_LAST_CALL_STATUS; 336{ 337 zephir_method_globals *ZEPHIR_METHOD_GLOBALS_PTR = NULL; 338 zval *columns_param = NULL, _0, _1, _2, _3; 375 zval _1, _2, _3, _4; 376 zephir_method_globals *ZEPHIR_METHOD_GLOBALS_PTR = NULL; 377 zend_long ZEPHIR_LAST_CALL_STATUS; 413{ 414 zephir_method_globals *ZEPHIR_METHOD_GLOBALS_PTR = NULL; 415 zend_long ZEPHIR_LAST_CALL_STATUS; 466 zval column, value, _0, _1, *_2, _3, _11, _12, _6$$3, _8$$3, _9$$4, _10$$4; 467 zephir_method_globals *ZEPHIR_METHOD_GLOBALS_PTR = NULL; 468 zephir_fcall_cache_entry *_7 = NULL;box_graph_invoices_permonth.php git://github.com/Dolibarr/dolibarr.git | PHP | 293 lines
1<?php 2/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net> 54 { 55 global $user; 56 69 { 70 global $conf, $user, $langs; 71 75 76 //include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php'; 77 //$facturestatic=new Facture($this->db); 78 79 $startmonth = $conf->global->SOCIETE_FISCAL_MONTH_START ? ($conf->global->SOCIETE_FISCAL_MONTH_START) : 1; 80 if (empty($conf->global->GRAPH_USE_FISCAL_YEAR)) { 133 } 134 $startyear = $endyear - (empty($conf->global->MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH) ? 2 : ($conf->global->MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH - 1)); 135UploaderCompatibilityTests.js git://github.com/fluid-project/infusion.git | JavaScript | 215 lines
13 14/* global jqUnit */ 15 43 options: { 44 uploadURL: "include/lib/upload.php" 45 } 54 queueSettings: { 55 uploadURL: "include/lib/upload.php" 56 },kfmDirectory.php http://kv-webme.googlecode.com/svn/trunk/ | PHP | 364 lines
52 if($file=='.'||$file=='..')return false; 53 foreach($GLOBALS['kfm']->setting('banned_folders') as $ban){ 54 if(($ban[0]=='/' || $ban[0]=='@')&&preg_match($ban,$file))return false; 98 if(is_dir($this->path()))return $this->error('failed to delete directory '.$this->path()); 99 $GLOBALS['kfm']->db->exec("delete from ".KFM_DB_PREFIX."directories where id=".$this->id); 100 return true; 192 $pid=$this->pid; 193 if(!$pid)return $GLOBALS['rootdir']; 194 while($pid>1){ 313 // { update database and kfmDirectory object 314 $GLOBALS['kfm']->db->query("update ".KFM_DB_PREFIX."directories set parent=".$newParent->id." where id=".$this->id) or die('error: '.print_r($GLOBALS['kfmdb']->errorInfo(),true)); 315 $this->pid=$newParent->id; 353 function maxWidth(){ 354 return $this->maxWidth > 0 ? $this->maxWidth : $GLOBALS['kfm']->setting('max_image_upload_width'); 355 }games.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 275 lines
1<?php 2 4 5include_once("modules/tournament2/class_tournament.php"); 6$tfunc = new tfunc; 9function WriteGame() { 10 global $spieler1, $gameid1, $score1, $spieler1_id, $i, $tournamentid, $game, $dsp, $auth, $lang; 11 46 else $score_output = "$score1 : $score2 "; 47 $score_output .= $dsp->FetchSpanButton(t('Details'), "index.php?mod=tournament2&action=submit_result&step=1&tournamentid=$tournamentid&gameid1=$gameid1&gameid2=$gameid2"); 48 } 56function WriteRoundHeadline($headline, $akt_round){ 57 global $tournament, $dsp, $func, $lang, $map, $tfunc; 58 69function WritePairs ($bracket, $max_pos) { 70 global $dsp, $db, $tournamentid, $tfunc, $akt_round, $lang, $func, $map, $tournament, $i, $game; 71instrumentation.cpp git://github.com/facebook/hiphop-php.git | C++ | 335 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 +----------------------------------------------------------------------+ 21 22namespace HPHP { 23namespace VM {cxthemes-plugin-update-checker.php https://bitbucket.org/daniellbraun/wildernessatthesmokies.git | PHP | 281 lines
71 72 if ( 'plugins.php' == $pagenow || 'plugin-install.php' == $pagenow ) { 73 95 'update_button_text' => __( 'Please register on the Plugins page to get this update', 'create-customer-order' ), 96 'plugin_register_url' => esc_url( admin_url( "plugins.php?{$this->slug}-purchase-code" ) ), 97 ) 208 209 <?php } else if ( 'connection-error' == $notification ) { ?> 210 211 <div class="cx-plugin-update-notification"> 212 <?php _e( 'You are unable to connect to our update server at this time. Please check your connection, or try again later.', 'create-customer-order' ); ?> 213 </div> 256 $purchase_code = get_option( "cx_{$this->slug}_envato_purchase_code" ); 257 $url = esc_url( admin_url( "plugins.php?{$this->slug}-purchase-code" ) ); 258AccessResult.php https://bitbucket.org/razum-io/ns-hub.git | PHP | 451 lines
1<?php 2 324 // e.g. we have two access results A and B. Neither is forbidden. A is 325 // globally cacheable (no cache contexts). B is cacheable per role. If we 326 // don't have merging case 3, then A->orIf(B) will be globally cacheable,update_7.inc git://pkgs.fedoraproject.org/drupal6-drush | Pascal | 318 lines
1<?php 2// $Id: update_7.inc,v 1.30 2010/12/30 18:28:08 greg1anderson Exp $ 4 * @file 5 * Update.php for provisioned sites. 6 * This file is a derivative of the standard drupal update.php, 11/** 12 * Global flag to identify update.php run, and so avoid various unwanted 13 * operations, such as hook_init() and hook_exit() invokes, css/js preprocessing 14 * and translation, and solve some theming issues. This flag is checked on several 15 * places in Drupal code (not just update.php). 16 */ 20 * Returns (and optionally stores) extra requirements that only apply during 21 * particular parts of the update.php process. 22 */ 38 * The schema version will not be updated in this case, and all the 39 * aborted updates will continue to appear on update.php as updates that 40 * have not yet been run.bethsoftvid.c git://github.com/xbmc/xbmc.git | C | 296 lines
25 * @author Nicholas Tung [ntung (at. ntung com] (2007-03) 26 * @see http://wiki.multimedia.cx/index.php?title=Bethsoft_VID 27 * @see http://www.svatopluk.com/andux/docs/dfvid.html 48 * to free, unofficial documentation) */ 49 int bethsoft_global_delay; 50 int video_index; /**< video stream index */ 79 vid->height = avio_rl16(pb); 80 vid->bethsoft_global_delay = avio_rl16(pb); 81 avio_rl16(pb); 132 // get the current packet duration 133 duration = vid->bethsoft_global_delay + avio_rl16(pb); 134mysql_common.h git://github.com/facebook/hiphop-php.git | C Header | 478 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 11 | http://www.php.net/license/3_01.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 | 13 | obtain it through the world-wide-web, please send a note to | 14 | license@php.net so we can mail you a copy immediately. | 15 +----------------------------------------------------------------------+ 404req::ptr<MySQLResult> php_mysql_extract_result(const Resource& result); 405req::ptr<MySQLResult> php_mysql_extract_result(const Variant& result); 406 466#define PHP_MYSQL_NUM 1 << 1 467#define PHP_MYSQL_BOTH (PHP_MYSQL_ASSOC|PHP_MYSQL_NUM) 468ImportShpTest.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 215 lines
9use PhpMyAdmin\Plugins\Import\ImportShp; 10use PhpMyAdmin\Tests\AbstractTestCase; 11 39 $GLOBALS['offset'] = 0; 40 $GLOBALS['cfg']['Server']['DisableIS'] = false; 41 45 ->getMock(); 46 $GLOBALS['dbi'] = $dbi; 47 49 50 $GLOBALS['compression'] = 'application/zip'; 51 $GLOBALS['read_multiply'] = 10; 52 $GLOBALS['import_type'] = 'ods'; 53 unset($GLOBALS['db'], $GLOBALS['table']); 54 }friend.php http://praized.googlecode.com/svn/trunk/ | PHP | 358 lines
1<?php 2/** 15 * 16 * <code><?php if ( pzdc_has_friend() ) : ?>...<?php endif; ?></code> 17 * 17 * 18 * @param string $identifier Optional user identifier (login) for custom template development (see bundled praized-php lib) 19 * @return boolean 22function pzdc_has_friend($identifier = FALSE) { 23 global $PraizedCommunity; 24 return $PraizedCommunity->tpt_has_friend(); 29 * 30 * <code><?php $friend_object = pzdc_friend(); ?></code> 31 * 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)google_base_feed_builder.php http://google-checkout-oscommerce.googlecode.com/svn/trunk/ | PHP | 362 lines
1<?php 2/* 21 * Google Checkout v1.5.0 22 * $Id: google_base_feed_builder.php 224 2009-03-11 16:31:28Z ed.davisson $ 23 * 75 76require_once(DIR_FS_CATALOG . 'googlecheckout/library/xml/google_xml_builder.php'); 77 142 143 // Required, global namespace. 144 $this->add_title($product);zend_accelerator_blacklist.c git://github.com/php/php-src.git | C | 378 lines
318#ifdef HAVE_GLOB 319 glob_t globbuf; 320 int ret; 322 323 memset(&globbuf, 0, sizeof(glob_t)); 324 324 325 ret = glob(filename, 0, NULL, &globbuf); 326#ifdef GLOB_NOMATCH 326#ifdef GLOB_NOMATCH 327 if (ret == GLOB_NOMATCH || !globbuf.gl_pathc) { 328#else 335 } 336 globfree(&globbuf); 337 }_g_screen_class_8h-source.html git://github.com/Ares-Developers/YRpp.git | HTML | 138 lines
57 <li> 58 <form action="search.php" method="get"> 59 <table cellspacing="0" cellpadding="0" border="0"> 71 <li><a href="files.html"><span>File List</span></a></li> 72 <li><a href="globals.html"><span>File Members</span></a></li> 73 </ul> 84<a name="l00010"></a>00010 <span class="comment">//Static</span> 85<a name="l00011"></a><a class="code" href="class_g_screen_class.html#d6566f322cab2232196e8d74c5822111">00011</a> <span class="keyword">static</span> <a class="code" href="class_g_screen_class.html">GScreenClass</a>* <a class="code" href="class_g_screen_class.html#d6566f322cab2232196e8d74c5822111">Global</a>() 86<a name="l00012"></a>00012 { <span class="keywordflow">return</span> (<a class="code" href="class_g_screen_class.html">GScreenClass</a>*)0x87F7E8; }Linux_SambaShareSecurityForGlobalInstance.cpp git://pkgs.fedoraproject.org/sblim-cmpi-samba | C++ | 415 lines
34 //empty constructor 35 Linux_SambaShareSecurityForGlobalInstance::Linux_SambaShareSecurityForGlobalInstance() { 36 init(); 41 //---------------------------------------------------------------------------- 42 Linux_SambaShareSecurityForGlobalInstance::Linux_SambaShareSecurityForGlobalInstance( 43 const Linux_SambaShareSecurityForGlobalInstance& anInstance) { 49 //---------------------------------------------------------------------------- 50 Linux_SambaShareSecurityForGlobalInstance::Linux_SambaShareSecurityForGlobalInstance( 51 const CmpiInstance& aCmpiInstance, 279 //---------------------------------------------------------------------------- 280 Linux_SambaShareSecurityForGlobalInstanceEnumerationElement::Linux_SambaShareSecurityForGlobalInstanceEnumerationElement() { 281 287 //---------------------------------------------------------------------------- 288 Linux_SambaShareSecurityForGlobalInstanceEnumerationElement::~Linux_SambaShareSecurityForGlobalInstanceEnumerationElement() { 289lineitem.php git://github.com/moodle/moodle.git | PHP | 336 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 65 public function execute($response) { 66 global $CFG, $DB; 67 97 } 98 require_once($CFG->libdir.'/gradelib.php'); 99 switch ($response->get_request_method()) { 145 private function process_put_request($body, $olditem, $typeid) { 146 global $DB; 147 $json = json_decode($body); 283 private function process_delete_request($item) { 284 global $DB; 285 308 public function parse_value($value) { 309 global $COURSE, $CFG; 310 if (strpos($value, '$LineItem.url') !== false) {Command.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 512 lines
1<?php 2 378 $name, 379 $_SERVER['PHP_SELF'].' '.$name 380 ); 486 $commandXML->setAttribute('id', $this->getFullName()); 487 $commandXML->setAttribute('namespace', $this->getNamespace() ? $this->getNamespace() : '_global'); 488 $commandXML->setAttribute('name', $this->getName());Process.php https://bitbucket.org/ttphong2612/billigastamplar-new.se.git | PHP | 451 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2018 Magento, Inc. (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 127 if (strpos(str_replace($this->_includeDir, '', $target), '-') 128 || !in_array(substr($source, strlen($source)-4, 4), array('.php'))) { 129 return $this; 199 } else { 200 if (!in_array(substr($source, strlen($source)-4, 4), array('.php'))) { 201 return $this; 253 { 254 return count(glob($this->_includeDir.DS.'*')); 255 }_blit_trans_xlat_write_alpha_8h-source.html git://github.com/Ares-Developers/YRpp.git | HTML | 131 lines
57 <li> 58 <form action="search.php" method="get"> 59 <table cellspacing="0" cellpadding="0" border="0"> 71 <li><a href="files.html"><span>File List</span></a></li> 72 <li><a href="globals.html"><span>File Members</span></a></li> 73 </ul>fr.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 93 lines
1<?php 2 2 3global $_MODULE; 4$_MODULE = array();merge_dico.inc http://twpug.googlecode.com/svn/trunk/ | PHP | 209 lines
1<?php 2 7function handle_lang_rec($lang_rec) { 8 global $idx_dico,$dico,$totrx,$perform_approx,$old_totrx,$empty; 9 global $found,$notfound,$auto,$approx_count,$default_key; 72function insert_in_sugar_terms($sugar_lang_rec,$text) { 73 global $translationKey,$version_id,$sql_values; 74 //Escape the test to be inserted 76 //replace the file name by the translation file name 77 $file_name = ereg_replace("[^\\./]+.lang.php$", $translationKey.".lang.php", $sugar_lang_rec->file); 78 //values are the same key 125 msg("($count) translated values have been found in the 'To Translate' (sugar_lang_trx) table."); 126 msg("You should commit or clear the existing values in the <A href=totrx.php>To Translate module</A>."); 127 $arr_old_to_trx = query_db("SELECT ref FROM sugar_lang_trx where trx != ''");mostlyce.php http://miacms.googlecode.com/svn/trunk/ | PHP | 336 lines
1<?php 2/** 12global $mosConfig_live_site, $jspath, $mosConfig_absolute_path, $adminside; 13include($mosConfig_absolute_path."mambots/editors/mostlyce/jscripts/tiny_mce/mostlyce_config.php"); 14 48function botmostlyceEditorInit() { 49 global $mosConfig_live_site, $my, $database, $mosConfig_absolute_path, $jspath; 50 global $adminside, $mosConfig_secret, $mosConfig_cachetime; 50 global $adminside, $mosConfig_secret, $mosConfig_cachetime; 51 include($mosConfig_absolute_path."mambots/editors/mostlyce/jscripts/tiny_mce/mostlyce_config.php"); 52 172 Notes: 173 * The TinyMCE PHP gzip compressor cannot and will not work if zlib compression is already enabled on the server. 174 * If they requested editor compression run the checks otherwise don't waste the cycles 260 function fileBrowserCallBack(field_name, url, type, win) { 261 var connector = "$jspath/mambots/editors/mostlyce/jscripts/tiny_mce/filemanager/browser.php?Connector=connectors/php/connector.php"; 262 var enableAutoTypeSelection = false;bf_rbsglobalgateway_configuration.php https://bitbucket.org/rubbystar/carimod.git | PHP | 354 lines
1<?php 2/** 3 * @package HikaShop for Joomla! 4 * @subpackage Payment Plug-in for Worldpay Global Gateway using XML Redirect. 5 * @version 0.0.1 11 * 12 * In order to configure and use this plug-in you must have a RBS Worldpay Global Gateway account. 13 * Worldpay Global Gateway is sometimes referred to as 'BiBit'. 17<tr><td colspan="2" style="color:red;">This plugin needs the CURL library installed but it is not available on your server.<br />Please contact your web hosting to set it up.</td></tr> 18<?php } 19if(!class_exists('SimpleXMLElement')){ ?> 19if(!class_exists('SimpleXMLElement')){ ?> 20<tr><td colspan="2" style="color:red;">This plugin needs the SimpleXML library of PHP5 installed but it is not available on your server.<br />Please contact your web hosting to set it up.</td></tr> 21<?php } 27 <label for="data[payment][payment_params][instid]"> 28 <?php echo 'Installation ID'; ?> 29 </label>Utility.php https://github.com/kaz6120/Loggix.git | PHP | 495 lines
1<?php 2/** 4 * 5 * PHP version 5 6 * 9 * @link http://loggix.gotdns.org/ 10 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 11 * @since 5.5.16 107 { 108 global $config; 109 return array( 128 { 129 global $config; 130 return array( 234 { 235 global $config; 236Common.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 519 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 6 * 7 * PHP versions 4 and 5 8 * 8 * 9 * LICENSE: This source file is subject to version 3.01 of the PHP license 10 * that is available through the world-wide-web at the following URI: 10 * that is available through the world-wide-web at the following URI: 11 * http://www.php.net/license/3_01.txt If you did not receive a copy of 12 * the PHP License and are unable to obtain it through the web, please 12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 14 * 18 * @copyright 2001-2009 The PHP Group 19 * @license http://www.php.net/license/3_01.txt PHP License 3.01 20 * @version CVS: $Id: Common.php 137 2009-11-09 13:24:37Z vanpouckesven $user_import.php http://avecms.googlecode.com/svn/trunk/ | PHP | 344 lines
1<?php 2 5$csv_available_fields = array( 6 'Id' => $GLOBALS['config_vars']['UserImport_Id'], 7 'password' => $GLOBALS['config_vars']['UserImport_Kennwort'], 7 'password' => $GLOBALS['config_vars']['UserImport_Kennwort'], 8 'email' => $GLOBALS['config_vars']['UserImport_Email'], 9 'street' => $GLOBALS['config_vars']['UserImport_Strasse'], 9 'street' => $GLOBALS['config_vars']['UserImport_Strasse'], 10 'street_nr' => $GLOBALS['config_vars']['UserImport_HausNr'], 11 'zipcode' => $GLOBALS['config_vars']['UserImport_Postleitzahl'], 11 'zipcode' => $GLOBALS['config_vars']['UserImport_Postleitzahl'], 12 'city' => $GLOBALS['config_vars']['UserImport_City'], 13 'phone' => $GLOBALS['config_vars']['UserImport_Telefon'], 13 'phone' => $GLOBALS['config_vars']['UserImport_Telefon'], 14 'telefax' => $GLOBALS['config_vars']['UserImport_Telefax'], 15 'description' => $GLOBALS['config_vars']['UserImport_Bemerkungen'],fileupload_test.php git://github.com/phpbb/phpbb.git | PHP | 239 lines
42 // Global $config required by unique_id 43 global $config, $phpbb_root_path, $phpEx; 44 56 $this->filesystem = new \phpbb\filesystem\filesystem(); 57 $this->language = new \phpbb\language\language(new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx)); 58 $guessers = array( 67 68 $this->container = new phpbb_mock_container_builder($phpbb_root_path, $phpEx); 69 $this->container->set('files.filespec', new \phpbb\files\filespec( 78 $this->factory = new \phpbb\files\factory($this->container); 79 $plupload = new \phpbb\plupload\plupload($phpbb_root_path, $config, $this->request, new \phpbb\user($this->language, '\phpbb\datetime'), $this->php_ini, $this->mimetype_guesser); 80 $this->container->set('files.types.form', new \phpbb\files\types\form( 148 { 149 $upload = new \phpbb\files\upload($this->filesystem, $this->factory, $this->language, $this->php_ini, $this->request, $this->phpbb_root_path); 150 $upload->set_allowed_extensions(array('jpg'))parser_test.php git://github.com/phpbb/phpbb.git | PHP | 264 lines
5* 6* @copyright (c) phpBB Limited <https://www.phpbb.com> 7* @license GNU General Public License, version 2 (GPL-2.0) 14require_once dirname(__FILE__) . '/../../phpBB/includes/bbcode.php'; 15require_once dirname(__FILE__) . '/../../phpBB/includes/message_parser.php'; 16 16 17class phpbb_bbcode_parser_test extends \phpbb_test_case 18{ 160 array( 161 'PHPBB3-6200 - correct: parsed', 162 '[quote="["]test[/quote]', 165 array( 166 'PHPBB3-9364 - quoted: "test[/[/b]quote] test" / non-quoted: "[/quote] test" - also failed if layout distorted', 167 '[quote]test[/[/b]quote] test [/quote][/quote] test',dir.c https://github.com/php/php-src.git | C | 581 lines
51#ifdef ZTS 52#define DIRG(v) ZEND_TSRMG(dir_globals_id, php_dir_globals *, v) 53int dir_globals_id; 55#define DIRG(v) (dir_globals.v) 56php_dir_globals dir_globals; 57#endif 122#ifdef ZTS 123 ts_allocate_id(&dir_globals_id, sizeof(php_dir_globals), NULL, NULL); 124#endif 184/* This is used for checking validity of passed flags (passing invalid flags causes segfault in glob()!! */ 185#define GLOB_AVAILABLE_FLAGS (0 | GLOB_BRACE | GLOB_MARK | GLOB_NOSORT | GLOB_NOCHECK | GLOB_NOESCAPE | GLOB_ERR | GLOB_ONLYDIR) 186 458 We don't want to treat GLOB_NOMATCH as an error condition 459 so that PHP glob() behaves the same on both types of 460 implementations and so that 'foreach (glob() as ...'marshall.inc http://drawshield.googlecode.com/svn/trunk/ | PHP | 282 lines
1<?php /* Copyright 2010 Karl R. Wilcox 2 15function plain() { 16 global $dom, $p_globals; 17 24 comma(); 25 $p_globals['offield'] = deep_copy($field->firstChild); 26 $plain->appendChild ( $field ); 45function overall() { 46 global $dom; 47 68function quartered() { 69 global $dom; 70 153function halved() { 154 global $dom; 155MaildirFolderTest.php git://github.com/zendframework/zf2.git | PHP | 0 lines
1<?php 2/** 36 */ 37class MaildirFolderTest extends \PHPUnit_Framework_TestCase 38{ 199 200 public function testGlobalName() 201 { 203 try { 204 // explicit call of __toString() needed for PHP < 5.2 205 $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder'); 206 } catch (\Exception $e) { 207 $this->fail('exception raised while selecting existing folder and getting global name'); 208 } 231 foreach ($iterator as $localName => $folder) { 232 if (!isset($search_folders[$folder->getGlobalName()])) { 233 continue;jquery.rating.js http://xbat-devel.googlecode.com/svn/trunk/ | JavaScript | 241 lines
4 * Dual licensed under the MIT and GPL licenses: 5 * http://www.opensource.org/licenses/mit-license.php 6 * http://www.gnu.org/licenses/gpl.html 10*//* 11 Based on http://www.phpletter.com/Demo/Jquery-Star-Rating-Plugin/ 12 Original comments: 12 Original comments: 13 This is hacked version of star rating created by <a href="http://php.scripts.psu.edu/rja171/widgets/rating.php">Ritesh Agrawal</a> 14 It thansform a set of radio type input elements to star rating type and remain the radio element name and value, 84 {}/* new object */, 85 $.rating/* global settings */, 86 instanceSettings || {} /* just-in-time settings */chapter9.html http://ds-pro-chat.googlecode.com/svn/trunk/ | HTML | 169 lines
14 <ul id="mainmenu"> 15 <li><a href="http://www.christian-seiler.de/projekte/php/bbcode/index_en.html">Project homepage</a></li> 16 <li><a href="chapter1.html">Documentation</a></li> 16 <li><a href="chapter1.html">Documentation</a></li> 17 <li><a href="../phpdoc/index.html">PHPDOC Documentation</a></li> 18 <li><a href="http://www.christian-seiler.de/projekte/php/bbcode/download_en.html">Download</a></li> 56 <li><a href="chapter6.html#flags">6.2 List of all flags</a></li> 57 <li><a href="chapter6.html#global">6.2 Global flags</a></li> 58 </ul></li> 82<h3 id="example"><a name="example">9.1 Example</a></h3> 83<p class="php"><code>// Unify line breaks of different operating systems<br> 84function convertlinebreaks ($text) {<br>lib.php git://pkgs.fedoraproject.org/moodle | PHP | 318 lines
1<?php 2 29 30require_once($CFG->libdir.'/flickrlib.php'); 31 45 public function __construct($repositoryid, $context = SYSCONTEXTID, $options = array()) { 46 global $SESSION, $CFG; 47 $options['page'] = optional_param('p', 1, PARAM_INT); 57 58 $this->flickr = new phpFlickr($this->api_key, $this->secret, $this->token); 59 130 */ 131 public function global_search() { 132 if (empty($this->token)) { 156 /** 157 * Converts result received from phpFlickr::photo_search to Filepicker/repository format 158 *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 ------------------------------------------------------------------------- 52 static function pdfMain(PluginPdfSimplePDF $pdf, Computer $computer){ 53 global $DB, $LANG; 54 162 static function pdfDevice(PluginPdfSimplePDF $pdf, Computer $computer) { 163 global $DB, $LANG; 164dbUserPage.cs https://hg.codeplex.com/mojoportal | C# | 280 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. 19using System.Configuration; 20using System.Globalization; 21using System.IO;sysvmsg.c git://pkgs.fedoraproject.org/php | C | 478 lines
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 | 25#include "php.h" 26#include "php_globals.h" 27#include "ext/standard/info.h" 145{ 146 php_info_print_table_start(); 147 php_info_print_table_row(2, "sysvmsg support", "enabled"); 342 343 messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf)); 344 415 416 /* NB: php_msgbuf is 1 char bigger than a long, so there is no need to 417 * allocate the extra byte. */ms-default-filters.php git://github.com/wordpress/wordpress.git | PHP | 128 lines
1<?php 2/** 7 * 8 * Not all of the Multisite default hooks are found in ms-default-filters.php 9 * 11 * @subpackage Multisite 12 * @see default-filters.php 13 * @since 3.0.0 76// Administration. 77add_filter( 'term_id_filter', 'global_terms', 10, 2 ); 78add_action( 'delete_post', '_update_posts_count_on_delete' ); 101// Mail. 102add_action( 'phpmailer_init', 'fix_phpmailer_messageid' ); 103 123 124// If the network upgrade hasn't run yet, assume ms-files.php rewriting is used. 125add_filter( 'default_site_option_ms_files_rewriting', '__return_true' );admin.inc git://pkgs.fedoraproject.org/sahana | PHP | 305 lines
27 if(isset($_REQUEST['submod']) && isset($_REQUEST['seq'])){ 28 global $global; 29 include_once ($global['approot'].'/mod/gis/plugins/'.$_REQUEST['submod'].'/admin.inc'); 42 { 43 global $global; 44 shn_gis_adm_show_mod_menu(); 67<?php 68 global $global; 69 global $conf; 100<?php 101 global $global; 102 global $conf; 135{ 136 global $global; 137 global $conf;guide_radar.html http://google-chartwrapper.googlecode.com/svn/trunk/ | HTML | 143 lines
28 <div class="container"> 29 <div class="titleblock" style="background-image:url(http://chartography.net/media/globe1.png);"> 30 <h1> 48 <script type="text/javascript">var addthis_pub = "justquick";</script> 49 <a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" border="0" alt="" /></a> 50 <script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script> 113.highlight .vc { color: #19177C } /* Name.Variable.Class */ 114.highlight .vg { color: #19177C } /* Name.Variable.Global */ 115.highlight .vi { color: #19177C } /* Name.Variable.Instance */init.php https://bitbucket.org/wphupp/tmp-passion-sourire.git | PHP | 368 lines
1<?php 2 2 3// DO NOT CALL THIS CLASS DIRECTLY. CALL VIA: pb_backupbuddy_destination in bootstrap.php. 4 24 'url' => '', // optional url for migration that corresponds to this ftp/path. 25 'disable_file_management' => '0', // When 1, _manage.php will not load which renders remote file management DISABLED. 26 'disabled' => '0', // When 1, disable this destination. 38 public static function send( $settings = array(), $files = array(), $send_id = '' ) { 39 global $pb_backupbuddy_destination_errors; 40 if ( '1' == $settings['disabled'] ) { 82 } else { 83 pb_backupbuddy::status( 'details', 'Your web server doesnt support FTPS in PHP.', 'error' ); 84 return false; 95 } else { 96 pb_backupbuddy::status( 'details', 'Your web server doesnt support FTP in PHP.', 'error' ); 97 return false;install-helper.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 226 lines
1<?php 2/** 41/** 42 * @global bool $wp_only_load_config 43 * @name $wp_only_load_config 49/** Load WordPress Bootstrap */ 50require_once(dirname(dirname(__FILE__)).'/wp-load.php'); 51 53 * Turn debugging on or off. 54 * @global bool|int $debug 55 * @name $debug 74function maybe_create_table($table_name, $create_ddl) { 75 global $wpdb; 76 foreach ($wpdb->get_col("SHOW TABLES",0) as $table ) { 108function maybe_add_column($table_name, $column_name, $create_ddl) { 109 global $wpdb, $debug; 110 foreach ($wpdb->get_col("DESC $table_name",0) as $column ) {del_cat.php http://creative-portal.googlecode.com/svn/trunk/ | PHP | 175 lines
1<?php 2 28 { 29 if ( $delallcheckss == md5( $catid . session_id() . $global_config['sitekey'] ) ) 30 { 55 56 $contents = "<form action=\"" . NV_BASE_ADMINURL . "index.php\" method=\"post\">"; 57 $contents .= "<input type=\"hidden\" name =\"" . NV_NAME_VARIABLE . "\"value=\"" . $module_name . "\" />"; 100 nv_del_moduleCache($module_name); 101 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=cat&parentid=" . $parentid . "" ); 102 die(); 131 nv_del_moduleCache($module_name); 132 Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=cat&parentid=" . $parentid . "" ); 133 die(); 138 { 139 $contents = "ERR_ROWS_" . $catid . "_" . md5( $catid . session_id() . $global_config['sitekey'] ) . "_" . sprintf( $lang_module['delcat_msg_rows'], $check_rows ); 140 }config.php http://findresources.googlecode.com/svn/trunk/ | PHP | 364 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 23| 24| Typically this will be your index.php file, unless you've renamed it to 25| something else. If you are using mod_rewrite to remove the page set this 35| 36| This item determines which server global should be used to retrieve the 37| URI string. The default setting of 'AUTO' works for most servers. 149| invoke your controllers and its functions: 150| example.com/index.php?c=controller&m=function 151| 173| 0 = Disables logging, Error logging TURNED OFF 174| 1 = Error Messages (including PHP errors) 175| 2 = Debug Messages 200| 201| Each item that is logged has an associated date. You can use PHP date 202| codes to set your own date formattingapi_functions.php https://github.com/openaustralia/twfy.git | PHP | 371 lines
2 3include_once '../../../../phplib/rabx.php'; 4 145function api_sidebar() { 146 global $methods; 147 $sidebar = '<div class="block"><h4>API Functions</h4> <div class="blockbody"><ul>'; 190 $out .= '<result>' . api_output_xml($arr) . '</result>'; 191 } elseif ($output == 'php') { 192 $out = api_output_php($arr); 215 $type = 'text/xml'; 216 } elseif ($o == 'php') { 217 $type = 'text/php'; 233 234function api_output_php($arr) { 235 $out = serialize($arr);ico.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 729 lines
1<?php 2/* 185{ 186global $CurrentBit; 187 308{ 309global $CurrentBit; 310 670{ 671 global $CurrentBit,$SMode; 672 $Byte=freadbyte($f);array_data.cpp https://bitbucket.org/asuhan/happy/ | C++ | 375 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 +----------------------------------------------------------------------+ 26 27namespace HPHP { 28///////////////////////////////////////////////////////////////////////////////OpportunityConvertToView.php https://bitbucket.org/zurmo/zurmo/ | PHP | 219 lines
1<?php 2 /********************************************************************************* 58 $metadata = array( 59 'global' => array( 60 'toolbar' => array(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 * 59 { 60 global $conf; 61 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':prepend.inc.php http://scalr.googlecode.com/svn/ | PHP | 340 lines
83 require_once(SRCPATH."/class.UI.php"); 84 require_once(SRCPATH."/class.Debug.php"); 85 require_once(SRCPATH."/class.TaskQueue.php"); 117 Core::Load("NET/Mail/PHPMailer"); 118 Core::Load("NET/Mail/PHPSmartyMailer"); 119 Core::Load("Data/Formater/Formater"); 189 // Define log4php contants 190 define("LOG4PHP_DIR", LIBPATH.'/IO/Logging/log4php/src/main/php'); 191 define("LOG4PHP_CONFIGURATION", APPPATH.'/etc/log4php.xml'); 204 205 require_once(LOG4PHP_DIR . '/LoggerManager.php'); 206 272 require_once (APPPATH.'/observers/interface.IDeferredEventObserver.php'); 273 require_once (APPPATH.'/observers/interface.IEventObserver.php'); 274sub-activity-class-singlepost.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 381 lines
1<?php 2 121 122 global $bp, $wpdb; 123 124 // Should we push user activity stream posts to global activity stream 125 $post_global = $bp->bpa->options['core_comments_globalStreamEnable']; 126 174 // If the admin has disabled posts to the global activity stream and the user has set the album's privacy level 175 // to public (priv level = 0), increase the privacy level to 1 so it is hidden in the global activity stream 176 176 177 if(($post_global == false) && ($album->privacy < 2)){ 178 $post_privacy = 1; 229 // Should we push user activity stream posts to global activity stream 230 $post_global = $bp->bpa->options['core_comments_globalStreamEnable']; 231UserGroups.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 357 lines
1<?php 2/** 7 8namespace PhpMyAdmin\Server; 9 9 10use PhpMyAdmin\Html\Generator; 11use PhpMyAdmin\Relation; 11use PhpMyAdmin\Relation; 12use PhpMyAdmin\Template; 13use PhpMyAdmin\Url; 13use PhpMyAdmin\Url; 14use PhpMyAdmin\Util; 15 23/** 24 * PhpMyAdmin\Server\UserGroups class 25 */comment-template.php http://core.svn.wordpress.org/ | PHP | 363 lines
1<?php 2/* 6function get_comment_author() { 7 global $comment; 8 if ( empty($comment->comment_author) ) 20function get_comment_author_email() { 21 global $comment; 22 return apply_filters('get_comment_author_email', $comment->comment_author_email); 29function comment_author_email_link($linktext='', $before='', $after='') { 30 global $comment; 31 $email = apply_filters('comment_email', $comment->comment_author_email); 40function get_comment_author_link() { 41 global $comment; 42 $url = get_comment_author_url(); 56function get_comment_author_IP() { 57 global $comment; 58 return apply_filters('get_comment_author_IP', $comment->comment_author_IP);facebook.php https://bitbucket.org/bohdan1217/norka.git | PHP | 524 lines
36 { 37 $redirect_uri = self::CONTROLLER_URL."/redirect.php?redirect_to=".urlencode(CSocServUtil::GetCurUrl('auth_service_id='.self::ID.'&check_key='.$_SESSION["UNIQUE_KEY"])); 38 } 128 { 129 global $APPLICATION; 130 $APPLICATION->RestartBuffer(); 140 { 141 $redirect_uri = self::CONTROLLER_URL."/redirect.php?redirect_to=".urlencode(CSocServUtil::GetCurUrl('auth_service_id='.self::ID, array("code"))); 142 } 167 168 $url = ($GLOBALS["APPLICATION"]->GetCurDir() == "/login/") ? "" : $GLOBALS["APPLICATION"]->GetCurDir(); 169 198 { 199 $url = (isset($urlPath)) ? $urlPath.'?auth_service_id='.self::ID.'&auth_service_error='.$authError : $GLOBALS['APPLICATION']->GetCurPageParam(('auth_service_id='.self::ID.'&auth_service_error='.$authError), $aRemove); 200 }de_credits.php https://bitbucket.org/vincentbii/amurt.git | PHP | 279 lines
1<?php 2error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR); 3require_once('./roots.php'); 4require_once($root_path.'include/core/inc_environment_global.php'); 5?> 5?> 6<?php html_rtl($lang); ?> 7<head> 27 Vorschl�ge zur Sicherheitsverbesserungen<br> 28 Schnelle L�sungen zur php Fragen<br> 29 Er ist der 'Sentinel' des Projekts 31 <p> 32 Daniele Frijia (geb. 81) arbeitet momentan bei einem ISP in N�rnberg. Sein PHP Wissen setzt er ein, um 33 die allgemeine Sicherheit von Care2x zu verbessern. Sein Ziel ist es, einen neuen Softwarebereich - den 224 <td bgcolor="#efefef"><nobr><img src="../../gui/img/common/default/redpfeil.gif" border=0 width=4 height=7 align="absmiddle"><font face="verdana,arial" size=2> Daniele Frijia (DE)</font></nobr> </td> 225 <td bgcolor="#f9f9f9"><font face="verdana,arial" size=2> Sicherheitskontrolle, php consultant</font></td> 226 </tr>UpdateProcessor.php https://bitbucket.org/aswinvk28/smartpan-stock-drupal.git | PHP | 272 lines
1<?php 2/** 143 public function processFetchTask($project) { 144 global $base_url; 145SettingsForm.php https://bitbucket.org/aswinvk28/smartpan-stock-drupal.git | PHP | 222 lines
1<?php 2 103 104 // Global aggregator settings. 105 $form['aggregator_allowed_html_tags'] = array(pys60.php https://gitlab.com/jeremystevens/php-bin.git | PHP | 273 lines
1<?php 2/************************************************************************************** 2/************************************************************************************** 3 * pys60.php 4 * ---------- 15 * 16 * The python.php file is extended to pys60.php with required modifications 17 * 56 'and', 'del', 'for', 'is', 'raise', 'assert', 'elif', 'from', 'lambda', 'return', 'break', 57 'else', 'global', 'not', 'try', 'class', 'except', 'if', 'or', 'while', 'continue', 'exec', 58 'import', 'pass', 'yield', 'def', 'finally', 'in', 'print', "<<", ">>", "as" 67 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'execfile', 68 'file', 'filter', 'float', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'help', 69 'hex', 'id', 'input', 'int', 'isinstance', 'issubclass', 'iter', 'len', 'list', 'locals', 106 'filecmp', 'fileinput', 'FL', 'fl', 'flp', 'fm', 'fnmatch', 'formatter', 'fpectl', 107 'fpformat', 'ftplib', 'gc', 'gdbm', 'getopt', 'getpass', 'gettext', 'GL', 'gl', 'glob', 108 'gopherlib', 'grp', 'gzip', 'heapq', 'hmac', 'hotshot', 'htmlentitydefs', 'htmllib',actions_massactions_mail.inc.php git://github.com/Dolibarr/dolibarr.git | PHP | 315 lines
57// Mass actions. Controls on number of lines checked. 58$maxformassaction = (empty($conf->global->MAIN_LIMIT_FOR_MASS_ACTIONS) ? 1000 : $conf->global->MAIN_LIMIT_FOR_MASS_ACTIONS); 59if (!empty($massaction) && is_array($toselect) && count($toselect) < 1) { 167 } elseif ($fromtype === 'company') { 168 $from = $conf->global->MAIN_INFO_SOCIETE_NOM . ' <' . $conf->global->MAIN_INFO_SOCIETE_MAIL . '>'; 169 } elseif (preg_match('/user_aliases_(\d+)/', $fromtype, $reg)) { 172 } elseif (preg_match('/global_aliases_(\d+)/', $fromtype, $reg)) { 173 $tmp = explode(',', $conf->global->MAIN_INFO_SOCIETE_MAIL_ALIASES); 174 $from = trim($tmp[($reg[1] - 1)]); 199 $url_link = $urlwithroot . '/public/agenda/agendaexport.php?format=ical' . ($conf->entity > 1 ? "&entity=" . $conf->entity : ""); 200 $url_link .= '&exportkey=' . ($conf->global->MAIN_AGENDA_XCAL_EXPORTKEY ? urlencode($conf->global->MAIN_AGENDA_XCAL_EXPORTKEY) : '...'); 201 $url_link .= "&project=" . $listofselectedref[$email]->fk_project . '&module=' . urlencode('@eventorganization') . '&status=' . ConferenceOrBooth::STATUS_CONFIRMED; 205 $substitutionarray['__EVENTORGANIZATION_URL_LINK__'] = $url_link; 206 $substitutionarray['__CHECK_READ__'] = '<img src="' . DOL_MAIN_URL_ROOT . '/public/emailing/mailing-read.php?tag=' . urlencode($attendees->thirdparty->tag) . '&securitykey=' . urlencode($conf->global->MAILING_EMAIL_UNSUBSCRIBE_KEY) . '" width="1" height="1" style="width:1px;height:1px" border="0"/>'; 207update.inc git://github.com/jyr/MNPP.git | Pascal | 311 lines
1<?php 2/** 3 * @file 4 * Update.php for provisioned sites. 5 * This file is a derivative of the standard drupal update.php, 10/** 11 * Global flag to identify update.php run, and so avoid various unwanted 12 * operations, such as hook_init() and hook_exit() invokes, css/js preprocessing 13 * and translation, and solve some theming issues. This flag is checked on several 14 * places in Drupal code (not just update.php). 15 */ 25 * Returns (and optionally stores) extra requirements that only apply during 26 * particular parts of the update.php process. 27 */ 43 * The schema version will not be updated in this case, and all the 44 * aborted updates will continue to appear on update.php as updates that 45 * have not yet been run.errorCode.html git://pkgs.fedoraproject.org/postgresql-pgpoolAdmin | HTML | 164 lines
37 </tr> 38<tr><th class="right_border"><label>e1</label></th><td class="right_border">pgmgt.conf.php????????</td><td>pgmgt.conf.php?????conf???????????????????????????????????????????</td></tr> 39<tr><th class="right_border"><label>e2</label></th><td class="right_border">?????????????????</td><td>??????????????lang???????????????????</td></tr> 43<tr><th class="right_border"><label>e6</label></th><td class="right_border">???????????</td><td>????????template/help???????????????</td></tr> 44<tr><th class="right_border"><label>e7</label></th><td class="right_border">pgmgt.conf.php????????????</td><td>pgmgt.conf.php???????????????????????</td></tr> 45<tr><th class="right_border"><label>e8</label></th><td class="right_border">pcp_timeout?pgpool.conf????????</td><td>pcp_timeout?pgpool.conf?????????????????</td></tr> 125 </tr> 126<tr><th class="right_border"><label>e5001</label></th><td class="right_border">pgmgt.conf.php????????</td><td>pgmgt.conf.php?????conf???????????????????????????????????????????</td></tr> 127<tr><th class="right_border"><label>e5002</label></th><td class="right_border">pgmgt.conf.php????????????</td><td>pgmgt.conf.php???????????????????????????</td></tr> 127<tr><th class="right_border"><label>e5002</label></th><td class="right_border">pgmgt.conf.php????????????</td><td>pgmgt.conf.php???????????????????????????</td></tr> 128<tr><th class="right_border"><label>e5003</label></th><td class="right_border">pgmgt.conf.php???????????</td><td>pgmgt.conf.php???????????????????????????</td></tr> 129</table> 157Version 2.1<br /> 158Copyright © 2006 - 2008 <a href="http://pgpool.projects.postgresql.org/">pgpool Global Development Group</a>. All rights reserved. 159</address>parser.dropdown.php https://bitbucket.org/hatim_alam/sugar-8.git | PHP | 343 lines
14 15require_once 'modules/Administration/Common.php'; 16 47 // dropdown is received as an array of (name,value) pairs - now extract to name=>value format preserving order 48 // we rely here on PHP to preserve the order of the received name=>value pairs - associative arrays in PHP are ordered 49 if (is_array($temp)) { 107 if (!empty($app_list_strings[$dropdown_name])) { 108 $contents = "<?php\n //created: " . date('Y-m-d H:i:s') . "\n"; 109 foreach($app_list_strings[$dropdown_name] as $key => $value) { 155 if (SugarAutoLoader::ensureDir($dirName)) { 156 $fileName = "$dirName/$lang.sugar_$dropdownName.php"; 157 159 } else { 160 $GLOBALS['log']->fatal("Unable to create dir: $dirName"); 161 }Pages.php https://bitbucket.org/rightshore/saskatoon-landscape-store.git | PHP | 292 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2class Pages extends MY_Controller 12 $this->load->vars( array( 13 'global' => 'Available to all views', 14 'header' => 'common/header',eventslib_test.php git://github.com/moodle/moodle.git | PHP | 304 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 20 * @package core_event 21 * @subpackage phpunit 22 * @copyright 2007 onwards Martin Dougiamas (http://dougiamas.com) 41 parent::setUp(); 42 // Set global category settings to -1 (not force). 43 eventslib_sample_function_handler('reset'); 52 public function test_events_update_definition__install() { 53 global $DB; 54 59 $handlers = array(); 60 require(__DIR__.'/fixtures/events.php'); 61 $this->assertCount($dbcount, $handlers, 'Equal number of handlers in file and db: %s'); 67 public function test_events_update_definition__uninstall() { 68 global $DB; 69helper.class.php https://bitbucket.org/seyekuyinu/highlifer.git | PHP | 496 lines
1<?php if (!defined('ABSPATH')) die('not allowed'); 2 146 147 global $wpdb; 148 165 166 global $wpdb; 167 330 public function social_services(){ 331 include MYMAIL_DIR . 'includes/social_services.php'; 332 338 public function using_permalinks(){ 339 global $wp_rewrite; 340 return is_object($wp_rewrite) && $wp_rewrite->using_permalinks(); 383 384 include MYMAIL_DIR . 'classes/libs/bounce/bounce_statuscodes.php'; 385class_circuit.php https://bitbucket.org/ocaziituristice/ocaziituristice.ro.git | PHP | 490 lines
149 $tpl=new TPL($template); 150 if(!$this->poza1) $poza=$GLOBALS['sitepath_class_parinte']."images/no_photo.jpg"; else $poza=$GLOBALS['sitepath_class_parinte'].'thumb_circuit/'.$this->poza1; 151 $tpl->replace_tags(array( 360 <br class="clear" /> 361 <?php /*?><div id="loader" class="loading"> </div><?php */?> 362 <div id="afisare"><?php $this->afisare(1); ?></div> 371//<![CDATA[ 372 makepagini('<?php echo $this->pag; ?>','1'); 373 374 function clic(pag) { 375 <?php /*?>$('#loader').show();<?php */?> 376 $("#afisare").load("/config/includes/class/class_circuite/afisare.php?nr_pagina="+pag+"&nr_pe_pag=<?php echo $this->oferte_pagina.$cond; ?>"); 391//<![CDATA[ 392 <?php /*?>$('#loader').hide();<?php */?> 393 //]]>DBSystemLog.cs https://hg01.codeplex.com/mojoportal | C# | 394 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. 15using System.Data.SqlServerCe; 16using System.Globalization; 17using System.Text;view.html.php https://bitbucket.org/taaas/dizi.lh.git | PHP | 493 lines
1<?php 2/** 180 $item->params->set('marker_address', JText::_('COM_CONTACT_ADDRESS') . ': '); 181 $item->params->set('marker_email', JText::_('JGLOBAL_EMAIL') . ': '); 182 $item->params->set('marker_telephone', JText::_('COM_CONTACT_TELEPHONE') . ': '); 213 { 214 $image2 = JHtml::_('image', $item->params->get('icon_email', 'emailButton.png'), JText::_('JGLOBAL_EMAIL') . ': ', null, false); 215 } 217 { 218 $image2 = JHtml::_('image', 'contacts/' . $item->params->get('icon_email', 'emailButton.png'), JText::_('JGLOBAL_EMAIL') . ': ', null, true); 219 }index.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 250 lines
40if (!isset($part) or $part=='') { // 2008.04.25 add isset check 41 if ($GLOBALS['watbrowser']=='msie') { 42 52 53$ses = isset($_COOKIE['PHPSESSID'])?$_COOKIE['PHPSESSID']:''; //2008.05.06 54 101 102 // this is from txthotline001.php: Logging In 103 if (isset($frmLoginSubmit)) { 205 $strUpdatePostVar = ($strPostVarData) ? "postvarval = '$strPostVarData'," : ""; 206 $intPartId = (empty($GLOBALS['part'])) ? getCurrFilePartNum() : $GLOBALS['part']; 207 214 215 $be1 = $GLOBALS[HTTP_SERVER_VARS].$GLOBALS[QUERY_STRING]; 216 $strQuqery = mysql_query("INSERT INTO ebpls_activity_log SETperf-mysql.inc.php http://scriptz.googlecode.com/svn/trunk/ | PHP | 315 lines
1<?php 2/* 131 { 132 global $ADODB_FETCH_MODE; 133 $save = $ADODB_FETCH_MODE; 160 { 161 global $ADODB_FETCH_MODE; 162 $save = $ADODB_FETCH_MODE; 196 197 global $ADODB_FETCH_MODE; 198 $save = $ADODB_FETCH_MODE; 247 { 248 global $ADODB_FETCH_MODE; 249 303 { 304 // May dont use __FUNCTION__ constant for BC (__FUNCTION__ Added in PHP 4.3.0) 305 ADOConnection::outp( sprintf( "<p>%s: '%s' using of undefined mode '%s'</p>", __CLASS__, __FUNCTION__, $mode));connector.php https://xzwebshop.svn.codeplex.com/svn | PHP | 193 lines
20//Errors in the config.php could still cause problems. 21global $fckphp_config; 22require_once "config.php"; 70 71if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) ob_start(); 72outputHeaders(); 144 echo str_replace("\n","<br />",print_r($_GET,true)); 145 if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) recordOutput(); 146 exit(0); 150function recordOutput() { 151 global $fckphp_config; 152 152 153 if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) { 154 $contents=ob_get_contents();serendipity_plugin_syndication.php git://github.com/s9y/Serendipity.git | PHP | 246 lines
1<?php 2 57 { 58 global $serendipity; 59 141 { 142 global $serendipity; 143barreoutils_uk.php https://bitbucket.org/re_al_/real.test.spip.git | PHP | 104 lines
1<?php 2// This is a SPIP language file -- Ceci est un fichier langue de SPIP 9 10$GLOBALS[$GLOBALS['idx_lang']] = array( 11ExtractionDB.php https://bitbucket.org/amruthaviswanath/mls-qa-tool.git | PHP | 399 lines
1<?php 2/** 27 { 28 global $dbconnection; 29 $dbconnection = $this->dbConnection = new Db();fala.php https://gitlab.com/bjwebb-codedump/plingconica.git | PHP | 406 lines
1<?php 2/** 20 21include_once "config.php"; 22 25 function BenDatabase($db) { 26 global $db_host; global $db_name; global $db_pass; 27 $this->con = mysql_connect($db_host,$db_name,$db_pass); 77 function generateLink($town,$district) { 78 return $_SERVER['PHP_SELF'] . "?town=$town&district=$district"; 79 } 108 function checkDB($town,$district,$lacode,$postcode) { 109 global $log; 110 132 function checkAuthorityWards($town,$district,$lacode,$postcode) { 133 global $log; 134 $log[] = "Checking Authorities and Wards: Authority";SavedSearches.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 483 lines
1<?php 2/** 7 8namespace PhpMyAdmin; 9 24 /** 25 * Global configuration 26 * 69 /** 70 * @param array $config Global configuration 71 * @param Relation $relation Relation instance 134 * 135 * @param array $config Global configuration 136 * 276 { 277 global $dbi; 278sidebar.php http://jqbird.googlecode.com/svn/trunk/ | PHP | 268 lines
26} 27$zenverse_global_twitter = get_option('zenverse_global_twitter'); 28$zenverse_global_feedburner_id = get_option('zenverse_global_feedburner_id'); 44<?php if ($zenverse_global_twitter != '') { ?> 45<a title="Follow me on Twitter" href="http://twitter.com/<?php echo $zenverse_global_twitter; ?>"><img style="position:relative;" src="<?php bloginfo('template_directory') ?>/images/sidesubs_twitter2.gif" onmouseover="this.style.top='-2px';" onmouseout="this.style.top='0px';" alt="" /></a> 46<?php } ?> 48<?php if ($zenverse_global_feedburner_id!='') { ?> 49<a title="Subscribe to updates via Email" href="http://feedburner.google.com/fb/a/mailverify?uri=<?php echo $zenverse_global_feedburner_id; ?>"><img style="position:relative;" src="<?php bloginfo('template_directory') ?>/images/sidesubs_feedburner2.gif" onmouseover="this.style.top='-2px';" onmouseout="this.style.top='0px';" alt="" /></a> 50<?php } ?> 52<?php if ($zenverse_global_facebook != '') { ?> 53<a title="Follow me on Twitter" href="<?php echo $zenverse_global_facebook; ?>"><img style="position:relative;" src="<?php bloginfo('template_directory') ?>/images/sidesubs_facebook2.gif" onmouseover="this.style.top='-2px';" onmouseout="this.style.top='0px';" alt="" /></a> 54<?php } ?> 112?> 113<a href="<?php echo $minism_sponsor_link; ?>" title="<?php echo $minism_sponsor_alttag; ?>"><img alt="<?php echo $minism_sponsor_alttag; ?>" src="<?php echo $minism_sponsor_image; ?>" /></a> 114<?php } ?>ChainedBlockStream.php https://PHPExcel.svn.codeplex.com/svn | PHP | 235 lines
21 * @category PHPExcel 22 * @package PHPExcel_Shared_OLE 23 * @copyright Copyright (c) 2006 - 2007 Christian Schmidt 27 28/** PHPExcel root directory */ 29if (!defined('PHPEXCEL_ROOT')) { 35 36require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/OLE.php'; 37 41 * Stream wrapper for reading data stored in an OLE file. Implements methods 42 * for PHP's stream_wrapper_register(). For creating streams using this 43 * wrapper, use PHPExcel_Shared_OLE_PPS_File::getStream(). 171 $eof = $this->pos >= strlen($this->data); 172 // Workaround for bug in PHP 5.0.x: http://bugs.php.net/27508 173 if (version_compare(PHP_VERSION, '5.0', '>=') &&backuplib.php https://github.com/nadavkav/RTL-BIDI-Hebrew-Moodle-Plugins.git | PHP | 252 lines
1<?php //$Id: backuplib.php,v 1.7 2007/04/22 22:07:03 stronk7 Exp $ 2 //This php script contains all the stuff to backup/restore 20 function mplayer_backup_mods($bf,$preferences) { 21 global $CFG; 22 38 39 global $CFG; 40 177 178 global $CFG; 179 182 //Link to the list of mplayers 183 $buscar="/(".$base."\/mod\/mplayer\/index.php\?id\=)([0-9]+)/"; 184 $result= preg_replace($buscar,'$@MPLAYERINDEX*$2@$',$content); 186 //Link to mplayer view by moduleid 187 $buscar="/(".$base."\/mod\/mplayer\/view.php\?id\=)([0-9]+)/"; 188 $result= preg_replace($buscar,'$@MPLAYERVIEWBYID*$2@$',$result);menu-header.php git://github.com/wordpress/wordpress.git | PHP | 288 lines
1<?php 2/** 11 * 12 * @global string $self 13 */ 13 */ 14$self = preg_replace( '|^.*/wp-admin/network/|i', '', $_SERVER['PHP_SELF'] ); 15$self = preg_replace( '|^.*/wp-admin/|i', '', $self ); 21 * 22 * @global array $menu 23 * @global array $submenu 23 * @global array $submenu 24 * @global string $parent_file 25 * @global string $submenu_file 26 */ 27global $menu, $submenu, $parent_file, $submenu_file; 28sqlite3.php git://github.com/phpbb/phpbb.git | PHP | 430 lines
5* 6* @copyright (c) phpBB Limited <https://www.phpbb.com> 7* @license GNU General Public License, version 2 (GPL-2.0) 13 14namespace phpbb\db\driver; 15 19*/ 20class sqlite3 extends \phpbb\db\driver\driver 21{ 118 { 119 global $cache; 120 256 { 257 global $cache; 258NativeSessionStorageTest.php git://github.com/symfony/symfony.git | PHP | 293 lines
1<?php 2 13 14use PHPUnit\Framework\TestCase; 15use Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag; 29 * @runTestsInSeparateProcesses 30 * @preserveGlobalState disabled 31 */ 47 session_write_close(); 48 array_map('unlink', glob($this->savePath.'/*')); 49 if (is_dir($this->savePath)) { 135 136 public function testSessionGlobalIsUpToDateAfterIdRegeneration() 137 { 179 180 if (\PHP_VERSION_ID >= 70300) { 181 $options['cookie_samesite'] = 'lax';C_cache.php http://mycaptain.googlecode.com/svn/ | PHP | 238 lines
1<?php 2/** 34 35 $cache = "<?php".$config."\n?>"; 36 $this->mc_print($cache,$cf); 49 $user="\n\$user_cache = array('photo' => \"$icon\",'name' =>\"".htmlspecialchars($blogger['nickname'])."\",'mail' =>\"".htmlspecialchars($blogger['email'])."\",'des'=>\"".htmlspecialchars($blogger['description'])."\");"; 50 $cache = "<?php".$user."\n?>"; 51 $this->mc_print($cache,$cf); 69 );"; 70 $cache = "<?php".$sta."\n?>"; 71 $this->mc_print($cache,$cf); 81 while($show_com=$this->fetch_array($query)){ 82 $this->comment.= "\n\$com_cache[".$j."] = array('url'=>\"index.php?action=showlog&gid=".$show_com['gid']."#".$show_com['cid']."\",'name'=>\"".base64_encode(htmlspecialchars($show_com['poster']))."\",'content'=>\"".base64_encode(htmlClean2(subString($show_com['comment'],0,$comment_subnum)))."\");"; 83 $j++; 84 } 85 $cache = "<?php".$this->comment."\n?>"; 86 $this->mc_print($cache,$cf);lazyest-thumbs.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 255 lines
1<?php 2 4 5 global $gallery_root, $currentdir, $file, $gallery_address, $user_level, $lg_text_domain; 6 40 if (imagesx($resource) > get_option('lg_thumbwidth')) 41 echo '<img src="'.get_option('siteurl').'/wp-content/plugins/lazyest-gallery/lazyest-img.php?file='.$currentdir.$category.'.png'.'&thumb=1" alt="" class="icon" />» '.$folder_caption."\n"; 42 else 47 if (imagesx($resource) > get_option('lg_thumbwidth')) 48 echo '<img src="'.get_option('siteurl').'/wp-content/plugins/lazyest-gallery/lazyest-img.php?file='.$currentdir.$category.'.jpg'.'&thumb=1" alt="" class="icon" />» '.$folder_caption."\n"; 49 else 54 if (imagesx($resource) > get_option('lg_thumbwidth')) 55 echo '<img src="'.get_option('siteurl').'/wp-content/plugins/lazyest-gallery/lazyest-img.php?file='.$currentdir.$category.'.jpeg'.'&thumb=1" alt="" class="icon" />» '.$folder_caption."\n"; 56 else 61 if (imagesx($resource) > get_option('lg_thumbwidth')) 62 echo '<img src="'.get_option('siteurl').'/wp-content/plugins/lazyest-gallery/lazyest-img.php?file='.$currentdir.$category.'.gif'.'&thumb=1" alt="" class="icon" />» '.$folder_caption."\n"; 63 elseprepend.php https://bitbucket.org/dotclear/dotclear/ | PHP | 299 lines
1<?php 2# -- BEGIN LICENSE BLOCK --------------------------------------- 14 15require_once dirname(__FILE__).'/../prepend.php'; 16 24function dc_load_locales() { 25 global $_lang, $core; 26 43{ 44 global $core; 45 50 if ((preg_match('/^images\/menu\/(.+)$/',$img,$m)) || 51 (preg_match('/^index\.php\?pf=(.+)$/',$img,$m))) { 52 if ($m[1]) { 67{ 68 global $core,$_menu; 69