PageRenderTime 1521ms queryTime 168ms sortTime 677ms getByIdsTime 76ms findMatchingLines 98ms

100+ results results for 'php min' (1521 ms)

Not the results you expected?
wp-cache-f091d5ab40590bc01ee8ea7afc5372b1.html https://gitlab.com/endomorphosis/reservationtelco | HTML | 371 lines
                    
23<link rel='stylesheet' id='contact-form-7-css'  href='http://localhost:8888/reservation-telephone-company/wp-content/plugins/contact-form-7/styles.css?ver=2.2.1' type='text/css' media='all' />
                    
24<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=1.4.2'></script>
                    
25<script type='text/javascript' src='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-basic-functions/gs-basic-functions.js?ver=3.0-RC1-15112'></script>
                    
29<script type='text/javascript' src='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-presentation/js/gs-presentation.js?ver=3.0-RC1-15112'></script>
                    
30<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost:8888/reservation-telephone-company/xmlrpc.php?rsd" />
                    
31<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost:8888/reservation-telephone-company/wp-includes/wlwmanifest.xml" /> 
                    
186     }
                    
187     .page-upcoming-events {
                    
188        font-size:80%;
                    
201
                    
202		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js"></script>
                    
203		<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
                    
                
Store.php https://gitlab.com/ealexis.t/trends | PHP | 707 lines
                    
1<?php
                    
2
                    
2
                    
3namespace Illuminate\Session;
                    
4
                    
4
                    
5use Illuminate\Support\Arr;
                    
6use Illuminate\Support\Str;
                    
179    /**
                    
180     * Determine if this is a valid session ID.
                    
181     *
                    
344    /**
                    
345     * Determine if the session contains old input.
                    
346     *
                    
685    /**
                    
686     * Determine if the session handler needs a request.
                    
687     *
                    
                
Pager.php https://github.com/cawago/ci_campusync_auth.git | PHP | 576 lines
                    
1<?php
                    
2/*
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
29 * @version     $Revision$
                    
30 * @link        www.phpdoctrine.org
                    
31 * @since       0.9
                    
290        if ($this->getExecuted()) {
                    
291            return min($this->getPage() + 1, $this->getLastPage());
                    
292        }
                    
340    {
                    
341        return min($this->getNumResults(), ($this->getPage() * $this->getMaxPerPage()));
                    
342    }
                    
                
header.tmpl.php https://github.com/harriswong/ATutor.git | PHP | 237 lines
                    
57	<link rel="alternate" type="application/rss+xml" title="<?php echo SITE_NAME; ?> - RSS 2.0" href="<?php echo $this->base_path; ?>get_rss.php?<?php echo $_SESSION['course_id']; ?>-2" />
                    
58	<link rel="alternate" type="application/rss+xml" title="<?php echo SITE_NAME; ?> - RSS 1.0" href="<?php echo $this->base_path; ?>get_rss.php?<?php echo $_SESSION['course_id']; ?>-1" />
                    
59	<?php endif; ?>
                    
77	<?php if ($_SESSION['is_super_admin']): ?>
                    
78		<a href="<?php echo $this->base_path; ?>bounce.php?admin"><?php echo _AT('return_to_admin_area'); ?></a> | 
                    
79	<?php endif; ?>
                    
81	<?php if ($_SESSION['valid_user']): ?>
                    
82		<?php     if (!admin_authenticate(AT_ADMIN_PRIV_ADMIN, AT_PRIV_RETURN) && $last_path_part != 'preferences.php') {?>
                    
83		    <a class="pref_wiz_launcher"><img border="0" alt="<?php echo _AT('preferences').' - '._AT('new_window'); ?>" src="<?php echo $this->base_href; ?>images/wand.png" /></a> |
                    
87			<?php if (get_num_new_messages()): ?>
                    
88				<strong><a href="<?php echo $this->base_path; ?>inbox/index.php"><?php echo _AT('inbox'); ?> - <?php echo get_num_new_messages(); ?></a></strong> | 
                    
89			<?php else: ?>
                    
158				<?php if ($page['url'] == $this->current_top_level_page): ?>
                    
159					<li><a href="<?php echo $page['url']; ?>" <?php echo $accesskey_text; ?> title="<?php echo $page['title'] . $accesskey_title; ?>" class="active"><?php echo $page['title']; ?></a></li>
                    
160				<?php else: ?>
                    
                
TrustedMath.i18n.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 274 lines
                    
1<?php
                    
2/**
                    
11/** English
                    
12 * @author Bryan Tong Minh
                    
13 */
                    
41/** Bosnian (Bosanski)
                    
42 * @author CERminator
                    
43 */
                    
264/** Vietnamese (Tiếng Việt)
                    
265 * @author Minh Nguyen
                    
266 */
                    
                
eventapi.html.md https://gitlab.com/ggsaavedra/PredictionIO | Markdown | 412 lines
                    
18Apache HBase, and a quick configuration can be found
                    
19[here](/install/install-linux.html#hbase). Please allow a minute
                    
20(usually less than 30 seconds) after HBase is started for its initialization to
                    
24Everything about PredictionIO can be done through the `pio` command. Please add
                    
25PIO binary command path to to your `PATH` first. Assuming PredictionIO is
                    
26installed at `/home/yourname/PredictionIO/`, you can run
                    
109  </div>
                    
110  <div data-tab="PHP SDK" data-lang="php">
                    
111```php
                    
111```php
                    
112<?php
                    
113  require_once("vendor/autoload.php");
                    
204  </div>
                    
205  <div data-tab="PHP SDK" data-lang="php">
                    
206```php
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
1<?php
                    
2/**
                    
157		$data['is_admin'] = (int) $USER->IsAdmin();
                    
158		$data['admin_section'] = (int) (defined('ADMIN_SECTION') && ADMIN_SECTION);
                    
159		$data['admin_panel'] = (int) \CTopPanel::shouldShowPanel();
                    
163			($data['user_id'] > 0 && $data['user_id'] != $data['real_user_id'])
                    
164			||  $data['is_admin'] || $data['admin_section'] || $data['admin_panel']
                    
165		);
                    
238		$data['is_admin'] = (int) $USER->IsAdmin();
                    
239		$data['admin_section'] = (int) (defined('ADMIN_SECTION') && ADMIN_SECTION);
                    
240		$data['admin_panel'] = (int) \CTopPanel::shouldShowPanel();
                    
244			($data['user_id'] != $data['real_user_id']) || !$data['cookie_size']
                    
245			||  $data['is_admin'] || $data['admin_section'] || $data['admin_panel']
                    
246		);
                    
                
ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
                    
36
                    
37require_once 'CRM/Core/Form.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
115        // set up tabs
                    
116        require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php';
                    
117        CRM_Contribute_Form_ContributionPage_TabHeader::build( $this );
                    
152        if ( !$this->_cancelURL ) {
                    
153            $this->_cancelURL = CRM_Utils_System::url( 'civicrm/admin/contribute', 'reset=1' );
                    
154        }
                    
233            $pledgeBlock = array( 'is_pledge_interval', 'max_reminders', 
                    
234                                  'initial_reminder_day', 'additional_reminder_day' );
                    
235            foreach ( $pledgeBlock  as $key ) {
                    
237            }
                    
238            require_once 'CRM/Core/BAO/CustomOption.php';
                    
239            if ( CRM_Utils_Array::value( 'pledge_frequency_unit', $pledgeBlockDefaults ) ) {
                    
                
Descarte.php https://gitlab.com/SFMSP/Hagape | PHP | 346 lines
                    
1<?php
                    
2
                    
8use Estoque\Repository\ItemDescarteRepository;
                    
9use Admin\Repository\EstoqueRepository;
                    
10use Estoque\Service\ItemDescarte as ItemDescarteService;
                    
133            $data['dataDescarte'] = new \DateTime($this->dateTimeFormat->formatUs($data['dataDescarte']));
                    
134            $data['estoqueOrigem'] = $this->getEm()->getReference("Admin\Entity\Estoque", $this->dadosUser['filtrosSelecionados']['estoque']['id']);
                    
135            $data['estoqueDestino'] = $this->getEm()->getReference("Admin\Entity\Estoque", $this->estoqueRepository->getEstoqueCentral()->getId());
                    
                
admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
                    
39		
                    
40		$this->data["is_admin"] = is_admin($this->data['role_name']);
                    
41		
                    
41		
                    
42		if( !is_in_admin_review( $this->dataproj[0]["user_id"], $admin_review_ids, $this->data['current_user_id']) ) {
                    
43			show_404();
                    
132			"user_id" => $this->input->post("userid"),
                    
133			"admin_review_date" => $review_date,
                    
134			"admin_review_content" => $this->input->post("comment_content"),
                    
136		);
                    
137		$sendreview = $this->review->add_admin_review($par);
                    
138		
                    
156		);
                    
157		$this->data["admin_reviews"] = $this->review->get_admin_reviews($par);
                    
158		
                    
                
permissions.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
29$_lang['perm.dashboards_desc'] = 'Benutzerdefinierte Dashboards anzeigen und verwalten.';
                    
30$_lang['perm.database_desc'] = 'Die Systeminformationen-Seite anzeigen.';
                    
31$_lang['perm.database_truncate_desc'] = 'Datenbank-Tabellen leeren.';
                    
187$_lang['perm.view_snippet_desc'] = 'Snippets anzeigen.';
                    
188$_lang['perm.view_sysinfo_desc'] = 'Die Systeminformationen-Seite anzeigen.';
                    
189$_lang['perm.view_template_desc'] = 'Templates anzeigen.';
                    
                
SqlBase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 415 lines
                    
1<?php
                    
2
                    
100      '#type' => 'number',
                    
101      '#min' => 0,
                    
102      '#description' => $pager_text['items per page description'],
                    
107      '#type' => 'number',
                    
108      '#min' => 0,
                    
109      '#title' => $this->t('Offset (number of items to skip)'),
                    
115      '#type' => 'number',
                    
116      '#min' => 0,
                    
117      '#title' => $this->t('Pager ID'),
                    
123      '#type' => 'number',
                    
124      '#min' => 0,
                    
125      '#title' => $this->t('Number of pages'),
                    
180      '#required' => TRUE,
                    
181      '#description' => $this->t('Set between which values the user can choose when determining the items per page. Separated by comma.'),
                    
182      '#default_value' => $this->options['expose']['items_per_page_options'],
                    
                
Resource.php https://github.com/rico/flextrine.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 23568 2010-12-20 08:13:20Z mjh_ca $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
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');
                    
90        }
                    
91        require_once 'Zend/Loader/Autoloader.php';
                    
92        Zend_Loader_Autoloader::getInstance()->unshiftAutoloader($this, $namespace);
                    
                
resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
                    
1<?php
                    
2/**
                    
62$_lang['resource_err_duplicate'] = 'Terjadi kesalahan saat duplikasi sumber.';
                    
63$_lang['resource_err_move_to_child'] = 'Anda tidak dapat memindahkan sumber daya untuk di bawah salah satu dari anak-anaknya sendiri.';
                    
64$_lang['resource_err_move_sitestart'] = 'Sumber daya yang dihubungkan ke variabel site_start dan tidak dapat dipindahkan ke konteks lain!';
                    
                
index_002.php https://github.com/robert-fu-berlin/Exercises-Web-based-Information-Systems.git | PHP | 458 lines
                    
1// [[image:Erioll_world.svg|18px]] '''WikiMiniAtlas''' <br>
                    
2// Script to embed interactive maps into pages that have coordinate templates <br>
                    
6
                    
7var wikiminiatlas =
                    
8{
                    
21  coordurls : [
                    
22                'http://stable.toolserver.org/geohack/geohack.php?',
                    
23                'http://stable.ts.wikimedia.org/geohack/geohack.php?',
                    
23                'http://stable.ts.wikimedia.org/geohack/geohack.php?',
                    
24                'http://toolserver.org/~magnus/geo/geohack.php?',
                    
25                'http://toolserver.org/~geohack/geohack.php?',
                    
25                'http://toolserver.org/~geohack/geohack.php?',
                    
26                'http://tools.wikimedia.de/~magnus/geo/geohack.php?',
                    
27                'http://www8.brinkster.com/erikbaas/wiki/maps.asp?',
                    
163
                    
164 WikiMiniAtlasHTML : '',
                    
165
                    
                
lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
                    
1<?php
                    
2
                    
58            'customers' => 'Kunder',
                    
59            'my_settings' => 'Mina inställningar'
                    
60        ]
                    
130        'update_success' => 'Inställningar för :name har uppdaterats',
                    
131        'return' => 'Återgå till systeminställningar',
                    
132        'search' => 'Sök'
                    
141        'sender_email' => 'Avsändarens e-postadress',
                    
142        'php_mail' => 'PHP mail',
                    
143        'smtp' => 'SMTP',
                    
170        'menu_label' => 'E-postmall',
                    
171        'menu_description' => 'Ändra e-postmallar som skickas till användare och administratörer, hantera e-postlayouter.',
                    
172        'new_template' => 'Ny mall',
                    
319        'manage_mail_settings' => 'Hantera e-postinställningar',
                    
320        'manage_other_administrators' => 'Hantera andra administratörer',
                    
321        'manage_preferences' => 'Hantera inställningar för back-end',
                    
                
Batch.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 514 lines
                    
1<?php
                    
2
                    
320            'optionGroupName' => 'batch_status',
                    
321            'optionEditPath' => 'civicrm/admin/options/batch_status',
                    
322          ],
                    
338            'optionGroupName' => 'batch_type',
                    
339            'optionEditPath' => 'civicrm/admin/options/batch_type',
                    
340          ],
                    
356            'optionGroupName' => 'batch_mode',
                    
357            'optionEditPath' => 'civicrm/admin/options/batch_mode',
                    
358          ],
                    
406            'optionGroupName' => 'payment_instrument',
                    
407            'optionEditPath' => 'civicrm/admin/options/payment_instrument',
                    
408          ],
                    
                
web.php https://github.com/XioNoX/Benevolus.git | PHP | 509 lines
                    
3/**
                    
4	Web pack for the PHP Fat-Free Framework
                    
5
                    
22	const
                    
23		TEXT_Minify='Unable to minify %s';
                    
24	//@}
                    
44		Strip Javascript/CSS files of extraneous whitespaces and comments;
                    
45		Return combined output as a minified string
                    
46			@return string
                    
51	**/
                    
52	static function minify($base,array $files,$echo=TRUE) {
                    
53		preg_match('/\.(js|css)$/',$files[0],$ext);
                    
69			$stats=&self::ref('STATS');
                    
70			$stats['FILES']['minified']
                    
71				[basename($file)]=filesize($path.$file);
                    
                
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
                    
147 * Enables:
                    
148 *	`admin_index()` and `/admin/controller/index`
                    
149 *	`manager_index()` and `/manager/controller/index`
                    
190 * - `Session.cookie` - The name of the cookie to use. Defaults to 'CAKEPHP'
                    
191 * - `Session.timeout` - The number of minutes you want sessions to live for. This timeout is handled by CakePHP
                    
192 * - `Session.cookieTimeout` - The number of minutes you want session cookies to live for.
                    
205 *
                    
206 * - 'php' - Uses settings defined in your php.ini.
                    
207 * - 'cake' - Saves session files in CakePHP's /tmp directory.
                    
                
auth_tkt.py https://bitbucket.org/eaviles/gobierno.git | Python | 380 lines
                    
1# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
                    
2# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
                    
3##########################################################################
                    
65        token = auth_tkt.AuthTick('sharedsecret', 'username',
                    
66            os.environ['REMOTE_ADDR'], tokens=['admin'])
                    
67        print 'Status: 200 OK'
                    
75        token = auth_tkt.AuthTick('sharedsecret', 'username',
                    
76            self.request().environ()['REMOTE_ADDR'], tokens=['admin'])
                    
77        self.response().setCookie('auth_tkt', token.cookie_value())
                    
121    Exception raised when a ticket can't be parsed.  If we get
                    
122    far enough to determine what the expected digest should have
                    
123    been, expected is set.  This should not be shown by default,
                    
                
directories.php https://github.com/projectfork/Projectfork.git | PHP | 420 lines
                    
1<?php
                    
2/**
                    
118        // Implement View Level Access
                    
119        if (!$user->authorise('core.admin')) {
                    
120            $levels = implode(',', $user->getAuthorisedViewLevels());
                    
259
                    
260        if (!$user->authorise('core.admin')) {
                    
261            $levels = implode(',', $user->getAuthorisedViewLevels());
                    
281
                    
282        if (!$user->authorise('core.admin')) {
                    
283            $levels = implode(',', $user->getAuthorisedViewLevels());
                    
303
                    
304        if (!$user->authorise('core.admin')) {
                    
305            $levels = implode(',', $user->getAuthorisedViewLevels());
                    
                
bp-loader.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 487 lines
                    
261		// '/plugins/bp-custom.php' and it will be loaded before anything else.
                    
262		if ( file_exists( WP_PLUGIN_DIR . '/bp-custom.php' ) )
                    
263			require( WP_PLUGIN_DIR . '/bp-custom.php' );
                    
349	 *
                    
350	 * @uses is_admin() If in WordPress admin, load additional file
                    
351	 */
                    
392			if ( !empty( $this->maintenance_mode ) ) {
                    
393				require( $this->plugin_dir . 'bp-core/bp-core-admin.php'     );
                    
394				require( $this->plugin_dir . 'bp-core/bp-core-functions.php' );
                    
394				require( $this->plugin_dir . 'bp-core/bp-core-functions.php' );
                    
395				require( $this->plugin_dir . 'bp-core/bp-core-template.php'  );
                    
396				require( $this->plugin_dir . 'bp-core/bp-core-update.php'    );
                    
425			require( $this->plugin_dir . 'bp-core/bp-core-template.php'   );
                    
426			require( $this->plugin_dir . 'bp-core/bp-core-adminbar.php'   );
                    
427			require( $this->plugin_dir . 'bp-core/bp-core-buddybar.php'   );
                    
                
Resource.php https://github.com/ParveenArora/AddressHunter.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
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');
                    
90        }
                    
91        require_once 'Zend/Loader/Autoloader.php';
                    
92        Zend_Loader_Autoloader::getInstance()->unshiftAutoloader($this, $namespace);
                    
                
twitter-timeline.php https://gitlab.com/hunt9310/thereback | PHP | 470 lines
                    
1<?php
                    
2
                    
26			'twitter_timeline',
                    
27			/** This filter is documented in modules/widgets/facebook-likebox.php */
                    
28			apply_filters( 'jetpack_widget_name', esc_html__( 'Twitter Timeline', 'jetpack' ) ),
                    
39
                    
40		add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
                    
41	}
                    
60	/**
                    
61	 * Enqueue script to improve admin UI
                    
62	 */
                    
62	 */
                    
63	public function admin_scripts( $hook ) {
                    
64		// This is still 'widgets.php' when managing widgets via the Customizer.
                    
65		if ( 'widgets.php' === $hook ) {
                    
66			wp_enqueue_script( 'twitter-timeline-admin', plugins_url( 'twitter-timeline-admin.js', __FILE__ ) );
                    
67		}
                    
                
ps_perm.php https://github.com/Shigaru/shigaru.git | PHP | 461 lines
                    
13* other free or open source software licenses.
                    
14* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.
                    
15*
                    
115					if (stristr($vmUser->usertype,"Administrator")) {
                    
116						$auth["perms"]  = "admin";
                    
117					}
                    
172	 * @return boolean Check successful or not
                    
173	 * @example $perm->check( 'admin', 'storeadmin' );
                    
174	 * 			returns true when the user is admin or storeadmin
                    
240		if( $size==1 ) {
                    
241			$values[0] = $VM_LANG->_('PHPSHOP_SELECT');
                    
242		}
                    
409		for ($i=0; $i < $n; $i++) {
                    
410			$min = min( $min, $tree[$i]->level );
                    
411			$max = max( $max, $tree[$i]->level );
                    
                
UpgradeComponentGroup.php https://github.com/orchestra-io/sample-openx.git | PHP | 320 lines
                    
1<?php
                    
2
                    
4+---------------------------------------------------------------------------+
                    
5| OpenX v${RELEASE_MAJOR_MINOR}                                                                |
                    
6| =======${RELEASE_MAJOR_MINOR_DOUBLE_UNDERLINE}                                                                |
                    
24+---------------------------------------------------------------------------+
                    
25$Id: UpgradeComponentGroup.php 30820 2009-01-13 19:02:17Z andrew.hill $
                    
26*/
                    
34
                    
35require_once MAX_PATH.'/lib/OA/Upgrade/Upgrade.php';
                    
36
                    
36
                    
37// setup oUpgrader, determine whether they are installing or that they can Upgrade
                    
38
                    
60        /*$this->nobackupsFile    = MAX_PATH.$pluginPath.'NOBACKUPS';
                    
61        $this->postTaskFile     = MAX_PATH.$pluginPath.'TASKS.php';*/
                    
62
                    
                
TestData.php https://github.com/orchestra-io/sample-openx.git | PHP | 301 lines
                    
1<?php
                    
2/*
                    
3+---------------------------------------------------------------------------+
                    
4| OpenX v${RELEASE_MAJOR_MINOR}                                                                |
                    
5| =======${RELEASE_MAJOR_MINOR_DOUBLE_UNDERLINE}                                                                |
                    
23+---------------------------------------------------------------------------+
                    
24$Id: TestData.php 41443 2009-08-13 09:19:29Z matteo.beccati $
                    
25*/
                    
244        $doBanners->htmltemplate    = "<script type='text/javascript'><!--//<![CDATA[
                    
245   var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php');
                    
246   var m3_r = Math.floor(Math.random()*99999999999);
                    
257   document.write (\"'><\\/scr\"+\"ipt>\");
                    
258//]]>--></script><noscript><a href='http://ads.openx.org/delivery/ck.php?n=abc986b1&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.openx.org/delivery/avw.php?zoneid=9&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=abc986b1' border='0' alt='' /></a></noscript>";
                    
259
                    
260        $doBanners->htmlcache    = "<script type='text/javascript'><!--//<![CDATA[
                    
261   var m3_u = (location.protocol=='https:'?'https://ads.openx.org/delivery/ajs.php':'http://ads.openx.org/delivery/ajs.php');
                    
262   var m3_r = Math.floor(Math.random()*99999999999);
                    
                
edit.php https://github.com/thisduck/wordpress.git | PHP | 294 lines
                    
40	} else {
                    
41		wp_redirect( admin_url("edit.php?post_type=$post_type") );
                    
42	}
                    
163<?php screen_icon(); ?>
                    
164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php
                    
165if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
                    
170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?>
                    
171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div>
                    
172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
                    
238		$class = ' class="current"';
                    
239	$status_links[] = "<li><a href='edit.php?post_type=$post_type&author=$current_user->ID'$class>" . sprintf( _nx( 'Mine <span class="count">(%s)</span>', 'Mine <span class="count">(%s)</span>', $user_posts_count, 'posts' ), number_format_i18n( $user_posts_count ) ) . '</a>';
                    
240	$allposts = '&all_posts=1';
                    
293<?php
                    
294include('./admin-footer.php');
                    
295
                    
                
Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 lines
                    
1<?php
                    
2/**
                    
271            case 1:
                    
272                $this->_info['leap'] = '1 - last minute has 61 seconds';
                    
273                break;
                    
275            case 2:
                    
276                $this->_info['leap'] = '2 - last minute has 59 seconds';
                    
277                break;
                    
                
tcp_cubic.c https://gitlab.com/karrei/imx6-kernel | C | 497 lines
                    
43#define HYSTART_DELAY_MAX	(16U<<3)
                    
44#define HYSTART_DELAY_THRESH(x)	clamp(x, HYSTART_DELAY_MIN, HYSTART_DELAY_MAX)
                    
45
                    
90	u32	bic_K;		/* time to origin point from the beginning of the current epoch */
                    
91	u32	delay_min;	/* min delay (msec << 3) */
                    
92	u32	epoch_start;	/* beginning of an epoch */
                    
253	t = (s32)(tcp_time_stamp - ca->epoch_start);
                    
254	t += msecs_to_jiffies(ca->delay_min >> 3);
                    
255	/* change the unit from HZ to bictcp_HZ */
                    
371			ca->last_ack = now;
                    
372			if ((s32)(now - ca->round_start) > ca->delay_min >> 4)
                    
373				ca->found |= HYSTART_ACK_TRAIN;
                    
427	/* first time call or link delay decreases */
                    
428	if (ca->delay_min == 0 || ca->delay_min > delay)
                    
429		ca->delay_min = delay;
                    
                
IndexController.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 390 lines
                    
89    {
                    
90        /** @var $adminSession Mage_Admin_Model_Session */
                    
91        $adminSession = Mage::getSingleton('admin/session');
                    
93        $adminSession->getCookie()->delete($adminSession->getSessionName());
                    
94        $adminSession->addSuccess(Mage::helper('adminhtml')->__('You have logged out.'));
                    
95
                    
106
                    
107        if (!Mage::getSingleton('admin/session')->isAllowed('admin/global_search')) {
                    
108            $items[] = array(
                    
120                    'name' => Mage::helper('adminhtml')->__('No search modules were registered'),
                    
121                    'description' => Mage::helper('adminhtml')->__('Please make sure that all global admin search modules are installed and activated.')
                    
122                );
                    
250                $this->_getSession()
                    
251                    ->addSuccess(Mage::helper('adminhtml')->__('If there is an account associated with %s you will receive an email with a link to reset your password.', Mage::helper('adminhtml')->escapeHtml($email)));
                    
252                $this->_redirect('*/*/login');
                    
                
index.php https://gitlab.com/Nilufarjahan/LabExam8 | PHP | 455 lines
                    
158            <li>
                    
159                <a href="../Email/index.php">
                    
160                    <span class="title">View List</span>
                    
328                                <td><?php echo $oneData->birthday?></td>
                    
329                                <?php  echo "<td> <a href=\"edits.php?id=$oneData->id\"class=\"btn btn-info\" role=\"button\">Edit</a>  ";?>
                    
330                                <?php  echo " <a href=\"delete.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Delete</a> ";?>
                    
331                            
                    
332                                <?php  echo " <a href=\"trash.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Trash</a> </td> ";?>
                    
333                            </tr>
                    
371
                    
372        if($page>1)  echo "<li><a href='index.php?Page=$pageMinusOne'>" . "Previous" . "</a></li>";
                    
373        for($i=1;$i<=$pages;$i++)
                    
383        <select  class="form-control"  name="ItemsPerPage" id="ItemsPerPage" onchange="javascript:location.href = this.value;" >
                    
384            <?php
                    
385            if($itemsPerPage==3 ) echo '<option value="?ItemsPerPage=3" selected >Show 3 Items Per Page</option>';
                    
                
ee374469f3039f2afc01916b1c6255a7d0864358.file.view-registration.tpl.php https://gitlab.com/zohaibsaleem/shipcliq | PHP | 260 lines
                    
148</option>
                    
149              <option value="DN" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='DN'){?> selected <?php }?>><?php echo @LBL_DANISH;?>
                    
150</option>
                    
150</option>
                    
151              <option value="FI" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='FI'){?> selected <?php }?>><?php echo @LBL_FINISH;?>
                    
152</option>
                    
152</option>
                    
153              <option value="FN" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='FN'){?> selected <?php }?>><?php echo @LBL_FRENCH;?>
                    
154</option>
                    
160</option>
                    
161              <option value="DE" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='DE'){?> selected <?php }?>><?php echo @LBL_GERMAN;?>
                    
162</option>
                    
168</option>
                    
169              <option value="ES" <?php if ($_smarty_tpl->getVariable('db_customer')->value[0]['vLanguageCode']=='ES'){?> selected <?php }?>><?php echo @LBL_SPANISH;?>
                    
170</option>
                    
                
sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
                    
1<?php
                    
2class SiteMailer
                    
52		$this->headers .= "MIME-Version: 1.0\r\n";		
                    
53		//$this->headers .= "Content-Type: multipart/mixed; boundary=\"PHP-mixed-" . $this->randomHash . "\"\r\n";
                    
54		$this->headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
                    
90			{
                    
91				$this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--";
                    
92				$this->msgBody .= $this->attachment;				
                    
92				$this->msgBody .= $this->attachment;				
                    
93				$this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--";
                    
94			}*/		
                    
133				break;	
                    
134			case 'sendReminderforpointexpiration':				
                    
135				$this->sendReminderforpointexpiration($property);			
                    
136				break;		
                    
137			case 'sendReminderforredemptionToUser':				
                    
138				$this->sendReminderforredemptionToUser($property);			
                    
                
lang.php https://github.com/godber/PHXdata-Website.git | PHP | 186 lines
                    
1<?php
                    
2/**
                    
47$lang['license']               = 'Sob que licença o seu conteúdo deverá ser disponibilizado?';
                    
48$lang['fullpath']              = 'Revelar caminho completo no rodapé';
                    
49$lang['recent']                = 'Alterações recentes';
                    
53$lang['htmlok']                = 'Permitir embeber HTML';
                    
54$lang['phpok']                 = 'Permitir embeber PHP';
                    
55$lang['dformat']               = 'Formato de Data (ver função PHP\'s <a href="http://www.php.net/strftime">strftime</a>)';
                    
57$lang['toptoclevel']           = 'Nível de topo para a tabela de conteúdo';
                    
58$lang['tocminheads']           = 'Quantidade mínima de cabeçalhos para a construção da tabela de conteúdos.';
                    
59$lang['maxtoclevel']           = 'Máximo nível para a tabela de conteúdo';
                    
95$lang['sepchar']               = 'Separador de palavras no nome da página';
                    
96$lang['canonical']             = 'Usar URLs absolutas (http://servidor/caminho)';
                    
97$lang['fnencode']              = 'Método de codificar nomes de ficheiro não-ASCII.';
                    
101$lang['locktime']              = 'Idade máxima para locks (seg.)';
                    
102$lang['fetchsize']             = 'Tamanho máximo (bytes) que o fetch.php pode transferir do exterior';
                    
103$lang['notify']                = 'Enviar notificações de mudanças para este endereço de email';
                    
                
linear_solver.h https://gitlab.com/khumba/cglab | C Header | 478 lines
                    
27 *    YEAR=November 2005,
                    
28 *    URL=http://www.loria.fr/~levy/php/article.php?pub=../publications/papers/2005/Numerics
                    
29 * }
                    
181/*
                    
182 * Solves a linear system or minimizes a quadratic form.
                    
183 *
                    
373
                    
374    // Solves a linear system or minimizes a quadratic form.
                    
375    // Return true on success.
                    
                
Files.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 311 lines
                    
1<?php
                    
2/*
                    
45   * @opt_param bool ignoreDefaultVisibility Whether to ignore the domain's
                    
46   * default visibility settings for the created file. Domain administrators can
                    
47   * choose to make all uploaded files visible to the domain by default; this
                    
77   * @opt_param bool ignoreDefaultVisibility Whether to ignore the domain's
                    
78   * default visibility settings for the created file. Domain administrators can
                    
79   * choose to make all uploaded files visible to the domain by default; this
                    
                
Resource.php https://github.com/rakesh-sankar/PHP-Framework-Benchmark.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Resource.php 23567 2010-12-20 08:12:16Z mjh_ca $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Loader_Autoloader_Interface */
                    
24require_once 'Zend/Loader/Autoloader/Interface.php';
                    
25
                    
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');
                    
90        }
                    
91        require_once 'Zend/Loader/Autoloader.php';
                    
92        Zend_Loader_Autoloader::getInstance()->unshiftAutoloader($this, $namespace);
                    
                
Editor.php https://github.com/adaykin/zf2.git | PHP | 601 lines
                    
446     *
                    
447     * @param  string|int $minHeight
                    
448     * @return \Zend\Dojo\Form\Element\Editor
                    
449     */
                    
450    public function setMinHeight($minHeight)
                    
451    {
                    
451    {
                    
452        if (!preg_match('/^\d+(em)?$/i', $minHeight)) {
                    
453            throw new ElementException('Invalid minHeight provided; must be integer or CSS measurement');
                    
454        }
                    
455        if ('em' != substr($minHeight, -2)) {
                    
456            $minHeight .= 'em';
                    
457        }
                    
458        return $this->setDijitParam('minHeight', $minHeight);
                    
459    }
                    
                
cpanel.php https://github.com/andrewgs/practice-book.ru.git | PHP | 320 lines
                    
47	<div id="container" class="main-wrap">
                    
48		<?php $this->load->view('company_interface/header'); ?>
                    
49		<div id="main">
                    
106							<div class="box-content h150">
                    
107							<?php if($unitgroups || $units): ?>
                    
108								<div id="lists">
                    
141												<td class="col-price-company"><?=$units[$i]['cu_price'];?></td>
                    
142												<td class=""><strong><?=$units[$i]['cu_priceunit'];?><?php if($units[$i]['cu_unitscode']):?>/<?=$units[$i]['cu_unitscode'];?><?php endif;?></strong></td>
                    
143											</tr>
                    
184									<?php endif; ?>
                    
185									<?php if($representative[$i]['uicq']): ?>
                    
186										<div class="federal-skype-icq">
                    
300	</div> <!-- end of #container -->
                    
301	<script src="http://code.jquery.com/jquery-1.5.min.js"></script>
                    
302	<script>!window.jQuery && document.write('<script src="<?=$baseurl;?>javascript/jquery-1.5.1.min.js"><\/script>')</script>
                    
                
user.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
                    
10$_lang['address'] = 'Address';
                    
11$_lang['administrator'] = 'Administrator';
                    
12$_lang['authority'] = 'Autoritet';
                    
19$_lang['login_options'] = 'Login Options';
                    
20$_lang['minimum_role'] = 'Minimum Role';
                    
21$_lang['password'] = 'Adgangskode';
                    
48$_lang['role_err_remove'] = 'An error occurred while trying to remove the role.';
                    
49$_lang['role_err_remove_admin'] = 'The role you are trying to delete is the admin role. This role cannot be deleted!';
                    
50$_lang['role_remove'] = 'Delete Role';
                    
83$_lang['user_err_already_exists_email'] = 'Email already in use!';
                    
84$_lang['user_err_cannot_delete_last_admin'] = 'You cannot remove the last User in the Administrator group, as this will prevent administration of your site.';
                    
85$_lang['user_err_cannot_delete_self'] = 'You cannot delete yourself!';
                    
137$_lang['user_group_err_remove'] = 'An error occurred while trying to remove the user group.';
                    
138$_lang['user_group_err_remove_admin'] = 'You cannot remove the Administrator group.';
                    
139$_lang['user_group_err_save'] = 'An error occurred while trying to save the user group.';
                    
                
admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
                    
10 */
                    
11class Admin extends Admin_Controller
                    
12{
                    
147			->append_metadata( css('index.css', 'pages') )
                    
148			->build('admin/index', $this->data);
                    
149	}
                    
381				? redirect('admin/pages')
                    
382				: redirect('admin/pages/edit/'.$id);
                    
383	    }
                    
415			->append_metadata( js('form.js', 'pages') )
                    
416			->build('admin/form', $this->data);
                    
417	}
                    
559			
                    
560		<?php endif;
                    
561	}
                    
                
zone.php https://bitbucket.org/sandeepbhaskar/inspiredliving.git | PHP | 441 lines
                    
1<?php 
                    
2class ControllerLocalisationZone extends Controller {
                    
167			'order' => $order,
                    
168			'start' => ($page - 1) * $this->config->get('config_admin_limit'),
                    
169			'limit' => $this->config->get('config_admin_limit')
                    
248		$pagination->page = $page;
                    
249		$pagination->limit = $this->config->get('config_admin_limit');
                    
250		$pagination->text = $this->language->get('text_pagination');
                    
                
Value.php https://github.com/hukumonline/zfurl.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 12721 2008-11-20 18:21:58Z matthew $
                    
21 */
                    
24/** Zend_XmlRpc_Value_Exception */
                    
25require_once 'Zend/XmlRpc/Value/Exception.php';
                    
26
                    
27/** Zend_XmlRpc_Value_Scalar */
                    
28require_once 'Zend/XmlRpc/Value/Scalar.php';
                    
29
                    
30/** Zend_XmlRpc_Value_Base64 */
                    
31require_once 'Zend/XmlRpc/Value/Base64.php';
                    
32
                    
33/** Zend_XmlRpc_Value_Boolean */
                    
34require_once 'Zend/XmlRpc/Value/Boolean.php';
                    
35
                    
                
UploadHandler.php https://github.com/zikula-modules/Reviews.git | PHP | 404 lines
                    
45        $this->imageFileTypes = array('gif', 'jpeg', 'jpg', 'png', 'swf');
                    
46        $this->forbiddenFileTypes = array('cgi', 'pl', 'asp', 'phtml', 'php', 'php3', 'php4', 'php5', 'exe', 'com', 'bat', 'jsp', 'cfm', 'shtml');
                    
47        $this->allowedFileSizes = array('review' => array('coverUpload' => 102400));
                    
93        }
                    
94        $fileName = $this->determineFileName($objectType, $fieldName, $basePath, $fileName, $extension);
                    
95    
                    
218    /**
                    
219     * Determines the allowed file extensions for a given object type.
                    
220     *
                    
228    {
                    
229        // determine the allowed extensions
                    
230        $allowedExtensions = array();
                    
262     */
                    
263    protected function determineFileName($objectType, $fieldName, $basePath, $fileName, $extension)
                    
264    {
                    
                
date.php https://github.com/chemila/kohana.git | PHP | 566 lines
                    
28	 * Timezone for formatted_time
                    
29	 * @link http://uk2.php.net/manual/en/timezones.php
                    
30	 * @var  string
                    
105	 *
                    
106	 *     $minutes = Date::minutes(); // 05, 10, 15, ..., 50, 55, 60
                    
107	 *
                    
294	 *
                    
295	 *     $span = Date::span(60, 182, 'minutes,seconds'); // array('minutes' => 2, 'seconds' => 2)
                    
296	 *     $span = Date::span(60, 182, 'minutes'); // 2
                    
359		{
                    
360			$timespan -= Date::MINUTE * ($output['minutes'] = (int) floor($timespan / Date::MINUTE));
                    
361		}
                    
548	 *
                    
549	 * @see     http://php.net/manual/en/datetime.construct.php
                    
550	 * @param   string  datetime_str     datetime string
                    
                
lexer.php https://github.com/nadavkav/Moodle-RTL--Shenkar-Translation-Team-.git | PHP | 393 lines
                    
1<?php  // $Id: lexer.php,v 1.1 2005/01/31 07:39:03 moodler Exp $
                    
2
                    
2
                    
3/* PHP lexer code snarfed from the CVS tree for the lamplib project at 
                    
4 * http://sourceforge.net/projects/lamplib
                    
4 * http://sourceforge.net/projects/lamplib
                    
5 * This project is administered by Markus Baker, Harry Fuecks and Matt
                    
6 * Mitchell, and the project  code is in the public domain.
                    
165     *    Some optimisation to make the sure the
                    
166     *    content is only scanned by the PHP regex
                    
167     *    parser once. Lexer modes must not start
                    
                
editar_factura_prov.php https://gitlab.com/cosouth.battle/sartinofi | PHP | 434 lines
                    
1<?php
                    
2
                    
2
                    
3require_model('asiento.php');
                    
4require_model('asiento_factura.php');
                    
4require_model('asiento_factura.php');
                    
5require_model('divisa.php');
                    
6require_model('fabricante.php');
                    
6require_model('fabricante.php');
                    
7require_model('forma_pago.php');
                    
8require_model('proveedor.php');
                    
8require_model('proveedor.php');
                    
9require_model('recibo_proveedor.php');
                    
10
                    
103
                    
104      /// paso 1, eliminamos los asientos asociados
                    
105      if( !is_null($this->factura->idasiento) )
                    
                
route.php https://github.com/ymtn/core.git | PHP | 589 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
2/**
                    
3 * Routes are used to determine the controller and action for a requested URI.
                    
4 * Every route generates a regular expression which is used to match a URI
                    
288	 * The $uri parameter can either be a string for basic regex matching or it
                    
289	 * can be a valid callback or anonymous function (php 5.3+). If you use a
                    
290	 * callback or anonymous function, your method should return an array
                    
                
version.html https://github.com/trevor/ImageMagick.git | HTML | 365 lines
                    
12  <meta name="application-url" content="http://www.imagemagick.org"></meta>
                    
13  <meta name="generator" content="PHP"></meta>
                    
14  <meta name="keywords" content="magickcore, c, api, for, imagemagick:, get, the, version, copyrights, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"></meta>
                    
28  <!-- Add jQuery library -->
                    
29  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
                    
30  
                    
148<div class="menu">
                    
149  <a title="Search" href="http://www.imagemagick.org/script/search.php">Search</a>
                    
150</div>
                    
                
transformation.php https://github.com/xc/zetacomponents.git | PHP | 417 lines
                    
1<?php
                    
2/**
                    
173    /**
                    
174     * Determine output MIME type
                    
175     * Returns the MIME type that the transformation will output.
                    
                
user.inc.php https://github.com/goldsky/revolution.git | PHP | 202 lines
                    
10$_lang['address'] = 'Address';
                    
11$_lang['administrator'] = 'Administrator';
                    
12$_lang['authority'] = 'סמכות';
                    
19$_lang['login_options'] = 'Login Options';
                    
20$_lang['minimum_role'] = 'Minimum Role';
                    
21$_lang['password'] = 'Password';
                    
48$_lang['role_err_remove'] = 'An error occurred while trying to remove the role.';
                    
49$_lang['role_err_remove_admin'] = 'The role you are trying to delete is the admin role. This role cannot be deleted!';
                    
50$_lang['role_remove'] = 'Delete Role';
                    
83$_lang['user_err_already_exists_email'] = 'Email already in use!';
                    
84$_lang['user_err_cannot_delete_last_admin'] = 'You cannot remove the last User in the Administrator group, as this will prevent administration of your site.';
                    
85$_lang['user_err_cannot_delete_self'] = 'You cannot delete yourself!';
                    
137$_lang['user_group_err_remove'] = 'An error occurred while trying to remove the user group.';
                    
138$_lang['user_group_err_remove_admin'] = 'You cannot remove the Administrator group.';
                    
139$_lang['user_group_err_save'] = 'An error occurred while trying to save the user group.';
                    
                
install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
                    
42function basic_info() {
                    
43    require_once LIB_PATH . 'osclass/model/Admin.php' ;
                    
44    require_once LIB_PATH . 'osclass/model/Preference.php' ;
                    
47    if($_POST['s_name'] == ''){
                    
48        $admin = 'admin';
                    
49    } else { $admin = $_POST['s_name']; }
                    
82    $body = 'Welcome ' . $_POST['webtitle'] . ',<br/><br/>' ;
                    
83    $body .= 'Your OSClass installation at ' . WEB_PATH . ' is up and running. You can access to the administration panel with this data access:<br/>' ;
                    
84    $body .= '<ul>' ;
                    
96    try{
                    
97        require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ;
                    
98        $mail = new PHPMailer(true) ;
                    
404    require_once ABS_PATH . 'oc-includes/osclass/model/Country.php';
                    
405    require_once ABS_PATH . 'oc-includes/osclass/model/Region.php';
                    
406    require_once ABS_PATH . 'oc-includes/osclass/model/City.php';
                    
                
Value.php https://github.com/doctoralex/ch3-dev-preview.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 12720 2008-11-20 18:20:20Z matthew $
                    
21 */
                    
24/** Zend_XmlRpc_Value_Exception */
                    
25require_once 'Zend/XmlRpc/Value/Exception.php';
                    
26
                    
27/** Zend_XmlRpc_Value_Scalar */
                    
28require_once 'Zend/XmlRpc/Value/Scalar.php';
                    
29
                    
30/** Zend_XmlRpc_Value_Base64 */
                    
31require_once 'Zend/XmlRpc/Value/Base64.php';
                    
32
                    
33/** Zend_XmlRpc_Value_Boolean */
                    
34require_once 'Zend/XmlRpc/Value/Boolean.php';
                    
35
                    
                
function_scope.h https://gitlab.com/Blueprint-Marketing/hhvm | C Header | 444 lines
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
29#include "hphp/util/hash-map-typedefs.h"
                    
30#include "hphp/parser/parser.h"
                    
31
                    
241   */
                    
242  int getMinParamCount() const { return m_minParam; }
                    
243  int getDeclParamCount() const { return m_numDeclParams; }
                    
395
                    
396  static StringToFunctionInfoPtrMap s_refParamInfo;
                    
397
                    
                
bcm_umi_nand.c https://bitbucket.org/abdulhadif/android_kernel_samsung_espresso10.git | C | 579 lines
                    
6* under the terms of the GNU General Public License version 2, available at
                    
7* http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
                    
8*
                    
72#if USE_DMA
                    
73#define DMA_MIN_BUFLEN	512
                    
74#define DMA_MAX_BUFLEN	PAGE_SIZE
                    
74#define DMA_MAX_BUFLEN	PAGE_SIZE
                    
75#define USE_DIRECT_IO(len)	(((len) < DMA_MIN_BUFLEN) || \
                    
76	((len) > DMA_MAX_BUFLEN))
                    
87#else /* !USE_DMA */
                    
88#define DMA_MIN_BUFLEN          0
                    
89#define DMA_MAX_BUFLEN          0
                    
107#else
                    
108#include "bcm_umi_hamming.c"
                    
109#endif
                    
                
class-inl.h https://gitlab.com/0072016/0072016-PHP.LLC | C Header | 522 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
16
                    
17#ifndef incl_HPHP_VM_CLASS_INL_H_
                    
18#error "class-inl.h should only be included by class.h"
                    
                
admin.php https://bitbucket.org/seyar/kinda.local.git | PHP | 438 lines
                    
8    // admin param
                    
9    public $admin_path = '/admin/';
                    
10    public $admin_controller = 'main';
                    
44        
                    
45        $this->admin_path = ADMIN_PATH;
                    
46
                    
59
                    
60        $this->admin_model = new Model_AdminUser();
                    
61
                    
106        $default_lang = $this->get_default_lang();
                    
107        $this->lang = Cookie::get('admin_lang') ? Cookie::get('admin_lang') : $default_lang;
                    
108
                    
154            // set admin vars for link building
                    
155            $this->template->admin_path = $this->admin_path;
                    
156            $this->template->admin_controller = $this->admin_controller;
                    
                
Profiler.php https://github.com/kervin/kyzstudio.git | PHP | 471 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Profiler.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
154    /**
                    
155     * Sets a minimum number of seconds for saving query profiles.  If this
                    
156     * is set, only those queries whose elapsed time is equal or greater than
                    
156     * is set, only those queries whose elapsed time is equal or greater than
                    
157     * $minimumSeconds will be saved.  To save all queries regardless of
                    
158     * elapsed time, set $minimumSeconds to null.
                    
159     *
                    
160     * @param  integer $minimumSeconds OPTIONAL
                    
161     * @return Zend_Db_Profiler Provides a fluent interface
                    
162     */
                    
163    public function setFilterElapsedSecs($minimumSeconds = null)
                    
164    {
                    
                
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": "",
                    
82    # Ab welcher Anzahl von Verzeichnissen sollen Buchstaben eingeblendet werden?
                    
83    "min_letters" : 12,
                    
84
                    
105    # Die Ziel-Adresse
                    
106    "upload_to"             : "administator@localhost",
                    
107
                    
373            "username"          : self.request.environ["REMOTE_USER"],
                    
374            "is_admin"          : self.request.environ["REMOTE_USER"] in \
                    
375                self.request.cfg["admin_username"],
                    
                
Controller.php https://github.com/quarkness/piwik.git | PHP | 321 lines
                    
1<?php
                    
2/**
                    
16 */
                    
17class Piwik_UsersManager_Controller extends Piwik_Controller_Admin
                    
18{
                    
19	/**
                    
20	 * The "Manage Users and Permissions" Admin UI screen
                    
21	 */
                    
25		
                    
26		$IdSitesAdmin = Piwik_SitesManager_API::getInstance()->getSitesIdWithAdminAccess();
                    
27		$idSiteSelected = 1;
                    
28		
                    
29		if(count($IdSitesAdmin) > 0)
                    
30		{
                    
30		{
                    
31			$defaultWebsiteId = $IdSitesAdmin[0];
                    
32			$idSiteSelected = Piwik_Common::getRequestVar('idsite', $defaultWebsiteId);
                    
                
DefaultOptions.php https://github.com/Exercise/symfony.git | PHP | 320 lines
                    
1<?php
                    
2
                    
19 *
                    
20 * Options are a common pattern for initializing classes in PHP. Avoiding the
                    
21 * problems related to this approach is however a non-trivial task. Usually,
                    
151 * The closure receives as its first parameter a container of class Options
                    
152 * that contains the <em>concrete</em> options determined upon resolving. The
                    
153 * closure is executed once resolve() is called.
                    
                
instances.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 244 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
25
                    
26require('../config.php');
                    
27
                    
44
                    
45$PAGE->set_url('/enrol/instances.php', array('id'=>$course->id));
                    
46$PAGE->set_pagelayout('admin');
                    
104            echo $OUTPUT->header();
                    
105            $yesurl = new moodle_url('/enrol/instances.php', array('id'=>$course->id, 'action'=>'delete', 'instance'=>$instance->id, 'confirm'=>1,'sesskey'=>sesskey()));
                    
106            $displayname = $plugin->get_instance_name($instance);
                    
158$icount = count($instances);
                    
159$url = new moodle_url('/enrol/instances.php', array('sesskey'=>sesskey(), 'id'=>$course->id));
                    
160foreach ($instances as $instance) {
                    
                
wp-settings.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 323 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * Allows for some configuration in wp-config.php (see default-constants.php)
                    
7 *
                    
7 *
                    
8 * @internal This file must be parsable by PHP4.
                    
9 *
                    
61if ( WP_CACHE )
                    
62	WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
                    
63
                    
146require( ABSPATH . WPINC . '/nav-menu-template.php' );
                    
147require( ABSPATH . WPINC . '/admin-bar.php' );
                    
148
                    
315 *
                    
316 * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for
                    
317 * users not logged in.
                    
                
update.php https://bitbucket.org/sephora99/kmirock.git | PHP | 420 lines
                    
27	include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version
                    
28	$php_version = phpversion();
                    
29
                    
61		'version'           => $wp_version,
                    
62		'php'               => $php_version,
                    
63		'locale'            => $locale,
                    
135	if ( !function_exists( 'get_plugins' ) )
                    
136		require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
                    
137
                    
146	// Check for updated every 60 minutes if hitting update pages; else, check every 12 hours.
                    
147	$timeout = in_array( current_filter(), array( 'load-plugins.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200;
                    
148	$time_not_changed = isset( $current->last_checked ) && $timeout > ( time() - $current->last_checked );
                    
225	// Check for updated every 60 minutes if hitting update pages; else, check every 12 hours.
                    
226	$timeout = in_array( current_filter(), array( 'load-themes.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200;
                    
227	$time_not_changed = isset( $last_update->last_checked ) && $timeout > ( time( ) - $last_update->last_checked );
                    
                
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		}
                    
                
user-moderation-admin.php https://gitlab.com/Gashler/sg | PHP | 432 lines
                    
180		?>
                    
181		<input name="<?php echo $this->options_key; ?>[type]" type="radio" id="<?php echo $this->options_key; ?>_type_none" value="none"<?php checked( $this->get_option( 'type' ), 'none' ); ?> />
                    
182		<label for="<?php echo $this->options_key; ?>_type_none"><?php _e( 'None', 'theme-my-login' ); ?></label>
                    
184
                    
185		<input name="<?php echo $this->options_key; ?>[type]" type="radio" id="<?php echo $this->options_key; ?>_type_email" value="email" <?php checked( $this->get_option( 'type' ), 'email' ); ?> />
                    
186		<label for="<?php echo $this->options_key; ?>_type_email"><?php _e( 'E-mail Confirmation', 'theme-my-login' ); ?></label>
                    
188
                    
189		<input name="<?php echo $this->options_key; ?>[type]" type="radio" id="<?php echo $this->options_key; ?>_type_admin" value="admin" <?php checked( $this->get_option( 'type' ), 'admin' ); ?> />
                    
190		<label for="<?php echo $this->options_key; ?>_type_admin"><?php _e( 'Admin Approval', 'theme-my-login' ); ?></label>
                    
190		<label for="<?php echo $this->options_key; ?>_type_admin"><?php _e( 'Admin Approval', 'theme-my-login' ); ?></label>
                    
191		<p class="description"><?php _e( 'Check this option to require new users to be approved by an administrator before they may log in.', 'theme-my-login' ); ?></p>
                    
192		<?php
                    
265	 *
                    
266	 * Callback for "admin_notices" hook in file admin-header.php
                    
267	 *
                    
                
ProcessorTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 435 lines
                    
1<?php
                    
2/**
                    
8use Magento\Catalog\Model\Product;
                    
9use Magento\Quote\Api\Data\CartItemInterface;
                    
10use Magento\Quote\Model\Quote\Item\Processor;
                    
20 */
                    
21class ProcessorTest extends \PHPUnit_Framework_TestCase
                    
22{
                    
28    /**
                    
29     * @var ItemFactory |\PHPUnit_Framework_MockObject_MockObject
                    
30     */
                    
33    /**
                    
34     * @var StoreManagerInterface |\PHPUnit_Framework_MockObject_MockObject
                    
35     */
                    
38    /**
                    
39     * @var State |\PHPUnit_Framework_MockObject_MockObject
                    
40     */
                    
                
SoftwareRenderer.js https://bitbucket.org/krris/3d-bin-packing.git | JavaScript | 590 lines
                    
303		var maxx = Math.min( ( Math.max( x1, x2, x3 ) + subpixelBias ) >> subpixelBits, canvasWidth );
                    
304		var miny = Math.max( ( Math.min( y1, y2, y3 ) + subpixelBias ) >> subpixelBits, 0 );
                    
305		var maxy = Math.min( ( Math.max( y1, y2, y3 ) + subpixelBias ) >> subpixelBits, canvasHeight );
                    
324		var c2 = dy23 * ((minx << subpixelBits) - x2) + dx23 * ((miny << subpixelBits) - y2);
                    
325		var c3 = dy31 * ((minx << subpixelBits) - x3) + dx31 * ((miny << subpixelBits) - y3);
                    
326
                    
347
                    
348		var cz = ( z1 + ((minx << subpixelBits) - x1) * dzdx + ((miny << subpixelBits) - y1) * dzdy ) | 0;
                    
349
                    
426				var blockId = blockX + blockY * canvasWBlocks;
                    
427				var minz = cbz + nminz;
                    
428
                    
440				// Accept whole block when fully covered
                    
441				if ( cb1 >= nmin1 && cb2 >= nmin2 && cb3 >= nmin3 ) {
                    
442
                    
                
inputfilter.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 551 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 *  @class: InputFilter (PHP4 & PHP5, with comments)
                    
4 * @project: PHP Input Filter
                    
5 * @date: 10-05-2005
                    
6 * @version: 1.2.2_php4/php5
                    
7 * @author: Daniel Morris
                    
58	/**
                    
59	 * Method to be called by another php script. Processes for XSS and
                    
60	 * specified bad code.
                    
152			/*
                    
153			 * Let's catch any non-terminated tags and skip over them
                    
154			 */
                    
430	/**
                    
431	 * Function to determine if contents of an attribute is safe
                    
432	 *
                    
                
jquery.tagsinput.js https://gitlab.com/techniconline/kmc | JavaScript | 358 lines
                    
10 Licensed under the MIT license:
                    
11 http://www.opensource.org/licenses/mit-license.php
                    
12
                    
21    $.fn.doAutosize = function (o) {
                    
22        var minWidth = $(this).data('minwidth'),
                    
23            maxWidth = $(this).data('maxwidth'),
                    
36        var testerWidth = testSubject.width(),
                    
37            newWidth = (testerWidth + o.comfortZone) >= minWidth ? testerWidth + o.comfortZone : minWidth,
                    
38            currentWidth = input.width(),
                    
50        // alert(JSON.stringify(options));
                    
51        var minWidth = $(this).data('minwidth') || options.minInputWidth || $(this).width(),
                    
52            maxWidth = $(this).data('maxwidth') || options.maxInputWidth || ($(this).closest('.tagsinput').width() - options.inputPadding),
                    
71
                    
72        input.data('minwidth', minWidth);
                    
73        input.data('maxwidth', maxWidth);
                    
                
functions.inc.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 346 lines
                    
1<?php
                    
2
                    
28          'filter' => FILTER_VALIDATE_INT,
                    
29          'options' => array('min_range' => 0, 'max_range' => 1000)
                    
30          ),
                    
308    if (!preg_match('`[a-z]`', $passwd)) {
                    
309        return $errorpassw = "Password debe tener al menos una letra minúscula";
                    
310    }
                    
                
readme.md https://gitlab.com/buitenzorg812/garapic.cms | Markdown | 217 lines
                    
6
                    
7Modular Extensions makes the CodeIgniter PHP framework modular. Modules are groups of independent components, 
                    
8typically model, controller and view, arranged in an application modules sub-directory that can be dropped into other CodeIgniter applications.
                    
103
                    
104The PHP5 spl_autoload feature allows you to freely extend your controllers, models and libraries from 
                    
105application/core or application/libraries base classes without the need to specifically include or require
                    
1597. Create module directory structure application/modules/welcome/controllers
                    
1608. Move controller application/controllers/welcome.php to application/modules/welcome/controllers/welcome.php
                    
1619. Access the URL /index.php/welcome => shows Welcome to CodeIgniter
                    
16210. Create directory application/modules/welcome/views
                    
16311. Move view application/views/welcome_message.php to application/modules/welcome/views/welcome_message.php
                    
16412. Access the URL /index.php/welcome => shows Welcome to CodeIgniter
                    
214controllers, models, libraries, views, etc. to be grouped together in module directories and used 
                    
215like a mini application. But, Modular Extensions goes one step further and allows those modules to 
                    
216“talk” to each other. You can get controller output without having to go out through the http interface 
                    
                
multiple-featured-images.php https://gitlab.com/webkod3r/tripolis | PHP | 374 lines
                    
1<?php
                    
2/*
                    
75
                    
76			add_action( 'admin_init', array( &$this, 'kd_admin_init' ) );
                    
77			add_action( 'add_meta_boxes', array( &$this, 'kd_add_meta_box' ) );
                    
86		/**
                    
87		 * Add admin-Javascript
                    
88		 *
                    
91		public function kd_admin_init() {		
                    
92			if( strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/post.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/media-upload.php')) {
                    
93				wp_enqueue_script(
                    
94						'kd-multiple-featured-images',
                    
95						get_template_directory_uri().'/framework/plugins/multiple-featured-images/js/kd-admin.js',
                    
96						'jquery'
                    
101		/**
                    
102		 * Add admin metabox for choosing additional featured images
                    
103		 *
                    
                
class-wp-ms-users-list-table.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 301 lines
                    
89		$total_users = get_user_count();
                    
90		$super_admins = get_super_admins();
                    
91		$total_admins = count( $super_admins );
                    
95		$role_links = array();
                    
96		$role_links['all'] = "<a href='" . network_admin_url('users.php') . "'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_users, 'users' ), number_format_i18n( $total_users ) ) . '</a>';
                    
97		$class = $role == 'super' ? ' class="current"' : '';
                    
97		$class = $role == 'super' ? ' class="current"' : '';
                    
98		$role_links['super'] = "<a href='" . network_admin_url('users.php?role=super') . "'$class>" . sprintf( _n( 'Super Admin <span class="count">(%s)</span>', 'Super Admins <span class="count">(%s)</span>', $total_admins ), number_format_i18n( $total_admins ) ) . '</a>';
                    
99
                    
186						echo "<td $attributes>"; ?>
                    
187							<?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php
                    
188							if ( in_array( $user->user_login, $super_admins ) )
                    
289						echo "<td $attributes>";
                    
290						/** This filter is documented in wp-admin/includes/class-wp-users-list-table.php */
                    
291						echo apply_filters( 'manage_users_custom_column', '', $column_name, $user->ID );
                    
                
sfValidatorBaseTest.php https://github.com/bheneka/gitta.git | PHP | 246 lines
                    
1<?php
                    
2
                    
10
                    
11require_once(dirname(__FILE__).'/../../bootstrap/unit.php');
                    
12
                    
133$v->setOption('trim', true);
                    
134$t->is($v->clean('  foo  '), 'foo', '->setOption() can turn on whitespace trimming');
                    
135try
                    
                
composite.html https://bitbucket.org/wallwizz/imagemagick-6.8.4-for-bb10.git | HTML | 331 lines
                    
17  <meta name="application-url" content="http://www.imagemagick.org"/>
                    
18  <meta name="generator" content="PHP"/>
                    
19  <meta name="keywords" content="magickcore, c, api, for, imagemagick:, composite, an, image, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Image, Processing, Automagically"/>
                    
37  <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
                    
38  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
                    
39  <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
                    
145<div class="menu">
                    
146  <a title="Search" href="http://www.imagemagick.org/script/search.php">Search</a>
                    
147</div>
                    
175<div  class="sponsor">
                    
176  <a rel="follow" title="Sponsor: VPS" href="http://www.interdominios.com/vps">VPS</a><!-- 201201010090 barsh@inter... -->
                    
177</div>
                    
                
langimport.php https://github.com/dhamma-dev/SEA.git | PHP | 387 lines
                    
31require_once(dirname(dirname(__FILE__)).'/config.php');
                    
32require_once($CFG->libdir.'/adminlib.php');
                    
33require_once($CFG->libdir.'/filelib.php');
                    
162
                    
163        if (file_exists($dest1.'/langconfig.php') || file_exists($dest2.'/langconfig.php')){
                    
164            $updateablelangs[] = $clang;
                    
296// list of installed languages
                    
297$url = new moodle_url('/admin/langimport.php', array('mode' => DELETION_OF_SELECTED_LANG));
                    
298echo html_writer::start_tag('td', array('valign' => 'top'));
                    
309if ($remote) {
                    
310    $url = new moodle_url('/admin/langimport.php', array('mode' => UPDATE_ALL_LANG));
                    
311    echo html_writer::start_tag('form', array('id' => 'updateform', 'action' => $url->out(), 'method' => 'post'));
                    
325    echo html_writer::start_tag('td', array('valign' => 'top'));
                    
326    $url = new moodle_url('/admin/langimport.php', array('mode' => INSTALLATION_OF_SELECTED_LANG));
                    
327    echo html_writer::start_tag('form', array('id' => 'installform', 'action' => $url->out(), 'method' => 'post'));
                    
                
PMA_relation_cleanup_test.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 511 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
3/**
                    
4 * tests for relation_cleanup.lib.php
                    
5 *
                    
5 *
                    
6 * @package PhpMyAdmin-test
                    
7 */
                    
13
                    
14require_once 'libraries/database_interface.inc.php';
                    
15
                    
25 *
                    
26 * @package PhpMyAdmin-test
                    
27 */
                    
299 *
                    
300 * @package PhpMyAdmin-test
                    
301 */
                    
                
about.php https://gitlab.com/relacilia/cakra | PHP | 243 lines
                    
36
                    
37include( ABSPATH . 'wp-admin/admin-header.php' );
                    
38?>
                    
45		<h2 class="nav-tab-wrapper">
                    
46			<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
                    
47			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
199				<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
                    
200					<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
                    
201						<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
                    
203				<?php endif; ?>
                    
204				<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
                    
205			</div>
                    
210
                    
211include( ABSPATH . 'wp-admin/admin-footer.php' );
                    
212
                    
                
Profiler.php https://github.com/StefanRHRO/SCRM.git | PHP | 471 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Profiler.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
154    /**
                    
155     * Sets a minimum number of seconds for saving query profiles.  If this
                    
156     * is set, only those queries whose elapsed time is equal or greater than
                    
156     * is set, only those queries whose elapsed time is equal or greater than
                    
157     * $minimumSeconds will be saved.  To save all queries regardless of
                    
158     * elapsed time, set $minimumSeconds to null.
                    
159     *
                    
160     * @param  integer $minimumSeconds OPTIONAL
                    
161     * @return Zend_Db_Profiler Provides a fluent interface
                    
162     */
                    
163    public function setFilterElapsedSecs($minimumSeconds = null)
                    
164    {
                    
                
Comparator.php https://bitbucket.org/cryofrost/portal.git | PHP | 378 lines
                    
1<?php
                    
2/*
                    
26 * @license http://ez.no/licenses/new_bsd New BSD License
                    
27 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
28 * @link    www.doctrine-project.org
                    
30 * @version $Revision$
                    
31 * @author  Benjamin Eberlei <kontakt@beberlei.de>
                    
32 */
                    
177
                    
178        $this->detectColumnRenamings($tableDifferences);
                    
179
                    
242     * Try to find columns that only changed their name, rename operations maybe cheaper than add/drop
                    
243     * however ambiguouties between different possibilites should not lead to renaming at all.
                    
244     * 
                    
246     */
                    
247    private function detectColumnRenamings(TableDiff $tableDifferences)
                    
248    {
                    
                
class-page-title.php https://gitlab.com/campus-academy/krowkaramel | PHP | 530 lines
                    
351						'hue'         => 'Hue',
                    
352						'luminosity'  => 'Luminosity',
                    
353					],
                    
412	 *
                    
413	 * Written in PHP and used to generate the final HTML.
                    
414	 *
                    
431
                    
432		<?php
                    
433		$head_link_url    = isset( $settings['page_heading_link']['url'] ) ? $settings['page_heading_link']['url'] : '';
                    
440			<?php } ?>
                    
441			<<?php echo $heading_size_tag; ?> class="elementor-heading-title elementor-size-<?php echo $settings['size']; ?>">
                    
442				<?php if ( '' !== $settings['new_page_title_select_icon']['value'] ) { ?>
                    
465		</div>
                    
466		<?php
                    
467
                    
                
tools.php https://gitlab.com/campus-academy/krowkaramel | PHP | 432 lines
                    
38	 *
                    
39	 * Add new Elementor Tools admin menu.
                    
40	 *
                    
141	public function post_elementor_rollback() {
                    
142		check_admin_referer( 'elementor_rollback' );
                    
143
                    
152
                    
153		$plugin_slug = basename( ELEMENTOR__FILE__, '.php' );
                    
154
                    
205
                    
206			require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
                    
207
                    
356										$rollback_html . '<a data-placeholder-text="' . esc_html__( 'Reinstall', 'elementor' ) . ' v{VERSION}" href="#" data-placeholder-url="%s" class="button elementor-button-spinner elementor-rollback-button">%s</a>',
                    
357										wp_nonce_url( admin_url( 'admin-post.php?action=elementor_rollback&version=VERSION' ), 'elementor_rollback' ),
                    
358										esc_html__( 'Reinstall', 'elementor' )
                    
                
test.php https://github.com/md-tech/openemr.git | PHP | 422 lines
                    
1<?php
                    
2$debug=1;
                    
2$debug=1;
                    
3require_once("gacl_admin.inc.php");
                    
4
                    
146/*
                    
147//require_once('../Cache_Lite.php');
                    
148require_once('./profiler.inc');
                    
152    'caching' => true,
                    
153    'cacheDir' => '/tmp/phpgacl_cache',
                    
154    'lifeTime' => 100
                    
211$max_acl=100;
                    
212$min_rand_aco=1;
                    
213$max_rand_aco=9;
                    
213$max_rand_aco=9;
                    
214$min_rand_aro=1;
                    
215$max_rand_aro=9;
                    
                
Key.php https://github.com/drobbins/s3db.git | PHP | 316 lines
                    
1<?php
                    
2/**
                    
9 *
                    
10 * LICENSE: This source file is subject to version 3.0 of the PHP license
                    
11 * that is available through the world-wide-web at the following URI:
                    
11 * that is available through the world-wide-web at the following URI:
                    
12 * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
                    
13 * the PHP License and are unable to obtain it through the web, please
                    
13 * the PHP License and are unable to obtain it through the web, please
                    
14 * send a note to license@php.net so we can mail you a copy immediately.
                    
15 *
                    
19 * @copyright  2005, 2006 Alexander Valyalkin
                    
20 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
21 * @version    1.2.0b
                    
89 * @copyright  2005, 2006 Alexander Valyalkin
                    
90 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
91 * @link       http://pear.php.net/package/Crypt_RSA
                    
                
general.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 225 lines
                    
5        <i class="icon-hand-right"></i>
                    
6        <span class="kopa-section-title"><?php _e('Logo, Favicon, Apple Icon', kopa_get_domain()); ?></span>
                    
7    </div><!--kopa-box-head-->
                    
139                ?>
                    
140                <label  for="<?php echo $kopa_header_headline_status_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_header_headline_status_id; ?>" name="<?php echo $kopa_header_headline_name; ?>" <?php echo ($value == get_option($kopa_header_headline_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
141                <?php
                    
158                foreach ( $kopa_headline_categories as $kopa_headline_category ) { ?>
                    
159                    <option value="<?php echo $kopa_headline_category->term_id; ?>" <?php selected( $kopa_headline_category->term_id, $kopa_current_headline_category_id ); ?>><?php echo $kopa_headline_category->name; ?></option>
                    
160                <?php } // endforeach ?>
                    
165            <span class="kopa-component-title"><?php _e('Number of posts:', kopa_get_domain()); ?></span>
                    
166            <input type="number" min="2" value="<?php echo get_option('kopa_theme_options_headline_posts_number', 10); ?>" id="kopa_theme_options_headline_posts_number" name="kopa_theme_options_headline_posts_number">
                    
167        </div>
                    
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
                    
                
class.moderationcontroller.php https://github.com/abhishekmica/Garden.git | PHP | 319 lines
                    
1<?php if (!defined('APPLICATION')) exit();
                    
2/*
                    
25    * Looks at the user's attributes and form postback to see if any comments
                    
26    * have been checked for administration, and if so, puts an inform message on
                    
27    * the screen to take action.
                    
37    * Looks at the user's attributes and form postback to see if any discussions
                    
38    * have been checked for administration, and if so, puts an inform message on
                    
39    * the screen to take action.
                    
49    * Looks at the user's attributes and form postback to see if any comments
                    
50    * have been checked for administration, and if so, adds an inform message to
                    
51    * $Sender to take action.
                    
133    * Looks at the user's attributes and form postback to see if any discussions
                    
134    * have been checked for administration, and if so, adds an inform message to
                    
135    * $Sender to take action.
                    
198   /**
                    
199    * Remove all comments checked for administration from the user's attributes.
                    
200    */
                    
                
ValidationStatistics_body.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 307 lines
                    
1<?php
                    
2
                    
39				$dataRows .= '<td>' .
                    
40					$wgLang->formatTimePeriod( $perValue, 'avoidminutes' ) . '</td>';
                    
41			}
                    
60		$wgOut->addWikiMsg( 'validationstatistics-pndtime',
                    
61			$wgLang->formatTimePeriod( $pt, 'avoidminutes' ) );
                    
62		# Show review time stats...
                    
64			$wgOut->addWikiMsg( 'validationstatistics-revtime',
                    
65				$wgLang->formatTimePeriod( $mt, 'avoidminutes' ),
                    
66				$wgLang->formatTimePeriod( $mdt, 'avoidminutes' ),
                    
187			global $wgPhpCli;
                    
188			$ext = !empty( $wgPhpCli ) ? $wgPhpCli : 'php';
                    
189			$path = wfEscapeShellArg( dirname( __FILE__ ) . '/../maintenance/updateStats.php' );
                    
                
categories.php https://github.com/bantu/customisation-db.git | PHP | 357 lines
                    
18
                    
19if (!phpbb::$auth->acl_gets('u_titania_admin'))
                    
20{
                    
183			'CATEGORY_VISIBLE' 				=> $category_object->category_visible,
                    
184			'SECTION_NAME'					=> ($action == 'add') ? phpbb::$user->lang['CREATE_CATEGORY'] : phpbb::$user->lang['EDIT_CATEGORY'] . ' - ' . ((isset(phpbb::$user->lang[$old_category_name])) ? phpbb::$user->lang[$old_category_name] : $old_category_name),
                    
185
                    
272			'CATEGORY_NAME'					=> (isset(phpbb::$user->lang[$category_object->category_name])) ? phpbb::$user->lang[$category_object->category_name] : $category_object->category_name,
                    
273			'SECTION_NAME'					=> phpbb::$user->lang['DELETE_CATEGORY'] . ' - ' . ((isset(phpbb::$user->lang[$category_object->category_name])) ? phpbb::$user->lang[$category_object->category_name] : $category_object->category_name),
                    
274			'S_HAS_SUBCATS'					=> ($category_object->right_id - $category_object->left_id > 1) ? true : false,
                    
326		phpbb::$template->assign_vars(array(
                    
327			'ICON_MOVE_UP'			=> '<img src="' . titania::$images_path . 'icon_up.gif" alt="' . phpbb::$user->lang['MOVE_UP'] . '" title="' . phpbb::$user->lang['MOVE_UP'] . '" />',
                    
328			'ICON_MOVE_UP_DISABLED'		=> '<img src="' . titania::$images_path . 'icon_up_disabled.gif" alt="' . phpbb::$user->lang['MOVE_UP'] . '" title="' . phpbb::$user->lang['MOVE_UP'] . '" />',
                    
328			'ICON_MOVE_UP_DISABLED'		=> '<img src="' . titania::$images_path . 'icon_up_disabled.gif" alt="' . phpbb::$user->lang['MOVE_UP'] . '" title="' . phpbb::$user->lang['MOVE_UP'] . '" />',
                    
329			'ICON_MOVE_DOWN'		=> '<img src="' . titania::$images_path . 'icon_down.gif" alt="' . phpbb::$user->lang['MOVE_DOWN'] . '" title="' . phpbb::$user->lang['MOVE_DOWN'] . '" />',
                    
330			'ICON_MOVE_DOWN_DISABLED'	=> '<img src="' . titania::$images_path . 'icon_down_disabled.gif" alt="' . phpbb::$user->lang['MOVE_DOWN'] . '" title="' . phpbb::$user->lang['MOVE_DOWN'] . '" />',
                    
                
Nirvanix.php https://github.com/mrbanzai/zf2.git | PHP | 403 lines
                    
1<?php
                    
2/**
                    
206    {
                    
207        throw new Exception\OperationNotAvailableException('Renaming not implemented');
                    
208    }
                    
                
mysqli.overview.html https://bitbucket.org/stillzhl/manuals.git | HTML | 417 lines
                    
81  <p class="para">
                    
82PHP文档中你还会发现很多其他的<em class="emphasis">扩展</em>。PHP代码是由一个核心,一些可选扩展组成了核心功能。PHP
                    
83  的MySQL相关扩展,比如<em>mysqli</em>,<em>mysql</em>都是基于PHP扩展框架实现的。
                    
232  <p class="para">
                    
233  PHP数据对象,是PHP应用中的一个数据库抽象层规范。PDO提供了一个统一的API接口可以使得你的PHP应用不去关心具体要
                    
234  连接的数据库服务器系统类型。也就是说,如果你使用PDO的API,可以在任何需要的时候无缝切换数据库服务器,比如从Firebird
                    
247  <p class="para">
                    
248  PDO是基于PHP扩展框架实现的,它的源码在PHP源码目录的<var class="filename">ext/pdo</var>下。
                    
249  </p>
                    
268  <p class="para">
                    
269  PDO的MySQL驱动是基于PHP扩展框架实现的。它的源码在PHP源码目录下的<var class="filename">ext/pdo_mysql</var>。
                    
270  它没有向PHP程序员暴露API。
                    
304  <p class="para">
                    
305  MySQL Native驱动是基于PHP扩展框架实现的。源代码位于PHP源码目录的<var class="filename">ext/mysqlnd</var>下。
                    
306  它没有向PHP程序员暴露接口。
                    
                
members.lang.php https://bitbucket.org/speedealing/speedealing.git | PHP | 224 lines
                    
1<?php
                    
2/* Copyright (C) 2012	Regis Houssin	<regis.houssin@capnetworks.com>
                    
35		'ErrorThisMemberIsNotPublic' => 'Este miembro no es público',
                    
36		'ErrorMemberIsAlreadyLinkedToThisThirdParty' => 'Otro miembro (nombre: <b>%s</b>, login: <b>%s</b>) está vinculado al tercero <b>%s</b>. Elimine el enlace existente ya que un tercero sólo puede estar vinculado a un solo miembro (y viceversa).',
                    
37		'ErrorUserPermissionAllowsToLinksToItselfOnly' => 'Por razones de seguridad, debe poseer los derechos de modificación de todos los usuarios para poder vincular un miembro a un usuario que no sea usted mismo.',
                    
111		'EditType' => 'Edición del tipo de miembro',
                    
112		'DeleteType' => 'Eliminar',
                    
113		'VoteAllowed' => 'Voto autorizado',
                    
120		'DeleteMember' => 'Eliminar un miembro',
                    
121		'ConfirmDeleteMember' => '¿Está seguro de querer eliminar este miembro (Eliminar un miembro elimina también todas sus cotizaciones)?',
                    
122		'DeleteSubscription' => 'Eliminar una afiliación',
                    
122		'DeleteSubscription' => 'Eliminar una afiliación',
                    
123		'ConfirmDeleteSubscription' => '¿Está seguro de querer eliminar esta afiliación?',
                    
124		'Filehtpasswd' => 'Archivo htpasswd',
                    
214		'Entreprises' => 'Empresas',
                    
215		'DOLIBARRFOUNDATION_PAYMENT_FORM' => 'Para realizar el pago de su cotización por transferencia bancaria, visite la página <a target="_blank" href="http://wiki.speedealing.org/index.php/Subscribirse#Para_una_adhesi.C3.B3n_por_transferencia">http://wiki.speedealing.org/index.php/Subscribirse</a>.<br>Para pagar con tarjeta de crédito o PayPal, haga clic en el botón en la parte inferior de esta página.<br><br>',
                    
216		'ErrorBadValueForDate' => 'Erreur : La date de fin d\'adhésion ne doit être ni égale ni inférieure à la date de début.',
                    
                
notice.php https://github.com/mhoofman/wordpress-heroku.git | PHP | 102 lines
                    
1<?php if ( $type == 'plugin' ) :?>
                    
2<div class="updated" style="padding: 0; margin: 0; border: none; background: none;">
                    
3	<style type="text/css">
                    
4.akismet_activate{min-width:825px;border:1px solid #4F800D;padding:5px;margin:15px 0;background:#83AF24;background-image:-webkit-gradient(linear,0% 0,80% 100%,from(#83AF24),to(#4F800D));background-image:-moz-linear-gradient(80% 100% 120deg,#4F800D,#83AF24);-moz-border-radius:3px;border-radius:3px;-webkit-border-radius:3px;position:relative;overflow:hidden}.akismet_activate .aa_a{position:absolute;top:-5px;right:10px;font-size:140px;color:#769F33;font-family:Georgia, "Times New Roman", Times, serif;z-index:1}.akismet_activate .aa_button{font-weight:bold;border:1px solid #029DD6;border-top:1px solid #06B9FD;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#FFF;background:#029DD6;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#029DD6),to(#0079B1));background-image:-moz-linear-gradient(0% 100% 90deg,#0079B1,#029DD6);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.akismet_activate .aa_button:hover{text-decoration:none !important;border:1px solid #029DD6;border-bottom:1px solid #00A8EF;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#F0F8FB;background:#0079B1;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#0079B1),to(#0092BF));background-image:-moz-linear-gradient(0% 100% 90deg,#0092BF,#0079B1);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.akismet_activate .aa_button_border{border:1px solid #006699;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;background:#029DD6;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#029DD6),to(#0079B1));background-image:-moz-linear-gradient(0% 100% 90deg,#0079B1,#029DD6)}.akismet_activate .aa_button_container{cursor:pointer;display:inline-block;background:#DEF1B8;padding:5px;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;width:266px}.akismet_activate .aa_description{position:absolute;top:22px;left:285px;margin-left:25px;color:#E5F2B1;font-size:15px;z-index:1000}.akismet_activate .aa_description strong{color:#FFF;font-weight:normal}
                    
5	</style>
                    
5	</style>
                    
6	<form name="akismet_activate" action="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" method="POST">
                    
7		<div class="akismet_activate">
                    
10				<div class="aa_button_border">
                    
11					<div class="aa_button"><?php esc_html_e('Activate your Akismet account', 'akismet');?></div>
                    
12				</div>
                    
26<?php elseif ( $type == 'version' ) :?>
                    
27<div id="akismet-warning" class="updated fade"><p><strong><?php printf( esc_html__('Akismet %s requires WordPress 3.0 or higher.', 'akismet'), AKISMET_VERSION);?></strong> <?php printf(__('Please <a href="%1$s">upgrade WordPress</a> to a current version, or <a href="%2$s">downgrade to version 2.4 of the Akismet plugin</a>.', 'akismet'), 'https://codex.wordpress.org/Upgrading_WordPress', 'https://wordpress.org/extend/plugins/akismet/download/');?></p></div>
                    
28<?php elseif ( $type == 'alert' ) :?>
                    
42	<h3 class="key-status failed"><?php esc_html_e('Network functions are disabled.', 'akismet'); ?></h3>
                    
43	<p class="description"><?php printf( __('Your web host or server administrator has disabled PHP&#8217;s <code>gethostbynamel</code> functions.  <strong>Akismet cannot work correctly until this is fixed.</strong>  Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet&#8217;s system requirements</a>.', 'akismet'), 'http://blog.akismet.com/akismet-hosting-faq/'); ?></p>
                    
44</div>
                    
                
ChartWrapper.html https://gitlab.com/kevinkhill/lavacharts-api | HTML | 342 lines
                    
7
                    
8                <link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css">
                    
9        <link rel="stylesheet" type="text/css" href="../../../css/bootstrap-theme.min.css">
                    
10        <link rel="stylesheet" type="text/css" href="../../../css/sami.css">
                    
11        <script src="../../../js/jquery-1.11.1.min.js"></script>
                    
12        <script src="../../../js/bootstrap.min.js"></script>
                    
12        <script src="../../../js/bootstrap.min.js"></script>
                    
13        <script src="../../../js/typeahead.min.js"></script>
                    
14        <script src="../../../sami.js"></script>
                    
83    <p>    class
                    
84    <strong>ChartWrapper</strong>        extends <a href="../../../Khill/Lavacharts/Dashboards/Wrapper.html"><abbr title="Khill\Lavacharts\Dashboards\Wrapper">Wrapper</abbr></a>        (<a href="https://github.com/khill/lavacharts/blob/master/src/Dashboards/ChartWrapper.php">View source</a>)
                    
85</p>
                    
                
shp.php https://bitbucket.org/pavolve/masterskayaludmila.git | PHP | 426 lines
                    
2/**
                    
3 * ESRI Shape file import plugin for phpMyAdmin
                    
4 *
                    
4 *
                    
5 * @package PhpMyAdmin-Import
                    
6 * @subpackage ESRI_Shape
                    
7 */
                    
8if (! defined('PHPMYADMIN')) {
                    
9    exit;
                    
58    /**
                    
59     * This class extends ShapeFile class to cater the following phpMyAdmin
                    
60     * specific requirements.
                    
120    /**
                    
121     * This class extends ShapeRecord class to cater the following phpMyAdmin
                    
122     * specific requirements.
                    
                
yii.php https://gitlab.com/brucealdridge/yii2 | PHP | 114 lines
                    
1<?php
                    
2/**
                    
40    'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu groß. Es {limit, plural, one{ist} other{sind}} maximal {limit, number} {limit, plural, one{Byte} other{Bytes}} erlaubt.',
                    
41    'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu klein. Es {limit, plural, one{ist} other{sind}} mindestens {limit, number} {limit, plural, one{Byte} other{Bytes}} erforderlich.',
                    
42    'The format of {attribute} is invalid.' => 'Das Format von {attribute} ist ungültig.',
                    
57    'in {delta, plural, =1{a day} other{# days}}' => 'in {delta, plural, =1{einem Tag} other{# Tagen}}',
                    
58    'in {delta, plural, =1{a minute} other{# minutes}}' => 'in {delta, plural, =1{einer Minute} other{# Minuten}}',
                    
59    'in {delta, plural, =1{a month} other{# months}}' => 'in {delta, plural, =1{einem Monat} other{# Monaten}}',
                    
79    '{attribute} must be no greater than {max}.' => '{attribute} darf nicht größer als {max} sein.',
                    
80    '{attribute} must be no less than {min}.' => '{attribute} darf nicht kleiner als {min} sein.',
                    
81    '{attribute} must be repeated exactly.' => '{attribute} muss genau wiederholt werden.',
                    
82    '{attribute} must not be equal to "{compareValue}".' => '{attribute} darf nicht "{compareValue}" sein.',
                    
83    '{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '{attribute} muss mindestens {min, number} Zeichen enthalten.',
                    
84    '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '{attribute} darf maximal {max, number} Zeichen enthalten.',
                    
86    '{delta, plural, =1{a day} other{# days}} ago' => 'vor {delta, plural, =1{einem Tag} other{# Tagen}}',
                    
87    '{delta, plural, =1{a minute} other{# minutes}} ago' => 'vor {delta, plural, =1{einer Minute} other{# Minuten}}',
                    
88    '{delta, plural, =1{a month} other{# months}} ago' => 'vor {delta, plural, =1{einem Monat} other{# Monaten}}',
                    
                
about.php https://gitlab.com/Gashler/sg | PHP | 208 lines
                    
22
                    
23include( ABSPATH . 'wp-admin/admin-header.php' );
                    
24
                    
87		'heading'     => __( 'Template Hierarchy' ),
                    
88		/* Translators: 1: singular.php; 2: single.php; 3:page.php */
                    
89		'description' => sprintf( __( 'Added %1$s as a fallback for %2$s and %3$s' ), '<code>singular.php</code>', '<code>single.php</code>', '<code>page.php</code>.' ),
                    
171				<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
                    
172					<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
                    
173						<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
                    
175				<?php endif; ?>
                    
176				<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
                    
177			</div>
                    
182
                    
183include( ABSPATH . 'wp-admin/admin-footer.php' );
                    
184
                    
                
yii.php https://gitlab.com/brucealdridge/yii2 | PHP | 114 lines
                    
1<?php
                    
2/**
                    
81	'in {delta, plural, =1{a second} other{# seconds}}' => '{delta} сонияи дигар',
                    
82	'in {delta, plural, =1{a minute} other{# minutes}}' => '{delta} дақиқаи дигар',
                    
83	'in {delta, plural, =1{an hour} other{# hours}}' => '{delta} соати дигар',
                    
87	'{delta, plural, =1{a second} other{# seconds}} ago' => '{delta} сонияи қабл',
                    
88	'{delta, plural, =1{a minute} other{# minutes}} ago' => '{delta} дақиқаи қабл',
                    
89	'{delta, plural, =1{an hour} other{# hours}} ago' => '{delta} соати қабл',
                    
107	'{attribute} must be no greater than {max}.' => '{attribute} бояд аз {max} зиёд набошад.',
                    
108	'{attribute} must be no less than {min}.' => '{attribute} бояд аз {min} кам набошад.',
                    
109	'{attribute} must be repeated exactly.' => '{attribute} айнан бояд такрор шавад.',
                    
110	'{attribute} must not be equal to "{compareValue}".' => '{attribute} бояд баробари "{compareValue}" набошад.',
                    
111	'{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '{attribute} хади ақал {min, number} рамз дошта бошад.',
                    
112	'{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '{attribute} хамаги {max, number} рамз дошта бошад.',
                    
                
Clients.php https://gitlab.com/my-application.bjoernbartels.earth/my-application | PHP | 322 lines
                    
1<?php
                    
2/**
                    
4 * 
                    
5 * AdminModule
                    
6 *
                    
8 * @package   BB's Zend Framework 2 Components
                    
9 * @package   AdminModule
                    
10 * @author    Björn Bartels <coding@bjoernbartels.earth>
                    
15
                    
16namespace Admin\Model;
                    
17
                    
93                            'encoding' => 'UTF-8',
                    
94                            'min'      => 1,
                    
95                            'max'      => 255,
                    
116                            'encoding' => 'UTF-8',
                    
117                            'min'      => 1,
                    
118                            'max'      => 255,
                    
                
Observer.php https://github.com/rgranadino/magento-mirror.git | PHP | 282 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 */
                    
119            ->addStoreFilter()
                    
120            ->addMinimalPrice()
                    
121            ->addFinalPrice()
                    
240        if ($product->getTypeId() == Mage_Catalog_Model_Product_Type::TYPE_BUNDLE) {
                    
241            Mage::helper('adminhtml/catalog')
                    
242                ->setAttributeTabBlock('bundle/adminhtml_catalog_product_edit_tab_attributes');
                    
                
Mail.php https://github.com/magikcypress/bbbweb.git | PHP | 270 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP versions 4 and 5
                    
6 *
                    
40 * @copyright   1997-2010 Chuck Hagenbuch
                    
41 * @license     http://opensource.org/licenses/bsd-license.php New BSD License
                    
42 * @version     CVS: $Id: Mail.php 294747 2010-02-08 08:18:33Z clockwerx $
                    
42 * @version     CVS: $Id: Mail.php 294747 2010-02-08 08:18:33Z clockwerx $
                    
43 * @link        http://pear.php.net/package/Mail/
                    
44 */
                    
45
                    
46require_once 'PEAR.php';
                    
47
                    
59    /**
                    
60     * Line terminator used for separating header lines.
                    
61     * @var string
                    
                
index.php https://gitlab.com/gustCL/syscar | PHP | 188 lines
                    
1<?php
                    
2require_once ('head.php');
                    
67                                             <td>
                    
68                                                 <a class="btn btn-warning shiny"  href="nuevo_producto.php" >
                    
69                                                        <i class="fa fa-plus">
                    
110                                                <tbody>
                    
111                                                    <?php
                    
112
                    
137                                                                <td>                          
                    
138                                                                    <a href="ver_producto.php?id=<?= $idP ?>" class="btn btn-default btn-xs blue" ><i class="fa fa-eye"></i> Ver</a>
                    
139                                                                    <a href="mod_producto.php?id=<?= $idP ?>"   class="btn btn-default btn-xs purple"  ><i class="fa fa-edit"></i> Editar</a>
                    
139                                                                    <a href="mod_producto.php?id=<?= $idP ?>"   class="btn btn-default btn-xs purple"  ><i class="fa fa-edit"></i> Editar</a>
                    
140                                                                    <a href="javascript:eliminarProd('<?= $idP ?>');" class="btn btn-default btn-xs black" ><i class="fa fa-trash-o"></i> Eliminar</a>
                    
141
                    
143                                                            </tr>
                    
144                                                            <?php
                    
145                                                            $row_number = $row_number + 1;
                    
                
voucher.php https://bitbucket.org/allanxyh/uniquemall.git | PHP | 263 lines
                    
1<?php 
                    
2class ControllerAccountVoucher extends Controller { 
                    
59		$this->data['entry_message'] = $this->language->get('entry_message');
                    
60		$this->data['entry_amount'] = sprintf($this->language->get('entry_amount'), $this->currency->format($this->config->get('config_voucher_min')), $this->currency->format($this->config->get('config_voucher_max')));
                    
61		
                    
247				
                    
248		if (($this->currency->convert($this->request->post['amount'], $this->currency->getCode(), $this->config->get('config_currency')) < $this->config->get('config_voucher_min')) || ($this->currency->convert($this->request->post['amount'], $this->currency->getCode(), $this->config->get('config_currency')) > $this->config->get('config_voucher_max'))) {
                    
249      		$this->error['amount'] = sprintf($this->language->get('error_amount'), $this->currency->format($this->config->get('config_voucher_min')), $this->currency->format($this->config->get('config_voucher_max')) . ' ' . $this->currency->getCode());
                    
                
pl.js https://gitlab.com/wuhang2003/core | JavaScript | 127 lines
                    
8    "Sample configuration detected" : "Wykryto przykładową konfigurację",
                    
9    "It has been detected that the sample configuration has been copied. This can break your installation and is unsupported. Please read the documentation before performing changes on config.php" : "Wykryto skopiowanie przykładowej konfiguracji. To może popsuć Twoją instalację i nie jest wspierane. Proszę przeczytać dokumentację przed dokonywaniem zmian w config.php",
                    
10    "PHP %s or higher is required." : "PHP %s lub wyższe jest wymagane.",
                    
10    "PHP %s or higher is required." : "PHP %s lub wyższe jest wymagane.",
                    
11    "PHP with a version lower than %s is required." : "Wersja PHP jest niższa niż %s, która jest wymagana.",
                    
12    "Following databases are supported: %s" : "Obsługiwane są następujące bazy danych: %s",
                    
23    "Users" : "Użytkownicy",
                    
24    "Admin" : "Administrator",
                    
25    "Recommended" : "Polecane",
                    
37    "_%n hour ago_::_%n hours ago_" : ["%n godzinę temu","%n godzin temu","%n godzin temu"],
                    
38    "_%n minute ago_::_%n minutes ago_" : ["%n minute temu","%n minut temu","%n minut temu"],
                    
39    "seconds ago" : "sekund temu",
                    
69    "Offending command was: \"%s\"" : "Niepoprawna komenda: \"%s\"",
                    
70    "You need to enter either an existing account or the administrator." : "Należy wprowadzić istniejące konto użytkownika lub  administratora.",
                    
71    "Offending command was: \"%s\", name: %s, password: %s" : "Niepoprawne polecania:  \"%s\", nazwa: %s, hasło: %s",
                    
                
update.php https://gitlab.com/diva-lab/essam-labs | PHP | 266 lines
                    
1<?php 
                    
2require_once("../layout/initialize.php"); 
                    
11	if(empty($record_info->id)){ 
                    
12		redirect_to("view.php");	 
                    
13	}else{ 
                    
29}else{ 
                    
30	redirect_to("../MenuGroup/view.php"); 
                    
31} 
                    
37<!--sidebar start--> 
                    
38<?php require_once("../layout/navigation.php");?> 
                    
39<!--sidebar end-->  
                    
171                <button type="button" class="btn btn-info"  
                    
172                    onClick="window.location.href = 'view.php?group_id='+<?php echo $group_data->id?>" >View Links </button> 
                    
173                <div id="loading_data"></div> 
                    
264<!--footer start--> 
                    
265<?php require_once("../layout/footer.php");?> 
                    
266<script src="../../js-crud/load_nodes.js"></script>
                    
                
App.php https://gitlab.com/sejator/posci4 | PHP | 448 lines
                    
1<?php
                    
2
                    
32	 *
                    
33	 * Typically this will be your index.php file, unless you've renamed it to
                    
34	 * something else. If you are using mod_rewrite to remove the page set this
                    
38	 */
                    
39	public $indexPage = 'index.php';
                    
40
                    
45	 *
                    
46	 * This item determines which getServer global should be used to retrieve the
                    
47	 * URI string.  The default setting of 'REQUEST_URI' works for most servers.
                    
78	 *
                    
79	 * If true, the current Request object will automatically determine the
                    
80	 * language to use based on the value of the Accept-Language header.
                    
117	 *
                    
118	 * This determines which character set is used by default in various methods
                    
119	 * that require a character set to be provided.
                    
                
BaseUserService.php https://bitbucket.org/haichau59/manga.git | PHP | 399 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: BaseUserService.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
25 */
                    
26//require_once 'Zend/Service/DeveloperGarden/Client/ClientAbstract.php';
                    
27
                    
30 */
                    
31//require_once 'Zend/Service/DeveloperGarden/Response/BaseUserService/GetQuotaInformationResponse.php';
                    
32
                    
35 */
                    
36//require_once 'Zend/Service/DeveloperGarden/Response/BaseUserService/ChangeQuotaPoolResponse.php';
                    
37
                    
40 */
                    
41//require_once 'Zend/Service/DeveloperGarden/Response/BaseUserService/GetAccountBalanceResponse.php';
                    
42
                    
                
AnnotationDriverTest.php https://bitbucket.org/iiic/iszp.git | PHP | 340 lines
                    
1<?php
                    
2
                    
7
                    
8require_once __DIR__ . '/../../TestInit.php';
                    
9
                    
253 * @InheritanceType("JOINED")
                    
254 * @DiscriminatorMap({"test" = "ColumnWithoutType"})
                    
255 */
                    
263 * @InheritanceType("JOINED")
                    
264 * @DiscriminatorMap({"parent" = "AnnotationParent", "child" = "AnnotationChild"})
                    
265 * @HasLifecycleCallbacks
                    
302 * @InheritanceType("SINGLE_TABLE")
                    
303 * @DiscriminatorMap({"s"="SuperEntity", "c"="ChildEntity"})
                    
304 */
                    
                
reindex.php https://github.com/karpenoktem/punbb.git | PHP | 267 lines
                    
82		array($forum_config['o_board_title'], forum_link($forum_url['index'])),
                    
83		array($lang_admin_common['Forum administration'], forum_link($forum_url['admin_index'])),
                    
84		array($lang_admin_common['Management'], forum_link($forum_url['admin_reports'])),
                    
166
                    
167	exit('<script type="text/javascript">window.location="'.forum_link($forum_url['admin_reindex']).$query_str.'"</script><br />'.$lang_admin_reindex['Javascript redirect'].' <a href="'.forum_link($forum_url['admin_reindex']).$query_str.'">'.$lang_admin_reindex['Click to continue'].'</a>.');
                    
168}
                    
193	array($forum_config['o_board_title'], forum_link($forum_url['index'])),
                    
194	array($lang_admin_common['Forum administration'], forum_link($forum_url['admin_index'])),
                    
195	array($lang_admin_common['Management'], forum_link($forum_url['admin_reports'])),
                    
229					<div class="sf-box text">
                    
230						<label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_admin_reindex['Posts per cycle'] ?></span> <small><?php echo $lang_admin_reindex['Posts per cycle info'] ?></small></label><br />
                    
231						<span class="fld-input"><input type="number" id="fld<?php echo $forum_page['fld_count'] ?>" name="i_per_page" size="7" maxlength="7" value="100" /></span>
                    
236					<div class="sf-box text">
                    
237						<label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span class="fld-label"><?php echo $lang_admin_reindex['Starting post'] ?></span> <small><?php echo $lang_admin_reindex['Starting post info'] ?></small></label><br />
                    
238						<span class="fld-input"><input type="number" id="fld<?php echo $forum_page['fld_count'] ?>" name="i_start_at" size="7" maxlength="7" value="<?php echo (isset($first_id)) ? $first_id : 0 ?>" /></span>
                    
                
index.php https://github.com/karpenoktem/punbb.git | PHP | 244 lines
                    
128else if (isset($_PHPA))
                    
129	$php_accelerator = '<a href="http://www.php-accelerator.co.uk/">ionCube PHP Accelerator</a>';
                    
130else if (ini_get('apc.enabled'))
                    
130else if (ini_get('apc.enabled'))
                    
131	$php_accelerator ='<a href="http://www.php.net/apc/">Alternative PHP Cache (APC)</a>';
                    
132else if (ini_get('zend_optimizer.optimization_level'))
                    
143	array($forum_config['o_board_title'], forum_link($forum_url['index'])),
                    
144	array($lang_admin_common['Forum administration'], forum_link($forum_url['admin_index']))
                    
145);
                    
213						<li><span><?php echo $lang_admin_index['Operating system'] ?>: <?php echo PHP_OS ?></span></li>
                    
214						<li><span>PHP: <?php echo PHP_VERSION ?> - <a href="<?php echo forum_link($forum_url['admin_index']) ?>?action=phpinfo"><?php echo $lang_admin_index['Show info'] ?></a></span></li>
                    
215						<li><span><?php echo $lang_admin_index['Accelerator'] ?>: <?php echo $php_accelerator ?></span></li>
                    
226						<li><span><?php echo $lang_admin_index['Rows'] ?>: <?php echo forum_number_format($total_records) ?></span></li>
                    
227						<li><span><?php echo $lang_admin_index['Size'] ?>: <?php echo $total_size ?></span></li>
                    
228<?php endif; ?>
                    
                
recaptchalib.php https://bitbucket.org/Mainboarder/s2firewall.git | PHP | 277 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * This is a PHP library that handles calling reCAPTCHA.
                    
4 *    - Documentation and latest version
                    
4 *    - Documentation and latest version
                    
5 *          http://recaptcha.net/plugins/php/
                    
6 *    - Get a reCAPTCHA API Key
                    
6 *    - Get a reCAPTCHA API Key
                    
7 *          https://www.google.com/recaptcha/admin/create
                    
8 *    - Discussion group
                    
108    if ($pubkey == null || $pubkey == '') {
                    
109		die ("To use reCAPTCHA you must get an API key from <a href='https://www.google.com/recaptcha/admin/create'>https://www.google.com/recaptcha/admin/create</a>");
                    
110	}
                    
154	if ($privkey == null || $privkey == '') {
                    
155		die ("To use reCAPTCHA you must get an API key from <a href='https://www.google.com/recaptcha/admin/create'>https://www.google.com/recaptcha/admin/create</a>");
                    
156	}
                    
                
Profiler.php https://github.com/oveach/tuto-zf-doctrine2.git | PHP | 471 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Profiler.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
154    /**
                    
155     * Sets a minimum number of seconds for saving query profiles.  If this
                    
156     * is set, only those queries whose elapsed time is equal or greater than
                    
156     * is set, only those queries whose elapsed time is equal or greater than
                    
157     * $minimumSeconds will be saved.  To save all queries regardless of
                    
158     * elapsed time, set $minimumSeconds to null.
                    
159     *
                    
160     * @param  integer $minimumSeconds OPTIONAL
                    
161     * @return Zend_Db_Profiler Provides a fluent interface
                    
162     */
                    
163    public function setFilterElapsedSecs($minimumSeconds = null)
                    
164    {
                    
                
task_test.php https://bitbucket.org/moodle/moodle.git | PHP | 307 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
35        $this->resetAfterTest(true);
                    
36        $this->setAdminUser();
                    
37        $dg = $this->getDataGenerator();
                    
153        $this->resetAfterTest(true);
                    
154        $this->setAdminUser();
                    
155        $dg = $this->getDataGenerator();
                    
234        $this->resetAfterTest(true);
                    
235        $this->setAdminUser();
                    
236        $dg = $this->getDataGenerator();
                    
271        $this->resetAfterTest(true);
                    
272        $this->setAdminUser();
                    
273        $dg = $this->getDataGenerator();
                    
                
 

Source

Language