PageRenderTime 2952ms queryTime 684ms sortTime 371ms getByIdsTime 84ms findMatchingLines 113ms

100+ results results for 'php link repo:praveen_excell/opshop' (2952 ms)

Not the results you expected?
wp-cache-f091d5ab40590bc01ee8ea7afc5372b1.html https://gitlab.com/endomorphosis/reservationtelco | HTML | 371 lines
                    
12	
                    
13	<link rel="stylesheet" href="http://localhost:8888/reservation-telephone-company/wp-content/themes/reservation-telephone-company/style.css" type="text/css" media="screen" />
                    
14	
                    
19<link rel='stylesheet' id='gs-basic-functions-css'  href='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-basic-functions/gs-basic-functions.css?ver=3.0-RC1-15112' type='text/css' media='all' />
                    
20<link rel='stylesheet' id='gs-news-flash-css'  href='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-news-flash/css/gs-news-flash.css?ver=3.0-RC1-15112' type='text/css' media='all' />
                    
21<link rel='stylesheet' id='gs-pop-window-css'  href='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-pop-window/css/gs-pop-window.css?ver=3.0-RC1-15112' type='text/css' media='all' />
                    
22<link rel='stylesheet' id='gs-presentation-css'  href='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-presentation/css/gs-presentation.css?ver=3.0-RC1-15112' type='text/css' media='all' />
                    
23<link rel='stylesheet' id='contact-form-7-css'  href='http://localhost:8888/reservation-telephone-company/wp-content/plugins/contact-form-7/styles.css?ver=2.2.1' type='text/css' media='all' />
                    
24<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=1.4.2'></script>
                    
29<script type='text/javascript' src='http://localhost:8888/reservation-telephone-company/wp-content/plugins/gs-presentation/js/gs-presentation.js?ver=3.0-RC1-15112'></script>
                    
30<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost:8888/reservation-telephone-company/xmlrpc.php?rsd" />
                    
31<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost:8888/reservation-telephone-company/wp-includes/wlwmanifest.xml" /> 
                    
33<link rel='prev' title='Services' href='http://localhost:8888/reservation-telephone-company/services-2-2/' />
                    
34<link rel='next' title='Links' href='http://localhost:8888/reservation-telephone-company/links/' />
                    
35<meta name="generator" content="WordPress 3.0-RC1-15112" />
                    
                
Url.php https://gitlab.com/x33n/respond | PHP | 548 lines
                    
1<?php
                    
2
                    
479     * @throws InvalidArgumentException
                    
480     * @link http://tools.ietf.org/html/rfc3986#section-5.4
                    
481     */
                    
                
twitter-timeline.php https://gitlab.com/hunt9310/ras | PHP | 470 lines
                    
336				<?php esc_html_e( 'Widget Type:', 'jetpack' ); ?>
                    
337				<?php echo $this->get_docs_link( '#widget-type' ); ?>
                    
338			</label>
                    
367				<?php esc_html_e( 'Twitter Username:', 'jetpack' ); ?>
                    
368				<?php echo $this->get_docs_link( '#twitter-username' ); ?>
                    
369			</label>
                    
426			<label for="<?php echo $this->get_field_id( 'link-color' ); ?>">
                    
427				<?php _e( 'Link Color (hex):', 'jetpack' ); ?>
                    
428			</label>
                    
431				id="<?php echo $this->get_field_id( 'link-color' ); ?>"
                    
432				name="<?php echo $this->get_field_name( 'link-color' ); ?>"
                    
433				type="text"
                    
433				type="text"
                    
434				value="<?php echo esc_attr( $instance['link-color'] ); ?>"
                    
435			/>
                    
                
InstallSchema.php https://gitlab.com/yousafsyed/easternglamor | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
336        /**
                    
337         * Create table 'layout_link'
                    
338         */
                    
339        $table = $installer->getConnection()->newTable(
                    
340            $installer->getTable('layout_link')
                    
341        )->addColumn(
                    
341        )->addColumn(
                    
342            'layout_link_id',
                    
343            \Magento\Framework\DB\Ddl\Table::TYPE_INTEGER,
                    
345            ['identity' => true, 'unsigned' => true, 'nullable' => false, 'primary' => true],
                    
346            'Link Id'
                    
347        )->addColumn(
                    
                
SqlBase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 415 lines
                    
1<?php
                    
2
                    
133      '#tree' => TRUE,
                    
134      '#title' => $this->t('Pager link labels'),
                    
135      '#input' => TRUE,
                    
139      '#type' => 'textfield',
                    
140      '#title' => $this->t('Previous page link text'),
                    
141      '#default_value' => $this->options['tags']['previous'],
                    
145      '#type' => 'textfield',
                    
146      '#title' => $this->t('Next page link text'),
                    
147      '#default_value' => $this->options['tags']['next'],
                    
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.
                    
                
Country.php https://gitlab.com/jslee1/PrestaShop | PHP | 417 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
22 * @copyright 2007-2015 PrestaShop SA
                    
23 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
                    
24 * International Registered Trademark & Property of PrestaShop SA
                    
98        'fields' => array(
                    
99            'id_zone' => array('xlink_resource'=> 'zones'),
                    
100            'id_currency' => array('xlink_resource'=> 'currencies'),
                    
                
Batch.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 514 lines
                    
1<?php
                    
2
                    
162  public static function getReferenceColumns() {
                    
163    if (!isset(Civi::$statics[__CLASS__]['links'])) {
                    
164      Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
                    
164      Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
                    
165      Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
                    
166      Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'modified_id', 'civicrm_contact', 'id');
                    
167      Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'saved_search_id', 'civicrm_saved_search', 'id');
                    
168      CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
                    
169    }
                    
169    }
                    
170    return Civi::$statics[__CLASS__]['links'];
                    
171  }
                    
                
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>
                    
124      of this License, Derivative Works shall not include works that remain
                    
125      separable from, or merely link (or bind by name) to the interfaces of,
                    
126      the Work and Derivative Works thereof.
                    
                
lang.php https://gitlab.com/michield/dokuwiki | PHP | 188 lines
                    
31$lang['_editing']              = 'Szerkesztési beállítások';
                    
32$lang['_links']                = 'Link beállítások';
                    
33$lang['_media']                = 'Media beállítások';
                    
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)';
                    
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.';
                    
124$lang['rss_type']              = 'XML hírfolyam típus';
                    
125$lang['rss_linkto']            = 'XML hírfolyam hivatkozás';
                    
126$lang['rss_content']           = 'Mit mutassunk az XML hírfolyam elemekben?';
                    
182$lang['showuseras_o_email']    = 'E-mail cím (olvashatatlanná téve az e-mailcím védelem beállítása szerint)';
                    
183$lang['showuseras_o_email_link'] = 'E-mail cím mailto: linkként';
                    
184$lang['useheading_o_0']        = 'Soha';
                    
                
index.php https://gitlab.com/Nilufarjahan/LabExam8 | PHP | 455 lines
                    
69    <link href="../../../resource/bootstrap/css/styles.css" rel="stylesheet">
                    
70    <link rel="stylesheet" href="../../../resource/bootstrap/css/font-icons/entypo/css/entypo.css">
                    
71    <link rel="stylesheet" href="../../../resource/bootstrap/css/font-icons/font-awesome/css/font-awesome.min.css">
                    
135            <li>
                    
136                <a href="../Birthday/create.php">
                    
137                    <span class="title">Add New</span>
                    
243            <li>
                    
244                <a href="../SummaryOfOrganization/create.php">
                    
245                    <span class="title">Add New</span>
                    
328                                <td><?php echo $oneData->birthday?></td>
                    
329                                <?php  echo "<td> <a href=\"edits.php?id=$oneData->id\"class=\"btn btn-info\" role=\"button\">Edit</a>  ";?>
                    
330                                <?php  echo " <a href=\"delete.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Delete</a> ";?>
                    
331                            
                    
332                                <?php  echo " <a href=\"trash.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Trash</a> </td> ";?>
                    
333                            </tr>
                    
                
TextArea.php https://gitlab.com/ElvisAns/tiki | PHP | 377 lines
                    
1<?php
                    
2
                    
113        $wikilib->update_wikicontent_relations($value, 'trackeritemfield', sprintf("%d:%d", $itemId, $fieldId));
                    
114        $wikilib->update_wikicontent_links($value, 'trackeritemfield', sprintf("%d:%d", $itemId, $fieldId));
                    
115    }
                    
                
class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
                    
127		if ( 'link_category' == $this->screen->taxonomy ) {
                    
128			$columns['links'] = __( 'Links' );
                    
129		} else {
                    
288		$qe_data = get_term( $tag->term_id, $taxonomy, OBJECT, 'edit' );
                    
289		$edit_link = esc_url( get_edit_term_link( $tag->term_id, $taxonomy, $this->screen->post_type ) );
                    
290
                    
290
                    
291		$out = '<strong><a class="row-title" href="' . $edit_link . '" title="' . esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $name ) ) . '">' . $name . '</a></strong><br />';
                    
292
                    
368
                    
369		return "<a href='" . esc_url ( add_query_arg( $args, 'edit.php' ) ) . "'>$count</a>";
                    
370	}
                    
374		if ( $count )
                    
375			$count = "<a href='link-manager.php?cat_id=$tag->term_id'>$count</a>";
                    
376		return $count;
                    
                
string.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 300 lines
                    
50
                    
51        $data = "cakephp 'great framework' php";
                    
52        $result = String::tokenize($data, ' ', "'", "'");
                    
53        // result contains
                    
54        array('cakephp', "'great framework'", 'php');
                    
55
                    
63
                    
64.. php:staticmethod:: cleanInsert($string, $options = array())
                    
65
                    
103
                    
104.. php:method:: highlight(string $haystack, string $needle, array $options = array() )
                    
105
                    
141
                    
142.. php:method:: stripLinks($text)
                    
143
                    
                
class-wp-ms-users-list-table.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 301 lines
                    
95		$role_links = array();
                    
96		$role_links['all'] = "<a href='" . network_admin_url('users.php') . "'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_users, 'users' ), number_format_i18n( $total_users ) ) . '</a>';
                    
97		$class = $role == 'super' ? ' class="current"' : '';
                    
97		$class = $role == 'super' ? ' class="current"' : '';
                    
98		$role_links['super'] = "<a href='" . network_admin_url('users.php?role=super') . "'$class>" . sprintf( _n( 'Super Admin <span class="count">(%s)</span>', 'Super Admins <span class="count">(%s)</span>', $total_admins ), number_format_i18n( $total_admins ) ) . '</a>';
                    
99
                    
175						<th scope="row" class="check-column">
                    
176							<label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label>
                    
177							<input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" />
                    
183						$avatar	= get_avatar( $user->user_email, 32 );
                    
184						$edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), get_edit_user_link( $user->ID ) ) );
                    
185
                    
186						echo "<td $attributes>"; ?>
                    
187							<?php echo $avatar; ?><strong><a href="<?php echo $edit_link; ?>" class="edit"><?php echo $user->user_login; ?></a><?php
                    
188							if ( in_array( $user->user_login, $super_admins ) )
                    
                
multiple-featured-images.php https://gitlab.com/webkod3r/tripolis | PHP | 374 lines
                    
1<?php
                    
