PageRenderTime 3581ms queryTime 129ms sortTime 1122ms getByIdsTime 53ms findMatchingLines 80ms

100+ results results for 'php end' (3581 ms)

Not the results you expected?
DiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 365 lines
                    
32 * your version of this file under either the CDDL, the GPL Version 2 or
                    
33 * to extend the choice of license to its licensees as provided above.
                    
34 * However, if you add GPL Version 2 code and therefore, elected the GPL
                    
41 */
                    
42package org.netbeans.modules.php.project.connections.sync.diff;
                    
43
                    
61import org.netbeans.api.diff.StreamSource;
                    
62import org.netbeans.modules.php.api.util.StringUtils;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
63import org.netbeans.modules.php.project.connections.RemoteClient;
                    
64import org.netbeans.modules.php.project.connections.RemoteException;
                    
65import org.netbeans.modules.php.project.connections.TmpLocalFile;
                    
362    private JLabel loadingLabel;
                    
363    // End of variables declaration//GEN-END:variables
                    
364
                    
                
sweetalert2.css https://gitlab.com/ptisky/API_prestashop | CSS | 595 lines
                    
8 * It is also available through the world-wide-web at this URL:
                    
9 * http://opensource.org/licenses/afl-3.0.php
                    
10 * If you did not receive a copy of the license and are unable to
                    
10 * If you did not receive a copy of the license and are unable to
                    
11 * obtain it through the world-wide-web, please send an email
                    
12 * to license@prestashop.com so we can send you a copy immediately.
                    
21 * @copyright 2015-2016 Cubyn
                    
22 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23 */
                    
                
Particle3DTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 480 lines
                    
77    listener->onTouchesMoved = CC_CALLBACK_2(Particle3DTestDemo::onTouchesMoved, this);
                    
78    listener->onTouchesEnded = CC_CALLBACK_2(Particle3DTestDemo::onTouchesEnded, this);
                    
79    _eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this);
                    
110
                    
111void Particle3DTestDemo::onTouchesEnded(const std::vector<Touch*>& touches, cocos2d::Event  *event)
                    
112{
                    
                
rewrite.php https://bitbucket.org/murtuza88/carolina-home-stone.git | PHP | 425 lines
                    
1<?php
                    
2
                    
47		
                    
48        //DD32 recommend : http://groups.google.com/group/wp-hackers/browse_thread/thread/50ac0d07e30765e9
                    
49        //add_filter('rewrite_rules_array', array($this, 'RewriteRules')); 
                    
74		
                    
75	} // end of initialization
                    
76
                    
211		//TODO: I could parse for the Picture name , gallery etc, but this increase the queries
                    
212		//TODO: Class nggdb need to cache the query for the nggfunctions.php
                    
213
                    
234		
                    
235		//prepend the data
                    
236		$title = $new_title . $title;
                    
265            // XML request
                    
266            $this->slug . '/slideshow/([0-9]+)/?$' => 'index.php?imagerotator=true&gid=$matches[1]'
                    
267		);  
                    
                
TrustedMath.i18n.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 274 lines
                    
1<?php
                    
2/**
                    
14$messages['en'] = array(
                    
15	'trustedmath-desc' => 'Allows embedding LaTeX equations on pages, similarly to the built-in math renderer, but without dependency on Ocaml',
                    
16	'trustedmath-permission-error' => 'Untrusted math is disabled on this wiki',
                    
55$messages['ca'] = array(
                    
56	'trustedmath-desc' => "Permet incrustar equacions LaTeX a les pàgines, de manera similar a la del processador d'equacions incorporat per defecte, però sense la dependència de Ocaml",
                    
57	'trustedmath-permission-error' => "En aquest wiki s'han desactivat les matemàtiques no fiables",
                    
89$messages['fr'] = array(
                    
90	'trustedmath-desc' => "Permet d'intégrer des équations LaTeX sur les pages, comme dans le moteur de rendu intégré de mathématiques, mais sans la dépendance d'Ocaml",
                    
91	'trustedmath-permission-error' => 'Les mathématiques non fiables sont désactivées sur ce wiki',
                    
107$messages['gl'] = array(
                    
108	'trustedmath-desc' => 'Permite a incorporación de ecuacións LaTeX en páxinas, de xeito semellante ao motor de renderizado integrado de matemáticas, pero sen depender do Ocaml',
                    
109	'trustedmath-permission-error' => 'As matemáticas non fiables están desactivadas neste wiki',
                    
140$messages['ia'] = array(
                    
141	'trustedmath-desc' => 'Permitte incorporar equationes LaTeX in paginas, de forma similar al renditor mathematic integrate, ma sin dependentia de Ocaml',
                    
142	'trustedmath-permission-error' => 'Le functionalitate mathematic non approbate es disactivate in iste wiki',
                    
                
twitter-timeline.php https://gitlab.com/hunt9310/ras | PHP | 470 lines
                    
1<?php
                    
2
                    
4 * Based on Evolution Twitter Timeline
                    
5 * (https://wordpress.org/extend/plugins/evolution-twitter-timeline/)
                    
6 * For details on Twitter Timelines see:
                    
19
                    
20class Jetpack_Twitter_Timeline_Widget extends WP_Widget {
                    
21	/**
                    
26			'twitter_timeline',
                    
27			/** This filter is documented in modules/widgets/facebook-likebox.php */
                    
28			apply_filters( 'jetpack_widget_name', esc_html__( 'Twitter Timeline', 'jetpack' ) ),
                    
