100+ results results for 'php glob repo:symfony/symfony' (1595 ms)
82 foreach ($pageposts as $page): //list pages, [the 'li' ID must be pm_'page ID'] ?> 83 <li id="pm_<?php echo $page->ID; ?>"<?php if($page->post_status == "draft"){ echo ' class="remove"'; } //if page is draft, add class remove ?>> 84 <span style="float:right;"> 98 id:<?php echo $page->ID;?> 99 [<a href="<?php echo get_bloginfo('wpurl').'/wp-admin/post.php?action=edit&post='.$page->ID; ?>" title="Edit This Post">edit</a>] 100 <?php if($switchDraftToPublishFeature): ?> 101 [<a href="#" title="Draft|Publish" class="excludeLink" onclick="toggleRemove(this); return false">toggle-draft</a>] 102 <?php endif; ?> 103 </span> 145 <select name='m'> 146 <option<?php selected( $m, 0 ); ?> value='0'><?php _e('Show all dates'); ?></option> 147 <?php 244 if($wp_version >= 2.7){ 245 $page = add_submenu_page('edit.php', 'postMash: Order Posts', 'postMash', $minlevel, __FILE__, 'postMash_main'); 246 }else{Data.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 478 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 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 *wikiparser_test.php https://gitlab.com/unofficial-mirrors/moodle | 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";appcachemanifest.php https://gitlab.com/Rad1calDreamer/honey | PHP | 611 lines
1<?php 2namespace Bitrix\Main\Data; 9 10 const MANIFEST_CHECK_FILE = "/bitrix/tools/check_appcache.php"; 11 private static $debug; 155 { 156 global $APPLICATION; 157 $selfObject = self::getInstance(); 519 { 520 $cache = new \CPHPCache(); 521 $manifestId = $arFields["ID"]; 531 { 532 $cache = new \CPHPCache(); 533 544 { 545 $cache = new \CPHPCache(); 546 $cachePath = self::getCachePath($manifestId);VarCloner.php https://gitlab.com/Sigpot/AirSpot | PHP | 324 lines
1<?php 2 40 $cookie = (object) array(); // Unique object used to detect hard references 41 $gid = uniqid(mt_rand(), true); // Unique string used to detect the special $GLOBALS variable 42 $a = null; // Array cast for nested structures 127 128 // Copies of $GLOBALS have very strange behavior, 129 // let's detect them with some black magic 132 133 // Happens with copies of $GLOBALS 134 if (isset($v[$gid])) { 148 case 'object': 149 if (empty($objRefs[$h = $zval['object_handle'] ?: ($hashMask ^ hexdec(substr(spl_object_hash($v), $hashOffset, PHP_INT_SIZE)))])) { 150 $stub = new Stub(); 164 } else { 165 $h = $hashMask ^ hexdec(substr(spl_object_hash($stub->value), $hashOffset, PHP_INT_SIZE)); 166 }init.php https://gitlab.com/mattswann/launch-housing | 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;eventapi.html.md https://gitlab.com/ggsaavedra/PredictionIO | Markdown | 412 lines
37 38INFO: By default, the Event Server is bound to 0.0.0.0, which serves global 39traffic. To tighten security, you may use `pio eventserver --ip 127.0.0.1` to 109 </div> 110 <div data-tab="PHP SDK" data-lang="php"> 111```php 111```php 112<?php 113 require_once("vendor/autoload.php"); 204 </div> 205 <div data-tab="PHP SDK" data-lang="php"> 206```php 206```php 207<?php 208 require_once("vendor/autoload.php");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; 235css.js https://gitlab.com/wilane/Booktype | 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.Autoscalers.php https://gitlab.com/efabian/maya | PHP | 275 lines
1<?php 2/* 54 * @opt_param bool includeAllScopes Indicates whether every visible scope for 55 * each scope type (zone, region, global) should be included in the response. 56 * For new resource types added after this field, the flag has no effect as newclass-config.php https://gitlab.com/ngochuynh1991/cuacuon | PHP | 414 lines
1<?php 2/** 40 WPSEO_Options::reset(); 41 wp_redirect( admin_url( 'admin.php?page=wpseo_dashboard' ) ); 42 } 55 wp_enqueue_style( 'thickbox' ); 56 wp_enqueue_style( 'global' ); 57 wp_enqueue_style( 'wp-admin' ); 357 ?> 358 <div id="<?php echo esc_attr( $id ); ?>" class="yoastbox"> 359 <h1><?php echo $title; ?></h1> 359 <h1><?php echo $title; ?></h1> 360 <?php echo $content; ?> 361 </div> 361 </div> 362 <?php 363 }Pro.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 436 lines
1<?php 2/** 334 { 335 $pendingReason = $payment->getAdditionalInformation(\Magento\Paypal\Model\Info::PENDING_REASON_GLOBAL); 336 return $this->_isPaymentReviewRequired(questiontype.php https://gitlab.com/unofficial-mirrors/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();gva_row.php https://gitlab.com/kryber/wizionary | PHP | 344 lines
1<?php 2class element_gva_row{ 244 public function render_content( $settings = array(), $content = '' ) { 245 global $base_url, $base_path; 246 extract(gavias_merge_atts(array( 322 323 <div class="gbb-row-wrapper section <?php print trim($row_class) ?>" <?php if($row_id) print 'id="'.$row_id.'"' ?> style="<?php print $row_style ?>" <?php if($data_bg_video) print $data_bg_video; ?> <?php if($row_name) print 'data-onepage-title="'.$row_name.'"'; ?>> 324 <?php if($icon){ ?><span class="icon-row <?php print $icon ?>"></span><?php } ?> 324 <?php if($icon){ ?><span class="icon-row <?php print $icon ?>"></span><?php } ?> 325 <div class="bb-inner <?php if($style_space) print $style_space; ?>"> 326 <div class="bb-container <?php print $layout ?>"> 327 <div class="row row-wrapper"> 328 <?php print $content ?> 329 </div> 337 ?> 338 <div style="background-repeat: <?php print $bg_repeat; ?>;background-position:<?php print $bg_position ?>;<?php print ($bg_size=='width-100'?'background-size: 100%;':'')?>" class="gva-parallax-inner skrollable skrollable-between <?php print $row_bg_size ?>" <?php print $data_parallax ?>></div> 339 <?php } ?>openid.php https://gitlab.com/BeS/io.schiessle.org | PHP | 398 lines
1<?php 2/* 23 24require_once('Auth/OpenID.php'); 25require_once('Auth/OpenID/Consumer.php'); 25require_once('Auth/OpenID/Consumer.php'); 26require_once('Auth/OpenID/Server.php'); 27require_once('Auth/OpenID/SReg.php'); 27require_once('Auth/OpenID/SReg.php'); 28require_once('Auth/OpenID/MySQLStore.php'); 29 87{ 88 global $_PEAR; 89question.php https://gitlab.com/gregtyka/lfmawordpress | PHP | 406 lines
8 // Base class for custom post type to extends 9 learn_press_include( 'custom-post-types/abstract.php' ); 10 196 if (0 == $title.val().length) { 197 alert('<?php _e( 'Please enter the title of the question', 'learnpress' );?>'); 198 $title.focus(); 200 } else if ($('.lpr-question-types').length && ( 0 == $('.lpr-question-types').val().length )) { 201 alert('<?php _e( 'Please a type of question', 'learnpress' );?>'); 202 $('.lpr-question-types').focus(); 222 <?php foreach ( $questions as $type => $name ): ?> 223 <option value="<?php echo $type; ?>"><?php echo $name; ?></option> 224 <?php endforeach; ?> 389 global $pagenow, $post_type; 390 if ( !is_admin() || ( $pagenow != 'edit.php' ) || ( LP()->question_post_type != $post_type ) ) { 391 return false;BotApi.php https://gitlab.com/rasadeghnasab/advisor-telegrambot | PHP | 482 lines
1<?php 2 103 104 isset($this->keyboard_configs['global_buttons']) && $current_state->last_state != null ? $this->keyboardGlobalButtons() : $this->keyboard; 105 if ($current_state->body == 'قبل از نمایش نتیجه') { 105 if ($current_state->body == 'قبل از نمایش نتیجه') { 106 $this->keyboardGlobalButtons(['']); 107 } 185 $this->getKeyboard($current_state, $question); 186 $this->keyboardGlobalButtons(['global_buttons' => '']); 187 $this->keyboardMarkup(); 222 $this->getKeyboard($current_state, $question); 223 $this->keyboardGlobalButtons(['global_buttons' => '']); 224 $this->keyboardMarkup(); 249 $this->getKeyboard($currentState, $question); 250// $this->keyboardGlobalButtons(['global_buttons' => '']); 251 $this->keyboardMarkup();TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
1<?php 2 121 122 global $user, $prefs; 123 $language = $prefs['language']; 234 { 235 global $prefs; 236 $baseKey = $this->getBaseKey(); 249 250 public function getGlobalFields() 251 { 251 { 252 global $prefs; 253 $baseKey = $this->getBaseKey(); 267 { 268 global $prefs; 269 $schema = new Tracker\Tabular\Schema($this->getTrackerDefinition());class-cp-user-relationships.php https://gitlab.com/clusterpress/clusterpress | PHP | 543 lines
1<?php 2/** 46 public function __construct( $args = array() ) { 47 global $wpdb; 48 177 public function add( $args = array() ) { 178 global $wpdb; 179 228 public function update( $args = array(), $where = array() ) { 229 global $wpdb; 230 269 public function get_last_active( $user_id = 0 ) { 270 global $wpdb; 271 283 public function get_last_actives( $user_ids = array() ) { 284 global $wpdb; 285class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
14 function __construct( $args = array() ) { 15 global $post_type, $taxonomy, $action, $tax; 16 366 if ( 'attachment' == $this->screen->post_type ) 367 return "<a href='" . esc_url ( add_query_arg( $args, 'upload.php' ) ) . "'>$count</a>"; 368 413 <label> 414 <span class="title"><?php _ex( 'Name', 'term name' ); ?></span> 415 <span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span> 416 </label> 417 <?php if ( !global_terms_enabled() ) { ?> 418 <label> 421 </label> 422 <?php } ?> 423 </div></fieldset>Admin.php https://gitlab.com/michield/phpList | PHP | 416 lines
1<?php 2namespace phpList; 3 4use phpList\helper\String; 5use phpList\helper\Util; 5use phpList\helper\Util; 6use phpList\Entity\AdminEntity; 7 55 if ($this->id != 0) { 56 phpList::DB()->query( 57 sprintf( 84 { 85 $result = phpList::DB()->query( 86 sprintf( 111 112 $result = phpList::DB()->query( 113 sprintf(class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
1<?php 2/** 12 * This class maps shortcodes settings to VC editors. You can manage add new shortcodes or manage default shortcodes 13 * mapped in config/map.php. For developers it is possible to use API functions to add update settings attributes. 14 * 14 * 15 * @see config/map.php 16 * @see include/helpers/helpers_api.php 88 protected static function getSettings() { 89 global $current_user; 90 126 * You need to shortcode's tag and settings to map correctly. 127 * Default shortcodes are mapped in config/map.php file. 128 * The best way is to call this method with "init" action callback function of WP. 541 /** 542 * Sorting method for WPBMap::generateUserData method. Called by usort php function. 543 * @deprecated - use Vc_Sort::sortByKey since 4.4config.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | 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 28*/ 29$config['index_page'] = 'index.php'; 30 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 Messagesblacklistlib.php https://gitlab.com/ElvisAns/tiki | PHP | 360 lines
1<?php 2 135 { 136 global $prefs; 137 176 while ($foo = $result->fetchrow()) { 177 if (! fwrite($pointer, $foo['password'] . PHP_EOL)) { 178 Feedback::error(tr('File Error. Password file generation interrupted.')); 184 while ($foo = $result->fetchrow()) { 185 echo $foo['password'] . PHP_EOL; 186 } 201 { 202 global $prefs; 203 222 { 223 if ($GLOBALS['prefs']['pass_blacklist'] == 'n' || ! isset($GLOBALS['prefs']['pass_blacklist'])) { 224 return 'Disabled';ssp.class.php https://gitlab.com/ealexis.t/trends | PHP | 390 lines
1<?php 2 19// REMOVE THIS BLOCK - used for DataTables test environment only! 20$file = $_SERVER['DOCUMENT_ROOT'].'/datatables/mysql.php'; 21if ( is_file( $file ) ) { 138 { 139 $globalSearch = array(); 140 $columnSearch = array(); 152 $binding = self::bind( $bindings, '%'.$str.'%', PDO::PARAM_STR ); 153 $globalSearch[] = "`".$column['db']."` LIKE ".$binding; 154 } 175 176 if ( count( $globalSearch ) ) { 177 $where = '('.implode(' OR ', $globalSearch).')';ListCommand.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 278 lines
1<?php 2 17use Psy\Command\ListCommand\FunctionEnumerator; 18use Psy\Command\ListCommand\GlobalVariableEnumerator; 19use Psy\Command\ListCommand\InterfaceEnumerator; 76 77 new InputOption('globals', 'g', InputOption::VALUE_NONE, 'Include global variables.'), 78 new InputOption('internal', 'n', InputOption::VALUE_NONE, 'Limit to internal functions and classes.'), 150 new FunctionEnumerator($mgr), 151 new GlobalVariableEnumerator($mgr), 152 new InterfaceEnumerator($mgr), 249 250 foreach (array('globals', 'vars', 'constants', 'functions', 'classes', 'interfaces', 'traits') as $option) { 251 if ($input->getOption($option)) { 259 // if a target is passed, classes, functions, etc don't make sense 260 foreach (array('vars', 'globals', 'functions', 'classes', 'interfaces', 'traits') as $option) { 261 if ($input->getOption($option)) {mkdist.php https://gitlab.com/0072016/appengine-php | PHP | 548 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 */config.php https://gitlab.com/philippevm/projeto-integrado-2 | PHP | 365 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 formattingfckeditor.css https://gitlab.com/ptisky/API_prestashop | CSS | 536 lines
1/*~~~~~~Global Setting ~~~~~~~~*/ 2html, body{ 266span.fileFlash, span.fileVideo, span.filePicture, 267span.filePPT, span.fileExcel, span.filePhp, 268span.fileMusic, span.fileExe, span.fileAcrobat, 289span.fileExcel{background-image:url(../images/small_icon/fileExcel.png);} 290span.filePhp{background-image:url(../images/small_icon/filePhp.png);} 291span.fileMusic{background-image:url(../images/small_icon/fileMusic.png);} 301dt.fileFlash, dt.fileVideo, 302dt.filePPT, dt.fileExcel, dt.filePhp, 303dt.fileMusic, dt.fileExe, dt.fileAcrobat, 328dt.fileExcel{background-image:url(../images/big_icon/fileExcel.png);} 329dt.filePhp{background-image:url(../images/big_icon/filePhp.png);} 330dt.fileMusic{background-image:url(../images/big_icon/fileMusic.png);} 532 533/*~~~~~~Global Low Priority Setting ~~~~~~~~*/ 534.left, td.left, th.left, td.leftDisabled{text-align:left;}http.php https://gitlab.com/morganestes/wordpress-develop | PHP | 374 lines
1<?php 2/** 99 100 // < PHP 5.4.7: Schemeless URL 101 array( 123 124 // < PHP 5.4.7: Scheme separator in the URL. 125 array( 134 135 // < PHP 5.4.7: IPv6 literals in schemeless URLs are handled incorrectly. 136 array( 143 144 // PHP's parse_url() calls this an invalid url, we handle it as a path 145 array( '/://example.com/', array( 'path' => '/://example.com/' ) ), 146 147 // Schemeless URL containing colons cause parse errors in PHP 7+. 148 array(class-admin.php https://gitlab.com/haque.mdmanzurul/wp-harpar-carolyn | PHP | 441 lines
1<?php 2 55 * 56 * @global object $wp_embed 57 * @return void 92 * 93 * @global string $pagenow 94 * @return void 98 global $pagenow; 99 $enabled_pages = apply_filters( 'black_studio_tinymce_enable_pages', array( 'widgets.php', 'customize.php', 'admin-ajax.php' ) ); 100 return apply_filters( 'black_studio_tinymce_enable', in_array( $pagenow, $enabled_pages ) );grid.locale-en.js https://gitlab.com/Mirros/jsdelivr | 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:cURL.php https://gitlab.com/x33n/ampache | PHP | 349 lines
1<?php 2/** 25 * 26 * @var array cURL information array, see {@see http://php.net/curl_getinfo} 27 */ 127 * @param array $requests Request data 128 * @param array $options Global options 129 * @return array Array of Requests_Response objects (may contain Requests_Exception or string responses as well) 313 * @param string $url 314 * @param array|object $data Data to build query using, see {@see http://php.net/http_build_query} 315 * @return string URL with datasysvmsg.c https://gitlab.com/envieidoc/tomato | C | 477 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. */config.php https://gitlab.com/mautic-master/mautic | PHP | 258 lines
1<?php 2/** 186 'mautic.form.type.slideshow_config' => [ 187 'class' => 'Mautic\PageBundle\Form\Type\SlideshowGlobalConfigType', 188 'alias' => 'slideshow_config'FieldInstancePerFormDisplayTest.php https://gitlab.com/reasonat/test8 | PHP | 184 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 ),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; 425class-storefront-woocommerce.php https://gitlab.com/leobelizquierdo/cabotsubmitter-wordpress | PHP | 339 lines
1<?php 2/** 73 public function woocommerce_scripts() { 74 global $storefront_version; 75 101 </script> 102 <?php 103 }css_editor.js https://gitlab.com/oxidigitaluser/liguelista | JavaScript | 343 lines
8// Safety first 9/** global window.i18nLocale */ 10if (_.isUndefined(window.vc)) var vc = {atts: {}}; 11(function ($) { 12 var preloaderUrl = ajaxurl.replace(/admin\-ajax\.php/, 'images/wpspin_light.gif'), 13 template_options = {ServerDatabasesControllerTest.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 315 lines
14 15require_once 'test/libraries/stubs/ResponseStub.php'; 16require_once 'test/PMATestCase.php'; 20 * 21 * @package PhpMyAdmin-test 22 */ 41 42 $GLOBALS['table'] = "table"; 43 $GLOBALS['replication_info']['master']['status'] = false; 120 $this->assertContains( 121 '<form class="ajax" action="server_databases.php" ', 122 $html 153 $this->assertRegExp( 154 '/title="phpmyadmin"[[:space:]]*value="phpmyadmin"/', 155 $htmlDbSearchTest.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 270 lines
12require_once 'libraries/database_interface.inc.php'; 13require_once 'test/PMATestCase.php'; 14 20 * 21 * @package PhpMyAdmin-test 22 */ 88 89 $GLOBALS['dbi'] = $dbi; 90 163 . '</td><td><a name="browse_search" class="ajax" ' 164 . 'href="sql.php?db=pma&table' 165 . '=table1&goto=db_sql.php&pos=0&is_js_confirmed=0&' 175 . '<a name="delete_search" class="ajax" href' 176 . '="sql.php?db=pma&table=table1&goto=db_sql.php&pos=0' 177 . '&is_js_confirmed=0&sql_query=column2&server=0&'file_browser_test.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 248 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 54 public function setUp() { 55 global $DB; 56 $this->resetAfterTest();course_bin.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 335 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 69 public function get_item($itemid) { 70 global $DB; 71 82 public function get_items() { 83 global $DB; 84 96 public function store_item($cm) { 97 global $CFG, $DB; 98 98 99 require_once($CFG->dirroot . '/backup/util/includes/backup_includes.php'); 100 188 public function restore_item($item) { 189 global $CFG, $OUTPUT, $PAGE; 190derivative.inc.php https://gitlab.com/team_fsn/fsn-php | PHP | 540 lines
1<?php 2// +-----------------------------------------------------------------------+ 2// +-----------------------------------------------------------------------+ 3// | Piwigo - a PHP based photo gallery | 4// +-----------------------------------------------------------------------+ 53 { 54 global $conf; 55 71 $this->flags |= self::IS_MIMETYPE; 72 if ( ($size=@getimagesize(PHPWG_ROOT_PATH.$this->rel_path)) === false) 73 { 74 $this->rel_path = 'themes/default/icon/mimetypes/unknown.png'; 75 $size = getimagesize(PHPWG_ROOT_PATH.$this->rel_path); 76 } 379 $rel_url = 'i'; 380 if ($conf['php_extension_in_urls']) $rel_url .= '.php'; 381 if ($conf['question_mark_in_urls']) $rel_url .= '?';class-wc-settings-tax.php https://gitlab.com/campus-academy/krowkaramel | PHP | 348 lines
1<?php 2/** 79 public function get_settings_for_default_section() { 80 return include __DIR__ . '/views/settings-tax.php'; 81 } 86 public function output() { 87 global $current_section; 88 101 public function save() { 102 // phpcs:disable WordPress.Security.NonceVerification.Missing 103 global $current_section; 108 if ( isset( $_POST['woocommerce_tax_classes'] ) ) { 109 $this->save_tax_classes( wp_unslash( $_POST['woocommerce_tax_classes'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized 110 } 121 WC_Cache_Helper::get_transient_version( 'shipping', true ); 122 // phpcs:enable WordPress.Security.NonceVerification.Missing 123 }watchpack.js https://gitlab.com/nguyenthehiep3232/marius | JavaScript | 383 lines
1/* 2 MIT License http://www.opensource.org/licenses/mit-license.php 3 Author Tobias Koppers @sokra 9const EventEmitter = require("events").EventEmitter; 10const globToRegExp = require("glob-to-regexp"); 11const watchEventSource = require("./watchEventSource"); 25const stringToRegexp = ignored => { 26 const source = globToRegExp(ignored, { globstar: true, extended: true }) 27 .source;header.php https://gitlab.com/kaouech/theme | PHP | 198 lines
1<?php include 'config.php' ?> 2<!DOCTYPE html> 56<body> 57<?php if (!isset($no_visible_elements) || !$no_visible_elements) { ?> 58 <!-- topbar starts --> 106 <ul class="collapse navbar-collapse nav navbar-nav top-menu"> 107 <li><a href="#"><i class="glyphicon glyphicon-globe"></i> Visit Site</a></li> 108 <li class="dropdown"> 131 <!-- topbar ends --> 132<?php } ?> 133<div class="ch-container"> 134 <div class="row"> 135 <?php if (!isset($no_visible_elements) || !$no_visible_elements) { ?> 136 171 class="glyphicon glyphicon-th"></i><span> Grid</span></a></li> 172 <li><a href="tour.html"><i class="glyphicon glyphicon-globe"></i><span> Tour</span></a></li> 173 <li><a class="ajax-link" href="icon.html"><imxml-entity.c https://gitlab.com/pine64-android/linux-3.10 | C | 449 lines
32{ 33 _mxml_global_t *global = _mxml_global(); 34 /* Global data */ 36 37 if (global->num_entity_cbs < (int)(sizeof(global->entity_cbs) / sizeof(global->entity_cbs[0]))) 38 { 93 int ch; /* Character value */ 94 _mxml_global_t *global = _mxml_global(); 95 /* Global data */ 114 int i; /* Looping var */ 115 _mxml_global_t *global = _mxml_global(); 116 /* Global data */ 129 memmove(global->entity_cbs + i, global->entity_cbs + i + 1, 130 (global->num_entity_cbs - i) * sizeof(global->entity_cbs[0])); 131Input.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 ?>template.php https://gitlab.com/gregtyka/app222 | 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'.annotate.html https://gitlab.com/jiapei100/ImageMagick | HTML | 300 lines
15 <meta name="application-url" content="http://www.imagemagick.org"/> 16 <meta name="generator" content="PHP"/> 17 <meta name="keywords" content="magickcore, c, api, for, imagemagick:, annotate, an, image, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/> 24 <meta name="copyright" content="Copyright (c) 1999-2016 ImageMagick Studio LLC"/> 25 <meta name="distribution" content="Global"/> 26 <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/> 51 <a class="magick-nav-item " href="api.html">Develop</a> 52 <a class="magick-nav-item " href="http://www.imagemagick.org/script/search.php">Search</a> 53 <a class="magick-nav-item pull-right" href="https://www.imagemagick.org/discourse-server/">Community</a> 290 <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> • 291 <a href="http://www.imagemagick.org/script/contact.php">Contact Us</a></p> 292 <p><small>© 1999-2016 ImageMagick Studio LLC</small></p>class-wp-media-list-table.php https://gitlab.com/puppet-br/puppet-br.org-wordpress | PHP | 396 lines
174?> 175 <tr id='post-<?php echo $id; ?>' class='<?php echo trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top"> 176<?php 253?> 254 <td <?php echo $attributes ?>><?php 255 $tags = get_the_tags(); 270?> 271 <td <?php echo $attributes ?>><?php echo has_excerpt() ? $post->post_excerpt : ''; ?></td> 272<?php 291?> 292 <td <?php echo $attributes ?>><?php echo $h_time ?></td> 293<?php 313?> 314 <td <?php echo $attributes ?>><?php _e( '(Unattached)' ); ?><br /> 315 <?php if( $user_can_edit ) {?>Cost_Utils.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 481 lines
1<?php 2/** 44 public function get_all_costs() { 45 global $wpdb; 46 274 public function has_uncosted_events() { 275 global $wpdb; 276slideshow.php https://gitlab.com/relacilia/cakra | PHP | 306 lines
1<?php 2 9 function __construct() { 10 global $shortcode_tags; 11 91 <fieldset> 92 <select name="<?php echo esc_attr( $name ); ?>" id="<?php esc_attr( $name ); ?>"> 93 <?php foreach ( $values as $key => $value ) : ?> 93 <?php foreach ( $values as $key => $value ) : ?> 94 <option value="<?php echo esc_attr( $key ); ?>" <?php selected( $key, $option ); ?>> 95 <?php echo esc_html( $value ); ?> 96 </option> 97 <?php endforeach; ?> 98 </select> 98 </select> 99 <?php if ( ! empty( $extra_text ) ) : ?> 100 <p class="description"><?php echo esc_html( $extra_text ); ?></p>class-admin.php https://gitlab.com/treighton/wpgit | PHP | 440 lines
1<?php 2 55 * 56 * @global object $wp_embed 57 * @since 2.0.0 91 * 92 * @global string $pagenow 93 * @return void 97 global $pagenow; 98 $enabled_pages = apply_filters( 'black_studio_tinymce_enable_pages', array( 'widgets.php', 'customize.php', 'admin-ajax.php' ) ); 99 return apply_filters( 'black_studio_tinymce_enable', in_array( $pagenow, $enabled_pages ) );class-wp-ms-users-list-table.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 307 lines
1<?php 2/** 105 /** 106 * @global string $mode 107 * @param string $which 109 protected function pagination( $which ) { 110 global $mode; 111 181 <th scope="row" class="check-column"> 182 <label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label> 183 <input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" /> 184 </th> 185 <?php 186 break; 192 echo "<td $attributes>"; ?> 193 <?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php 194 if ( in_array( $user->user_login, $super_admins ) )layout.class.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 267 lines
1<?php 2/** 15 16Files: default.php, style.css 17 46 public function display_page($page) { 47 global $config, $user; 48 127 $qp = explode("/", ltrim(_get_query(), "/")); 128 // php sucks 129 switch($qp[0]) {main.php https://gitlab.com/dali99/shimmie2-Material-Theme | PHP | 371 lines
1<?php 2/* 153 public function onPageRequest(PageRequestEvent $event) { 154 global $user, $page; 155 if($event->page_matches("tag_edit")) { 175 public function onPostListBuilding(PostListBuildingEvent $event) { 176 global $user; 177 if($user->can("bulk_edit_image_source") && !empty($event->search_terms)) { 182 public function onImageInfoSet(ImageInfoSetEvent $event) { 183 global $user; 184 if($user->can("edit_image_owner")) { 206 public function onOwnerSet(OwnerSetEvent $event) { 207 global $user; 208 if($user->can("edit_image_owner") && (!$event->image->is_locked() || $user->can("edit_image_lock"))) { 213 public function onTagSet(TagSetEvent $event) { 214 global $user; 215 if($user->can("edit_image_tag") && (!$event->image->is_locked() || $user->can("edit_image_lock"))) {install.php https://gitlab.com/puppet-br/puppet-br.org-wordpress | PHP | 249 lines
20 <h2>Error: PHP is not running</h2> 21 <p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p> 22</body> 133 <th scope="row"><label for="blog_public"><?php _e( 'Privacy' ); ?></label></th> 134 <td colspan="2"><label><input type="checkbox" name="blog_public" value="1" <?php checked( $blog_public ); ?> /> <?php _e( 'Allow my site to appear in search engines like Google and Technorati.' ); ?></label></td> 135 </tr> 149$mysql_version = $wpdb->db_version(); 150$php_compat = version_compare( $php_version, $required_php_version, '>=' ); 151$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' ); 153if ( !$mysql_compat && !$php_compat ) 154 $compat = sprintf( __('You cannot install because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ); 155elseif ( !$php_compat ) 155elseif ( !$php_compat ) 156 $compat = sprintf( __('You cannot install because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ); 157elseif ( !$mysql_compat )README.md https://gitlab.com/matijabelec/bigpandadev | Markdown | 343 lines
12$js = new AssetCollection(array( 13 new GlobAsset('/path/to/js/*'), 14 new FileAsset('/path/to/another.js'), 65 66``` php 67<?php 95 * `LessFilter`: parses LESS into CSS (using less.js with node.js) 96 * `LessphpFilter`: parses LESS into CSS (using lessphp) 97 * `OptiPngFilter`: optimize your PNGs 104 * `Sass\ScssFilter`: parses SCSS into CSS 105 * `ScssphpFilter`: parses SCSS using scssphp 106 * `SeparatorFilter`: inserts a separator between assets to prevent merge failures 134 135``` php 136<?phpeditor.php https://gitlab.com/ppapadatis/Videolearn | PHP | 522 lines
1<?php 2/** 91 /** 92 * Returns the global Editor object, only creating it 93 * if it doesn't already exist. 488 $name = JFilterInput::getInstance()->clean($this->_name, 'cmd'); 489 $path = JPATH_PLUGINS . '/editors/' . $name . '.php'; 490 492 { 493 $path = JPATH_PLUGINS . '/editors/' . $name . '/' . $name . '.php'; 494 if (!JFile::exists($path))class-ms-model-customposttype.php https://gitlab.com/najomie/fit-hippie | PHP | 471 lines
1<?php 2/** 16 * 17 * Both static and class property are used to handle php 5.2 limitations. 18 * Override this value in child object. 189 190 global $wp_current_filter; 191 if ( ! in_array( 'ms_saved_' . $class, $wp_current_filter ) ) { 274 private function clean_metadata( $data_to_keep ) { 275 global $wpdb; 276class.php https://gitlab.com/neuser/bitrix-core | PHP | 658 lines
1<?php 2if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die(); 12 13require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/classes/general/wizard.php"); //Wizard API 14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils 14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils 15require_once("tools/bsmpackage.php"); 16require_once("tools/modulechecker.php"); 16require_once("tools/modulechecker.php"); 17require_once("tools/bitrixvmchecker.php"); 18require_once("tools/agentchecker.php"); 18require_once("tools/agentchecker.php"); 19require_once("tools/pushchecker.php"); 20require_once("tools/sitepatcher.php"); 149 { 150 /** @noinspection PhpVariableNamingConventionInspection */ 151 global $APPLICATION;toolbar.php https://gitlab.com/michield/dokuwiki | PHP | 255 lines
1<?php 2/** 18function toolbar_JSdefines($varname){ 19 global $lang; 20 198 'icon' => 'image.png', 199 'url' => 'lib/exe/mediamanager.php?ns=', 200 'name' => 'mediaselect', 241function toolbar_signature(){ 242 global $conf; 243 global $INFO;tbl_structure.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 469 lines
19require_once 'libraries/structure.lib.php'; 20require_once 'libraries/index.lib.php'; 21 42if (isset($_REQUEST['change_column'])) { 43 PMA_displayHtmlForColumnChange($db, $table, null, 'tbl_structure.php'); 44 exit; 94 // browsing the table displaying only selected fields/columns 95 $GLOBALS['active_page'] = 'sql.php'; 96 $sql_query = ''; 137require_once 'libraries/tbl_common.inc.php'; 138$url_query .= '&goto=tbl_structure.php&back=tbl_structure.php'; 139$url_params['goto'] = 'tbl_structure.php'; 442 //return the list of index 443 $response->addJSON('indexes_list', PMA_Index::getView($GLOBALS['table'], $GLOBALS['db'])); 444 $response->addHTML(PMA_getHtmlForDisplayIndexes());Clover.php https://gitlab.com/ealexis.t/trends | PHP | 284 lines
1<?php 2/* 2/* 3 * This file is part of the PHP_CodeCoverage package. 4 * 4 * 5 * (c) Sebastian Bergmann <sebastian@phpunit.de> 6 * 11/** 12 * Generates a Clover XML logfile from an PHP_CodeCoverage object. 13 * 15 */ 16class PHP_CodeCoverage_Report_Clover 17{ 18 /** 19 * @param PHP_CodeCoverage $coverage 20 * @param string $targetapi_alipay.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 296 lines
1<?php 2 6 * 7 * $Id: api_alipay.php 30091 2012-05-10 03:26:33Z zhengqingpeng $ 8 */ 27function credit_payurl($price, &$orderid) { 28 global $_G; 29 36 'partner' => DISCUZ_PARTNER, 37 'notify_url' => $_G['siteurl'].'api/trade/notify_credit.php', 38 'return_url' => $_G['siteurl'].'api/trade/notify_credit.php', 59function invite_payurl($amount, $price, &$orderid) { 60 global $_G; 61 68 'partner' => DISCUZ_PARTNER, 69 'notify_url' => $_G['siteurl'].'api/trade/notify_invite.php', 70 'return_url' => $_G['siteurl'].'api/trade/notify_invite.php',Relation.php https://gitlab.com/madwanz64/laravel | PHP | 403 lines
1<?php 2 181 { 182 return $this->query->withoutGlobalScopes()->update($attributes); 183 }api.php https://gitlab.com/mostafame/team_website | PHP | 344 lines
1<?php 2 342function PLL() { 343 return $GLOBALS['polylang']; 344}class-wc-frontend-scripts.php https://gitlab.com/haque.mdmanzurul/soundkreationsfinal | PHP | 301 lines
1<?php 2/** 107 public static function load_scripts() { 108 global $post; 109 161 162 // Global frontend scripts 163 self::enqueue_script( 'woocommerce', $frontend_script_path . 'woocommerce' . $suffix . '.js', array( 'jquery', 'jquery-blockui' ) ); 194 private static function get_script_data( $handle ) { 195 global $wp; 196imageupload.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 287 lines
1<?php 2 68 69 include_once AIU_BASE_PATH . 'includes/fileuploader/fileuploader.class.php'; 70 81 if (!function_exists('includeFile')) { 82 function includeFile($name, $type = 'config', $defaultName = 'default', $fileType = '.inc.php') { 83 $folder = (substr($type, -1) != 'y') ? $type . 's/' : substr($folder, 0, -1) . 'ies/'; 83 $folder = (substr($type, -1) != 'y') ? $type . 's/' : substr($folder, 0, -1) . 'ies/'; 84 $allowedConfigs = glob(AIU_BASE_PATH . $folder . '*.' . $type . $fileType); 85 foreach ($allowedConfigs as $config) { 93 } else { 94 $modx->messageQuit('Default AjaxImageUpload ' . $type . ' file "' . AIU_BASE_PATH . $folder . $defaultName . '.' . $type . '.inc.php" not found. Did you upload all snippet files?'); 95 } 106 107 include_once AIU_BASE_PATH . 'includes/PhpThumbFactory/ThumbLib.inc.php'; 108 // delete uploaded imagessetupPostdata.php https://gitlab.com/morganestes/wordpress-develop | PHP | 419 lines
15 16 foreach ( $this->global_keys as $global_key ) { 17 if ( isset( $GLOBALS[ $global_key ] ) ) { 17 if ( isset( $GLOBALS[ $global_key ] ) ) { 18 $this->global_data[ $global_key ] = $GLOBALS[ $global_key ]; 19 unset( $GLOBALS[ $global_key ] ); 20 } else { 21 $this->global_data[ $global_key ] = null; 22 } 399 * setup_postdata( $a_post ) followed by the_content() in a loop that does not update 400 * global $post should use the content of $a_post rather then the global post. 401 */ 403 $post_id = self::factory()->post->create( array( 'post_content' => 'global post' ) ); 404 $GLOBALS['wp_query']->post = $GLOBALS['post'] = get_post( $post_id ); 405class-vc-edit-form-fields.php https://gitlab.com/furrutia1991/imosa_web | PHP | 317 lines
1<?php 2/** 298 * 299 * List of params stored in global variable $vc_params_list. 300 * Please check include/params/load.php for default params list. 304 public function loadDefaultParams() { 305 global $vc_params_list; 306 if ( empty( $vc_params_list ) ) {functions_styles.php https://gitlab.com/bulwye/reliquerunt | PHP | 324 lines
1<?php 2/*************************************************************************** 2/*************************************************************************** 3 * Module : PNphpBB2 (The forum for Postnuke) 4 * Filename : functions_styles.php 6 * Original file by : Carl Slaughter 7 * Copyright : (C) 2003 The PNphpBB Group 8 * Contact : support@pnphpbb.com 8 * Contact : support@pnphpbb.com 9 * : http://www.pnphpbb.com 10 * 10 * 11 * $Id: functions_styles.php,v 1.6 2004/10/18 19:47:28 carls Exp $ 12 * 23 24if ( !defined('IN_PHPBB') ) 25{meta-descriptions.php https://gitlab.com/Gashler/sg | PHP | 240 lines
1<?php 2/** 85 86 global $post; 87 114 } elseif (suwp::is_tax()) { 115 global $wp_query; 116 $tax_descriptions = $this->get_setting('taxonomy_descriptions'); 143 144 global $wp_query, $numpages; 145 208 <li><strong>Blog Homepage Meta Description</strong> — When your blog homepage appears in search results, it’ll have a title and a description. When you type a description into this box, the Meta Editor will add code to your blog homepage (the <code><meta name="description" /></code> tag) that asks search engines to use what you’ve entered as the homepage’s search results description.</li> 209 <li><strong>Use this blog’s tagline as the default homepage description.</strong> — If this box is checked and if the Blog Homepage Meta Description field is empty, Meta Editor will use your blog’s tagline as the meta description. You can edit the blog’s tagline under <a href='options-general.php'>Settings ⇒ General</a>.</li> 210</ul> 227 <li> 228 <p><strong>What do I do if my site has multiple meta tags?</strong><br />First, try removing your theme’s built-in meta tags if it has them. Go to <a href='theme-editor.php' target='_blank'>Appearance ⇒ Editor</a> and edit <code>header.php</code>. Delete or comment-out any <code><meta></code> tags.</p> 229 <p>If the problem persists, try disabling other SEO plugins that may be generating meta tags.</p>Makefile https://gitlab.com/envieidoc/tomato | Makefile | 214 lines
91$(BUILD_DIR)\$(PHPDLL): generated_files $(PHPDEF) $(PHP_GLOBAL_OBJS) $(STATIC_EXT_OBJS) $(PHPDLL_RES) $(MCFILE) 92 @$(CC) $(PHP_GLOBAL_OBJS) $(STATIC_EXT_OBJS) $(STATIC_EXT_LIBS) $(LIBS) $(PHPDLL_RES) /link /out:$(BUILD_DIR)\$(PHPDLL) $(PHP5_PGD_OPTION) $(PHP_LDFLAGS) $(LDFLAGS) $(STATIC_EXT_LDFLAGS) 93 -@$(_VC_MANIFEST_EMBED_DLL) 153 -rd /s /q $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING) 154 -del /f /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip 155 -del /f /q $(BUILD_DIR)\php-debug-pack-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip 167 cd $(BUILD_DIR) 168 -$(ZIP) -9 -q php-debug-pack-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip *.pdb 169 cd 170 cd 171 -$(ZIP) -9 -q -r php-devel-pack-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip $(BUILD_DIR_DEV_NAME) 172 cd ..\.. 212 @echo It's okay for this step to fail: 213 -$(PHP_PREFIX)\php.exe -n -dextension_dir=$(PHP_PREFIX) win32/build/registersyslog.php $(PHP_PREFIX)\$(PHPDLL) 214walkthrough_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'); 33AutoloadGenerator.php https://gitlab.com/ngochuynh1991/cuacuon | PHP | 346 lines
140 file_put_contents($vendorPath.'/autoload_52.php', $this->getAutoloadFile($vendorPathToTargetDirCode, $suffix)); 141 file_put_contents($targetDir.'/autoload_real_52.php', $this->getAutoloadRealFile(true, (bool) $includePathFile, $targetDirLoader, $filesCode, $vendorPathCode, $appBaseDirCode, $suffix, $useGlobalIncludePath, $prependAutoloader)); 142 221 222// autoload_52.php generated by xrstf/composer-php52 223 234 // - https://github.com/composer/composer/issues/959 235 // - https://bugs.php.net/bug.php?id=52144 236 // - https://bugs.php.net/bug.php?id=61576 236 // - https://bugs.php.net/bug.php?id=61576 237 // - https://bugs.php.net/bug.php?id=59298 238 245 246// autoload_real_52.php generated by xrstf/composer-php52 247compat.php https://gitlab.com/thisishayat/itv-2016 | PHP | 339 lines
2/** 3 * WordPress implementation for PHP functions either missing from older PHP versions or not included by default. 4 * 4 * 5 * @package PHP 6 * @access private 185 function json_encode( $string ) { 186 global $wp_json; 187 188 if ( ! ( $wp_json instanceof Services_JSON ) ) { 189 require_once( ABSPATH . WPINC . '/class-json.php' ); 190 $wp_json = new Services_JSON(); 204 function json_decode( $string, $assoc_array = false ) { 205 global $wp_json; 206smile_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}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);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;trainer.php https://gitlab.com/tonmoy1a/Bitm-Course-Manager | PHP | 193 lines
64 <a class="dropdown-toggle" data-toggle="dropdown"> 65 <img src="../elements/user_images/<?php echo $loged_user['image']; ?>" width="28" height="28" alt=""> 66 <span><?php echo $loged_user['username']; ?></span> 69 <ul class="dropdown-menu dropdown-menu-right"> 70 <li><a href="../user/user_view_single.php?id=<?php echo $loged_user['id']; ?>"><i class="icon-user-plus"></i> My profile</a></li> 71 <li class="divider"></li> 92 <div class="media-body"> 93 <span class="media-heading text-semibold"><?php echo $loged_user['full_name']; ?></span> 94 <div class="text-size-mini text-muted"> 115 <li class="navigation-header"><span>Main</span> <i class="icon-menu" title="Main pages"></i></li> 116 <li><a href="../dashboard.php"><i class="icon-home4"></i> <span>Dashboard</span></a></li> 117 <li><a href="../user/user_manager.php"><i class="icon-user"></i> <span>User Menu</span></a></li> 117 <li><a href="../user/user_manager.php"><i class="icon-user"></i> <span>User Menu</span></a></li> 118 <li class="active"><a href="../trainer/trainer.php"><i class="icon-people"></i> <span>Trainer</span></a></li> 119 <li><a href="../course/course.php"><i class="icon-book"></i> <span>Course</span></a></li>import.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 }media-template.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 467 lines
1<?php 2/** 15function wp_print_media_templates() { 16 global $is_IE; 17 $class = 'media-modal wp-core-ui'; 30 <script type="text/html" id="tmpl-media-modal"> 31 <div class="<?php echo $class; ?>"> 32 <a class="media-modal-close" href="#" title="<?php esc_attr_e('Close'); ?>"><span class="media-modal-icon"></span></a> 95 96 <?php if ( ( $GLOBALS['is_IE'] || $GLOBALS['is_opera']) && $max_upload_size > 100 * 1024 * 1024 ) : 97 $browser_uploader = admin_url( 'media-new.php?browser-uploader&post_id=' ) . '{{ data.postId }}'; 328 if ( size ) { #> 329 <option value="<?php echo esc_attr( $value ); ?>" <?php selected( $value, 'full' ); ?>> 330 <?php echo esc_html( $name ); ?> – {{ size.width }} × {{ size.height }} 363 <?php for ( $i = 1; $i <= 9; $i++ ) : ?> 364 <option value="<?php echo esc_attr( $i ); ?>" <?php selected( $i, 3 ); ?>> 365 <?php echo esc_html( $i ); ?>class-vc-backend-editor.php https://gitlab.com/mattswann/launch-housing | PHP | 356 lines
1<?php 2if ( ! defined( 'ABSPATH' ) ) { 55 ), 5 ); 56 add_action( 'admin_print_scripts-post.php', array( 57 &$this, 59 ) ); 60 add_action( 'admin_print_scripts-post-new.php', array( 61 &$this, 106 $this->post_custom_css = $post_custom_css; 107 vc_include_template( 'editors/backend_editor.tpl.php', array( 108 'editor' => $this, 125 public function renderEditorFooter() { 126 vc_include_template( 'editors/partials/backend_editor_footer.tpl.php', array( 127 'editor' => $this, 254 wp_register_script( 'vc_accordion_script', vc_asset_url( 'lib/vc_accordion/vc-accordion.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true ); 255 wp_register_script( 'wpb_php_js', vc_asset_url( 'lib/php.default/php.default.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true ); 256 // used as polyfill for JSON.stringify and etcclass-mb-include-exclude.php https://gitlab.com/code26/selah | PHP | 379 lines
1<?php 2/** 274 */ 275 if ( isset( $GLOBALS['pagenow'] ) && 'user-edit.php' === $GLOBALS['pagenow'] ) { 276 // If edit other's profile, check edited user. 283 return ! empty( $roles ); 284 } elseif ( isset( $GLOBALS['pagenow'] ) && 'profile.php' === $GLOBALS['pagenow'] ) { 285 // If edit profile, check current user. 298 protected static function check_edited_user_id( $user_ids ) { 299 if ( isset( $GLOBALS['pagenow'] ) && 'user-edit.php' === $GLOBALS['pagenow'] ) { 300 // If edit other's profile, check edited user. 303 return in_array( $user_id, self::csv_to_array( $user_ids ) ); 304 } elseif ( isset( $GLOBALS['pagenow'] ) && 'profile.php' === $GLOBALS['pagenow'] ) { 305 // If edit profile, check current user.database.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 303 lines
117 * 118 * {@see http://php.net/manual/en/function.session-set-save-handler.php} 119 * 131 * 132 * {@see http://php.net/manual/en/function.session-set-save-handler.php} 133 * 151 * 152 * {@see http://php.net/manual/en/function.session-set-save-handler.php} 153 * 216 * 217 * {@see http://php.net/manual/en/function.session-set-save-handler.php} 218 * 256 * 257 * {@see http://php.net/manual/en/function.session-set-save-handler.php} 258 *init.php https://gitlab.com/iamgraeme/royalmile | PHP | 350 lines
1<?php 2/* 31 { 32 global $psp; 33 65 // social sharing module 66 require_once( $this->the_plugin->cfg['paths']['plugin_dir_path'] . 'aa-framework/utils/social_sharing.php' ); 67 $ssh = new pspSocialSharing( $this->the_plugin ); 119 </script> 120 <?php 121 } 135 136 <?php 137 } 141 142 <?php 143 }class-fusion-widget-tabs.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 240 lines
150 <div class="fusion-meta"> 151 <a class="comment-text-side" href="<?php echo get_permalink( $comment->ID ); ?>#comment-<?php echo $comment->comment_ID; ?>" title="<?php printf( __( '%1$s on %2$s', 'Avada' ), strip_tags( $comment->comment_author ), $comment->post_title ); ?>"><?php printf( __( '%s...', 'Avada' ), fusion_string_limit_words( strip_tags( $comment->com_excerpt ), 12 ) ); ?></a> 152 </div> 212 <label for="<?php echo $this->get_field_id('posts'); ?>"><?php _e( 'Number of popular posts:', 'Avada' ); ?></label> 213 <input class="widefat" type="text" style="width: 30px;" id="<?php echo $this->get_field_id( 'posts' ); ?>" name="<?php echo $this->get_field_name( 'posts' ); ?>" value="<?php echo $instance['posts']; ?>" /> 214 </p> 220 <label for="<?php echo $this->get_field_id( 'comments' ); ?>"><?php _e( 'Number of comments:', 'Avada' ); ?></label> 221 <input class="widefat" type="text" style="width: 30px;" id="<?php echo $this->get_field_id('comments'); ?>" name="<?php echo $this->get_field_name('comments'); ?>" value="<?php echo $instance['comments']; ?>" /> 222 </p> 227 <p> 228 <input class="checkbox" type="checkbox" <?php checked( $instance['show_recent_posts'], 'on' ); ?> id="<?php echo $this->get_field_id( 'show_recent_posts' ); ?>" name="<?php echo $this->get_field_name( 'show_recent_posts' ); ?>" /> 229 <label for="<?php echo $this->get_field_id( 'show_recent_posts' ); ?>"><?php _e( 'Show recent posts', 'Avada' ); ?></label> 231 <p> 232 <input class="checkbox" type="checkbox" <?php checked( $instance['show_comments'], 'on' ); ?> id="<?php echo $this->get_field_id( 'show_comments' ); ?>" name="<?php echo $this->get_field_name( 'show_comments' ); ?>" /> 233 <label for="<?php echo $this->get_field_id( 'show_comments' ); ?>"><?php _e( 'Show comments', 'Avada' ); ?></label>HookApi.php https://gitlab.com/iamgraeme/royalmile | PHP | 337 lines
1<?php 2namespace WebSharks\HtmlCompressor; 37 { 38 if (empty($GLOBALS[__NAMESPACE__.'_early_hooks'])) { 39 return; // Nothing more to do here. 40 } 41 $GLOBALS[__NAMESPACE__.'_early_hooks'] = (array) $GLOBALS[__NAMESPACE__.'_early_hooks']; 42 $early_hooks = &$GLOBALS[__NAMESPACE__.'_early_hooks'];javascript.php https://bitbucket.org/tdevonshire/hoolux.git | PHP | 625 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 77 { 78 require APPPATH.'libraries/Spellcheck.php'; 79 } 99 { 100 require APPPATH.'libraries/Spellcheck.php'; 101 } 231 * 232 * This private method is intended for usage by the 'add_global_cp_js' hook 233 * 623 624/* End of file javascript.php */ 625/* Location: ./system/expressionengine/controllers/cp/javascript.php */variables_8php_source.html https://gitlab.com/zaverichintan/geometry_viewer | HTML | 127 lines
6<meta name="generator" content="Doxygen 1.8.4"/> 7<title>BRL-CAD Online Geometry Viewer: variables.php Source File</title> 8<link href="tabs.css" rel="stylesheet" type="text/css"/> 84<div class="contents"> 85<a href="variables_8php.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <?php</div> 86<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/* V A R I A B L E S . P H P</span></div> 104<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div> 105<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="variables_8php.html#a9b2aca73038168dc85a3fb6d6af948a8"> 26</a></span>  <a class="code" href="variables_8php.html#a9b2aca73038168dc85a3fb6d6af948a8">$uploadPath</a> = <span class="stringliteral">"user_accounts/$username"</span>;</div> 106<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div> 106<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div> 107<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="variables_8php.html#a107cb3732c3eb625a67c9896596c6c74"> 29</a></span>  <a class="code" href="variables_8php.html#a107cb3732c3eb625a67c9896596c6c74">$objPath</a> = <span class="stringliteral">"user_accounts/$username/obj"</span>;</div> 108<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div> 116<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> ?></div> 117<div class="ttc" id="variables_8php_html_a9b2aca73038168dc85a3fb6d6af948a8"><div class="ttname"><a href="variables_8php.html#a9b2aca73038168dc85a3fb6d6af948a8">$uploadPath</a></div><div class="ttdeci">$uploadPath</div><div class="ttdef"><b>Definition:</b> <a href="variables_8php_source.html#l00026">variables.php:26</a></div></div> 118<div class="ttc" id="variables_8php_html_a107cb3732c3eb625a67c9896596c6c74"><div class="ttname"><a href="variables_8php.html#a107cb3732c3eb625a67c9896596c6c74">$objPath</a></div><div class="ttdeci">$objPath</div><div class="ttdef"><b>Definition:</b> <a href="variables_8php_source.html#l00029">variables.php:29</a></div></div>PMA_SetupIndex_test.php https://gitlab.com/luyxtran264/myproject | PHP | 397 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 3/** 4 * tests for methods under setup/lib/index.lib.php 5 * 5 * 6 * @package PhpMyAdmin-test 7 */ 14 15require_once 'libraries/sanitizing.lib.php'; 16require_once 'libraries/config/config_functions.lib.php'; 16require_once 'libraries/config/config_functions.lib.php'; 17require_once 'setup/lib/index.lib.php'; 18require_once 'libraries/sanitizing.lib.php'; 20/** 21 * tests for methods under setup/lib/index.lib.php 22 *SQLAzureFederationsSynchronizer.php https://gitlab.com/adrianjose605/SaintW | PHP | 297 lines
75 76 $globalSql = $this->synchronizer->getCreateSchema($global); 77 if ($globalSql) { 79 "USE FEDERATION ROOT WITH RESET;"; 80 $sql = array_merge($sql, $globalSql); 81 } 147 148 if ($globalSql) { 149 $sql[] = "-- Work on Root Federation\nUSE FEDERATION ROOT WITH RESET;"; 149 $sql[] = "-- Work on Root Federation\nUSE FEDERATION ROOT WITH RESET;"; 150 $sql = array_merge($sql, $globalSql); 151 } 239 $this->shardManager->selectGlobal(); 240 $globalSql = $operation($this->synchronizer, $global); 241class-wcs-query.php https://gitlab.com/remyvianne/krowkaramel | PHP | 389 lines
1<?php 2/** 94 public function change_my_account_endpoint_title( $title, $endpoint ) { 95 global $wp; 96 175 176 wc_get_template( 'myaccount/subscriptions.php', array( 'current_page' => $current_page ), '', WC_Subscriptions_Core_Plugin::instance()->get_subscriptions_core_directory( 'templates/' ) ); 177 } 185 protected function is_query( $query_var ) { 186 global $wp; 187 253 254 wp_redirect( $url ); // phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect 255 exit();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;wysiwyg.api.php https://gitlab.com/endomorphosis/tactilevision | PHP | 206 lines
1<?php 2 64 ), 65 // A list of global, native editor configuration settings to 66 // override. To be used rarely and only when required.widgets.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | 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;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();ar.php https://gitlab.com/ptisky/API_prestashop | PHP | 72 lines
1<?php 2 2 3global $_MODULE; 4$_MODULE = array();about.css https://gitlab.com/ReneMC/Custom-wordpress-theme | CSS | 481 lines
3 4 1.0 Global: About, Credits, Freedoms 5 1.1 Typography 14/*------------------------------------------------------------------------------ 15 1.0 - Global: About, Credits, Freedoms 16------------------------------------------------------------------------------*/ 408 409.freedoms-php .about-wrap ol { 410 margin: 40px 60px; 412 413.freedoms-php .about-wrap ol li { 414 list-style-type: decimal; 417 418.freedoms-php .about-wrap ol p { 419 font-weight: normal;light_editor.php https://gitlab.com/neuser/bitrix-core | PHP | 359 lines
6 { 7 global $USER, $APPLICATION; 8 $basePath = '/bitrix/js/fileman/light_editor/'; 48 //Messages 49 $langPath = $_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/fileman/lang/'.LANGUAGE_ID.'/classes/general/light_editor_js.php'; 50 if(!file_exists($langPath)) 50 if(!file_exists($langPath)) 51 $langPath = $_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/fileman/lang/en/classes/general/light_editor_js.php'; 52 $this->mess = __IncludeLang($langPath, true, true); 58 59 $jsMsg = "<script bxrunfirst>LHE_MESS = window.LHE_MESS = ".CUtil::PhpToJSObject($this->messOld)."; (window.BX||top.BX).message(".CUtil::PhpToJSObject($this->mess, false).");</script>"; 60 262 <?if (!empty($this->mess)):?> 263 LHE_MESS = window.LHE_MESS = "<?=CUtil::PhpToJSObject($this->messOld)?>"; (window.BX||top.BX).message(<?=CUtil::PhpToJSObject($this->mess, false)?>); 264 <?endif?>site_main.tpl https://gitlab.com/raku.takayama/eccube-2_13 | Smarty Template | 199 lines
39 <!--{if $HeaderTopNaviItem.php_path != ""}--> 40 <!--{include_php file=$HeaderTopNaviItem.php_path items=$HeaderTopNaviItem}--> 41 <!--{else}--> 106 <!--{if $MainHeadItem.php_path != ""}--> 107 <!--{include_php file=$MainHeadItem.php_path items=$MainHeadItem}--> 108 <!--{else}--> 142 <!--{if $RightNaviItem.php_path != ""}--> 143 <!--{include_php file=$RightNaviItem.php_path items=$RightNaviItem}--> 144 <!--{else}--> 160 <!--{if $BottomNaviItem.php_path != ""}--> 161 <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}--> 162 <!--{else}--> 185 <!--{if $FooterBottomNaviItem.php_path != ""}--> 186 <!--{include_php file=$FooterBottomNaviItem.php_path items=$FooterBottomNaviItem}--> 187 <!--{else}-->bcmnvram.h https://gitlab.com/buktemirlnk/mirrors | C Header | 329 lines
8 * under the terms of the GNU General Public License version 2 (the "GPL"), 9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 10 * following added to such license: 74/* 75 * Append a chunk of nvram variables to the global list 76 */ 78 79extern void nvram_get_global_vars(char **varlst, uint *varsz); 80options.php https://gitlab.com/billyprice1/website | PHP | 415 lines
1<?php 2require_once(dirname(__FILE__) . '/admin_options/AdminPageFactory.php'); 99 'posts' => __('Your latest posts', TEMPLATENAME), 100 'page' => sprintf(__('A %sstatic page%s (select bellow)', TEMPLATENAME), '<a href="edit.php?post_type=page">', '</a>'), 101 ), 128 129 global $_theme_sliders_list; 130 ap_add_select(array( 346 )); 347 global $_theme_layouts; 348 ap_add_select(array( 393 ap_add_section('social', __('Social', TEMPLATENAME)); 394 global $_theme_social_links; 395 foreach ($_theme_social_links as $key => $link) {grid.locale-ro.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 198 lines
5 * Dual licensed under the MIT and GPL licenses: 6 * http://www.opensource.org/licenses/mit-license.php 7 * http://www.gnu.org/licenses/gpl.html 10/*jslint white: true */ 11/*global jQuery */ 12(function (factory) { 20 } else { 21 // Browser globals 22 factory(jQuery);s2member-files.php https://gitlab.com/Gashler/dp | PHP | 108 lines
1<?php 2if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"])) 4 5global /* A Multisite ``$base`` configuration? */ $base; 6$ws_plugin__s2member_temp_s_base = (!empty ($base)) ? $base : c_ws_plugin__s2member_utils_urls::parse_url (network_home_url ("/"), PHP_URL_PATH); 20 RewriteEngine On 21 RewriteBase <?php echo $ws_plugin__s2member_temp_s_base . "\n"; ?> 22 28 RewriteCond %{ENV:s2member_file_download_wp_vdir_check} !^complete$ 29 RewriteCond %{THE_REQUEST} ^(?:GET|HEAD)(?:[\ ]+)(?:<?php echo preg_quote ($ws_plugin__s2member_temp_s_base, " "); ?>)([_0-9a-zA-Z\-]+/)(?:wp-content/) 30 RewriteRule ^(.*)$ - [E=s2member_file_download_wp_vdir:,E=s2member_file_download_wp_vdir:%1,E=s2member_file_download_wp_vdir_check:complete] 107 108<?php unset ($ws_plugin__s2member_temp_s_base); ?>Log.php https://gitlab.com/betanurlaila/UI_onlineshop | PHP | 247 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 119 $this->_file_ext = (isset($config['log_file_extension']) && $config['log_file_extension'] !== '') 120 ? ltrim($config['log_file_extension'], '.') : 'php'; 121 154 * 155 * Generally this function will be called using the global log_message() function 156 * 181 $newfile = TRUE; 182 // Only add protection to php files 183 if ($this->_file_ext === 'php') 184 { 185 $message .= "<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>\n\n"; 186 }flatrate.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 171 lines
1<?php 2class flatrate { 68 function getQuote($for_display = false) { 69 global $wpdb, $wpsc_cart; 70 if (isset($_POST['country'])) { 123 function get_item_shipping(&$cart_item) { 124 global $wpdb, $wpsc_cart; 125 $unit_price = $cart_item->unit_price;grid.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 ($) {content.php https://gitlab.com/ppapadatis/Videolearn | PHP | 401 lines
1<?php 2/** 195 { 196 $this->setError(JText::_('JGLOBAL_ARTICLE_MUST_HAVE_TEXT')); 197 return false; 202 { 203 $this->setError(JText::_('JGLOBAL_START_PUBLISH_AFTER_FINISH')); 204 return false;querylib.php https://github.com/cwaclawik/moodle.git | PHP | 495 lines
1<?php 2/** 2/** 3* Global Search Engine for Moodle 4* 16*/ 17require_once($CFG->dirroot.'/search/Zend/Search/Lucene.php'); 18 159 public function __construct($term = '', $page = 1, $results_per_page = 10, $cache = false) { 160 global $CFG; 161 221 private function process_results($all=false) { 222 global $USER; 223 337 if ($page > 1) { 338 $ret .= "<a href='query.php?query_string={$query}&page=".($page-1)."'>< {$back}</a> "; 339 } else {nt.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 204 lines
1<?php 2 17if (!$id || !$user_id || isset($ban['1']) || isset($ban['11']) || (!core::$user_rights && $set['mod_forum'] == 3)) { 18 require('../incfiles/head.php'); 19 echo functions::display_error($lng['access_forbidden']); 19 echo functions::display_error($lng['access_forbidden']); 20 require('../incfiles/end.php'); 21 exit; 30{ 31 global $set; 32 if (!isset($m[3])) { 63if ($flood) { 64 require('../incfiles/head.php'); 65 echo functions::display_error($lng['error_flood'] . ' ' . $flood . $lng['sec'] . ', <a href="../soo/?mod=forum&id=' . $id . '&start=' . $start . '">' . $lng['back'] . '</a>'); 65 echo functions::display_error($lng['error_flood'] . ' ' . $flood . $lng['sec'] . ', <a href="../soo/?mod=forum&id=' . $id . '&start=' . $start . '">' . $lng['back'] . '</a>'); 66 require('../incfiles/end.php'); 67 exit;fun_copy_move.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 278 lines
96function copy_move_items($dir) { // copy/move file/dir 97 if(($GLOBALS["permissions"]&01)!=01) show_error($GLOBALS["error_msg"]["accessfunc"]); 98 119 // Get New Location & Names 120 if(!isset($GLOBALS['__POST']["confirm"]) || $GLOBALS['__POST']["confirm"]!="true") { 121 show_header(($action!="move"? 181 echo "<input type=\"submit\" value=\""; 182 echo ($action!="move"?$GLOBALS["messages"]["btncopy"]:$GLOBALS["messages"]["btnmove"]); 183 echo "\" onclick=\"javascript:Execute();\"></td>\n<td>"; 183 echo "\" onclick=\"javascript:Execute();\"></td>\n<td>"; 184 echo "<input type=\"button\" value=\"".$GLOBALS["messages"]["btncancel"]; 185 echo "\" onclick=\"javascript:location='".make_link("list",$dir,NULL); 192 // ALL OK? 193 if(!@$GLOBALS['nx_File']->file_exists(get_abs_dir($new_dir))) show_error(get_abs_dir($new_dir).": ".$GLOBALS["error_msg"]["targetexist"]); 194 if(!get_show_item($new_dir,"")) show_error($new_dir.": ".$GLOBALS["error_msg"]["accesstarget"]);ms-default-filters.php https://gitlab.com/VTTE/sitios-vtte | 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' );shortcodes.php https://gitlab.com/webkod3r/tripolis | 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/webkod3r/tripolis | PHP | 213 lines
1<?php 2 2 3global $wpcom_api_key, $akismet_api_host, $akismet_api_port; 4extras.php https://gitlab.com/WPTRT/doingitwrong | PHP | 203 lines
85function wrong_setup_author() { 86 global $wp_query; 87 112function my_password_form() { 113 global $post; 114 179 <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label> 180 <input id="<?php echo $this->get_field_id( 'title' ); ?>" class="widefat" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $title; ?>" /> 181 <label for="<?php echo $this->get_field_id( 'limit' ); ?>"><?php _e( 'Limit:' ); ?></label> 181 <label for="<?php echo $this->get_field_id( 'limit' ); ?>"><?php _e( 'Limit:' ); ?></label> 182 <input id="<?php echo $this->get_field_id( 'limit' ); ?>" class="widefat" name="<?php echo $this->get_field_name( 'limit' ); ?>" type="text" value="<?php echo $limit; ?>" /> 183 <label for="<?php echo $this->get_field_id( 'type' ); ?>"><?php _e( 'Type:' ); ?></label> 183 <label for="<?php echo $this->get_field_id( 'type' ); ?>"><?php _e( 'Type:' ); ?></label> 184 <select id="<?php echo $this->get_field_id( 'type' ); ?>" name="<?php echo $this->get_field_name( 'type' ); ?>"> 185 <?php foreach ( $types as $key => $typo ) {TargetTxtClassObject.py https://gitlab.com/envieidoc/Clover | Python | 190 lines
7# which accompanies this distribution. The full text of the license may be found at 8# http://opensource.org/licenses/bsd-license.php 9# 20from BuildToolError import * 21import GlobalData 22from Common.LongFilePathSupport import OpenLongFilePath as open 133 self.TargetTxtDictionary[Key] = Value 134 #elif Key not in GlobalData.gGlobalDefines: 135 # GlobalData.gGlobalDefines[Key] = ValueCoreSubscriber.php https://gitlab.com/mautic-master/mautic | PHP | 254 lines
1<?php 2/** 41 ['onKernelRequest', 0], 42 ['onKernelRequestAddGlobalJS', 0] 43 ], 103 */ 104 public function onKernelRequestAddGlobalJS(GetResponseEvent $event) 105 {default.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 249 lines
52 <div class="alert alert-no-items"> 53 <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> 54 </div> 134 ?> 135 <tr class="row<?php echo $i % 2; ?>" sortable-group-id="<?php echo $item->parent_id;?>" item-id="<?php echo $item->id?>" parents="<?php echo $parentsStr?>" level="<?php echo $item->level?>"> 136 <td class="order nowrap center hidden-phone"> 167 <?php if ($canEdit) : ?> 168 <a class="hasTooltip" href="<?php echo JRoute::_('index.php?option=com_menus&task=item.edit&id=' . (int) $item->id);?>" title="<?php echo JText::_('JACTION_EDIT'); ?>"> 169 <?php echo $this->escape($item->title); ?></a> 180 <?php elseif ($item->type == 'url' && $item->note) : ?> 181 <?php echo JText::sprintf('JGLOBAL_LIST_NOTE', $this->escape($item->note));?> 182 <?php endif; ?> 194 <?php elseif ($canChange) : ?> 195 <a href="<?php echo JRoute::_('index.php?option=com_menus&task=items.unsetDefault&cid[]=' . $item->id . '&' . JSession::getFormToken() . '=1'); ?>"> 196 <?php echo JHtml::_('image', 'mod_languages/' . $item->language_image . '.gif', $item->language_title, array('title' => JText::sprintf('COM_MENUS_GRID_UNSET_LANGUAGE', $item->language_title)), true); ?>join.html https://gitlab.com/victor.flores/prueba | HTML | 385 lines
31 editor = new $.fn.dataTable.Editor( { 32 ajax: "../php/join.php", 33 table: "#example", 53 ajax: { 54 url: "../php/join.php", 55 type: 'POST' 93 libraries <code>leftJoin()</code> method make working with joins on the server-side just as easy as on 94 the client-side - see the <a href="//editor.datatables.net/manual/php/joins">PHP join documentation</a> 95 for further information on the library options.</p> 162 editor = new $.fn.dataTable.Editor( { 163 ajax: "../php/join.php", 164 table: "#example", 184 ajax: { 185 url: "../php/join.php", 186 type: 'POST'