2/*
                    
91		public function kd_admin_init() {		
                    
92			if( strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/post.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/media-upload.php')) {
                    
93				wp_enqueue_script(
                    
146
                    
147			$setImageLink = sprintf(
                    
148					'<p class="hide-if-no-js"><a title="%2$s" href="%1$s" id="kd_%3$s" class="thickbox">%%s</a></p>',
                    
157				$thumbnail = wp_get_attachment_image( $image_id, array( 266, 266 ) );
                    
158				$output.= sprintf( $setImageLink, $thumbnail );
                    
159				$output.= '<p class="hide-if-no-js">';
                    
172			else {
                    
173				return sprintf( $setImageLink, $this->labels['set'] );
                    
174			}
                    
373
                    
374// Omit closing PHP tag to avoid "Headers already sent" issues.
                    
375
                    
                
paypal-return-in-web-accept-sp.inc.php https://gitlab.com/Gashler/sg | PHP | 148 lines
                    
1<?php
                    
2/**
                    
5 * Copyright: © 2009-2011
                    
6 * {@link http://www.websharks-inc.com/ WebSharks, Inc.}
                    
7 * (coded in the USA)
                    
11 * along with this software. In the main directory, see: /licensing/
                    
12 * If not, see: {@link http://www.gnu.org/licenses/}.
                    
13 *
                    
35		 *
                    
36		 * @param array $vars Required. An array of defined variables passed by {@link s2Member\PayPal\c_ws_plugin__s2member_paypal_return_in::paypal_return()}.
                    
37		 *
                    
67
                    
68					if(($sp_access_url = c_ws_plugin__s2member_sp_access::sp_access_link_gen($paypal['sp_ids'], $paypal['hours'], FALSE)))
                    
69					{
                    
119					{
                    
120						$paypal['s2member_log'][] = 'Unable to generate Specific Post/Page Access Link. Does your Leading Post/Page still exist?';
                    
121
                    
                
about.php https://gitlab.com/Gashler/sg | PHP | 208 lines
                    
87		'heading'     => __( 'Template Hierarchy' ),
                    
88		/* Translators: 1: singular.php; 2: single.php; 3:page.php */
                    
89		'description' => sprintf( __( 'Added %1$s as a fallback for %2$s and %3$s' ), '<code>singular.php</code>', '<code>single.php</code>', '<code>page.php</code>.' ),
                    
104		<h2 class="nav-tab-wrapper">
                    
105			<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
                    
106			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
106			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
                    
107			<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
                    
108		</h2>
                    
171				<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
                    
172					<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
                    
173						<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
                    
175				<?php endif; ?>
                    
176				<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
                    
177			</div>
                    
                
ListenerOptions.php https://gitlab.com/yousafsyed/easternglamor | PHP | 396 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @link      http://github.com/zendframework/zf2 for the canonical source repository
                    
6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
                    
269        if ($this->getConfigCacheKey()) {
                    
270            return $this->getCacheDir() . '/module-config-cache.' . $this->getConfigCacheKey().'.php';
                    
271        }
                    
272
                    
273        return $this->getCacheDir() . '/module-config-cache.php';
                    
274    }
                    
353        if ($this->getModuleMapCacheKey()) {
                    
354            return $this->getCacheDir() . '/module-classmap-cache.' . $this->getModuleMapCacheKey() . '.php';
                    
355        }
                    
356
                    
357        return $this->getCacheDir() . '/module-classmap-cache.php';
                    
358    }
                    
                
Clients.php https://gitlab.com/my-application.bjoernbartels.earth/module-admin | PHP | 322 lines
                    
1<?php
                    
2/**
                    
10 * @author    Björn Bartels <coding@bjoernbartels.earth>
                    
11 * @link      https://gitlab.bjoernbartels.earth/groups/zf2
                    
12 * @license   http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
                    
                
ibase_driver.php https://gitlab.com/carlosambiado89/IntranetPlanEvalWeb | PHP | 396 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
33 * @license	http://opensource.org/licenses/MIT	MIT License
                    
34 * @link	https://codeigniter.com
                    
35 * @since	Version 3.0.0
                    
50 * @author		EllisLab Dev Team
                    
51 * @link		https://codeigniter.com/user_guide/database/
                    
52 */
                    
                
utils.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 313 lines
                    
1<?php
                    
2
                    
6    if (!file_exists($dir)) return true;
                    
7    if (!is_dir($dir)) return unlink($dir);
                    
