100+ results results for 'php glob repo:jesstelford/silverbot-plugins' (698 ms)
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 36{ 37 const PRICE_SCOPE_GLOBAL = 0; 38 const PRICE_SCOPE_WEBSITE = 1; 42 const CONFIG_PARSE_URL_DIRECTIVES = 'catalog/frontend/parse_url_directives'; 43 const XML_PATH_CONTENT_TEMPLATE_FILTER = 'global/catalog/content/tempate_filter'; 44 const XML_PATH_DISPLAY_PRODUCT_COUNT = 'catalog/layered_navigation/display_product_count'; 239 /** 240 * Is Global Price 241 *catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
1<?php 2/** 153 // debug info 154 global $USER; 155 233 // add debug info 234 global $USER; 235questiontype.php https://gitlab.com/JrLucena/moodle | 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();class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
1<?php 2 117 { 118 global $USER; 119 186 { 187 global $APPLICATION; 188 $templateName = null; 316 317 global $USER; 318 390 { 391 global $USER; 392 423 { 424 global $USER; 425template.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 394 lines
95 * Works by first retrieving the current slug for example 'category-default.php' and then 96 * trying category ID, for example 'category-1.php' and will finally fallback to category.php 97 * template, if those files don't exist. 185 * 186 * Attempts to locate 'home.php' first before falling back to 'index.php'. 187 * 193function get_home_template() { 194 $templates = array( 'home.php', 'index.php' ); 195 218 * Will first look for the specifically assigned page template 219 * The will search for 'page-{slug}.php' followed by 'page-id.php' 220 * and finally 'page.php' 296 * 297 * Some examples for the 'text/plain' mime type are 'text.php', 'plain.php', and 298 * finally 'text_plain.php'.Input.php https://gitlab.com/dleonov/my-framework-two | PHP | 419 lines
120 121 $superGlobal = '_' . strtoupper($name); 122 122 123 if (isset($GLOBALS[$superGlobal])) 124 { 124 { 125 $this->inputs[$name] = new Input($GLOBALS[$superGlobal], $this->options); 126 393 // Load up all the globals. 394 foreach ($GLOBALS as $global => $data) 395 { 399 // Convert global name to input name. 400 $global = strtolower($global); 401 $global = substr($global, 1);site_speed.php https://gitlab.com/alexprowars/bitrix | PHP | 297 lines
2/** 3 * @global CUser $USER 4 * @global CMain $APPLICATION 5 */ 6require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 7require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); 7require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); 8define("HELP_FILE", "settings/site_speed.php"); 9 23$APPLICATION->SetTitle(Loc::getMessage("MAIN_SITE_SPEED_TITLE")); 24require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php"); 25 100 if (\Bitrix\Main\ModuleManager::isModuleInstalled("perfmon")): 101 $mark = (double)COption::GetOptionString("perfmon", "mark_php_page_rate", ""); 102 ?>css.js git://github.com/cliftonc/calipso.git | JavaScript | 455 lines
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();walkthrough_test.php https://gitlab.com/JrLucena/moodle | PHP | 309 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 29 30global $CFG; 31require_once(dirname(__FILE__) . '/../../../engine/lib.php'); 31require_once(dirname(__FILE__) . '/../../../engine/lib.php'); 32require_once(dirname(__FILE__) . '/../../../engine/tests/helpers.php'); 33import.php https://gitlab.com/JrLucena/moodle | PHP | 247 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 24 25require_once(dirname(__FILE__).'/../../../config.php'); 26require_once($CFG->dirroot.'/lib/formslib.php'); 26require_once($CFG->dirroot.'/lib/formslib.php'); 27require_once($CFG->dirroot.'/grade/lib.php'); 28require_once($CFG->libdir.'/gradelib.php'); 28require_once($CFG->libdir.'/gradelib.php'); 29require_once('import_outcomes_form.php'); 30 34 35$PAGE->set_url('/grade/edit/outcome/import.php', array('courseid' => $courseid)); 36$PAGE->set_pagelayout('admin'); 46 if (empty($CFG->enableoutcomes)) { 47 redirect('../../index.php?id='.$courseid); 48 }smile_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 342 lines
1<? 2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 3/** @global CMain $APPLICATION */ 3/** @global CMain $APPLICATION */ 4/** @global CDatabase $DB */ 5 13 14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/socialnetwork/include.php"); 15 17 18require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/socialnetwork/prolog.php"); 19 191 if ($save <> '' && $strErrorMessage == '') 192 LocalRedirect("socnet_smile.php?lang=".LANG."&".GetFilterParams("filter_", false)); 193}pay_system.php https://gitlab.com/alexprowars/bitrix | PHP | 410 lines
1<?php 2use Bitrix\Sale\PaySystem; 137 { 138 global $DB, $USER; 139 141 { 142 $GLOBALS["APPLICATION"]->ThrowException(GetMessage("SKGPS_EMPTY_NAME"), "ERROR_NO_NAME"); 143 return false; 176 { 177 $GLOBALS["APPLICATION"]->ThrowException(GetMessage("SKGPS_ORDERS_TO_PAYSYSTEM"), "ERROR_ORDERS_TO_PAYSYSTEM"); 178 return false;class.php https://gitlab.com/alexprowars/bitrix | PHP | 339 lines
1<?php 2use Bitrix\Main, 50 { 51 global $USER, $DB; 52 if(is_object($USER) && $USER->isAuthorized()) 59 array('=DATE_TO' => false), 60 array('>DATE_TO' => date($DB->dateFormatToPHP(\CLang::getDateFormat('FULL')), time())) 61 ) 289 290 global $APPLICATION; 291 $cleanedParams = array('result', 'contact', 'message', static::ACTION_SUBSCRIBER_IDENTIFICATION); 309 310 global $APPLICATION; 311 $cleanedParams = array('result', 'message', 333 334 global $APPLICATION; 335 $cleanedParams = array('subscribeId', 'message', 'userContact', 'productId', static::ACTION_UNSUBSCRIBE);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");widgets.php https://gitlab.com/endomorphosis/falkenstein | PHP | 241 lines
1<?php 2/** 14function wp_list_widgets() { 15 global $wp_registered_widgets, $sidebars_widgets, $wp_registered_widget_controls; 16 78 <div class="sidebar-name-arrow"><br /></div> 79 <h3><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h3> 80 </div> 80 </div> 81 <?php 82 } 105function wp_list_widget_controls_dynamic_sidebar( $params ) { 106 global $wp_registered_widgets; 107 static $i = 0; 126function next_widget_id_number($id_base) { 127 global $wp_registered_widgets; 128 $number = 1;cat_contractor_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 339 lines
1<? 2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/catalog/prolog.php"); 3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/catalog/prolog.php"); 4global $APPLICATION; 5global $DB; 5global $DB; 6global $USER; 7 10$selfFolderUrl = $adminPage->getSelfFolderUrl(); 11$listUrl = $selfFolderUrl."cat_contractor_list.php?lang=".LANGUAGE_ID; 12$listUrl = $adminSidePanelHelper->editUrlToPublicPage($listUrl); 20{ 21 require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php"); 22README.md https://gitlab.com/freebird/WebApp | Markdown | 344 lines
12$js = new AssetCollection(array( 13 new GlobAsset('/path/to/js/*'), 14 new FileAsset('/path/to/another.js'), 65 66``` php 67<?php 96 * `LessFilter`: parses LESS into CSS (using less.js with node.js) 97 * `LessphpFilter`: parses LESS into CSS (using lessphp) 98 * `OptiPngFilter`: optimize your PNGs 105 * `Sass\ScssFilter`: parses SCSS into CSS 106 * `ScssphpFilter`: parses SCSS using scssphp 107 * `SeparatorFilter`: inserts a separator between assets to prevent merge failures 135 136``` php 137<?phpindex.php https://gitlab.com/cel/nameid | PHP | 408 lines
1<?php 2/* 21 22require_once ("lib/config.inc.php"); 23 23 24require_once ("lib/html.inc.php"); 25require_once ("lib/messages.inc.php"); 25require_once ("lib/messages.inc.php"); 26require_once ("lib/openid.inc.php"); 27require_once ("lib/request.inc.php"); 27require_once ("lib/request.inc.php"); 28require_once ("lib/session.inc.php"); 29 29 30require_once ("libauth/authenticator.inc.php"); 31require_once ("libauth/namecoin_rpc.inc.php");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.person_type.php https://gitlab.com/alexprowars/bitrix | PHP | 225 lines
1<?php 2 2 3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/sale/general/person_type.php"); 4 8 { 9 global $DB; 10 158 { 159 global $DB; 160 216 217 unset($GLOBALS["SALE_PERSON_TYPE_LIST_CACHE"]); 218perfmon_hit_grouped.php https://gitlab.com/alexprowars/bitrix | PHP | 247 lines
5define("PERFMON_STOP", true); 6require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); 7/** @global CMain $APPLICATION */ 7/** @global CMain $APPLICATION */ 8/** @global CDatabase $DB */ 9/** @global CUser $USER */ 10Loader::includeModule('perfmon'); 11require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/perfmon/prolog.php"); 12 159 160 $row->AddViewField("SCRIPT_NAME", '<a href="perfmon_hit_list.php?lang='.LANGUAGE_ID.'&set_filter=Y&find_script_name='.$f_SCRIPT_NAME.'">'.$f_SCRIPT_NAME.'</a>'); 161 201 202require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php"); 203rating_list.php https://gitlab.com/alexprowars/bitrix | PHP | 201 lines
8 9require_once(dirname(__FILE__)."/../include/prolog_admin_before.php"); 10 23{ 24 global $FilterArr, $lAdmin; 25 foreach ($FilterArr as $f) global $$f; 125 "TEXT"=>GetMessage("RATING_LIST_EDIT"), 126 "ACTION"=>$lAdmin->ActionRedirect("rating_edit.php?ID=".$f_ID) 127 ), 148 "TEXT"=>GetMessage("RATING_LIST_ADD"), 149 "LINK"=>"rating_edit.php?lang=".LANG, 150 "TITLE"=>GetMessage("RATING_LIST_ADD_TITLE"), 157$APPLICATION->SetTitle(GetMessage("MAIN_RATING_LIST")); 158require_once ($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/include/prolog_admin_after.php"); 159index.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;events_test.php https://gitlab.com/JrLucena/moodle | PHP | 372 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 26 27global $CFG; 28require_once($CFG->dirroot . '/mod/choice/lib.php'); 53 protected function setup() { 54 global $DB; 55 67 public function test_answer_submitted() { 68 global $DB; 69 // Generate user data. 84 $this->assertEquals(array($optionids[3]), $events[0]->other['optionid']); 85 $expected = array($this->course->id, "choice", "choose", 'view.php?id=' . $this->cm->id, $this->choice->id, $this->cm->id); 86 $this->assertEventLegacyLogData($expected, $events[0]); 94 public function test_answer_submitted_multiple() { 95 global $DB; 96HTMLDefinitionTest.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 {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;autoloader.php https://gitlab.com/JrLucena/moodle | PHP | 203 lines
26/** 27 * Class phpunit_autoloader. 28 * 36 * vendor/bin/phpunit core_component_testcase 37 * vendor/bin/phpunit lib/tests/component_test.php 38 * vendor/bin/phpunit core_component_testcase lib/tests/component_test.php 44 */ 45class phpunit_autoloader implements PHPUnit_Runner_TestSuiteLoader { 46 public function load($suiteClassName, $suiteClassFile = '') { 68 if ($suiteClassFile) { 69 PHPUnit_Util_Fileloader::checkAndLoad($suiteClassFile); 70 if (class_exists($suiteClassName, false)) { 100 $testfile = implode('_', $parts); 101 $fullpath = "{$fulldir}/tests/{$testfile}_test.php"; 102 if (is_readable($fullpath)) {grid.locale-en.js https://gitlab.com/Mirros/cdnjs | JavaScript | 224 lines
6 * Dual licensed under the MIT and GPL licenses: 7 * http://www.opensource.org/licenses/mit-license.php 8 * http://www.gnu.org/licenses/gpl.html 11/*jslint white: true */ 12/*global jQuery */ 13(function ($) { 158 masks: { 159 // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid 160 // and see http://docs.jquery.com/UI/Datepicker/formatDate 160 // and see http://docs.jquery.com/UI/Datepicker/formatDate 161 // and https://github.com/jquery/globalize#dates for alternative formats used frequently 162 // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many 163 // information about date, time, numbers and currency formats used in different countries 164 // one should just convert the information in PHP format 165 // short date:comments.php https://gitlab.com/hop23typhu/list-theme | PHP | 465 lines
129 * 130 * @global WP_Query $wp_query Query object. 131 * 228 229 <li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>"> 230 239 <div class="comment-meta commentmetadata"> 240 <a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"><?php printf( __( '%1$s at %2$s', 'genesis' ), get_comment_date(), get_comment_time() ); ?></a> 241 <?php edit_comment_link( __( '(Edit)', 'genesis' ), '' ); ?> 277 278 $GLOBALS['comment'] = $comment; ?> 279 279 280 <li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>"> 281 <article <?php echo genesis_attr( 'comment' ); ?>>job-template.php https://gitlab.com/hop23typhu/list-theme | PHP | 436 lines
1<?php 2if( !function_exists( 'jm_job_template_loader' ) ) : 8 || is_tax( 'job_location' ) ) { 9 $template = locate_template( 'archive-noo_job.php' ); 10 } 49 ?> 50 <meta property="og:image" content="<?php echo $social_share_img; ?>"/> 51 <meta property="og:image:secure_url" content="<?php echo $social_share_img; ?>" /> 51 <meta property="og:image:secure_url" content="<?php echo $social_share_img; ?>" /> 52 <?php 53 endif; 82 83 global $wp_query; 84 if(!empty($loop_args['query'])) { 110 if( $display_style !== 'slider' ) { 111 include(locate_template("layouts/noo_job-loop.php")); 112 } else {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);questiontype.php https://gitlab.com/JrLucena/moodle | PHP | 170 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 28 29require_once($CFG->libdir . '/questionlib.php'); 30 47 public function get_question_options($question) { 48 global $DB; 49 $question->options = $DB->get_record('qtype_essay_options', 54 public function save_question_options($formdata) { 55 global $DB; 56 $context = $formdata->context; 91 public function delete_question($questionid, $contextid) { 92 global $DB; 93apc.object-cache.php https://gitlab.com/endomorphosis/falkenstein | PHP | 380 lines
19if ( version_compare( '5.2.4', phpversion(), '>=' ) ) { 20 wp_die( 'The APC object cache backend requires PHP 5.2 or higher. You are running ' . phpversion() . '. Please remove the <code>object-cache.php</code> file from your content directory.' ); 21} 33function wp_cache_add( $key, $data, $group = '', $expire = 0 ) { 34 global $wp_object_cache; 35 99 100function wp_cache_add_global_groups( $groups ) { 101 global $wp_object_cache; 160 $this->global_groups = array_merge( $this->global_groups, $groups ); 161 $this->global_groups = array_unique( $this->global_groups ); 162 } 378 $GLOBALS['wp_filter']['all'][-100]['apc_not_actually_running'] = array( 'function' => 'apc_not_actually_running', 'accepted_args' => 0 ); 379 require_once ( ABSPATH . WPINC . '/cache.php' ); 380endif;blog-layout.php https://gitlab.com/hop23typhu/list-theme | PHP | 281 lines
1<?php 2/** 12 13global $wp_query; 14 280 281// Omit closing PHP tag to avoid "Headers already sent" issues. 282after-the-deadline.php https://gitlab.com/endomorphosis/falkenstein | PHP | 286 lines
28include( 'after-the-deadline/config-unignore.php' ); 29include( 'after-the-deadline/proxy.php' ); 30 63 if ( ! defined( 'ATD_TINYMCE_4' ) ) { 64 define( 'ATD_TINYMCE_4', ( ! empty( $GLOBALS['tinymce_version'] ) && substr( $GLOBALS['tinymce_version'], 0, 1 ) >= 4 ) ); 65 } 90 91 /* kill the spellchecker.. don't need no steenkin PHP spell checker */ 92 foreach ( $buttons as $key => $button ) { 122 123 $init_array['atd_rpc_url'] = admin_url( 'admin-ajax.php?action=proxy_atd&url=' ); 124 $init_array['atd_ignore_rpc_url'] = admin_url( 'admin-ajax.php?action=atd_ignore&phrase=' ); 252 253 $pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'admin.php', 'profile.php' ); 254Bouncer.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;base.php https://gitlab.com/alexprowars/bitrix | PHP | 539 lines
1<?php 2namespace Bitrix\Report\VisualConstructor\Fields; 531 { 532 global $APPLICATION; 533 $defaultParams = array(component.php https://gitlab.com/alexprowars/bitrix | PHP | 255 lines
1<?php 2 10/** @var array $arResult */ 11/** @global CMain $APPLICATION */ 12 61 62if (!$GLOBALS["USER"]->IsAuthorized()) 63{ 75 76 if (!CSocNetMessages::MarkMessageRead($GLOBALS["USER"]->GetID(), intval($_REQUEST["eventID"]))) 77 { 88 89 if (!CSocNetMessages::DeleteMessage(intval($_REQUEST["eventID"]), $GLOBALS["USER"]->GetID())) 90 { 101 102 if (!CSocNetUserRelations::BanUser($GLOBALS["USER"]->GetID(), intval($_REQUEST["userID"]))) 103 {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 ),shortcodes.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 334 lines
1<?php 2/** 40 * @var array 41 * @global array $shortcode_tags 42 */ 93function add_shortcode($tag, $func) { 94 global $shortcode_tags; 95 108function remove_shortcode($tag) { 109 global $shortcode_tags; 110 117 * This function is simple, it clears all of the shortcode tags by replacing the 118 * shortcodes global by a empty array. This is actually a very efficient method 119 * for removing all shortcodes. 124function remove_all_shortcodes() { 125 global $shortcode_tags; 126service.php https://gitlab.com/alexprowars/bitrix | PHP | 416 lines
1<?php 2/** 36 const AUTHORIZE = "/register/"; 37 const REDIRECT_URI = "/bitrix/tools/seo_client.php"; 38 73 { 74 global $CACHE_MANAGER; 75 if (static::$auth === null) 167 { 168 global $CACHE_MANAGER; 169AdminCarts.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 />shortcodes.php https://gitlab.com/hop23typhu/list-theme | PHP | 242 lines
1<?php 2 185 if($footer) { 186 $GLOBALS['lsSliderInit'][] = $output['init']; 187 return $output['markup']; 210 211 // Get phpQuery 212 if(!class_exists('phpQuery')) { 213 libxml_use_internal_errors(true); 214 include LS_ROOT_PATH.'/helpers/phpQuery.php'; 215 } 216 217 include LS_ROOT_PATH.'/config/defaults.php'; 218 include LS_ROOT_PATH.'/includes/slider_markup_init.php'; 218 include LS_ROOT_PATH.'/includes/slider_markup_init.php'; 219 include LS_ROOT_PATH.'/includes/slider_markup_html.php'; 220 $lsInit = implode('', $lsInit);wrapper.php https://gitlab.com/hop23typhu/list-theme | PHP | 213 lines
1<?php 2 2 3global $wpcom_api_key, $akismet_api_host, $akismet_api_port; 4mkdist.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'));de.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 57 lines
1<?php 2 2 3global $_MODULE; 4$_MODULE = array();class_install.php https://gitlab.com/elasa/vb-elasa.ir | PHP | 270 lines
1<?php 2/*======================================================================*\ 72 { 73 global $db, $vbulletin; 74 93 // Grab the DBAlter class 94 require_once(DIR . '/includes/class_dbalter.php'); 95 110 { 111 global $vbulletin, $code, $arr; 112 115 116 if (!file_exists(self::$installpath . '/' . $version . '.php')) 117 { 118 // Missing version file 119 self::error($version . '.php not found in directory ' . self::$installpath); 120 }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; 208composite_log.php https://gitlab.com/alexprowars/bitrix | PHP | 461 lines
11/** 12 * @global \CUser $USER 13 * @global \CMain $APPLICATION 14 */ 15require_once(dirname(__FILE__)."/../include/prolog_admin_before.php"); 16require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); 16require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); 17define("HELP_FILE", "settings/composite_pages.php"); 18 221 $messageCell = 222 '<a href="composite_diff.php?lang='.LANGUAGE_ID.'&log_id='.$record["ID"].'" target="_blank">'. 223 Loc::getMessage("MAIN_COMPOSITE_LOG_VIEW_DIFF").'</a>'; 235 { 236 $userCell = '<a href="user_edit.php?lang='.LANGUAGE_ID.'&ID=%s">%s</a>'; 237 $userName = \CUser::formatName(graph_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 },functions.wp-scripts.php https://gitlab.com/Haithamgit/Project | PHP | 293 lines
1<?php 2/** 13 * 14 * @global WP_Scripts $wp_scripts 15 * 20function wp_scripts() { 21 global $wp_scripts; 22 if ( ! ( $wp_scripts instanceof WP_Scripts ) ) { 51 * 52 * Called by admin-header.php and wp_head hook. Since it is called by wp_head on every page load, 53 * the function does not instantiate the WP_Scripts object unless script names are explicitly passed. 53 * the function does not instantiate the WP_Scripts object unless script names are explicitly passed. 54 * Makes use of already-instantiated $wp_scripts global if present. Use provided wp_print_scripts 55 * hook to register/enqueue new scripts. 180 if ( ( is_admin() && 'admin_enqueue_scripts' !== $current_filter ) || 181 ( 'wp-login.php' === $GLOBALS['pagenow'] && 'login_enqueue_scripts' !== $current_filter ) 182 ) {lib.php https://gitlab.com/JrLucena/moodle | PHP | 231 lines
1<?php 2 17 18require_once($CFG->libdir.'/gradelib.php'); 19 24function get_new_importcode() { 25 global $USER, $DB; 26 46function grade_import_commit($courseid, $importcode, $importfeedback=true, $verbose=true) { 47 global $CFG, $USER, $DB, $OUTPUT; 48 159 } 160 echo $OUTPUT->continue_button($CFG->wwwroot.'/grade/index.php?id='.$courseid); 161 } 180function get_unenrolled_users_in_import($importcode, $courseid) { 181 global $CFG, $DB; 182kfmDirectory.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.lib.php https://gitlab.com/JrLucena/moodle | PHP | 339 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 24 */ 25require_once($CFG->dirroot . '/repository/lib.php'); 26 83 private function init_youtube_service() { 84 global $CFG; 85 86 if (!isset($this->service)) { 87 require_once($CFG->libdir . '/google/lib.php'); 88 $this->client = get_google_client(); 132 public function search($search_text, $page = 0) { 133 global $SESSION; 134 $sort = optional_param('youtube_sort', '', PARAM_TEXT); 179 private function _get_collection($keyword, $start, $max, $sort) { 180 global $SESSION; 181bethsoftvid.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);culture_admin.php https://gitlab.com/alexprowars/bitrix | PHP | 160 lines
1<?php 2/** 2/** 3 * @global CUser $USER 4 * @global CMain $APPLICATION 5 */ 6require_once(dirname(__FILE__)."/../include/prolog_admin_before.php"); 7require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); 7require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/prolog.php"); 8define("HELP_FILE", "settings/culture_admin.php"); 9 116 117 $row = &$adminList->AddRow($id, $culture, "culture_edit.php?ID=".$id."&lang=".LANGUAGE_ID, Loc::getMessage("LANG_EDIT_TITLE")); 118 $row->AddViewField("ID", $id); 118 $row->AddViewField("ID", $id); 119 $row->AddField("NAME", '<a href="culture_edit.php?ID='.$id.'&lang='.LANGUAGE_ID.'" title="'.Loc::getMessage("LANG_EDIT_TITLE").'">'.$name.'</a>', $name); 120 $row->AddInputField("CODE");historyservice.php https://gitlab.com/alexprowars/bitrix | PHP | 173 lines
1<? 2include_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/bizproc/classes/general/historyservice.php"); 3 13 { 14 global $DB; 15 38 { 39 global $DB; 40 60 { 61 global $DB; 62component.php https://gitlab.com/alexprowars/bitrix | PHP | 198 lines
1<?php 2/** 10 * Bitrix vars 11 * @global CUser $USER 12 * @global CMain $APPLICATIONzend_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 }Shipping.php https://gitlab.com/daigiangaitu91/magento | PHP | 254 lines
1<?php 2/** 75 'total_shipping' => new \Zend_Db_Expr( 76 "SUM((base_shipping_amount - {$shippingCanceled}) * base_to_global_rate)" 77 ), 78 'total_shipping_actual' => new \Zend_Db_Expr( 79 "SUM((base_shipping_invoiced - {$shippingRefunded}) * base_to_global_rate)" 80 ), 138 * @throws \Exception 139 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 140 */ 183 'SUM((order_table.base_shipping_amount - ' . 184 "{$shippingCanceled}) * order_table.base_to_global_rate)" 185 ), 187 'SUM((order_table.base_shipping_invoiced - ' . 188 "{$shippingRefunded}) * order_table.base_to_global_rate)" 189 ),_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() { 289multiple-featured-images.php https://gitlab.com/hop23typhu/list-theme | PHP | 374 lines
91 public function kd_admin_init() { 92 if( strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/post.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/media-upload.php')) { 93 wp_enqueue_script( 119 * 120 * @global object $post 121 * @return void 123 public function kd_meta_box_content() { 124 global $post; 125 137 * 138 * @global int $post_ID 139 * @param int $image_id 223 * 224 * @global int $post_ID 225 * @return voidcurl.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 417 lines
1<?php 2//////////////////////////////////////////////////////////////////////////////////////////////////// 3//// File: 4//// curl.php 5//// Actions: 32 //cache 33 //'DNS_USE_GLOBAL_CACHE'=> true, 34 //'FORBID_REUSE' => false,lineitem.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());class-wp-customize-setting.php https://gitlab.com/hop23typhu/list-theme | PHP | 439 lines
1<?php 2/** 407 public function update( $value ) { 408 global $custom_image_header; 409grid.locale-fa.js https://gitlab.com/Mirros/cdnjs | JavaScript | 173 lines
3 * Dual licensed under the MIT and GPL licenses: 4 * http://www.opensource.org/licenses/mit-license.php 5 * http://www.gnu.org/licenses/gpl.html 8/*jslint white: true */ 9/*global jQuery */ 10(function ($) {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>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 $class-zip.php https://gitlab.com/endomorphosis/falkenstein | PHP | 306 lines
1<?php 2 16 function __construct() { 17 global $updraftplus_backup; 18 $this->binzip = $updraftplus_backup->binzip; 27 28 global $updraftplus; 29 # Get the directory that $add_as is relative to 50 51 global $updraftplus, $updraftplus_backup; 52 $updraft_dir = $updraftplus->backups_dir_location(); 217 public function open($path, $flags = 0) { 218 if(!class_exists('PclZip')) include_once(ABSPATH.'/wp-admin/includes/class-pclzip.php'); 219 if(!class_exists('PclZip')) { 234 # Make the empty directory we need to implement addEmptyDir() 235 global $updraftplus; 236 $updraft_dir = $updraftplus->backups_dir_location();publicize.php https://gitlab.com/endomorphosis/falkenstein | PHP | 307 lines
1<?php 2/** 16 function __construct() { 17 global $publicize_ui; 18 26 27 require_once dirname( __FILE__ ) . '/publicize/publicize.php'; 28 29 if ( $this->in_jetpack ) 30 require_once dirname( __FILE__ ) . '/publicize/publicize-jetpack.php'; 31 else { 31 else { 32 require_once dirname( dirname( __FILE__ ) ) . '/mu-plugins/keyring/keyring.php'; 33 require_once dirname( __FILE__ ) . '/publicize/publicize-wpcom.php'; 35 36 require_once dirname( __FILE__ ) . '/publicize/ui.php'; 37 $publicize_ui = new Publicize_UI();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'],