100+ results results for 'php sin repo:maatao/estrutura-b-sica-doctrine' (1807 ms)
1<?php 2 369 // developer, making repopulating old forms and the like much more 370 // convenient, since the request's previous input is available. 371 return Arr::get($input, $key, $default);DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
30 * under the [CDDL or GPL Version 2] license." If you do not indicate a 31 * single choice of license, a recipient has the option to distribute 32 * your version of this file under either the CDDL, the GPL Version 2 or 41 */ 42package org.netbeans.modules.php.project.connections.sync.diff; 43 61import org.netbeans.api.diff.StreamSource; 62import org.netbeans.modules.php.api.util.StringUtils; 63import org.netbeans.modules.php.project.connections.RemoteClient; 63import org.netbeans.modules.php.project.connections.RemoteClient; 64import org.netbeans.modules.php.project.connections.RemoteException; 65import org.netbeans.modules.php.project.connections.TmpLocalFile; 65import org.netbeans.modules.php.project.connections.TmpLocalFile; 66import org.netbeans.modules.php.project.connections.sync.SyncItem; 67import org.netbeans.modules.php.project.connections.transfer.TransferFile;Url.php https://gitlab.com/x33n/respond | PHP | 548 lines
1<?php 2 490 491 // Passing a URL with a scheme overrides everything 492 if ($buffer = $url->getScheme()) {Font.php https://gitlab.com/adamlwalker/generatedata | PHP | 640 lines
22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_Style 34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 42 const UNDERLINE_SINGLE = 'single'; 43 const UNDERLINE_SINGLEACCOUNTING = 'singleAccounting'; 44 153 $this->_strikethrough = NULL; 154 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional); 155 } else { 155 } else { 156 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); 157 }Pager.php https://github.com/cawago/ci_campusync_auth.git | PHP | 576 lines
1<?php 2/* 11 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 12 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 13 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 13 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 14 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 15 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 18 * and is licensed under the LGPL. For more information, see 19 * <http://www.phpdoctrine.org>. 20 */ 27 * @subpackage Pager 28 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 29 * @version $Revision$ 29 * @version $Revision$ 30 * @link www.phpdoctrine.org 31 * @since 0.9Command.php https://github.com/nicnocquee/PPION-Website.git | PHP | 512 lines
1<?php 2 140 141 if ($input->isInteractive()) { 142 $this->interact($input, $output); 378 $name, 379 $_SERVER['PHP_SELF'].' '.$name 380 );rewrite.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 425 lines
1<?php 2 17 * 18 * @since 1.8.0 19 * @var string 25 * 26 * @since 1.8.3 27 * @var array 87 //TODO: Watch out for ticket http://trac.wordpress.org/ticket/6627 88 if ($wp_rewrite->using_permalinks() && $this->options['usePermalinks'] ) { 89 $post = &get_post(get_the_ID()); 151 152 if ( !is_singular() ) 153 $query = htmlspecialchars( add_query_arg($args, get_permalink( get_the_ID() )) ); 211 //TODO: I could parse for the Picture name , gallery etc, but this increase the queries 212 //TODO: Class nggdb need to cache the query for the nggfunctions.php 213StorageServiceSettings.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 485 lines
1<?php 2 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 Corporation 39 * @version Release: @package_version@ 40 * @link https://github.com/windowsazure/azure-sdk-for-php 41 */Particle3DTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 480 lines
21 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 31USING_NS_CC; 32 78 listener->onTouchesEnded = CC_CALLBACK_2(Particle3DTestDemo::onTouchesEnded, this); 79 _eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this); 80 105 _angle -= CC_DEGREES_TO_RADIANS(delta.x); 106 _camera->setPosition3D(Vec3(100.0f * sinf(_angle), 0.0f, 100.0f * cosf(_angle))); 107 _camera->lookAt(Vec3(0.0f, 0.0f, 0.0f), Vec3(0.0f, 1.0f, 0.0f));File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
1<?php 2/** 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 */ 190 */ 191 if (PHP_INT_SIZE > 4) { 192 $str = $this->_fread(8); 218 */ 219 if (PHP_INT_SIZE > 4) { 220 settype($value, 'integer'); 247 if ($wordHigh & (int)0x80000000) { 248 // It's a negative value since the highest bit is set 249 if ($wordHigh == (int)0xFFFFFFFF && ($wordLow & (int)0x80000000)) { 251 } else { 252 require_once 'Zend/Search/Lucene/Exception.php'; 253 throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');twitter-timeline.php https://gitlab.com/hunt9310/ras | PHP | 470 lines
1<?php 2 26 'twitter_timeline', 27 /** This filter is documented in modules/widgets/facebook-likebox.php */ 28 apply_filters( 'jetpack_widget_name', esc_html__( 'Twitter Timeline', 'jetpack' ) ), 63 public function admin_scripts( $hook ) { 64 // This is still 'widgets.php' when managing widgets via the Customizer. 65 if ( 'widgets.php' === $hook ) { 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']; 133 * 134 * @since 3.4.0 135 * 145 146 /** This action is documented in modules/widgets/social-media-icons.php */ 147 do_action( 'jetpack_bump_stats_extras', 'widget', 'twitter_timeline' );ImageMagick.php https://gitlab.com/yousafsyed/easternglamor | PHP | 480 lines
1<?php 2/** 64 /** 65 * Open image for processing 66 * 237 * @throws \Exception 238 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 239 * @SuppressWarnings(PHPMD.NPathComplexity) 327 * @return void 328 * @throws \Exception If some of dependencies are missing 329 */ 332 if (!class_exists('\Imagick', false)) { 333 throw new \Exception("Required PHP extension 'Imagick' was not loaded."); 334 }eventapi.html.md https://gitlab.com/ggsaavedra/PredictionIO | Markdown | 412 lines
109 </div> 110 <div data-tab="PHP SDK" data-lang="php"> 111```php 112<?php 113 require_once("vendor/autoload.php"); 114 204 </div> 205 <div data-tab="PHP SDK" data-lang="php"> 206```php 338 339INFO: Instead of using `curl`, you can also install JSON browser plugins such as **JSONView** to pretty-print the JSON on your browser. With the browser plugin you can make the `GET` queries below by passing in the URL. Plugins like **Postman - REST Client** provide a more advanced interface for making queries. 340 377 378WARNING: If you are using <code>curl</code> with the <code>&</code> symbol, you should quote the entire URL by using single or double quotes. 379Advertiser.php https://bitbucket.org/blackriver/openx.git | PHP | 371 lines
1<?php 2 35// Required classes 36require_once MAX_PATH . '/lib/OA/Dal/Statistics.php'; 37 50 * @param date $oEndDate The date to which to get statistics (inclusive) 51 * @param bool $localTZ Should stats be using the manager TZ or UTC? 52 * 109 * @param date $oEndDate The date to which to get statistics (inclusive) 110 * @param bool $localTZ Should stats be using the manager TZ or UTC? 111 * 168 * @param date $oEndDate The date to which to get statistics (inclusive) 169 * @param bool $localTZ Should stats be using the manager TZ or UTC? 170 * 231 * @param date $oEndDate The date to which to get statistics (inclusive) 232 * @param bool $localTZ Should stats be using the manager TZ or UTC? 233 *WizardController.php https://github.com/rgranadino/magento-mirror.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) 2011 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 33 { 34 if (Mage::isInstalled()) { 35 $this->setFlag('', self::FLAG_NO_DISPATCH, true); 49 { 50 return Mage::getSingleton('install/installer'); 51 } 59 { 60 return Mage::getSingleton('install/wizard'); 61 }arr.php https://gitlab.com/ken3/bluSky | PHP | 602 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 69 /** 70 * Gets a value from an array using a dot separated path. 71 * 74 * 75 * Using a wildcard "*" will search intermediate arrays and return an array. 76 * 79 * 80 * // Using an array of keys 81 * $colors = Arr::path($array, array('theme', '*', 'color')); 105 { 106 // No need to do extra processing 107 return $array[$path]; 260 /** 261 * Retrieve a single key from an array. If the key does not exist in the 262 * array, the default value will be returned instead.MaildirFolderTest.php https://github.com/MarcelloDuarte/zf2.git | PHP | 444 lines
1<?php 2/** 36 */ 37class MaildirFolderTest extends \PHPUnit_Framework_TestCase 38{ 203 try { 204 // explicit call of __toString() needed for PHP < 5.2 205 $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder'); 235 236 // explicit call of __toString() needed for PHP < 5.2 237 $found_folders[$folder->__toString()] = $localName; 257 258 // explicit call of __toString() needed for PHP < 5.2 259 $found_folders[$folder->__toString()] = $localName; 277 278 // explicit call of __toString() needed for PHP < 5.2 279 $found_folders[$folder->__toString()] = $localName;bltGrHairs.c https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git.git | C | 544 lines
14 * of Lucent Technologies any of their entities not be used in 15 * advertising or publicity pertaining to distribution of the software 16 * without specific, written prior permission. 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 12 | under the terms of the GNU Affero General Public License | 13 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | 14 | | 20 | You should have received a copy of the GNU Affero General Public | 21 | License and the CiviCRM Licensing Exception along | 22 | with this program; if not, contact CiviCRM LLC | 23 | at info[AT]civicrm[DOT]org. If you have questions about the | 24 | GNU Affero General Public License or the licensing of CiviCRM, | 25 | see the CiviCRM license FAQ at http://civicrm.org/licensing | 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'; 40CakeRoute.php https://github.com/gustavor/lore.git | PHP | 506 lines
1<?php 2/** 2/** 3 * A single Route used by the Router to connect requests to 4 * parameter maps. 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) 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)WizardController.php https://bitbucket.org/sevenly/magento-ce.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 */ 33 { 34 if (Mage::isInstalled()) { 35 $this->setFlag('', self::FLAG_NO_DISPATCH, true); 49 { 50 return Mage::getSingleton('install/installer'); 51 } 59 { 60 return Mage::getSingleton('install/wizard'); 61 }SqlBase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 415 lines
1<?php 2 8use Drupal\Core\Pager\PagerManagerInterface; 9use Drupal\Core\Pager\PagerParametersInterface; 10use Drupal\Core\Plugin\ContainerFactoryPluginInterface; 27 * 28 * @var \Drupal\Core\Pager\PagerParametersInterface 29 */ 42 * The pager manager. 43 * @param \Drupal\Core\Pager\PagerParametersInterface $pager_parameters 44 * The pager parameters. 45 */ 46 public function __construct(array $configuration, $plugin_id, $plugin_definition, PagerManagerInterface $pager_manager, PagerParametersInterface $pager_parameters) { 47 parent::__construct($configuration, $plugin_id, $plugin_definition); 117 '#title' => $this->t('Pager ID'), 118 '#description' => $this->t("Unless you're experiencing problems with pagers related to this view, you should leave this at 0. If using multiple pagers on one page you may need to set this number to a higher value so as not to conflict within the ?page= array. Large values will add a lot of commas to your URLs, so avoid if possible."), 119 '#default_value' => $this->options['id'],class-wp-terms-list-table.php https://github.com/jimmytidey/jimmytidey.co.uk.git | PHP | 454 lines
1<?php 2/** 6 * @subpackage List_Table 7 * @since 3.1.0 8 * @access private 18 'plural' => 'tags', 19 'singular' => 'tag', 20 'screen' => isset( $args['screen'] ) ? $args['screen'] : null, 51 * 52 * @since 2.8.0 53 * 60 * 61 * @since 2.7.0 62 * @deprecated 2.8.0 Use edit_tags_per_page instead. 70 * 71 * @since 2.8.0 72 *Resource.php https://github.com/rico/flextrine.git | PHP | 467 lines
1<?php 2/** 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 47 /** 48 * @var string Default resource/component to use when using object registry 49 */ 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/Riges/KawaiViewModel.git | PHP | 468 lines
25 */ 26require_once 'Zend/CodeGenerator/Php/Abstract.php'; 27 30 */ 31require_once 'Zend/CodeGenerator/Php/Class.php'; 32 38 */ 39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract 40{ 86 if ($fileName == '') { 87 require_once 'Zend/CodeGenerator/Php/Exception.php'; 88 throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.'); 113 if ( ($realpath = Zend_Reflection_File::findRealpathInIncludePath($filePath)) === false) { 114 require_once 'Zend/CodeGenerator/Php/Exception.php'; 115 throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
1<?php 2/** 25$_lang['preview'] = 'Tinjauan'; 26$_lang['resource_access_message'] = 'Di sini Anda dapat memilih kelompok sumber daya ini milik.'; 27$_lang['resource_add_children_access_denied'] = 'Anda tidak memiliki izin untuk menciptakan sumber daya yang di lokasi ini.'; 88$_lang['resource_longtitle'] = 'Judul panjang'; 89$_lang['resource_longtitle_help'] = 'Ini adalah judul yang lebih panjang untuk sumber Anda. Ini berguna untuk mesin pencari, dan mungkin lebih deskriptif untuk sumber.'; 90$_lang['resource_menuindex'] = 'Menu indeks'; 92$_lang['resource_menutitle'] = 'Menu judul'; 93$_lang['resource_menutitle_help'] = 'Menu judul adalah bidang yang dapat Anda gunakan untuk menampilkan judul singkat untuk sumber daya dalam menu-menu snipet(s) Anda.'; 94$_lang['resource_new'] = 'Sumber daya baru'; 118$_lang['resource_summary'] = 'Ringkasan (introtext)'; 119$_lang['resource_summary_help'] = 'Sebuah ringkasan singkat dari sumber daya.'; 120$_lang['resource_syncsite'] = 'Cache kosong'; 147$_lang['symlink_create_here'] = 'Symlink'; 148$_lang['symlink_help'] = 'Alamat objek Anda ingin referensi dengan Symlink ini. Jika Anda ingin menunjuk ke sumber MODX yang ada, masukkan ID di sini.'; 149$_lang['symlink_message'] = 'Symlink adalah simbolik link ke sumber daya lain di situs Anda yang akan diteruskan tanpa mengubah URL.';lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
1<?php 2 120 'help' => 'Hur du hittar ditt Projekt-ID', 121 'missing' => 'Vänligen välj ett Projekt-ID', 122 ], 128 'not_found' => 'Det går inte att hitta de angivna inställningarna.', 129 'missing_model' => 'Inställningssidan saknar en modell-definition', 130 'update_success' => 'Inställningar för :name har uppdaterats', 141 'sender_email' => 'Avsändarens e-postadress', 142 'php_mail' => 'PHP mail', 143 'smtp' => 'SMTP', 200 'theme_label' => 'Installera tema', 201 'missing_plugin_name' => 'Välj ett tilläggsnamn att installera', 202 'missing_theme_name' => 'Vänligen specificera ett tema att installera.', 261 'details_upgrades' => 'Uppgraderingsguide', 262 'details_upgrades_missing' => 'Det finns inga uppgraderingsinstruktioner tillgängliga.', 263 'details_current_version' => 'Nuvarande version',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> 98 "You" (or "Your") shall mean an individual or Legal Entity 99 exercising permissions granted by this License. 100</p> 138 and issue tracking systems that are managed by, or on behalf of, the 139 Licensor for the purpose of discussing and improving the Work, but 140 excluding communication that is conspicuously marked or otherwise 242 PARTICULAR PURPOSE. You are solely responsible for determining the 243 appropriateness of using or redistributing the Work and assume any 244 risks associated with Your exercise of permissions under this License. 251 liable to You for damages, including any direct, indirect, special, 252 incidental, or consequential damages of any character arising as a 253 result of this License or out of the use or inability to use thecore.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 16 * @package app.Config 17 * @since CakePHP(tm) v 0.2.9 18 * @license http://www.opensource.org/licenses/mit-license.php MIT License 205 * 206 * - 'php' - Uses settings defined in your php.ini. 207 * - 'cake' - Saves session files in CakePHP's /tmp directory. 213 * 214 * To use database sessions, run the app/Config/Schema/sessions.php schema using 215 * the cake shell command: cake schema create Sessionspearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
28if ('/usr/share/php' != '@'.'include_path'.'@') { 29 ini_set('include_path', '/usr/share/php'); 30 $raw = false; 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); 132// this is used in the error handler to retrieve a relative path 133$_PEAR_PHPDIR = $config->get('php_dir'); 134$ui->setConfig($config); 166 ); 167 $config->set('php_dir', $pearbase . DIRECTORY_SEPARATOR . 'php'); 168 $config->set('data_dir', $pearbase . DIRECTORY_SEPARATOR . 'data'); 377 return "PEAR Version: ".$GLOBALS['pear_package_version']. 378 "\nPHP Version: ".phpversion(). 379 "\nZend Engine Version: ".zend_version().Resource.php https://github.com/ianbogda/FileZ.git | PHP | 467 lines
1<?php 2/** 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 47 /** 48 * @var string Default resource/component to use when using object registry 49 */ 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');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########################################################################## 22# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 23# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 24# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 186def maybe_encode(s, encoding='utf8'): 187 if isinstance(s, unicode): 188 s = s.encode(encoding) 196 looks for (if you have mod_auth_tkt installed, you don't need this 197 middleware, since Apache will set the environmental variables for 198 you). 303 def set_user_cookie(self, environ, userid, tokens, user_data): 304 if not isinstance(tokens, basestring): 305 tokens = ','.join(tokens)linear_solver.h https://gitlab.com/Namdhari/cgal-AnatoMeCo | C Header | 478 lines
24 * AUTHOR = Bruno Levy, 25 * TITLE = Numerical Methods for Digital Geometry Processing, 26 * BOOKTITLE =Israel Korea Bi-National Conference, 27 * YEAR=November 2005, 28 * URL=http://www.loria.fr/~levy/php/article.php?pub=../publications/papers/2005/Numerics 29 * } 99 100 // Solve using BICGSTAB solver with preconditioner 101 Preconditioned_solver preconditioned_solver ; 107 108 // On error, solve using BICGSTAB solver without preconditioner 109#ifdef DEBUG_TRACE 160 161 // Solve using Conjugate Gradient solver with preconditioner 162 Preconditioned_solver preconditioned_solver ;ClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
1<?php 2 39 * @author Jordi Boggiano <j.boggiano@seld.be> 40 * @see https://www.php-fig.org/psr/psr-0/ 41 * @see https://www.php-fig.org/psr/psr-4/ 58 private $classMapAuthoritative = false; 59 private $missingClasses = array(); 60 private $apcuPrefix; 366 } 367 if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { 368 return false; 376 377 $file = $this->findFileWithExtension($class, '.php'); 378 389 // Remember that this class does not exist. 390 $this->missingClasses[$class] = true; 391 }PersistentTokenBasedRememberMeServicesTest.php https://github.com/jdewit/symfony.git | PHP | 329 lines
1<?php 2 13 14use Symfony\Component\Security\Http\RememberMe\RememberMeServicesInterface; 15 26 27class PersistentTokenBasedRememberMeServicesTest extends \PHPUnit_Framework_TestCase 28{ 43 $this->assertNull($service->autoLogin($request)); 44 $this->assertTrue($request->attributes->get(RememberMeServicesInterface::COOKIE_ATTR_NAME)->isCleared()); 45 } 65 $this->assertNull($service->autoLogin($request)); 66 $this->assertTrue($request->attributes->get(RememberMeServicesInterface::COOKIE_ATTR_NAME)->isCleared()); 67 } 90 $this->assertNull($service->autoLogin($request)); 91 $this->assertTrue($request->attributes->has(RememberMeServicesInterface::COOKIE_ATTR_NAME)); 92 }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; 506 * 507 * @param string $single Single. 508 * @param string $plural Plural.CookieJar.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 441 lines
1<?php 2/** 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"; 35 48 * You can also choose, when returning more than one cookie, whether to get an array of strings 49 * (by passing Zend_Http_CookieJar::COOKIE_STRING_ARRAY) or one unified string for all cookies 50 * (by passing Zend_Http_CookieJar::COOKIE_STRING_CONCAT).bp-loader.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 487 lines
1<?php 2/** 32 * 33 * @since BuddyPress (1.6) 34 */ 42 * 43 * Most of them have reference functions located in bp-core-functions.php. 44 * The ones that don't can be accessed via their respective WordPress API's. 88 * 89 * @since BuddyPress (1.6) 90 * @var string 207 */ 208 public $is_single_item = false; 209 221 * 222 * @since BuddyPress (1.6) 223 *edit.php https://github.com/thisduck/wordpress.git | PHP | 294 lines
152 '<p>' . __('Managing Pages is very similar to managing Posts, and the screens can be customized in the same way.') . '</p>' . 153 '<p>' . __('You can also perform the same types of actions, including narrowing the list by using the filters, acting on a Page using the action links that appear when you hover over a row, or using the Bulk Actions menu to edit the metadata for multiple Pages at once.') . '</p>' . 154 '<p><strong>' . __('For more information:') . '</strong></p>' . 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'] ) 168 169<?php 170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?> 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']); 292 293<?php 294include('./admin-footer.php');view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
1<?php 2/** 14 * 15 * @since 1.5 16 */ 22 * @var \Joomla\Registry\Registry 23 * @since 1.6 24 */ 30 * @var JForm 31 * @since 1.6 32 */ 38 * @var JObject 39 * @since 1.6 40 */ 46 * @var string 47 * @since 1.6 48 * @deprecated 4.0 Variable not usedacpiphp_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" 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{ 131 * has info about the aPCI slot id and attention status. 132 * This descriptor must be freed using kfree when done. 133 */menu.php https://github.com/Manuite/FUEL-CMS.git | PHP | 438 lines
4<h2>Initializing the Class</h2> 5<p>Like most other classes in CodeIgniter, the Menu class is initialized in your controller using the <dfn>$this->load->library</dfn> function:</p> 6 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 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 */ 49 $html = $block->toHtml(); 50 Mage::getSingleton('core/translate_inline')->processResponseBody($html); 51 $this->getResponse()->setBody($html); 59 { 60 $session = Mage::getSingleton('admin/session'); 61 $url = $session->getUser()->getStartupPageUrl(); 73 { 74 if (Mage::getSingleton('admin/session')->isLoggedIn()) { 75 $this->_redirect('*');File.php https://gitlab.com/devtoannh/cafe | PHP | 468 lines
25 */ 26require_once 'Zend/CodeGenerator/Php/Abstract.php'; 27 30 */ 31require_once 'Zend/CodeGenerator/Php/Class.php'; 32 38 */ 39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract 40{ 86 if ($fileName == '') { 87 require_once 'Zend/CodeGenerator/Php/Exception.php'; 88 throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.'); 113 if ( ($realpath = Zend_Reflection_file::findRealpathInIncludePath($filePath)) === false) { 114 require_once 'Zend/CodeGenerator/Php/Exception.php'; 115 throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');Country.php https://gitlab.com/goolic/PrestaShop | PHP | 417 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 22 * @copyright 2007-2015 PrestaShop SA 23 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24 * International Registered Trademark & Property of PrestaShop SA 75 'id_currency' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'), 76 'call_prefix' => array('type' => self::TYPE_INT, 'validate' => 'isInt'), 77 'iso_code' => array('type' => self::TYPE_STRING, 'validate' => 'isLanguageIsoCode', 'required' => true, 'size' => 3),hostkreskoweczki.py https://gitlab.com/nunigaia/iptvplayer-for-e2 | Python | 318 lines
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 9import Plugins.Extensions.IPTVPlayer.libs.urlparser as urlparser 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" 179 180 videoData = self.cm.ph.getSearchGroups(videoUrl, "/embed/proxy[^.]+?.php") 181 if '' != videoData:sbhnddma.h https://github.com/netarchy/infuse4g-sources.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: 31/* DMA structure: 32 * support two DMA engines: 32 bits address or 64 bit addressing 33 * basic DMA register set is per channel(transmit or receive) 37 38/* 32 bits addressing */ 39 69/* 70 * Each descriptor ring must be 4096byte aligned, and fit within a single 4096byte page. 71 */ 172 173/* 64 bits addressing */ 174Files.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 311 lines
1<?php 2/* 42 * 43 * @opt_param bool enforceSingleParent Deprecated. Copying files into multiple 44 * folders is no longer supported. Use shortcuts instead. 55 * limit is reached, try deleting pinned revisions. 56 * @opt_param string ocrLanguage A language hint for OCR processing during image 57 * import (ISO 639-1 code). 74 * 75 * @opt_param bool enforceSingleParent Deprecated. Creating files in multiple 76 * folders is no longer supported. 87 * limit is reached, try deleting pinned revisions. 88 * @opt_param string ocrLanguage A language hint for OCR processing during image 89 * import (ISO 639-1 code). 92 * @opt_param bool supportsTeamDrives Deprecated use supportsAllDrives instead. 93 * @opt_param bool useContentAsIndexableText Whether to use the uploaded content 94 * as indexable text.Resource.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 467 lines
1<?php 2/** 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 47 /** 48 * @var string Default resource/component to use when using object registry 49 */ 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');Editor.php https://github.com/adaykin/zf2.git | PHP | 601 lines
1<?php 2/** 47 /** 48 * Add a single event to connect to the editing area 49 * 146 /** 147 * Add a single event to the dijit 148 * 244 /** 245 * Add a single editor plugin 246 * 548 /** 549 * Remove a single stylesheet 550 *class-cp-user-relationships.php https://gitlab.com/clusterpress/clusterpress | PHP | 543 lines
37 * 38 * @since 1.0.0 39 * 92 * @type string $cluster The Cluster ID. 93 * @type string $singular The singular label for the relationship. 94 * @type string $plural The plural label for the relationship. 113 'cluster' => $cluster, 114 'singular' => '', 115 'plural' => '', 142 * 143 * @since 1.0.0 144 * 164 * 165 * @since 1.0.0 166 *facebook.php https://github.com/copongcopong/CakePHP-Facebook-Plugin.git | PHP | 425 lines
1<?php 2/** 5 * @author Nick Baker <nick [at] webtechnick [dot] com> 6 * @version since 2.3.0 7 * @license MIT 20 */ 21 var $__fbShareScript = 'http://static.ak.fbcdn.net/connect.php/js/FB.Share'; 22 154 function share($url = null, $options = array()){ 155 // @todo this can be improved using the router 156 if(!$url) $url = env('SERVER_NAME') . $this->here; 176 else { 177 $retval = $this->Html->link($options['label'], 'http://www.facebook.com/sharer.php', array('share_url' => $url, 'type' => $options['type'], 'name' => $options['anchor'])); 178 $retval .= $this->Html->script($this->__fbShareScript); 380 appId : '{$appId}', 381 session : {$session}, // don't refetch the session when PHP already has it 382 status : true, // check login statusphpBB.php https://bitbucket.org/adatux_/uakami.git | PHP | 538 lines
1<?php 2 3/** 4 * Implementation of phpBB converter. 5 */ 5 */ 6class phpBB extends BBP_Converter_Base { 7 function __construct() { 121 'join_type' => 'INNER', 122 'join_expression' => 'USING (topic_id) WHERE posts.post_id = topics.topic_first_post_id', 123 'to_type' => 'topic', 200 'join_type' => 'INNER', 201 'join_expression' => 'USING (tagid)', 202 'to_type' => 'tags', 222 'join_type' => 'LEFT', 223 'join_expression' => 'USING (topic_id) WHERE posts.post_id != topics.topic_first_post_id', 224 'to_type' => 'reply'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 * 54 */ 55require_once './libraries/common.inc.php'; 56 69 $GLOBALS['js_include'][] = 'tbl_change.js'; 70 require_once './libraries/header.inc.php'; 71 require './tbl_change.php'; 77 $url_params['after_insert'] = $_REQUEST['after_insert']; 78 //$GLOBALS['goto'] = 'tbl_change.php'; 79 $goto_include = 'tbl_change.php';Move.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// | | 34// | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 35// | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | 36// | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | 36// | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | 37// | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | 38// | ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | 43// 44// $Id: Move.php 12 2007-09-17 20:20:11Z killersoft $ 45//admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
1<?php defined('BASEPATH') OR exit('No direct script access allowed'); 2/** 189 /** 190 * Get the details of a page using Ajax 191 * @access public 502 { 503 // Create the diff using mixed mode 504 $rev_1 = $this->versioning->get_by_revision($id_1); 543 544 <li id="page_<?php echo $page['id']; ?>"> 545 <div> 545 <div> 546 <a href="#" rel="<?php echo $page['id'] . '">' . $page['title']; ?></a> 547 </div> 548 549 <?php if(isset($page['children'])): ?> 550 <ol>File.php https://github.com/Enrise/Zend.git | PHP | 473 lines
1<?php 2/** 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 */ 190 */ 191 if (PHP_INT_SIZE > 4) { 192 $str = $this->_fread(8); 218 */ 219 if (PHP_INT_SIZE > 4) { 220 settype($value, 'integer'); 247 if ($wordHigh & (int)0x80000000) { 248 // It's a negative value since the highest bit is set 249 if ($wordHigh == (int)0xFFFFFFFF && ($wordLow & (int)0x80000000)) { 251 } else { 252 // require_once 'Zend/Search/Lucene/Exception.php'; 253 throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');ThreeZero.php https://github.com/ksecor/civicrm.git | PHP | 271 lines
1<?php 2 22 | at info[AT]civicrm[DOT]org. If you have questions about the | 23 | GNU Affero General Public License or the licensing of CiviCRM, | 24 | see the CiviCRM license FAQ at http://civicrm.org/licensing | 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 72 73 $errorMessage .= ' Few important tables were found missing.'; 74 return false; 81 // db looks to have stuck somewhere between 2.1 & 2.2 82 $errorMessage .= ' Few important fields were found missing in some of the tables.'; 83 return false;Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
1<?php 2 22 | at info[AT]civicrm[DOT]org. If you have questions about the | 23 | GNU Affero General Public License or the licensing of CiviCRM, | 24 | see the CiviCRM license FAQ at http://civicrm.org/licensing | 35 36require_once 'CRM/Contact/Page/View.php'; 37 94 { 95 require_once 'CRM/Contribute/BAO/Contribution.php'; 96 225 if ( $this->_permission == CRM_Core_Permission::EDIT && ! CRM_Core_Permission::check( 'edit contributions' ) ) { 226 $this->_permission = CRM_Core_Permission::VIEW; // demote to view since user does not have edit contrib rights 227 $this->assign( 'permission', 'view' ); 255 $this, false, 'search' ); 256 $session =& CRM_Core_Session::singleton( ); 257UploadHandler.php https://github.com/zikula-modules/Reviews.git | PHP | 404 lines
1<?php 2/** 39 /** 40 * Constructor initialising the supported object types. 41 */ 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)); 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); 337 break; 338 case UPLOAD_ERR_NO_TMP_DIR: //missing a temporary folder 339 $errmsg = __('No tmp folder', $dom);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>. 292 * If the second timestamp is not given, the current time will be used. 293 * Also consider using [Date::fuzzy_span] when displaying a span. 294 * 300 * @param string formatting string 301 * @return string when only a single output is requested 302 * @return array associative list of all outputs requested 548 * 549 * @see http://php.net/manual/en/datetime.construct.php 550 * @param string datetime_str datetime stringeditar_factura_prov.php https://gitlab.com/cosouth.battle/sartinofi | PHP | 434 lines
1<?php 2 2 3require_model('asiento.php'); 4require_model('asiento_factura.php'); 4require_model('asiento_factura.php'); 5require_model('divisa.php'); 6require_model('fabricante.php'); 6require_model('fabricante.php'); 7require_model('forma_pago.php'); 8require_model('proveedor.php'); 8require_model('proveedor.php'); 9require_model('recibo_proveedor.php'); 10 285 $lineas[$k]->dtolineal = 0; 286 $lineas[$k]->pvpsindto = ($value->cantidad * $value->pvpunitario); 287 $lineas[$k]->pvptotal = ($value->cantidad * $value->pvpunitario * (100 - $value->dtopor)/100);class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
1<?php 2/** 5 * @package WPBakeryVisualComposer 6 * @since 4.2 7 */ 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 16 * @see include/helpers/helpers_api.php 17 * @since 3.1 18 * 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.route.php https://github.com/ymtn/core.git | PHP | 589 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 7 * 8 * Each <key> will be translated to a regular expression using a default 9 * regular expression pattern. You can override the default pattern by providing 17 * 18 * It is also possible to create optional segments by using parentheses in 19 * the URI definition: 186 * @return string 187 * @since 3.0.7 188 * @uses URL::site 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 360 * Provides default values for optional keys in a route 361 * when using Route::uri 362 *Layout.php https://github.com/nationalfield/symfony.git | PHP | 490 lines
1<?php 2/* 11 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 12 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 13 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 13 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 14 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 15 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * @subpackage Pager 28 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 29 * @version $Revision$ 30 * @link www.doctrine-project.org 31 * @since 0.9 32 */ 261 * 262 * Defines a mask replacement. When parsing template, it converts replacement 263 * masks into new ones (or values), allowing to change masks behavior on the flyversion.html https://github.com/trevor/ImageMagick.git | HTML | 365 lines
12 <meta name="application-url" content="http://www.imagemagick.org"></meta> 13 <meta name="generator" content="PHP"></meta> 14 <meta name="keywords" content="magickcore, c, api, for, imagemagick:, get, the, version, copyrights, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"></meta> 104<div class="sub"> 105 <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a> 106</div> 148<div class="menu"> 149 <a title="Search" href="http://www.imagemagick.org/script/search.php">Search</a> 150</div>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 59 * - Extra whitespace at the beginning and end and between arguments will be ignored 60 * - Text can be "double" or 'single' quoted 61 * - The backslash \c \ is used as escape character 63 * - Within double quotes, only escape \c " and backslashes before a \c " or another backslash 64 * - Within single quotes, no escaping is possible and no special interpretation takes place 65 * 74 STATE_ARGUMENT, 75 STATE_SINGLEQUOTED, 76 STATE_DOUBLEQUOTED, 102 break; 103 case STATE_SINGLEQUOTED: // Single-quoted string 104 switch(ch)File.php https://github.com/mwturnage/frapi-1.git | PHP | 473 lines
1<?php 2/** 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 */ 190 */ 191 if (PHP_INT_SIZE > 4) { 192 $str = $this->_fread(8); 218 */ 219 if (PHP_INT_SIZE > 4) { 220 settype($value, 'integer'); 247 if ($wordHigh & (int)0x80000000) { 248 // It's a negative value since the highest bit is set 249 if ($wordHigh == (int)0xFFFFFFFF && ($wordLow & (int)0x80000000)) { 251 } else { 252 // require_once 'Zend/Search/Lucene/Exception.php'; 253 throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');transformation.php https://github.com/xc/zetacomponents.git | PHP | 417 lines
1<?php 2/** 30/** 31 * Provides transformations on images using filters and MIME conversions. 32 * Objects of this class group MIME type conversion and filtering of images 334 { 335 // Windows does not allows overwriting files using rename, 336 // therefore the file is unlinked here first.ExtensionServiceTest.php https://github.com/TYPO3/TYPO3.CMS.git | PHP | 367 lines
1<?php 2 20use Prophecy\Argument; 21use Prophecy\PhpUnit\ProphecyTrait; 22use Prophecy\Prophecy\ObjectProphecy; 51 */ 52 protected bool $resetSingletonInstances = true; 53install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
1<?php 2//error_reporting(E_ALL); 11require_once LIB_PATH . 'osclass/classes/DAO.php'; 12require_once LIB_PATH . 'osclass/helpers/hDatabaseInfo.php'; 13require_once LIB_PATH . 'osclass/install-functions.php'; 13require_once LIB_PATH . 'osclass/install-functions.php'; 14require_once LIB_PATH . 'osclass/formatting.php'; 15require_once LIB_PATH . 'osclass/compatibility.php'; 15require_once LIB_PATH . 'osclass/compatibility.php'; 16require_once LIB_PATH . 'osclass/utils.php'; 17require_once LIB_PATH . 'osclass/helpers/hPreference.php' ; 96 try{ 97 require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ; 98 $mail = new PHPMailer(true) ; 157 158 $cities_json = osc_file_get_contents('http://geo.osclass.org/geo.download.php?action=city&country=' . urlencode($c->name) . '&term=all'); 159 $cities = json_decode($cities_json);Value.php https://github.com/sitengine/sitengine.git | PHP | 401 lines
1<?php 2/** 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'; 32 33/** Zend_XmlRpc_Value_Boolean */ 34require_once 'Zend/XmlRpc/Value/Boolean.php'; 35Value.php https://github.com/doctoralex/ch3-dev-preview.git | PHP | 401 lines
1<?php 2/** 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'; 32 33/** Zend_XmlRpc_Value_Boolean */ 34require_once 'Zend/XmlRpc/Value/Boolean.php'; 35mkdist.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(); 210/* the core dll */ 211copy("$build_dir/php.exe", "$dist_dir/php.exe"); 212copy("$build_dir/$phpdll", "$dist_dir/$phpdll"); 240 "win32/install.txt" => "install.txt", 241 "win32/pws-php5cgi.reg" => "pws-php5cgi.reg", 242 "win32/pws-php5isapi.reg" => "pws-php5isapi.reg", 461} 462copy('run-tests.php', $test_dir . '/run-test.php'); 463 495 496 /* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar) 497 * broken out of the tarballs */class-inl.h https://gitlab.com/0072016/0072016-PHP.LLC | C Header | 522 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 +----------------------------------------------------------------------+ 23 24namespace HPHP { 25/////////////////////////////////////////////////////////////////////////////// 155 156inline const ClassInfo* Class::clsInfo() const { 157 return m_extra->m_clsInfo;display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
8 * @package wp-e-commerce 9 * @since 3.7 10 */ 13 global $wpdb; 14 $fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&subpage=upgrade-purchase-logs'; 15 ?> 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> 79 </ul> 80 <?php 81 }index.php https://github.com/hregis/dolibarr.git | PHP | 427 lines
3 * Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net> 4 * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com> 5 * Copyright (C) 2012 Vinicius Nogueira <viniciusvgn@gmail.com> 29require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; 30require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php'; 31require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; 104 105 include DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/theme_vars.inc.php'; 106 141 print '<td>'.$commandestatic->LibStatut($status, 0).'</td>'; 142 print '<td class="right"><a href="list.php?statut='.$status.'">'.(isset($vals[$status]) ? $vals[$status] : 0).'</a></td>'; 143 print "</tr>\n"; 148 149 include_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php'; 150 $dolgraph = new DolGraph();imsenterprise_test.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 327 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 20 * @package enrol_imsenterprise 21 * @category phpunit 22 * @copyright 2012 David Monllaó 28global $CFG; 29require_once($CFG->dirroot . '/enrol/imsenterprise/locallib.php'); 30require_once($CFG->dirroot . '/enrol/imsenterprise/lib.php'); 35 * @package enrol_imsenterprise 36 * @category phpunit 37 * @copyright 2012 David Monllaó 184 185 // Setting a mapping using all the description tags. 186 $this->imsplugin->set_config('imscoursemapshortname', 'short');general.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 225 lines
89 <div class="clearfix"> 90 <input class="left" type="text" value="<?php echo get_option('kopa_theme_options_apple_ipad_retina_icon_url'); ?>" id="kopa_theme_options_apple_ipad_retina_icon_url" name="kopa_theme_options_apple_ipad_retina_icon_url"> 91 <button class="btn btn-success upload_image_button" alt="kopa_theme_options_apple_ipad_retina_icon_url"><i class="icon-circle-arrow-up"></i><?php _e('Upload', kopa_get_domain()); ?></button> 139 ?> 140 <label for="<?php echo $kopa_header_headline_status_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_header_headline_status_id; ?>" name="<?php echo $kopa_header_headline_name; ?>" <?php echo ($value == get_option($kopa_header_headline_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label> 141 <?php 158 foreach ( $kopa_headline_categories as $kopa_headline_category ) { ?> 159 <option value="<?php echo $kopa_headline_category->term_id; ?>" <?php selected( $kopa_headline_category->term_id, $kopa_current_headline_category_id ); ?>><?php echo $kopa_headline_category->name; ?></option> 160 <?php } // endforeach ?> 190 ?> 191 <label for="<?php echo $kopa_breadcrumb_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_breadcrumb_id; ?>" name="<?php echo $kopa_breadcrumb_status_name; ?>" <?php echo ($value == get_option($kopa_breadcrumb_status_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label> 192 <?php 212 <p class="kopa-desc"><?php _e('Enter the content you want to display in your left footer (e.g. copyright text).', kopa_get_domain()); ?></p> 213 <textarea class="" rows="6" id="kopa_setting_copyrights" name="kopa_theme_options_copyright"><?php echo htmlspecialchars_decode(stripslashes(get_option('kopa_theme_options_copyright', __( 'Copyright © 2013 . All Rights Reserved. Designed by kopatheme.com.', kopa_get_domain() )))); ?></textarea> 214 </div><!--kopa-element-box-->pageTranslations.php https://gitlab.com/macitsimsek/fastsubtitle | PHP | 217 lines
1<?php 2 133 'video' => 'Video', 134 'processing_subtitles' => 'Processing Subtitles', 135 'not_translated_rows' => 'Not Translated Rows',grid.subgrid.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 298 lines
6 * Dual licensed under the MIT and GPL licenses: 7 * http://www.opensource.org/licenses/mit-license.php 8 * http://www.gnu.org/licenses/gpl-2.0.html 42}, 43addSubGrid : function( pos, sind ) { 44 return this.each(function(){ 183 var len = ts.rows.length, i=1; 184 if( sind !== undefined && sind > 0) { 185 i = sind; 185 i = sind; 186 len = sind+1; 187 }text_effects.hs https://gitlab.com/stallmanifold/imagemagick | Haskell | 313 lines
5See this forum thread for the genesis of these effects 6http://www.imagemagick.org/discourse-server/viewtopic.php?f=6&t=11586 7and Anthony's Text Effects page at: 19 20-- see http://www.imagemagick.org/Usage/#font about using fonts with IM 21font :: ByteString 23 24-- Text effect 1 - shadow effect using MagickShadowImage 25-- This is derived from Anthony's Soft Shadow effect 99 100-- Text effect 2 - tiled text using the builtin checkerboard pattern 101-- Anthony's Tiled Font effectZoomPrintController.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 392 lines
29 private EdgesGraphComponent _edgesGraphComponent; 30 private GraphPlugin _plugin; 31 private GraphPrintable _printable; 35 36 public ZoomPrintController(ZoomerXmlBean zoomerXmlBean, PrintXmlBean printXmlBean, EdgesListener edgesListener, GraphPrintable printable, ISession session, GraphPlugin plugin) 37 { 40 41 _panel = new ZoomPrintPanel(new GraphPluginResources(_plugin)); 42 223 224 Dimension graphPixelSize = _printable.initPrintNoScaleSinglePage(); 225 SaveToFilePageFormat pf = new SaveToFilePageFormat(graphPixelSize); 226 227 BufferedImage img = prepareImage(graphPixelSize.width, graphPixelSize.height); 228 _printable.print(img.getGraphics(), pf, 0);DeleteComment.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 355 lines
1<?php 2 5 */ 6require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' ); 7 12 * @subpackage UnitTests 13 * @since 3.4.0 14 * @group ajax 71 $_POST['_page'] = 1; 72 $_POST['_url'] = admin_url( 'edit-comments.php' ); 73 128 $_POST['_page'] = 1; 129 $_POST['_url'] = admin_url( 'edit-comments.php' ); 130 158 $_POST['_page'] = 1; 159 $_POST['_url'] = admin_url( 'edit-comments.php' ); 160BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
1<?php 2/** 18 * @author Qiang Xue <qiang.xue@gmail.com> 19 * @since 2.0 20 */ 56 if ($highlight) { 57 $result = highlight_string("<?php\n" . self::$_output, true); 58 self::$_output = preg_replace('/<\\?php<br \\/>/', '', $result, 1); 119 self::$_output .= "$className#$id\n" . $spaces . '('; 120 if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) { 121 $dumpValues = $var->__debugInfo(); 141 * 142 * The string is a valid PHP expression that can be evaluated by PHP parser 143 * and the evaluation result will give back the variable value. 147 * 148 * It also handles objects by using the PHP functions serialize() and unserialize(). 149 *codebench.php https://bitbucket.org/seyar/kinda.local.git | PHP | 258 lines
162 <strong class="alert">Library not found</strong> 163 <?php } elseif (empty($codebench['benchmarks'])) { ?> 164 <strong class="alert">No methods found to benchmark</strong> 187 <h2 title="<?php printf('%01.6f', $benchmark['time']) ?>s"> 188 <span class="grade-<?php echo $benchmark['grade']['time'] ?>" style="width:<?php echo $benchmark['percent']['slowest']['time'] ?>%"> 189 <span class="method"><?php echo $method ?></span> 199 <th style="width:50%">subject → return</th> 200 <th class="numeric" style="width:25%" title="Total method memory"><?php echo Text::bytes($benchmark['memory'], 'MB', '%01.6f%s') ?></th> 201 <th class="numeric" style="width:25%" title="Total method time"><?php printf('%01.6f', $benchmark['time']) ?>s</th> 208 <td> 209 <strong class="help" title="(<?php echo gettype($codebench['subjects'][$subject_key]) ?>) <?php echo HTML::chars(var_export($codebench['subjects'][$subject_key], TRUE)) ?>"> 210 [<?php echo HTML::chars($subject_key) ?>] → 251 Page executed in <strong><?php echo round(microtime(TRUE) - KOHANA_START_TIME, 2) ?> s</strong> 252 using <strong><?php echo Text::widont(Text::bytes(memory_get_usage(), 'MB')) ?></strong> of memory.<br /> 253 <a href="http://github.com/kohana/codebench">Codebench</a>, a <a href="http://kohanaframework.org/">Kohana</a> modulefilterlib.php https://github.com/evoCoder/moodle.git | PHP | 365 lines
1<?php // $Id: filterlib.php,v 1.24.10.4 2009/02/18 11:02:11 stronk7 Exp $ 2 // Contains special functions that are particularly useful to filters 53 * param ignoretagsopen an array of opening tags that we should ignore while filtering 54 * param ignoretagsclose an array of corresponding closing tags 55 **/ 104 105 /// Set some defaults if certain properties are missing 106 /// Properties may be missing if the filterobject class has not been used to construct the object 242 243/// Add missing javascript for popus 244 $text = filter_add_javascript($text); 329/** 330 * Add missing openpopup javascript to HTML files. 331 */lexer.php https://github.com/evoCoder/moodle.git | PHP | 393 lines
1<?php // $Id: lexer.php,v 1.1 2005/01/31 07:39:03 moodler Exp $ 2 2 3/* PHP lexer code snarfed from the CVS tree for the lamplib project at 4 * http://sourceforge.net/projects/lamplib 82 /** 83 * Compounds the patterns into a single 84 * regular expression separated with the 165 * Some optimisation to make the sure the 166 * content is only scanned by the PHP regex 167 * parser once. Lexer modes must not start 195 * Adds a token search pattern for a particular 196 * parsing mode. The pattern does not change the 197 * current mode. 212 /** 213 * Adds a pattern that will enter a new parsing 214 * mode. Useful for entering parenthesis, strings,paperclip.rb https://github.com/palladius/lovd-by-less.git | Ruby | 244 lines
1# Paperclip allows file attachments that are stored in the filesystem. All graphical 2# transformations are done using the Graphics/ImageMagick command line utilities and 3# are stored in Tempfiles until the record is saved. Paperclip does not require a 8# Copyright:: Copyright (c) 2008 thoughtbot, inc. 9# License:: MIT License (http://www.opensource.org/licenses/mit-license.php) 10# 90 # This field is interpolated just as the url is. The default value is 91 # "/:class/:attachment/missing_:style.png" 92 # has_attached_file :avatar, :default_url => "/images/default_:style_avatar.png" 95 # geometry strings at the ImageMagick website 96 # (http://www.imagemagick.org/script/command-line-options.php#resize). Paperclip 97 # also adds the "#" option (e.g. "50x50#"), which will resize the image to fit maximally 109 # By default this places the files in the app's public directory which can be served 110 # directly. If you are using capistrano for deployment, a good idea would be to 111 # make a symlink to the capistrano-created system directory from inside your app'sIni.php https://github.com/hansdubois/Docblox.git | PHP | 293 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Ini.php 16201 2009-06-21 18:51:15Z thomas $ 20 */ 25 */ 26require_once 'Zend/Config.php'; 27 105 */ 106 require_once 'Zend/Config/Exception.php'; 107 throw new Zend_Config_Exception('Filename is not set'); 148 */ 149 require_once 'Zend/Config/Exception.php'; 150 throw new Zend_Config_Exception("Section '$sectionName' cannot be found in $filename"); 165 * stored in a sub-key called ';extends'. We use ';extends' as this can 166 * never be a valid key name in an INI file that has been loaded using 167 * parse_ini_file().attachments.php https://github.com/naderman/phpbb-orchestra.git | PHP | 174 lines
1<?php 2/** 7* @version $Id$ 8* @copyright (c) 2005 phpBB Group 9* @license http://opensource.org/licenses/gpl-license.php GNU Public License 15*/ 16if (!defined('IN_PHPBB')) 17{ 33// 34// You do not need this where single placeholders are used, e.g. 'Message %d' is fine 35// equally where a string contains only two placeholders which are used to wrap text 40 'ACP_EXTENSION_GROUPS_EXPLAIN' => 'Here you can add, delete, modify or disable your extension groups. Further options include the assignment of a special category to them, changing the download mechanism and defining an upload icon which will be displayed in front of the attachment which belongs to the group.', 41 'ACP_MANAGE_EXTENSIONS_EXPLAIN' => 'Here you can manage your allowed extensions. To activate your extensions, please refer to the extension groups management panel. We strongly recommend not to allow scripting extensions (such as <code>php</code>, <code>php3</code>, <code>php4</code>, <code>phtml</code>, <code>pl</code>, <code>cgi</code>, <code>py</code>, <code>rb</code>, <code>asp</code>, <code>aspx</code>, and so forth…).', 42 'ACP_ORPHAN_ATTACHMENTS_EXPLAIN' => 'Here you are able to see orphaned files. This happens mostly if users are attaching files but not submitting the post. You are able to delete the files or attach them to existing posts. Attaching to posts requires a valid post ID, you have to determine this ID by yourself. This will assign the already uploaded attachment to the post you entered.', 82 'DOWNLOAD_ADD_IPS_EXPLAIN' => 'To specify several different IPs or hostnames enter each on a new line. To specify a range of IP addresses separate the start and end with a hyphen (-), to specify a wildcard use “*”.', 83 'DOWNLOAD_REMOVE_IPS_EXPLAIN' => 'You can remove (or un-exclude) multiple IP addresses in one go using the appropriate combination of mouse and keyboard for your computer and browser. Excluded IPs have a blue background.', 84 'DISPLAY_INLINED' => 'Display images inline',SnsClient.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 378 lines
1<?php 2 3/** 4 * Purge using AmazonSNS object 5 */ 6 7w3_require_once(W3TC_LIB_W3_DIR . '/Enterprise/SnsBase.php'); 8 182 /** 183 * Reloads/compiles a PHP file. 184 * @param string $filename 191 /** 192 * Reloads/compiles a PHP file. 193 * @param string[] $filenamesclass-popup-public.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 407 lines
26 * 27 * @since 4.6 28 */ 169 * 170 * @since 4.6 171 */ 230 * PopUp data is loaded via a normal WordPress ajax request, directed at 231 * the admin-ajax.php handler. 232 * 237 238 if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) { 239 // Data is loaded via a normal WordPress ajax request. 261 262 if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) { 263 /*Extracted.php https://github.com/grjones/qframe.git | PHP | 274 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Extracted.php 20893 2010-02-03 22:59:25Z yoshida@zend.co.jp $ 21 */ 24/** @see Zend_Pdf_Resource_Font */ 25require_once 'Zend/Pdf/Resource/Font.php'; 26 78 // Multiple descendant fonts are not supported 79 require_once 'Zend/Pdf/Exception.php'; 80 throw new Zend_Pdf_Exception(self::TYPE_NOT_SUPPORTED); 117 default: 118 require_once 'Zend/Pdf/Exception.php'; 119 throw new Zend_Pdf_Exception(self::TYPE_NOT_SUPPORTED); 139 * 140 * If a particular character doesn't exist in this font, the special 'missing 141 * character glyph' will be substituted.SensorRunner.php https://gitlab.com/Drulenium-bot/monitoring | PHP | 351 lines
1<?php 2/** 141 $this->cacheResults($results); 142 // Trigger a hook to allow processing of sensors data. 143 \Drupal::moduleHandler()->invokeAll('monitoring_run_sensors', [$results]); 148 /** 149 * Run a single given sensor. 150 * 273 protected function cacheResults(array $results) { 274 // @todo: Cache in a single array, with per item expiration? 275 foreach ($results as $result) {Application.php https://gitlab.com/rsilveira1987/Expresso | PHP | 374 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Application.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 20 */ 60 * 61 * Initialize application. Potentially initializes include_paths, PHP 62 * settings, and bootstrap class. 72 73 require_once 'Zend/Loader/Autoloader.php'; 74 $this->_autoloader = Zend_Loader_Autoloader::getInstance(); 127 if (!empty($options['phpsettings'])) { 128 $this->setPhpSettings($options['phpsettings']); 129 } 186 /** 187 * Retrieve a single option 188 *Cloud.php https://gitlab.com/yousafsyed/easternglamor | PHP | 410 lines
1<?php 2/** 25 */ 26#require_once 'Zend/Tag/Item.php'; 27 132 * 133 * $tags should be an array containing single tags as array. Each tag 134 * array should at least contain the keys 'title' and 'weight'. Optionally 152 } else { 153 #require_once 'Zend/Tag/Cloud/Exception.php'; 154 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array'); 161 /** 162 * Append a single tag to the cloud 163 * 174 } else { 175 #require_once 'Zend/Tag/Cloud/Exception.php'; 176 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');db_datadict.php https://gitlab.com/albert925/lading-ach | PHP | 325 lines
49 <p> <?php echo $strDBComment; ?> 50 <i><?php echo htmlspecialchars($comment); ?></i></p> 51 <?php 175 <th width="80"><?php echo $strType; ?></th> 176<?php /* <th width="50"><?php echo $strAttr; ?></th>*/ ?> 177 <th width="40"><?php echo $strNull; ?></th> 178 <th width="70"><?php echo $strDefault; ?></th> 179<?php /* <th width="50"><?php echo $strExtra; ?></th>*/ ?> 180 <?php 265 <td<?php echo $type_nowrap; ?> xml:lang="en" dir="ltr"><?php echo $type; ?></td> 266<?php /* <td<?php echo $type_nowrap; ?>><?php echo $strAttribute; ?></td>*/ ?> 267 <td><?php echo (($row['Null'] == 'NO') ? $strNo : $strYes); ?></td> 268 <td nowrap="nowrap"><?php if (isset($row['Default'])) { echo $row['Default']; } ?></td> 269<?php /* <td<?php echo $type_nowrap; ?>><?php echo $row['Extra']; ?></td>*/ ?> 270 <?phpclass.jetpack-landing-page.php https://gitlab.com/thisishayat/itv-2016 | PHP | 299 lines
1<?php 2include_once( 'class.jetpack-admin-page.php' ); 43 * 44 * @since 3.6.0 45 * 49 add_action( "admin_footer-$hook", apply_filters( 'jetpack_landing_page_js_templates_callback', array( $this, 'js_templates' ), $hook ) ); 50 /** This action is documented in class.jetpack.php */ 51 do_action( 'jetpack_admin_menu', $hook ); 144 function js_templates() { 145 Jetpack::init()->load_view( 'admin/landing-page-templates.php' ); 146 } 175 ); 176 Jetpack::init()->load_view( 'admin/admin-page.php', $data ); 177 } 203 <div class="squeezer"> 204 <h2><?php echo wp_kses( $message, array( 'strong' => array(), 'a' => array( 'href' => true ), 'br' => true ) ); ?></h2> 205 <?phplink-manager.php https://github.com/shlomsky/lim.git | PHP | 292 lines
85<?php screen_icon(); ?> 86<h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php 87if ( !empty($_GET['s']) ) 195 $edit_link = get_edit_bookmark_link(); 196 ?><tr id="link-<?php echo $link->link_id; ?>" valign="middle" <?php echo $style; ?>><?php 197 foreach($link_columns as $column_name=>$column_display_name) { 245 case 'rel': 246 ?><td <?php echo $attributes ?>><?php echo empty($link->link_rel) ? '<br />' : $link->link_rel; ?></td><?php 247 break; 248 case 'visible': 249 ?><td <?php echo $attributes ?>><?php echo $visible; ?></td><?php 250 break; 251 case 'rating': 252 ?><td <?php echo $attributes ?>><?php echo $rating; ?></td><?php 253 break;CAutoComplete.php https://gitlab.com/zenfork/vektor | PHP | 294 lines
1<?php 2/** 15 * 16 * This class is deprecated since Yii 1.1.3. Consider using CJuiAutoComplete. 17 * There is {@link http://www.learningjquery.com/2010/06/autocomplete-migration-guide a good migration guide from the author of both JavaScript solutions}. 20 * @package system.web.widgets 21 * @since 1.0 22 * @deprecated in 1.1.3 26 /** 27 * @var boolean whether to show the autocomplete using a text area. Defaults to false, 28 * meaning a text field is used. 41 * If the URL is given as an array, it is considered as a route to a controller action and will 42 * be used to generate a URL using {@link CController::createUrl}; 43 * If the URL is an empty string, the currently requested URL is used. 114 * results (starting at 1), the number of items in the list of results and the search term. 115 * The default behavior assumes that a single row contains a single value. 116 */README.md https://gitlab.com/freebird/WebApp | Markdown | 344 lines
43``` php 44<?php 45 96 * `LessFilter`: parses LESS into CSS (using less.js with node.js) 97 * `LessphpFilter`: parses LESS into CSS (using lessphp) 98 * `OptiPngFilter`: optimize your PNGs 105 * `Sass\ScssFilter`: parses SCSS into CSS 106 * `ScssphpFilter`: parses SCSS using scssphp 107 * `SeparatorFilter`: inserts a separator between assets to prevent merge failures 114 * `Yui\CssCompressorFilter`: compresses CSS using the YUI compressor 115 * `Yui\JsCompressorFilter`: compresses Javascript using the YUI compressor 116 313 314``` php 315<?phpQueryPluginBase.php https://gitlab.com/reasonat/test8 | PHP | 353 lines
1<?php 2 20 * other handler plugins that affect the query (fields, filters, etc.) 21 * implicitly assume that the query is using SQL. 22 * 92 * 93 * This signature is something that can be used when perusing query logs to 94 * discern where particular queries might be coming from.Filesystem.php https://gitlab.com/techniconline/kmc | PHP | 426 lines
1<?php namespace Illuminate\Filesystem; 2 401 402 // If the item is just a file, we can go ahead and delete it since we're 403 // just looping through and waxing all of the files in this directoryglossary_document.php https://github.com/kpike/moodle.git | PHP | 287 lines
1<?php 2/** 17* Functions for iterating and retrieving the necessary records are now also included 18* in this file, rather than mod/glossary/lib.php 19* 24*/ 25require_once($CFG->dirroot.'/search/documents/document.php'); 26 106 global $CFG; 107 require_once($CFG->dirroot.'/search/querylib.php'); 108 109 //links directly to entry 110 // return $CFG->wwwroot.'/mod/glossary/showentry.php?eid='.$entry_id; 111 115 //this function is meant to return a url that is placed between href='[url here]' 116 $jsondata = array('url'=>'/mod/glossary/showentry.php?eid='.$entry_id,'name'=>'entry','options'=>DEFAULT_POPUP_SETTINGS); 117 $jsondata = json_encode($jsondata);tracking.inc.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 237 lines
1<?php 2/* 9$AverageCoursePerStudent = "Gemiddeld aantal cursussen per student"; 10$AverageProgressInLearnpath = "Gemiddelde vorderingen in de leerpaden"; 11$AverageResultsToTheExercices = "Gemiddeld resultaat voor de oefeningen"; 140$langTrafficDetails = "Trafiekdetails"; 141$langSeeIndividualTracking = "Zie de <a href=\"../user/user.php\">gebruikersmodule</a> voor individuele statistieken."; 142$langPathNeverOpenedByAnybody = "Dit pad is nog nooit geopend door iemand."; 181$Messages = "Berichten"; 182$AveragePostsInForum = "Gemiddeld aantal berichten in het forum"; 183$AverageAssignments = "Gemiddeld aantal opdrachten"; 185$StudentDetails = "Details van de student"; 186$StudentDetailsInCourse = "Details van de cursist in deze cursus"; 187$Learnpaths = "Leerpaden"; 213$SessionCourses = "Sessie van cursussen"; 214$NoUsersInCourseTracking = "Hier vind je de opvolging voor jouw studenten, ingeschreven in deze cursus."; 215$AvgTimeSpentInTheCourse = "Gemiddeld gespendeerde tijd in een cursus";store.php https://github.com/dogma/moodle.git | PHP | 362 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 60 // Following mapping is done to make can_delete_course() compatible with legacy store. 61 if ($selectwhere == "userid = :userid AND courseid = :courseid AND eventname = :eventname AND timecreated > :since" and 62 empty($sort)) { 62 empty($sort)) { 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']}"); 115 /** 116 * Fetch records using given criteria returning a Traversable object. 117 * 119 * remember that is important that you call close() once you finish 120 * using it. 121 * 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) {LoggerLoggingEvent.php https://github.com/samar-tmr/MyVenture.git | PHP | 378 lines
17 * 18 * @package log4php 19 */ 24 * @version $Revision: 1059292 $ 25 * @package log4php 26 */ 87 /** 88 * The application supplied message rendered through the log4php 89 * objet rendering mechanism. At present renderedMessage == message. 95 * The name of thread in which this logging event was generated. 96 * log4php saves here the process id via {@link PHP_MANUAL#getmypid getmypid()} 97 * @var mixed 158 * Returns the full qualified classname. 159 * TODO: PHP does contain namespaces in 5.3. Those should be returned too, 160 */EPhotoValidator.php https://github.com/LosYear/FluentCMS.git | PHP | 284 lines
1<?php 2Yii::import('application.modules.user.UserModule'); 31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 32 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 33 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 33 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 35 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.MatchingTask.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 361 lines
1<?php 2/* 2/* 3 * $Id: MatchingTask.php 3076 2006-12-18 08:52:12Z fabien $ 4 * 11 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 12 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 13 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 13 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 14 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 15 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 21 22require_once 'phing/TaskPhing.php'; 23require_once 'phing/types/selectors/SelectorContainer.php'; 23require_once 'phing/types/selectors/SelectorContainer.php'; 24include_once 'phing/types/FileSet.php'; 25include_once 'phing/types/PatternSet.php';CssSelector.php https://bitbucket.org/prauscher/att.git | PHP | 322 lines
1<?php 2 90 * 91 * @throws \Exception When tokenizer throws it while parsing 92 */ 216 /* You can't have two hashes 217 (FIXME: is there some more general rule I'm missing?) */ 218 // @codeCoverageIgnoreStartExtracted.php https://github.com/Doap/iCms---intelligent-Content-management-system.git | PHP | 274 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Extracted.php 20866 2010-02-03 05:30:07Z yoshida@zend.co.jp $ 21 */ 24/** @see Zend_Pdf_Resource_Font */ 25require_once 'Zend/Pdf/Resource/Font.php'; 26 78 // Multiple descendant fonts are not supported 79 require_once 'Zend/Pdf/Exception.php'; 80 throw new Zend_Pdf_Exception(self::TYPE_NOT_SUPPORTED); 117 default: 118 require_once 'Zend/Pdf/Exception.php'; 119 throw new Zend_Pdf_Exception(self::TYPE_NOT_SUPPORTED); 139 * 140 * If a particular character doesn't exist in this font, the special 'missing 141 * character glyph' will be substituted.config.values.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 277 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 6 * 7 * @package PhpMyAdmin 8 */ 9 10if (!defined('PHPMYADMIN')) { 11 exit; 139 'docsql', // DocSQL 140 'ldi', // CSV using LOAD DATA 141 'sql' // SQL 222/** 223 * Basic validator assignments (functions from libraries/config/Validator.php 224 * and 'validators' object in js/config.js) 248 'MaxNavigationItems' => 'validatePositiveNumber', 249 'MaxCharactersInDisplayedSQL' => 'validatePositiveNumber', 250 'MaxRows' => 'validatePositiveNumber',configure-vhosts.html https://gitlab.com/haris4445/techarena | HTML | 251 lines
54 <li class="active"><a href="/dashboard/howto.html">HOW-TO Guides</a></li> 55 <li class=""><a target="_blank" href="/dashboard/phpinfo.php">PHPInfo</a></li> 56 <li class=""><a href="/phpmyadmin/">phpMyAdmin</a></li> 80<div class="paragraph"> 81<p>Apache makes it easy to have multiple websites or web applications running on the same physical server, and access each using a custom domain name. This is known as <em>virtual hosting</em>, and each virtual host can be mapped to a different subdirectory of the server.</p> 82</div> 83<div class="paragraph"> 84<p>This feature is especially useful in development scenarios, as it allows developers to isolate and access different applications using unique domain names. For example, the domains <em><a href="http://app01.localhost" class="bare">http://app01.localhost</a></em> and <em><a href="http://app02.localhost" class="bare">http://app02.localhost</a></em> could point to two separate applications on the same server. Or, you could create separate domains, such as <em><a href="http://client1/" class="bare">http://client1/</a></em>, <em><a href="http://client2/" class="bare">http://client2/</a></em> and so on, for multiple client websites hosted on the same server.</p> 85</div> 105<td class="content"> 106You can install WordPress with just a few clicks using the <a href="https://bitnami.com/stack/xampp#wordpress">Bitnami WordPress Module for XAMPP</a>. 107</td> 175<li> 176<p>At this point, your virtual host is configured. However, if you try browsing to the <em>wordpress.localhost</em> domain, your browser will show a failure notice, since this domain does not exist in reality. To resolve this, it is necessary to map the custom domain to the local IP address. To do this, open the file <em>C:\windows\system32\drivers\etc\hosts</em> and add the following line to it:</p> 177<div class="literalblock">YamlFileLoader.php https://bitbucket.org/cryofrost/portal.git | PHP | 339 lines
1<?php 2 213 if (!isset($tag['name'])) { 214 throw new InvalidArgumentException(sprintf('A "tags" entry is missing a "name" key for service "%s" in %s.', $id, $file)); 215 }lib.php https://bitbucket.org/ngmares/moodle.git | PHP | 327 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 19 * 20 * @since 2.0 21 * @package repository_flickr 24 */ 25require_once($CFG->dirroot . '/repository/lib.php'); 26require_once($CFG->libdir.'/flickrlib.php'); 30 * 31 * @since 2.0 32 * @package repository_flickr 58 59 $this->flickr = new phpFlickr($this->api_key, $this->secret, $this->token); 60 157 /** 158 * Converts result received from phpFlickr::photo_search to Filepicker/repository format 159 *configcheck.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 103 lines
1<?php 2/** 14 15// $_lang['configcheck_allowtagsinpost_context_enabled'] = 'allow_tags_in_post Context Setting Enabled outside `mgr`'; 16$_lang['configcheck_allowtagsinpost_context_enabled'] = 'allow_tags_in_post povoleno v nastavení kontextu mimo `mgr`'; 17 18// $_lang['configcheck_allowtagsinpost_context_enabled_msg'] = 'The allow_tags_in_post Context Setting is enabled in your installation outside the mgr Context. MODX recommends this setting be disabled unless you need to explicitly allow users to submit MODX tags, numeric entities, or HTML script tags via the POST method to a form in your site. This should generally be disabled except in the mgr Context.'; 19$_lang['configcheck_allowtagsinpost_context_enabled_msg'] = 'Nastavení kontextu allow_tags_in_post je povoleno v instalaci MODX mimo kontext mgr. MODX doporučuje toto nastavení zakázat pokud nepotřebujete, aby uživatelé MODX mohli posílat MODX značky, číselné entity nebo HTML skript tagy pomocí POST metody do formuláře. Toto by mělo být obecně zakázáno kromě kontextu mgr.'; 20 21// $_lang['configcheck_allowtagsinpost_system_enabled'] = 'allow_tags_in_post System Setting Enabled'; 22$_lang['configcheck_allowtagsinpost_system_enabled'] = 'allow_tags_in_post povoleno v Konfiguraci systému'; 23 24// $_lang['configcheck_allowtagsinpost_system_enabled_msg'] = 'The allow_tags_in_post System Setting is enabled in your installation. MODX recommends this setting be disabled unless you need to explicitly allow users to submit MODX tags, numeric entities, or HTML script tags via the POST method to a form in your site. It is better to enable this via Context Settings for specific Contexts.'; 25$_lang['configcheck_allowtagsinpost_system_enabled_msg'] = 'Nastavení allow_tags_in_post v Konfiguraci systému System Setting je povoleno v instalaci MODX. MODX doporučuje toto nastavení zakázat pokud nepotřebujete, aby uživatelé MODX mohli posílat MODX značky, číselné entity nebo HTML skript tagy pomocí POST metody do formuláře. Je lepší tuto hodnotu aktivovat v rámci nastavení daných kontextů.'; 77 78// $_lang['configcheck_register_globals'] = 'register_globals is set to ON in your php.ini configuration file'; 79$_lang['configcheck_register_globals'] = 'register_globals v php.ini je nastaveno na ON';SharedTempStore.php https://gitlab.com/mohamed_hussein/prodt | PHP | 318 lines
1<?php 2 88 /** 89 * Constructs a new object for accessing data from a key/value store. 90 *wp-background-process.php https://gitlab.com/campus-academy/krowkaramel | PHP | 503 lines
1<?php // @codingStandardsIgnoreLine. 2/** 4 * 5 * @package WP-Background-Processing 6 * @extends WP_Async_Request 159 public function maybe_handle() { 160 // Don't lock up other requests while processing 161 session_write_close(); 474 * 475 * Stop processing queue items, clear cronjob and delete batch. 476 * 492 * Override this method to perform any actions required on each 493 * queue item. Return the modified item for further processing 494 * in the next pass through. Or, return false to remove theorderdocument.php https://gitlab.com/neuser/bitrix-core | PHP | 621 lines
1<?php 2namespace Bitrix\Sale\Exchange\OneC; 18 */ 19 static public function getFieldsInfo() 20 { 593 594 static::unitFieldsInfo(self::$FIELD_INFOS); 595 static::koefFieldsInfo(self::$FIELD_INFOS); 599 600 static protected function unitFieldsInfo(&$info) 601 { 614 615 static protected function koefFieldsInfo(&$info) 616 {//exportsession.php https://github.com/mathieu/fusionforge.git | PHP | 552 lines
1<?php 2/** 26 27require_once $gfcommon.'include/account.php'; 28require_once $gfcommon.'include/escapingUtils.php'; 134 if (!$loginname || !$passwd) { 135 $feedback = _('Missing Password Or Users Name'); 136 return false; 149 150 // Try to get the users from the database using user_id and (MD5) user_pw 151 $res = db_query(" 214 215 // if allowpending (for verify.php) then allow 216 $userstatus=$usr['status']; 490 491//TODO - this should be generalized and used for pre.php, squal_pre.php, 492//SOAP, forum_gateway.php, tracker_gateway.php, etc toFilesystem.php https://github.com/mamayoleksandr/xtbackup.git | PHP | 317 lines
1<?php 2class Storage_Filesystem implements Storage_Interface 55 $this->_baseDir = rtrim($this->_baseDir, '/'). '/'; 56 $this->_isWindows = (strpos(strtolower(php_uname('s')), 'win') !== false); 57 $this->_fileStat = new Storage_Filesystem_FileStat(); 94 { 95 $job = $this->_out->jobStart("traversing file system starting at {$this->_baseDir} using COM"); 96 //let create context for our closure 165 //initialize windows's FileSystemObject 166 /** @noinspection PhpUndefinedClassInspection, PhpUndefinedConstantInspection */ 167 $fso = new COM('Scripting.FileSystemObject', null, CP_UTF8); 176 //see Scripting.FileSystemObject on http://msdn.microsoft.com 177 /** @noinspection PhpUndefinedMethodInspection */ 178 $folder = $fso->GetFolder($curDir); 208 209 $job = $this->_out->jobStart("traversing file system starting at {$this->_baseDir}"); 210backuplib.php https://github.com/cwaclawik/moodle.git | PHP | 337 lines
1<?PHP //$Id$ 2 //This php script contains all the stuff to backup/restore 199 // This functions backups the strings used 200 // in the question and responses for a single hotpot activity 201 // The ids of the strings were stored by "hotpot_backup_string_ids" 240 // $excluded_tags : fields which will NOT be backed up from the records 241 // $more_backup : optional PHP code to be eval(uated) for each record 242 // If any of the "fwrite" statements fail, 257 foreach ($records as $record) { 258 // start a single record 259 if ($record_tag) { 276 } 277 // end a single record 278 if ($record_tag) {fengoffice.php https://github.com/libersoft/fengoffice-ls.git | PHP | 121 lines
1<?php return array( 2 'chelp add event invitation' => 'Velg brukerene du vil invitere til arrangementet.', 47 'chelp add event reminders' => 'Du kan velge om du vil motta en påminnelse når hendelsen starter. Velg om du vil ha påminnelser som sprettopp-beskjeder i systemet eller om du vil motta e-postvarsel.', 48 'free trial upgrade' => 'Dette er en 30-dagers prøveinstallasjon. Dersom du vil beholde informasjonen og fortsette å bruke våre tjenester: <a class="dashboard-link" href="http://www.fengoffice.com/web/pricing.php">Oppgrader til et abonnement</a>', 49 'chelp personal account' => '<b>Velkommen til kontopanelet</b><br/> 94 Definer mer informasjon i alternativ-listen.', 95 'chelp add company' => 'I dette skjermbildet kan du skrive inn foretaksinformasjonen.<br/> 96 <br/>ScrollBar.js https://github.com/stephaneerard/qooxdoo.git | JavaScript | 429 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 left-level directory for details. 148 */ 149 singleStep : 150 { 157 * The amount to increment on each event. Typically corresponds 158 * to the user pressing <code>PageUp</code> or <code>PageDown</code>. 159 */ 349 { 350 var size = this.getSingleStep(); 351 this.getChildControl("slider").slideBy(steps * size); 370 _onExecuteBegin : function(e) { 371 this.scrollBy(-this.getSingleStep()); 372 },Proximity.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 354 lines
1<?php 2/* 11 | under the terms of the GNU Affero General Public License | 12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | 13 | | 19 | You should have received a copy of the GNU Affero General Public | 20 | License and the CiviCRM Licensing Exception along | 21 | with this program; if not, contact CiviCRM LLC | 22 | at info[AT]civicrm[DOT]org. If you have questions about the | 23 | GNU Affero General Public License or the licensing of CiviCRM, | 24 | see the CiviCRM license FAQ at http://civicrm.org/licensing | 29 * 30 * This search now functions as a subset of advanced search since at some point it 31 * was added to advanced search. 100 101 $config = CRM_Core_Config::singleton(); 102 $countryDefault = $config->defaultContactCountry;Bounce.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 304 lines
1<?php 2/* 11 | under the terms of the GNU Affero General Public License | 12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | 13 | | 19 | You should have received a copy of the GNU Affero General Public | 20 | License and the CiviCRM Licensing Exception along | 21 | with this program; if not, contact CiviCRM LLC | 22 | at info[AT]civicrm[DOT]org. If you have questions about the | 23 | GNU Affero General Public License or the licensing of CiviCRM, | 24 | see the CiviCRM license FAQ at http://civicrm.org/licensing | 70 // CRM-4814 71 // we changed this behavior since this bounce type might be due to some issue 72 // with the connection or smtp server etc 148 149 // query was missing 150 $dao->query($query);Type.php https://bitbucket.org/shashwat_dinasource/bitscentral.git | PHP | 395 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 3// +----------------------------------------------------------------------+ 4// | PHP version 4 | 5// +----------------------------------------------------------------------+ 5// +----------------------------------------------------------------------+ 6// | Copyright (c) 1997-2002 The PHP Group | 7// +----------------------------------------------------------------------+ 7// +----------------------------------------------------------------------+ 8// | This source file is subject to version 3.0 of the PHP license, | 9// | that is bundled with this package in the file LICENSE, and is | 10// | available at through the world-wide-web at | 11// | http://www.php.net/license/3_0.txt. | 12// | If you did not receive a copy of the PHP license and are unable to | 13// | obtain it through the world-wide-web, please send a note to | 14// | license@php.net so we can mail you a copy immediately. | 15// +----------------------------------------------------------------------+forum_id.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 177 lines
1<?php 2// This is a SPIP language file -- Ceci est un fichier langue de SPIP 44 'forum_avez_selectionne' => 'Anda telah memilih:', 45 'forum_cliquer_retour' => 'Klik <a href=\'@retour_forum@\'>di sini</a> untuk lanjut.', 46 'forum_forum' => 'forum',