63	public function admin_scripts( $hook ) {
                    
64		// This is still 'widgets.php' when managing widgets via the Customizer.
                    
65		if ( 'widgets.php' === $hook ) {
                    
70	/**
                    
71	 * Front-end display of widget.
                    
72	 *
                    
                
File.php https://gitlab.com/rsilveira1987/Expresso | PHP | 473 lines
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Storage
                    
18 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
251            } else {
                    
252                require_once 'Zend/Search/Lucene/Exception.php';
                    
253                throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
281        if ($value < (int)0x80000000) {
                    
282            require_once 'Zend/Search/Lucene/Exception.php';
                    
283            throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
449        if ($chars < 0) {
                    
450            require_once 'Zend/Search/Lucene/Exception.php';
                    
451            throw new Zend_Search_Lucene_Exception('Invalid UTF-8 string');
                    
                
eventapi.html.md https://gitlab.com/ggsaavedra/PredictionIO | Markdown | 412 lines
                    
16INFO: Before launching the Event Server, make sure that your event data store
                    
17backend is properly configured and is running. By default, PredictionIO uses
                    
18Apache HBase, and a quick configuration can be found
                    
109  </div>
                    
110  <div data-tab="PHP SDK" data-lang="php">
                    
111```php
                    
112<?php
                    
113  require_once("vendor/autoload.php");
                    
114
                    
204  </div>
                    
205  <div data-tab="PHP SDK" data-lang="php">
                    
206```php
                    
207<?php
                    
208  require_once("vendor/autoload.php");
                    
209
                    
                
Advertiser.php https://bitbucket.org/blackriver/openx.git | PHP | 371 lines
                    
1<?php
                    
2
                    
35// Required classes
                    
36require_once MAX_PATH . '/lib/OA/Dal/Statistics.php';
                    
37
                    
40 */
                    
41class OA_Dal_Statistics_Advertiser extends OA_Dal_Statistics
                    
42{
                    
49    * @param date $oStartDate The date from which to get statistics (inclusive)
                    
50    * @param date $oEndDate The date to which to get statistics (inclusive)
                    
51    * @param bool $localTZ Should stats be using the manager TZ or UTC?
                    
62    */
                    
63    function getAdvertiserDailyStatistics($advertiserId, $oStartDate, $oEndDate, $localTZ = false)
                    
64    {
                    
92                b.bannerid = s.ad_id
                    
93                " . $this->getWhereDate($oStartDate, $oEndDate, $localTZ) . "
                    
94            GROUP BY
                    
                
catalog.php https://gitlab.com/alexprowars/bitrix | PHP | 621 lines
                    
97
                    
98			if (is_array($recommendations) && isset($recommendations[$realProductId]))
                    
99			{
                    
136				{
                    
137					$recommendationId = $viewResult['RECOMMENDATION'];
                    
138				}
                    
148			'domain' => Context::getCurrent()->getServer()->getHttpHost(),
                    
149			'recommendation' => $recommendationId,
                    
150			'date' => date(DATE_ISO8601)
                    
180				"UPDATE ".$helper->quote('b_sale_basket')
                    
181				." SET RECOMMENDATION='".$helper->forSql($recommendationId)."' WHERE ID=".(int) $basketItem->getId()
                    
182			);
                    
394				'currency' => $row['CURRENCY'],
                    
395				'recommendation' => $row['RECOMMENDATION']
                    
396			);
                    
                
arr.php https://bitbucket.org/i1598/caiyun_stat.git | PHP | 602 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
118
                    
119			// Remove ending delimiters, spaces, and wildcards
                    
120			$path = rtrim($path, "{$delimiter} *");
                    
242	 * @param   integer $step   stepping
                    
243	 * @param   integer $max    ending number
                    
244	 * @return  array
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies one or more
                    
353	 * callbacks to all elements in an array, including sub-arrays.
                    
403	 * Merges one or more arrays recursively and preserves all keys.
                    
404	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
405	 *
                    
601
                    
602} // End arr
                    
603
                    
                
Url.php https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git | PHP | 548 lines
                    
1<?php
                    
2
                    
305        // Add the trailing slash if necessary
                    
306        if ($this->path != '/' && end($segments) == '') {
                    
307            $this->path .= '/';
                    
                
InstallSchema.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
403
                    
404        $installer->endSetup();
                    
405
                    
                
ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
                    
1<?php
                    
2
                    
43 */
                    
44class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form
                    
45{
                    
115        // set up tabs
                    
116        require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php';
                    
117        CRM_Contribute_Form_ContributionPage_TabHeader::build( $this );
                    
251            // get price set of type contributions
                    
252            require_once 'CRM/Price/BAO/Set.php';
                    
253            //this is the value for stored in db if price set extends contribution
                    
258            if ( CRM_Utils_Array::value( 'end_date', $defaults ) ) {
                    
259                list( $defaults['end_date'], $defaults['end_date_time'] ) = CRM_Utils_Date::setDateDefaults( $defaults['end_date'] );
                    
260            }
                    
327            CRM_Core_Session::setStatus( ts("'%1' information has been saved.", 
                    
328                                            array( 1 => ( $subPage == 'friend' ) ? 'Friend' : $className ) ) );
                    
329
                    
                
admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
2
                    
3require_once(APPPATH.'controllers/project.php');
                    
4
                    
4
                    
5class Admin_review extends Project {
                    
6
                    
122	
                    
123	public function send_comment(){
                    
124		
                    
136		);
                    
137		$sendreview = $this->review->add_admin_review($par);
                    
138		
                    
138		
                    
139		if( $sendreview ) {
                    
140			redirect("admin_review/".$this->input->post("projurl"), "refresh");
                    
                
resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
                    
1<?php
                    
2/**
                    
48$_lang['resource_duplicate'] = 'DuplikaSI';
                    
49$_lang['resource_duplicate_confirm'] = 'Apakah Anda yakin Anda ingin menduplikasi sumber daya ini? Setiap item(s) yang berisi juga akan diduplikasi.';
                    
50$_lang['resource_edit'] = 'Mengedit';
                    
62$_lang['resource_err_duplicate'] = 'Terjadi kesalahan saat duplikasi sumber.';
                    
63$_lang['resource_err_move_to_child'] = 'Anda tidak dapat memindahkan sumber daya untuk di bawah salah satu dari anak-anaknya sendiri.';
                    
64$_lang['resource_err_move_sitestart'] = 'Sumber daya yang dihubungkan ke variabel site_start dan tidak dapat dipindahkan ke konteks lain!';
                    
67$_lang['resource_err_ns'] = 'Sumber daya yang tidak ditentukan.';
                    
68$_lang['resource_err_own_parent'] = 'Sumber daya yang tidak dapat induknya sendiri.';
                    
69$_lang['resource_err_publish']  = 'Terjadi kesalahan saat mencoba untuk menerbitkan sumber.';
                    
103$_lang['resource_publishdate'] = 'Tanggal publikasi';
                    
104$_lang['resource_publishdate_help'] = 'Jika Anda menetapkan tanggal publikasikan, sumber daya yang akan diterbitkan segera setelah tanggal publikasi tercapai. Klik pada ikon kalender untuk memilih tanggal, atau Biarkan kosong untuk mengaturnya sehingga sumber daya tidak pernah secara otomatis dipublikasikan.';
                    
105$_lang['resource_published'] = 'Diterbitkan';
                    
127$_lang['resource_unpublishdate'] = 'Menghentikan penayangan tanggal';
                    
128$_lang['resource_unpublishdate_help'] = 'Jika Anda menetapkan pembatalan tanggal publikasi, sumber daya akan dihentikan penayangannya segera setelah tanggal publikasi tercapai. Klik pada ikon kalender untuk memilih tanggal, atau Biarkan kosong untuk mengaturnya sehingga sumber daya tidak pernah secara otomatis tidak dipublikasikan.';
                    
129$_lang['resource_unpublished'] = 'Tidak diterbitkan';
                    
                
File.php https://github.com/Riges/KawaiViewModel.git | PHP | 468 lines
                    
38 */
                    
39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
                    
40{
                    
113            if ( ($realpath = Zend_Reflection_File::findRealpathInIncludePath($filePath)) === false) {
                    
114                require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
115                throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');
                    
209            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
210            throw new Zend_CodeGenerator_Php_Exception('setDocblock() is expecting either a string, array or an instance of Zend_CodeGenerator_Php_Docblock');
                    
211        }
                    
293            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
294            throw new Zend_CodeGenerator_Php_Exception('Expecting either an array or an instance of Zend_CodeGenerator_Php_Class');
                    
295        }
                    
460        if ($this->_filename == '' || !is_writable(dirname($this->_filename))) {
                    
461            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
462            throw new Zend_CodeGenerator_Php_Exception('This code generator object is not writable.');
                    
                
lang.php https://gitlab.com/gideonmarked/atls-express | PHP | 326 lines
                    
74        'no_themes' => 'Det finns inga teman installerade från marknadsplatsen.',
                    
75        'recommended' => 'Rekommenderat',
                    
76        'remove_confirm' => 'Är du säker på att du vill radera det här temat?'
                    
94        'no_plugins' => 'Det finns inga tillägg installerade från marknadsplatsen.',
                    
95        'recommended' => 'Rekommenderat',
                    
96        'remove' => 'Ta bort',
                    
141        'sender_email' => 'Avsändarens e-postadress',
                    
142        'php_mail' => 'PHP mail',
                    
143        'smtp' => 'SMTP',
                    
154        'smtp_encryption_ssl' => 'SSL',
                    
155        'sendmail' => 'Sendmail',
                    
156        'sendmail_path' => 'Sendmail-sökväg',
                    
156        'sendmail_path' => 'Sendmail-sökväg',
                    
157        'sendmail_path_comment' => 'Vänligen ange sökvägen till sendmail',
                    
158        'mailgun' => 'Mailgun',
                    
                
Inflector.php https://github.com/grandison/budo16.git | PHP | 506 lines
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
25 */
                    
26// require_once 'Zend/Filter.php';
                    
27
                    
104        if (!$this->_pluginLoader instanceof Zend_Loader_PluginLoader_Interface) {
                    
105            $this->_pluginLoader = new Zend_Loader_PluginLoader(array('Zend_Filter_' => 'Zend/Filter/'), __CLASS__);
                    
106        }
                    
463        if ($this->_throwTargetExceptionsOn && (preg_match('#(?='.$pregQuotedTargetReplacementIdentifier.'[A-Za-z]{1})#', $inflectedTarget) == true)) {
                    
464            // require_once 'Zend/Filter/Exception.php';
                    
465            throw new Zend_Filter_Exception('A replacement identifier ' . $this->_targetReplacementIdentifier . ' was found inside the inflected target, perhaps a rule was not satisfied with a target source?  Unsatisfied inflected target: ' . $inflectedTarget);
                    
499            // require_once 'Zend/Filter/Exception.php';
                    
500            throw new Zend_Filter_Exception('No class named ' . $rule . ' implementing Zend_Filter_Interface could be found');
                    
501        }
                    
                
about.html https://gitlab.com/adrian.io/ide | HTML | 275 lines
                    
16		Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
                    
17		at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
                    
18		For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
                    
115      copyright notice that is included in or attached to the work
                    
116      (an example is provided in the Appendix below).
                    
117</p>
                    
207          notices within Derivative Works that You distribute, alongside
                    
208          or as an addendum to the NOTICE text from the Work, provided
                    
209          that such additional attribution notices cannot be construed
                    
266      of any other Contributor, and only if You agree to indemnify,
                    
267      defend, and hold each Contributor harmless for any liability
                    
268      incurred by, or claims asserted against, such Contributor by reason
                    
272<p>
                    
273END OF TERMS AND CONDITIONS
                    
274</p></body>
                    
                
Resource.php https://github.com/ianbogda/FileZ.git | PHP | 467 lines
                    
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');
                    
123            if (empty($args)) {
                    
124                require_once 'Zend/Loader/Exception.php';
                    
125                throw new Zend_Loader_Exception("Cannot load resources; no resource specified");
                    
130
                    
131        require_once 'Zend/Loader/Exception.php';
                    
132        throw new Zend_Loader_Exception("Method '$method' is not supported");
                    
451            if (empty($type)) {
                    
452                require_once 'Zend/Loader/Exception.php';
                    
453                throw new Zend_Loader_Exception('No resource type specified');
                    
456        if (!$this->hasResourceType($type)) {
                    
457            require_once 'Zend/Loader/Exception.php';
                    
458            throw new Zend_Loader_Exception('Invalid resource type specified');
                    
                
pearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
                    
48require_once 'PEAR.php';
                    
49require_once 'PEAR/Frontend.php';
                    
50require_once 'PEAR/Config.php';
                    
59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) {
                    
60    echo 'ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini';
                    
61    exit(1);
                    
132// this is used in the error handler to retrieve a relative path
                    
133$_PEAR_PHPDIR = $config->get('php_dir');
                    
134$ui->setConfig($config);
                    
166                );
                    
167                $config->set('php_dir', $pearbase . DIRECTORY_SEPARATOR . 'php');
                    
168                $config->set('data_dir', $pearbase . DIRECTORY_SEPARATOR . 'data');
                    
378               "\nPHP Version: ".phpversion().
                    
379               "\nZend Engine Version: ".zend_version().
                    
380               "\nRunning on: ".php_uname();
                    
                
MaildirFolderTest.php https://github.com/obias/zf2.git | PHP | 444 lines
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage UnitTests
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
32 * @subpackage UnitTests
                    
33 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
34 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
34 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
35 * @group      Zend_Mail
                    
36 */
                    
36 */
                    
37class MaildirFolderTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
                
ac28db01878361e31b02909532d9.php https://bitbucket.org/AdriVanHoudt/school.git | PHP | 230 lines
                    
1<?php
                    
2
                    
3/* SecurityBundle:Collector:security.html.twig */
                    
4class __TwigTemplate_68daac28db01878361e31b02909532d9 extends Twig_Template
                    
5{
                    
                
SqlBase.php https://gitlab.com/andecode/theme-spark | PHP | 415 lines
                    
1<?php
                    
2
                    
5use Drupal\Core\Cache\Cache;
                    
6use Drupal\Core\Cache\CacheableDependencyInterface;
                    
7use Drupal\Core\Form\FormStateInterface;
                    
10use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
                    
11use Symfony\Component\DependencyInjection\ContainerInterface;
                    
12
                    
15 */
                    
16abstract class SqlBase extends PagerPluginBase implements CacheableDependencyInterface, ContainerFactoryPluginInterface {
                    
17
                    
402  public function getCacheContexts() {
                    
403    // The rendered link needs to play well with any other query parameter used
                    
404    // on the page, like other pagers and exposed filter.
                    
                
class-wp-terms-list-table.php https://bitbucket.org/akeda/bmw-id-hris.git | PHP | 454 lines
                    
1<?php
                    
2/**
                    
9 */
                    
10class WP_Terms_List_Table extends WP_List_Table {
                    
11
                    
197
                    
198		$end = $start + $per_page;
                    
199
                    
201
                    
202			if ( $count >= $end )
                    
203				break;
                    
298		if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term )
                    
299			$actions['delete'] = "<a class='delete-tag' href='" . wp_nonce_url( "edit-tags.php?action=delete&amp;taxonomy=$taxonomy&amp;tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) . "'>" . __( 'Delete' ) . "</a>";
                    
300		if ( $tax->public )
                    
331
                    
332		/** This filter is documented in wp-admin/edit-tag-form.php */
                    
333		$out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>';
                    
                
CookieJar.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 441 lines
                    
18 * @version    $Id: CookieJar.php 24856 2012-06-01 01:10:47Z adamlundrigan $
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
25 */
                    
26require_once "Zend/Uri.php";
                    
27/**
                    
29 */
                    
30require_once "Zend/Http/Cookie.php";
                    
31/**
                    
33 */
                    
34require_once "Zend/Http/Response.php";
                    
35
                    
56 * @subpackage CookieJar
                    
57 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
58 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
StorageServiceSettings.php https://bitbucket.org/skudatech/azure-sdk-for-php.git | PHP | 485 lines
                    
35 * @package   WindowsAzure\Common\Internal
                    
36 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
37 * @copyright 2012 Microsoft Corporation
                    
221     * @param string $key              The storage service key.
                    
222     * @param string $blobEndpointUri  The sotrage service blob endpoint.
                    
223     * @param string $queueEndpointUri The sotrage service queue endpoint.
                    
223     * @param string $queueEndpointUri The sotrage service queue endpoint.
                    
224     * @param string $tableEndpointUri The sotrage service table endpoint.
                    
225     */
                    
234        $this->_key              = $key;
                    
235        $this->_blobEndpointUri  = $blobEndpointUri;
                    
236        $this->_queueEndpointUri = $queueEndpointUri;
                    
312     * @param string $queueEndpointUri The queue endpoint uri.
                    
313     * @param string $tableEndpointUri The table endpoint uri.
                    
314     * 
                    
                
VarCloner.php https://gitlab.com/riandy_db/self-monitoring | PHP | 324 lines
                    
1<?php
                    
2
                    
16 */
                    
17class VarCloner extends AbstractCloner
                    
18{
                    
85                    $vals[$k] = &$stub;         // Break hard references to make $queue completely
                    
86                    unset($stub);               // independent from the original structure
                    
87                    if (isset($hardRefs[$zval['zval_hash']])) {
                    
148                    case 'object':
                    
149                        if (empty($objRefs[$h = $zval['object_handle'] ?: ($hashMask ^ hexdec(substr(spl_object_hash($v), $hashOffset, PHP_INT_SIZE)))])) {
                    
150                            $stub = new Stub();
                    
164                                } else {
                    
165                                    $h = $hashMask ^ hexdec(substr(spl_object_hash($stub->value), $hashOffset, PHP_INT_SIZE));
                    
166                                }
                    
307            // check if we are nested in an output buffering handler to prevent a fatal error with ob_start() below
                    
308            $obFuncs = array('ob_clean', 'ob_end_clean', 'ob_flush', 'ob_end_flush', 'ob_get_contents', 'ob_get_flush');
                    
309            foreach (debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS) as $frame) {
                    
                
Command.php https://github.com/esimionato/mongodb-odm.git | PHP | 512 lines
                    
1<?php
                    
2
                    
108     *
                    
109     * This is mainly useful when a lot of commands extends one main command
                    
110     * where some things need to be initialized based on the input arguments and options.
                    
378            $name,
                    
379            $_SERVER['PHP_SELF'].' '.$name
                    
380        );
                    
484        $dom->formatOutput = true;
                    
485        $dom->appendChild($commandXML = $dom->createElement('command'));
                    
486        $commandXML->setAttribute('id', $this->getFullName());
                    
489
                    
490        $commandXML->appendChild($usageXML = $dom->createElement('usage'));
                    
491        $usageXML->appendChild($dom->createTextNode(sprintf($this->getSynopsis(), '')));
                    
492
                    
493        $commandXML->appendChild($descriptionXML = $dom->createElement('description'));
                    
494        $descriptionXML->appendChild($dom->createTextNode(implode("\n ", explode("\n", $this->getDescription()))));
                    
                
UpgradeComponentGroup.php https://github.com/orchestra-io/sample-openx.git | PHP | 320 lines
                    
1<?php
                    
2
                    
24+---------------------------------------------------------------------------+
                    
25$Id: UpgradeComponentGroup.php 30820 2009-01-13 19:02:17Z andrew.hill $
                    
26*/
                    
34
                    
35require_once MAX_PATH.'/lib/OA/Upgrade/Upgrade.php';
                    
36
                    
41 */
                    
42class OX_Plugin_UpgradeComponentGroup extends OA_Upgrade
                    
43{
                    
60        /*$this->nobackupsFile    = MAX_PATH.$pluginPath.'NOBACKUPS';
                    
61        $this->postTaskFile     = MAX_PATH.$pluginPath.'TASKS.php';*/
                    
62
                    
                
edit.php https://github.com/thisduck/wordpress.git | PHP | 294 lines
                    
55			}
                    
56			$sendback = add_query_arg( array('trashed' => $trashed, 'ids' => join(',', $post_ids)), $sendback );
                    
57			break;
                    
96				$done['locked'] = count( $done['locked'] );
                    
97				$sendback = add_query_arg( $done, $sendback );
                    
98			}
                    
102	if ( isset($_REQUEST['action']) )
                    
103		$sendback = remove_query_arg( array('action', 'action2', 'tags_input', 'post_author', 'comment_status', 'ping_status', '_status',  'post', 'bulk_edit', 'post_view'), $sendback );
                    
104
                    
163<?php screen_icon(); ?>
                    
164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php
                    
165if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
                    
170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?>
                    
171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div>
                    
172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
                    
                
view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
                    
1<?php
                    
2/**
                    
16 */
                    
17class ContactViewContact extends JViewLegacy
                    
18{
                    
                
Ntp.php https://github.com/Exercise/zf2.git | PHP | 434 lines
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
16 * @package   Zend_TimeSync
                    
17 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
18 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
31 * @uses      \Zend\TimeSync\Exception
                    
32 * @uses      \Zend\TimeSync\Protocol
                    
33 * @category  Zend
                    
34 * @package   Zend_TimeSync
                    
35 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
36 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
261         *
                    
262         * Code warning of impending leap-second to be inserted at the end of
                    
263         * the last day of the current month.
                    
                
lang.php https://gitlab.com/michield/dokuwiki | PHP | 188 lines
                    
56$lang['htmlok']                = 'Beágyazott HTML engedélyezése';
                    
57$lang['phpok']                 = 'Beágyazott PHP engedélyezése';
                    
58$lang['dformat']               = 'Dátum formázás (lásd a PHP <a href="http://www.php.net/strftime">strftime</a> függvényt)';
                    
80$lang['defaultgroup']          = 'Alapértelmezett csoport';
                    
81$lang['superuser']             = 'Szuper-felhasználó (Wiki-gazda) - csoport vagy felhasználó, aki teljes hozzáférési joggal rendelkezik az oldalakhoz és funkciókhoz, a hozzáférési jogosultságoktól függetlenül';
                    
82$lang['manager']               = 'Menedzser - csoport vagy felhasználó, aki bizonyos menedzsment funkciókhoz hozzáfér';
                    
115$lang['hidepages']             = 'Az itt megadott oldalak elrejtése (reguláris kifejezés)';
                    
116$lang['send404']               = '"HTTP 404/Page Not Found" küldése nemlétező oldalak esetén';
                    
117$lang['sitemap']               = 'Hány naponként generáljunk Google sitemap-ot?';
                    
117$lang['sitemap']               = 'Hány naponként generáljunk Google sitemap-ot?';
                    
118$lang['broken_iua']            = 'Az ignore_user_abort függvény hibát dob a rendszereden? Ez nem működő keresési indexet eredményezhet. Az IIS+PHP/CGI összeállításról tudjuk, hogy hibát dob. Lásd a <a href="http://bugs.splitbrain.org/?do=details&amp;task_id=852">Bug 852</a> oldalt a további infóért.';
                    
119$lang['xsendfile']             = 'Használjuk az X-Sendfile fejlécet, hogy a webszerver statikus állományokat tudjon küldeni? A webszervernek is támogatnia kell ezt a funkciót.';
                    
177$lang['xsendfile_o_1']         = 'lighttpd saját fejléc (1.5-ös verzió előtti)';
                    
178$lang['xsendfile_o_2']         = 'Standard X-Sendfile fejléc';
                    
179$lang['xsendfile_o_3']         = 'Nginx saját X-Accel-Redirect fejléce';
                    
                
tcp_cubic.c https://gitlab.com/karrei/imx6-kernel | C | 497 lines
                    
6 * Sangtae Ha, Injong Rhee and Lisong Xu,
                    
7 *  "CUBIC: A New TCP-Friendly High-Speed TCP Variant"
                    
8 *  in ACM SIGOPS Operating System Review, July 2008.
                    
19 * All testing results are available from:
                    
20 * http://netsrv.csc.ncsu.edu/wiki/index.php/TCP_Testing
                    
21 *
                    
49static int bic_scale __read_mostly = 41;
                    
50static int tcp_friendliness __read_mostly = 1;
                    
51
                    
70module_param(tcp_friendliness, int, 0644);
                    
71MODULE_PARM_DESC(tcp_friendliness, "turn on/off tcp friendliness");
                    
72module_param(hystart, int, 0644);
                    
100	u32	round_start;	/* beginning of each round */
                    
101	u32	end_seq;	/* end_seq of the round */
                    
102	u32	last_ack;	/* last time when the ACK spacing is close */
                    
                
acpiphp_ibm.c https://gitlab.com/karrei/imx6-kernel | C | 487 lines
                    
23 *
                    
24 * Send feedback to <vernux@us.ibm.com>
                    
25 *
                    
27
                    
28#define pr_fmt(fmt) "acpiphp_ibm: " fmt
                    
29
                    
39
                    
40#include "acpiphp.h"
                    
41#include "../pci.h"
                    
104		u32 lvl, void *context, void **rv);
                    
105static int __init ibm_acpiphp_init(void);
                    
106static void __exit ibm_acpiphp_exit(void);
                    
117};
                    
118static struct acpiphp_attention_info ibm_attention_info =
                    
119{
                    
                
File.php https://gitlab.com/devtoannh/cafe | PHP | 468 lines
                    
38 */
                    
39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
                    
40{
                    
113            if ( ($realpath = Zend_Reflection_file::findRealpathInIncludePath($filePath)) === false) {
                    
114                require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
115                throw new Zend_CodeGenerator_Php_Exception('No file for ' . $realpath . ' was found.');
                    
209            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
210            throw new Zend_CodeGenerator_Php_Exception('setDocblock() is expecting either a string, array or an instance of Zend_CodeGenerator_Php_Docblock');
                    
211        }
                    
293            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
294            throw new Zend_CodeGenerator_Php_Exception('Expecting either an array or an instance of Zend_CodeGenerator_Php_Class');
                    
295        }
                    
460        if ($this->_filename == '' || !is_writable(dirname($this->_filename))) {
                    
461            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
462            throw new Zend_CodeGenerator_Php_Exception('This code generator object is not writable.');
                    
                
WizardController.php https://bitbucket.org/chung/buyforher.git | PHP | 464 lines
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@magentocommerce.com so we can send you a copy immediately.
                    
14 *
                    
23 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
149        $this->_initLayoutMessages('install/session');
                    
150        $this->getLayout()->getBlock('content')->append(
                    
151            $this->getLayout()->createBlock('install/locale', 'install.locale')
                    
198        $this->_initLayoutMessages('install/session');
                    
199        $this->getLayout()->getBlock('content')->append(
                    
200            $this->getLayout()->createBlock('install/download', 'install.download')
                    
440        $this->getLayout()->getBlock('content')->append(
                    
441            $this->getLayout()->createBlock('install/end', 'install.end')
                    
442        );
                    
                
bltGrHairs.c https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git.git | C | 544 lines
                    
92	0, &bltPointOption},
                    
93    {TK_CONFIG_END, NULL, NULL, NULL, NULL, 0, 0}
                    
94};
                    
149	}
                    
150	XDrawSegments(graphPtr->display, Tk_WindowId(graphPtr->tkwin),
                    
151	    chPtr->gc, chPtr->segArr, 2);
                    
234    if (!graphPtr->crosshairs->hidden) {
                    
235	TurnOnHairs(graphPtr, graphPtr->crosshairs);
                    
236    }
                    
243    if (!graphPtr->crosshairs->hidden) {
                    
244	TurnOffHairs(graphPtr->tkwin, graphPtr->crosshairs);
                    
245    }
                    
325
                    
326    if (Blt_ConfigureWidgetComponent(graphPtr->interp, graphPtr->tkwin,
                    
327	    "crosshairs", "Crosshairs", configSpecs, 0, (char **)NULL,
                    
                
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 * }
                    
110        std::cerr << "  Failure of BICGSTAB solver with Jacobi preconditioner. "
                    
111                  << "Trying BICGSTAB." << std::endl;
                    
112#endif
                    
171        std::cerr << "  Failure of Conjugate Gradient solver with Jacobi preconditioner. "
                    
172                  << "Trying Conjugate Gradient." << std::endl;
                    
173#endif
                    
336
                    
337    void end_row() {
                    
338        if(least_squares_) {
                    
367
                    
368    void end_system() {
                    
369        transition(IN_SYSTEM, CONSTRUCTED) ;
                    
                
wpsc-swfupload-handlers.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 348 lines
                    
11	// Create a progress bar containing the filename
                    
12	jQuery('#media-items').append('<div id="media-item-' + fileObj.id + '" ><div class="progress"><div class="bar"></div></div></div>');
                    
13	// Display the progress div
                    
36	var f = ( typeof shortform == 'undefined' ) ? 1 : 2;
                    
37	// Old style: Append the HTML returned by the server -- thumbnail and form inputs
                    
38	if ( isNaN(serverData) || !serverData ) {
                    
38	if ( isNaN(serverData) || !serverData ) {
                    
39		jQuery('#media-item-' + fileObj.id).append(serverData);
                    
40		prepareMediaItemInit(fileObj);
                    
43	else {
                    
44		jQuery('#media-item-' + fileObj.id).load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()});
                    
45	}
                    
50	// Clone the thumbnail as a "pinkynail" -- a tiny image to the left of the filename
                    
51	jQuery('#media-item-' + fileObj.id + ' .thumbnail').clone().attr('className', 'pinkynail toggle').prependTo('#media-item-' + fileObj.id);
                    
52
                    
                
TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
                    
182        }
                    
183        return $this->renderTemplate('trackerinput/textarea.tpl', $context, $data) . $is_html;
                    
184    }
                    
300                ->addQuerySource('text', "{$baseKey}_raw")
                    
301                ->setRenderTransform($render(null))
                    
302                ;
                    
314                ->addQuerySource('text', "{$baseKey}_raw")
                    
315                ->setRenderTransform($render(null))
                    
316                ->setParseIntoTransform(function (&$info, $value) use ($permName) {
                    
325                ->addQuerySource('text', "{$baseKey}_{$lang}_raw")
                    
326                ->setRenderTransform($render($lang))
                    
327                ;
                    
342                    ->addIncompatibility($permName, 'current-raw')
                    
343                    ->setRenderTransform($render($lang))
                    
344                    ;
                    
                
RouteCollectionBuilderTest.php https://gitlab.com/ealexis.t/trends | PHP | 324 lines
                    
1<?php
                    
2
                    
18
                    
19class RouteCollectionBuilderTest extends \PHPUnit_Framework_TestCase
                    
20{
                    
246
                    
247        // spaces are ok, and double slahses at the end are cleaned
                    
248        $tests[] = array('/ /', '/foo', '/ /foo');
                    
                
Editor.php https://github.com/adaykin/zf2.git | PHP | 601 lines
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Form_Element
                    
18 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
26
                    
27use Zend\Form\ElementException;
                    
28
                    
36 * @subpackage Form_Element
                    
37 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
                    
38 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
138     *
                    
139     * @return \Zend\Dojo\Form\Element\Editor
                    
140     */
                    
                
Configuration.php https://github.com/sellingsource/symfony.git | PHP | 362 lines
                    
1<?php
                    
2
                    
11
                    
12namespace Symfony\Bundle\FrameworkBundle\DependencyInjection;
                    
13
                    
48            ->children()
                    
49                ->scalarNode('charset')->end()
                    
50                ->scalarNode('trust_proxy_headers')->defaultFalse()->end()
                    
50                ->scalarNode('trust_proxy_headers')->defaultFalse()->end()
                    
51                ->scalarNode('secret')->isRequired()->end()
                    
52                ->scalarNode('ide')->defaultNull()->end()
                    
52                ->scalarNode('ide')->defaultNull()->end()
                    
53                ->booleanNode('test')->end()
                    
54                ->scalarNode('default_locale')->defaultValue('en')->end()
                    
54                ->scalarNode('default_locale')->defaultValue('en')->end()
                    
55            ->end()
                    
56        ;
                    
                
permissions.inc.php https://github.com/martinf55/revolution.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
14$_lang['perm.about_desc'] = 'Die Seite "Über MODX" anzeigen.';
                    
15$_lang['perm.access_permissions_desc'] = 'Mit Zugriffsrechten zusammenhängende Seiten und Aktionen anzeigen und bearbeiten/benutzen.';
                    
16$_lang['perm.actions_desc'] = 'Die Aktionen-Seite anzeigen und benutzen.';
                    
31$_lang['perm.database_truncate_desc'] = 'Datenbank-Tabellen leeren.';
                    
32$_lang['perm.delete_desc'] = 'Elementarer "Löschen"-Zugriff auf Objekte.';  // basic = grundlegend? elementar? eingeschränkt???
                    
33$_lang['perm.delete_category_desc'] = 'Kategorien löschen oder entfernen.';  // any: beliebige? (auch bei den anderen so aufgebauten Begriffen)
                    
67$_lang['perm.file_create_desc'] = 'Dateien anlegen.';
                    
68$_lang['perm.file_list_desc'] = 'Liste der in einem angegebenen Verzeichnis liegenden Dateien anzeigen.';
                    
69$_lang['perm.file_manager_desc'] = 'Den Dateimanager benutzen.';
                    
74$_lang['perm.file_view_desc'] = 'Inhalte von Dateien anzeigen.';
                    
75$_lang['perm.flush_sessions_desc'] = 'Sessions Site-übergreifend zurücksetzen.';
                    
76$_lang['perm.frames_desc'] = 'Die MODX-Manager-Oberfläche benutzen.';
                    
93$_lang['perm.menus_desc'] = 'Menüpunkte des Hauptmenüs bearbeiten oder speichern.';
                    
94$_lang['perm.messages_desc'] = 'Persönliche Nachrichten senden oder anzeigen.';
                    
95$_lang['perm.move_desc'] = 'Elementarer "Verschieben"-Zugriff auf Objekte.';
                    
                
cpanel.php https://github.com/andrewgs/practice-book.ru.git | PHP | 320 lines
                    
118								</div>
                    
119							<?php endif; ?>
                    
120								<div class="clear"></div>
                    
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>
                    
198							<?=anchor('company/representatives/'.$userinfo['uconfirmation'],'Управление');?>
                    
199								<?php endif; ?>
                    
200								</div>
                    
254								</div> 
                    
255								<?php endfor; ?>
                    
256								<?php else: ?>
                    
283								</div> 
                    
284								<?php endfor; ?>	
                    
285								<?php else: ?>
                    
                
fckeditor.css https://gitlab.com/ptisky/API_prestashop | CSS | 536 lines
                    
25}

                    
26#leftCol legend {

                    
27	

                    
103}

                    
104.calendar_trigger{

                    
105	background:none;

                    
266span.fileFlash, span.fileVideo, span.filePicture,

                    
267span.filePPT, span.fileExcel, span.filePhp,

                    
268span.fileMusic, span.fileExe, span.fileAcrobat,

                    
289span.fileExcel{background-image:url(../images/small_icon/fileExcel.png);}

                    
290span.filePhp{background-image:url(../images/small_icon/filePhp.png);}

                    
291span.fileMusic{background-image:url(../images/small_icon/fileMusic.png);}

                    
328dt.fileExcel{background-image:url(../images/big_icon/fileExcel.png);}

                    
329dt.filePhp{background-image:url(../images/big_icon/filePhp.png);}

                    
330dt.fileMusic{background-image:url(../images/big_icon/fileMusic.png);}

                    
                
Pager.php https://bitbucket.org/areeves42/openfisma.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
                    
539     *                    If not defined, the params passed to execute method will be used.
                    
540     * @param boolean     Optional argument that append the query param instead of overriding the existent ones.
                    
541     * @return void
                    
542     */
                    
543    public function setCountQueryParams($params = array(), $append = false)
                    
544    {
                    
                
phpBB.php https://bitbucket.org/adatux_/uakami.git | PHP | 538 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * Implementation of phpBB converter.
                    
5 */
                    
5 */
                    
6class phpBB extends BBP_Converter_Base {
                    
7	function __construct() {
                    
357			'to_fieldname' => '_bbp_class',
                    
358			'default'      => 'phpBB'
                    
359		);
                    
472		 * We're kind of forced to use MD5 here since it's the only
                    
473		 * cryptographic primitive available in all versions of PHP
                    
474		 * currently in use.  To implement our own low-level crypto
                    
474		 * currently in use.  To implement our own low-level crypto
                    
475		 * in PHP would result in much worse performance and
                    
476		 * consequently in lower iteration counts and hashes that are
                    
                
user.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
                    
1<?php
                    
2/**
                    
16$_lang['city'] = 'City';
                    
17$_lang['extended_fields'] = 'Extended Fields';
                    
18$_lang['extended_fields_msg'] = 'Edit any extended fields that are implemented here.';
                    
26$_lang['password_method'] = 'Password notification method';
                    
27$_lang['password_method_email'] = 'Send the new password by email.';
                    
28$_lang['password_method_screen'] = 'Show the new password on screen.';
                    
160$_lang['user_groups'] = 'Brugergrupper';
                    
161$_lang['user_gender'] = 'Gender';
                    
162$_lang['user_grid_empty'] = 'No users to display';
                    
                
addons_modules.php https://bitbucket.org/mbaily/tremain.git | PHP | 468 lines
                    
185			// Check for updates to module
                    
186			// Send version to update class and let it do any required work
                    
187			if ($this->input->get('check_updates') && $status == 'installed' && file_exists($this->installed_modules[$module]['path'].'upd.'.$module.'.php'))
                    
188			{
                    
189				require $this->installed_modules[$module]['path'].'upd.'.$module.'.php';
                    
190
                    
241
                    
242		$this->cp->render('addons/modules', $vars);
                    
243	}
                    
323		// Update Module
                    
324		// Send version to update class and let it do any required work
                    
325		if (file_exists($installed[$module]['path'].'upd.'.$module.'.php'))
                    
466
                    
467/* End of file addons_modules.php */
                    
468/* Location: ./system/expressionengine/controllers/cp/addons_modules.php */
                    
                
PerformanceScenarioTest.cpp https://github.com/dumganhar/cocos2d-x.git | C++ | 438 lines
                    
77    listener->onTouchesMoved = CC_CALLBACK_2(ScenarioTest::onTouchesMoved, this);
                    
78    _eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this);
                    
79
                    
108    MenuItemFont::setFontSize(65);
                    
109    auto decrease = MenuItemFont::create(" - ", [&](Ref *sender) {
                    
110		int idx = _itemToggle->getSelectedIndex();
                    
126    decrease->setColor(Color3B(0,200,20));
                    
127    auto increase = MenuItemFont::create(" + ", [&](Ref *sender) {
                    
128		int idx = _itemToggle->getSelectedIndex();
                    
379
                    
380void ScenarioTest::endStat(float dt)
                    
381{
                    
381{
                    
382    unschedule(CC_SCHEDULE_SELECTOR(ScenarioTest::endStat));
                    
383    isStating = false;
                    
                
index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
                    
86          <td align="right" valign="top">
                    
87            <!-- InstanceBeginEditable name="topRightMenu" --><!-- #BeginLibraryItem "/Library/close.lbi" --><a href="javascript:window.close();" class="dark">[close]</a><!-- #EndLibraryItem --><!-- InstanceEndEditable -->          </td>
                    
88        </tr>
                    
145                            <tr>
                    
146                              <td nowrap><a href="../index.php" class="off">Home</a></td>
                    
147                              <td width="30" valign="middle" nowrap><div align="center"><img src="../../images/Dot.gif" width="10" height="10"></div></td>	
                    
161                    </table>
                    
162                  <!-- #EndLibraryItem --><!-- InstanceEndEditable --></td>
                    
163
                    
177				  ?>
                    
178				  <div align="right" class="FieldNumberDisabled"><strong><?= $language['label']['welcome']; ?> <a href="../../Administration/user_information.php" class="FieldNumberDisabled" <?php help('', 'Edit your user information', 'default'); ?>><?= ucwords(strtolower($_SESSION['fullname'])); ?></a></strong>&nbsp;&nbsp;<a href="../../logout.php" class="FieldNumberDisabled" <?php help('', 'Selecting [logout] will Log you out of the '.$default[title1].' and stop automatic cookie login', 'default'); ?>>[logout]</a>&nbsp;</div>
                    
179				  <?php
                    
310              <tr>
                    
311                <td width="50%" nowrap><!-- InstanceBeginEditable name="copyright" --><?php include('../include/copyright.php'); ?><!-- InstanceBeginEditable --></td>
                    
312                <td width="50%"><div id="noPrint" align="right"><!-- InstanceBeginEditable name="version" --><!-- InstanceEndEditable --></div></td>
                    
                
admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
                    
410			// Load WYSIWYG Editor
                    
411			->append_metadata( $this->load->view('fragments/wysiwyg', $this->data, TRUE) )
                    
412
                    
414			->append_metadata( js('codemirror/codemirror.js') )
                    
415			->append_metadata( js('form.js', 'pages') )
                    
416			->build('admin/form', $this->data);
                    
555					</li>
                    
556				<?php endif; ?>
                    
557				
                    
557				
                    
558			<?php endforeach; ?>
                    
559			
                    
559			
                    
560		<?php endif;
                    
561	}
                    
                
zone.php https://bitbucket.org/sandeepbhaskar/inspiredliving.git | PHP | 441 lines
                    
1<?php 
                    
2class ControllerLocalisationZone extends Controller {
                    
252
                    
253		$this->data['pagination'] = $pagination->render();
                    
254		
                    
263				
                    
264		$this->response->setOutput($this->render());
                    
265	}
                    
374				
                    
375		$this->response->setOutput($this->render());
                    
376	}
                    
                
File.php https://github.com/Enrise/Zend.git | PHP | 473 lines
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Storage
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
251            } else {
                    
252                // require_once 'Zend/Search/Lucene/Exception.php';
                    
253                throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
281        if ($value < (int)0x80000000) {
                    
282            // require_once 'Zend/Search/Lucene/Exception.php';
                    
283            throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
449        if ($chars < 0) {
                    
450            // require_once 'Zend/Search/Lucene/Exception.php';
                    
451            throw new Zend_Search_Lucene_Exception('Invalid UTF-8 string');
                    
                
CheckOut.php https://gitlab.com/vanthanhhoh/devlovebook | PHP | 319 lines
                    
68                    $User['birthday'] = Input::Post('birthday','');
                    
69                    $User['gender']   = Input::Post('gender','');
                    
70                    $User['birthday'] = Filter::DateToUnixTime($User['birthday'],0,0);
                    
86                Theme::jsPlugin('icheck');
                    
87                $this->Render($v->Output(),array('layout'=>'layout.checkout'));
                    
88            }
                    
180                $item['price_old'] = $p[$item['product_id']]['price'];
                    
181                $moneySend = $moneySend+$item['total'];
                    
182                $productID[]= $item['product_id'];
                    
202            }
                    
203            $moneySend = $moneySend-$discountCupon;                 // Trừ giảm giá cupon
                    
204            $shipFee = DB::Query('ship')->Where('ship_id','=',$invoice['ship'])->Get();
                    
205            if($shipFee->status && $shipFee->num_rows==1){
                    
206                $moneySend = $moneySend+$shipFee->Result[0]['fee']; // Cộng thêm phí ship
                    
207            }
                    
                
Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
                    
1<?php
                    
2
                    
35
                    
36require_once 'CRM/Contact/Page/View.php';
                    
37
                    
37
                    
38class CRM_Contribute_Page_Tab extends CRM_Contact_Page_View 
                    
39{
                    
84        return self::$_links;
                    
85    } //end of function
                    
86    
                    
94    {
                    
95        require_once 'CRM/Contribute/BAO/Contribution.php';
                    
96
                    
                
ThreeZero.php https://github.com/ksecor/civicrm.git | PHP | 271 lines
                    
1<?php
                    
2
                    
35
                    
36require_once 'CRM/Upgrade/Form.php';
                    
37require_once 'CRM/Core/OptionGroup.php';
                    
37require_once 'CRM/Core/OptionGroup.php';
                    
38require_once 'CRM/Core/OptionValue.php';
                    
39
                    
39
                    
40class CRM_Upgrade_ThreeZero_ThreeZero extends CRM_Upgrade_Form {
                    
41
                    
94        if (!CRM_Core_DAO::checkFieldExists('civicrm_report_instance', 'description')) {
                    
95            require_once 'CRM/Core/DAO/Domain.php';
                    
96            $domain = new CRM_Core_DAO_Domain;
                    
109
                    
110        //We execute some part of php after sql and then again sql
                    
111        //So using conditions for skipping some part of sql CRM-4575
                    
                
TransducerGraph.ObjectToSetNodeProcessor.html https://github.com/ryantanner/thesis.git | HTML | 259 lines
                    
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
57&nbsp;<A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NormalizingGraphProcessor.html" title="class in edu.stanford.nlp.fsm"><B>PREV CLASS</B></A>&nbsp;
                    
58&nbsp;<A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.OutputCombiningProcessor.html" title="class in edu.stanford.nlp.fsm"><B>NEXT CLASS</B></A></FONT></TD>
                    
83<A NAME="skip-navbar_top"></A>
                    
84<!-- ========= END OF TOP NAVBAR ========= -->
                    
85
                    
94<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
                    
95  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>edu.stanford.nlp.fsm.TransducerGraph.ObjectToSetNodeProcessor</B>
                    
96</PRE>
                    
104<DL>
                    
105<DT><PRE>public static class <B>TransducerGraph.ObjectToSetNodeProcessor</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NodeProcessor.html" title="interface in edu.stanford.nlp.fsm">TransducerGraph.NodeProcessor</A></DL>
                    
106</PRE>
                    
196</DL>
                    
197<!-- ========= END OF CLASS DATA ========= -->
                    
198<HR>
                    
                
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
                    
83	 * @param   integer  start value
                    
84	 * @param   integer  end value
                    
85	 * @return  array    A mirrored (foo => foo) array from 1-60.
                    
93
                    
94		for ($i = $start; $i < $end; $i += $step)
                    
95		{
                    
277		$start = ($start === FALSE) ? date('Y') - 5 : (int) $start;
                    
278		$end   = ($end   === FALSE) ? date('Y') + 5 : (int) $end;
                    
279
                    
548	 *
                    
549	 * @see     http://php.net/manual/en/datetime.construct.php
                    
550	 * @param   string  datetime_str     datetime string
                    
                
class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
                    
1<?php
                    
2/**
                    
12 * This class maps shortcodes settings to VC editors. You can manage add new shortcodes or manage default shortcodes
                    
13 * mapped in config/map.php. For developers it is possible to use API functions to add update settings attributes.
                    
14 *
                    
14 *
                    
15 * @see config/map.php
                    
16 * @see include/helpers/helpers_api.php
                    
126	 * You need to shortcode's tag and  settings to map correctly.
                    
127	 * Default shortcodes are mapped in config/map.php file.
                    
128	 * The best way is to call this method with "init" action callback function of WP.
                    
249	 *
                    
250	 * Sorting depends on the weight attribute and mapping order.
                    
251	 *
                    
541	/**
                    
542	 * Sorting method for WPBMap::generateUserData method. Called by usort php function.
                    
543	 * @deprecated - use Vc_Sort::sortByKey since 4.4
                    
                
sysvmsg.c https://gitlab.com/envieidoc/advancedtomato2 | C | 477 lines
                    
69	ZEND_ARG_INFO(0, queue)
                    
70ZEND_END_ARG_INFO()
                    
71
                    
78	ZEND_ARG_INFO(0, data)
                    
79ZEND_END_ARG_INFO()
                    
80
                    
91	PHP_FE(msg_get_queue,				arginfo_msg_get_queue)
                    
92	PHP_FE(msg_send,					arginfo_msg_send)
                    
93	PHP_FE(msg_receive,					arginfo_msg_receive)
                    
256
                    
257	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &key, &perms) == FAILURE)	{
                    
258		return;
                    
284
                    
285	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &queue) == FAILURE) {
                    
286		return;
                    
                
Ods.php https://gitlab.com/rsilveira1987/Expresso | PHP | 400 lines
                    
59        '<style:style style:name="ceAlternateCentered" style:family="table-cell"
                    
60                xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
                    
61                xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
                    
172                        
                    
173        $this->_openDocumentObject = new OpenDocument_Document(OpenDocument_Document::SPREADSHEET, $templateFile, Tinebase_Core::getTempDir(), $this->_userStyles);
                    
174    }
                    
255            $replacements = array(
                    
256                Zend_Date::now()->toString(Zend_Locale_Format::getDateFormat($this->_locale), $this->_locale),
                    
257                Tinebase_Core::getUser()->accountDisplayName,
                    
263                $value = preg_replace($patterns, $replacements, $headerCell);
                    
264                $cell = $row->appendCell($value, OpenDocument_SpreadSheet_Cell::TYPE_STRING);
                    
265
                    
275            $headerValue = ($field->header) ? $i18n->translate($field->header) : $field->identifier;
                    
276            $cell = $row->appendCell($headerValue, OpenDocument_SpreadSheet_Cell::TYPE_STRING);
                    
277
                    
                
Flat.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 362 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
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@magento.com so we can send you a copy immediately.
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
25 */
                    
26class Mage_Catalog_Model_Product_Indexer_Flat extends Mage_Index_Model_Indexer_Abstract
                    
27{
                    
130
                    
131            $enableBefore   = $attribute && (($attribute->getOrigData('backend_type') == 'static')
                    
132                || ($addFilterable && $attribute->getOrigData('is_filterable') > 0)
                    
                
OLE.php https://bitbucket.org/blackriver/openx.git | PHP | 410 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
3// +----------------------------------------------------------------------+
                    
4// | PHP Version 4                                                        |
                    
5// +----------------------------------------------------------------------+
                    
5// +----------------------------------------------------------------------+
                    
6// | Copyright (c) 1997-2002 The PHP Group                                |
                    
7// +----------------------------------------------------------------------+
                    
7// +----------------------------------------------------------------------+
                    
8// | This source file is subject to version 2.02 of the PHP license,      |
                    
9// | that is bundled with this package in the file LICENSE, and is        |
                    
10// | available at through the world-wide-web at                           |
                    
11// | http://www.php.net/license/2_02.txt.                                 |
                    
12// | If you did not receive a copy of the PHP license and are unable to   |
                    
12// | If you did not receive a copy of the PHP license and are unable to   |
                    
13// | obtain it through the world-wide-web, please send a note to          |
                    
14// | license@php.net so we can mail you a copy immediately.               |
                    
                
migration_tables_core_538.php https://bitbucket.org/blackriver/openx.git | PHP | 318 lines
                    
1<?php
                    
2
                    
24+---------------------------------------------------------------------------+
                    
25$Id: migration_tables_core_538.php 81772 2012-09-11 00:07:29Z chris.nutting $
                    
26*/
                    
27
                    
28require_once(MAX_PATH.'/lib/OA/Upgrade/Migration.php');
                    
29
                    
29
                    
30class Migration_538 extends Migration
                    
31{
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 524 lines
                    
1<?php
                    
2
                    
18 */
                    
19class SaleOrderPaymentChange extends \CBitrixComponent
                    
20{
                    
112	/**
                    
113	 * Prepare data to render in new version of component.
                    
114	 * @return void
                    
                
length_class.php https://bitbucket.org/allanxyh/uniquemall.git | PHP | 412 lines
                    
1<?php
                    
2class ControllerLocalisationLengthClass extends Controller {
                    
252
                    
253		$this->data['pagination'] = $pagination->render();
                    
254		
                    
263				
                    
264		$this->response->setOutput($this->render());
                    
265	}
                    
360				
                    
361		$this->response->setOutput($this->render());
                    
362	}
                    
                
rpcconsole.cpp https://gitlab.com/Quetzalcoatl/VekitaCoin | C++ | 433 lines
                    
2// Distributed under the MIT/X11 software license, see the accompanying
                    
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
                    
4
                    
16#include <QUrl>
                    
17#endif
                    
18#include <QScrollBar>
                    
55/**
                    
56 * Split shell command line into a list of arguments. Aims to emulate \c bash and friends.
                    
57 *
                    
58 * - Arguments are delimited with whitespace
                    
59 * - Extra whitespace at the beginning and end and between arguments will be ignored
                    
60 * - Text can be "double" or 'single' quoted
                    
65 *
                    
66 * @param[out]   args        Parsed arguments will be appended to this list
                    
67 * @param[in]    strCommand  Command line to split
                    
                
File.php https://github.com/mwturnage/frapi-1.git | PHP | 473 lines
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
17 * @subpackage Storage
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
251            } else {
                    
252                // require_once 'Zend/Search/Lucene/Exception.php';
                    
253                throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
281        if ($value < (int)0x80000000) {
                    
282            // require_once 'Zend/Search/Lucene/Exception.php';
                    
283            throw new Zend_Search_Lucene_Exception('Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.');
                    
449        if ($chars < 0) {
                    
450            // require_once 'Zend/Search/Lucene/Exception.php';
                    
451            throw new Zend_Search_Lucene_Exception('Invalid UTF-8 string');
                    
                
transformation.php https://github.com/xc/zetacomponents.git | PHP | 417 lines
                    
1<?php
                    
2/**
                    
149     * Adds a filter with the specific settings. Filters can be added either
                    
150     * before an existing filter or at the end (leave out $before parameter).
                    
151     *
                    
                
XmlFileLoader.php https://github.com/thewiredman/symfony.git | PHP | 402 lines
                    
1<?php
                    
2
                    
2
                    
3namespace Symfony\Component\DependencyInjection\Loader;
                    
4
                    
4
                    
5use Symfony\Component\DependencyInjection\Definition;
                    
6use Symfony\Component\DependencyInjection\Reference;
                    
6use Symfony\Component\DependencyInjection\Reference;
                    
7use Symfony\Component\DependencyInjection\ContainerBuilder;
                    
8use Symfony\Component\DependencyInjection\SimpleXMLElement;
                    
8use Symfony\Component\DependencyInjection\SimpleXMLElement;
                    
9use Symfony\Component\DependencyInjection\Resource\FileResource;
                    
10
                    
24 */
                    
25class XmlFileLoader extends FileLoader
                    
26{
                    
                
ExtensionServiceTest.php https://github.com/TYPO3/TYPO3.CMS.git | PHP | 367 lines
                    
1<?php
                    
2
                    
20use Prophecy\Argument;
                    
21use Prophecy\PhpUnit\ProphecyTrait;
                    
22use Prophecy\Prophecy\ObjectProphecy;
                    
37 */
                    
38class ExtensionServiceTest extends UnitTestCase
                    
39{
                    
49    /**
                    
50     * Due to nested PageRepository / FrontendRestriction Container issues, the Context object is set
                    
51     */
                    
                
install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
                    
1<?php
                    
2//error_reporting(E_ALL);
                    
10require_once LIB_PATH . 'osclass/db.php';
                    
11require_once LIB_PATH . 'osclass/classes/DAO.php';
                    
12require_once LIB_PATH . 'osclass/helpers/hDatabaseInfo.php';
                    
13require_once LIB_PATH . 'osclass/install-functions.php';
                    
14require_once LIB_PATH . 'osclass/formatting.php';
                    
15require_once LIB_PATH . 'osclass/compatibility.php';
                    
15require_once LIB_PATH . 'osclass/compatibility.php';
                    
16require_once LIB_PATH . 'osclass/utils.php';
                    
17require_once LIB_PATH . 'osclass/helpers/hPreference.php' ;
                    
96    try{
                    
97        require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ;
                    
98        $mail = new PHPMailer(true) ;
                    
106        $mail->AltBody = $body ;
                    
107        if (!$mail->Send()) {
                    
108            return array('email_status' => $_POST['email']."<br>".$mail->ErrorInfo,
                    
                
sbhnddma.h https://github.com/netarchy/android_kernel_samsung_dempsey.git | C Header | 343 lines
                    
16 * you also meet, for each linked independent module, the terms and conditions of
                    
17 * the license of that module.  An independent module is a module which is not
                    
18 * derived from this software.  The special exception does not apply to any
                    
79#define	XC_XE		((uint32)1 << 0)	/* transmit enable */
                    
80#define	XC_SE		((uint32)1 << 1)	/* transmit suspend request */
                    
81#define	XC_LE		((uint32)1 << 2)	/* loopback enable */
                    
99#define	XS_XS_STOPPED	0x3000			/* stopped */
                    
100#define	XS_XS_SUSP	0x4000			/* suspend pending */
                    
101#define	XS_XE_MASK	0xf0000			/* transmit errors */
                    
245#define	D64_XS0_XS_STOPPED	0x30000000	/* stopped */
                    
246#define	D64_XS0_XS_SUSP		0x40000000	/* suspend pending */
                    
247
                    
288#define	D64_RS0_RS_STOPPED	0x30000000	/* stopped */
                    
289#define	D64_RS0_RS_SUSP		0x40000000	/* suspend pending */
                    
290
                    
                
user.inc.php https://github.com/hansek/revolution.git | PHP | 202 lines
                    
1<?php
                    
2/**
                    
16$_lang['city'] = 'City';
                    
17$_lang['extended_fields'] = 'Extended Fields';
                    
18$_lang['extended_fields_msg'] = 'Edit any extended fields that are implemented here.';
                    
26$_lang['password_method'] = 'Password notification method';
                    
27$_lang['password_method_email'] = 'Send the new password by email.';
                    
28$_lang['password_method_screen'] = 'Show the new password on screen.';
                    
160$_lang['user_groups'] = 'User Groups';
                    
161$_lang['user_gender'] = 'Gender';
                    
162$_lang['user_grid_empty'] = 'No users to display';
                    
                
class.evstat.html https://bitbucket.org/thncr/manuals.git | HTML | 359 lines
                    
11 <div class="up"><a href="book.ev.html">Ev</a></div>
                    
12 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
13</div><hr /><div id="class.evstat" class="reference">
                    
37   <p class="para">
                    
38    The path must not end in a slash or contain special components such as
                    
39    <strong><code>&#039;.&#039;</code></strong>
                    
49    regularly on the path to see if it changed somehow. For this case a
                    
50    recommended polling interval can be specified. If one specifies a polling
                    
51    interval of
                    
52    <strong><code>0.0 </code></strong>
                    
53    (highly recommended) then a suitable, unspecified default value will be
                    
54    used(which could be expected to be around 5 seconds, although this might
                    
109     <span class="modifier">public</span>
                    
110      <var class="varname"><a href="class.evwatcher.html#evwatcher.props.is-pending">$<var class="varname">is_pending</var></a></var>
                    
111    ;</div>
                    
                
resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
                    
1<?php
                    
2/**
                    
28$_lang['resource_alias'] = 'Pseudonim';
                    
29$_lang['resource_alias_help'] = 'An alias for this resource. This will make the resource accessible using:<br /><br />http://yourserver/alias<br /><br /><strong>Note</strong>This only works if you\'re using friendly URLs.';
                    
30$_lang['resource_change_template_confirm'] = 'Are you sure you want to change the Template? <br /><br />WARNING: This will <b>only temporarily store</b> your prior changes and reload the page; ensure you are ready to do so before proceeding. After the page has reloaded, you will need to save when you are ready to save the Template change.';
                    
32$_lang['resource_cacheable_help'] = 'When enabled, the resource will be saved to the cache.';
                    
33$_lang['resource_cancel_dirty_confirm'] = 'You have changes pending; are you sure you want to cancel?';
                    
34$_lang['resource_class_key_help'] = 'This is the class key of the resource, showing its MODX type.';
                    
103$_lang['resource_publishdate'] = 'Publish Date';
                    
104$_lang['resource_publishdate_help'] = 'If you set a publish date, the resource will be published as soon as the publish date is reached. Click on the calendar icon to select a date, or leave it blank to set it so the resource is never automatically published.';
                    
105$_lang['resource_published'] = 'Publicat';
                    
127$_lang['resource_unpublishdate'] = 'Ascunde automat începând cu data';
                    
128$_lang['resource_unpublishdate_help'] = 'If you set an unpublish date, the resource will be unpublished as soon as the unpublish date is reached. Click on the calendar icon to select a date, or leave it blank to set it so the resource is never automatically unpublished.';
                    
129$_lang['resource_unpublished'] = 'Unpublished';
                    
                
Value.php https://github.com/doctoralex/ch3-dev-preview.git | PHP | 401 lines
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
33/** Zend_XmlRpc_Value_Boolean */
                    
34require_once 'Zend/XmlRpc/Value/Boolean.php';
                    
35
                    
57/** Zend_XmlRpc_Value_Struct */
                    
58require_once 'Zend/XmlRpc/Value/Struct.php';
                    
59
                    
67 *
                    
68 * Using this function, users/Zend_XmlRpc_Client object can create the Zend_XmlRpc_Value objects
                    
69 * from PHP variables, XML string or by specifing the exact XML-RPC natvie type
                    
71 * @package    Zend_XmlRpc
                    
72 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
73 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
                
ClassLoader.php https://gitlab.com/remyvianne/krowkaramel | PHP | 481 lines
                    
111     * Registers a set of PSR-0 directories for a given prefix, either
                    
112     * appending or prepending to the ones previously set for this prefix.
                    
113     *
                    
115     * @param array|string $paths   The PSR-0 root directories
                    
116     * @param bool         $prepend Whether to prepend the directories
                    
117     */
                    
156     * Registers a set of PSR-4 directories for a given namespace, either
                    
157     * appending or prepending to the ones previously set for this namespace.
                    
158     *
                    
160     * @param array|string $paths   The PSR-4 base directories
                    
161     * @param bool         $prepend Whether to prepend the directories
                    
162     *
                    
306     *
                    
307     * @param bool $prepend Whether to prepend the autoloader or not
                    
308     */
                    
                
AlbumController.php https://github.com/grandison/budo16.git | PHP | 454 lines
                    
78      $this->view->status = false;
                    
79      $this->view->error = Zend_Registry::get('Zend_Translate')->_('Invalid request method');
                    
80      return;
                    
85      $this->view->status = false;
                    
86      $this->view->error = Zend_Registry::get('Zend_Translate')->_('Invalid data');
                    
87      return;
                    
384      $this->view->status = false;
                    
385      $this->view->error = Zend_Registry::get('Zend_Translate')->_('Invalid method');
                    
386      return;
                    
419      if( $type == 'message' ) {
                    
420        $photo->title = Zend_Registry::get('Zend_Translate')->_('Attached Image');
                    
421      }
                    
443      $this->view->src = $photo->getPhotoUrl();
                    
444      $this->view->message = Zend_Registry::get('Zend_Translate')->_('Photo saved successfully');
                    
445    }
                    
                
Account.php https://github.com/grandison/budo16.git | PHP | 317 lines
                    
106    if( $settings->getSetting('user.signup.username', 1) > 0 ) {
                    
107      $description = Zend_Registry::get('Zend_Translate')
                    
108          ->_('This will be the end of your profile link, for example: <br /> ' .
                    
127      ));
                    
128      $this->username->getDecorator('Description')->setOptions(array('placement' => 'APPEND', 'escape' => false));
                    
129      $this->username->getValidator('NotEmpty')->setMessage('Please enter a valid profile address.', 'isEmpty');
                    
198    // Languages
                    
199    $translate = Zend_Registry::get('Zend_Translate');
                    
200    $languageList = $translate->getList();
                    
263      // Element: terms
                    
264      $description = Zend_Registry::get('Zend_Translate')->_('I have read and agree to the <a target="_blank" href="%s/help/terms">terms of service</a>.');
                    
265      $description = sprintf($description, Zend_Controller_Front::getInstance()->getBaseUrl());
                    
280          ->addDecorator('ViewHelper')
                    
281          ->addDecorator('Description', array('placement' => Zend_Form_Decorator_Abstract::APPEND, 'tag' => 'label', 'class' => 'null', 'escape' => false, 'for' => 'terms'))
                    
282          ->addDecorator('DivDivDivWrapper');
                    
                
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   |
                    
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.               |
                    
16
                    
17#ifndef incl_HPHP_VM_CLASS_INL_H_
                    
18#error "class-inl.h should only be included by class.h"
                    
                
Part.php https://bitbucket.org/baruffaldi/cms-php-bfcms.git | PHP | 486 lines
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
36 * @package    Zend_Mail
                    
37 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
                    
38 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
342                 */
                    
343                require_once 'Zend/Mail/Exception.php';
                    
344                throw new Zend_Mail_Exception("no Header with Name $name found");
                    
353                if (is_array($header)) {
                    
354                    $header = implode(Zend_Mime::LINEEND, $header);
                    
355                }
                    
378     * @return string|array wanted part or all parts as array($firstName => firstPart, partname => value)
                    
379     * @throws Zend_Exception, Zend_Mail_Exception
                    
380     */
                    
                
BaseFcvalinmold.php https://github.com/cidesa/siga-universitario.git | PHP | 714 lines
                    
1<?php
                    
2
                    
3
                    
4abstract class BaseFcvalinmold extends BaseObject  implements Persistent {
                    
5
                    
469	
                    
470	public function getByName($name, $type = BasePeer::TYPE_PHPNAME)
                    
471	{
                    
524	
                    
525	public function toArray($keyType = BasePeer::TYPE_PHPNAME)
                    
526	{
                    
546	
                    
547	public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME)
                    
548	{
                    
598	
                    
599	public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME)
                    
600	{
                    
                
simulator.js https://github.com/ielshareef/MyNewUsedCar.git | JavaScript | 362 lines
                    
21//                Ext.Ajax.request({
                    
22//                    url: '../../dump.php',
                    
23//                    method: 'POST',
                    
104        text: 'Enable Simulator',
                    
105        recorderEvents: ['touchstart', 'touchmove', 'touchend', 'mousedown', 'mousemove', 'mouseup', 'click'],
                    
106        handler: function() {
                    
148                    replaystart: this.onReplayStart,
                    
149                    replayend: this.onReplayEnd,
                    
150                    beforecalculatetarget: this.onBeforeCalculateTarget,
                    
298        },
                    
299        onReplayEnd: function(name, isInterrupted) {
                    
300            var me = this;
                    
319                if (name == 'demo') {
                    
320                    Ext.Msg.alert("End of Demo", "For full description / instructions, tap on the \"What's This?\" button");
                    
321                }
                    
                
PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
                    
66    #       -normalen slash "/" verwenden!
                    
67    #       -ganze Laufwerke mit abschließendem slash!
                    
68    "base_path": "/tmp",
                    
78
                    
79    # Debugausgaben einblenden?
                    
80    "debug": False,
                    
102    "upload_email_notify"   : False,
                    
103    # Die Absender-Adresse
                    
104    "email_from"           : "pydown@localhost",
                    
360        self.request.jinja = self.jinja
                    
361        self.request.render = self.render
                    
362
                    
410        """
                    
411        Template mit jinja rendern, dabei wird self.request.context verwendet
                    
412        """
                    
                
TbInput.php https://bitbucket.org/haichau59/manga.git | PHP | 588 lines
                    
134		{
                    
135			$this->appendText = $this->htmlOptions['append'];
                    
136			unset($this->htmlOptions['append']);
                    
152		{
                    
153			$this->prependOptions = $this->htmlOptions['prependOptions'];
                    
154			unset($this->htmlOptions['prependOptions']);
                    
158		{
                    
159			$this->appendOptions = $this->htmlOptions['appendOptions'];
                    
160			unset($this->htmlOptions['appendOptions']);
                    
419	/**
                    
420	 * Returns whether the input has an add-on (prepend and/or append).
                    
421	 * @return boolean the result
                    
424	{
                    
425		return isset($this->prependText) || isset($this->appendText);
                    
426	}
                    
                
MysqlPlatform.php https://github.com/kelios/imshop.git | PHP | 547 lines
                    
123
                    
124	public function getEndDDL()
                    
125	{
                    
157
                    
158		$vendorSpecific = $table->getVendorInfoForType('mysql');
                    
159		if ($vendorSpecific->hasParameter('Type')) {
                    
161		} elseif ($vendorSpecific->hasParameter('Engine')) {
                    
162			$mysqlTableType = $vendorSpecific->getParameter('Engine');
                    
163		} else {
                    
194		$dbVI = $table->getDatabase()->getVendorInfoForType('mysql');
                    
195		$tableVI = $table->getVendorInfoForType('mysql');
                    
196		$vi = $dbVI->getMergedVendorInfo($tableVI);
                    
378		$vendorInfo = $index->getVendorInfoForType($this->getDatabaseType());
                    
379		if ($vendorInfo && $vendorInfo->getParameter('Index_type')) {
                    
380			$type = $vendorInfo->getParameter('Index_type') . ' ';
                    
                
Entry.php https://bitbucket.org/skudatech/azure-sdk-for-php.git | PHP | 630 lines
                    
1<?php
                    
2
                    
14 * 
                    
15 * PHP version 5
                    
16 *
                    
18 * @package   WindowsAzure\Common\Internal\Atom
                    
19 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
20 * @copyright 2012 Microsoft Corporation
                    
21 * @license   http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
                    
22 * @link      https://github.com/WindowsAzure/azure-sdk-for-php
                    
23 */
                    
34 * @package   WindowsAzure\Common\Internal\Atom
                    
35 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
36 * @copyright 2012 Microsoft Corporation
                    
38 * @version   Release: @package_version@
                    
39 * @link      https://github.com/WindowsAzure/azure-sdk-for-php
                    
40 */
                    
                
lang.php https://github.com/brianshaler/PHXdata.git | PHP | 186 lines
                    
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>)';
                    
113$lang['hidepages']             = 'Esconder páginas correspondentes (expressões regulares)';
                    
114$lang['send404']               = 'Enviar "HTTP 404/Página não encontrada" para páginas não existentes';
                    
115$lang['sitemap']               = 'Gerar Sitemap Google (dias)';
                    
116$lang['broken_iua']            = 'A função "ignore_user_abort" não está a funcionar no seu sistema? Isso pode causar um índice de busca defeituoso. Sistemas com IIS+PHP/CGI são conhecidos por possuírem este problema. Veja o <a href="http://bugs.splitbrain.org/?do=details&amp;task_id=852">bug 852</a> para mais informações.';
                    
117$lang['xsendfile']             = 'Usar o cabeçalho "X-Sendfile" para permitir o servidor de internet encaminhar ficheiros estáticos? O seu servidor de internet precisa ter suporte a isso.';
                    
118$lang['renderer_xhtml']        = 'Renderizador a ser utilizado para a saída principal do wiki (xhtml)';
                    
118$lang['renderer_xhtml']        = 'Renderizador a ser utilizado para a saída principal do wiki (xhtml)';
                    
119$lang['renderer__core']        = '%s (núcleo dokuwiki)';
                    
120$lang['renderer__plugin']      = '%s (plugin)';
                    
175$lang['xsendfile_o_1']         = 'Cabeçalho proprietário lighttpd (anterior à versão 1.5)';
                    
176$lang['xsendfile_o_2']         = 'Cabeçalho "X-Sendfile" padrão';
                    
177$lang['xsendfile_o_3']         = 'Cabeçalho proprietário "Nginx X-Accel-Redirect"';
                    
                
CloneCommand.java https://bitbucket.org/cofarrell/jgit.git | Java | 431 lines
                    
7 * accompanies this distribution, is reproduced below, and is
                    
8 * available at http://www.eclipse.org/org/documents/edl-v10.php
                    
9 *
                    
24 * - Neither the name of the Eclipse Foundation, Inc. nor the
                    
25 *   names of its contributors may be used to endorse or promote
                    
26 *   products derived from this software without specific prior
                    
82 */
                    
83public class CloneCommand extends TransportCommand<CloneCommand, Git> {
                    
84
                    
                
Location.js https://github.com/fastner/qooxdoo.git | JavaScript | 406 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
21{
                    
22  extend : qx.dev.unit.TestCase,
                    
23
                    
                
Curl.php https://gitlab.com/vincent.perdereau/picandparts | PHP | 576 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
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@magento.com so we can send you a copy immediately.
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
252     *
                    
253     * @param string $uri uri relative to host, ex. "/index.php"
                    
254     */
                    
                
simpletest.php https://github.com/orchestra-io/sample-openx.git | PHP | 433 lines
                    
1<?php
                    
2    /**
                    
5     *	@subpackage	UnitTester
                    
6     *	@version	$Id: simpletest.php 7321 2007-06-05 09:08:01Z andrew.hill@openads.org $
                    
7     */
                    
12    if (version_compare(phpversion(), '5') >= 0) {
                    
13        require_once(dirname(__FILE__) . '/reflection_php5.php');
                    
14    } else {
                    
14    } else {
                    
15        require_once(dirname(__FILE__) . '/reflection_php4.php');
                    
16    }
                    
39         *    because the class is an abstract case that should
                    
40         *    not be run. Once PHP4 is dropped this will disappear
                    
41         *    as a public method and "abstract" will rule.
                    
205     *    test run. Makes things like error queues
                    
206     *    available to PHP event handlers, and also
                    
207     *    gets around some nasty reference issues in
                    
                
Resource.php https://github.com/orchestra-io/sample-openx.git | PHP | 436 lines
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@zend.com so we can send you a copy immediately.
                    
14 *
                    
34 */
                    
35class Zend_Loader_Autoloader_Resource implements Zend_Loader_Autoloader_Interface
                    
36{
                    
304            if (!isset($spec['path'])) {
                    
305                require_once 'Zend/Loader/Exception.php';
                    
306                throw new Zend_Loader_Exception('addResourceTypes() expects each array to include a paths element');
                    
420            if (empty($type)) {
                    
421                require_once 'Zend/Loader/Exception.php';
                    
422                throw new Zend_Loader_Exception('No resource type specified');
                    
425        if (!$this->hasResourceType($type)) {
                    
426            require_once 'Zend/Loader/Exception.php';
                    
427            throw new Zend_Loader_Exception('Invalid resource type specified');
                    
                
FixtureTask.php https://bitbucket.org/invokelabs/cakephp2-core.git | PHP | 445 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
12 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @link          http://cakephp.org CakePHP(tm) Project
                    
14 * @since         CakePHP(tm) v 1.3
                    
14 * @since         CakePHP(tm) v 1.3
                    
15 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
16 */
                    
26 */
                    
27class FixtureTask extends BakeTask {
                    
28
                    
273		$path = $this->getPath();
                    
274		$filename = Inflector::camelize($model) . 'Fixture.php';
                    
275
                    
                
Banners.php https://github.com/orchestra-io/sample-openx.git | PHP | 322 lines
                    
1<?php
                    
2
                    
24+---------------------------------------------------------------------------+
                    
25$Id: Banners.php 44998 2009-10-20 16:15:30Z matthieu.aubry $
                    
26*/
                    
30 */
                    
31require_once 'DB_DataObjectCommon.php';
                    
32include_once MAX_PATH . '/www/admin/lib-banner.inc.php';
                    
32include_once MAX_PATH . '/www/admin/lib-banner.inc.php';
                    
33include_once MAX_PATH . '/www/admin/lib-storage.inc.php';
                    
34
                    
34
                    
35class DataObjects_Banners extends DB_DataObjectCommon
                    
36{
                    
74    public $acl_plugins;                     // TEXT() => openads_text => 34
                    
75    public $append;                          // TEXT() => openads_text => 162
                    
76    public $bannertype;                      // TINYINT(4) => openads_tinyint => 129
                    
                
walkthrough_test.php https://github.com/raymanuk/moodle.git | PHP | 309 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
30global $CFG;
                    
31require_once(dirname(__FILE__) . '/../../../engine/lib.php');
                    
32require_once(dirname(__FILE__) . '/../../../engine/tests/helpers.php');
                    
40 */
                    
41class qbehaviour_deferredfeedback_walkthrough_test extends qbehaviour_walkthrough_test_base {
                    
42    public function test_deferredfeedback_feedback_truefalse() {
                    
                
contact.php https://gitlab.com/h94373035/web | PHP | 301 lines
                    
80           		{
                    
81           			 echo "<li><a href=\"register.php\">志工報名</a></li>";
                    
82           		}
                    
107        	?>
                    
108        <li><a href="location.php">交通位置</a></li>
                    
109        <li><a href="add.php">留言板</a></li>
                    
157        <div id="login">
                    
158          	 <?php
                    
159			if($_SESSION["login_status"]=="login_ok"){
                    
273              <h2>長榮大學</h2>
                    
274			  <!fb><iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fcjcu.tw&tabs=timeline&width=185&height=420&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="185" height="420" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe><!fb end>
                    
275		        <!-- <a href="#">Read more</a> -->
                    
294	  <div id="footer_content">
                    
295      <fb案讚><center><iframe src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fcjcu.tw&width=450&layout=standard&action=like&show_faces=true&share=true&height=80&appId" width="450" height="80" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe></center><fb案讚 end>
                    
296        <a href="http://validator.w3.org/check?uri=referer">Valid XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS</a> | <a href="http://fotogrph.com/">Images</a> | website template by <a href="http://www.araynordesign.co.uk">ARaynorDesign</a>
                    
                
migration_tables_core_327.php https://bitbucket.org/valmy/openx.git | PHP | 396 lines
                    
1<?php
                    
2
                    
27
                    
28require_once(MAX_PATH.'/lib/OA/Upgrade/Migration.php');
                    
29
                    
29
                    
30class Migration_327 extends Migration
                    
31{
                    
357
                    
358class ZoneBannerHandler extends ZoneAdObjectHandler
                    
359{
                    
376
                    
377class ZoneCampaignHandler extends ZoneAdObjectHandler
                    
378{
                    
                
plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
33 */
                    
34class media_videojs_plugin extends core_media_player_native {
                    
35    /** @var array caches last moodle_page used to include AMD modules */
                    
55        global $CFG;
                    
56        require_once($CFG->libdir . '/filelib.php');
                    
57
                    
167            // We don't want fallback to another player because list_supported_urls() is already smart.
                    
168            // Otherwise we could end up with nested <audio> or <video> tags. Fallback to link only.
                    
169            $attributes += ['preload' => 'auto', 'controls' => 'true', 'title' => $title];
                    
201        global $CFG;
                    
202        require_once($CFG->libdir . '/filelib.php');
                    
203        if ($this->extensions === null) {
                    
314     * Returns regular expression used to match URLs for single youtube video
                    
315     * @return string PHP regular expression e.g. '~^https?://example.org/~'
                    
316     */
                    
                
admin.php https://bitbucket.org/viktorfabry/banditos.git | PHP | 503 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
7 */
                    
8class Admin extends Admin_Controller {
                    
9
                    
45
                    
46			->append_js('jquery/jquery.ui.nestedSortable.js')
                    
47			->append_js('jquery/jquery.cooki.js')
                    
47			->append_js('jquery/jquery.cooki.js')
                    
48			->append_js('jquery/jquery.stickyscroll.js')
                    
49			->append_js('module::index.js')
                    
50
                    
51			->append_css('module::index.css')
                    
52
                    
274			->title($this->module_details['name'], lang('pages:create_title'))
                    
275			->append_metadata($this->load->view('fragments/wysiwyg', array(), true))
                    
276			->set('page', $page)
                    
                
AclVoterTest.php https://gitlab.com/TouirMohamedMarwen/Symfony2 | PHP | 432 lines
                    
1<?php
                    
2
                    
22
                    
23class AclVoterTest extends \PHPUnit_Framework_TestCase
                    
24{
                    
                
behat_config_manager.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 279 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
27
                    
28require_once(__DIR__ . '/../lib.php');
                    
29require_once(__DIR__ . '/behat_command.php');
                    
29require_once(__DIR__ . '/behat_command.php');
                    
30require_once(__DIR__ . '/../../testing/classes/tests_finder.php');
                    
31
                    
76
                    
77                    // Standarizes separator (some dirs. comes with OS-dependant separator).
                    
78                    $uniquekey = str_replace('\\', '/', $path);
                    
131            $diriterator = new DirectoryIterator($componentpath . self::get_behat_tests_path());
                    
132            $regite = new RegexIterator($diriterator, '|behat_.*\.php$|');
                    
133
                    
173        // We require here when we are sure behat dependencies are available.
                    
174        require_once($CFG->dirroot . '/vendor/autoload.php');
                    
175
                    
                
shortcodes.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 334 lines
                    
1<?php
                    
2/**
                    
49 * plugin has a similar shortcode, it will override yours or yours will override
                    
50 * theirs depending on which order the plugins are included and/or ran.
                    
51 *
                    
                
WebhookTesting.php https://gitlab.com/cividesk-civicrm/com.cividesk.payment.braintree | PHP | 391 lines
                    
1<?php
                    
2namespace Braintree;
                    
114                    <id>{$id}</id>
                    
115                    <status>suspended</status>
                    
116                    <master-merchant-account>
                    
117                        <id>master_ma_for_{$id}</id>
                    
118                        <status>suspended</status>
                    
119                    </master-merchant-account>
                    
317            <billing-period-start-date type=\"date\">2016-03-21</billing-period-start-date>
                    
318            <billing-period-end-date type=\"date\">2017-03-31</billing-period-end-date>
                    
319            <transactions type=\"array\">
                    
                
class-wp-media-list-table.php https://bitbucket.org/brucevanhorn2/delphinusg.git | PHP | 396 lines
                    
202?>
                    
203		<td <?php echo $attributes ?>><?php
                    
204			if ( $thumb = wp_get_attachment_image( $post->ID, array( 80, 60 ), true ) ) {
                    
291?>
                    
292		<td <?php echo $attributes ?>><?php echo $h_time ?></td>
                    
293<?php
                    
313?>
                    
314			<td <?php echo $attributes ?>><?php _e( '(Unattached)' ); ?><br />
                    
315			<?php if( $user_can_edit ) {?>
                    
330<?php
                    
331		$pending_comments = get_pending_comments_num( $post->ID );
                    
332
                    
350	</tr>
                    
351<?php endwhile;
                    
352	}
                    
                
general.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 225 lines
                    
89            <div class="clearfix">
                    
90                <input class="left" type="text" value="<?php echo get_option('kopa_theme_options_apple_ipad_retina_icon_url'); ?>" id="kopa_theme_options_apple_ipad_retina_icon_url" name="kopa_theme_options_apple_ipad_retina_icon_url">
                    
91                <button class="btn btn-success upload_image_button" alt="kopa_theme_options_apple_ipad_retina_icon_url"><i class="icon-circle-arrow-up"></i><?php _e('Upload', kopa_get_domain()); ?></button>
                    
139                ?>
                    
140                <label  for="<?php echo $kopa_header_headline_status_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_header_headline_status_id; ?>" name="<?php echo $kopa_header_headline_name; ?>" <?php echo ($value == get_option($kopa_header_headline_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
141                <?php
                    
158                foreach ( $kopa_headline_categories as $kopa_headline_category ) { ?>
                    
159                    <option value="<?php echo $kopa_headline_category->term_id; ?>" <?php selected( $kopa_headline_category->term_id, $kopa_current_headline_category_id ); ?>><?php echo $kopa_headline_category->name; ?></option>
                    
160                <?php } // endforeach ?>
                    
190                ?>
                    
191                <label  for="<?php echo $kopa_breadcrumb_id; ?>" class="kopa-label-for-radio-button"><input type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $kopa_breadcrumb_id; ?>" name="<?php echo $kopa_breadcrumb_status_name; ?>" <?php echo ($value == get_option($kopa_breadcrumb_status_name, 'show')) ? 'checked="checked"' : ''; ?>><?php echo $label; ?></label>
                    
192                <?php
                    
212            <p class="kopa-desc"><?php _e('Enter the content you want to display in your left footer (e.g. copyright text).', kopa_get_domain()); ?></p>    
                    
213            <textarea class="" rows="6" id="kopa_setting_copyrights" name="kopa_theme_options_copyright"><?php echo htmlspecialchars_decode(stripslashes(get_option('kopa_theme_options_copyright', __( 'Copyright &copy; 2013 . All Rights Reserved. Designed by kopatheme.com.', kopa_get_domain() )))); ?></textarea>
                    
214        </div><!--kopa-element-box-->
                    
                
SqliteMetadata.php https://gitlab.com/jalon/doadoronline | PHP | 392 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Zend Framework (http://framework.zend.com/)
                    
4 *
                    
5 * @link      http://github.com/zendframework/zf2 for the canonical source repository
                    
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
                    
7 * @license   http://framework.zend.com/license/new-bsd New BSD License
                    
9
                    
10namespace Zend\Db\Metadata\Source;
                    
11
                    
11
                    
12use Zend\Db\Adapter\Adapter;
                    
13use Zend\Db\ResultSet\ResultSetInterface;
                    
14
                    
15class SqliteMetadata extends AbstractSource
                    
16{
                    
                
theme-install.php https://gitlab.com/mostafame/team_website | PHP | 329 lines
                    
1<?php
                    
2/**
                    
9/** WordPress Administration Bootstrap */
                    
10require_once( dirname( __FILE__ ) . '/admin.php' );
                    
11require( ABSPATH . 'wp-admin/includes/theme-install.php' );
                    
18if ( is_multisite() && ! is_network_admin() ) {
                    
19	wp_redirect( network_admin_url( 'theme-install.php' ) );
                    
20	exit();
                    
23$title = __( 'Add Themes' );
                    
24$parent_file = 'themes.php';
                    
25
                    
26if ( ! is_network_admin() ) {
                    
27	$submenu_file = 'themes.php';
                    
28}
                    
188			$feature_name = esc_html( $feature_name );
                    
189			echo '<legend>' . $feature_name . '</legend>';
                    
190			echo '<div class="filter-group-feature">';
                    
                
functions.inc.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 346 lines
                    
1<?php
                    
2
                    
188
                    
189    //pongo 365 para no buscar la fecha, para ser mayor de 18 años, tendría que ser mayor de 6570 días.
                    
190    if ($days_between > 6570) {
                    
                
jquery.mask.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 281 lines
                    
9 *
                    
10 * The MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
11 *
                    
53
                    
54            jMask.translation = $.extend({}, jMask.translation, options.translation);
                    
55            jMask = $.extend(true, {}, jMask, options);
                    
99                    range.collapse(true);
                    
100                    range.moveEnd('character', pos);
                    
101                    range.moveStart('character', pos);
                    
                
PaymentProcessor.php https://github.com/michaelmcandrew/th.git | PHP | 349 lines
                    
1<?php
                    
2
                    
32 * @copyright CiviCRM LLC (c) 2004-2011
                    
33 * $Id: PaymentProcessor.php 9702 2007-05-29 23:57:16Z lobo $
                    
34 *
                    
36
                    
37require_once 'CRM/Admin/Form.php';
                    
38
                    
42 */
                    
43class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form
                    
44{
                    
72        $this->assign( 'ppType', $this->_ppType );
                    
73        require_once 'CRM/Core/DAO/PaymentProcessorType.php';
                    
74        $this->_ppDAO = new CRM_Core_DAO_PaymentProcessorType( );
                    
310
                    
311    }//end of function
                    
312
                    
                
Test.php https://bitbucket.org/Nemcio/kloxo-mr.git | PHP | 275 lines
                    
10 * the PHP License and are unable to obtain it through the web, please
                    
11 * send a note to license@php.net so we can mail you a copy immediately.
                    
12 *
                    
18 * @copyright  1997-2006 The PHP Group
                    
19 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
20 * @version    CVS: $Id: Test.php,v 1.1.1.1 2009/05/08 18:30:19 root Exp $
                    
38 * @copyright  1997-2006 The PHP Group
                    
39 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
40 * @version    Release: 1.4.9
                    
81                    'shortopt' => 'u',
                    
82                    'doc' => 'Search parameters for AllTests.php, and use that to run phpunit-based tests',
                    
83                ),
                    
85            'doc' => '[testfile|dir ...]
                    
86Run regression tests with PHP\'s regression testing script (run-tests.php).',
                    
87            ),
                    
                
sfValidatorBaseTest.php https://github.com/bheneka/gitta.git | PHP | 246 lines
                    
1<?php
                    
2
                    
10
                    
11require_once(dirname(__FILE__).'/../../bootstrap/unit.php');
                    
12
                    
14
                    
15class ValidatorIdentity extends sfValidatorBase
                    
16{
                    
33
                    
34class ValidatorIdentityWithRequired extends sfValidatorBase
                    
35{
                    
                
 

Source

Language