100+ results results for 'php dir repo:pipifuyj/global' (4219 ms)
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> 3 29<script type='text/javascript' src='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-presentation/js/gs-presentation.js?ver=3.0-RC1-15112'></script> 30<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost:8888/reservation-telephone-company/xmlrpc.php?rsd" /> 31<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost:8888/reservation-telephone-company/wp-includes/wlwmanifest.xml" /> 244 <div class="row-1-col-2-row-2"> 245 <a class="online-directory " href="online-directory"></a> 246 <a class="contact-us " href="contact-us"></a> 362<li class="page_item page-item-265"><a href="http://localhost:8888/reservation-telephone-company/legal-notice/" title="Legal Notice">Legal Notice</a></li> 363<li class="page_item page-item-11"><a href="http://localhost:8888/reservation-telephone-company/online-directory/" title="Online Directory">Online Directory</a></li> 364<li class="page_item page-item-280"><a href="http://localhost:8888/reservation-telephone-company/privacy-policy/" title="Privacy Policy">Privacy Policy</a></li>header.tmpl.php https://github.com/harriswong/ATutor.git | PHP | 237 lines
57 <link rel="alternate" type="application/rss+xml" title="<?php echo SITE_NAME; ?> - RSS 2.0" href="<?php echo $this->base_path; ?>get_rss.php?<?php echo $_SESSION['course_id']; ?>-2" /> 58 <link rel="alternate" type="application/rss+xml" title="<?php echo SITE_NAME; ?> - RSS 1.0" href="<?php echo $this->base_path; ?>get_rss.php?<?php echo $_SESSION['course_id']; ?>-1" /> 59 <?php endif; ?> 87 <?php if (get_num_new_messages()): ?> 88 <strong><a href="<?php echo $this->base_path; ?>inbox/index.php"><?php echo _AT('inbox'); ?> - <?php echo get_num_new_messages(); ?></a></strong> | 89 <?php else: ?> 102 <a href="<?php echo $this->base_path; ?>browse.php"><?php echo _AT('browse_courses'); ?></a> | 103 <a href="<?php echo $this->base_path; ?>login.php?course=<?php echo $_SESSION['course_id']; ?>"><?php echo _AT('login'); ?></a> | 104 <a href="<?php echo $this->base_path; ?>search.php"><?php echo _AT('search'); ?></a> | 219 <?php if ($this->sequence_links['resume']): ?> 220 <a style="color:white;" href="<?php echo $this->sequence_links['resume']['url']; ?>" accesskey="."><img src="<?php echo $this->img; ?>resume.gif" border="0" title="<?php echo _AT('resume').': '.$this->sequence_links['resume']['title']; ?> Alt+." alt="<?php echo $this->sequence_links['resume']['title']; ?> Alt+." class="img-size-ascdesc" /></a> 221 <?php else: 222 if ($this->sequence_links['previous']): ?> 223 <a href="<?php echo $this->sequence_links['previous']['url']; ?>" title="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," accesskey=","><img src="<?php echo $this->img; ?>previous.gif" border="0" alt="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," class="img-size-ascdesc" /></a> 224 <?php endif;TrustedMath.i18n.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 274 lines
1<?php 2/** 16 'trustedmath-permission-error' => 'Untrusted math is disabled on this wiki', 17 'trustedmath-path-error' => 'Error creating the math directory', 18 'trustedmath-convert-error' => 'Error creating math image. "$1" returned <tt><nowiki>$2</nowiki></tt>.', 46 'trustedmath-permission-error' => 'Neprovjereni matematski izrazi su onemogućeni na ovoj wiki', 47 'trustedmath-path-error' => 'Greška pri pravljenju matematskog direktorija', 48 'trustedmath-convert-error' => 'Greška pri pravljenju matematske slike. "$1" vratila <tt><nowiki>$2</nowiki></tt>.', 57 'trustedmath-permission-error' => "En aquest wiki s'han desactivat les matemàtiques no fiables", 58 'trustedmath-path-error' => 'Error en crear el directori math', 59 'trustedmath-convert-error' => 'Error en crear la imatge matemàtica. «$1» ha retornar <tt><nowiki>$2</nowiki></tt>.', 109 'trustedmath-permission-error' => 'As matemáticas non fiables están desactivadas neste wiki', 110 'trustedmath-path-error' => 'Erro ao crear o directorio de matemáticas', 111 'trustedmath-convert-error' => 'Erro ao crear a imaxe matemática. "$1" devolveu <tt><nowiki>$2</nowiki></tt>.', 142 'trustedmath-permission-error' => 'Le functionalitate mathematic non approbate es disactivate in iste wiki', 143 'trustedmath-path-error' => 'Error durante le creation del directorio "math"', 144 'trustedmath-convert-error' => 'Error durante le creation del imagine a mathematica. "$1" retornava <tt><nowiki>$2</nowiki></tt>.',InstallSchema.php https://gitlab.com/yousafsyed/easternglamor | PHP | 407 lines
1<?php 2/** 19 * {@inheritdoc} 20 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 21 */ 44 [], 45 'Widget code for template directive' 46 )->addColumn( 99 'length' => 255, 100 'comment' => 'Widget code for template directive' 101 ]arr.php https://gitlab.com/ken3/bluSky | PHP | 602 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 351 /** 352 * Recursive version of [array_map](http://php.net/array_map), applies one or more 353 * callbacks to all elements in an array, including sub-arrays. 403 * Merges one or more arrays recursively and preserves all keys. 404 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)! 405 *VarCloner.php https://gitlab.com/nzqadri/bejeep | PHP | 324 lines
1<?php 2 43 $stub = null; // Stub capturing the main properties of an original item value 44 // or null if the original value is used directly 45 $zval = array( // Main properties of the current value 95 } 96 // Create $stub when the original value $v can not be used directly 97 // If $v is a nested structure, put that structure in array $a 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 } 300 $obj = (object) array(); 301 self::$hashOffset = 16 - PHP_INT_SIZE; 302 self::$hashMask = -1;MaildirFolderTest.php https://github.com/MarcelloDuarte/zf2.git | PHP | 444 lines
82 foreach (array('cur', 'new') as $subdir) { 83 if (!file_exists($this->_originalDir . $dir . '/' . $subdir)) { 84 continue; 86 mkdir($this->_tmpdir . $dir . '/' . $subdir); 87 $dh = opendir($this->_originalDir . $dir . '/' . $subdir); 88 while (($entry = readdir($dh)) !== false) { 106 } 107 $dh = opendir($this->_tmpdir . $dir . '/' . $subdir); 108 while (($entry = readdir($dh)) !== false) { 115 closedir($dh); 116 rmdir($this->_tmpdir . $dir . '/' . $subdir); 117 } 118 if ($dir != '.') { 119 rmdir($this->_tmpdir . $dir); 120 }bltGrHairs.c https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git.git | C | 544 lines
20 * fitness. In no event shall Lucent Technologies be liable for any 21 * special, indirect or consequential damages or any damages 22 * whatsoever resulting from loss of use, data or profits, whether in 149 } 150 XDrawSegments(graphPtr->display, Tk_WindowId(graphPtr->tkwin), 151 chPtr->gc, chPtr->segArr, 2); 234 if (!graphPtr->crosshairs->hidden) { 235 TurnOnHairs(graphPtr, graphPtr->crosshairs); 236 } 243 if (!graphPtr->crosshairs->hidden) { 244 TurnOffHairs(graphPtr->tkwin, graphPtr->crosshairs); 245 } 325 326 if (Blt_ConfigureWidgetComponent(graphPtr->interp, graphPtr->tkwin, 327 "crosshairs", "Crosshairs", configSpecs, 0, (char **)NULL,ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
1<?php 2 36 37require_once 'CRM/Core/Form.php'; 38require_once 'CRM/Core/PseudoConstant.php'; 38require_once 'CRM/Core/PseudoConstant.php'; 39require_once 'CRM/Contribute/PseudoConstant.php'; 40 115 // set up tabs 116 require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php'; 117 CRM_Contribute_Form_ContributionPage_TabHeader::build( $this ); 208 { 209 //some child classes calling setdefaults directly w/o preprocess. 210 $this->_values = $this->get( 'values' ); 224 //set defaults for pledgeBlock values. 225 require_once 'CRM/Pledge/BAO/PledgeBlock.php'; 226 $pledgeBlockParams = array( 'entity_id' => $this->_id,admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 2 3require_once(APPPATH.'controllers/project.php'); 4 21 if( $this->laststate !== "admin_review" && $match !== false ){ 22 $this->redirect_to_state_url($this->laststate, $url); 23 } 139 if( $sendreview ) { 140 redirect("admin_review/".$this->input->post("projurl"), "refresh"); 141 } 314 315 redirect('karya_tulis/'.$this->input->post( "project_url" ), "refresh"); 316 429 430 redirect($this->input->post("project_url")); 431Location.js https://github.com/stephaneerard/qooxdoo.git | JavaScript | 406 lines
11 LGPL: http://www.gnu.org/licenses/lgpl.html 12 EPL: http://www.eclipse.org/org/documents/epl-v10.php 13 See the LICENSE file in the project's top-level directory for details.resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
1<?php 2/** 32$_lang['resource_cacheable_help'] = 'Bila diaktifkan, sumber daya yang akan disimpan ke cache.'; 33$_lang['resource_cancel_dirty_confirm'] = 'Anda memiliki perubahan tertunda; Apakah Anda yakin mau membatalkan?'; 34$_lang['resource_class_key_help'] = 'Ini adalah kunci kelas sumber daya, menampilkan jenis MODX.'; 62$_lang['resource_err_duplicate'] = 'Terjadi kesalahan saat duplikasi sumber.'; 63$_lang['resource_err_move_to_child'] = 'Anda tidak dapat memindahkan sumber daya untuk di bawah salah satu dari anak-anaknya sendiri.'; 64$_lang['resource_err_move_sitestart'] = 'Sumber daya yang dihubungkan ke variabel site_start dan tidak dapat dipindahkan ke konteks lain!'; 67$_lang['resource_err_ns'] = 'Sumber daya yang tidak ditentukan.'; 68$_lang['resource_err_own_parent'] = 'Sumber daya yang tidak dapat induknya sendiri.'; 69$_lang['resource_err_publish'] = 'Terjadi kesalahan saat mencoba untuk menerbitkan sumber.';File.php https://github.com/Riges/KawaiViewModel.git | PHP | 468 lines
25 */ 26require_once 'Zend/CodeGenerator/Php/Abstract.php'; 27 86 if ($fileName == '') { 87 require_once 'Zend/CodeGenerator/Php/Exception.php'; 88 throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.'); 209 require_once 'Zend/CodeGenerator/Php/Exception.php'; 210 throw new Zend_CodeGenerator_Php_Exception('setDocblock() is expecting either a string, array or an instance of Zend_CodeGenerator_Php_Docblock'); 211 } 293 require_once 'Zend/CodeGenerator/Php/Exception.php'; 294 throw new Zend_CodeGenerator_Php_Exception('Expecting either an array or an instance of Zend_CodeGenerator_Php_Class'); 295 } 460 if ($this->_filename == '' || !is_writable(dirname($this->_filename))) { 461 require_once 'Zend/CodeGenerator/Php/Exception.php'; 462 throw new Zend_CodeGenerator_Php_Exception('This code generator object is not writable.');lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
1<?php 2 34 ], 35 'directory' => [ 36 'create_fail' => "Kunde inte skapa mapp: :name", 141 'sender_email' => 'Avsändarens e-postadress', 142 'php_mail' => 'PHP mail', 143 'smtp' => 'SMTP', 300 'menu_label' => 'Förfrågningslogg', 301 'menu_description' => 'Visa otillåtna eller omdirigerade förfrågningar, så som Sidan kunde inte hittas (404).', 302 'empty_link' => 'Töm förfrågningsloggen',about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
16 Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available 17 at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>. 18 For purposes of the EPL, "Program" will mean the Content.</p> 19 20 <p>If you did not receive this Content directly from the Eclipse Foundation, the Content is 21 being redistributed by another party ("Redistributor") and different terms and conditions may 28 <p>The Content includes items that have been sourced from third parties as set out below. If you 29 did not receive this Content directly from the Eclipse Foundation, the following is provided 30 for informational purposes only, and you should look to the Redistributor's license for 90 control with that entity. For the purposes of this definition, 91 "control" means (i) the power, direct or indirect, to cause the 92 direction or management of such entity, whether by contract or 250 negligent acts) or agreed to in writing, shall any Contributor be 251 liable to You for damages, including any direct, indirect, special, 252 incidental, or consequential damages of any character arising as acore.php https://bitbucket.org/daveschwan/ronin-group.git | PHP | 385 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @package app.Config 30 * 31 * In production mode, flash messages redirect after a time interval. 32 * In development mode, you need to click the flash message to continue. 100 * To work around this issue you should either symlink or copy 101 * the plugin assets into you app's webroot directory. This is 102 * recommended even when you are using mod_rewrite. Handling static 205 * 206 * - 'php' - Uses settings defined in your php.ini. 207 * - 'cake' - Saves session files in CakePHP's /tmp directory.auth_tkt.py https://bitbucket.org/eaviles/gobierno.git | Python | 380 lines
1# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org) 2# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php 3########################################################################## 70 print 71 ... redirect HTML ... 72 78 79 Be careful not to do an HTTP redirect after login; use meta 80 refresh or Javascript -- some browsers have bugs where cookies 80 refresh or Javascript -- some browsers have bugs where cookies 81 aren't saved when set on a redirect. 82 """ClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
32 * the autoloader will first look for the class under the component/ 33 * directory, and it will then fallback to the framework/ directory if not 34 * found before giving up. 65 { 66 $this->vendorDir = $vendorDir; 67 } 418 $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); 419 foreach ($this->prefixDirsPsr4[$search] as $dir) { 420 if (file_exists($file = $dir . $pathEnd)) { 428 // PSR-4 fallback dirs 429 foreach ($this->fallbackDirsPsr4 as $dir) { 430 if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { 458 foreach ($this->fallbackDirsPsr0 as $dir) { 459 if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { 460 return $file;bp-loader.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 487 lines
261 // '/plugins/bp-custom.php' and it will be loaded before anything else. 262 if ( file_exists( WP_PLUGIN_DIR . '/bp-custom.php' ) ) 263 require( WP_PLUGIN_DIR . '/bp-custom.php' ); 354 // Load the WP abstraction file so BuddyPress can run on all WordPress setups. 355 require( BP_PLUGIN_DIR . '/bp-core/bp-core-wpabstraction.php' ); 356 392 if ( !empty( $this->maintenance_mode ) ) { 393 require( $this->plugin_dir . 'bp-core/bp-core-admin.php' ); 394 require( $this->plugin_dir . 'bp-core/bp-core-functions.php' ); 421 require( $this->plugin_dir . 'bp-core/bp-core-classes.php' ); 422 require( $this->plugin_dir . 'bp-core/bp-core-filters.php' ); 423 require( $this->plugin_dir . 'bp-core/bp-core-avatars.php' ); 479 // Setup the BuddyPress theme directory 480 register_theme_directory( $this->themes_dir ); 481 }ps_perm.php https://github.com/Shigaru/shigaru.git | PHP | 461 lines
1<?php 2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 4* 5* @version $Id: ps_perm.php 1818 2009-06-23 19:07:21Z soeren_nb $ 6* @package VirtueMart 8* @copyright Copyright (C) 2004-2009 soeren - All rights reserved. 9* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php 10* VirtueMart is free software. This version may have been modified pursuant 13* other free or open source software licenses. 14* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details. 15* 240 if( $size==1 ) { 241 $values[0] = $VM_LANG->_('PHPSHOP_SELECT'); 242 } 449// Thomas Kahl - Feb. 2009 450if (!defined('VM_ALLOW_EXTENDED_CLASSES') && file_exists(dirname(__FILE__).'/../virtuemart.cfg.php')) { 451 include_once(dirname(__FILE__).'/../virtuemart.cfg.php');UpgradeComponentGroup.php https://github.com/orchestra-io/sample-openx.git | PHP | 320 lines
1<?php 2 24+---------------------------------------------------------------------------+ 25$Id: UpgradeComponentGroup.php 30820 2009-01-13 19:02:17Z andrew.hill $ 26*/ 34 35require_once MAX_PATH.'/lib/OA/Upgrade/Upgrade.php'; 36 60 /*$this->nobackupsFile = MAX_PATH.$pluginPath.'NOBACKUPS'; 61 $this->postTaskFile = MAX_PATH.$pluginPath.'TASKS.php';*/ 62 65 { 66 @mkdir(MAX_PATH.'/var/plugins/log'); 67 }WizardController.php https://github.com/pixel-cookers/magento_bootstrap.git | PHP | 464 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) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 35 $this->setFlag('', self::FLAG_NO_DISPATCH, true); 36 $this->_redirect('/'); 37 return; 88 if ($this->_getInstaller()->isApplicationInstalled()) { 89 $this->getResponse()->setRedirect(Mage::getBaseUrl())->sendResponse(); 90 exit; 131 if ($agree && $step = $this->_getWizard()->getStepByName('begin')) { 132 $this->getResponse()->setRedirect($step->getNextUrl()); 133 }edit.php https://github.com/thisduck/wordpress.git | PHP | 294 lines
18if ( $_redirect = intval( max( @$_REQUEST['p'], @$_REQUEST['attachment_id'], @$_REQUEST['page_id'] ) ) ) { 19 wp_redirect( admin_url('edit-comments.php?p=' . $_redirect ) ); 20 exit; 40 } else { 41 wp_redirect( admin_url("edit.php?post_type=$post_type") ); 42 } 107} elseif ( ! empty($_REQUEST['_wp_http_referer']) ) { 108 wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']) ) ); 109 exit; 163<?php screen_icon(); ?> 164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php 165if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) 170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?> 171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div> 172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
1<?php 2/** 121 $categoryModel->setState('list.ordering', 'a.name'); 122 $categoryModel->setState('list.direction', 'asc'); 123 $categoryModel->setState('filter.published', 1);lang.php https://gitlab.com/michield/dokuwiki | PHP | 188 lines
1<?php 2/** 43$lang['lang'] = 'Nyelv'; 44$lang['basedir'] = 'Báziskönyvtár'; 45$lang['baseurl'] = 'Alap URL'; 45$lang['baseurl'] = 'Alap URL'; 46$lang['savedir'] = 'Könyvtár az adatok mentésére'; 47$lang['start'] = 'Kezdőoldal neve'; 56$lang['htmlok'] = 'Beágyazott HTML engedélyezése'; 57$lang['phpok'] = 'Beágyazott PHP engedélyezése'; 58$lang['dformat'] = 'Dátum formázás (lásd a PHP <a href="http://www.php.net/strftime">strftime</a> függvényt)'; 102$lang['locktime'] = 'Oldal-zárolás maximális időtartama (másodperc)'; 103$lang['fetchsize'] = 'Maximális méret (bájtban), amit a fetch.php letölthet kívülről'; 104$lang['notify'] = 'Az oldal-változásokat erre az e-mail címre küldje'; 117$lang['sitemap'] = 'Hány naponként generáljunk Google sitemap-ot?'; 118$lang['broken_iua'] = 'Az ignore_user_abort függvény hibát dob a rendszereden? Ez nem működő keresési indexet eredményezhet. Az IIS+PHP/CGI összeállításról tudjuk, hogy hibát dob. Lásd a <a href="http://bugs.splitbrain.org/?do=details&task_id=852">Bug 852</a> oldalt a további infóért.'; 119$lang['xsendfile'] = 'Használjuk az X-Sendfile fejlécet, hogy a webszerver statikus állományokat tudjon küldeni? A webszervernek is támogatnia kell ezt a funkciót.';menu.php https://github.com/Manuite/FUEL-CMS.git | PHP | 438 lines
6 7<pre class="brush: php">$this->load->library('menu');</pre> 8 10 11<pre class="brush: php">$this->load->library('menu', array('active_class'=>'on', 'render_type' => 'collapsible'));</pre> 12 186 <td>asc,desc</td> 187 <td>The direction the page title should build</td> 188 </tr> 208<p>Below is an common example:</p> 209<pre class="brush: php"> 210$nav = array(); 231 232<pre class="brush: php"> 233$nav = array();IndexController.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 390 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) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 55 * Admin area entry point 56 * Always redirects to the startup page url 57 */ 62 if ($session->isFirstPageAfterLogin()) { 63 // retain the "first page after login" value in session (before redirect) 64 $session->setIsFirstPageAfterLogin(true); 65 } 66 $this->_redirect($url); 67 }hostkreskoweczki.py https://gitlab.com/nunigaia/iptvplayer-for-e2 | Python | 318 lines
6from Plugins.Extensions.IPTVPlayer.components.ihost import CHostBase, CBaseHostClass, CDisplayListItem, RetHost, CUrlItem, ArticleContent 7from Plugins.Extensions.IPTVPlayer.tools.iptvtools import printDBG, printExc, CSearchHistoryHelper, GetDefaultLang, remove_html_markup, GetLogoDir, GetCookieDir, byteify 8from Plugins.Extensions.IPTVPlayer.libs.pCommon import common, CParsingHelper 60 self.MAIN_URL = 'http://www.kreskoweczki.pl/' 61 self.SEARCH_URL = self.MAIN_URL + 'search.php?keywords=' 62 self.DEFAULT_ICON = "http://www.kreskoweczki.pl/uploads/custom-logo.png" 85 params.update({'category':category, 'title':title, 'url':url}) 86 self.addDir(params) 87 142 params.update({'desc':self.cleanHtmlStr(item.replace('</b>', '[/br]'))}) 143 self.addDir(params) 144 147 params.update({'title':_('Next page'), 'page':page+1}) 148 self.addDir(params) 149ee374469f3039f2afc01916b1c6255a7d0864358.file.view-registration.tpl.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 260 lines
146 <select name="vLanguageCode" id="vLanguageCode" class="form-input-select form-re-selec"> 147 <option value="EN" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='EN'){?> selected <?php }?>><?php echo @LBL_ENGLISH;?> 148</option> 148</option> 149 <option value="DN" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='DN'){?> selected <?php }?>><?php echo @LBL_DANISH;?> 150</option> 156</option> 157 <option value="EE" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='EE'){?> selected <?php }?>><?php echo @LBL_ESTONIAN;?> 158</option> 164</option> 165 <option value="PO" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='PO'){?> selected <?php }?>><?php echo @LBL_POLISH;?> 166</option> 168</option> 169 <option value="ES" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='ES'){?> selected <?php }?>><?php echo @LBL_SPANISH;?> 170</option>sbhnddma.h https://github.com/Entropy512/linux_kernel_sgh-i997r.git | C Header | 343 lines
9 * under the terms of the GNU General Public License version 2 (the "GPL"), 10 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 11 * following added to such license: 114#define RC_RO_SHIFT 1 115#define RC_FM ((uint32)1 << 8) /* direct fifo receive (pio) mode */ 116#define RC_SH ((uint32)1 << 9) /* separate rx header descriptor enable */ 261#define D64_RC_RO_SHIFT 1 262#define D64_RC_FM 0x00000100 /* direct fifo receive (pio) mode */ 263#define D64_RC_SH 0x00000200 /* separate rx header descriptor enable */Files.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 311 lines
1<?php 2/* 204 * Supported groupings are: 'user' (files created by, opened by, or shared 205 * directly with the user), 'drive' (files in the specified shared drive as 206 * indicated by the 'driveId'), 'domain' (files shared to the user's domain),class-cp-user-relationships.php https://gitlab.com/clusterpress/clusterpress | PHP | 543 lines
1<?php 2/** 10 11// Exit if accessed directly. 12defined( 'ABSPATH' ) || exit;Configuration.php https://github.com/sellingsource/symfony.git | PHP | 362 lines
1<?php 2 120 ->booleanNode('only_master_requests')->defaultFalse()->end() 121 ->scalarNode('dsn')->defaultValue('file:%kernel.cache_dir%/profiler')->end() 122 ->scalarNode('username')->defaultValue('')->end() 354 ->scalarNode('cache')->defaultValue('file')->end() 355 ->scalarNode('file_cache_dir')->defaultValue('%kernel.cache_dir%/annotations')->end() 356 ->booleanNode('debug')->defaultValue($this->debug)->end()permissions.inc.php https://github.com/martinf55/revolution.git | PHP | 193 lines
1<?php 2/** 44$_lang['perm.delete_user_desc'] = 'Benutzer löschen oder entfernen.'; 45$_lang['perm.directory_chmod_desc'] = 'Verzeichnisrechte eines Verzeichnisses ändern (CHMOD).'; 46$_lang['perm.directory_create_desc'] = 'Verzeichnisse anlegen.'; 46$_lang['perm.directory_create_desc'] = 'Verzeichnisse anlegen.'; 47$_lang['perm.directory_list_desc'] = 'Liste der Unterverzeichnisse eines Verzeichnisses anzeigen.'; 48$_lang['perm.directory_remove_desc'] = 'Verzeichnisse löschen.'; 48$_lang['perm.directory_remove_desc'] = 'Verzeichnisse löschen.'; 49$_lang['perm.directory_update_desc'] = 'Verzeichnisse umbenennen.'; 50$_lang['perm.edit_category_desc'] = 'Kategorien bearbeiten.'; // any: beliebige? (auch bei den anderen so aufgebauten Begriffen)facebook.php https://github.com/copongcopong/CakePHP-Facebook-Plugin.git | PHP | 425 lines
20 */ 21 var $__fbShareScript = 'http://static.ak.fbcdn.net/connect.php/js/FB.Share'; 22 81 * - confirm string Alert dialog which will be visible if user clicks on the button/link 82 * - custom used to create custom link instead of standart fbml. if redirect option is set this one is not required. 83 * @return string XFBML tag for logout button 95 if(isset($options['redirect']) || $options['custom']){ 96 if(isset($options['redirect']) && $options['redirect']){ 97 $options['redirect'] = Router::url($options['redirect']); 97 $options['redirect'] = Router::url($options['redirect']); 98 $response = "window.location = '{$options['redirect']}'"; 99 } else { 129 ); 130 if(isset($options['redirect']) && $options['redirect']){ 131 $options['redirect'] = Router::url($options['redirect']);user.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
1<?php 2/** 91$_lang['user_err_not_specified_email'] = 'Please specify a valid email address.'; 92$_lang['user_err_not_specified_fileman_path'] = 'The directory you have specified either:<br />1) Does not exist.<br />2) Does not have read permissions.<br />3) Is not a directory.'; 93$_lang['user_err_not_specified_manageraccess'] = 'Please specify whether or not the user should have manager access.'; 99$_lang['user_err_not_specified_phonenumber'] = 'Please specify a valid phone number. (If in US, please specify area code.)'; 100$_lang['user_err_not_specified_resourcedir'] = 'The directory you\'ve specified is not a valid directory.'; 101$_lang['user_err_not_specified_resource_baseurl'] = 'Please specify a valid resource URL.'; 110$_lang['user_err_remove'] = 'An error occurred while trying to remove the user.'; 111$_lang['user_err_resource_subdirectory'] = 'The directory you\'ve specified does not contain the %s directories.'; 112$_lang['user_err_save'] = 'An error occurred while saving the user.';Move.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 364 lines
9// | This LICENSE is in the BSD license style. | 10// | http://www.opensource.org/licenses/bsd-license.php | 11// | | 31// | FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | 32// | COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | 33// | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | 43// 44// $Id: Move.php 12 2007-09-17 20:20:11Z killersoft $ 45// 97 * // treat value as being in charset encoding ARG 98 * 'config-dir' => 'Path to a Subversion configuration directory' 99 * ); 112 * <code> 113 * <?php 114 * require_once 'VersionControl/SVN.php';EditView.php https://github.com/joshbhamilton/sugar.git | PHP | 349 lines
106}else{ 107 $params[] = "<a href='index.php?module={$focus->module_dir}&action=DetailView&record={$focus->id}'>{$focus->name}</a>"; 108 $params[] = $GLOBALS['app_strings']['LBL_EDIT_BUTTON_LABEL']; 110 111echo getClassicModuleTitle($focus->module_dir, $params, true); 112 166//Assign qsd script 167require_once('include/QuickSearchDefaults.php'); 168$qsd = new QuickSearchDefaults(); 175 176if(!is_file($GLOBALS['sugar_config']['cache_dir'] . 'jsLanguage/' . $GLOBALS['current_language'] . '.js')) { 177 require_once('include/language/jsLanguage.php'); 179} 180$jsLang = '<script type="text/javascript" src="' . $GLOBALS['sugar_config']['cache_dir'] . 'jsLanguage/' . $GLOBALS['current_language'] . '.js?s=' . $GLOBALS['sugar_version'] . '&c=' . $GLOBALS['sugar_config']['js_custom_version'] . '&j=' . $GLOBALS['sugar_config']['js_lang_version'] . '"></script>'; 181$xtpl->assign("JSLANG", $jsLang);lang.php https://github.com/frbayart/dokuwiki-wordpress-phpBB.git | PHP | 186 lines
1<?php 2/** 40$lang['lang'] = 'Idioma'; 41$lang['basedir'] = 'Pasta Base'; 42$lang['baseurl'] = 'URL Base'; 42$lang['baseurl'] = 'URL Base'; 43$lang['savedir'] = 'Pasta para guardar dados'; 44$lang['start'] = 'Nome da Página Inicial'; 53$lang['htmlok'] = 'Permitir embeber HTML'; 54$lang['phpok'] = 'Permitir embeber PHP'; 55$lang['dformat'] = 'Formato de Data (ver função PHP\'s <a href="http://www.php.net/strftime">strftime</a>)'; 101$lang['locktime'] = 'Idade máxima para locks (seg.)'; 102$lang['fetchsize'] = 'Tamanho máximo (bytes) que o fetch.php pode transferir do exterior'; 103$lang['notify'] = 'Enviar notificações de mudanças para este endereço de email'; 185$lang['useheading_o_1'] = 'Sempre'; 186$lang['readdircache'] = 'Idade máxima para a cache de "readdir" (seg)'; 187admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 268 269 // Redirect back to the form or main page 270 $this->input->post('btnAction') == 'save_exit' 270 $this->input->post('btnAction') == 'save_exit' 271 ? redirect('admin/pages') 272 : redirect('admin/pages/edit/'.$id); 321 { 322 $id OR redirect('admin/pages'); 323 334 $this->session->set_flashdata('error', lang('pages_page_not_found_error')); 335 redirect('admin/pages/create'); 336 } 374 375 // Set the flashdata message and redirect the user 376 $link = anchor('admin/pages/preview/'.$id, $this->input->post('title'), 'class="modal-large"');Index.php https://gitlab.com/tonycodes/october | PHP | 458 lines
1<?php namespace Cms\Controllers; 2 131 'templateType' => $type, 132 'templateTheme' => $this->theme->getDirName(), 133 'templateMtime' => $template->mtime 219 'templateType' => $type, 220 'templateTheme' => $this->theme->getDirName(), 221 'templateMtime' => null 321 { 322 if ($this->theme->getDirName() != Request::input('theme')) { 323 throw new ApplicationException(trans('cms::lang.theme.edit.not_match'));zone.php https://bitbucket.org/sandeepbhaskar/inspiredliving.git | PHP | 441 lines
1<?php 2class ControllerLocalisationZone extends Controller { 40 41 $this->redirect($this->url->link('localisation/zone', 'token=' . $this->session->data['token'] . $url, 'SSL')); 42 } 72 73 $this->redirect($this->url->link('localisation/zone', 'token=' . $this->session->data['token'] . $url, 'SSL')); 74 } 106 107 $this->redirect($this->url->link('localisation/zone', 'token=' . $this->session->data['token'] . $url, 'SSL')); 108 }Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
1<?php 2 35 36require_once 'CRM/Contact/Page/View.php'; 37 94 { 95 require_once 'CRM/Contribute/BAO/Contribution.php'; 96 190 if ( $mode == 'test' || $mode == 'live' ) { 191 CRM_Utils_System::redirectToSSL( ); 192 }date.php https://github.com/chemila/kohana.git | PHP | 566 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 28 * Timezone for formatted_time 29 * @link http://uk2.php.net/manual/en/timezones.php 30 * @var string 39 * 40 * [!!] A list of time zones that PHP supports can be found at 41 * <http://php.net/timezones>. 496 * this is needed, but some binary formats use it (eg: zip files.) 497 * Converting the other direction is done using {@link Date::dos2unix}. 498 * 524 * this is needed, but some binary formats use it (eg: zip files.) 525 * Converting the other direction is done using {@link Date::unix2dos}. 526 * 548 * 549 * @see http://php.net/manual/en/datetime.construct.php 550 * @param string datetime_str datetime stringTrustRoot.php https://github.com/kbjr/EasyOpenID.git | PHP | 461 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 14 15require_once OPENID_DIRECTORY.'Auth/OpenID/Discover.php'; 16 405 406 list($rp_url_after_redirects, $endpoints) = 407 Auth_Yadis_getServiceEndpoints($relying_party_url, $xrds_parse_cb, 409 410 if ($rp_url_after_redirects != $relying_party_url) { 411 // Verification caused a redirect 431 * This function builds a discovery URL, performs Yadis discovery on 432 * it, makes sure that the URL does not redirect, parses out the 433 * return_to URLs, and finally checks to see if the current return_toroute.php https://github.com/ymtn/core.git | PHP | 589 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 288 * The $uri parameter can either be a string for basic regex matching or it 289 * can be a valid callback or anonymous function (php 5.3+). If you use a 290 * callback or anonymous function, your method should return an arrayLayout.php https://github.com/nationalfield/symfony.git | PHP | 490 lines
1<?php 2/* 8 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 9 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 10 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 * @subpackage Pager 28 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 29 * @version $Revision$transformation.php https://github.com/xc/zetacomponents.git | PHP | 417 lines
1<?php 2/** 225 // Start atomic file operation 226 $fileTmp = tempnam( dirname( $fileOut ) . DIRECTORY_SEPARATOR, '.'. basename( $fileOut ) ); 227 copy( $fileIn, $fileTmp );install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
5 6define( 'ABS_PATH', dirname(dirname(dirname(__FILE__))) . '/' ); 7define( 'LIB_PATH', ABS_PATH . 'oc-includes/'); 10require_once LIB_PATH . 'osclass/db.php'; 11require_once LIB_PATH . 'osclass/classes/DAO.php'; 12require_once LIB_PATH . 'osclass/helpers/hDatabaseInfo.php'; 14require_once LIB_PATH . 'osclass/formatting.php'; 15require_once LIB_PATH . 'osclass/compatibility.php'; 16require_once LIB_PATH . 'osclass/utils.php'; 96 try{ 97 require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ; 98 $mail = new PHPMailer(true) ; 403 404 require_once ABS_PATH . 'oc-includes/osclass/model/Country.php'; 405 require_once ABS_PATH . 'oc-includes/osclass/model/Region.php';class-inl.h https://gitlab.com/0072016/0072016-PHP.LLC | C Header | 522 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 16 17#ifndef incl_HPHP_VM_CLASS_INL_H_ 18#error "class-inl.h should only be included by class.h"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(); 127 echo "Copying $item from $source_dir to $dest_dir\n"; 128 copy($source_dir . DIRECTORY_SEPARATOR . $item, $dest_dir . DIRECTORY_SEPARATOR . $item); 129 if ($is_debug) { 210/* the core dll */ 211copy("$build_dir/php.exe", "$dist_dir/php.exe"); 212copy("$build_dir/$phpdll", "$dist_dir/$phpdll"); 215$phplib = str_replace(".dll", ".lib", $phpdll); 216copy("$build_dir/$phplib", "$dist_dir/dev/$phplib"); 217/* debug builds; copy the symbols too */ 219 $phppdb = str_replace(".dll", ".pdb", $phpdll); 220 copy("$build_dir/$phppdb", "$dist_dir/dev/$phppdb"); 221}PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
12__author__ = "Jens Diemer (www.jensdiemer.de)" 13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php" 14__url__ = "http://www.jensdiemer.de/Programmieren/Python/PyDown" 99 "upload_bufsize" : 8192, 100 "upload_dir" : "uploads", 101 # Soll nach dem Upload eine eMail verschickt werden?display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
49 <li> 50 <a href='?page=wpsc-debug&wpsc_debug_action=phpinfo'>Display phpinfo</a> 51 </li> 52 <li> 53 <a href='<?php echo $fixpage; ?>'>Fix Purchaselogs</a> 54 </li> 182 $new_theme_path = WPSC_THEMES_PATH; 183 $new_dir = @opendir($new_theme_path); 184 $num = 0; 185 $file_names = array(); 186 while(($file = @readdir($new_dir)) !== false) { 187 if(is_dir($new_theme_path.$file) && ($file != "..") && ($file != ".")){ 192 $old_dir = @opendir($old_theme_path); 193 while(($file = @readdir($old_dir)) !== false) { 194 if(is_dir($old_theme_path.$file) && ($file != "..") && ($file != ".")){langimport.php https://github.com/dhamma-dev/SEA.git | PHP | 387 lines
30 31require_once(dirname(dirname(__FILE__)).'/config.php'); 32require_once($CFG->libdir.'/adminlib.php'); 32require_once($CFG->libdir.'/adminlib.php'); 33require_once($CFG->libdir.'/filelib.php'); 34require_once($CFG->libdir.'/componentlib.class.php'); 35 36$thisversion = '2.0'; // TODO this information should be taken from version.php or similar source 37 130 if (file_exists($dest2)){ 131 $rm2 = remove_dir($dest2); 132 } 162 163 if (file_exists($dest1.'/langconfig.php') || file_exists($dest2.'/langconfig.php')){ 164 $updateablelangs[] = $clang;plugin.php https://github.com/colchambers/moodle.git | PHP | 352 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 55 global $CFG; 56 require_once($CFG->libdir . '/filelib.php'); 57 201 global $CFG; 202 require_once($CFG->libdir . '/filelib.php'); 203 if ($this->extensions === null) { 263 $this->language = current_language(); 264 $basedir = $CFG->dirroot . '/media/player/videojs/videojs/lang/'; 265 $langfiles = get_directory_list($basedir); 273 // Found an exact match for the language. 274 $js = file_get_contents($basedir . $langfile); 275 break; 284 $this->language = key($candidates); 285 $js = file_get_contents($basedir . $candidates[$this->language]); 286 }functions.inc.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 346 lines
1<?php 2 22 ), 23 'direccion' => array( 24 'filter' => FILTER_VALIDATE_REGEXP, 318 if ($passwd != $passwd2) { 319 return $errorpassw = "Los password deben coincidir"; 320 }index.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 305 lines
89<br> 90<span class="element"><a href="http://jasperforge.org/scm/viewvc.php/tags/jr-3-7-4/jasperreports/demo/samples/xlsdatasource/?root=jasperreports" target="_blank">Browse Sample Source Files on SVN</a></span> 91<table cellspacing="0" cellpadding="0" border="0" width="100%"> 283In order to figure out more on XLS data sources, just test this sample by running from the command line the <code>ant test view</code> command. 284It will generate all supported document types containing the sample report in the /build/reports directory, and then the report will be open with JasperReports internal viewer. 285 </span></td>multiple-featured-images.php https://gitlab.com/webkod3r/tripolis | PHP | 374 lines
1<?php 2/* 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( 94 'kd-multiple-featured-images', 95 get_template_directory_uri().'/framework/plugins/multiple-featured-images/js/kd-admin.js', 96 'jquery' 373 374// Omit closing PHP tag to avoid "Headers already sent" issues. 375readme.md https://gitlab.com/buitenzorg812/garapic.cms | Markdown | 217 lines
113 114Models and libraries can also be loaded from sub-directories in their respective application directories. 115 1597. Create module directory structure application/modules/welcome/controllers 1608. Move controller application/controllers/welcome.php to application/modules/welcome/controllers/welcome.php 1619. Access the URL /index.php/welcome => shows Welcome to CodeIgniter 16210. Create directory application/modules/welcome/views 16311. Move view application/views/welcome_message.php to application/modules/welcome/views/welcome_message.php 16412. Access the URL /index.php/welcome => shows Welcome to CodeIgniter 175-Steps 6-8 show MX working alongside CI - controller moved to the “welcome” module, the view file remains 176in the CI application/views directory - MX can find module resources in several places, including the application directory. 177 2061. No need to get and use the CI instance within an HMVC class 2072. HMVC classes are stored in a modules directory as opposed to the libraries directory. 208test.php https://github.com/md-tech/openemr.git | PHP | 422 lines
1<?php 2$debug=1; 2$debug=1; 3require_once("gacl_admin.inc.php"); 4 146/* 147//require_once('../Cache_Lite.php'); 148require_once('./profiler.inc'); 152 'caching' => true, 153 'cacheDir' => '/tmp/phpgacl_cache', 154 'lifeTime' => 100Graph.php https://github.com/studioskylab/Docblox.git | PHP | 259 lines
1<?php 2/** 4 * 5 * PHP Version 5 6 * 11 * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com) 12 * @license http://www.opensource.org/licenses/mit-license.php MIT 13 * @link http://docblox-project.org 24 * @author Mike van Riel <mike.vanriel@naenius.com> 25 * @license http://www.opensource.org/licenses/mit-license.php MIT 26 * @link http://docblox-project.org 108 ->setFontSize('11') 109 ->setRankDir('LR'); 110 127 if (!isset($this->class_paths[$sub_element->getElementsByTagName('full_name')->item(0)->nodeValue])) { 128 echo $sub_element->getElementsByTagName('full_name')->item(0)->nodeValue.PHP_EOL; 129 } else {ajax.function.php https://github.com/ardowz/Thesis-SideB.git | PHP | 302 lines
1<?php 2/* 2/* 3 * @version $Id: ajax.function.php 14684 2011-06-11 06:32:40Z remi $ 4 ------------------------------------------------------------------------- 34 * @param $use_ajax Use ajax search system (if not display a standard dropdown) 35 * @param $relativeurl Relative URL to the root directory of GLPI 36 * @param $params Parameters to send to ajax URLValidationStatistics_body.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 307 lines
1<?php 2 131 htmlspecialchars( $wgLang->formatnum( $reviewed ) . 132 $wgContLang->getDirMark() ) . " <i>$percRev</i> 133 </td> 135 htmlspecialchars( $wgLang->formatnum( $synced ) . 136 $wgContLang->getDirMark() ) . " <i>$percLatest</i> 137 </td> 187 global $wgPhpCli; 188 $ext = !empty( $wgPhpCli ) ? $wgPhpCli : 'php'; 189 $path = wfEscapeShellArg( dirname( __FILE__ ) . '/../maintenance/updateStats.php' );bcm_umi_nand.c https://github.com/wujiangthu/linux.git | C | 579 lines
6* under the terms of the GNU General Public License version 2, available at 7* http://www.broadcom.com/licenses/GPLv2.php (the "GPL"). 8* 74#define DMA_MAX_BUFLEN PAGE_SIZE 75#define USE_DIRECT_IO(len) (((len) < DMA_MIN_BUFLEN) || \ 76 ((len) > DMA_MAX_BUFLEN)) 89#define DMA_MAX_BUFLEN 0 90#define USE_DIRECT_IO(len) 1 91#endif 299CMD: 300 /* Send command to chip directly */ 301 if (cmd != NAND_CMD_NONE) 307{ 308 if (USE_DIRECT_IO(len)) { 309 /* Do it the old way if the buffer is small or too large.jlparameter.php https://gitlab.com/julienv/joomleague | PHP | 552 lines
216 { 217 $this->addElementPath(JPATH_ROOT . str_replace('/', DS, $dir)); 218 } 522 * 523 * @param mixed $path Directory (string) or directories (array) to search. 524 * 538 // No surrounding spaces allowed! 539 $dir = trim($dir); 540 541 // Add trailing separators as needed. 542 if (substr($dir, -1) != DIRECTORY_SEPARATOR) 543 { 544 // Directory 545 $dir .= DIRECTORY_SEPARATOR; 546 }SAPI.h https://gitlab.com/iranjith4/hhvm | C Header | 310 lines
2 +----------------------------------------------------------------------+ 3 | PHP Version 5 | 4 +----------------------------------------------------------------------+ 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 248 int php_ini_ignore; 249 int php_ini_ignore_cwd; /* don't look for php.ini in the current directory */ 250 285#define SAPI_DEFAULT_CHARSET "" 286#define SAPI_PHP_VERSION_HEADER "X-Powered-By: PHP/" PHP_VERSION 287paypal-return-in-web-accept-sp.inc.php https://gitlab.com/Gashler/sg | PHP | 148 lines
1<?php 2/** 10 * You should have received a copy of the GNU General Public License, 11 * along with this software. In the main directory, see: /licensing/ 12 * If not, see: {@link http://www.gnu.org/licenses/}. 100 101 wp_redirect($sp_access_url); // Immediate redirection to Specific Post/Page. 102 } 102 } 103 else if($custom_success_redirection) // Using a custom success redirection URL? 104 { 104 { 105 $paypal['s2member_log'][] = 'Redirecting Customer to a custom URL on success: '.$custom_success_redirection; 106 106 107 wp_redirect($custom_success_redirection); 108 }about.php https://gitlab.com/Gashler/sg | PHP | 208 lines
9/** WordPress Administration Bootstrap */ 10require_once( dirname( __FILE__ ) . '/admin.php' ); 11 87 'heading' => __( 'Template Hierarchy' ), 88 /* Translators: 1: singular.php; 2: single.php; 3:page.php */ 89 'description' => sprintf( __( 'Added %1$s as a fallback for %2$s and %3$s' ), '<code>singular.php</code>', '<code>single.php</code>', '<code>page.php</code>.' ), 104 <h2 class="nav-tab-wrapper"> 105 <a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What’s New' ); ?></a> 106 <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> 171 <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?> 172 <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"> 173 <?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard → Updates' ); ?> 175 <?php endif; ?> 176 <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a> 177 </div>ListenerOptions.php https://gitlab.com/yousafsyed/easternglamor | PHP | 396 lines
269 if ($this->getConfigCacheKey()) { 270 return $this->getCacheDir() . '/module-config-cache.' . $this->getConfigCacheKey().'.php'; 271 } 272 273 return $this->getCacheDir() . '/module-config-cache.php'; 274 } 291 */ 292 public function setCacheDir($cacheDir) 293 { 353 if ($this->getModuleMapCacheKey()) { 354 return $this->getCacheDir() . '/module-classmap-cache.' . $this->getModuleMapCacheKey() . '.php'; 355 } 356 357 return $this->getCacheDir() . '/module-classmap-cache.php'; 358 }ibase_driver.php https://gitlab.com/joshuacurci/swim-crm | PHP | 396 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 37 */ 38defined('BASEPATH') OR exit('No direct script access allowed'); 39Currency.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 357 lines
30 * @category Mage 31 * @package Mage_Directory 32 * @author Magento Core Team <core@magentocommerce.com> 33 */ 34class Mage_Directory_Model_Currency extends Mage_Core_Model_Abstract 35{ 136 $code = $toCurrency; 137 } elseif ($toCurrency instanceof Mage_Directory_Model_Currency) { 138 $code = $toCurrency->getCurrencyCode(); 139 } else { 140 throw Mage::exception('Mage_Directory', Mage::helper('directory')->__('Invalid target currency.')); 141 } 163 } else { 164 throw Mage::exception('Mage_Directory', Mage::helper('directory')->__('Invalid target currency.')); 165 }utils.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 313 lines
4 5function deleteDir($dir) { 6 if (!file_exists($dir)) return true; 6 if (!file_exists($dir)) return true; 7 if (!is_dir($dir)) return unlink($dir); 8 foreach (scandir($dir) as $item) { 9 if ($item == '.' || $item == '..') continue; 10 if (!deleteDir($dir.DIRECTORY_SEPARATOR.$item)) return false; 11 } 44 if(image_check_memory_usage($imgfile,$newwidth,$newheight)){ 45 require_once('php_image_magician.php'); 46 $magicianObj = new imageLib($imgfile); 281 $base_dir=$path.substr_replace($targetPath, '', 0, strlen($current_path)); 282 if (!file_exists($base_dir)) create_folder($base_dir,false); 283 $info=pathinfo($name);service.php https://gitlab.com/alexprowars/bitrix | PHP | 416 lines
36 const AUTHORIZE = "/register/"; 37 const REDIRECT_URI = "/bitrix/tools/seo_client.php"; 38 263 "CLIENT_SECRET" => $accessParams["client_secret"], 264 "REDIRECT_URI" => static::getRedirectUri(), 265 )); 301 "scope" => static::getEngine()->getInterface()->getScopeEncode(), 302 "redirect_uri" => static::getRedirectUri(), 303 ]; 361 "check_key" => urlencode($checkKey), 362 "redirect_uri" => static::getRedirectUri(), 363 ]; 405 406 $newRedirectUri = static::getRedirectUri(); 407 if(!empty($domains))ucp_prefs.php https://github.com/naderman/phpbb-orchestra.git | PHP | 357 lines
29 { 30 global $config, $db, $user, $auth, $template, $phpbb_root_path, $phpEx; 31 165 'topic_sk' => request_var('topic_sk', (!empty($user->data['user_topic_sortby_type'])) ? $user->data['user_topic_sortby_type'] : 't'), 166 'topic_sd' => request_var('topic_sd', (!empty($user->data['user_topic_sortby_dir'])) ? $user->data['user_topic_sortby_dir'] : 'd'), 167 'topic_st' => request_var('topic_st', (!empty($user->data['user_topic_show_days'])) ? $user->data['user_topic_show_days'] : 0), 169 'post_sk' => request_var('post_sk', (!empty($user->data['user_post_sortby_type'])) ? $user->data['user_post_sortby_type'] : 't'), 170 'post_sd' => request_var('post_sd', (!empty($user->data['user_post_sortby_dir'])) ? $user->data['user_post_sortby_dir'] : 'a'), 171 'post_st' => request_var('post_st', (!empty($user->data['user_post_show_days'])) ? $user->data['user_post_show_days'] : 0), 288 'S_TOPIC_SORT_KEY' => $s_sort_topic_key, 289 'S_TOPIC_SORT_DIR' => $s_sort_topic_dir, 290 'S_POST_SORT_DAYS' => $s_limit_post_days, 291 'S_POST_SORT_KEY' => $s_sort_post_key, 292 'S_POST_SORT_DIR' => $s_sort_post_dir) 293 );Type.php https://bitbucket.org/rybadour/todo_list_site.git | PHP | 303 lines
27 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 28 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 29 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 36 * 37 * @package PHPUnit 38 * @subpackage Util 48 * 49 * @package PHPUnit 50 * @subpackage Util 50 * @subpackage Util 51 * @author Sebastian Bergmann <sebastian@phpunit.de> 52 * @copyright 2001-2012 Sebastian Bergmann <sebastian@phpunit.de> 159 // There seems to be no other way to check arrays for recursion 160 // http://www.php.net/manual/en/language.types.array.php#73936 161 preg_match_all('/\n \[(\w+)\] => Array\s+\*RECURSION\*/', print_r($value, TRUE), $matches);voucher.php https://bitbucket.org/allanxyh/uniquemall.git | PHP | 263 lines
1<?php 2class ControllerAccountVoucher extends Controller { 25 26 $this->redirect($this->url->link('account/voucher/success')); 27 } 163 164 if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/account/voucher.tpl')) { 165 $this->template = $this->config->get('config_template') . '/template/account/voucher.tpl'; 208 209 if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/success.tpl')) { 210 $this->template = $this->config->get('config_template') . '/template/common/success.tpl';Matcher.php https://bitbucket.org/rybadour/todo_list_site.git | PHP | 308 lines
1<?php 2/** 27 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 28 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 29 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 53 * 54 * @package PHPUnit_MockObject 55 * @author Sebastian Bergmann <sb@sebastian-bergmann.de> 61 */ 62class PHPUnit_Framework_MockObject_Matcher implements PHPUnit_Framework_MockObject_Matcher_Invocation 63{ 149 $builder = $invocation->object 150 ->__phpunit_getInvocationMocker() 151 ->lookupId($this->afterMatchBuilderId); 153 if (!$builder) { 154 throw new PHPUnit_Framework_Exception( 155 sprintf(Loader.php https://gitlab.com/buitenzorg812/garapic.cms | PHP | 481 lines
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); 2 12 * 13 * Install this file as application/third_party/MX/Loader.php 14 * 82 /* only add a module path if it exists */ 83 if (is_dir($module_path = $location.$module.'/') && ! in_array($module_path, $this->_ci_model_paths)) 84 { 352 { 353 echo eval('?>'.preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($_ci_path)))); 354 } 480/** load the CI class for Modular Separation **/ 481(class_exists('CI', FALSE)) OR require dirname(__FILE__).'/Ci.php';eclipse.php https://github.com/kpike/moodle.git | PHP | 307 lines
1<?php 2/** 10 */ 11include_once 'unit_tester.php'; 12include_once 'test_case.php'; 12include_once 'test_case.php'; 13include_once 'invoker.php'; 14include_once 'socket.php'; 14include_once 'socket.php'; 15include_once 'mock_objects.php'; 16/**#@-*/ 237 xdebug_stop_code_coverage(); 238 $thisdir = dirname(__FILE__); 239 $thisdirlen = strlen($thisdir); 240 foreach ($arrfiles as $index=>$file){ 241 if (substr($index, 0, $thisdirlen)===$thisdir){ 242 continue;store.php https://github.com/dogma/moodle.git | PHP | 362 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 63 $replace = "module = 'course' AND action = 'new' AND userid = :userid AND url = :url AND time > :since"; 64 $params += array('url' => "view.php?id={$params['courseid']}"); 65 return array($replace, $params, $sort); 246 247 // If the 100 field size is changed, also need to alter print_log in course/lib.php. 248 if (!empty($url) && \core_text::strlen($url) > 100) { 277 if (empty($lasttime) || time() - $lasttime > 60 * 60 * 24) { // Limit to 1 email per day. 278 // Using email directly rather than messaging as they may not be able to log in to access a message. 279 mail($CFG->supportemail, $subject, $message);instructions_de.htm https://bitbucket.org/burnsjeremy/adaptive-images.git | HTML | 177 lines
22 <h2>Basis Anweisungen</h2> 23 <p>Kopieren Sie <code>adaptive-images.php</code> und <code>.htaccess</code> 24 in das Hauptverzeichniss ihres Internetauftritts. 33 <p>Das wars. Sie sind fertig</p> 34 <p>ANMERKUNG: Die <code>ai-cookie.php</code> Datei wird normalerweise nicht 35 benötigt. Nur beim Einsatz der <a href="#alternate">Alternativen Methode</a> 46 47# Add any directories you wish to omit from the Adaptive-Images process on a new 48line, as follows: 48line, as follows: 49# RewriteCond %{REQUEST_URI} !some-directory 50# RewriteCond %{REQUEST_URI} !another-directory 54# Send any GIF, JPG, or PNG request that IS NOT stored inside one of the above 55directories 56# to adaptive-images.php so we can select appropriately sized versionsAnnotationDriverTest.php https://bitbucket.org/iiic/iszp.git | PHP | 340 lines
1<?php 2 7 8require_once __DIR__ . '/../../TestInit.php'; 9 97 $annotationDriver = $this->_loadDriver(); 98 $annotationDriver->addPaths(array(__DIR__ . '/../../Models/CMS/')); 99 return $annotationDriver; 119 $annotationDriver = $this->_loadDriver(); 120 $annotationDriver->addPaths(array(__DIR__ . '/../../Models/DirectoryTree/')); 121 127 $classPage = $factory->getMetadataFor('Doctrine\Tests\Models\DirectoryTree\File'); 128 $this->assertEquals('Doctrine\Tests\Models\DirectoryTree\File', $classPage->associationMappings['parentDirectory']['sourceEntity']); 129 130 $classDirectory = $factory->getMetadataFor('Doctrine\Tests\Models\DirectoryTree\Directory'); 131 $this->assertEquals('Doctrine\Tests\Models\DirectoryTree\Directory', $classDirectory->associationMappings['parentDirectory']['sourceEntity']); 132 }recorded.php https://github.com/fracmak/mythweb.git | PHP | 233 lines
138 <td rowspan="2" class="x-pixmap"> 139 <a class="x-pixmap" href="<?php echo $show->url ?>" title="<?php echo t('Direct Download') ?>" 140 ><img src="<?php echo $show->thumb_url(100,0) ?>"></a> 144 <a class="x-download" 145 href="<?php echo $show->url ?>" title="<?php echo t('Direct Download') ?>" 146 ><img src="<?php echo skin_url ?>/img/video_sm.png"></a> 167 } 168 ?><a href="<?php echo root_url ?>tv/recorded?delete=yes&chanid=<?php echo $show->chanid ?>&starttime=<?php echo $show->recstartts ?>" 169 title="<?php echo html_entities(t('Delete $1', preg_replace('/: $/', '', $show->title.': '.$show->subtitle))) ?>" 170 ><?php echo t('Delete') ?></a> 171 <a href="<?php echo root_url ?>tv/recorded?delete=yes&chanid=<?php echo $show->chanid ?>&starttime=<?php echo $show->recstartts ?>&forget_old=yes" 172 title="<?php echo html_entities(t('Delete and rerecord $1', preg_replace('/: $/', '', $show->title.': '.$show->subtitle))) ?>" 202 <li><a href="<?php echo $show->url ?>"> 203 <img src="<?php echo skin_url ?>/img/video_sm.png"><?php echo t('Direct Download') ?></a></li> 204 </ul>url_helper.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 593 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 5.1.6 or newer 6 * 341 var l=new Array(); 342 <?php 343 $i = 0; 343 $i = 0; 344 foreach ($x as $val){ ?>l[<?php echo $i++; ?>]='<?php echo $val; ?>';<?php } ?> 345 348 else document.write(unescape(l[i]));} 349 </script><?php 350 516/** 517 * Header Redirect 518 *MY_url_helper.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 542 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 183/** 184 * Variant of redirect() which takes the module into account - if any. 185 * 190 */ 191if( ! function_exists('module_redirect')) 192{ 192{ 193 function module_redirect($uri = '', $method = 'location', $http_response_code = 302) 194 { 200 // call "parent" 201 redirect($uri, $method, $http_response_code); 202 } 507/** 508 * Header Redirect 509 * Modified to redirect 303 by default.reindex.php https://github.com/karpenoktem/punbb.git | PHP | 267 lines
89<!DOCTYPE html> 90<html lang="<?php $lang_common['lang_identifier'] ?>" dir="<?php echo $lang_common['lang_direction'] ?>"> 91<head> 104 105<?php 106 229 <div class="sf-box text"> 230 <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_admin_reindex['Posts per cycle'] ?></span> <small><?php echo $lang_admin_reindex['Posts per cycle info'] ?></small></label><br /> 231 <span class="fld-input"><input type="number" id="fld<?php echo $forum_page['fld_count'] ?>" name="i_per_page" size="7" maxlength="7" value="100" /></span> 236 <div class="sf-box text"> 237 <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span class="fld-label"><?php echo $lang_admin_reindex['Starting post'] ?></span> <small><?php echo $lang_admin_reindex['Starting post info'] ?></small></label><br /> 238 <span class="fld-input"><input type="number" id="fld<?php echo $forum_page['fld_count'] ?>" name="i_start_at" size="7" maxlength="7" value="<?php echo (isset($first_id)) ? $first_id : 0 ?>" /></span> 244 <span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="i_empty_index" value="1" checked="checked" /></span> 245 <label for="fld<?php echo $forum_page['fld_count'] ?>"><?php echo $lang_admin_reindex['Empty index'] ?></label> 246 </div>SYLK.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 450 lines
22 * @package PHPExcel_Reader 23 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 28 29/** PHPExcel root directory */ 30if (!defined('PHPEXCEL_ROOT')) { 34 define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); 35 require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); 36} 42 * @package PHPExcel_Reader 43 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) 44 */ 44 */ 45class PHPExcel_Reader_SYLK extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader 46{tlAttachment.class.php https://github.com/viglesiasce/testlink.git | PHP | 342 lines
1<?php 2/** 8 * @copyright 2007-2009, TestLink community 9 * @version CVS: $Id: tlAttachment.class.php,v 1.2 2009/12/28 08:53:37 franciscom Exp $ 10 * @link http://www.teamst.org/index.php 13/** parenthal class */ 14require_once( 'object.class.php' ); 15 193 // relative to the repository itself 194 $this->destFPath = str_replace($this->repositoryPath.DIRECTORY_SEPARATOR,"",$destFPath); 195 $this->title = trim($title);README.md https://github.com/elrond79/pymel.git | Markdown | 289 lines
9 - graphviz: using an OS package manager like `yum`, `apt-get`, or `brew`, or 10 on windows, from an [installer](http://www.graphviz.org/Download_windows.php) 11 - python dependencies: 38 39 - ensure that the CommandsPython, API, and Nodes doc subdirectories are 40 installed. these go in `docs/Maya20XX/en_US/` 82 83 - cd into tests directory, then 84 166 167 - test the new stubs: from shell in the pymel base directory, do: 168 239 assert docs.__file__.startswith(pymelPath) 240 docs.generate() # do this to ensure it cleans the generated source dir 241 docs.build(graphviz_dot=None) #specify the location of dot executable if not on the PATHProxyFactory.php https://github.com/weaverryan/mongodb-odm.git | PHP | 283 lines
51 * @param DocumentManager $dm The DocumentManager the new factory works for. 52 * @param string $proxyDir The directory to use for the proxy classes. It must exist. 53 * @param string $proxyNs The namespace to use for the proxy classes. 83 if ($this->autoGenerate && ! class_exists($fqn, false)) { 84 $fileName = $this->proxyDir . DIRECTORY_SEPARATOR . $proxyClassName . '.php'; 85 $this->generateProxyClass($this->dm->getClassMetadata($className), $proxyClassName, $fileName, self::$_proxyClassTemplate); 99 * @param array $classes The classes (ClassMetadata instances) for which to generate proxies. 100 * @param string $toDir The target directory of the proxy classes. If not specified, the 101 * directory configured on the Configuration of the DocumentManager used 106 $proxyDir = $toDir ?: $this->proxyDir; 107 $proxyDir = rtrim($proxyDir, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; 108 foreach ($classes as $class) { 202 $methods .= ' return parent::' . $method->getName() . '(' . $argumentString . ');'; 203 $methods .= PHP_EOL . ' }' . PHP_EOL; 204 }AccessToken.php https://gitlab.com/hoanghung.dev/aloads | PHP | 379 lines
1<?php 2/** 179 'code' => $code, 180 'redirect_uri' => '', 181 ); 204 'access_token' => $accessToken, 205 'redirect_uri' => '', 206 ); 246 * @TODO fix this malarkey - getResponse() should always return an object 247 * @see https://github.com/facebook/facebook-php-sdk-v4/issues/36 248 */EntityOperations.php https://gitlab.com/Drulenium-bot/workbench_moderation | PHP | 267 lines
1<?php 2 110 * 111 * The amount of indirection here makes performance a concern, but 112 * given how Entity API works I don't know how else to do it.PlatformJobQueueTest.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 329 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: PlatformJobQueueTest.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 23/** Zend_Queue */ 24require_once 'Zend/Queue.php'; 25 26/** Zend_Queue */ 27require_once 'Zend/Queue/Message.php'; 28 29/** Zend_Queue_Message_Test */ 30require_once 'MessageTestClass.php'; 31 32/** Base Adapter test class */ 33require_once dirname(__FILE__) . '/AdapterTest.php'; 34SubmitTest.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 286 lines
24if (!defined("PHPUnit_MAIN_METHOD")) { 25 define("PHPUnit_MAIN_METHOD", "Zend_Form_Element_SubmitTest::main"); 26} 27 28require_once 'Zend/Form/Element/Submit.php'; 29require_once 'Zend/Form.php'; 82 { 83 require_once 'Zend/View.php'; 84 $view = new Zend_View(); 118 { 119 $translations = include dirname(__FILE__) . '/../_files/locale/array.php'; 120 $translate = new Zend_Translate('array', $translations, 'en'); 265 { 266 if (strtolower(substr(PHP_OS, 0, 3)) == 'win' && version_compare(PHP_VERSION, '5.1.4', '=')) { 267 $this->markTestIncomplete('Error occurs for PHP 5.1.4 on Windows');JDatabaseTest.php https://github.com/Hackwar/joomla-platform.git | PHP | 513 lines
1<?php 2/** 10require_once JPATH_PLATFORM . '/joomla/database/database.php'; 11require_once __DIR__ . '/stubs/nosqldriver.php'; 12 14 * Test class for JDatabase. 15 * Generated by PHPUnit on 2009-10-08 at 22:00:38. 16 *sfValidatorBaseTest.php https://github.com/StefanRHRO/SCRM.git | PHP | 246 lines
1<?php 2 10 11require_once(dirname(__FILE__).'/../../bootstrap/unit.php'); 12Panel.html https://github.com/marekjs/Shacser.git | HTML | 318 lines
32- {@link Ext.form.Basic#validitychange validitychange} 33- {@link Ext.form.Basic#dirtychange dirtychange} 34 73 // The form will submit an AJAX request to this URL when submitted 74 url: 'save-form.php', 75 174 'validitychange', 175 'dirtychange' 176 ]);update.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 476 lines
1<?php 2/** 5 * @license GNU General Public License version 3, or later 6 * @version $Id: update.php 82 2010-10-23 19:13:50Z nikosdion $ 7 */ 32 jimport('joomla.filesystem.file'); 33 $this->isPro = JFile::exists(JPATH_COMPONENT_ADMINISTRATOR.DS.'tables'.DS.'redirs.php'); 34 137 138 require_once JPATH_COMPONENT_ADMINISTRATOR.DS.'helpers'.DS.'ini.php'; 139 $parsed=AdmintoolsHelperINI::parse_ini_file($inidata, false, true); 204 curl_setopt($process, CURLOPT_SSL_VERIFYPEER, false); 205 // The @ sign allows the next line to fail if open_basedir is set or if safe mode is enabled 206 @curl_setopt($process, CURLOPT_FOLLOWLOCATION, 1); 409 } else { 410 // PHP 4 way (actually, it's just a fallback as we can't run Admin Tools in PHP4) 411 ini_set('user_agent', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)');class.php https://gitlab.com/neuser/bitrix-core | PHP | 658 lines
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils 15require_once("tools/bsmpackage.php"); 16require_once("tools/modulechecker.php"); 19require_once("tools/pushchecker.php"); 20require_once("tools/sitepatcher.php"); 21 27 /** @var string Full path to wizard directory */ 28 const WIZARD_DIR = __DIR__."/wizard/"; 29 286 { 287 if (Main\IO\File::isFileExists(self::WIZARD_DIR."template/bsmsitemastertemplate.php")) 288 { 288 { 289 require_once(self::WIZARD_DIR."template/bsmsitemastertemplate.php"); 290 }menu-header.php https://gitlab.com/campus-academy/krowkaramel | PHP | 306 lines
1<?php 2/** 167 $admin_is_parent = true; 168 echo "<a href='admin.php?page={$submenu_items[0][2]}'$class $aria_attributes>$arrow<div class='wp-menu-image$img_class'$img_style aria-hidden='true'>$img</div><div class='wp-menu-name'>$title</div></a>"; 169 } else { 172 } elseif ( ! empty( $item[2] ) && current_user_can( $item[1] ) ) { 173 $menu_hook = get_plugin_page_hook( $item[2], 'admin.php' ); 174 $menu_file = $item[2]; 181 if ( ! empty( $menu_hook ) 182 || ( ( 'index.php' !== $item[2] ) 183 && file_exists( WP_PLUGIN_DIR . "/$menu_file" ) 254 if ( ! empty( $menu_hook ) 255 || ( ( 'index.php' !== $sub_item[2] ) 256 && file_exists( WP_PLUGIN_DIR . "/$sub_file" ) 259 // If admin.php is the current page or if the parent exists as a file in the plugins or admin directory. 260 if ( ( ! $admin_is_parent && file_exists( WP_PLUGIN_DIR . "/$menu_file" ) && ! is_dir( WP_PLUGIN_DIR . "/{$item[2]}" ) ) || file_exists( $menu_file ) ) { 261 $sub_item_url = add_query_arg( array( 'page' => $sub_item[2] ), $item[2] );ManageGitIgnoreTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 256 lines
83 protected function createSutWithGit($fixture_name) { 84 $this->fixturesDir = $this->fixtures->tmpDir($this->getName()); 85 $sut = $this->fixturesDir . '/' . $fixture_name; 238 - Skip [web-root]/sites/default/default.settings.php: overridden in fixtures/scaffold-override-fixture 239 - Copy [web-root]/sites/example.settings.local.php from assets/example.settings.local.php 240 - Copy [web-root]/sites/example.sites.php from assets/example.sites.php 240 - Copy [web-root]/sites/example.sites.php from assets/example.sites.php 241 - Copy [web-root]/index.php from assets/index.php 242 - Skip [web-root]/robots.txt: overridden in fixtures/drupal-composer-drupal-project 242 - Skip [web-root]/robots.txt: overridden in fixtures/drupal-composer-drupal-project 243 - Copy [web-root]/update.php from assets/update.php 244 - Copy [web-root]/web.config from assets/web.config 245Scaffolding files for fixtures/scaffold-override-fixture: 246 - Copy [web-root]/sites/default/default.settings.php from assets/override-settings.php 247Scaffolding files for fixtures/drupal-composer-drupal-project:UnitTestCase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 282 lines
1<?php 2 11use Drupal\Core\StringTranslation\PluralTranslatableMarkup; 12use Drupal\Tests\Traits\PhpUnitWarnings; 13use Drupal\TestTools\TestVarDumper; 13use Drupal\TestTools\TestVarDumper; 14use PHPUnit\Framework\TestCase; 15use Symfony\Component\VarDumper\VarDumper; 15use Symfony\Component\VarDumper\VarDumper; 16use Symfony\Bridge\PhpUnit\ExpectDeprecationTrait; 17 27 28 use PhpUnitWarnings; 29 use PhpUnitCompatibilityTrait; 68 69 $this->root = dirname(substr(__DIR__, 0, -strlen(__NAMESPACE__)), 2); 70 }authentication_documentation.html https://github.com/williamswebworks/transparencydata-php.git | HTML | 355 lines
127 The username and password will now be sent with every 128 subsequent request to that directory and subdirectories. 129 You will have to authenticate again if you step outside 129 You will have to authenticate again if you step outside 130 the authenticated directory, but SimpleTest is smart enough 131 to merge subdirectories into a common realm. 164 user interface for web developers. 165 More likely this functionality will be coded directly into 166 the web architecture using cookies and complicated timeouts. 198 function testSessionCookieSetBeforeForm() { 199 $this->get('http://www.my-site.com/login.php');<strong> 200 $this->assertCookie('SID');</strong> 209 function testSessionCookieIsCorrectPattern() { 210 $this->get('http://www.my-site.com/login.php'); 211 $this->assertCookie('SID', <strong>new PatternExpectation('/[a-f0-9]{32}/i')</strong>);SparqlEngineDb.php https://github.com/drobbins/s3db.git | PHP | 391 lines
1<?php 2require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngine.php'; 3require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/Offsetter.php'; 3require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/Offsetter.php'; 4require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/QuerySimplifier.php'; 5require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/ResultConverter.php'; 5require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/ResultConverter.php'; 6require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/SqlGenerator.php'; 7require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/SqlMerger.php'; 10* SPARQL engine optimized for databases. 11* Generates SQL statements to directly query the database, 12* letting the database system do all the hard work like 167 { 168 require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/PreparedStatement.php'; 169 require_once RDFAPI_INCLUDE_DIR . 'sparql/SparqlEngineDb/Preparator.php';AbstractCollectionPersister.php https://gitlab.com/aleksbenmaza/PPE_NEW | PHP | 313 lines
1<?php 2 7 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 8 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 9 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOTfile.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 138 lines
1<?php 2/** 8 */ 9$_lang['directory'] = 'ディレクトリ'; 10$_lang['file_confirm_remove'] = 'このファイルを本当に削除しますか?'; 37$_lang['file_err_unzip_invalid_path'] = '解凍済みファイルのパスが不適切です。'; 38$_lang['file_err_unzip_missing_lib'] = ' zipライブラリが見当たりません。(php_zip.dll / zip.so)'; 39$_lang['file_err_upload'] = 'ファイルのアップロード中にエラーが発生しました。'; 81$_lang['files_data'] = 'データ'; 82$_lang['files_directories'] = 'ディレクトリ'; 83$_lang['files_dirwritable'] = 'ディレクトリ書き込み可?'; 83$_lang['files_dirwritable'] = 'ディレクトリ書き込み可?'; 84$_lang['files_dir_listing'] = 'ディレクトリ一覧:'; 85$_lang['files_editfile'] = 'ファイルの編集';theme-support.php https://gitlab.com/ravenseyedesign/ravensegg | PHP | 367 lines
1<?php 2/** 28 * Make theme available for translation. 29 * Translations can be filed in the /languages/ directory. 30 */ 30 */ 31 // load_theme_textdomain( 'ravens-egg-2022', get_template_directory() . '/languages' ); 32Collection.php https://bitbucket.org/acidel/buykoala.git | PHP | 480 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) 2011 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 244 * 245 * @param string $dir 246 * @return Mage_Tag_Model_Resource_Product_Collection 247 */ 248 public function setDescOrder($dir = 'DESC') 249 { 249 { 250 $this->setOrder('relation.tag_relation_id', $dir); 251 return $this;site-users.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 330 lines
10/** Load WordPress Administration Bootstrap */ 11require_once( dirname( __FILE__ ) . '/admin.php' ); 12 175if ( isset( $_GET['action'] ) && 'update-site' == $_GET['action'] ) { 176 wp_safe_redirect( $referer ); 177 exit(); 205<h1 id="edit-site"><?php echo $title; ?></h1> 206<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p> 207<?php 273<h2 id="add-existing-user"><?php _e( 'Add Existing User' ); ?></h2> 274<form action="site-users.php?action=adduser" id="adduser" method="post"> 275 <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 302<h2 id="add-new-user"><?php _e( 'Add New User' ); ?></h2> 303<form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post"> 304 <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />