100+ results results for 'php file repo:ElmsPark/pods' (2137 ms)
3 4<head profile="http://gmpg.org/xfn/11"> 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 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" />DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
229 String getMimeType() { 230 TransferFile localTransferFile = syncItem.getLocalTransferFile(); 231 if (localTransferFile != null) { 231 if (localTransferFile != null) { 232 FileObject fileObject = FileUtil.toFileObject(localTransferFile.resolveLocalFile()); 233 if (fileObject != null) { 280 try { 281 TmpLocalFile currentTmpLocalFile = syncItem.getTmpLocalFile(); 282 if (currentTmpLocalFile != null) { 315 private void copyContent(File file, TmpLocalFile localTmpFile) throws IOException { 316 FileObject fileObject = FileUtil.toFileObject(file); 317 if (fileObject == null || !fileObject.isValid()) { 336 assert path != null : "Path for local tmp file should be present"; 337 FileObject fo = FileUtil.toFileObject(new File(path)); 338 assert fo != null : "Fileobject for " + path + " should exist";VarCloner.php https://gitlab.com/Sigpot/AirSpot | PHP | 324 lines
1<?php 2 3/* 4 * This file is part of the Symfony package. 5 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 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;sweetalert2.css https://gitlab.com/ptisky/API_prestashop | CSS | 595 lines
5 * 6 * This source file is subject to the Academic Free License (AFL 3.0) 7 * that is bundled with this package in the file LICENSE.txt. 8 * It is also available through the world-wide-web at this URL: 9 * http://opensource.org/licenses/afl-3.0.php 10 * If you did not receive a copy of the license and are unable to 15 * 16 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer 17 * versions in the future. If you wish to customize PrestaShop for your 21 * @copyright 2015-2016 Cubyn 22 * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 23 */Particle3DTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 480 lines
8 Permission is hereby granted, free of charge, to any person obtaining a copy 9 of this software and associated documentation files (the "Software"), to deal 10 in the Software without restriction, including without limitation the rights 62 63 FileUtils::getInstance()->addSearchPath("Particle3D/materials"); 64 FileUtils::getInstance()->addSearchPath("Particle3D/scripts"); 64 FileUtils::getInstance()->addSearchPath("Particle3D/scripts"); 65 FileUtils::getInstance()->addSearchPath("Sprite3DTest"); 66 //FileUtils::getInstance()->addSearchPath("Particle3D/textures"); 78 listener->onTouchesEnded = CC_CALLBACK_2(Particle3DTestDemo::onTouchesEnded, this); 79 _eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this); 80 452 453 std::string c3bfileName = "Sprite3DTest/orc.c3b"; 454 auto sprite = Sprite3D::create(c3bfileName);TrustedMath.i18n.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 274 lines
1<?php 2/** 2/** 3 * Internationalisation file for extension TrustedMath. 4 * 4 * 5 * @file 6 * @ingroup Extensionstwitter-timeline.php https://gitlab.com/hunt9310/ras | PHP | 470 lines
83 if ( isset( $instance['title'] ) ) { 84 /** This filter is documented in core/src/wp-includes/default-widgets.php */ 85 echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ) . $args['after_title']; 114 switch ( $type ) { 115 case 'profile': 116 echo ' href="https://twitter.com/' . esc_attr( $widget_id ) . '"'; 321 <p> 322 <label for="<?php echo $this->get_field_id( 'tweet-limit' ); ?>"> 323 <?php esc_html_e( '# of Tweets Shown:', 'jetpack' ); ?> 343 > 344 <option value="profile"<?php selected( $instance['type'], 'profile' ); ?>> 345 <?php esc_html_e( 'Profile', 'jetpack' ); ?> 364 data-widget-type="profile" 365 <?php echo ( 'profile' === $instance['type'] ? '' : 'style="display: none;"' ); ?> 366 >WizardController.php https://github.com/rgranadino/magento-mirror.git | PHP | 464 lines
1<?php 2/** 6 * 7 * This source file is subject to the Open Software License (OSL 3.0) 8 * that is bundled with this package in the file LICENSE.txt. 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 16 * 17 * Do not edit or add to this file if you wish to upgrade Magento to newer 18 * versions in the future. If you wish to customize Magento for your 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 */MaildirFolderTest.php https://github.com/mfairchild365/zf2.git | PHP | 444 lines
1<?php 2/** 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 36 */ 37class MaildirFolderTest extends \PHPUnit_Framework_TestCase 38{ 45 { 46 $this->_originalDir = __DIR__ . '/_files/test.maildir/'; 47 48 if (!is_dir($this->_originalDir . '/cur/')) { 49 $this->markTestSkipped('You have to unpack maildir.tar in Zend/Mail/_files/test.maildir/ ' 50 . 'directory before enabling the maildir tests'); 57 } else { 58 $this->_tmpdir = __DIR__ . '/_files/test.tmp/'; 59 }ImageMagick.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 480 lines
19 20 const ERROR_WRONG_IMAGE = 'Image is not readable or file name is empty.'; 21 70 */ 71 public function open($filename) 72 { 72 { 73 $this->_fileName = $filename; 74 $this->_checkCanProcess(); 97 { 98 $fileName = $this->_prepareDestination($destination, $newName); 99 101 $this->_imageHandler->stripImage(); 102 $this->_imageHandler->writeImage($fileName); 103 }ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
1<?php 2 8 +--------------------------------------------------------------------+ 9 | This file is a part of CiviCRM. | 10 | | 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 ); 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
104 $this->get_reviews( $this->data["project_data"][0]["project_id"] ); 105 //$this->get_chapters_file() 106 211 /** 212 * ---------======@[ GET CHAPTERS FILE ]@======--------- 213 */ 213 */ 214 private function get_chapters_file($parent){ 215 325 } 326 $this->get_chapters_file( $this->data["project_data"][0]["project_id"] ); 327 $this->load->view("project/form_upload_admin", $this->data); 407 "attachment_url" => $dataup["upload_data"]["file_name"], 408 "attachment_file" => $dataup["upload_data"]["file_name"], 409 "attachment_file_ext" => $dataup["upload_data"]["file_ext"],Resource.php https://github.com/rico/flextrine.git | PHP | 467 lines
1<?php 2/** 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Resource.php 23568 2010-12-20 08:13:20Z mjh_ca $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 23/** Zend_Loader_Autoloader_Interface */ 24require_once 'Zend/Loader/Autoloader/Interface.php'; 25 73 if (!is_array($options)) { 74 require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 83 ) { 84 require_once 'Zend/Loader/Exception.php'; 85 throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization');resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
1<?php 2/** 36$_lang['resource_contentdispo'] = 'Disposisi konten'; 37$_lang['resource_contentdispo_help'] = 'Gunakan bidang disposisi konten untuk menentukan bagaimana sumber daya ini akan ditangani oleh web browser. Untuk download file pilih opsi lampiran.'; 38$_lang['resource_content_type'] = 'Jenis konten'; 156$_lang['weblink_help'] = 'Alamat objek Anda ingin referensi dengan weblink ini. Jika Anda ingin menunjuk ke sumber MODX yang ada, masukkan ID di sini.'; 157$_lang['weblink_message'] = 'Weblink adalah referensi ke objek di internet. Ini bisa menjadi dokumen dalam MODX, halaman di situs lain atau gambar atau file lain di internet.<p>'; 158$_lang['weblink_new'] = 'Weblink baru';File.php https://github.com/Riges/KawaiViewModel.git | PHP | 468 lines
38 */ 39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract 40{ 79 80 public static function registerFileCodeGenerator(Zend_CodeGenerator_Php_File $fileCodeGenerator, $fileName = null) 81 { 82 if ($fileName == null) { 83 $fileName = $fileCodeGenerator->getFilename(); 84 } 94 95 self::$_fileCodeGenerators[$fileName] = $fileCodeGenerator; 96 129 if (!isset(self::$_fileCodeGenerators[$fileReflector->getFileName()])) { 130 self::$_fileCodeGenerators[$fileReflector->getFileName()] = $codeGenerator; 131 }lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
1<?php 2 37 ], 38 'file' => [ 39 'create_fail' => "Kunde inte skapa fil: :name", 134 'mail' => [ 135 'log_file' => 'Loggfiler', 136 'menu_label' => 'E-postkonfiguration', 141 'sender_email' => 'Avsändarens e-postadress', 142 'php_mail' => 'PHP mail', 143 'smtp' => 'SMTP', 271 'file_error' => 'Servern kunde inte leverera paketet.', 272 'file_corrupt' => 'Filen från servern är korrupt.', 273 ], 277 'config' => [ 278 'not_found' => 'Kunde inte hitta konfigurationsfilen :file definierad för :location', 279 'required' => 'Konfigurationen som används i :location måste sända med ett värde :property',Inflector.php https://github.com/grandison/budo16.git | PHP | 506 lines
1<?php 2/** 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Inflector.php 17705 2009-08-21 07:50:57Z thomas $ 20 */ 25 */ 26// require_once 'Zend/Filter.php'; 27 30 */ 31// require_once 'Zend/Loader/PluginLoader.php'; 32 463 if ($this->_throwTargetExceptionsOn && (preg_match('#(?='.$pregQuotedTargetReplacementIdentifier.'[A-Za-z]{1})#', $inflectedTarget) == true)) { 464 // require_once 'Zend/Filter/Exception.php'; 465 throw new Zend_Filter_Exception('A replacement identifier ' . $this->_targetReplacementIdentifier . ' was found inside the inflected target, perhaps a rule was not satisfied with a target source? Unsatisfied inflected target: ' . $inflectedTarget);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> 37therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained 38in the file <a href="asl-v20.txt">asl-v20.txt</a> and 39at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>. 46therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained 47in the file <a href="asl-v20.txt">asl-v20.txt</a> and 48at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>. 55therefore this plugin is subject to the Apache License version 2.0, a copy of the license is contained 56in the file <a href="asl-v20.txt">asl-v20.txt</a> and 57at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>. 103 including but not limited to software source code, documentation 104 source, and configuration files. 105</p>web.php https://github.com/XioNoX/Benevolus.git | PHP | 509 lines
61 $path=self::fixslashes($base); 62 foreach ($files as $file) 63 if (!is_file($path.$file)) { 63 if (!is_file($path.$file)) { 64 trigger_error(sprintf(self::TEXT_Minify,$file)); 65 return $echo?NULL:FALSE; 67 $src=''; 68 foreach ($files as $file) { 69 $stats=&self::ref('STATS'); 70 $stats['FILES']['minified'] 71 [basename($file)]=filesize($path.$file); 72 // Rewrite relative URLs in CSS 100 // Retrieve CSS/Javascript file 101 self::getfile($path.$file) 102 );pearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) { 60 echo 'ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini'; 61 exit(1); 357 " -q be quiet, decrease verbosity level\n". 358 " -c file find user configuration in `file'\n". 359 " -C file find system configuration in `file'\n". 377 return "PEAR Version: ".$GLOBALS['pear_package_version']. 378 "\nPHP Version: ".phpversion(). 379 "\nZend Engine Version: ".zend_version(). 427 if (stristr($file, $_PEAR_PHPDIR)) { 428 $file = substr($file, strlen($_PEAR_PHPDIR) + 1); 429 } else { 429 } else { 430 $file = basename($file); 431 }Resource.php https://github.com/ianbogda/FileZ.git | PHP | 467 lines
1<?php 2/** 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 18 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Resource.php 23775 2011-03-01 17:25:24Z ralph $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 23/** Zend_Loader_Autoloader_Interface */ 24require_once 'Zend/Loader/Autoloader/Interface.php'; 25 73 if (!is_array($options)) { 74 require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 83 ) { 84 require_once 'Zend/Loader/Exception.php'; 85 throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization');File.php https://github.com/testruby/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 473 lines
19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: File.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 21 */ 33 * Reads $length number of bytes at the current position in the 34 * file and advances the file pointer. 35 * 42 /** 43 * Sets the file position indicator and advances the file pointer. 44 * The new position, measured in bytes from the beginning of the file, 147 * Reads an integer from the current position in the file 148 * and advances the file pointer. 149 * 306 * Returns a variable-length integer from the current 307 * position in the file and advances the file pointer. 308 *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########################################################################## 7# Permission is hereby granted, free of charge, to any person obtaining 8# a copy of this software and associated documentation files (the 9# "Software"), to deal in the Software without restriction, includingac28db01878361e31b02909532d9.php https://bitbucket.org/AdriVanHoudt/school.git | PHP | 230 lines
1<?php 2 9 10 $this->parent = $this->env->loadTemplate("@WebProfiler/Profiler/layout.html.twig"); 11 20 { 21 return "@WebProfiler/Profiler/layout.html.twig"; 22 } 125 echo " "; 126 $this->env->loadTemplate("@WebProfiler/Profiler/toolbar_item.html.twig")->display(array_merge($context, array("link" => $this->getContext($context, "profiler_url")))); 127 }ClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
345 if ($file = $this->findFile($class)) { 346 includeFile($file); 347 376 377 $file = $this->findFileWithExtension($class, '.php'); 378 380 if (false === $file && defined('HHVM_VERSION')) { 381 $file = $this->findFileWithExtension($class, '.hh'); 382 } 458 foreach ($this->fallbackDirsPsr0 as $dir) { 459 if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { 460 return $file; 477 */ 478function includeFile($file) 479{ZMO.php https://github.com/ThiloWitt/core.git | PHP | 548 lines
1<?php 2/** 18 * It can read MO files and use them for translating strings. 19 * The files are passed to gettext_reader as a Stream (see streams.php) 20 * 23 * While the cache is enabled by default, it can be switched off with the 24 * second parameter in the constructor (e.g. whenusing very large MO files 25 * that you don't want to keep in memory) 148 if ($magic == -1794895138 || $magic == 2500072158) { 149 // (int)0x950412de; PHP 5.2 wont convert this properly 150 $this->byteorder = 0; 151 } elseif ($magic == -569244523 || $magic == 3725722773) { 152 // (int)0xde120495; PHP 5.2 wont convert this properly 153 $this->byteorder = 1; 154 } else { 155 // not MO file 156 $this->error = 1;CakeRoute.php https://github.com/simkimsia/cake2-practice-app.git | PHP | 506 lines
1<?php 2/** 8 * 9 * PHP5 10 * 10 * 11 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 12 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * Licensed under The MIT License 15 * Redistributions of files must retain the above copyright notice. 16 * 17 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 18 * @link http://cakephp.org CakePHP(tm) Project 19 * @package Cake.Routing.Route 19 * @package Cake.Routing.Route 20 * @since CakePHP(tm) v 1.3 21 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)CookieJar.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 441 lines
1<?php 2/** 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 17 * @subpackage CookieJar 18 * @version $Id: CookieJar.php 24856 2012-06-01 01:10:47Z adamlundrigan $ 19 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) 25 */ 26require_once "Zend/Uri.php"; 27/** 29 */ 30require_once "Zend/Http/Cookie.php"; 31/** 33 */ 34require_once "Zend/Http/Response.php"; 35StorageServiceSettings.php https://bitbucket.org/skudatech/azure-sdk-for-php.git | PHP | 485 lines
1<?php 2 4 * LICENSE: Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 14 * 15 * PHP version 5 16 * 18 * @package WindowsAzure\Common\Internal 19 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 20 * @copyright 2012 Microsoft Corporation 21 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 22 * @link https://github.com/windowsazure/azure-sdk-for-php 23 */ 35 * @package WindowsAzure\Common\Internal 36 * @author Azure PHP SDK <azurephpsdk@microsoft.com> 37 * @copyright 2012 Microsoft Corporationps_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* 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'); 453// If settings are loaded, extended Classes are allowed and the class exisits... 454if (defined('VM_ALLOW_EXTENDED_CLASSES') && defined('VM_THEMEPATH') && VM_ALLOW_EXTENDED_CLASSES && file_exists(VM_THEMEPATH.'user_class/'.basename(__FILE__))) { 455 // Load the theme-user_class as extendedUpgradeComponentGroup.php https://github.com/orchestra-io/sample-openx.git | PHP | 320 lines
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 72 { 73 $strDetected = ' configuration file detected'; 74 $strCanUpgrade = 'This version can be upgraded'; 158 159 function upgrade($input_file='', $timing='constructive') 160 { 193 'version_from'=>$this->versionInitialApplication, 194 'logfile'=>basename($this->oLogger->logFile) 195 )Command.php https://github.com/esimionato/mongodb-odm.git | PHP | 512 lines
1<?php 2 12/* 13 * This file is part of the Symfony framework. 14 * 16 * 17 * This source file is subject to the MIT license that is bundled 18 * with this source code in the file LICENSE. 378 $name, 379 $_SERVER['PHP_SELF'].' '.$name 380 );edit.php https://github.com/thisduck/wordpress.git | PHP | 294 lines
113 $parent_file = "edit.php?post_type=$post_type"; 114 $submenu_file = "edit.php?post_type=$post_type"; 115 $post_new_file = "post-new.php?post_type=$post_type"; 116} else { 117 $parent_file = 'edit.php'; 118 $submenu_file = 'edit.php'; 118 $submenu_file = 'edit.php'; 119 $post_new_file = 'post-new.php'; 120} 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/** 62 * 63 * @param string $tpl The name of the template file to parse; automatically searches through the template paths. 64 *Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 lines
1<?php 2/** 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt.lang.php https://gitlab.com/michield/dokuwiki | PHP | 188 lines
1<?php 2/** 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)'; 82$lang['manager'] = 'Menedzser - csoport vagy felhasználó, aki bizonyos menedzsment funkciókhoz hozzáfér'; 83$lang['profileconfirm'] = 'Beállítások változtatásának megerősítése jelszóval'; 84$lang['disableactions'] = 'Bizonyos DokuWiki tevékenységek (action) tiltása'; 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'; 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.'; 120$lang['renderer_xhtml'] = 'Az elsődleges (xhtml) wiki kimenet generálója'; 177$lang['xsendfile_o_1'] = 'lighttpd saját fejléc (1.5-ös verzió előtti)'; 178$lang['xsendfile_o_2'] = 'Standard X-Sendfile fejléc'; 179$lang['xsendfile_o_3'] = 'Nginx saját X-Accel-Redirect fejléce';acpiphp_ibm.c https://gitlab.com/karrei/imx6-kernel | C | 487 lines
27 28#define pr_fmt(fmt) "acpiphp_ibm: " fmt 29 39 40#include "acpiphp.h" 41#include "../pci.h" 99static int ibm_get_table_from_acpi(char **bufp); 100static ssize_t ibm_read_apci_table(struct file *filp, struct kobject *kobj, 101 struct bin_attribute *bin_attr, 104 u32 lvl, void *context, void **rv); 105static int __init ibm_acpiphp_init(void); 106static void __exit ibm_acpiphp_exit(void); 117}; 118static struct acpiphp_attention_info ibm_attention_info = 119{IndexController.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 390 lines
1<?php 2/** 6 * 7 * This source file is subject to the Open Software License (OSL 3.0) 8 * that is bundled with this package in the file LICENSE.txt. 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 16 * 17 * Do not edit or add to this file if you wish to upgrade Magento to newer 18 * versions in the future. If you wish to customize Magento for your 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 */ 170 { 171 echo $this->getLayout()->createBlock('core/profiler')->toHtml(); 172 }hostkreskoweczki.py https://gitlab.com/Ghoz/iptvplayer-for-e2 | Python | 318 lines
52 CBaseHostClass.__init__(self, {'history':' KreskoweczkiPL.tv', 'cookie':'kreskoweczkipl.cookie'}) 53 self.defaultParams = {'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE} 54 self.abcCache = {} 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" 172 if sts: 173 videoUrl = self.cm.ph.getSearchGroups(videoData, '''Loader.loadFlashFile."([^"]+?)"''')[0] 174 if '' == videoUrl: 179 180 videoData = self.cm.ph.getSearchGroups(videoUrl, "/embed/proxy[^.]+?.php") 181 if '' != videoData: 268 def getResolvedURL(self, url): 269 # resolve url to get direct url to video file 270 retlist = []WizardController.php https://bitbucket.org/chung/buyforher.git | PHP | 464 lines
1<?php 2/** 6 * 7 * This source file is subject to the Open Software License (OSL 3.0) 8 * that is bundled with this package in the file LICENSE.txt. 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 16 * 17 * Do not edit or add to this file if you wish to upgrade Magento to newer 18 * versions in the future. If you wish to customize Magento for your 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 */sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
1<?php 2class SiteMailer 52 $this->headers .= "MIME-Version: 1.0\r\n"; 53 //$this->headers .= "Content-Type: multipart/mixed; boundary=\"PHP-mixed-" . $this->randomHash . "\"\r\n"; 54 $this->headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; 90 { 91 $this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--"; 92 $this->msgBody .= $this->attachment; 92 $this->msgBody .= $this->attachment; 93 $this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--"; 94 }*/ 103 104 private function getContent($filepath) { 105 $content = ''; 106 ob_start(); 107 include($filepath); 108 $content = ob_get_contents();EditView.php https://github.com/lukio/sugarcrm_dev.git | PHP | 349 lines
93if(isset($_REQUEST['filename']) && $_REQUEST['isDuplicate'] != 'true') { 94 $focus->filename = $_REQUEST['filename']; 95} 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']; 176if(!is_file($GLOBALS['sugar_config']['cache_dir'] . 'jsLanguage/' . $GLOBALS['current_language'] . '.js')) { 177 require_once('include/language/jsLanguage.php'); 178 jsLanguage::createAppStringsCache($GLOBALS['current_language']); 209 } 210 $xtpl->assign("ADMIN_EDIT","<a href='index.php?action=index&module=DynamicLayout&from_action=" . $_REQUEST['action'] 211 ."&from_module=".$_REQUEST['module'] ."&record=".$record. "'>".SugarThemeRegistry::current()->getImage("EditLayout","border='0' alt='Edit Layout' align='bottom'")."</a>"); 330//Add Custom Fields 331require_once('modules/DynamicFields/templates/Files/EditView.php'); 332if(!$inboundEmail){lang.php https://github.com/godber/PHXdata-Website.git | PHP | 186 lines
1<?php 2/** 2/** 3 * Portugueselanguage file 4 * 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>)'; 79$lang['manager'] = 'Gestor - um grupo, utilizador ou uma lista separada por vírgulas usuário1,@grupo1,usuário2 que tem acesso a certas funções de gestão'; 80$lang['profileconfirm'] = 'Confirmar mudanças no perfil com a senha'; 81$lang['disableactions'] = 'Desactivar acções DokuWiki'; 116$lang['broken_iua'] = 'A função "ignore_user_abort" não está a funcionar no seu sistema? Isso pode causar um índice de busca defeituoso. Sistemas com IIS+PHP/CGI são conhecidos por possuírem este problema. Veja o <a href="http://bugs.splitbrain.org/?do=details&task_id=852">bug 852</a> para mais informações.'; 117$lang['xsendfile'] = 'Usar o cabeçalho "X-Sendfile" para permitir o servidor de internet encaminhar ficheiros estáticos? O seu servidor de internet precisa ter suporte a isso.'; 118$lang['renderer_xhtml'] = 'Renderizador a ser utilizado para a saída principal do wiki (xhtml)'; 175$lang['xsendfile_o_1'] = 'Cabeçalho proprietário lighttpd (anterior à versão 1.5)'; 176$lang['xsendfile_o_2'] = 'Cabeçalho "X-Sendfile" padrão'; 177$lang['xsendfile_o_3'] = 'Cabeçalho proprietário "Nginx X-Accel-Redirect"';Resource.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 467 lines
1<?php 2/** 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 19 * @version $Id: Resource.php 23567 2010-12-20 08:12:16Z mjh_ca $ 20 * @license http://framework.zend.com/license/new-bsd New BSD License 23/** Zend_Loader_Autoloader_Interface */ 24require_once 'Zend/Loader/Autoloader/Interface.php'; 25 73 if (!is_array($options)) { 74 require_once 'Zend/Loader/Exception.php'; 75 throw new Zend_Loader_Exception('Options must be passed to resource loader constructor'); 83 ) { 84 require_once 'Zend/Loader/Exception.php'; 85 throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization');Configuration.php https://github.com/sellingsource/symfony.git | PHP | 362 lines
1<?php 2 3/* 4 * This file is part of the Symfony framework. 5 * 7 * 8 * This source file is subject to the MIT license that is bundled 9 * with this source code in the file LICENSE. 59 $this->addEsiSection($rootNode); 60 $this->addProfilerSection($rootNode); 61 $this->addRouterSection($rootNode); 111 112 private function addProfilerSection(ArrayNodeDefinition $rootNode) 113 { 120 ->booleanNode('only_master_requests')->defaultFalse()->end() 121 ->scalarNode('dsn')->defaultValue('file:%kernel.cache_dir%/profiler')->end() 122 ->scalarNode('username')->defaultValue('')->end()permissions.inc.php https://github.com/martinf55/revolution.git | PHP | 193 lines
1<?php 2/** 18$_lang['perm.change_password_desc'] = 'Benutzer kann sein Benutzer-Passwort ändern.'; 19$_lang['perm.change_profile_desc'] = 'Benutzer kann sein Profil ändern.'; 20$_lang['perm.charsets_desc'] = 'Eine Liste von Zeichencodierungen anzeigen.'; // charsets = Zeichensätze? 66$_lang['perm.export_static_desc'] = 'Die Site in statische HTML-Dateien exportieren.'; 67$_lang['perm.file_create_desc'] = 'Dateien anlegen.'; 68$_lang['perm.file_list_desc'] = 'Liste der in einem angegebenen Verzeichnis liegenden Dateien anzeigen.'; 68$_lang['perm.file_list_desc'] = 'Liste der in einem angegebenen Verzeichnis liegenden Dateien anzeigen.'; 69$_lang['perm.file_manager_desc'] = 'Den Dateimanager benutzen.'; 70$_lang['perm.file_remove_desc'] = 'Dateien löschen.'; 70$_lang['perm.file_remove_desc'] = 'Dateien löschen.'; 71$_lang['perm.file_tree_desc'] = 'Den Dateibaum im linken Navigations-Bereich anzeigen.'; 72$_lang['perm.file_update_desc'] = 'Den Inhalt von Dateien ändern.'; 72$_lang['perm.file_update_desc'] = 'Den Inhalt von Dateien ändern.'; 73$_lang['perm.file_upload_desc'] = 'Dateien in ein Verzeichnis hochladen.'; 74$_lang['perm.file_view_desc'] = 'Inhalte von Dateien anzeigen.';user.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
1<?php 2/** 32$_lang['primary_group'] = 'Primary Group'; 33$_lang['profile_recent_resources'] = 'Recent Resources'; 34$_lang['profile_recent_resources_desc'] = 'This is a list of your most recently edited Resources.'; 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.'; 173$_lang['user_photo'] = 'User Photo'; 174$_lang['user_photo_message'] = 'Enter the image URL for this user or use the insert button to select or upload an image file on the server.'; 175$_lang['user_prevlogin'] = 'Last Login'; 176$_lang['user_prevlogin_desc'] = 'The last time that the user successfully logged in.'; 177$_lang['user_profile_err_nf'] = 'FATAL ERROR: User profile not found.'; 178$_lang['user_profile_err_save'] = 'An error occurred while attempting to save the user attributes.'; 195$_lang['user_updated_password_message'] = 'The User has been updated. The password is: [[+password]]'; 196$_lang['user_upload_message'] = 'If you wish to stop this user uploading any filetypes in this category, make sure that the \'Use Main Configuration Setting\' checkbox is not ticked and leave the field blank.'; 197$_lang['user_use_config'] = 'Use System Configuration Setting';index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
4 * 5 * index.php main file for RSS section. 6 * 77 <table width=100%><tr><td> <img src="/Common/images/pageloading.gif" width="200" height="45" align="absmiddle"></td></tr></table></div> 78 <?php } ?> 79 <div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div> 177 ?> 178 <div align="right" class="FieldNumberDisabled"><strong><?= $language['label']['welcome']; ?> <a href="../../Administration/user_information.php" class="FieldNumberDisabled" <?php help('', 'Edit your user information', 'default'); ?>><?= ucwords(strtolower($_SESSION['fullname'])); ?></a></strong> <a href="../../logout.php" class="FieldNumberDisabled" <?php help('', 'Selecting [logout] will Log you out of the '.$default[title1].' and stop automatic cookie login', 'default'); ?>>[logout]</a> </div> 179 <?php 310 <tr> 311 <td width="50%" nowrap><!-- InstanceBeginEditable name="copyright" --><?php include('../include/copyright.php'); ?><!-- InstanceBeginEditable --></td> 312 <td width="50%"><div id="noPrint" align="right"><!-- InstanceBeginEditable name="version" --><!-- InstanceEndEditable --></div></td> 336 */ 337include_once('debug/footer.php'); 338/**tbl_replace.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 414 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * usally called as form action from tbl_change.php to insert or update table rows 7 * 7 * 8 * @version $Id: tbl_replace.php 12245 2009-02-23 08:36:34Z lem9 $ 9 * 28 * @uses count() 29 * @uses file_exists() 30 * @uses strlen() 37 * @uses $GLOBALS['sql_query'] 38 * @uses PMA_File::getRecentBLOBReference() 39 */ 43 * 44 * cannot be used as long as it could happen that the $goto file that is included 45 * at the end of this script is not updated to work without imported request variablesMove.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 364 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 3// +----------------------------------------------------------------------+ 4// | PHP version 5 | 5// +----------------------------------------------------------------------+ 9// | This LICENSE is in the BSD license style. | 10// | http://www.opensource.org/licenses/bsd-license.php | 11// | | 43// 44// $Id: Move.php 12 2007-09-17 20:20:11Z killersoft $ 45// 63 * 64 * Copies must include a message option (either with 'm', 'message', 'file' or 'F' 65 * keys), but the message itself may be blank. 74 * // either 'm' or 'message' may be used 75 * 'F [file]' => 'Read commit message data from specified file', 76 * // either 'F' or 'file' may be usedFile.php https://github.com/Enrise/Zend.git | PHP | 473 lines
19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: File.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 33 * Reads $length number of bytes at the current position in the 34 * file and advances the file pointer. 35 * 42 /** 43 * Sets the file position indicator and advances the file pointer. 44 * The new position, measured in bytes from the beginning of the file, 147 * Reads an integer from the current position in the file 148 * and advances the file pointer. 149 * 306 * Returns a variable-length integer from the current 307 * position in the file and advances the file pointer. 308 *ThreeZero.php https://github.com/ksecor/civicrm.git | PHP | 271 lines
1<?php 2 8 +--------------------------------------------------------------------+ 9 | This file is a part of CiviCRM. | 10 | | 35 36require_once 'CRM/Upgrade/Form.php'; 37require_once 'CRM/Core/OptionGroup.php'; 37require_once 'CRM/Core/OptionGroup.php'; 38require_once 'CRM/Core/OptionValue.php'; 39 94 if (!CRM_Core_DAO::checkFieldExists('civicrm_report_instance', 'description')) { 95 require_once 'CRM/Core/DAO/Domain.php'; 96 $domain = new CRM_Core_DAO_Domain; 109 110 //We execute some part of php after sql and then again sql 111 //So using conditions for skipping some part of sql CRM-4575Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
1<?php 2 8 +--------------------------------------------------------------------+ 9 | This file is a part of CiviCRM. | 10 | | 35 36require_once 'CRM/Contact/Page/View.php'; 37 94 { 95 require_once 'CRM/Contribute/BAO/Contribution.php'; 96UploadHandler.php https://github.com/zikula-modules/Reviews.git | PHP | 404 lines
45 $this->imageFileTypes = array('gif', 'jpeg', 'jpg', 'png', 'swf'); 46 $this->forbiddenFileTypes = array('cgi', 'pl', 'asp', 'phtml', 'php', 'php3', 'php4', 'php5', 'exe', 'com', 'bat', 'jsp', 'cfm', 'shtml'); 47 $this->allowedFileSizes = array('review' => array('coverUpload' => 102400)); 93 } 94 $fileName = $this->determineFileName($objectType, $fieldName, $basePath, $fileName, $extension); 95 313 * 314 * @param array $file File array from $_FILES. 315 * 325 break; 326 case UPLOAD_ERR_INI_SIZE: //uploaded file exceeds the upload_max_filesize directive in php.ini 327 $errmsg = __('File too big', $dom); 386 $fileExtension = FileUtil::getExtension($fileName, false); 387 if (in_array($fileExtension, $this->imageFileTypes) && $fileExtension != 'swf') { 388 // remove thumbnail images as wellTrustRoot.php https://github.com/kbjr/EasyOpenID.git | PHP | 461 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * LICENSE: See the COPYING file included in this distribution. 8 * 14 15require_once OPENID_DIRECTORY.'Auth/OpenID/Discover.php'; 16class-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 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.4route.php https://github.com/ymtn/core.git | PHP | 589 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 15 * // This route will match when <path> is anything 16 * Route::set('file', '<path>', array('path' => '.*')); 17 * 24 * // This route only requires the <file> key 25 * Route::set('file', '(<path>/)<file>(.<format>)', array('path' => '.*', 'format' => '\w+')); 26 * 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 array 471 * 472 * // Using the "default" route: "users/profile/10" 473 * $route->uri(array( 474 * 'controller' => 'users', 475 * 'action' => 'profile', 476 * 'id' => '10'rpcconsole.cpp https://gitlab.com/Quetzalcoatl/VekitaCoin | C++ | 433 lines
2// Distributed under the MIT/X11 software license, see the accompanying 3// file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 195#ifndef Q_OS_MAC 196 ui->openDebugLogfileButton->setIcon(QIcon(":/icons/export")); 197 ui->showCLOptionsButton->setIcon(QIcon(":/icons/options")); 417 418void RPCConsole::on_openDebugLogfileButton_clicked() 419{ 419{ 420 GUIUtil::openDebugLogfile(); 421}Location.js https://github.com/mengu/grooxdoo.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.File.php https://github.com/mwturnage/frapi-1.git | PHP | 473 lines
19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $ 21 */ 33 * Reads $length number of bytes at the current position in the 34 * file and advances the file pointer. 35 * 42 /** 43 * Sets the file position indicator and advances the file pointer. 44 * The new position, measured in bytes from the beginning of the file, 147 * Reads an integer from the current position in the file 148 * and advances the file pointer. 149 * 306 * Returns a variable-length integer from the current 307 * position in the file and advances the file pointer. 308 *transformation.php https://github.com/Yannix/zetacomponents.git | PHP | 417 lines
221 { 222 throw new ezcBaseFilePermissionException( $fileIn, ezcBaseFileException::READ ); 223 } 225 // Start atomic file operation 226 $fileTmp = tempnam( dirname( $fileOut ) . DIRECTORY_SEPARATOR, '.'. basename( $fileOut ) ); 227 copy( $fileIn, $fileTmp ); 319 } 320 if ( file_exists( $fileTmp ) ) 321 { 340 unlink( $fileTmp ); 341 throw new ezcImageFileNotProcessableException( $fileOut, 'The file exists and could not be unlinked.' ); 342 } 346 unlink( $fileTmp ); 347 throw new ezcImageFileNotProcessableException( $fileOut, "The temporary file {$fileTmp} could not be renamed to {$fileOut}." ); 348 }ExtensionServiceTest.php https://github.com/TYPO3/TYPO3.CMS.git | PHP | 367 lines
1<?php 2 5/* 6 * This file is part of the TYPO3 CMS project. 7 * 12 * For the full copyright and license information, please read the 13 * LICENSE.txt file that was distributed with this source code. 14 * 20use Prophecy\Argument; 21use Prophecy\PhpUnit\ProphecyTrait; 22use Prophecy\Prophecy\ObjectProphecy;install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
96 try{ 97 require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ; 98 $mail = new PHPMailer(true) ; 305 foreach($countries as $c) { 306 $cities_json = osc_file_get_contents('http://geo.osclass.org/geo.download.php?action=city&country=' . urlencode($c->name) . '®ion=' . urlencode(implode(',', $region)) . '&term='); 307 $cities = json_decode($cities_json); 338 339 $countries_json = osc_file_get_contents('http://geo.osclass.org/geo.download.php?action=country&term='. urlencode(implode(',', $country)) . '&install=true&version='.osc_version() ); 340 $countries = json_decode($countries_json); 358 foreach($countries as $c) { 359 $cities_json = osc_file_get_contents('http://geo.osclass.org/geo.download.php?action=city&country=' . urlencode($c->name) . '&term=' . urlencode(implode(',', $city))); 360 $cities = json_decode($cities_json); 362 foreach($cities as $ci) { 363 $regions_json = osc_file_get_contents('http://geo.osclass.org/geo.download.php?action=region&country=&id=' . $ci->region_id); 364 $regions = json_decode($regions_json);Value.php https://github.com/sitengine/sitengine.git | PHP | 401 lines
1<?php 2/** 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Value.php 12721 2008-11-20 18:21:58Z matthew $ 21 */ 24/** Zend_XmlRpc_Value_Exception */ 25require_once 'Zend/XmlRpc/Value/Exception.php'; 26 27/** Zend_XmlRpc_Value_Scalar */ 28require_once 'Zend/XmlRpc/Value/Scalar.php'; 29 30/** Zend_XmlRpc_Value_Base64 */ 31require_once 'Zend/XmlRpc/Value/Base64.php'; 32Value.php https://github.com/doctoralex/ch3-dev-preview.git | PHP | 401 lines
1<?php 2/** 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Value.php 12720 2008-11-20 18:20:20Z matthew $ 21 */ 24/** Zend_XmlRpc_Value_Exception */ 25require_once 'Zend/XmlRpc/Value/Exception.php'; 26 27/** Zend_XmlRpc_Value_Scalar */ 28require_once 'Zend/XmlRpc/Value/Scalar.php'; 29 30/** Zend_XmlRpc_Value_Base64 */ 31require_once 'Zend/XmlRpc/Value/Base64.php'; 32class-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
331foreach ($ENCHANT_DLLS as $filename) { 332 copy($php_build_dir . '/bin/' . $filename, "$dist_dir/" . basename($filename)); 333} 402 $full_path = $directory . '/' . $file; 403 if($file != '.' && $file != '..' && $file != '.svn' && is_dir($full_path)) { 404 if ($file == 'tests' || $file == 'examples') { 430 foreach (new DirectoryIterator($path_to_phar . '/phar') as $file) { 431 if ($file->isDir() || $file == 'phar.php') { 432 continue; 435 echo 'adding ', $file, "\n"; 436 $phar[(string) $file] = file_get_contents($path_to_phar. '/phar/' . $file); 437 } 495 496 /* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar) 497 * broken out of the tarballs */PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
170##~ request.POST -> request.form 171##~ request.FILES -> request.files 172##~ request.COOKIES -> request.cookies 319 import newestFiles 320 newestFiles.NewestFiles(self.request, self.response) 321 371 "__info__" : __info__, 372 "filesystemencoding": sys.getfilesystemencoding(), 373 "username" : self.request.environ["REMOTE_USER"], 424 self.environ = environ 425 self.filename = filename 426 428 429 #~ print "init", filename 430index.php https://github.com/hregis/dolibarr.git | PHP | 427 lines
22/** 23 * \file htdocs/fourn/commande/index.php 24 * \ingroup commande fournisseur 28require '../../main.inc.php'; 29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; 30require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php'; 329 print '<td width="16" class="right nobordernopadding hideonsmartphone">'; 330 $filename = dol_sanitizeFileName($obj->ref); 331 $filedir = $conf->commande->dir_output.'/'.dol_sanitizeFileName($obj->ref); 332 $urlsource = $_SERVER['PHP_SELF'].'?id='.$obj->rowid; 333 print $formfile->getDocumentsLink($commandestatic->element, $filename, $filedir); 334 print '</td></tr></table>'; 401$urlsource=$_SERVER['PHP_SELF'].'?id='.$obj->rowid; 402print $formfile->getDocumentsLink($commandestatic->element, $filename, $filedir); 403print '</td></tr></table>';AclVoterTest.php https://gitlab.com/TouirMohamedMarwen/Symfony2 | PHP | 432 lines
1<?php 2 3/* 4 * This file is part of the Symfony package. 5 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 22 23class AclVoterTest extends \PHPUnit_Framework_TestCase 24{bcm_umi_nand.c https://github.com/mstsirkin/kvm.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* 14 15/* ---- Include Files ---------------------------------------------------- */ 16#include <linux/module.h>instances.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 244 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 25 26require('../config.php'); 27 44 45$PAGE->set_url('/enrol/instances.php', array('id'=>$course->id)); 46$PAGE->set_pagelayout('admin'); 104 echo $OUTPUT->header(); 105 $yesurl = new moodle_url('/enrol/instances.php', array('id'=>$course->id, 'action'=>'delete', 'instance'=>$instance->id, 'confirm'=>1,'sesskey'=>sesskey())); 106 $displayname = $plugin->get_instance_name($instance); 158$icount = count($instances); 159$url = new moodle_url('/enrol/instances.php', array('sesskey'=>sesskey(), 'id'=>$course->id)); 160foreach ($instances as $instance) {wp-settings.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 323 lines
5 * 6 * Allows for some configuration in wp-config.php (see default-constants.php) 7 * 7 * 8 * @internal This file must be parsable by PHP4. 9 * 61if ( WP_CACHE ) 62 WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' ); 63 266$locale = get_locale(); 267$locale_file = WP_LANG_DIR . "/$locale.php"; 268if ( ( 0 === validate_file( $locale ) ) && is_readable( $locale_file ) ) 283if ( ! defined( 'WP_INSTALLING' ) || 'wp-activate.php' === $pagenow ) { 284 if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists( STYLESHEETPATH . '/functions.php' ) ) 285 include( STYLESHEETPATH . '/functions.php' );behat_config_manager.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 279 lines
54 * @param string $component Restricts the obtained steps definitions to the specified component 55 * @param string $testsrunner If the config file will be used to run tests 56 * @return void 65 // Alternative for steps definitions filtering, one for each user. 66 $configfilepath = self::get_steps_list_config_filepath(); 67 } 101 if (!file_put_contents($configfilepath, $contents)) { 102 behat_error(BEHAT_EXITCODE_PERMISSIONS, 'File ' . $configfilepath . ' can not be created'); 103 } 133 134 // All behat_*.php inside behat_config_manager::get_behat_tests_path() are added as steps definitions files. 135 foreach ($regite as $file) { 135 foreach ($regite as $file) { 136 $key = $file->getBasename('.php'); 137 $stepsdefinitions[$key] = $file->getPathname();function_scope.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 444 lines
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 | 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 | 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 +----------------------------------------------------------------------+ 25#include "hphp/compiler/analysis/block_scope.h" 26#include "hphp/compiler/option.h" 27#include "hphp/compiler/json.h" 74 const std::string &docComment, 75 FileScopePtr file, 76 const std::vector<UserAttributePtr> &attrs,Abstract.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 456 lines
1<?php 2/** 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 24 */ 25require_once 'Zend/Validate/Interface.php'; 26 151 if (!isset($this->_messageTemplates[$messageKey])) { 152 require_once 'Zend/Validate/Exception.php'; 153 throw new Zend_Validate_Exception("No message template exists for key '$messageKey'"); 193 */ 194 require_once 'Zend/Validate/Exception.php'; 195 throw new Zend_Validate_Exception("No property exists by the name '$property'"); 330 } else { 331 require_once 'Zend/Validate/Exception.php'; 332 throw new Zend_Validate_Exception('Invalid translator specified');index.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 336 lines
1<?php 2 15 16require_once('../../../config.php'); 17require_once($CFG->libdir.'/adminlib.php'); 96 97<form method="post" action="index.php"> 98 <div> 98 <div> 99 <label class="accesshide" for="keyword_el"><?php print_string('spamkeyword', 'tool_spamcleaner') ?></label> 100 <input type="text" name="keyword" id="keyword_el" value="<?php p($keyword) ?>" /> 100 <input type="text" name="keyword" id="keyword_el" value="<?php p($keyword) ?>" /> 101 <input type="hidden" name="sesskey" value="<?php echo sesskey();?>" /> 102 <input type="submit" value="<?php echo get_string('spamsearch', 'tool_spamcleaner')?>" /> 104</form> 105<p><?php echo get_string('spameg', 'tool_spamcleaner');?></p> 106PropelPager.php https://github.com/1989gaurav/Propel.git | PHP | 597 lines
1<?php 2 3/** 4 * This file is part of the Propel package. 5 * For the full copyright and license information, please view the LICENSE 5 * For the full copyright and license information, please view the LICENSE 6 * file that was distributed with this source code. 7 * 15 * 16 * require_once 'propel/util/PropelPager.php'; 17 * require_once 'PEACH/Propel/Poem/poemPeer.php';2012-01-202.html https://gitlab.com/bernagg/TI | HTML | 359 lines
15 <META http-equiv=Content-Type content="text-html; charset=UTF-8"> 16 <META NAME="description" CONTENT="YouTubeMP3 is advanced youtube to mp3 converter which allows you to convert and download YouTube videos. For example you can use YouTubeMP3 to convert your favorite YouTube videos to mp3 files!"> 17 <META NAME="keywords" CONTENT="youtube, mp3, converter, free, download, online"> 44 <tr><td width="100%"></td><td> 45 <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FYoutubeMP3tv%2F220993711269458&width=270&colorscheme=light&show_faces=false&border_color&stream=false&header=false&height=62&layout=button_count" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:270px; height:21px;" allowTransparency="true"></iframe> 46 <!-- <iframe src="http://www.facebook.com/plugins/like.php?app_id=147297765356025&href=http%3A%2F%2Fyoutubemp3.tv%2F&send=false&layout=button_count&width=450&show_faces=false&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe> --> 169var ext_not_allowed=''; 170var max_upload_files='1'; 171var descr_mode=''; 248 <h1 style="font-size:12px"><a href="http://www.youtubemp3.tv/" class="link_mp3">YouTube<span>MP3</span></a> is advanced youtube to mp3 converter which allows you to convert and download YouTube videos free of charge. 249 For example you can use <a href="http://www.youtubemp3.tv/" class="link_mp3">YouTube<span>MP3</span></a> to convert your favorite YouTube videos to mp3 files!</h1> 250 </p> 271<Script type="text/javascript"> 272//InitUploadSelector('files_list','my_file_element','1'); 273//document.getElementById('progress_frame').allowTransparency="true";jqplot.pointLabels.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 362 lines
8 * jqPlot is currently available for use in all personal or commercial projects 9 * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL 10 * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can 14 * know of any substantial use of jqPlot. You can reach the author at: 15 * chris at jqplot dot com or see http://www.jqplot.com/info.php . 16 * 17 * If you are feeling kind and generous, consider supporting the project by 18 * making a donation at: http://www.jqplot.com/donate.php . 19 * 36 * To use this plugin, include the js 37 * file in your source: 38 *Core.class.php https://gitlab.com/adamlwalker/generatedata | PHP | 511 lines
25 private static $maxDemoModeRows = 100; 26 private static $defaultLanguageFile = "en"; 27 private static $defaultExportType = "HTML"; 108 public static function init($runtimeContext = "ui") { 109 self::loadSettingsFile(); 110 error_reporting(self::$errorReporting); 157 private static function loadSettingsFile() { 158 $settingsFilePath = realpath(__DIR__ . "/../../settings.php"); 159 if (file_exists($settingsFilePath)) { 186 if (isset($defaultLanguageFile)) { 187 self::$defaultLanguageFile = $defaultLanguageFile; 188 } 313 /** 314 * Full installation of the program is determined by (a) the settings.php file existing and (b) 315 * the "installationComplete" setting value existing in the database. Note: this function assumesjquery.mask.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 281 lines
9 * 10 * The MIT License (http://www.opensource.org/licenses/mit-license.php) 11 * 13 * obtaining a copy of this software and associated documentation 14 * files (the "Software"), to deal in the Software without 15 * restriction, including without limitation the rights to use,index.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 428 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 25 26require('../../config.php'); 27require_once($CFG->libdir . '/completionlib.php'); 66 67$url = new moodle_url('/report/progress/index.php', array('course'=>$id)); 68if ($sort !== '') { 92// nothing to display (no users or no activities) 93$reportsurl = $CFG->wwwroot.'/course/report.php?id='.$course->id; 94$completion = new completion_info($course); 134 $shortname = format_string($course->shortname, true, array('context' => $context)); 135 header('Content-Disposition: attachment; filename=progress.'. 136 preg_replace('/[^a-z0-9-]/','_',textlib::strtolower(strip_tags($shortname))).'.csv'); 331 '<a href="'.$CFG->wwwroot.'/mod/'.$activity->modname. 332 '/view.php?id='.$activity->id.'" title="' . $formattedactivityname . '">'. 333 '<img src="'.$OUTPUT->pix_url('icon', $activity->modname).'" alt="'.index.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 305 lines
87<br> 88<span class="element"><a href="http://sourceforge.net/projects/jasperreports/files/jasperreports/JasperReports%203.7.4/jasperreports-3.7.4-project.zip/download" target="_blank">Download All Sample Source Files</a></span> 89<br> 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%"> 146</td><td colspan="2"><span class="description"> 147How to fill a report using data from an XLS file. 148 </span></td> 188Data sources are very useful when data come as a set of structured records, either extracted from a 189relational database, or loaded from specific files. In order to become more familiar with data source 190objects please consult the <a href="../datasources.html#datasources" target="_blank"><span class="element">Data Sources</span></a> section. 191<br> 192When reporting data is stored in Microsoft Excel files (XLS), the 193<span class="element"><a href="http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/data/JRXlsDataSource.html" target="_blank">JRXlsDataSource</a></span> data sourceTest.php https://bitbucket.org/Nemcio/kloxo-mr.git | PHP | 275 lines
6 * 7 * LICENSE: This source file is subject to version 3.0 of the PHP license 8 * that is available through the world-wide-web at the following URI: 18 * @copyright 1997-2006 The PHP Group 19 * @license http://www.php.net/license/3_0.txt PHP License 3.0 20 * @version CVS: $Id: Test.php,v 1.1.1.1 2009/05/08 18:30:19 root Exp $ 81 'shortopt' => 'u', 82 'doc' => 'Search parameters for AllTests.php, and use that to run phpunit-based tests', 83 ), 85 'doc' => '[testfile|dir ...] 86Run regression tests with PHP\'s regression testing script (run-tests.php).', 87 ), 138 } 139 $filelist = $package->getFilelist(); 140 foreach ($filelist as $name => $atts) {sfValidatorBaseTest.php https://github.com/bheneka/gitta.git | PHP | 246 lines
1<?php 2 3/* 4 * This file is part of the symfony package. 5 * (c) Fabien Potencier <fabien.potencier@symfony-project.com> 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 10 11require_once(dirname(__FILE__).'/../../bootstrap/unit.php'); 12Profiler.php https://github.com/kervin/kyzstudio.git | PHP | 471 lines
19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Profiler.php 20096 2010-01-06 02:05:09Z bkarwin $ 21 */ 129 /** 130 * Enable or disable the profiler. If $enable is false, the profiler 131 * is disabled and will not log any queries sent to it. 320 #require_once 'Zend/Db/Profiler/Exception.php'; 321 throw new Zend_Db_Profiler_Exception("Query with profiler handle '$queryId' has already ended."); 322 } 362 #require_once 'Zend/Db/Profiler/Exception.php'; 363 throw new Zend_Db_Profiler_Exception("Query handle '$queryId' not found in profiler log."); 364 } 369 /** 370 * Get an array of query profiles (Zend_Db_Profiler_Query objects). If $queryType 371 * is set to one of the Zend_Db_Profiler::* constants then only queries of thatshell.test.php https://github.com/cpfarher/pruebascake.git | PHP | 501 lines
15 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. 16 * @link http://cakephp.org CakePHP Project 17 * @package cake 409 $path = TMP . 'shell_test'; 410 $file = $path . DS . 'file1.php'; 411 460 $path = TMP . 'shell_test'; 461 $file = $path . DS . 'file1.php'; 462 470 $this->assertTrue(file_exists($file)); 471 $this->assertEqual(file_get_contents($file), $contents); 472 495 $this->assertTrue(file_exists($file)); 496 $this->assertEqual(file_get_contents($file), $contents); 497string-util.cpp https://github.com/tstarling/hiphop-php.git | C++ | 461 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#include "hphp/runtime/base/string-util.h" 18#include <algorithm>jlparameter.php https://gitlab.com/julienv/joomleague | PHP | 552 lines
17 /** 18 * name of the configuration file 19 * 130 * @param string $data The raw parms text. 131 * @param string $path Path to the XML setup file. 132 * 143 // Set base path. 144 $this->_elementPath[] = dirname(__FILE__) . '/parameter/element'; 145 487 488 $file = JFilterInput::getInstance()->clean(str_replace('_', DS, $type) . '.php', 'path'); 489 490 jimport('joomla.filesystem.path'); 491 if ($elementFile = JPath::find($dirs, $file)) 492 {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); 188 * @param string $action 'view', 'update', 'add' or 'delete', possibly followed by another word to clarify. 189 * @param string $url The file and parameters used to see the results of the action 190 * @param string $info Additional description information 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) {test.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'); 148require_once('./profiler.inc'); 149$profiler = new Profiler(true,true); 150 152 'caching' => true, 153 'cacheDir' => '/tmp/phpgacl_cache', 154 'lifeTime' => 100 162 163$profiler->startTimer( "acl_query()"); 164//Test memory caching.filing_costs.php https://bitbucket.org/amitholkar/zenfile-18-05.git | PHP | 198 lines
39 ?> 40 <div class="finance_country <?php echo $status ?> custom_accordion" ref="filing_cost_country_<?php echo $invoice->id ?>"><?php echo $invoice->country ?></div> 41 96 <input type="hidden" name="additional_fee_id[]" value="<?php echo $additional_fee->additional_fee_id ?>"> 97 <?php echo $currency_sign ?><input title="<?php echo $additional_fee->additional_fee_description_by_fa ?>" name="additional_fee_corrected_by_pm[]" value="<?php echo $additional_fee_value ?>" type="text"/> 98 </div> 116 <?php foreach($invoice->invoices as $file) { ?> 117 <a href="<?php echo base_url() ?>cases/download_file/<?php echo $file->file_id ?>"><?php echo $file->filename ?></a> 118 <?php } ?> 169 <div class="finance_input float_left"> 170 <?php echo $currency_sign ?><input name="estimated_by_pm_additional_fee" value="<?php echo $estimated_by_pm_additional_fee ?>" readonly="true" type="text"/> 171 </div> 178 <div class="finance_input float_left"> 179 <?php echo $currency_sign ?><input readonly="true" value="<?php echo $estimate_summ ?>" type="text"/> 180 </div>SimpleHeaderSet.php https://bitbucket.org/amitholkar/zenfile-18-05.git | PHP | 387 lines
1<?php 2 3/* 4 * This file is part of SwiftMailer. 5 * (c) 2004-2009 Chris Corbyn 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */CakePdf.php https://bitbucket.org/vsposato/vivo-tools.git | PHP | 720 lines
1<?php 2App::uses('File', 'Utility'); 208/** 209 * Create pdf content from html. Can be used to write to file or with PdfView to display 210 * 261/** 262 * Writes output to file 263 * 263 * 264 * @param srting $destination Absolute file path to write to 265 * @param boolean $create Create file if it does not exist (if true) 269 $output = $this->output($html); 270 $File = new File($destination, $create); 271 return $File->write($output) && $File->close();template.php https://bitbucket.org/frazras/higgler.git | PHP | 384 lines
1<?php 2 2 3require_once dirname(__FILE__) . '/includes/alpha.inc'; 4require_once dirname(__FILE__) . '/includes/base.inc';update.php https://bitbucket.org/sephora99/kmirock.git | PHP | 420 lines
27 include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version 28 $php_version = phpversion(); 29 61 'version' => $wp_version, 62 'php' => $php_version, 63 'locale' => $locale, 146 // Check for updated every 60 minutes if hitting update pages; else, check every 12 hours. 147 $timeout = in_array( current_filter(), array( 'load-plugins.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200; 148 $time_not_changed = isset( $current->last_checked ) && $timeout > ( time() - $current->last_checked ); 225 // Check for updated every 60 minutes if hitting update pages; else, check every 12 hours. 226 $timeout = in_array( current_filter(), array( 'load-themes.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200; 227 $time_not_changed = isset( $last_update->last_checked ) && $timeout > ( time( ) - $last_update->last_checked ); 230 $checked = array(); 231 $exclude_fields = array('Template Files', 'Stylesheet Files', 'Status', 'Theme Root', 'Theme Root URI', 'Template Dir', 'Stylesheet Dir', 'Description', 'Tags', 'Screenshot'); 232wpsc-swfupload-handlers.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 348 lines
43 else { 44 jQuery('#media-item-' + fileObj.id).load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()}); 45 } 53 // Replace the original filename with the new (unique) one assigned during upload 54 jQuery('#media-item-' + fileObj.id + ' .filename.original').replaceWith(jQuery('#media-item-' + fileObj.id + ' .filename.new')); 55 233function wpsc_wpFileError(fileObj, message) { 234 jQuery('#media-item-' + fileObj.id + ' .filename').after('<div class="file-error"><button type="button" id="dismiss-' + fileObj.id + '" class="button dismiss">'+swfuploadL10n.dismiss+'</button>'+message+'</div>').siblings('.toggle').remove(); 235 jQuery('#dismiss-' + fileObj.id).click(function(){jQuery(this).parents('.media-item').slideUp(200, function(){jQuery(this).remove();})}); 244 fileQueued(fileObj); 245 wpFileError(fileObj, swfuploadL10n.file_exceeds_size_limit); 246 } 252 fileQueued(fileObj); 253 wpFileError(fileObj, swfuploadL10n.invalid_filetype); 254 }Key.php https://github.com/drobbins/s3db.git | PHP | 316 lines
1<?php 2/** 7 * 8 * PHP versions 4 and 5 9 * 9 * 10 * LICENSE: This source file is subject to version 3.0 of the PHP license 11 * that is available through the world-wide-web at the following URI: 11 * that is available through the world-wide-web at the following URI: 12 * http://www.php.net/license/3_0.txt. If you did not receive a copy of 13 * the PHP License and are unable to obtain it through the web, please 19 * @copyright 2005, 2006 Alexander Valyalkin 20 * @license http://www.php.net/license/3_0.txt PHP License 3.0 21 * @version 1.2.0b 89 * @copyright 2005, 2006 Alexander Valyalkin 90 * @license http://www.php.net/license/3_0.txt PHP License 3.0 91 * @link http://pear.php.net/package/Crypt_RSAGraph.php https://github.com/studioskylab/Docblox.git | PHP | 259 lines
111 $sub_qry = $xpath->query( 112 "/project/file/interface[@namespace='$full_namespace_name']|/project/file/class[@namespace='$full_namespace_name']" 113 ); 152 { 153 $filename = $transformation->getTransformer()->getTarget() . DIRECTORY_SEPARATOR . $transformation->getArtifact(); 154 $graph = DocBlox_GraphViz_Graph::create() 170 // link all extended relations 171 $qry = $xpath->query('/project/file/interface[extends]|/project/file/class[extends]'); 172 208 // link all implemented relations 209 $qry = $xpath->query('/project/file/interface[imports]|/project/file/class[implements]'); 210 248 249 $svg = simplexml_load_file($filename); 250 $script = $svg->addChild('script');WCCitation.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 326 lines
1<?php 2/** 5 * @ingroup WikiCitation 6 * @file 7 */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 ------------------------------------------------------------------------- 12 13 This file is part of GLPI. 14