PageRenderTime 3524ms queryTime 627ms sortTime 664ms getByIdsTime 99ms findMatchingLines 98ms

100+ results results for 'php log repo:jorgenio/codeigniter' (3524 ms)

Not the results you expected?
DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
                    
53import java.util.logging.Level;
                    
54import java.util.logging.Logger;
                    
55import javax.swing.JButton;
                    
84
                    
85    static final Logger LOGGER = Logger.getLogger(DiffPanel.class.getName());
                    
86
                    
133        descriptor.setValid(false);
                    
134        Dialog dialog = DialogDisplayer.getDefault().createDialog(descriptor);
                    
135        setDiffView();
                    
292        } catch (IOException ex) {
                    
293            LOGGER.log(Level.WARNING, null, ex);
                    
294            showError(Bundle.DiffPanel_error_copyContent());
                    
300        } catch (IOException ex) {
                    
301            LOGGER.log(Level.WARNING, null, ex);
                    
302            showError(Bundle.DiffPanel_error_opening());
                    
                
File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Storage
                    
18 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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 */
                    
26 * @subpackage Storage
                    
27 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
28 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
190         */
                    
191        if (PHP_INT_SIZE > 4) {
                    
192            $str = $this->_fread(8);
                    
218         */
                    
219        if (PHP_INT_SIZE > 4) {
                    
220            settype($value, 'integer');
                    
                
InstallSchema.php https://gitlab.com/yousafsyed/easternglamor | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
221            [],
                    
222            'Catalog entities (comma separated)'
                    
223        )->addColumn(
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
9namespace Bitrix\Main\Analytics;
                    
10use Bitrix\Catalog\CatalogViewedProductTable;
                    
11use Bitrix\Main\Application;
                    
29{
                    
30	protected static $cookieLogName = 'RCM_PRODUCT_LOG';
                    
31
                    
60		$realProductId = $basketItem->getProductId();
                    
61		$isCatalog = $basketItem->getField('MODULE') == 'catalog';
                    
62
                    
568	 */
                    
569	public static function encodeProductLog(array $log)
                    
570	{
                    
588	 */
                    
589	public static function decodeProductLog($log)
                    
590	{
                    
                
bltGrHairs.c https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git.git | C | 544 lines
                    
6 *
                    
7 * Copyright 1993-1998 Lucent Technologies, Inc.
                    
8 *
                    
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,
                    
                
Descarte.php https://gitlab.com/SFMSP/Hagape | PHP | 346 lines
                    
1<?php
                    
2
                    
235        } catch (\Exception $ex) {
                    
236            $this->log->log(\Zend\Log\Logger::ERR, $ex->getMessage());
                    
237            $this->getEm()->rollback();
                    
339        } catch (\Exception $ex) {
                    
340            $this->log->log(\Zend\Log\Logger::ERR, $ex->getMessage());
                    
341            $this->getEm()->rollback();
                    
                
Command.php https://bitbucket.org/maatao/estrutura-b-sica-doctrine.git | PHP | 512 lines
                    
1<?php
                    
2
                    
43     *
                    
44     * @throws \LogicException When the command name is empty
                    
45     */
                    
59        if (!$this->name) {
                    
60            throw new \LogicException('The command name cannot be empty.');
                    
61        }
                    
88     *
                    
89     * @throws \LogicException When this abstract class is not implemented
                    
90     */
                    
92    {
                    
93        throw new \LogicException('You must override the execute() method in the concrete command class.');
                    
94    }
                    
378            $name,
                    
379            $_SERVER['PHP_SELF'].' '.$name
                    
380        );
                    
                
admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
2
                    
3require_once(APPPATH.'controllers/project.php');
                    
4
                    
51	public function index() {
                    
52		if( !is_login($this->data['login']) || ( $this->input->post("project_state") == "" && ($this->laststate != $this->uri->segment( 1 )) ) ){
                    
53			show_404();
                    
58	public function _remap($judul, $act) {
                    
59		if( !is_login( $this->data['login'] ) ){
                    
60			show_404();
                    
                
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.');
                    
                
Batch.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 514 lines
                    
1<?php
                    
2
                    
24  /**
                    
25   * Should CiviCRM log any modifications to this table in the civicrm_log table.
                    
26   *
                    
28   */
                    
29  public static $_log = FALSE;
                    
30
                    
459  /**
                    
460   * Returns if this table needs to be logged
                    
461   *
                    
463   */
                    
464  public function getLog() {
                    
465    return self::$_log;
                    
                
lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
                    
49            'misc' => 'Övrigt',
                    
50            'logs' => 'Loggar',
                    
51            'mail' => 'Mail',
                    
134    'mail' => [
                    
135        'log_file' => 'Loggfiler',
                    
136        'menu_label' => 'E-postkonfiguration',
                    
141        'sender_email' => 'Avsändarens e-postadress',
                    
142        'php_mail' => 'PHP mail',
                    
143        'smtp' => 'SMTP',
                    
288        'empty_link' => 'Töm händelseloggen',
                    
289        'empty_loading' => 'Tömmer händelselogg...',
                    
290        'empty_success' => 'Lyckades tömma händelseloggen.',
                    
316        'manage_software_updates' => 'Hantera systemuppdateringar',
                    
317        'access_logs' => 'Visa systemloggen',
                    
318        'manage_mail_templates' => 'Hantera e-postmallar',
                    
                
about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
                    
16		Eclipse Public License Version 1.0 (&quot;EPL&quot;).  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, &quot;Program&quot; will mean the Content.</p>
                    
50
                    
51<h3>Apache Commons Logging v1.1</h3>
                    
52
                    
52
                    
53<p>This plugin is based on software developed by the Apache Commons Codec project at <a href="http://jakarta.apache.org/commons/logging/">http://jakarta.apache.org/commons/logging/</a>.
                    
54A copy of this library is distributed within this plugin and
                    
                
core.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
                    
38 * ErrorHandler::handleError() is used. It will display errors using Debugger, when debug > 0
                    
39 * and log errors with CakeLog when debug = 0.
                    
40 *
                    
70 * - `log` - boolean - Should Exceptions be logged?
                    
71 * - `skipLog` - array - list of exceptions to skip for logging. Exceptions that
                    
72 *   extend one of the listed exceptions will also be skipped for logging.
                    
205 *
                    
206 * - 'php' - Uses settings defined in your php.ini.
                    
207 * - 'cake' - Saves session files in CakePHP's /tmp directory.
                    
                
auth_tkt.py https://bitbucket.org/eaviles/gobierno.git | Python | 380 lines
                    
221        
                    
222    ``logout_path``:
                    
223        The path under this middleware that should signify a logout.  The
                    
223        The path under this middleware that should signify a logout.  The
                    
224        page will be shown as usual, but the user will also be logged out
                    
225        when they visit this page.
                    
239
                    
240        Logs out the user.
                    
241    """
                    
252        self.include_ip = include_ip
                    
253        self.logout_path = logout_path
                    
254        self.no_domain_cookie = no_domain_cookie
                    
295        environ['paste.auth_tkt.logout_user'] = logout_user
                    
296        if self.logout_path and environ.get('PATH_INFO') == self.logout_path:
                    
297            logout_user()
                    
                
NetClient.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 629 lines
                    
75	/**
                    
76	 * @var \MailSo\Log\Logger
                    
77	 */
                    
559	 */
                    
560	protected function writeLog($sDesc, $iDescType = \MailSo\Log\Enumerations\Type::INFO, $bDiplayCrLf = false)
                    
561	{
                    
563		{
                    
564			$this->oLogger->Write($sDesc, $iDescType, $this->getLogName(), true, $bDiplayCrLf);
                    
565		}
                    
605	/**
                    
606	 * @param \MailSo\Log\Logger $oLogger
                    
607	 *
                    
613	{
                    
614		if (!($oLogger instanceof \MailSo\Log\Logger))
                    
615		{
                    
                
Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 lines
                    
1<?php
                    
2/**
                    
16 * @package   Zend_TimeSync
                    
17 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
34 * @package   Zend_TimeSync
                    
35 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
36 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
                
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.');
                    
                
hostkreskoweczki.py https://gitlab.com/Ghoz/iptvplayer-for-e2 | Python | 318 lines
                    
6from Plugins.Extensions.IPTVPlayer.components.ihost import CHostBase, CBaseHostClass, CDisplayListItem, RetHost, CUrlItem, ArticleContent
                    
7from Plugins.Extensions.IPTVPlayer.tools.iptvtools import printDBG, printExc, CSearchHistoryHelper, GetDefaultLang, remove_html_markup, GetLogoDir, GetCookieDir, byteify
                    
8from Plugins.Extensions.IPTVPlayer.libs.pCommon import common, CParsingHelper
                    
60        self.MAIN_URL      = 'http://www.kreskoweczki.pl/'
                    
61        self.SEARCH_URL    = self.MAIN_URL + 'search.php?keywords='
                    
62        self.DEFAULT_ICON  = "http://www.kreskoweczki.pl/uploads/custom-logo.png"
                    
179            
                    
180        videoData = self.cm.ph.getSearchGroups(videoUrl, "/embed/proxy[^.]+?.php")
                    
181        if '' != videoData:
                    
                
Resource.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Autoloader
                    
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 $
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
31 * @subpackage Autoloader
                    
32 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
33 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
73        if (!is_array($options)) {
                    
74            require_once 'Zend/Loader/Exception.php';
                    
75            throw new Zend_Loader_Exception('Options must be passed to resource loader constructor');
                    
83        ) {
                    
84            require_once 'Zend/Loader/Exception.php';
                    
85            throw new Zend_Loader_Exception('Resource loader requires both a namespace and a base path for initialization');
                    
                
Resource.php https://github.com/balupton/Zend-Framework-Mirror.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Autoloader
                    
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 $
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
31 * @subpackage Autoloader
                    
32 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
33 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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');
                    
                
facebook.php https://github.com/copongcopong/CakePHP-Facebook-Plugin.git | PHP | 425 lines
                    
65    * - max-rows int The maximum number of rows of profile pictures to show
                    
66    * - perms list of permissions to ask for when logging in separated by commas (eg: 'email,read_stream,publish_stream'). (http://developers.facebook.com/docs/authentication/permissions)
                    
67    * @return string XFBML tag
                    
69    */
                    
70  function login($options = array()){
                    
71    return $this->__fbTag('fb:login-button', '', $options);
                    
101      }
                    
102      $onclick = "FB.logout(function(response){".$response."});";
                    
103      if(isset($options['confirm'])){
                    
116   * @param array of options
                    
117   * - redirect string to your app's logout url (default null)
                    
118   * - label string of text to use in link (default logout)
                    
243    * - connections : 1 turns connections on, 0 turns connections off (default 0)
                    
244    * - logobar : 1 turns logobar on, 0 turns logobar off (default 0)
                    
245    * - profile_id : Your Application Id (default Configure::read('Facebook.app_id')
                    
                
user.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
                    
18$_lang['extended_fields_msg'] = 'Edit any extended fields that are implemented here.';
                    
19$_lang['login_options'] = 'Login Options';
                    
20$_lang['minimum_role'] = 'Minimum Role';
                    
77$_lang['user_duplicate'] = 'Duplicate User';
                    
78$_lang['user_edit_self_msg'] = 'You may need to log out and log in again after saving to fully update your information.</strong><br>Also, should you choose to generate a new password for yourself, it will be sent to you through email.';
                    
79$_lang['user_email'] = 'Email address';
                    
114$_lang['user_failedlogincount'] = 'Failed Logins';
                    
115$_lang['user_failedlogincount_desc'] = 'The number of times this user has failed to login by entering an incorrect password.';
                    
116$_lang['user_fax'] = 'Fax';
                    
165$_lang['user_logincount'] = 'Number of Logins';
                    
166$_lang['user_logincount_desc'] = 'The total number of times this User has logged in.';
                    
167$_lang['user_male'] = 'Mand';
                    
175$_lang['user_prevlogin'] = 'Last Login';
                    
176$_lang['user_prevlogin_desc'] = 'The last time that the user successfully logged in.';
                    
177$_lang['user_profile_err_nf'] = 'FATAL ERROR: User profile not found.';
                    
                
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// |                                                                      |
                    
43//
                    
44// $Id: Move.php 12 2007-09-17 20:20:11Z killersoft $
                    
45//
                    
89 *                      // either 'r' or 'revision' may be used
                    
90 *  'force-log'     =>  true|false,
                    
91 *                      // force validity of log message source
                    
91 *                      // force validity of log message source
                    
92 *  'username'      =>  'Subversion repository login',
                    
93 *  'password'      =>  'Subversion repository password',
                    
                
Resource.php https://github.com/DragonBe/zfpro.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Autoloader
                    
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 $
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
31 * @subpackage Autoloader
                    
32 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
33 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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');
                    
                
Value.php https://github.com/sitengine/sitengine.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Value
                    
18 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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
                    
                
user.inc.php https://github.com/hansek/revolution.git | PHP | 202 lines
                    
18$_lang['extended_fields_msg'] = 'Edit any extended fields that are implemented here.';
                    
19$_lang['login_options'] = 'Login Options';
                    
20$_lang['minimum_role'] = 'Minimum Role';
                    
77$_lang['user_duplicate'] = 'Duplicate User';
                    
78$_lang['user_edit_self_msg'] = 'You may need to log out and log in again after saving to fully update your information.</strong><br>Also, should you choose to generate a new password for yourself, it will be sent to you through email.';
                    
79$_lang['user_email'] = 'Email address';
                    
114$_lang['user_failedlogincount'] = 'Failed Logins';
                    
115$_lang['user_failedlogincount_desc'] = 'The number of times this user has failed to login by entering an incorrect password.';
                    
116$_lang['user_fax'] = 'Fax';
                    
165$_lang['user_logincount'] = 'Number of Logins';
                    
166$_lang['user_logincount_desc'] = 'The total number of times this User has logged in.';
                    
167$_lang['user_male'] = 'Male';
                    
175$_lang['user_prevlogin'] = 'Last Login';
                    
176$_lang['user_prevlogin_desc'] = 'The last time that the user successfully logged in.';
                    
177$_lang['user_profile_err_nf'] = 'FATAL ERROR: User profile not found.';
                    
                
Value.php https://github.com/doctoralex/ch3-dev-preview.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Value
                    
18 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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
                    
                
PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
                    
12__author__  = "Jens Diemer (www.jensdiemer.de)"
                    
13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php"
                    
14__url__     = "http://www.jensdiemer.de/Programmieren/Python/PyDown"
                    
57
                    
58    # Username mit dem sich der Admin einloggt
                    
59    "admin_username": "",
                    
72
                    
73    # Zugriff nur eingeloggte User, durch Apache's .htaccess-Auth erlauben?
                    
74    "only_auth_users": True,
                    
84
                    
85    # Anzahl der Log-Einträge die angezeigt werden sollen
                    
86    "last_log_count": 50,
                    
182    """
                    
183    Klasse die die Programmlogik zusammenstellt
                    
184    """
                    
                
pageTranslations.php https://gitlab.com/macitsimsek/fastsubtitle | PHP | 217 lines
                    
1<?php
                    
2
                    
26    'support_subtitle'      => 'Support Subtitle',
                    
27    'user_login'            => 'User Login',
                    
28    'sign_up'               => 'Sign Up',
                    
30    'change_password'       => 'Change Password',
                    
31    'logout'                => 'Logout',
                    
32    'view_profile'          => 'View Profile',
                    
                
grid.subgrid.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 298 lines
                    
4 * Tony Tomov tony@trirand.com
                    
5 * http://trirand.com/blog/ 
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
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
                    
                
ZoomPrintController.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
                    
174      printJob.setPrintable(_printable, pf);
                    
175      if (printJob.printDialog())
                    
176      {
                    
226
                    
227            BufferedImage img = prepareImage(graphPixelSize.width, graphPixelSize.height);
                    
228            _printable.print(img.getGraphics(), pf, 0);
                    
                
display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
                    
1<?php
                    
2/**
                    
13	global $wpdb;
                    
14	$fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&amp;subpage=upgrade-purchase-logs';
                    
15	?>
                    
49			<li>
                    
50				<a href='?page=wpsc-debug&amp;wpsc_debug_action=phpinfo'>Display phpinfo</a>
                    
51			</li>
                    
52			<li>
                    
53				<a href='<?php echo $fixpage; ?>'>Fix Purchaselogs</a>
                    
54			</li>
                    
55		</ul>
                    
56		<?php
                    
57		if (defined('WPSC_ADD_DEBUG_PAGE') && (constant('WPSC_ADD_DEBUG_PAGE') == true)) {
                    
79			</ul>
                    
80			<?php
                    
81		}
                    
                
SnsClient.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 378 lines
                    
182    /**
                    
183     * Reloads/compiles a PHP file.
                    
184     * @param string $filename
                    
191    /**
                    
192     * Reloads/compiles a PHP file.
                    
193     * @param string[] $filenames
                    
303        $message['actions'] = $this->messages;
                    
304        $message['blog_id'] = w3_get_blog_id();
                    
305        $message['host'] = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : null;
                    
315            $this->_log($origin . ' sending message ' . $v);
                    
316            $this->_log('Host: ' . $message['host']);
                    
317            if (isset($_SERVER['REQUEST_URI']))
                    
317            if (isset($_SERVER['REQUEST_URI']))
                    
318                $this->_log('URL: ' . $_SERVER['REQUEST_URI']);
                    
319            if (function_exists('current_filter'))
                    
                
class-popup-public.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 407 lines
                    
1<?php
                    
2// Load dependencies.
                    
2// Load dependencies.
                    
3require_once PO_INC_DIR . 'class-popup-base.php';
                    
4
                    
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.
                    
239			// Data is loaded via a normal WordPress ajax request.
                    
240			$this->script_data['ajaxurl'] = admin_url( 'admin-ajax.php' );
                    
241			$this->script_data['ajax_data']['orig_request_uri'] = $_SERVER['REQUEST_URI'];
                    
261
                    
262		if ( ! in_array( $pagenow, array( 'wp-login.php', 'wp-register.php' ) ) ) {
                    
263			/*
                    
                
php-crypt_r.cpp https://gitlab.com/iranjith4/hhvm | C++ | 381 lines
                    
3   +----------------------------------------------------------------------+
                    
4   | PHP Version 7                                                        |
                    
5   +----------------------------------------------------------------------+
                    
5   +----------------------------------------------------------------------+
                    
6   | Copyright (c) 1997-2015 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
                
SensorRunner.php https://gitlab.com/Drulenium-bot/monitoring | PHP | 351 lines
                    
1<?php
                    
2/**
                    
213  /**
                    
214   * Log results if needed.
                    
215   *
                    
218   */
                    
219  protected function logResults(array $results) {
                    
220    foreach ($results as $result) {
                    
239  /**
                    
240   * Checks if sensor results should be logged.
                    
241   *
                    
249   * @return bool
                    
250   *   TRUE if the result should be logged, FALSE if not.
                    
251   */
                    
252  protected function needsLogging($result, $old_status = NULL, $new_status = NULL) {
                    
253    $log_activity = $result->getSensorConfig()->getSetting('result_logging', FALSE);
                    
254
                    
                
Application.php https://gitlab.com/rsilveira1987/Expresso | PHP | 374 lines
                    
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 */
                    
24 * @package    Zend_Application
                    
25 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
26 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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        }
                    
                
Cloud.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 410 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Cloud
                    
18 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
25 */
                    
26#require_once 'Zend/Tag/Item.php';
                    
27
                    
30 * @package    Zend_Tag
                    
31 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
32 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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');
                    
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');
                    
                
cat_contractor_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 339 lines
                    
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/catalog/prolog.php");
                    
4global $APPLICATION;
                    
13
                    
14if (!($USER->CanDoOperation('catalog_read') || $USER->CanDoOperation('catalog_store')))
                    
15	$APPLICATION->AuthForm(GetMessage("ACCESS_DENIED"));
                    
20{
                    
21	require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
22
                    
25
                    
26	require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");
                    
27	die();
                    
121
                    
122require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
123$str_ACTIVE = "Y";
                    
338
                    
339<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");?>
                    
                
QueryPluginBase.php https://gitlab.com/reasonat/test8 | PHP | 353 lines
                    
1<?php
                    
2
                    
92   *
                    
93   * This signature is something that can be used when perusing query logs to
                    
94   * discern where particular queries might be coming from.
                    
156   *   Either 'AND' or 'OR'. All items within this group will be added
                    
157   *   to the WHERE clause with this logical operator.
                    
158   * @param $group
                    
                
general.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 225 lines
                    
19            <label class="kopa-label"><?php _e('Top margin:', kopa_get_domain()); ?> </label>
                    
20            <input type="text" value="<?php echo get_option('kopa_theme_options_logo_margin_top'); ?>" id="kopa_theme_options_logo_margin_top" name="kopa_theme_options_logo_margin_top" class=" kopa-short-input">
                    
21            <label class="kopa-label"><?php _e('px', kopa_get_domain()); ?></label>
                    
25            <label class="kopa-label"><?php _e('Left margin:', kopa_get_domain()); ?> </label>
                    
26            <input type="text" value="<?php echo get_option('kopa_theme_options_logo_margin_left'); ?>" id="kopa_theme_options_logo_margin_left" name="kopa_theme_options_logo_margin_left" class=" kopa-short-input">
                    
27            <label class="kopa-label"><?php _e('px', kopa_get_domain()); ?></label>
                    
31            <label class="kopa-label"><?php _e('Right margin:', kopa_get_domain()); ?> </label>
                    
32            <input type="text" value="<?php echo get_option('kopa_theme_options_logo_margin_right'); ?>" id="kopa_theme_options_logo_margin_right" name="kopa_theme_options_logo_margin_right" class=" kopa-short-input">
                    
33            <label class="kopa-label"><?php _e('px', kopa_get_domain()); ?></label>
                    
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
                    
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
                    
                
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>
                    
230              <ul class="inline-list">
                    
231                <li><a href="https://www.apachefriends.org/blog.html">Blog</a></li>
                    
232                <li><a href="https://www.apachefriends.org/privacy_policy.html">Privacy Policy</a></li>
                    
234<a target="_blank" href="http://www.fastly.com/">                    CDN provided by
                    
235                    <img width="48" data-2x="/dashboard/images/fastly-logo@2x.png" src="/dashboard/images/fastly-logo.png" />
                    
236</a>                </li>
                    
                
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;
                    
36$cfg_db['MemoryLimit'] = 'short_string';
                    
37$cfg_db['NavigationLogoLinkWindow'] = array('main', 'new');
                    
38$cfg_db['NavigationTreeDefaultTabTable'] = array(
                    
222/**
                    
223 * Basic validator assignments (functions from libraries/config/Validator.php
                    
224 * and 'validators' object in js/config.js)
                    
244    'LimitChars' => 'validatePositiveNumber',
                    
245    'LoginCookieValidity' => 'validatePositiveNumber',
                    
246    'LoginCookieStore' => 'validateNonNegativeNumber',
                    
                
actions.class.php https://github.com/dada888/phpcollab3.git | PHP | 291 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * This file is part of the phpCollab3 package.
                    
4 * (c) 2009 Ideato s.r.l. <phpcollab@ideato.it>
                    
10 *
                    
11 * @package    phpCollab3
                    
12 * @subpackage idProjectManagementPlugin Modules
                    
17 *
                    
18 * @package    phpCollab3
                    
19 * @subpackage idProjectManagementPlugin Modules
                    
48    $this->project = Doctrine::getTable('Project')->getProjectMilestonesAndUsers($request->getParameter('id'));
                    
49    $this->recent_activities = $this->recent_activities = Doctrine::getTable('EventLog')->retrieveEventsOfTheLastDaysByProjectsIds(3, array($request->getParameter('id')), 'LogDecorator');
                    
50  }
                    
                
lib.php https://bitbucket.org/ngmares/moodle.git | PHP | 327 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
24 */
                    
25require_once($CFG->dirroot . '/repository/lib.php');
                    
26require_once($CFG->libdir.'/flickrlib.php');
                    
58
                    
59        $this->flickr = new phpFlickr($this->api_key, $this->secret, $this->token);
                    
60
                    
75     */
                    
76    public function check_login() {
                    
77        return !empty($this->token);
                    
83     */
                    
84    public function logout() {
                    
85        set_user_preference($this->setting, '');
                    
88        $this->nsid  = '';
                    
89        return $this->print_login();
                    
90    }
                    
                
Editor.php https://github.com/Shreef/zf2.git | PHP | 601 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Form_Element
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
36 * @subpackage Form_Element
                    
37 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
38 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
index.py https://gitlab.com/xiaok/SaltAdmin | Python | 237 lines
                    
80            Expiry = 0 # 不记住登录,设置数据库里存储的token的过期时间与登录时间相等
                    
81        #db.query('''update users set loginhost="%s",logindate="%s" where id="%s"''' % (LoginHost,LoginDate,SID))
                    
82        db.query('''insert into login_logs (uid,ip,location,agent,token,expiry) values ("%s","%s","%s","%s","%s",NOW() + INTERVAL %d SECOND)''' % (SID,LoginHost,Location,Agent,Token,Expiry))
                    
82        db.query('''insert into login_logs (uid,ip,location,agent,token,expiry) values ("%s","%s","%s","%s","%s",NOW() + INTERVAL %d SECOND)''' % (SID,LoginHost,Location,Agent,Token,Expiry))
                    
83        db.query('''update users set loginfo=(select id from login_logs where uid="%s" and ip="%s" and token="%s" and  status="yes" order by id desc limit 1) where id="%s"''' % (SID,LoginHost,Token,SID))
                    
84    # 写入token到session,存储于服务器端
                    
123                g = db.query('''
                    
124                    select U.id,U.username,U.nickname,U.loginfo,L.id as LID,L.ip,L.date from login_logs as L
                    
125                    left join users as U on L.uid=U.id
                    
138                if d.loginfo != d.LID:
                    
139                    g2 = db.query('''select L.ip,L.date from users as U left join login_logs as L on U.loginfo=L.id where U.id="%s"''' % uid)
                    
140                    d = g2[0]
                    
166        try:
                    
167            getSQL = db.query('''select u.id,u.username,u.password,u.nickname,u.status,L.ip,L.location,L.date from users as u left join login_logs as L on u.loginfo=L.id where username="%s" and password=md5("%s")''' % (getPost.username,getPost.password))
                    
168        except:
                    
                
ConfigListener.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 383 lines
                    
1<?php
                    
2/**
                    
5 * @link      http://github.com/zendframework/zf2 for the canonical source repository
                    
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
                    
7 * @license   http://framework.zend.com/license/new-bsd New BSD License
                    
                
OnlineTest.php https://bitbucket.org/ksekar/campus.git | PHP | 289 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage UnitTests
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: OnlineTest.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
25 */
                    
26require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'OnlineTestCase.php';
                    
27/**
                    
29 */
                    
30require_once 'Zend/Ldap/Node.php';
                    
31
                    
35 * @subpackage UnitTests
                    
36 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
37 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
OnlineTest.php https://bitbucket.org/dbaltas/zend-framework-1.x-on-git.git | PHP | 289 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage UnitTests
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: OnlineTest.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
25 */
                    
26require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'OnlineTestCase.php';
                    
27/**
                    
29 */
                    
30require_once 'Zend/Ldap/Node.php';
                    
31
                    
35 * @subpackage UnitTests
                    
36 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
37 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
style.css https://bitbucket.org/zachisit/zachis.it-m.git | CSS | 374 lines
                    
5Author: Cory Miller
                    
6Description: Clean Copy 2 Column is a clean blue, grey and white theme designed for blog content and sharp simplicity.
                    
7The CSS, XHTML and design is released under GPL: 
                    
7The CSS, XHTML and design is released under GPL: 
                    
8http://www.opensource.org/licenses/gpl-license.php
                    
9Header photo by Ville Miettinen, used with permission
                    
264#portfolio {margin-top:400px;height:300px;background:pink;width:100%;float:left;}
                    
265.logo_one {font-weight:normal;font-size:24px;font-family:arial;color:#ff6600;}
                    
266.logo_two {font-weight:normal;font-style:italic;font-family:times new roman;font-size:28px;color:#FF6600;}
                    
                
store.php https://github.com/marxjohnson/moodle.git | PHP | 362 lines
                    
24
                    
25namespace logstore_legacy\log;
                    
26
                    
28
                    
29class store implements \tool_log\log\store, \core\log\sql_reader {
                    
30    use \tool_log\helper\store,
                    
153    public function get_log_event($data) {
                    
154        return \logstore_legacy\event\legacy_logged::restore_legacy($data);
                    
155    }
                    
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) {
                    
261        try {
                    
262            $DB->insert_record_raw('log', $log, false);
                    
263        } catch (\dml_exception $e) {
                    
                
wp_loaded.php https://gitlab.com/najomie/fit-hippie | PHP | 281 lines
                    
161								));
                    
162								//$logger and call_user_func($logger, sprintf(__('Import #%s is not triggered. Request skipped.', 'wp_all_import_plugin'), $id));	
                    
163							}
                    
172								
                    
173								$log_storage = (int) PMXI_Plugin::getInstance()->getOption('log_storage');
                    
174
                    
180								if ($historyLogs->count() and $historyLogs->count() >= $log_storage ){
                    
181									$logsToRemove = $historyLogs->count() - $log_storage;
                    
182									foreach ($historyLogs as $i => $file){																					
                    
200									$wp_uploads = wp_upload_dir();	
                    
201									$log_file = wp_all_import_secure_file( $wp_uploads['basedir'] . DIRECTORY_SEPARATOR . PMXI_Plugin::LOGS_DIRECTORY, $history_log->id ) . DIRECTORY_SEPARATOR . $history_log->id . '.html';
                    
202									if ( @file_exists($log_file) ) wp_all_import_remove_source($log_file, false);	
                    
239									// $logger and call_user_func($logger, sprintf(__('Records Count %s', 'wp_all_import_plugin'), (int) $import->count));
                    
240									// $logger and call_user_func($logger, sprintf(__('Records Processed %s', 'wp_all_import_plugin'), (int) $import->queue_chunk_number));
                    
241
                    
                
Js.php https://github.com/gryzz/crystal_magento.git | PHP | 202 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) 2010 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
187
                    
188                'Your session has been expired, you will be relogged in now.' => $this->__('Your session has been expired, you will be relogged in now.'),
                    
189                'Incorrect credit card expiration date' => $this->__('Incorrect credit card expiration date'),
                    
                
Extracted.php https://github.com/vvitkouski/New-Referrers-in-Google-Analytics.git | PHP | 274 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Fonts
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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
                    
34 * @subpackage Fonts
                    
35 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
36 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
78                    // Multiple descendant fonts are not supported
                    
79                    require_once 'Zend/Pdf/Exception.php';
                    
80                    throw new Zend_Pdf_Exception(self::TYPE_NOT_SUPPORTED);
                    
                
controller.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 315 lines
                    
1<?php
                    
2
                    
101            if (!$u->isRegistered()) {
                    
102                $this->redirect('/login');
                    
103            }
                    
                
orderdocument.php https://gitlab.com/neuser/bitrix-core | PHP | 621 lines
                    
1<?php
                    
2namespace Bitrix\Sale\Exchange\OneC;
                    
493						),
                    
494						'CATALOG_ID' => array(
                    
495							'TYPE' => 'string'
                    
                
class.php https://gitlab.com/neuser/bitrix-core | PHP | 658 lines
                    
1<?php
                    
2if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();
                    
3
                    
12
                    
13require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/classes/general/wizard.php"); //Wizard API
                    
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils
                    
14require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/install/wizard/utils.php"); //Wizard utils
                    
15require_once("tools/bsmpackage.php");
                    
16require_once("tools/modulechecker.php");
                    
16require_once("tools/modulechecker.php");
                    
17require_once("tools/bitrixvmchecker.php");
                    
18require_once("tools/agentchecker.php");
                    
18require_once("tools/agentchecker.php");
                    
19require_once("tools/pushchecker.php");
                    
20require_once("tools/sitepatcher.php");
                    
                
session.php https://github.com/mathieu/fusionforge.git | PHP | 552 lines
                    
100/**
                    
101 *	session_logout() - Log the user off the system.
                    
102 *
                    
130 */
                    
131function session_login_valid($loginname, $passwd, $allowpending=0)  {
                    
132	global $feedback;
                    
183				WHERE user_id='".$usr['user_id']."'");
                    
184			return session_login_valid_dbonly($loginname, $passwd, $allowpending) ;
                    
185		}
                    
199					WHERE user_id='".$usr['user_id']."'");
                    
200				return session_login_valid_dbonly($loginname, $passwd, $allowpending) ;
                    
201			} else {
                    
491//TODO - this should be generalized and used for pre.php, squal_pre.php, 
                    
492//SOAP, forum_gateway.php, tracker_gateway.php, etc to 
                    
493//setup languages
                    
                
TranslatorTest.php https://gitlab.com/Marwamimo/Crowdrise_Web | PHP | 288 lines
                    
15use Symfony\Component\HttpFoundation\RequestStack;
                    
16use Symfony\Component\Translation\MessageCatalogue;
                    
17use Symfony\Component\Filesystem\Filesystem;
                    
19
                    
20class TranslatorTest extends \PHPUnit_Framework_TestCase
                    
21{
                    
177
                    
178    protected function getCatalogue($locale, $messages)
                    
179    {
                    
179    {
                    
180        $catalogue = new MessageCatalogue($locale);
                    
181        foreach ($messages as $key => $translation) {
                    
184
                    
185        return $catalogue;
                    
186    }
                    
                
CreditCard.php https://gitlab.com/devtoannh/cafe | PHP | 317 lines
                    
1<?php
                    
2/**
                    
16 * @package    Zend_Validate
                    
17 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: CreditCard.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Validate/Abstract.php';
                    
26
                    
29 * @package    Zend_Validate
                    
30 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
31 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
229        if (!is_callable($service)) {
                    
230            require_once 'Zend/Validate/Exception.php';
                    
231            throw new Zend_Validate_Exception('Invalid callback given');
                    
                
Amazon.php https://gitlab.com/devtoannh/cafe | PHP | 323 lines
                    
1<?php
                    
2
                    
18 * @subpackage Amazon
                    
19 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Amazon.php 23775 2011-03-01 17:25:24Z ralph $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Rest/Client.php';
                    
28
                    
32 * @subpackage Amazon
                    
33 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
34 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
92             */
                    
93            require_once 'Zend/Service/Exception.php';
                    
94            throw new Zend_Service_Exception("Unknown country code: $countryCode");
                    
                
Db.php https://gitlab.com/devtoannh/cafe | PHP | 286 lines
                    
1<?php
                    
2
                    
17 * @package    Zend_Db
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Db.php 24417 2011-08-28 10:15:47Z padraic $
                    
21 */
                    
28 * @package    Zend_Db
                    
29 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
30 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
85     *    'ATTR_PERSISTENT', 'ATTR_STATEMENT_CLASS', 'ATTR_FETCH_TABLE_NAMES',
                    
86     *    'ATTR_FETCH_CATALOG_NAMES', 'ATTR_DRIVER_NAME',
                    
87     *    'ATTR_STRINGIFY_FETCHES', 'ATTR_MAX_COLUMN_LEN', 'ERRMODE_SILENT',
                    
111    const ATTR_ERRMODE = 3;
                    
112    const ATTR_FETCH_CATALOG_NAMES = 15;
                    
113    const ATTR_FETCH_TABLE_NAMES = 14;
                    
                
logs.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 336 lines
                    
24$sql = "SELECT SQL_CALC_FOUND_ROWS * FROM `" . $db_config['prefix'] . "_logs` WHERE `id`!=0";
                    
25$base_url = NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op;
                    
26
                    
41	{
                    
42		nv_insert_logs( NV_LANG_DATA, $module_name, sprintf ( $lang_module['filter_check_log'], $op ), $admin_info['username'] . " - " . $admin_info['userid'], 0 );
                    
43		Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op );
                    
81			$to = mktime( 0, 0, 0, $match[2], $match[1], $match[3] );
                    
82			$sql .= " AND `log_time` <= " . $to;
                    
83			$base_url .= "&amp;to=" . $data_search['to'];
                    
157{
                    
158	$sql .= " ORDER BY `log_time` " . $order['time']['order'];
                    
159}
                    
315    $xtpl->assign( 'CLASS', $a % 2 == 1 ? " class=\"second\"" : "" );
                    
316    $xtpl->assign( 'DEL_URL', NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&amp;" . NV_OP_VARIABLE . "=log&amp;" . NV_OP_VARIABLE . "=logs_del&amp;id=" . $data_i['id'] );
                    
317    $xtpl->assign( 'BACK_URL', $base_url );
                    
                
class-wc-shortcode-my-account.php https://gitlab.com/webkod3r/tripolis | PHP | 363 lines
                    
50
                    
51				wc_get_template( 'myaccount/form-login.php' );
                    
52
                    
204	 *
                    
205	 * Based on retrieve_password() in core wp-login.php.
                    
206	 *
                    
301
                    
302		if ( empty( $login ) || ! is_string( $login ) ) {
                    
303			wc_add_notice( __( 'Invalid key', 'woocommerce' ), 'error' );
                    
306
                    
307		$user = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->users WHERE user_login = %s", $login ) );
                    
308
                    
310			if ( empty( $wp_hasher ) ) {
                    
311				require_once ABSPATH . 'wp-includes/class-phpass.php';
                    
312				$wp_hasher = new PasswordHash( 8, true );
                    
                
PhpReferenceCompatibility.php https://gitlab.com/x33n/ImpressPages | PHP | 433 lines
                    
1<?php
                    
2/**
                    
5 * @link      http://github.com/zendframework/zf2 for the canonical source repository
                    
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
                    
7 * @license   http://framework.zend.com/license/new-bsd New BSD License
                    
21 * This ArrayObject is a rewrite of the implementation to fix
                    
22 * issues with php's implementation of ArrayObject where you
                    
23 * are unable to unset multi-dimensional arrays because you
                    
25 */
                    
26abstract class PhpReferenceCompatibility implements IteratorAggregate, ArrayAccess, Serializable, Countable
                    
27{
                    
                
DatabaseHandle.php https://gitlab.com/tomgidden/php-DatabaseObject | PHP | 375 lines
                    
6
                    
7require_once('DatabaseObject/common/vars.php');
                    
8
                    
29  protected $cache = array();		   // The prepared query cache
                    
30  protected $sqllog = array();		   // Log of queries run through this handle
                    
31  protected $dbh;					   // The DB handle itself
                    
97
                    
98	// Log the start time of the query
                    
99	if(defined('TIMINGS') and TIMINGS) {
                    
236	  if(!($this->dbh->getAttribute(constant('PDO::ATTR_AUTOCOMMIT')))) {
                    
237		$this->sqllog[] = array(false, 0, 'Weird rollback', '');
                    
238		$this->dbh->rollBack();
                    
305		$msg = $this->errorMessage();
                    
306		$this->sqllog[] = array(false, $end-$start, 'Commit', $msg);
                    
307	  } else
                    
                
redemptiondetail.php https://gitlab.com/nvtdn2006/azora | PHP | 316 lines
                    
1<?php require_once './includes/application.php'; $this->template = ''; $this->title = 'Redemption Detail'?>
                    
2
                    
2
                    
3<?php		
                    
4
                    
34				
                    
35				//Event Log
                    
36				$evtObj = new EventObject();					
                    
39				$evtObj->action_by = Authentication::getAttribute('login_id');					
                    
40				EventLog::Log($evtObj);
                    
41			
                    
63				$evtObj->action_by = Authentication::getAttribute('login_id');					
                    
64				EventLog::Log($evtObj);								
                    
65		
                    
235							<td width="60px">
                    
236								<img src="<?php echo $config['PRMSConfig']->live_site . '/domain/images/products/' . $image['sys_file_name']; ?>" width="50" height="50" alt="<?php echo $product['product']['product_name']; ?>" title="<?php echo $product['product']['product_name']; ?>"/></td>
                    
237							<td><b><?php echo $product['product']['product_name']; ?></b></td>
                    
                
Statement.php https://github.com/cosmocommerce/magento-mirror.git | PHP | 488 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Statement
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Statement.php 24790 2012-05-10 12:28:51Z mcleod@spaceweb.nl $
                    
21 */
                    
25 */
                    
26#require_once 'Zend/Db.php';
                    
27
                    
30 */
                    
31#require_once 'Zend/Db/Statement/Interface.php';
                    
32
                    
38 * @subpackage Statement
                    
39 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
40 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
Abstract.php https://github.com/zeon/qpkg-piwik.git | PHP | 350 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Transport
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
26 */
                    
27// require_once 'Zend/Mime.php';
                    
28
                    
36 * @subpackage Transport
                    
37 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
38 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
186             */
                    
187            // require_once 'Zend/Mail/Transport/Exception.php';
                    
188            throw new Zend_Mail_Transport_Exception('Missing Zend_Mail object in _mail property');
                    
                
collateral-form-common.php https://gitlab.com/eluar/infocus | PHP | 252 lines
                    
93    <div class="small-1 medium-1 columns">
                    
94          <img class="lets-do-this" src="<?php echo $thumb ?>?<?php echo rand(199,9999);?>" data-big="<?php echo $src ?>?<?php echo rand(199,9999);?>" data-big2x="<?php echo $src ?>" width="40" height="40" />
                    
95    </div>
                    
102      <label id="item1<?php echo ($key + 3) ?>_label_0">
                    
103        <input type="number" placeholder="Qty" id="item1<?php echo ($key + 3) ?>_number_1" class="form-control" autocomplete="off" min="0" max="999999999" step="1" data-hint="" name="qty_<?php echo $name ?>">
                    
104      </label>
                    
107      <label id="item1<?php echo ($key + 3) ?>_label_0">
                    
108        <textarea id="item1<?php echo $key ?>_textarea_1" placeholder="Notes" class="form-control" maxlength="10000" placeholder="" data-hint="" name="notes_<?php echo $name ?>"></textarea>
                    
109      </label>
                    
162        <?php foreach ($costCenters as $costCenter): ?>
                    
163          <option value="<?php echo $costCenter;?>"><?php echo $costCenter;?></option>
                    
164        <?php endforeach; ?>
                    
198        <label <?php echo ($key == 'state')? 'id="state_label"' : '' ?>>
                    
199            <?php echo ($key !== 'province') ? '*' : ''?><?php echo $value ?>
                    
200            <input type="text" id="item102_text_1" class="no-margin-bottom" maxlength="254" placeholder="" autocomplete="off" data-hint="" name="<?php echo $key ?>" required="">
                    
                
sendmail.htm https://bitbucket.org/johnroyer/phpwind8.7.git | HTML | 275 lines
                    
1<!--<?php
                    
2include_once PrintEot('left');
                    
31				<li><input type='radio' name='by' id="byRegName" value='2' onclick="sendtype(2)">按註冊時間</li>
                    
32				<li><input type='radio' name='by' id="byLoginTime" value='3' onclick="sendtype(3)">按最後登錄時間</li>       
                    
33                <li><input type='radio' name='by' value='4' onclick="sendtype(4)">按用戶名</li>
                    
70			<td class="td1">按最後登錄時間</td>
                    
71			<td class="td2"><div class="input_img fl"><i onclick="this.nextSibling.onclick()" class="input_time" title="選擇時間"></i><input name="loginstarttime" id="loginstarttime" value="" onclick="ShowCalendar(this.id);" type="text"></div><span class="p_lr_10 fl">至</span><div class="input_img fl"><i class="input_time" title="選擇時間"></i><input name="loginendtime" id="loginendtime" value="" onclick="ShowCalendar(this.id);" type="text"></div>
                    
72			<div class="help_a" style="display: block;">&nbsp;格式:yyyy-mm-dd,會員最後登錄時間範圍</div></td>
                    
131		obj.touser.setAttribute("hasError", 1);
                    
132		showDialog("error","註冊時間範圍不能為空",2);
                    
133		obj.subject.focus();
                    
135	} 
                    
136	if (getObj('byLoginTime').checked == true && (getObj('loginstarttime').value == '' || getObj('loginendtime').value == '')) {
                    
137		obj.touser.setAttribute("hasError", 1);
                    
137		obj.touser.setAttribute("hasError", 1);
                    
138		showDialog("error","最後登錄時間範圍不能為空",2);
                    
139		obj.subject.focus();
                    
                
I5.php https://github.com/sirshurf/phpi5.git | PHP | 367 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Statement
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: I5.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
25 */
                    
26require_once 'Zend/Db/Statement.php';
                    
27
                    
32 * @subpackage Statement
                    
33 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
34 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
69        	
                    
70            require_once 'Openiview/Db/Statement/I5/Exception.php';
                    
71            throw new Openiview_Db_Statement_I5_Exception(
                    
                
helper_functions.php https://github.com/craigulliott/FTP-SSH.tmbundle.git | PHP | 317 lines
                    
1<?php
                    
2/**
                    
12
                    
13// More readable flag for stickieness of error dialogs
                    
14define('STICKY', TRUE);
                    
23
                    
24// Show Settings Dialog if no Settings found
                    
25if(empty($PREFS)) {
                    
25if(empty($PREFS)) {
                    
26	$PREFS = settings_dialog($PREFS_FILE);
                    
27}
                    
165
                    
166function settings_dialog($PREFS_FILE, $prefs='') {
                    
167	// default settings
                    
180	// open a 2 way process
                    
181	$process = proc_open('"$DIALOG" -cm "$TM_BUNDLE_SUPPORT/nibs/FTP_SSH Settings.nib"', array(array("pipe", "r"), array("pipe", "w")), $pipes);
                    
182	if (is_resource($process)) {
                    
                
google.php https://gitlab.com/Ltaimao/wecenter | PHP | 338 lines
                    
1<?php
                    
2/*
                    
60
                    
61    public function oauth2_login()
                    
62    {
                    
                
Pop3.php https://gitlab.com/Ltaimao/wecenter | PHP | 328 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Storage
                    
18 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
26 */
                    
27//require_once 'Zend/Mail/Storage/Abstract.php';
                    
28
                    
31 */
                    
32//require_once 'Zend/Mail/Protocol/Pop3.php';
                    
33
                    
36 */
                    
37//require_once 'Zend/Mail/Message.php';
                    
38
                    
43 * @subpackage Storage
                    
44 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
45 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
2012-15-107.html https://gitlab.com/bernagg/TI | HTML | 157 lines
                    
64	<li><p style="MARGIN-BOTTOM: 0.05in; FONT-WEIGHT: normal"><font color="#000000"><font face="Arial"><font size="2">website3.com/dir/dir/file.html</font></font></font></p>
                    
65	<li><p style="MARGIN-BOTTOM: 0.05in"><font color="#000000"><font face="Arial"><font size="2"><span style="FONT-WEIGHT: normal">website4.com/dir/dir2/file.php?argument1=1&amp;argument2=2
                    
66	</span></font></font></font><font color="#000000"><font face="Arial"><font size="2"><br></font></font></font><br><br>
                    
81	<li><p style="MARGIN-BOTTOM: 0.1in"><font color="#000000"><font face="Arial"><font size="2">Ensure
                    
82	that you have already logged into your account on alkasir.com</font></font></font></p></li>
                    
83</ol>
                    
147URL is acceptable or not. If you requested notification by email and
                    
148were logged into your alkasir.com account, you will automatically
                    
149receive an email with the moderators' decision.</font></font></font></p>
                    
                
grid.locale-en.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 224 lines
                    
4 * modified by Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
                    
5 * http://trirand.com/blog/ 
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
6 * Dual licensed under the MIT and GPL licenses:
                    
7 * http://www.opensource.org/licenses/mit-license.php
                    
8 * http://www.gnu.org/licenses/gpl.html
                    
158                masks: {
                    
159                    // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
                    
160                    // and see http://docs.jquery.com/UI/Datepicker/formatDate
                    
163                    // information about date, time, numbers and currency formats used in different countries
                    
164                    // one should just convert the information in PHP format
                    
165                    // short date:
                    
                
functions.wp-scripts.php https://gitlab.com/Gashler/sg | PHP | 293 lines
                    
1<?php
                    
2/**
                    
44		'<code>admin_enqueue_scripts</code>',
                    
45		'<code>login_enqueue_scripts</code>'
                    
46	), '3.3' );
                    
51 *
                    
52 * Called by admin-header.php and wp_head hook. Since it is called by wp_head on every page load,
                    
53 * the function does not instantiate the WP_Scripts object unless script names are explicitly passed.
                    
180	if ( ( is_admin() && 'admin_enqueue_scripts' !== $current_filter ) ||
                    
181		( 'wp-login.php' === $GLOBALS['pagenow'] && 'login_enqueue_scripts' !== $current_filter )
                    
182	) {
                    
184			'jquery', 'jquery-core', 'jquery-migrate', 'jquery-ui-core', 'jquery-ui-accordion',
                    
185			'jquery-ui-autocomplete', 'jquery-ui-button', 'jquery-ui-datepicker', 'jquery-ui-dialog',
                    
186			'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-menu', 'jquery-ui-mouse',
                    
                
Atom.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 400 lines
                    
1<?php
                    
2/**
                    
16 * @package    Zend_Feed_Reader
                    
17 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
24 */
                    
25#require_once 'Zend/Feed/Reader.php';
                    
26
                    
29 */
                    
30#require_once 'Zend/Feed/Reader/EntryInterface.php';
                    
31
                    
34 */
                    
35#require_once 'Zend/Feed/Reader/EntryAbstract.php';
                    
36
                    
39 */
                    
40#require_once 'Zend/Feed/Reader/Extension/Atom/Entry.php';
                    
41
                    
                
Grid.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 267 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
187                        'url'     => array(
                    
188                            'base'=>'*/catalog_product_review/edit',
                    
189                            'params'=> array(
                    
201
                    
202        $this->addRssList('rss/catalog/review', Mage::helper('catalog')->__('Pending Reviews RSS'));
                    
203
                    
244    {
                    
245        return $this->getUrl('*/catalog_product_review/edit', array(
                    
246            'id' => $row->getReviewId(),
                    
                
component.php https://gitlab.com/alexprowars/bitrix | PHP | 255 lines
                    
1<?php
                    
2
                    
2
                    
3if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true)
                    
4{
                    
176		$arNavParams,
                    
177		array("ID", "FROM_USER_ID", "TITLE", "MESSAGE", "DATE_CREATE", "DATE_VIEW", "MESSAGE_TYPE", "FROM_USER_NAME", "FROM_USER_LAST_NAME", "FROM_USER_SECOND_NAME", "FROM_USER_LOGIN_NAME", "FROM_USER_PERSONAL_PHOTO", "FROM_USER_PERSONAL_GENDER")
                    
178	);
                    
212			"USER_SECOND_NAME" => $arMessages["FROM_USER_SECOND_NAME"],
                    
213			"USER_LOGIN" => $arMessages["FROM_USER_LOGIN"],
                    
214			"USER_PERSONAL_PHOTO" => $arMessages["FROM_USER_PERSONAL_PHOTO"],
                    
                
config.php https://gitlab.com/alexprowars/bitrix | PHP | 112 lines
                    
1<?php
                    
2$MESS["BX_IM_COMPONENT_CALL_ALL_CHATS"] = "Alle Chats";
                    
3$MESS["BX_IM_COMPONENT_CALL_BUTTON_AS_GUEST"] = "Als Besucher fortfahren";
                    
4$MESS["BX_IM_COMPONENT_CALL_BUTTON_AUTHORIZE"] = "Einloggen";
                    
5$MESS["BX_IM_COMPONENT_CALL_BUTTON_CHECK_DEVICES"] = "Hardware prüfen";
                    
43$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_KICKED"] = "Sie wurden aus dieser Videokonferenz entfernt.";
                    
44$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_PLEASE_LOG_IN"] = "Wir haben Ihren Account in diesem Bitrix24 gefunden. Bitte loggen Sie sich ein.";
                    
45$MESS["BX_IM_COMPONENT_CALL_ERROR_MESSAGE_USER_LIMIT"] = "Die Videokonferenz hat ihre maximale Kapazität erreicht.";
                    
53$MESS["BX_IM_COMPONENT_CALL_HARDWARE_ERROR"] = "Fehler bei der Gerätprüfung";
                    
54$MESS["BX_IM_COMPONENT_CALL_INTRANET_LOGOUT"] = "Log out";
                    
55$MESS["BX_IM_COMPONENT_CALL_INTRANET_NAME_TITLE"] = "Sie haben sich über den Bitrix24 Account eingeloggt";
                    
                
OnlineTest.php https://github.com/tanduy/zf.git | PHP | 357 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage UnitTests
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
25 */
                    
26require_once dirname(__FILE__) . '/../../../TestHelper.php';
                    
27
                    
30 */
                    
31require_once 'Zend/Service/Amazon.php';
                    
32
                    
35 */
                    
36require_once 'Zend/Service/Amazon/Query.php';
                    
37
                    
40 */
                    
41require_once 'Zend/Http/Client/Adapter/Socket.php';
                    
42
                    
                
Abstract.php https://github.com/guiohm/magento-french.git | PHP | 350 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Transport
                    
18 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Abstract.php 18760 2009-10-31 13:09:01Z yoshida@zend.co.jp $
                    
21 */
                    
26 */
                    
27#require_once 'Zend/Mime.php';
                    
28
                    
36 * @subpackage Transport
                    
37 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
38 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
186             */
                    
187            #require_once 'Zend/Mail/Transport/Exception.php';
                    
188            throw new Zend_Mail_Transport_Exception('Missing Zend_Mail object in _mail property');
                    
                
l10n.php https://github.com/holsinger/openfloor.git | PHP | 343 lines
                    
1<?php
                    
2/**
                    
25 *
                    
26 * @return string The locale of the blog or from the 'locale' hook.
                    
27 */
                    
                
DictionaryLoader.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 265 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage Index
                    
18 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
32 * @subpackage Index
                    
33 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
34 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
60            $tiVersion != (int)0xFFFFFFFD /* 2.1+ format    */) {
                    
61                #require_once 'Zend/Search/Lucene/Exception.php';
                    
62                throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format');
                    
65        // $indexTermCount = $tiiFile->readLong();
                    
66        if (PHP_INT_SIZE > 4) {
                    
67            $indexTermCount = ord($data[$pos]) << 56  |
                    
80                ((ord($data[$pos+4]) & 0x80) != 0)) {
                    
81                    #require_once 'Zend/Search/Lucene/Exception.php';
                    
82                    throw new Zend_Search_Lucene_Exception('Largest supported segment size (for 32-bit mode) is 2Gb');
                    
                
yii.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 114 lines
                    
1<?php
                    
2/**
                    
27    'Invalid data received for parameter "{param}".' => 'Ogiltig data har mottagits för parameter "{param}".',
                    
28    'Login Required' => 'Inloggning krävs',
                    
29    'Missing required arguments: {params}' => 'Följande begärda variabler saknas: {params}',
                    
                
Consumer.php https://bitbucket.org/acidel/buykoala.git | PHP | 279 lines
                    
1<?php
                    
2/**
                    
16 * @package    Zend_Oauth
                    
17 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Consumer.php 23170 2010-10-19 18:29:24Z mabe $
                    
20 */
                    
22/** Zend_Oauth */
                    
23#require_once 'Zend/Oauth.php';
                    
24
                    
25/** Zend_Uri */
                    
26#require_once 'Zend/Uri.php';
                    
27
                    
28/** Zend_Oauth_Http_RequestToken */
                    
29#require_once 'Zend/Oauth/Http/RequestToken.php';
                    
30
                    
                
Summary.php https://bitbucket.org/acidel/buykoala.git | PHP | 265 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 */

                    
34 */

                    
35class Mage_Tag_Model_Resource_Indexer_Summary extends Mage_Catalog_Model_Resource_Product_Indexer_Abstract

                    
36{

                    
82     */

                    
83    public function catalogProductSave(Mage_Index_Model_Event $event)

                    
84    {

                    
103     */

                    
104    public function catalogProductDelete(Mage_Index_Model_Event $event)

                    
105    {

                    
                
Indexer.php https://bitbucket.org/acidel/buykoala.git | PHP | 309 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

                    
21 * @category    Mage

                    
22 * @package     Mage_Catalog

                    
23 * @copyright   Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)

                    
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 */

                    
28/**

                    
29 * Catalog Product Flat Indexer Model

                    
30 *

                    
30 *

                    
31 * @method Mage_Catalog_Model_Resource_Product_Flat_Indexer _getResource()

                    
32 * @method Mage_Catalog_Model_Resource_Product_Flat_Indexer getResource()

                    
                
Collection.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 292 lines
                    
1<?php
                    
2/**
                    
15 * Class Collection
                    
16 * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
                    
17 */
                    
64     * @param \Magento\Framework\Data\Collection\EntityFactory $entityFactory
                    
65     * @param \Psr\Log\LoggerInterface $logger
                    
66     * @param \Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy
                    
76     * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource
                    
77     * @SuppressWarnings(PHPMD.ExcessiveParameterList)
                    
78     */
                    
80        \Magento\Framework\Data\Collection\EntityFactory $entityFactory,
                    
81        \Psr\Log\LoggerInterface $logger,
                    
82        \Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy,
                    
93    ) {
                    
94        parent::__construct($entityFactory, $logger, $fetchStrategy, $eventManager, $connection, $resource);
                    
95        $this->_scopeConfig = $scopeConfig;
                    
                
Logger.php https://gitlab.com/hoanghung.dev/phunuvadoisong.com | PHP | 456 lines
                    
2/**
                    
3 * Logger.php
                    
4 *
                    
8/**
                    
9 * Logging utility class. This class handles basic logging with levels, log rotation and custom log formats. It's
                    
10 * designed to be compact but still powerful and flexible.
                    
168	/**
                    
169	 * Sets the max log file size. If the log file gets larger than this size it will be rolled.
                    
170	 *
                    
408
                    
409		$logFile = str_replace('{level}', strtolower($levelName), $logFile);
                    
410
                    
437
                    
438			rename($logFile, $logFile . ".1");
                    
439
                    
                
Base.php https://bitbucket.org/ngmares/moodle.git | PHP | 274 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage StrikeIron
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
26 */
                    
27require_once 'Zend/Service/StrikeIron/Decorator.php';
                    
28
                    
33 * @subpackage StrikeIron
                    
34 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
35 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
67             */
                    
68            require_once 'Zend/Service/StrikeIron/Exception.php';
                    
69            throw new Zend_Service_StrikeIron_Exception('SOAP extension is not enabled');
                    
104             */
                    
105            require_once 'Zend/Service/StrikeIron/Exception.php';
                    
106            throw new Zend_Service_StrikeIron_Exception($message, $e->getCode(), $e);
                    
                
groups.php https://bitbucket.org/selfeky/xclusivescardwebsite.git | PHP | 286 lines
                    
1<?php 
                    
2defined('C5_EXECUTE') or die("Access Denied.");
                    
55
                    
56<?php echo Loader::helper('concrete/dashboard')->getDashboardPaneHeaderWrapper(t('Groups'), false, 'span12 offset2', false)?>
                    
57<?php 
                    
62<div class="ccm-pane-options-permanent-search">
                    
63<form method="get" action="<?php echo $this->url('/dashboard/users/groups')?>">
                    
64<div class="span7">
                    
75</div>
                    
76<div class="ccm-pane-body <?php  if (!$gl->requiresPaging()) { ?> ccm-pane-body-footer <?php  } ?>">
                    
77
                    
83	<div class="ccm-group">
                    
84		<a class="ccm-group-inner" href="<?php echo $this->url('/dashboard/users/groups?task=edit&gID=' . $g['gID'])?>" style="background-image: url(<?php echo ASSETS_URL_IMAGES?>/icons/group.png)"><?php echo t($g['gName'])?></a>
                    
85		<?php  if ($g['gDescription']) { ?>
                    
125	if($u->isSuperUser() == false){ ?>
                    
126		<?php echo t('You must be logged in as %s to remove groups.', USER_SUPER)?>			
                    
127	<?php  }else{ ?>   
                    
                
SMTPMailer.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 381 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * @file classes/mail/SMTPMailer.inc.php
                    
5 *
                    
16
                    
17// $Id: SMTPMailer.inc.php,v 1.5 2009/05/13 00:13:20 asmecher Exp $
                    
18
                    
29
                    
30	/** @var $auth string Authentication mechanism (optional) (PLAIN | LOGIN | CRAM-MD5 | DIGEST-MD5) */
                    
31	var $auth;
                    
183		if (!empty($error)) {
                    
184			error_log('OJS SMTPMailer: ' . $error);
                    
185			return false;
                    
239				return $this->authenticate_plain();
                    
240			case 'LOGIN':
                    
241				return $this->authenticate_login();
                    
                
Ini.php https://github.com/ntulip/piwik.git | PHP | 293 lines
                    
1<?php
                    
2/**
                    
16 * @package    Zend_Config
                    
17 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
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
                    
31 * @package    Zend_Config
                    
32 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
33 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
105             */
                    
106            require_once 'Zend/Config/Exception.php';
                    
107            throw new Zend_Config_Exception('Filename is not set');
                    
                
define_pages_editor.php https://github.com/ZenMagick/zc-base.git | PHP | 270 lines
                    
125<!-- header //-->
                    
126<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
                    
127<!-- header_eof //-->
                    
228              <tr>
                    
229                <td class="smallText"><a href="<?php echo zen_href_link($_GET['filename'], 'lngdir=' . $_SESSION['language'] . '&filename=' . $filename); ?>"><b><?php echo $filename; ?></b></a></td>
                    
230<?php
                    
233    if ($dir) {
                    
234      $file_extension = substr($PHP_SELF, strrpos($PHP_SELF, '.'));
                    
235      while ($file = $dir->read()) {
                    
264<!-- footer //-->
                    
265<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
                    
266<!-- footer_eof //-->
                    
269</html>
                    
270<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
                    
271
                    
                
backend-scripts.js https://gitlab.com/glancr/system | JavaScript | 326 lines
                    
44
                    
45  $.post('writeLayout.php', {'row': row, 'modules[]': modules[row]})
                    
46    .done(function () {
                    
76  modules[row][col] = ''
                    
77  $.post('writeLayout.php', {'row': row, 'modules[]': modules[row]})
                    
78    .done(function () {
                    
115
                    
116  $.post('writeLayout.php', {'row': row, 'modules[]': modules[row]})
                    
117    .done(function () {
                    
130  moduleName = $(this).attr('data-deleteModule')
                    
131  console.log('user wants to delete ' + moduleName)
                    
132  $('[data-deleteModule-confirmbox=' + moduleName + ']').show()
                    
139  $.ajax({
                    
140    url: 'deleteModule.php',
                    
141    type: 'POST',
                    
                
Statistics.php https://gitlab.com/fabiorf/curso-zend1-aula1 | PHP | 309 lines
                    
1<?php
                    
2
                    
18 * @subpackage YouTube
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: Statistics.php 24593 2012-01-05 20:35:02Z matthew $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Gdata/Extension.php';
                    
28
                    
34 * @subpackage YouTube
                    
35 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
36 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
295     * Magic toString method allows using this directly via echo
                    
296     * Works best in PHP >= 4.2.0
                    
297     *
                    
                
 

Source

Language