8    foreach (scandir($dir) as $item) {
                    
44    if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
                    
45	require_once('php_image_magician.php');
                    
46	$magicianObj = new imageLib($imgfile);
                    
55    if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
                    
56	require_once('php_image_magician.php');
                    
57	$magicianObj = new imageLib($imgfile);
                    
111            if(!in_array(mb_strtolower($fileinfo['extension']),$ext))
                    
112                unlink($path);
                    
113        else
                    
114            if(!in_array(Tools::strtolower($fileinfo['extension']),$ext))
                    
115                unlink($path);
                    
116    }else{
                    
                
Configuration.php https://gitlab.com/freebird/WebApp | PHP | 226 lines
                    
1<?php
                    
2
                    
20 *
                    
21 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
                    
22 */
                    
                
SimpleHeaderSet.php https://gitlab.com/dsasmita/talita-shop | PHP | 387 lines
                    
1<?php
                    
2
                    
150     *
                    
151     * The header may be a previously fetched header via {@link get()} or it may
                    
152     * be one that has been created separately.
                    
                
LeadImportFieldType.php https://gitlab.com/mautic-master/mautic | PHP | 290 lines
                    
1<?php
                    
2/**
                    
5 * @author      Mautic
                    
6 * @link        http://mautic.org
                    
7 * @license     GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
                    
                
activate-admin.php https://gitlab.com/relacilia/cakra | PHP | 95 lines
                    
1<?php
                    
2
                    
39	<div class="manage__icon">
                    
40		<svg width="149px" height="152px" viewBox="0 0 149 152" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
                    
41			<defs>
                    
52					<mask id="mask-2" sketch:name="Clip 4" fill="white">
                    
53						<use xlink:href="#path-1"></use>
                    
54					</mask>
                    
58					<mask id="mask-4" sketch:name="Clip 8" fill="white">
                    
59						<use xlink:href="#path-3"></use>
                    
60					</mask>
                    
64					<mask id="mask-6" sketch:name="Clip 13" fill="white">
                    
65						<use xlink:href="#path-5"></use>
                    
66					</mask>
                    
69					<mask id="mask-8" sketch:name="Clip 16" fill="white">
                    
70						<use xlink:href="#path-7"></use>
                    
71					</mask>
                    
                
EntityTypeBundleInfoTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 314 lines
                    
1<?php
                    
2
                    
117    foreach ($definitions as $key => $entity_type) {
                    
118      // \Drupal\Core\Entity\EntityTypeInterface::getLinkTemplates() is called
                    
119      // by \Drupal\Core\Entity\EntitTypeManager::processDefinition() so it must
                    
120      // always be mocked.
                    
121      $entity_type->getLinkTemplates()->willReturn([]);
                    
122
                    
                
ManageGitIgnoreTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 256 lines
                    
234  - Copy [web-root]/.gitattributes from assets/.gitattributes
                    
235  - Copy [web-root]/.ht.router.php from assets/.ht.router.php
                    
236  - Skip [web-root]/.htaccess: overridden in fixtures/drupal-composer-drupal-project
                    
238  - Skip [web-root]/sites/default/default.settings.php: overridden in fixtures/scaffold-override-fixture
                    
239  - Copy [web-root]/sites/example.settings.local.php from assets/example.settings.local.php
                    
240  - Copy [web-root]/sites/example.sites.php from assets/example.sites.php
                    
240  - Copy [web-root]/sites/example.sites.php from assets/example.sites.php
                    
241  - Copy [web-root]/index.php from assets/index.php
                    
242  - Skip [web-root]/robots.txt: overridden in fixtures/drupal-composer-drupal-project
                    
242  - Skip [web-root]/robots.txt: overridden in fixtures/drupal-composer-drupal-project
                    
243  - Copy [web-root]/update.php from assets/update.php
                    
244  - Copy [web-root]/web.config from assets/web.config
                    
245Scaffolding files for fixtures/scaffold-override-fixture:
                    
246  - Copy [web-root]/sites/default/default.settings.php from assets/override-settings.php
                    
247Scaffolding files for fixtures/drupal-composer-drupal-project:
                    
                
menus-sync.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 272 lines
                    
63                    <tr>
                    
64                        <th scope="row" class="check-column"><input type="checkbox" name="sync[menu_translation][<?php echo $menu_id ?>][<?php echo $language ?>]" value="<?php echo esc_attr( $name ) ?>"/></th>
                    
65                        <td><?php echo $lang_details[ 'display_name' ]; ?></td>
                    
154									?>
                    
155									<input type="text" name="sync[menu_translations][<?php echo $menu_id ?>][<?php echo $l[ 'code' ] ?>]" class="icl_msync_add" value="<?php
                    
156									echo esc_attr( $menu[ 'name' ] ) . ' - ' . $l[ 'display_name' ] ?>"/>
                    
163									?>
                    
164									<input type="hidden" name="sync[menu_options][<?php echo $menu_id ?>][<?php echo $l[ 'code' ] ?>][auto_add]" value="<?php echo esc_attr( $menu[ 'translations' ][ $l[ 'code' ] ][ 'auto_add' ] ); ?>"/>
                    
165								<?php
                    
184				?>
                    
185				<input id="icl_msync_sync" type="submit" class="button-primary" value="<?php _e( 'Sync', 'sitepress' ); ?>"<?php if ( !$need_sync ): ?> disabled="disabled"<?php endif; ?> />
                    
186				&nbsp;&nbsp;
                    
195				?>
                    
196				<input id="icl_msync_sync" type="submit" class="button-primary" value="<?php _e( 'Nothing Sync', 'sitepress' ); ?>"<?php if ( !$need_sync ): ?> disabled="disabled"<?php endif; ?> />
                    
197			<?php
                    
                
PluginInfo.php https://gitlab.com/fabiorf/chat | PHP | 383 lines
                    
1<?php
                    
2/*
                    
145     * Notice that in can differs from
                    
146     * {@link \Mibew\Plugin\PluginInfo::getVersion()} results if the plugin's
                    
147     * files are updated without database changes.
                    
159     * @return array Dependencies list. See
                    
160     *   {@link \Mibew\Plugin\PluginInterface::getDependencies()} for details of
                    
161     *   the array structure.
                    
171     * @return array Requirements list. See
                    
172     *   {@link \Mibew\Plugin\PluginInterface::getSystemRequirements()} for
                    
173     *   details of the array structure.
                    
                
theme-support.php https://gitlab.com/ravenseyedesign/ravensegg | PHP | 367 lines
                    
1<?php
                    
2/**
                    
32
                    
33		// Add default posts and comments RSS feed links to head.
                    
34		add_theme_support( 'automatic-feed-links' );
                    
45		 *
                    
46		 * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/
                    
47		 */
                    
102         *
                    
103		 * @link https://codex.wordpress.org/Theme_Logo
                    
104		 */
                    
114//				'flex-height'          => true,
                    
115//				'unlink-homepage-logo' => true,
                    
116//			)
                    
124//			array(
                    
125//				'link',
                    
126//				'aside',
                    
                
wp-settings.php https://gitlab.com/gregtyka/WordPress-stable | PHP | 323 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * Allows for some configuration in wp-config.php (see default-constants.php)
                    
7 *
                    
7 *
                    
8 * @internal This file must be parsable by PHP4.
                    
9 *
                    
61if ( WP_CACHE )
                    
62	WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
                    
63
                    
119require( ABSPATH . WPINC . '/general-template.php' );
                    
120require( ABSPATH . WPINC . '/link-template.php' );
                    
121require( ABSPATH . WPINC . '/author-template.php' );
                    
315 *
                    
316 * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for
                    
317 * users not logged in.
                    
                
db_operations.php https://gitlab.com/luyxtran264/myproject | PHP | 315 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
11 *
                    
12 * @package PhpMyAdmin
                    
13 */
                    
18 */
                    
19require_once 'libraries/common.inc.php';
                    
20require_once 'libraries/mysql_charsets.inc.php';
                    
20require_once 'libraries/mysql_charsets.inc.php';
                    
21require_once 'libraries/display_create_table.lib.php';
                    
22
                    
25 */
                    
26require_once 'libraries/check_user_privileges.lib.php';
                    
27require_once 'libraries/operations.lib.php';
                    
71
                    
72        include_once "libraries/plugin_interface.lib.php";
                    
73        // remove all foreign key constraints, otherwise we can get errors
                    
                
shortcodes.php https://gitlab.com/gregtyka/WordPress-stable | PHP | 334 lines
                    
1<?php
                    
2/**
                    
27 *
                    
28 * @link http://codex.wordpress.org/Shortcode_API
                    
29 *
                    
                
CakeValidationSetTest.php https://gitlab.com/grlopez90/servipro | PHP | 337 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
                    
6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
12 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @link          http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
                    
14 * @package       Cake.Test.Case.Model.Validator
                    
14 * @package       Cake.Test.Case.Model.Validator
                    
15 * @since         CakePHP(tm) v 2.2.0
                    
16 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
                
sale_note_a5.blade.php https://gitlab.com/laher01/factu40 | PHP | 230 lines
                    
1@php
                    
2    $establishment = $document->establishment;
                    
8
                    
9@endphp
                    
10<html>
                    
12    {{--<title>{{ $tittle }}</title>--}}
                    
13    {{--<link href="{{ $path_style }}" rel="stylesheet" />--}}
                    
14</head>
                    
148                @if($row->discounts)
                    
149                    @php
                    
150                        $total_discount_line = 0;
                    
153                        }
                    
154                    @endphp
                    
155                    {{ number_format($total_discount_line, 2) }}
                    
215    <strong>PAGOS:</strong> </td></tr>
                    
216        @php
                    
217            $payment = 0;
                    
                
joomleague.php https://gitlab.com/julienv/joomleague | PHP | 431 lines
                    
1<?php
                    
2class JoomleagueConnector extends JLCalendar{
                    
181			{
                    
182				$linkit = 1;
                    
183				$newrows[$key]['name'] = '<img src="'.JUri::root(true).'/'.$row->picture.'" alt="Picture" style="height:40px; vertical-align:middle;margin:0 5px;" />';
                    
193			// new insert for link to player profile
                    
194			//$newrows[$key]['link'] = 'index.php?option=com_joomleague&view=player&p='.$row->project_id.'&pid='.$row->id;
                    
195			$newrows[$key]['link'] = JoomleagueHelperRoute::getPlayerRoute( $row->project_id, $row->teamid, $row->id);
                    
225
                    
226			// insert matchdetaillinks
                    
227			$newrows[$key]['link'] = JoomleagueHelperRoute::getNextMatchRoute( $row->project_id, $row->matchcode);
                    
                
FAQ.htm https://gitlab.com/x33n/ProjectPier-Core | HTML | 341 lines
                    
183<br>
                    
184It means that script.php outputs something at line X. Go to this line and fix it.
                    
185In case the message doesn't show, first check that you didn't disable warnings, then add this at the very
                    
250<div class="doc-source">
                    
251<pre><code>require('a.php');
                    
252
                    
259<div class="doc-source">
                    
260<pre><code>require('b.php');
                    
261
                    
272<p><b>15.</b> <span class='question'>How can I send the PDF by email?</span></p>
                    
273As any other file, but an easy way is to use <a href="http://phpmailer.codeworxtech.com">PHPMailer</a> and
                    
274its in-memory attachment:
                    
310<br>
                    
311<a href="http://www.setasign.de/products/pdf-php-solutions/fpdi/" target="_blank">http://www.setasign.de/products/pdf-php-solutions/fpdi/</a><br>
                    
312<br>
                    
                
blocklayered.tpl https://gitlab.com/ptisky/API_prestashop | Smarty Template | 257 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
                    
21*  @copyright  2007-2013 PrestaShop SA
                    
22*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23*  International Registred Trademark & Property of PrestaShop SA
                    
105											{else}
                    
106											<a href="{$value.link}" rel="{$value.rel}">{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a>
                    
107											{/if}
                    
126											{else}
                    
127												<a href="{$value.link}" rel="{$value.rel}">{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a>
                    
128											{/if}
                    
                
Generator.php https://gitlab.com/edot92/jpagithub | PHP | 283 lines
                    
1<?php
                    
2/**
                    
6 * @copyright 2014 Barry vd. Heuvel / Fruitcake Studio (http://www.fruitcakestudio.nl)
                    
7 * @license   http://www.opensource.org/licenses/mit-license.php MIT
                    
8 * @link      https://github.com/barryvdh/laravel-ide-helper
                    
63     *
                    
64     * @param  string  $format  The format to generate the helper in (php/json)
                    
65     * @return string;
                    
66     */
                    
67    public function generate($format = 'php')
                    
68    {
                    
74
                    
75        return $this->generatePhpHelper();
                    
76    }
                    
77
                    
78    public function generatePhpHelper()
                    
79    {
                    
                
index.html https://gitlab.com/vschmidt94/CS494-HowTo-Leaflet-map | HTML | 236 lines
                    
4course:     CS494-400 Fall 2014
                    
5Assignment: Week 5 - Intro to PHP
                    
6-->
                    
9<title>schmicar HowTo</title>
                    
10<link rel="stylesheet" href="css/style.css">
                    
11<link rel="stylesheet" href="css/bootstrap.css">
                    
11<link rel="stylesheet" href="css/bootstrap.css">
                    
12<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
                    
13<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
                    
88  <p>
                    
89  Once the AJAX URL request format &amp; JSON response has been discovered (example: <a href="http://oregonstate.edu/campusmap/map/element?locations=814">http://oregonstate.edu/campusmap/map/element?locations=814</a>), it is straightforward to build a little PHP script to iterate through successive calls to the URL, parse the returned JSON and then recombine just the portions I am interested in.
                    
90  </p>
                    
219  <li><strong>Chrome Dev Tools</strong> - used to uncover the AJAX calls and JSON responses the official campus map web page is using.</li>
                    
220  <li><strong>PHP Script</strong> - quick and dirty PHP script to replicate the AJAX calls discovered above.  Scans the range of location id's and produces a dataset useable elsewhere.</li>
                    
221  <li><strong><a href="http://leafletjs.com/">leaflet.js</a></strong> - JavaScript library for easy to use mapping.</li>
                    
                
Matcher.php https://gitlab.com/karora/awl | PHP | 308 lines
                    
40 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
41 * @link       http://github.com/sebastianbergmann/phpunit-mock-objects
                    
42 * @since      File available since Release 1.0.0
                    
58 * @version    Release: @package_version@
                    
59 * @link       http://github.com/sebastianbergmann/phpunit-mock-objects
                    
60 * @since      Class available since Release 1.0.0
                    
61 */
                    
62class PHPUnit_Framework_MockObject_Matcher implements PHPUnit_Framework_MockObject_Matcher_Invocation
                    
63{
                    
89    /**
                    
90     * @var PHPUnit_Framework_MockObject_Stub
                    
91     */
                    
153            if (!$builder) {
                    
154                throw new PHPUnit_Framework_Exception(
                    
155                  sprintf(
                    
                
student_profile.php https://gitlab.com/varsha_evonix/intranet | PHP | 136 lines
                    
1<?php
                    
2
                    
2
                    
3include ('header.php');
                    
4?>
                    
24                                                </a>
                    
25                                                <img class="img-responsive img-profile" src="<?php echo base_url(); ?>assets/img/profile-full.jpg" alt="">
                    
26                                               
                    
112                                                <ul class="list-inline">
                    
113                                                    <li><a class="facebook-link" href="#"><i class="fa fa-facebook-square fa-2x"></i></a>
                    
114                                                    </li>
                    
114                                                    </li>
                    
115                                                    <li><a class="twitter-link" href="#"><i class="fa fa-twitter-square fa-2x"></i></a>
                    
116                                                    </li>
                    
116                                                    </li>
                    
117                                                    <li><a class="linkedin-link" href="#"><i class="fa fa-linkedin-square fa-2x"></i></a>
                    
118                                                    </li>
                    
                
Type0.php https://gitlab.com/devtoannh/cafe | PHP | 257 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Type0.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
24/** Internally used classes */
                    
25require_once 'Zend/Pdf/Element/Array.php';
                    
26require_once 'Zend/Pdf/Element/Name.php';
                    
29/** Zend_Pdf_Resource_Font */
                    
30require_once 'Zend/Pdf/Resource/Font.php';
                    
31
                    
35 * A composite font is one whose glyphs are obtained from other fonts or from fontlike
                    
36 * objects called CIDFonts ({@link Zend_Pdf_Resource_Font_CidFont}), organized hierarchically.
                    
37 * In PDF, a composite font is represented by a font dictionary whose Subtype value is Type0;
                    
55 * Font objects should be normally be obtained from the factory methods
                    
56 * {@link Zend_Pdf_Font::fontWithName} and {@link Zend_Pdf_Font::fontWithPath}.
                    
57 *
                    
                
template-bootstrap.php https://gitlab.com/danielortiz1982/spicer | PHP | 198 lines
                    
13
                    
14        <link rel='stylesheet' type='text/css' href='<?php echo PAGEDIR; ?>/machines/libraries/mmenu/jquery.mmenu.all.css' />
                    
15        <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/machines/libraries/owlcarousel/owlcarousel.css">
                    
15        <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/machines/libraries/owlcarousel/owlcarousel.css">
                    
16        <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/styles/styles.min.css">
                    
17
                    
25    </head>
                    
26    <body data-tempdir="<?php echo PAGEDIR; ?>" id="<?php echo get_post( $post )->post_name; ?>" <?=(returnMobile() == 'true')? 'class="mobileMode"' : 'class="desktopMode"';?>>
                    
27
                    
75                        <a class="navbar-brand" href="<?php echo home_url(); ?>">
                    
76                            <img src="<?php echo PAGEDIR; ?>/images/graphics/logo.png" alt="<?php bloginfo('name');?>" />
                    
77                        </a>
                    
100                        'link_before'     => '<span>',
                    
101                        'link_after'      => '</span>',
                    
102                        'items_wrap'      => '<ul id="%1$s" class="%2$s">%3$s</ul>',
                    
                
utilities.php https://gitlab.com/ppapadatis/Videolearn | PHP | 307 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version    SVN $Id: utilities.php 709 2012-10-26 09:07:01Z dhorsfall $
                    
4 * @package    hwdMediaShare
                    
86	 * If escaping mechanism is either htmlspecialchars or htmlentities, uses
                    
87	 * {@link $_encoding} setting.
                    
88	 *
                    
165                {
                    
166                        include_once(JPATH_ROOT.'/components/com_community/libraries/core.php');
                    
167                        $JSUser = CFactory::getUser($user->id);
                    
175                {
                    
176                        include_once (JPATH_ROOT.DS.'components'.DS .'com_awdwall' .DS . 'helpers' . DS . 'user.php');
                    
177                        return AwdwallHelperUser::getBigAvatar51($user->id);	
                    
258        {
                    
259                JLoader::register('hwdMediaShareHelperMobile', JPATH_ROOT.'/components/com_hwdmediashare/helpers/mobile.php');
                    
260                $mobile = hwdMediaShareHelperMobile::getInstance();
                    
                
view_jadwal_pelajaran.php https://gitlab.com/imadd23/sijs | PHP | 303 lines
                    
49</style>
                    
50<!--<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/ace/plugin/perfect-scrollbar/css/perfect-scrollbar.css');?>">-->
                    
51<div class="row">
                    
53		<h3 class="row header smaller lighter blue">
                    
54			<span class="col-sm-6"> Jadwal Pelajaran <?php echo $semester;?></span><!-- /.col -->
                    
55			
                    
57				<label class="pull-right inline">
                    
58					<?php if ($obj->has_access('jadwal_pelajaran', 'view')){ ?>
                    
59						<a class="btn btn-xs btn-primary" target="_blank" href="<?php echo site_url('jadwal_pelajaran/export');?>">
                    
62						</a>
                    
63					<?php } ?>
                    
64
                    
64
                    
65					<?php if ($obj->has_access('jadwal_pelajaran', 'add')){ ?>
                    
66						<a class="btn btn-xs btn-primary" href="<?php echo site_url('jadwal_pelajaran/edit');?>">
                    
                
group.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 214 lines
                    
1<?php
                    
2
                    
72        $subgroupid = "";
                    
73        $query = "INSERT INTO " . $table_name . " (`groupid`, `parentid`, `image`, `thumbnail`, `weight`, `order`, `lev`, `viewgroup`, `numsubgroup`, `subgroupid`, `inhome`, `numlinks`, `admins`, `add_time`, `edit_time`, `del_cache_time`, `who_view`, `groups_view` " . $listfield . " ) 
                    
74         VALUES (NULL, " . $db->dbescape( $data['parentid'] ) . ",' ',' '," . $db->dbescape( $weight ) . ", '0', '0', " . $db->dbescape( $viewgroup ) . ", '0', " . $db->dbescape( $subgroupid ) . ", '1', '4'," . $db->dbescape( $admins ) . ", UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), UNIX_TIMESTAMP() + 26000000, " . $db->dbescape( $data['who_view'] ) . "," . $db->dbescape( $groups_view ) . $listvalue . " )";
                    
82            nv_del_moduleCache( $module_name );
                    
83            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" );
                    
84            die();
                    
110            
                    
111            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" );
                    
112            die();
                    
209
                    
210include ( NV_ROOTDIR . "/includes/header.php" );
                    
211echo nv_admin_theme( $contents );
                    
211echo nv_admin_theme( $contents );
                    
212include ( NV_ROOTDIR . "/includes/footer.php" );
                    
213
                    
                
frame_reflower.cls.php https://gitlab.com/techniconline/kmc | PHP | 454 lines
                    
1<?php
                    
2/**
                    
3 * @package dompdf
                    
4 * @link    http://dompdf.github.com/
                    
5 * @author  Benj Carson <benjcarson@digitaljunkies.ca>
                    
                
Item.php https://gitlab.com/ricardosanchez/prueba | PHP | 398 lines
                    
1<?php
                    
2/**
                    
24 * @property string $title
                    
25 * @property string $link
                    
26 * @property string $parent_id
                    
47        'id' => 0,
                    
48        'type' => 'link',
                    
49        'path' => null,
                    
51        'title' => null,
                    
52        'link' => null,
                    
53        'parent_id' => null,
                    
67        'level' => 0,
                    
68        'link_title' => '',
                    
69        'anchor_class' => ''
                    
87            'title' => ucfirst($alias),
                    
88            'link' => $name,
                    
89            'parent_id' => $parent != '.' ? $parent : '',
                    
                
list.php https://gitlab.com/ricardosanchez/prueba | PHP | 382 lines
                    
95		$show_link         = false;
                    
96		$link_url          = '';
                    
97
                    
99
                    
100		if ($this->element['show_link'] == 'true')
                    
101		{
                    
101		{
                    
102			$show_link = true;
                    
103		}
                    
110		{
                    
111			$show_link = false;
                    
112		}
                    
115		{
                    
116			$link_url = $this->parseFieldTags($link_url);
                    
117		}
                    
                
ARC2_SemHTMLParser.php https://gitlab.com/klausmig/CloudSemanticWeb | PHP | 339 lines
                    
1<?php
                    
2/*
                    
167      elseif ((list($sub_r, $sub_v) = $this->xClose($sub_v)) && $sub_r) {
                    
168        if (preg_match('/^(area|base|br|col|frame|hr|input|img|link|xmeta|param)$/', $sub_r['tag'])) {
                    
169          /* already implicitly closed */
                    
281  function isEmpty($t, $v) {
                    
282    if (preg_match('/^(area|base|br|col|frame|hr|input|img|link|xmeta|param)$/', $t)) {
                    
283      return 1;
                    
                
settings_lang.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | PHP | 174 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
30$lang['settings:dashboard_rss']					= 'Dashboard RSS syöte';
                    
31$lang['settings:dashboard_rss_desc']			= 'Linkki RSS syötteeseen, joka näytetään dashboardissa.';
                    
32
                    
37$lang['settings:date_format_desc']				= 'Miten päiväyksen muoto tulisi olla sivustolla ja hallintapaneelissa? ' .
                    
38													'Käyttämällä PHP:n <a href="http://php.net/manual/en/function.date.php" target="_black">date muotoa</a> - TAI - ' .
                    
39													'Käyttämällä PHP:n <a href="http://php.net/manual/en/function.strftime.php" target="_black">strftime muotoa</a>.';
                    
173
                    
174/* End of file settings_lang.php */
                    
                
bluepay.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | PHP | 310 lines
                    
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
11 * @created 08/24/2011
                    
12 * @license http://www.opensource.org/licenses/mit-license.php
                    
13 * @link https://github.com/calvinfroedge/codeigniter-payments
                    
                
apbasic-widgets.php https://gitlab.com/pornmongkon.p/wordpress | PHP | 273 lines
                    
1<?php
                    
2/**
                    
120    
                    
121    // Registering Header Social Links Widget
                    
122	register_sidebar( array(
                    
122	register_sidebar( array(
                    
123		'name' 				=> __( 'Header Social Links Section', 'accesspress-basic' ),
                    
124		'id' 					=> 'apbasic_header_social_links',
                    
131    
                    
132    // Registering Footer Social Links Widget
                    
133	register_sidebar( array(
                    
133	register_sidebar( array(
                    
134		'name' 				=> __( 'Footer Social Links Section', 'accesspress-basic' ),
                    
135		'id' 					=> 'apbasic_footer_social_links',
                    
223 */
                    
224require get_template_directory() . '/inc/widgets/widget-fields.php';
                    
225
                    
                
BadBotBlocker.php https://gitlab.com/ebrjose/comcebu | PHP | 453 lines
                    
1<?php
                    
2namespace AIOSEO\Plugin\Common\Tools;
                    
97		'HTTrack',
                    
98		'humanlinks',
                    
99		'ieautodiscovery',
                    
110		'libwww',
                    
111		'LinkextractorPro',
                    
112		'linko',
                    
112		'linko',
                    
113		'LinkScan/8.1a Unix',
                    
114		'LinkWalker',
                    
136		'panscient.com',
                    
137		'PHP/5.{',
                    
138		'ProPowerBot/2.14',
                    
324	 * @see  Original code, thanks to Sean M. Brown.
                    
325	 * @link http://smbrown.wordpress.com/2009/04/29/verify-googlebot-forward-reverse-dns/
                    
326	 *
                    
                
core.php https://bitbucket.org/daveschwan/ronin-group.git | PHP | 385 lines
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
15 * @link          http://cakephp.org CakePHP(tm) Project
                    
16 * @package       app.Config
                    
99 * will not work without URL rewriting!
                    
100 * To work around this issue you should either symlink or copy
                    
101 * the plugin assets into you app's webroot directory. This is
                    
205 *
                    
206 * - 'php' - Uses settings defined in your php.ini.
                    
207 * - 'cake' - Saves session files in CakePHP's /tmp directory.
                    
254 *
                    
255 * To use, prefix your JavaScript link URLs with '/cjs/' instead of '/js/' or use JsHelper::link().
                    
256 */
                    
                
LayoutDeviceManager.java https://gitlab.com/Codeaurora/platform_sdk | Java | 395 lines
                    
7 *
                    
8 *      http://www.eclipse.org/org/documents/epl-v10.php
                    
9 *
                    
163     * If the name and dpi values are identical the given device is returned an nothing is done
                    
164     * @param device the {@link LayoutDevice} to replace
                    
165     * @param newName the new name.
                    
194    /**
                    
195     * Adds or replaces a configuration in a given {@link LayoutDevice}.
                    
196     * @param device the device to modify
                    
209    /**
                    
210     * Replaces a configuration in a given {@link LayoutDevice}.
                    
211     * @param device the device to modify
                    
232    /**
                    
233     * Removes a configuration from a given user {@link LayoutDevice}
                    
234     * @param device the device to modify
                    
                
ExportToHtmlTemplate.php https://gitlab.com/mattswann/launch-housing | PHP | 232 lines
                    
1<?php

                    
2/*

                    
21

                    
22require_once('ExportBase.php');

                    
23require_once('CFDBExport.php');

                    
23require_once('CFDBExport.php');

                    
24require_once('CFDBShortCodeContentParser.php');

                    
25

                    
36

                    
37        $filelinks = '';

                    
38        $wpautop = false;

                    
41            if (isset($this->options['filelinks'])) {

                    
42                $filelinks = $this->options['filelinks'];

                    
43            }

                    
146                $fields_with_file = null;

                    
147                if ($filelinks != 'name' &&

                    
148                    isset($this->dataIterator->row['fields_with_file']) &&

                    
                
AddressBookUpgradeScript.class.php https://gitlab.com/x33n/ProjectPier-Core | PHP | 220 lines
                    
1<?php
                    
2
                    
11    /**
                    
12    * Database connection link
                    
13    *
                    
42      
                    
43      $config_is_set = require_once INSTALLATION_PATH . '/config/config.php';
                    
44      if (!$config_is_set) {
                    
                
class-itsec-core-admin.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 390 lines
                    
8
                    
9		add_filter( 'itsec_meta_links', array( $this, 'add_plugin_meta_links' ) );
                    
10
                    
85	/**
                    
86	 * Adds links to the plugin row meta
                    
87	 *
                    
93	 */
                    
94	public function add_plugin_meta_links( $meta ) {
                    
95
                    
128		echo '<h2>' . __( 'Watch the Walk-Through Video', 'better-wp-security' ) . '</h2>';
                    
129		echo '<a class="itsec-video-link" href="#" data-video-id="itsec_video"><img src="' . plugins_url( 'img/video.png', __FILE__ ) . '" /></a>';
                    
130		echo sprintf( '<p class="itsec-video-description">%s <a href="http://ithem.es/6y" target="_blank">%s</a> %s </p>', __( 'In this short video, we walk through', 'better-wp-security' ), __( 'how to get started securing your site', 'better-wp-security' ), __( 'with iThemes Security.', 'better-wp-security' ) );
                    
180				</div>
                    
181				<p><?php _e( 'Get tips for securing your site + the latest WordPress security updates, news and releases from iThemes.', 'better-wp-security' ); ?></p>
                    
182
                    
                
README.md https://gitlab.com/alidzapp/Link-Preview | Markdown | 243 lines
                    
108
                    
109To custom your database configurations, you need to change the following values in [Database.php](/src/link-preview/php/classes/Database.php)
                    
110
                    
118
                    
119Additionally, the way I used to retrieve the data was creating a controller [link-preview-database.js](/src/link-preview/js/link-preview-database.js)
                    
120which you can include the file somehow in your project or you can its content to yours.
                    
130        
                    
131                var url = 'src/link-preview/php/retrieve.php';
                    
132                $http({
                    
182    
                    
183Also, check the file [database-template.php](src/link-preview/template/database-template.php) to see an example of how to display the data retrieved from database.    
                    
184       
                    
184       
                    
185Make sure your columns are the same as those ones in [linkpreview.sql](/src/link-preview/linkpreview.sql) or customize them.        
                    
186
                    
                
upload.php https://gitlab.com/plusplusminus/isissoftware | PHP | 245 lines
                    
1<?php
                    
2
                    
7/**
                    
8 * upload.php
                    
9 *
                    
145						GFCommon::log_debug( 'GFAsyncUpload::upload(): Deleting file: ' . $tmp_file_path );
                    
146						@unlink( $tmp_file_path );
                    
147					}
                    
183					@fclose( $out );
                    
184					@unlink( $_FILES['file']['tmp_name'] );
                    
185				} else {
                    
195				// Read binary input stream and append it to temp file
                    
196				$in = @fopen( 'php://input', 'rb' );
                    
197
                    
                
HelperRegistryTest.php https://gitlab.com/18runt88/cakephp | PHP | 334 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://cakephp.org CakePHP(tm) Project
                    
12 * @since         2.0.0
                    
12 * @since         2.0.0
                    
13 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
14 */
                    
                
Search.php https://gitlab.com/digitalpoetry/exceptionally-timed | PHP | 462 lines
                    
1<?php namespace Myth\Docs;
                    
2/**
                    
28 * @license     http://opensource.org/licenses/MIT  (MIT)
                    
29 * @link        http://sprintphp.com
                    
30 * @since       Version 1.0
                    
64     */
                    
65    protected $allowed_file_types = 'html|htm|php|php4|php5|txt|md';
                    
66
                    
                
DB_result.php https://gitlab.com/ricoru21/py_incidencia | PHP | 410 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
10 * @license		http://codeigniter.com/user_guide/license.html
                    
11 * @link		http://codeigniter.com
                    
12 * @since		Version 1.0
                    
26 * @author		ExpressionEngine Dev Team
                    
27 * @link		http://codeigniter.com/user_guide/database/
                    
28 */
                    
408
                    
409/* End of file DB_result.php */
                    
410/* Location: ./system/database/DB_result.php */
                    
                
translated-object.php https://gitlab.com/hop23typhu/bryepoxy | PHP | 272 lines
                    
1<?php
                    
2
                    
101
                    
102			// unlink removed translations
                    
103			$old_translations = $this->get_translations( $id );
                    
125
                    
126				// link all translations to the new term
                    
127				foreach ( $translations as $p ) {
                    
                
FontDescriptor.php https://gitlab.com/Ltaimao/wecenter | PHP | 204 lines
                    
1<?php
                    
2/**
                    
24/** Internally used classes */
                    
25//require_once 'Zend/Pdf/Element/Array.php';
                    
26//require_once 'Zend/Pdf/Element/Dictionary.php';
                    
26//require_once 'Zend/Pdf/Element/Dictionary.php';
                    
27//require_once 'Zend/Pdf/Element/Name.php';
                    
28//require_once 'Zend/Pdf/Element/Numeric.php';
                    
30/** Zend_Pdf_Font */
                    
31//require_once 'Zend/Pdf/Font.php';
                    
32
                    
55    {
                    
56        //require_once 'Zend/Pdf/Exception.php';
                    
57        throw new Zend_Pdf_Exception('Zend_Pdf_Resource_Font_FontDescriptor is not intended to be instantiated');
                    
64     * to font embedding. You may combine options by OR-ing them together. See
                    
65     * the EMBED_ constants defined in {@link Zend_Pdf_Font} for the list of
                    
66     * available options and their descriptions.
                    
                
backuplib.php https://github.com/cwaclawik/moodle.git | PHP | 337 lines
                    
1<?PHP //$Id$
                    
2    //This php script contains all the stuff to backup/restore
                    
30    // Meaning: pk->primary key field of the table
                    
31    //          fk->foreign key to link with parent
                    
32    //          nt->nested field (recursive data)
                    
240        // $excluded_tags : fields which will NOT be backed up from the records
                    
241        // $more_backup   : optional PHP code to be eval(uated) for each record
                    
242        // If any of the "fwrite" statements fail,
                    
                
QueryBuilder.php https://gitlab.com/brucealdridge/yii2 | PHP | 260 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @link http://www.yiiframework.com/
                    
4 * @copyright Copyright (c) 2008 Yii Software LLC
                    
                
listCommand.php https://gitlab.com/florianocomercial/centreon | PHP | 232 lines
                    
1<?php
                    
2/*
                    
17 * 
                    
18 * Linking this program statically or dynamically with other modules is making a 
                    
19 * combined work based on this program. Thus, the terms and conditions of the GNU 
                    
22 * As a special exception, the copyright holders of this program give Centreon 
                    
23 * permission to link this program with independent modules to produce an executable, 
                    
24 * regardless of the license terms of these independent modules, and to copy and 
                    
25 * distribute the resulting executable under terms of Centreon choice, provided that 
                    
26 * Centreon also meet, for each linked independent module, the terms  and conditions 
                    
27 * of the license of that module. An independent module is a module which is not 
                    
39
                    
40include_once("./class/centreonUtils.class.php");
                    
41
                    
151            "RowMenu_type" => $commandType[$cmd["command_type"]],
                    
152            "RowMenu_huse" => "<a name='#' title='"._("Host links (host template links)")."'>".getHostNumberUse($cmd['command_id']) . " (".getHostTPLNumberUse($cmd['command_id']).")</a>",
                    
153            "RowMenu_suse" => "<a name='#' title='"._("Service links (service template links)")."'>".getServiceNumberUse($cmd['command_id']) . " (".getServiceTPLNumberUse($cmd['command_id']).")</a>",
                    
                
Normal.php https://gitlab.com/koutyan777/Genisys | PHP | 305 lines
                    
1<?php
                    
2
                    
21 * @author ImagicalMine Team
                    
22 * @link http://forums.imagicalcorp.ml/
                    
23 *
                    
                
xoops_version.php https://gitlab.com/BaseX/BaseX | PHP | 169 lines
                    
1<?php
                    
2// $Id: xoops_version.php 694 2006-09-04 11:33:22Z skalpa $
                    
3//  ------------------------------------------------------------------------ //
                    
4//                XOOPS - PHP Content Management System                      //
                    
5//                    Copyright (c) 2000 XOOPS.org                           //
                    
44$modversion['hasAdmin'] = 1;
                    
45$modversion['adminindex'] = "admin.php";
                    
46$modversion['adminmenu'] = "menu.php";
                    
47
                    
48$modversion['onUpdate'] = "include/update.php";
                    
49
                    
82// Blocks
                    
83$modversion['blocks'][1]['file'] = "system_blocks.php";
                    
84$modversion['blocks'][1]['name'] = _MI_SYSTEM_BNAME2;
                    
88
                    
89$modversion['blocks'][2]['file'] = "system_blocks.php";
                    
90$modversion['blocks'][2]['name'] = _MI_SYSTEM_BNAME3;
                    
                
MailboxHeader.php https://gitlab.com/dsasmita/talita-shop | PHP | 358 lines
                    
1<?php
                    
2
                    
70     *
                    
71     * This method returns an associative array like {@link getNameAddresses()}
                    
72     *
                    
88     * <code>
                    
89     * <?php
                    
90     * //Sets two mailboxes in the Header, one with a personal name
                    
116     * <code>
                    
117     * <?php
                    
118     * $header = new Swift_Mime_Headers_MailboxHeader('From',
                    
147     * <code>
                    
148     * <?php
                    
149     * $header = new Swift_Mime_Headers_MailboxHeader('From',
                    
175     * <code>
                    
176     * <?php
                    
177     * //Sets three email addresses as the Header data
                    
                
CakeTestFixture.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 328 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
                    
12 * @package       Cake.TestSuite.Fixture
                    
12 * @package       Cake.TestSuite.Fixture
                    
13 * @since         CakePHP(tm) v 1.2.0.4667
                    
14 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
34/**
                    
35 * CakePHP's DBO driver (e.g: DboMysql).
                    
36 *
                    
                
CommentFieldsTest.php https://gitlab.com/reasonat/test8 | PHP | 235 lines
                    
1<?php
                    
2
                    
92  /**
                    
93   * Tests link building with non-default comment field names.
                    
94   */
                    
94   */
                    
95  public function testCommentFieldLinksNonDefaultName() {
                    
96    $this->drupalCreateContentType(['type' => 'test_node_type']);
                    
127    // We want to check the attached drupalSettings of
                    
128    // \Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks. Therefore
                    
129    // we need a node listing, let's use views for that.
                    
135
                    
136    $link_info = $this->getDrupalSettings()['comment']['newCommentsLinks']['node']['comment2']['2'];
                    
137    $this->assertIdentical($link_info['new_comment_count'], 1);
                    
137    $this->assertIdentical($link_info['new_comment_count'], 1);
                    
138    $this->assertIdentical($link_info['first_new_comment_link'], $node->url('canonical', ['fragment' => 'new']));
                    
139  }
                    
                
rewrite.php https://bitbucket.org/zachisit/zachis.it-m.git | PHP | 425 lines
                    
87		//TODO: Watch out for ticket http://trac.wordpress.org/ticket/6627
                    
88		if ($wp_rewrite->using_permalinks() && $this->options['usePermalinks'] ) {
                    
89			$post = &get_post(get_the_ID());
                    
161	/**
                    
162	* The permalinks needs to be flushed after activation
                    
163	*/
                    
250            // create the meta link
                    
251 			$meta  = "\n<link rel='canonical' href='" . get_permalink() ."' />";
                    
252 			// add a filter for SEO plugins, so they can remove it
                    
282        $rewrite_rules = array();
                    
283        $permalink_structure =  $wp_rewrite->permalink_structure;      
                    
284		
                    
285        //get everything up to the first rewrite tag
                    
286		$front = substr($permalink_structure, 0, strpos($permalink_structure, '%'));
                    
287		//build an array of the tags (note that said array ends up being in $tokens[0])
                    
                
agregar_item.php https://gitlab.com/nino.simeon/sistema-bibliotecario-unjfsc | PHP | 221 lines
                    
7        <title>..::Sistema Bibliotecario::..</title>
                    
8        <link href="<?php echo base_url('public/css/temaBibliotecaBibliotecario.css'); ?>" rel="stylesheet" type="text/css" />
                    
9        <link href="<?php echo base_url('public/css/fresh_theme.css'); ?>" rel="stylesheet" type="text/css" />
                    
130            <div id="logeado" class="ui-widget-header">         
                    
131                <b><?php echo $sesion ['perfil_usuario']; ?>,</b> <?php echo $sesion ['apellidos_nombres']; ?> 
                    
132                <nav style="margin-right: 10px;float: right;">
                    
178                                            ?>
                    
179                                            <option value="<?php echo $value->soporte; ?>"><?php echo $value->soporte; ?></option><?php } ?>
                    
180                                    --></select></td>
                    
195                                            ?>
                    
196                                            <option value="<?php echo $value->codigo; ?>"><?php echo $value->nombre; ?></option><?php } ?>
                    
197                                    --></select></td>
                    
203                                            ?>
                    
204                                            <option value="<?php echo $value->origen; ?>"><?php echo $value->origen; ?></option><?php } ?>
                    
205                                    </select></td>
                    
                
DB_result.php https://gitlab.com/estratega.pe/quote | PHP | 666 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP
                    
6 *
                    
33 * @license	http://opensource.org/licenses/MIT	MIT License
                    
34 * @link	https://codeigniter.com
                    
35 * @since	Version 1.0.0
                    
48 * @author		EllisLab Dev Team
                    
49 * @link		https://codeigniter.com/user_guide/database/
                    
50 */
                    
                
mcu-cli.php https://gitlab.com/Slind/MCUpdater | PHP | 380 lines
                    
1#!/usr/bin/env php
                    
2<?php
                    
10 *    server jar.
                    
11 * 1) Copy the default config to 'mcu-cli-config.php'
                    
12 * 2) Edit your new config, updating at a minimum the pack url, server id,
                    
13 *    server jar, and memory settings.
                    
14 * 3) Execute mcu-cli.php and hope for the best :)
                    
15 *
                    
22
                    
23msg("MCU-CLI.php Starting...");
                    
24msg(date("r"));
                    
38// load config, copying from default if one is not found
                    
39$cfg_default_filename = "mcu-cli-config.default.php";
                    
40$cfg_filename = "mcu-cli-config.php";
                    
212					msg("      ! MD5 mismatch on downloaded file", true);
                    
213					unlink($tmp);
                    
214					return;
                    
                
DevelErrorHandlerTest.php https://gitlab.com/Drulenium-bot/devel | PHP | 213 lines
                    
1<?php
                    
2
                    
51    // Ensures that selecting the DEVEL_ERROR_HANDLER_NONE option no error
                    
52    // (raw or message) is shown on the site in case of php errors.
                    
53    $edit = [
                    
61
                    
62    $this->clickLink('notice+warning');
                    
63    $this->assertResponse(200, 'Received expected HTTP status code.');
                    
69    // Ensures that selecting the DEVEL_ERROR_HANDLER_BACKTRACE_KINT option a
                    
70    // backtrace above the rendered page is shown on the site in case of php
                    
71    // errors.
                    
80
                    
81    $this->clickLink('notice+warning');
                    
82    $this->assertResponse(200, 'Received expected HTTP status code.');
                    
86    // Ensures that selecting the DEVEL_ERROR_HANDLER_BACKTRACE_DPM option a
                    
87    // backtrace in the message area is shown on the site in case of php errors.
                    
88    $edit = [
                    
                
class-wc-report-taxes-by-date.php https://gitlab.com/campus-academy/krowkaramel | PHP | 264 lines
                    
34			href="#"
                    
35			download="report-<?php echo esc_attr( $current_range ); ?>-<?php echo date_i18n( 'Y-m-d', current_time( 'timestamp' ) ); ?>.csv"
                    
36			class="export_csv"
                    
212					<th class="total_row"><?php _e( 'Number of orders', 'woocommerce' ); ?></th>
                    
213					<th class="total_row"><?php _e( 'Total sales', 'woocommerce' ); ?> <?php echo wc_help_tip( __( "This is the sum of the 'Order total' field within your orders.", 'woocommerce' ) ); ?></th>
                    
214					<th class="total_row"><?php _e( 'Total shipping', 'woocommerce' ); ?> <?php echo wc_help_tip( __( "This is the sum of the 'Shipping total' field within your orders.", 'woocommerce' ) ); ?></th>
                    
215					<th class="total_row"><?php _e( 'Total tax', 'woocommerce' ); ?> <?php echo wc_help_tip( __( 'This is the total tax for the rate (shipping tax + product tax).', 'woocommerce' ) ); ?></th>
                    
216					<th class="total_row"><?php _e( 'Net profit', 'woocommerce' ); ?> <?php echo wc_help_tip( __( 'Total sales minus shipping and tax.', 'woocommerce' ) ); ?></th>
                    
217				</tr>
                    
230							<td class="total_row"><?php echo $tax_row->total_orders; ?></td>
                    
231							<td class="total_row"><?php echo wc_price( $gross ); ?></td>
                    
232							<td class="total_row"><?php echo wc_price( $tax_row->total_shipping ); ?></td>
                    
232							<td class="total_row"><?php echo wc_price( $tax_row->total_shipping ); ?></td>
                    
233							<td class="total_row"><?php echo wc_price( $total_tax ); ?></td>
                    
234							<td class="total_row"><?php echo wc_price( $gross - $total_tax ); ?></td>
                    
                
event.php https://gitlab.com/Alzakath/icagenda | PHP | 617 lines
                    
1<?php
                    
2/**
                    
10 * @author      Cyril Rezé (Lyr!C)
                    
11 * @link        http://www.joomlic.com
                    
12 *
                    
418	{
                    
419		// Get the list of feature ids to be linked to the event
                    
420		$features = isset($data['features']) && is_array($data['features']) ? implode(',', $data['features']) : '';
                    
499	/**
                    
500	 * Extracts the list of Feature IDs linked to the event and returns an array
                    
501	 *
                    
                
view-mybooking.tpl https://gitlab.com/zohaibsaleem/shipcliq | Smarty Template | 296 lines
                    
1<script type="text/javascript" src="{$tconfig.tsite_stylesheets}front/jquery.fancybox.js?v=2.1.5"></script>
                    
2<link rel="stylesheet" type="text/css" href="{$tconfig.tsite_stylesheets}{$THEME}/front/jquery.fancybox.css?v=2.1.5" media="screen" />
                    
3<div class="body-inner-part">
                    
53										<strong>{$smarty.const.LBL_BOOKER_DETAIL}</strong><br>
                    
54										{$smarty.const.LBL_NAME} : <a href="{$tconfig.tsite_url}index.php?file=c-user_profile&iMemberId={$db_ride_list[i].iBookerId}">{$db_ride_list[i].vBookerFirstName} {$db_ride_list[i].vBookerLastName}</a><br>
                    
55										{$smarty.const.LBL_PHONE} : {$db_ride_list[i].vBookerPhone}<br>
                    
58										<strong>{$smarty.const.LBL_DRIVER_DETAILS}</strong><br>
                    
59										{$smarty.const.LBL_NAME} : <a href="{$tconfig.tsite_url}index.php?file=c-user_profile&iMemberId={$db_ride_list[i].iDriverId}">{$db_ride_list[i].vDriverFirstName} {$db_ride_list[i].vDriverLastName}</a><br>
                    
60										{$smarty.const.LBL_PHONE} : {$db_ride_list[i].vDriverPhone}<br>
                    
141				{if $db_ride_list|@count gt 0}
                    
142				<div class="paging">{$page_link}</div>
                    
143			{/if} </div>
                    
265			if (r == true) {
                    
266				window.location = "{/literal}{$tconfig.tsite_url}{literal}index.php?file=m-booking_cancelation_form&id="+id;
                    
267				} else {
                    
                
production.js https://gitlab.com/pentacode/poweraire-erp | JavaScript | 351 lines
                    
52  },
                    
53  linkedin: {
                    
54    clientID: process.env.LINKEDIN_ID || 'APP_ID',
                    
54    clientID: process.env.LINKEDIN_ID || 'APP_ID',
                    
55    clientSecret: process.env.LINKEDIN_SECRET || 'APP_SECRET',
                    
56    callbackURL: '/api/auth/linkedin/callback'
                    
141        code: 'CURRENCY',
                    
142        value: 'PHP',
                    
143        descriptionOne: 'Philippines Peso',
                    
                
wpsc-swfupload-handlers.js https://gitlab.com/endomorphosis/reservationtelco | JavaScript | 348 lines
                    
43	else {
                    
44		jQuery('#media-item-' + fileObj.id).load('async-upload.php', {attachment_id:serverData, fetch:f}, function(){prepareMediaItemInit(fileObj);updateMediaForm()});
                    
45	}
                    
55
                    
56	// Also bind toggle to the links
                    
57	jQuery('#media-item-' + fileObj.id + ' a.toggle').bind('click', function(){jQuery(this).siblings('.slidetoggle').slideToggle(150, function(){var o=jQuery(this).offset();window.scrollTo(0,o.top-36);});jQuery(this).parent().eq(0).children('.toggle').toggle();jQuery(this).siblings('a.toggle').focus();return false;});
                    
61		// Tell the server to delete it. TODO: handle exceptions
                    
62		jQuery.ajax({url:'admin-ajax.php',type:'post',success:deleteSuccess,error:deleteError,id:fileObj.id,data:{
                    
63			id : this.id.replace(/[^0-9]/g,''),
                    
150		output_html += "	<div id='gallery_image_"+image_id+"' class='previewimage'>\n";
                    
151		output_html += "		<a class='thickbox' rel='product_extra_image_"+image_id+"' href='admin.php?wpsc_admin_action=crop_image&amp;imagename="+image_src+"&amp;imgheight=480&amp;imgwidth=600&amp;product_id=103&amp;width=640&amp;height=342' id='extra_preview_link_"+image_id+"'>\n";
                    
152		output_html += "		<img title='Preview' alt='Preview' src='"+WPSC_IMAGE_URL+image_src+"' class='previewimage'/>\n";
                    
195			postVars = "product_id="+product_id+"&order="+order;
                    
196			jQuery.post( 'index.php?wpsc_admin_action=rearrange_images', postVars, function(returned_data) {
                    
197					eval(returned_data);
                    
                
Binary.php https://gitlab.com/remyvianne/krowkaramel | PHP | 378 lines
                    
13 *
                    
14 * PHP version 5 and 7
                    
15 *
                    
20 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
                    
21 * @link      http://pear.php.net/package/Math_BigInteger
                    
22 */
                    
23
                    
24namespace phpseclib3\Crypt\EC\BaseCurves;
                    
25
                    
28use phpseclib3\Math\BigInteger;
                    
29use phpseclib3\Math\BinaryField\Integer as BinaryInteger;
                    
30
                    
34 * @package Binary
                    
35 * @author  Jim Wigginton <terrafrost@php.net>
                    
36 * @access  public
                    
                
README.md https://gitlab.com/danieldanielecki/ditectrev_v2 | Markdown | 227 lines
                    
77<!-- build:css css/tidy.css -->
                    
78<link rel="stylesheet" href="css/normalize.css">
                    
79<link rel="stylesheet" href="css/main.css">
                    
79<link rel="stylesheet" href="css/main.css">
                    
80<link rel="stylesheet" href="css/bootstrap.css">
                    
81<!-- /build -->
                    
122```js
                    
123// Remove unused CSS from URLs (php, node, etc.)
                    
124// (Note that`nonull` must be true, or else Grunt
                    
                
wizard.php https://gitlab.com/najomie/ljm | PHP | 175 lines
                    
34                        <div class="pods-wizard-content">
                    
35                            <p><?php _e( 'Custom Post Type UI provides an interface to create Custom Post Types and Custom Taxonomies. You can import these and their settings directly into Pods 2.0', 'pods' ); ?></p>
                    
36                        </div>
                    
63                        <div class="stuffbox">
                    
64                            <h3><label for="link_name"><?php _e( 'Choose Post Types to Import', 'pods' ); ?></label></h3>
                    
65
                    
71                                        <p class="pods-field-option-group-label">
                    
72                                            <?php _e( 'Available Post Types', 'pods' ); ?>
                    
73                                        </p>
                    
104                        <div class="stuffbox">
                    
105                            <h3><label for="link_name"><?php _e( 'Choose Taxonomies to Import', 'pods' ); ?></label></h3>
                    
106
                    
145                        <div id="pods-wizard-toolbar">
                    
146                            <a href="#start" id="pods-wizard-start" class="button button-secondary"><?php _e( 'Start Over', 'pods' ); ?></a> <a href="#next" id="pods-wizard-next" class="button button-primary" data-next="<?php esc_attr_e( 'Next Step', 'pods' ); ?>" data-finished="<?php esc_attr_e( 'Finished', 'pods' ); ?>" data-processing="<?php esc_attr_e( 'Processing', 'pods' ); ?>.."><?php _e( 'Next Step', 'pods' ); ?></a>
                    
147                        </div>
                    
                
ch14s16.html https://gitlab.com/GLORIA04/conception-site-web | HTML | 95 lines
                    
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Using background gradients</title><link rel="stylesheet" type="text/css" href="manual.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.0"><link rel="home" href="index.html" title="JpGraph Manual"><link rel="up" href="ch14.html" title="Chapter 14. Common features for all Cartesian (x,y) graph types"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Using background gradients</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center">Chapter 14. Common features for all Cartesian (x,y) graph types</th><td width="20%" align="right"> </td></tr></table><hr></div><div class="sect1" title="Using background gradients"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2552733"></a>Using background gradients</h2></div></div></div>
                    
2            
                    
83                    "<code class="filename">Examples/</code>" directory called
                    
84                        "<code class="filename">mkgrad.php</code>". Pointing the browser to this script will
                    
85                    show a basic form as shown in <a class="xref" href="ch14s16.html#fig.mkgrad" title='Figure 14.95. The "mkgrad" utiliy to create gradient images'>Figure 14.95. The "mkgrad" utiliy to create gradient images</a>. The script will
                    
                
html.php https://gitlab.com/Bartwillemsen/aurora-framework | PHP | 376 lines
                    
25	 *
                    
26	 *     // Generate a link to a JavaScript file and add some attributes
                    
27	 *     echo HTML::script('js/jquery.js', array('defer'));
                    
69
                    
70		return '<link href="'.$url.'"'.static::attributes($attributes).'>'.PHP_EOL;
                    
71	}
                    
148	 */
                    
149	public static function link_to_secure_asset($url, $title, $attributes = array())
                    
150	{
                    
150	{
                    
151		return static::link_to_asset($url, $title, $attributes, true);
                    
152	}
                    
367
                    
368		if (strpos($method, 'link_to_') === 0) {
                    
369			array_unshift($parameters, substr($method, 8));
                    
                
fckeditor.css https://gitlab.com/ptisky/API_prestashop | CSS | 536 lines
                    
10}

                    
11a,a:link,a:visited{color: #001C4D; text-decoration:none;}

                    
12a:hover,a:active,a:visited:hover{color: #FF6131; text-decoration:none;}

                    
143

                    
144#linkSearch{

                    
145float:right;

                    
153}

                    
154#linkClose{

                    
155float:left;

                    
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);}

                    
                
dhd_sec_feature.h https://gitlab.com/SerenityS/slteskt_kernel | C Header | 291 lines
                    
8 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
10 * following added to such license:
                    
12 *      As a special exception, the copyright holders of this software give you
                    
13 * permission to link this software with independent modules, and to copy and
                    
14 * distribute the resulting executable under terms of your choice, provided that
                    
14 * distribute the resulting executable under terms of your choice, provided that
                    
15 * you also meet, for each linked independent module, the terms and conditions of
                    
16 * the license of that module.  An independent module is a module which is not
                    
                
field_link_color.php https://gitlab.com/eita/agencia-consumo-responsavel | PHP | 207 lines
                    
1<?php
                    
2
                    
28// Don't duplicate me!
                    
29if ( ! class_exists( 'ReduxFramework_link_color' ) ) {
                    
30
                    
31    /**
                    
32     * Main ReduxFramework_link_color class
                    
33     *
                    
35     */
                    
36    class ReduxFramework_link_color {
                    
37
                    
115                'redux-field-link-color-js',
                    
116                ReduxFramework::$_url . 'inc/fields/link_color/field_link_color' . Redux_Functions::isMin() . '.js',
                    
117                array( 'jquery', 'wp-color-picker', 'redux-js' ),
                    
126                    'redux-field-link_color-js',
                    
127                    ReduxFramework::$_url . 'inc/fields/link_color/field_link_color.css',
                    
128                    array(),
                    
                
yandex_setup.php https://gitlab.com/Rad1calDreamer/honey | PHP | 463 lines
                    
2//<title>Yandex</title>
                    
3IncludeModuleLangFile($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/catalog/export_setup_templ.php');
                    
4
                    
134		"TITLE"=>GetMessage("CATI_ADM_RETURN_TO_LIST_TITLE"),
                    
135		"LINK"=>"/bitrix/admin/cat_export_setup.php?lang=".LANGUAGE_ID,
                    
136		"ICON"=>"btn_list",
                    
198		),
                    
199		"ClearSelected(); BX('id_ifr').src='/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID=0&'+'".bitrix_sessid_get()."';",
                    
200		"ClearSelected(); BX('id_ifr').src='/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID='+this[this.selectedIndex].value+'&'+'".bitrix_sessid_get()."';",
                    
358	</script>
                    
359	<iframe src="/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID=<?=intval($IBLOCK_ID)?>&<? echo bitrix_sessid_get(); ?>" id="id_ifr" name="ifr" style="display:none"></iframe>
                    
360	</td>
                    
373				var obDetailWindow = new BX.CAdminDialog({
                    
374					'content_url': '/bitrix/tools/catalog_export/yandex_detail.php?lang=<?=LANGUAGE_ID?>&bxpublic=Y&IBLOCK_ID=' + s[s.selectedIndex].value,
                    
375					'content_post': 'XML_DATA='+BX.util.urlencode(dat.value)+'&'+'<?echo bitrix_sessid_get(); ?>',
                    
                
tikiimporter_blog.php https://gitlab.com/ElvisAns/tiki | PHP | 475 lines
                    
1<?php
                    
2
                    
17
                    
18require_once('tikiimporter.php');
                    
19
                    
91
                    
92        echo "\n\n<b>" . tra('<a href="tiki-importer.php">Click here</a> to finish the import process') . '</b>';
                    
93        flush();
                    
183    /**
                    
184     * Insert a page or post and its comments and link it with
                    
185     * categories and tags.
                    
207            if (! empty($item['tags'])) {
                    
208                $this->linkObjectWithTags($objId, $type, $item['tags']);
                    
209            }
                    
211            if (! empty($item['categories'])) {
                    
212                $this->linkObjectWithCategories($objId, $type, $item['categories']);
                    
213            }
                    
                
Videos.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 272 lines
                    
1<?php
                    
2/*
                    
49   * channel. The actual CMS account that the user authenticates with must be
                    
50   * linked to the specified YouTube content owner.
                    
51   */
                    
72   * without having to provide authentication credentials for each individual
                    
73   * channel. The CMS account that the user authenticates with must be linked to
                    
74   * the specified YouTube content owner.
                    
107   * without having to provide authentication credentials for each individual
                    
108   * channel. The CMS account that the user authenticates with must be linked to
                    
109   * the specified YouTube content owner.
                    
116   * with that parameter. In addition, the request must be authorized using a CMS
                    
117   * account that is linked to the content owner that the onBehalfOfContentOwner
                    
118   * parameter specifies. Finally, the channel that the
                    
118   * parameter specifies. Finally, the channel that the
                    
119   * onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
                    
120   * content owner that the onBehalfOfContentOwner parameter specifies. This
                    
                
SmtpTransport.php https://gitlab.com/grlopez90/servipro | PHP | 375 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 * @package       Cake.Network.Email
                    
14 * @package       Cake.Network.Email
                    
15 * @since         CakePHP(tm) v 2.0.0
                    
16 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
                
QueryBuilder.php https://gitlab.com/makkooz/nikestreetbeat | PHP | 260 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @link http://www.yiiframework.com/
                    
4 * @copyright Copyright (c) 2008 Yii Software LLC
                    
207     *
                    
208     * ```php
                    
209     * $sql = $queryBuilder->batchInsert('user', ['name', 'age'], [
                    
                
sale_note_ticket.blade.php https://gitlab.com/laher01/factu40 | PHP | 216 lines
                    
1@php
                    
2    $establishment = $document->establishment;
                    
8
                    
9@endphp
                    
10<html>
                    
12    {{--<title>{{ $tittle }}</title>--}}
                    
13    {{--<link href="{{ $path_style }}" rel="stylesheet" />--}}
                    
14</head>
                    
203    <tr><td><strong>PAGOS:</strong> </td></tr>
                    
204    @php
                    
205        $payment = 0;
                    
205        $payment = 0;
                    
206    @endphp
                    
207    @foreach($payments as $row)
                    
208        <tr><td>- {{ $row->date_of_payment->format('d/m/Y') }} - {{ $row->payment_method_type->description }} - {{ $row->reference ? $row->reference.' - ':'' }} {{ $document->currency_type->symbol }} {{ $row->payment }}</td></tr>
                    
209        @php
                    
210            $payment += (float) $row->payment;
                    
                
pageTranslations.php https://gitlab.com/macitsimsek/fastsubtitle | PHP | 217 lines
                    
1<?php
                    
2
                    
36    'agree_to_terms'        => 'I Agree to Terms',
                    
37    'forgot_email_message'  => 'Please Enter Your Sign Up E-mail. Reset Link Will Sent Your E-mail.',
                    
38    'email_address'         => 'E-mail Adress',
                    
87    'get_new_trailer'       => 'Get New Trailer',
                    
88    'new_picture_link'      => 'New Picture Link',
                    
89    'enter_a_new_picture_link'       => 'Enter a New Picture Link',
                    
89    'enter_a_new_picture_link'       => 'Enter a New Picture Link',
                    
90    'new_trailer_link'      => 'New Trailer Link',
                    
91    'enter_a_new_trailer_link'       => 'Enter a New Trailer Link',
                    
128    'most_requested_subtitles'        => 'Most Requested Subtitles',
                    
129    'click_for_link'        => 'Click For Link',
                    
130    'enter_to_fast_subtitle_com'  => 'Enter to FastSubtitle.com',
                    
                
date_helper.php https://gitlab.com/ricoru21/py_incidencia | PHP | 611 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
10 * @license		http://codeigniter.com/user_guide/license.html
                    
11 * @link		http://codeigniter.com
                    
12 * @since		Version 1.0
                    
24 * @author		ExpressionEngine Dev Team
                    
25 * @link		http://codeigniter.com/user_guide/helpers/date_helper.html
                    
26 */
                    
68 *
                    
69 * This function is identical to PHPs date() function,
                    
70 * except that it allows date codes to be formatted using
                    
609
                    
610/* End of file date_helper.php */
                    
611/* Location: ./system/helpers/date_helper.php */
                    
                
BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @link http://www.yiiframework.com/
                    
4 * @copyright Copyright (c) 2008 Yii Software LLC
                    
56        if ($highlight) {
                    
57            $result = highlight_string("<?php\n" . self::$_output, true);
                    
58            self::$_output = preg_replace('/&lt;\\?php<br \\/>/', '', $result, 1);
                    
119                    self::$_output .= "$className#$id\n" . $spaces . '(';
                    
120                    if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) {
                    
121                        $dumpValues = $var->__debugInfo();
                    
141     *
                    
142     * The string is a valid PHP expression that can be evaluated by PHP parser
                    
143     * and the evaluation result will give back the variable value.
                    
147     *
                    
148     * It also handles objects by using the PHP functions serialize() and unserialize().
                    
149     *
                    
                
Curl.php https://gitlab.com/yousafsyed/easternglamor | PHP | 453 lines
                    
1<?php
                    
2/**
                    
24    protected $mappingData = [
                    
25        'links_purchased_separately' => [
                    
26            'Yes' => 1,
                    
156     *
                    
157     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
158     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
175     *
                    
176     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
177     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
308     *
                    
309     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
310     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
345     *
                    
346     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
347     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
                
Curl.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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
                    
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 */
                    
157        if (is_file(self::COOKIE_FILE)) {
                    
158            @unlink(self::COOKIE_FILE);
                    
159        }
                    
252     *
                    
253     * @param string $uri uri relative to host, ex. "/index.php"
                    
254     */
                    
                
template.php https://gitlab.com/alexprowars/bitrix | PHP | 409 lines
                    
81				?>
                    
82				<a class="mr-4" href="<?=$APPLICATION->GetCurPageParam("filter_history=Y", $clearFromLink, false)?>"><?echo Loc::getMessage("SPOL_TPL_VIEW_ORDERS_HISTORY")?></a>
                    
83				<?
                    
92					?>
                    
93					<a class="mr-4" href="<?=$APPLICATION->GetCurPageParam("filter_history=Y", $clearFromLink, false)?>"><?echo Loc::getMessage("SPOL_TPL_VIEW_ORDERS_HISTORY")?></a>
                    
94					<?
                    
98					?>
                    
99					<a class="mr-4" href="<?=$APPLICATION->GetCurPageParam("filter_history=Y&show_canceled=Y", $clearFromLink, false)?>"><?echo Loc::getMessage("SPOL_TPL_VIEW_ORDERS_CANCELED")?></a>
                    
100					<?
                    
245										$title = Loc::getMessage('SPOL_CHECK_NUM', array('#CHECK_NUMBER#' => $checkInfo['ID']))." - ". htmlspecialcharsbx($checkInfo['TYPE_NAME']);
                    
246										if($checkInfo['LINK'] <> '')
                    
247										{
                    
247										{
                    
248											$link = $checkInfo['LINK'];
                    
249											$listCheckLinks .= "<div><a href='$link' target='_blank'>$title</a></div>";
                    
                
fa.inc.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 313 lines
                    
1<?php
                    
2$translations = array(
                    
16	'No extension' => 'پسوند نامعتبر',
                    
17	'None of the supported PHP extensions (%s) are available.' => ' پسوند پی اچ پی در دسترس نیست (%s) تعداد',
                    
18	'Session support must be enabled.' => 'پشتيباني از نشست بايستي فعال گردد',
                    
19	'Session expired, please login again.' => 'نشست پايان يافته، لطفا دوباره وارد شويد',
                    
20	'%s version: %s through PHP extension %s' => 'نسخه %s : %s توسعه پی اچ پی %s',
                    
21	'Refresh' => 'بازيابي',
                    
89	
                    
90	// link to current database schema layout
                    
91	'Permanent link' => 'ارتباط دائم',
                    
239	// in-place editing in select
                    
240	'Use edit link to modify this value.' => 'از لینک ویرایش برای ویرایش این مقدار استفاده کنید',
                    
241	
                    
                
Loader.php https://gitlab.com/r.collas/site_central | PHP | 548 lines
                    
1<?php
                    
2/**
                    
9 * @license    http://www.ybellu.com/yab-framework/license.html
                    
10 * @link       http://www.ybellu.com/yab-framework 
                    
11 */
                    
12
                    
13require_once 'Exception.php';
                    
14
                    
167
                    
168		return str_replace('_', DIRECTORY_SEPARATOR, $class_name).'.php';
                    
169
                    
275		$space = $is_cli ? ' ' : '&nbsp;';
                    
276		$crlf = $is_cli ? PHP_EOL : '<br />';
                    
277		
                    
302
                    
303		if($this->getRequest()->isCli() || PHP_VERSION < '5.3')
                    
304			return print_r($var, true);
                    
                
settings-postpage.php https://gitlab.com/vanafroo/landingpage | PHP | 284 lines
                    
1<?php
                    
2
                    
175
                    
176//Link Color (Regular)
                    
177$wp_customize->add_setting( 'optimizer[link_color_id]', array(
                    
183
                    
184			$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'link_color_id', array(
                    
185				'label' => __('Link Color (Regular)','optimizer'),
                    
186				'section' => 'postpage_color_section',
                    
187				'settings' => 'optimizer[link_color_id]',
                    
188			) ) );
                    
189
                    
190//Link Color (HOVER)
                    
191$wp_customize->add_setting( 'optimizer[link_color_hover]', array(
                    
197
                    
198			$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'link_color_hover', array(
                    
199				'label' => __('Links Color (Hover)','optimizer'),
                    
                
WARCReader.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 290 lines
                    
43 * WARCReader.
                    
44 * Go via {@link WARCReaderFactory} to get instance.
                    
45 * @author stack
                    
186     * <p>Outputs using a pseudo-CDX format as described here:
                    
187     * <a href="http://www.archive.org/web/researcher/cdx_legend.php">CDX
                    
188     * Legent</a> and here
                    
188     * Legent</a> and here
                    
189     * <a href="http://www.archive.org/web/researcher/example_cdx.php">Example</a>.
                    
190     * Legend used in below is: 'CDX b e a m s c V (or v if uncompressed) n g'.
                    
                
imagepicker.php https://gitlab.com/che234/adn | PHP | 267 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version   $Id: imagepicker.php 11812 2013-06-27 17:49:30Z djamil $
                    
4 * @author    RocketTheme http://www.rockettheme.com
                    
28		$this->value = str_replace("'", '"', str_replace('\\', '', $this->value));
                    
29		$link = $this->options['mediamanager']['attributes']['value'];
                    
30
                    
32			$link = $this->options['mediamanager']['attributes']['value'];
                    
33			$this->value = '{"type":"mediamanager","path":"","preview":"","link":"'.$link.'"}';
                    
34		}
                    
39		} else if (!preg_match("/[{]/", $this->value)){
                    
40			$this->value = '{"type":"mediamanager","path":"'.$this->value.'","preview":"","link":"'.$link.'"}';
                    
41		}
                    
44		if (empty($this->data->path) && !preg_match("/^-([a-z]{1,})-$/", $this->value)) $this->value = "";
                    
45		if (isset($this->data->link)) $link = $this->data->link;
                    
46
                    
                
SnsClient.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 378 lines
                    
1<?php
                    
2
                    
6
                    
7w3_require_once(W3TC_LIB_W3_DIR . '/Enterprise/SnsBase.php');
                    
8
                    
182    /**
                    
183     * Reloads/compiles a PHP file.
                    
184     * @param string $filename
                    
191    /**
                    
192     * Reloads/compiles a PHP file.
                    
193     * @param string[] $filenames
                    
244    /**
                    
245     * Makes get request to url specific to post, ie permalinks
                    
246     * @param $post_id
                    
                
GetCharactersCharacterIdMailMailIdOk.php https://gitlab.com/mglinski/php-esi-lib | PHP | 394 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP version 5
                    
6 *
                    
10 * @license  http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
                    
11 * @link     https://github.com/swagger-api/swagger-codegen
                    
12 */
                    
54 * @license     http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
                    
55 * @link        https://github.com/swagger-api/swagger-codegen
                    
56 */
                    
                
makeXMLForOneService.php https://gitlab.com/florianocomercial/centreon | PHP | 287 lines
                    
1<?php
                    
2/*
                    
17 *
                    
18 * Linking this program statically or dynamically with other modules is making a
                    
19 * combined work based on this program. Thus, the terms and conditions of the GNU
                    
22 * As a special exception, the copyright holders of this program give Centreon
                    
23 * permission to link this program with independent modules to produce an executable,
                    
24 * regardless of the license terms of these independent modules, and to copy and
                    
25 * distribute the resulting executable under terms of Centreon choice, provided that
                    
26 * Centreon also meet, for each linked independent module, the terms  and conditions
                    
27 * of the license of that module. An independent module is a module which is not
                    
38 */
                    
39require_once realpath(dirname(__FILE__) . "/../../../../../../config/centreon.config.php");
                    
40
                    
40
                    
41include_once $centreon_path . "www/class/centreonUtils.class.php";
                    
42
                    
                
Cloud.php https://gitlab.com/yousafsyed/easternglamor | PHP | 410 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26#require_once 'Zend/Tag/Item.php';
                    
27
                    
134     * array should at least contain the keys 'title' and 'weight'. Optionally
                    
135     * you may supply the key 'url', to which the tag links to. Any additional
                    
136     * parameter in the array is silently ignored and can be used by custom
                    
152            } else {
                    
153                #require_once 'Zend/Tag/Cloud/Exception.php';
                    
154                throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');
                    
174        } else {
                    
175            #require_once 'Zend/Tag/Cloud/Exception.php';
                    
176            throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array');
                    
203        if (null === $this->_tags) {
                    
204            #require_once 'Zend/Tag/ItemList.php';
                    
205            $this->setItemList(new Zend_Tag_ItemList());
                    
                
FilesystemTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 240 lines
                    
182     */
                    
183    public function testUnlinkSymlinkedDirectory()
                    
184    {
                    
186        $basepath  = $tmp . "/composer_testdir";
                    
187        $symlinked = $basepath . "/linked";
                    
188        @mkdir($basepath . "/real", 0777, true);
                    
201        $fs     = new Filesystem();
                    
202        $result = $fs->unlink($symlinked);
                    
203        $this->assertTrue($result);
                    
216        $symlinked              = $basepath . "/linked";
                    
217        $symlinkedTrailingSlash = $symlinked . "/";
                    
218
                    
218
                    
219        $result = @symlink($basepath . "/real", $symlinked);
                    
220
                    
                
 

Source

Language