PageRenderTime 1440ms queryTime 92ms sortTime 755ms getByIdsTime 41ms findMatchingLines 64ms

100+ results results for 'php link repo:DigitalPaulScholtenProject/DPSP-Platform' (1440 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     */
                    
                
Pager.php https://github.com/cawago/ci_campusync_auth.git | PHP | 576 lines
                    
1<?php
                    
2/*
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
29 * @version     $Revision$
                    
30 * @link        www.phpdoctrine.org
                    
31 * @since       0.9
                    
                
StorageServiceSettings.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 485 lines
                    
1<?php
                    
2
                    
14 * 
                    
15 * PHP version 5
                    
16 *
                    
18 * @package   WindowsAzure\Common\Internal
                    
19 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
20 * @copyright 2012 Microsoft Corporation
                    
21 * @license   http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
                    
22 * @link      https://github.com/windowsazure/azure-sdk-for-php
                    
23 */
                    
35 * @package   WindowsAzure\Common\Internal
                    
36 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
37 * @copyright 2012 Microsoft Corporation
                    
39 * @version   Release: @package_version@
                    
40 * @link      https://github.com/windowsazure/azure-sdk-for-php
                    
41 */
                    
                
header.tmpl.php https://github.com/harriswong/ATutor.git | PHP | 237 lines
                    
57	<link rel="alternate" type="application/rss+xml" title="<?php echo SITE_NAME; ?> - RSS 2.0" href="<?php echo $this->base_path; ?>get_rss.php?<?php echo $_SESSION['course_id']; ?>-2" />
                    
58	<link rel="alternate" type="application/rss+xml" title="<?php echo SITE_NAME; ?> - RSS 1.0" href="<?php echo $this->base_path; ?>get_rss.php?<?php echo $_SESSION['course_id']; ?>-1" />
                    
59	<?php endif; ?>
                    
160				<?php else: ?>
                    
161					<li><a href="<?php echo $page['url']; ?>" <?php echo $accesskey_text; ?> title="<?php echo $page['title'] . $accesskey_title; ?>"><?php echo $page['title']; ?></a></li>
                    
162				<?php endif; ?>
                    
219		<?php if ($this->sequence_links['resume']): ?>
                    
220				<a style="color:white;" href="<?php echo $this->sequence_links['resume']['url']; ?>" accesskey="."><img src="<?php echo $this->img; ?>resume.gif" border="0" title="<?php echo _AT('resume').': '.$this->sequence_links['resume']['title']; ?> Alt+." alt="<?php echo $this->sequence_links['resume']['title']; ?> Alt+." class="img-size-ascdesc" /></a>
                    
221		<?php else:
                    
222			if ($this->sequence_links['previous']): ?>
                    
223				<a href="<?php echo $this->sequence_links['previous']['url']; ?>" title="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," accesskey=","><img src="<?php echo $this->img; ?>previous.gif" border="0" alt="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," class="img-size-ascdesc" /></a>
                    
224			<?php endif;
                    
225			if ($this->sequence_links['next']): ?>
                    
226				<a href="<?php echo $this->sequence_links['next']['url']; ?>" title="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." accesskey="."><img src="<?php echo $this->img; ?>next.gif" border="0" alt="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." class="img-size-ascdesc" /></a>
                    
227			<?php endif; ?>
                    
                
rewrite.php https://bitbucket.org/murtuza88/carolina-home-stone.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])
                    
                
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			/>
                    
                
MaildirFolderTest.php https://github.com/mfairchild365/zf2.git | PHP | 444 lines
                    
1<?php
                    
2/**
                    
36 */
                    
37class MaildirFolderTest extends \PHPUnit_Framework_TestCase
                    
38{
                    
112                    }
                    
113                    unlink($entry);
                    
114                }
                    
203        try {
                    
204            // explicit call of __toString() needed for PHP < 5.2
                    
205            $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder');
                    
235
                    
236            // explicit call of __toString() needed for PHP < 5.2
                    
237            $found_folders[$folder->__toString()] = $localName;
                    
257
                    
258            // explicit call of __toString() needed for PHP < 5.2
                    
259            $found_folders[$folder->__toString()] = $localName;
                    
                
InstallSchema.php https://gitlab.com/crazybutterfly815/magento2 | 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(
                    
                
permissions.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
61$_lang['perm.edit_user_desc'] = 'Benutzer bearbeiten.';
                    
62$_lang['perm.element_tree_desc'] = 'Den Elemente-Baum im linken Navigations-Bereich anzeigen.';
                    
63$_lang['perm.empty_cache_desc'] = 'Den Site-Cache leeren.';
                    
70$_lang['perm.file_remove_desc'] = 'Dateien löschen.';
                    
71$_lang['perm.file_tree_desc'] = 'Den Dateibaum im linken Navigations-Bereich anzeigen.';
                    
72$_lang['perm.file_update_desc'] = 'Den Inhalt von Dateien ändern.';
                    
106$_lang['perm.new_static_resource_desc'] = 'Neue statische Ressourcen anlegen.';
                    
107$_lang['perm.new_symlink_desc'] = 'Neue Symlinks anlegen.';
                    
108$_lang['perm.new_template_desc'] = 'Neue Templates anlegen.';
                    
110$_lang['perm.new_user_desc'] = 'Neue Benutzer anlegen.';
                    
111$_lang['perm.new_weblink_desc'] = 'Neue Weblinks anlegen.';
                    
112$_lang['perm.packages_desc'] = 'Transport-Packages in der Package-Verwaltung benutzen.';
                    
137$_lang['perm.resource_duplicate_desc'] = 'Ressourcen duplizieren.';
                    
138$_lang['perm.resource_quick_create_desc'] = '"Ressource schnell erstellen" im Ressourcen-Baum auf der linken Seite nutzen zu können.';
                    
139$_lang['perm.resource_quick_update_desc'] = '"Ressource schnell bearbeiten" im Ressourcen-Baum auf der linken Seite nutzen zu können.';
                    
                
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.
                    
                
class-wp-terms-list-table.php https://github.com/jimmytidey/jimmytidey.co.uk.git | 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;
                    
                
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'),
                    
                
index_002.php https://github.com/robert-fu-berlin/Exercises-Web-based-Information-Systems.git | PHP | 458 lines
                    
157
                    
158 quicklinkbox : null,
                    
159 quicklinkdest : null,
                    
271      marker = { lat:0, lon:0 },
                    
272      link, links, coordinates, quicklinkbox,
                    
273      key, len, coord_title, coord_params, icons, startTime, zoomlevel, content, mapbutton;
                    
321  {
                    
322   link = links[key];
                    
323
                    
326
                    
327   if( link.className !== 'external text'  ||
                    
328       link.href.match(/_globe:(?!earth)/i) !== null ) { continue; }
                    
384   // link.parentNode.insertBefore(mapbutton, link.nextSibling);
                    
385   link.parentNode.insertBefore(mapbutton,link);
                    
386   w.hookUpMapbutton(mapbutton);
                    
                
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.
                    
                
CakeRoute.php https://bitbucket.org/luobailiang/cake.git | PHP | 506 lines
                    
1<?php
                    
2/**
                    
8 *
                    
9 * PHP5
                    
10 *
                    
10 *
                    
11 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
12 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
17 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
18 * @link          http://cakephp.org CakePHP(tm) Project
                    
19 * @package       Cake.Routing.Route
                    
19 * @package       Cake.Routing.Route
                    
20 * @since         CakePHP(tm) v 1.3
                    
21 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
                
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 */
                    
                
pearcmd.php https://github.com/ianbogda/FileZ.git | PHP | 445 lines
                    
15 * @version    CVS: $Id: pearcmd.php 286487 2009-07-29 05:57:28Z dufuz $
                    
16 * @link       http://pear.php.net/package/PEAR
                    
17 */
                    
59if (!isset($_SERVER['argv']) && !isset($argv) && !isset($HTTP_SERVER_VARS['argv'])) {
                    
60    echo 'ERROR: either use the CLI php executable, or set register_argc_argv=On in php.ini';
                    
61    exit(1);
                    
132// this is used in the error handler to retrieve a relative path
                    
133$_PEAR_PHPDIR = $config->get('php_dir');
                    
134$ui->setConfig($config);
                    
166                );
                    
167                $config->set('php_dir', $pearbase . DIRECTORY_SEPARATOR . 'php');
                    
168                $config->set('data_dir', $pearbase . DIRECTORY_SEPARATOR . 'data');
                    
377        return "PEAR Version: ".$GLOBALS['pear_package_version'].
                    
378               "\nPHP Version: ".phpversion().
                    
379               "\nZend Engine Version: ".zend_version().
                    
                
ZMO.php https://github.com/ThiloWitt/core.git | PHP | 548 lines
                    
1<?php
                    
2/**
                    
8 *
                    
9 * @link http://www.zikula.org
                    
10 * @license GNU/GPLv3 (or at your option, any later version).
                    
18 * It can read MO files and use them for translating strings.
                    
19 * The files are passed to gettext_reader as a Stream (see streams.php)
                    
20 *
                    
148        if ($magic == -1794895138 || $magic == 2500072158) {
                    
149            // (int)0x950412de; PHP 5.2 wont convert this properly
                    
150            $this->byteorder = 0;
                    
151        } elseif ($magic == -569244523 || $magic == 3725722773) {
                    
152            // (int)0xde120495; PHP 5.2 wont convert this properly
                    
153            $this->byteorder = 1;
                    
                
CookieJar.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 441 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage CookieJar
                    
18 * @version    $Id: CookieJar.php 24856 2012-06-01 01:10:47Z adamlundrigan $
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
25 */
                    
26require_once "Zend/Uri.php";
                    
27/**
                    
29 */
                    
30require_once "Zend/Http/Cookie.php";
                    
31/**
                    
33 */
                    
34require_once "Zend/Http/Response.php";
                    
35
                    
51 *
                    
52 * @link       http://wp.netscape.com/newsref/std/cookie_spec.html for some specs.
                    
53 *
                    
                
edit.php https://github.com/thisduck/wordpress.git | PHP | 294 lines
                    
163<?php screen_icon(); ?>
                    
164<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php
                    
165if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
                    
170if ( isset($_REQUEST['posted']) && $_REQUEST['posted'] ) : $_REQUEST['posted'] = (int) $_REQUEST['posted']; ?>
                    
171<div id="message" class="updated"><p><strong><?php _e('This has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_REQUEST['posted'] ); ?>"><?php _e('View Post'); ?></a> | <a href="<?php echo get_edit_post_link( $_REQUEST['posted'] ); ?>"><?php _e('Edit Post'); ?></a></p></div>
                    
172<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('posted'), $_SERVER['REQUEST_URI']);
                    
238		$class = ' class="current"';
                    
239	$status_links[] = "<li><a href='edit.php?post_type=$post_type&author=$current_user->ID'$class>" . sprintf( _nx( 'Mine <span class="count">(%s)</span>', 'Mine <span class="count">(%s)</span>', $user_posts_count, 'posts' ), number_format_i18n( $user_posts_count ) ) . '</a>';
                    
240	$allposts = '&all_posts=1';
                    
249$class = empty($class) && empty($_REQUEST['post_status']) ? ' class="current"' : '';
                    
250$status_links[] = "<li><a href='edit.php?post_type=$post_type{$allposts}'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_posts, 'posts' ), number_format_i18n( $total_posts ) ) . '</a>';
                    
251
                    
265
                    
266	$status_links[] = "<li><a href='edit.php?post_status=$status_name&amp;post_type=$post_type'$class>" . sprintf( _n( $status->label_count[0], $status->label_count[1], $num_posts->$status_name ), number_format_i18n( $num_posts->$status_name ) ) . '</a>';
                    
267}
                    
                
view.html.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 496 lines
                    
1<?php
                    
2/**
                    
93			// If the current view is the active item and a contact view for this contact, then the menu item params take priority
                    
94			if (strpos($active->link, 'view=contact') && strpos($active->link, '&id=' . (int) $item->id))
                    
95			{
                    
161		{
                    
162			$item->email_to = JHtml::_('email.cloak', $item->email_to, (bool) $item->params->get('add_mailto_link', true));
                    
163		}
                    
277
                    
278		// Add links to contacts
                    
279		if ($item->params->get('show_contact_list') && count($contacts) > 1)
                    
282			{
                    
283				$contact->link = JRoute::_(ContactHelperRoute::getContactRoute($contact->slug, $contact->catid), false);
                    
284			}
                    
353		// If it is the active menu item, then the view and item id will match
                    
354		if ((!$active) || ((strpos($active->link, 'view=contact') === false) || (strpos($active->link, '&id=' . (string) $this->item->id) === false)))
                    
355		{
                    
                
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';
                    
                
menu.php https://github.com/Manuite/FUEL-CMS.git | PHP | 438 lines
                    
156			<td>None</td>
                    
157			<td>The HTML element between the links</td>
                    
158		</tr>
                    
165		<tr>
                    
166			<td>home_link</td>
                    
167			<td>Home</td>
                    
168			<td>None</td>
                    
169			<td>The root home link. If value is an array, the key of array is the link and the value is the label</td>
                    
170		</tr>
                    
198	<li><strong>label</strong> - the text label to display for the menu item</li>
                    
199	<li><strong>location</strong> -  the link location of the menu item. If none is specified, the array key value will be used</li>
                    
200	<li><strong>attributes</strong> - additional HTML link attributes (e.g. target="_blank") to assign to the menu item</li>
                    
208<p>Below is an common example:</p>
                    
209<pre class="brush: php">
                    
210$nav = array();
                    
                
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>
                    
                
index.php https://github.com/shamilcm/wireus.git | PHP | 291 lines
                    
4
                    
5<?php 
                    
6
                    
8        if($_SESSION['authuser']!=1)
                    
9                header("Location:../index.php");
                    
10      ?>  
                    
13<head>
                    
14<link rel="icon" 
                    
15      href="../favicon.ico">
                    
15      href="../favicon.ico">
                    
16</link>
                    
17<title> Wireus </title>
                    
18
                    
19<link rel="stylesheet" type="text/css" href="../themes/style2.css" />
                    
20<script type="text/javascript" src="../js/jquery.js"></script>
                    
                
sbhnddma.h https://github.com/Entropy512/linux_kernel_sgh-i997r.git | C Header | 343 lines
                    
9 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
10 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
11 * following added to such license:
                    
13 *      As a special exception, the copyright holders of this software give you
                    
14 * permission to link this software with independent modules, and to copy and
                    
15 * distribute the resulting executable under terms of your choice, provided that
                    
15 * distribute the resulting executable under terms of your choice, provided that
                    
16 * you also meet, for each linked independent module, the terms and conditions of
                    
17 * the license of that module.  An independent module is a module which is not
                    
                
lang.php https://github.com/godber/PHXdata-Website.git | PHP | 186 lines
                    
53$lang['htmlok']                = 'Permitir embeber HTML';
                    
54$lang['phpok']                 = 'Permitir embeber PHP';
                    
55$lang['dformat']               = 'Formato de Data (ver função PHP\'s <a href="http://www.php.net/strftime">strftime</a>)';
                    
68$lang['indexdelay']            = 'Tempo de espera antes da indexação (seg)';
                    
69$lang['relnofollow']           = 'Usar rel="nofollow" em links externos';
                    
70$lang['mailguard']             = 'Obscurecer endereços de email';
                    
122$lang['rss_type']              = 'Tipo de feed XML';
                    
123$lang['rss_linkto']            = 'Links de feed XML ara';
                    
124$lang['rss_content']           = 'O que deve ser exibido nos itens do alimentador XML?';
                    
129$lang['target____interwiki']   = 'Parâmetro "target" para links entre wikis';
                    
130$lang['target____extern']      = 'Parâmetro "target" para links externos';
                    
131$lang['target____media']       = 'Parâmetro "target" para links de media';
                    
180$lang['showuseras_o_email']    = 'Endereço email do utilizador (ofuscado de acordo com a configuração mailguard)';
                    
181$lang['showuseras_o_email_link'] = 'Endereço de e-mail de usuário como um link "mailto:"';
                    
182$lang['useheading_o_0']        = 'Nunca';
                    
                
Controller.php https://github.com/quarkness/piwik.git | PHP | 321 lines
                    
1<?php
                    
2/**
                    
4 * 
                    
5 * @link http://piwik.org
                    
6 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
                    
                
instances.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 244 lines
                    
44
                    
45$PAGE->set_url('/enrol/instances.php', array('id'=>$course->id));
                    
46$PAGE->set_pagelayout('admin');
                    
104            echo $OUTPUT->header();
                    
105            $yesurl = new moodle_url('/enrol/instances.php', array('id'=>$course->id, 'action'=>'delete', 'instance'=>$instance->id, 'confirm'=>1,'sesskey'=>sesskey()));
                    
106            $displayname = $plugin->get_instance_name($instance);
                    
186            $aurl = new moodle_url($url, array('action'=>'down', 'instance'=>$instance->id));
                    
187            $updown[] = html_writer::link($aurl, html_writer::empty_tag('img', array('src'=>$OUTPUT->pix_url('t/down'), 'alt'=>$strdown, 'class'=>'smallicon')));
                    
188        } else {
                    
192
                    
193        // edit links
                    
194        if ($plugin->instance_deleteable($instance)) {
                    
229foreach (enrol_get_plugins(true) as $name=>$plugin) {
                    
230    if (!$link = $plugin->get_newinstance_link($course->id)) {
                    
231        continue;
                    
                
wp-settings.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 323 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * Allows for some configuration in wp-config.php (see default-constants.php)
                    
7 *
                    
7 *
                    
8 * @internal This file must be parsable by PHP4.
                    
9 *
                    
61if ( WP_CACHE )
                    
62	WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
                    
63
                    
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.
                    
                
shortcodes.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 334 lines
                    
1<?php
                    
2/**
                    
27 *
                    
28 * @link http://codex.wordpress.org/Shortcode_API
                    
29 *
                    
                
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    }
                    
                
cpanel.php https://github.com/andrewgs/practice-book.ru.git | PHP | 320 lines
                    
13	<link rel="stylesheet" href="<?=$baseurl;?>css/style.css?v=1">
                    
14	<link rel="stylesheet" href="<?=$baseurl;?>css/960.css?v=1">
                    
15	<link rel="stylesheet" href="<?=$baseurl;?>css/jquery-ui.css?v=1.8.5">
                    
18	<link rel="stylesheet" href="<?=$baseurl;?>css/custom.css">
                    
19	<link rel="stylesheet" media="handheld" href="<?=$baseurl;?>css/handheld.css?v=1">
                    
20	<script src="<?=$baseurl;?>javascript/modernizr-1.5.min.js"></script>
                    
141												<td class="col-price-company"><?=$units[$i]['cu_price'];?></td>
                    
142												<td class=""><strong><?=$units[$i]['cu_priceunit'];?><?php if($units[$i]['cu_unitscode']):?>/<?=$units[$i]['cu_unitscode'];?><?php endif;?></strong></td>
                    
143											</tr>
                    
149							</div>
                    
150							<div class="box-bottom-links h20">
                    
151								<div class="right">
                    
169							<div class="box-content">
                    
170							<?php for($i=0;$i<count($representative); $i++):?>
                    
171								<div class="content-separator" id="drep<?=$i;?>" rID="<?=$representative[$i]['uid'];?>">
                    
                
facebook.php https://github.com/copongcopong/CakePHP-Facebook-Plugin.git | PHP | 425 lines
                    
28    * - 'email' => Support Email
                    
29    * - 'link' => Support Link
                    
30    * - 'license' => License Info
                    
117   * - redirect string to your app's logout url (default null)
                    
118   * - label string of text to use in link (default logout)
                    
119   * - confirm string Alert dialog which will be visible if user clicks on the button/link
                    
119   * - confirm string Alert dialog which will be visible if user clicks on the button/link
                    
120   * @return string Link for disconnect button
                    
121   * @access public
                    
166      switch($options['style']){
                    
167        case 'link': $options['type'] = 'icon_link'; break;
                    
168        default: $options['type'] = 'button'; break;
                    
176    else {
                    
177      $retval = $this->Html->link($options['label'], 'http://www.facebook.com/sharer.php', array('share_url' => $url, 'type' => $options['type'], 'name' => $options['anchor']));
                    
178      $retval .= $this->Html->script($this->__fbShareScript);
                    
                
index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
                    
13 * PHP Debug
                    
14 * @link http://phpdebug.sourceforge.net/
                    
15 */
                    
25$debug_page = false;
                    
26include_once('debug/header.php');
                    
27
                    
46
                    
47<html><!-- InstanceBegin template="/Templates/vnmain.dwt.php" codeOutsideHTMLIsLocked="false" -->
                    
48  <head>
                    
177				  ?>
                    
178				  <div align="right" class="FieldNumberDisabled"><strong><?= $language['label']['welcome']; ?> <a href="../../Administration/user_information.php" class="FieldNumberDisabled" <?php help('', 'Edit your user information', 'default'); ?>><?= ucwords(strtolower($_SESSION['fullname'])); ?></a></strong>&nbsp;&nbsp;<a href="../../logout.php" class="FieldNumberDisabled" <?php help('', 'Selecting [logout] will Log you out of the '.$default[title1].' and stop automatic cookie login', 'default'); ?>>[logout]</a>&nbsp;</div>
                    
179				  <?php
                    
310              <tr>
                    
311                <td width="50%" nowrap><!-- InstanceBeginEditable name="copyright" --><?php include('../include/copyright.php'); ?><!-- InstanceBeginEditable --></td>
                    
312                <td width="50%"><div id="noPrint" align="right"><!-- InstanceBeginEditable name="version" --><!-- InstanceEndEditable --></div></td>
                    
                
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
                    
                
admin.php https://github.com/Brucee/pyrocms.git | PHP | 562 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
249
                    
250				// Add a Navigation Link
                    
251				if ($nav_group_id)
                    
253					$this->load->model('navigation/navigation_m');
                    
254					$this->navigation_m->insert_link(array(
                    
255						'title'					=> $input['title'],
                    
255						'title'					=> $input['title'],
                    
256						'link_type'				=> 'page',
                    
257						'page_id'				=> $id,
                    
375			// Set the flashdata message and redirect the user
                    
376			$link = anchor('admin/pages/preview/'.$id, $this->input->post('title'), 'class="modal-large"');
                    
377			$this->session->set_flashdata('success', sprintf(lang('pages_edit_success'), $link));
                    
543			
                    
544					<li id="page_<?php echo $page['id']; ?>">
                    
545						<div>
                    
                
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
                    
                
Test.php https://bitbucket.org/Nemcio/kloxo-mr.git | PHP | 275 lines
                    
18 * @copyright  1997-2006 The PHP Group
                    
19 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
20 * @version    CVS: $Id: Test.php,v 1.1.1.1 2009/05/08 18:30:19 root Exp $
                    
38 * @copyright  1997-2006 The PHP Group
                    
39 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
40 * @version    Release: 1.4.9
                    
40 * @version    Release: 1.4.9
                    
41 * @link       http://pear.php.net/package/PEAR
                    
42 * @since      Class available since Release 0.1
                    
81                    'shortopt' => 'u',
                    
82                    'doc' => 'Search parameters for AllTests.php, and use that to run phpunit-based tests',
                    
83                ),
                    
85            'doc' => '[testfile|dir ...]
                    
86Run regression tests with PHP\'s regression testing script (run-tests.php).',
                    
87            ),
                    
                
zone.php https://bitbucket.org/sandeepbhaskar/inspiredliving.git | PHP | 441 lines
                    
1<?php 
                    
2class ControllerLocalisationZone extends Controller {
                    
40			
                    
41			$this->redirect($this->url->link('localisation/zone', 'token=' . $this->session->data['token'] . $url, 'SSL'));
                    
42		}
                    
72			
                    
73			$this->redirect($this->url->link('localisation/zone', 'token=' . $this->session->data['token'] . $url, 'SSL'));
                    
74		}
                    
106
                    
107			$this->redirect($this->url->link('localisation/zone', 'token=' . $this->session->data['token'] . $url, 'SSL'));
                    
108		}
                    
149       		'text'      => $this->language->get('text_home'),
                    
150			'href'      => $this->url->link('common/home', 'token=' . $this->session->data['token'], 'SSL'),
                    
151      		'separator' => false
                    
155       		'text'      => $this->language->get('heading_title'),
                    
156			'href'      => $this->url->link('localisation/zone', 'token=' . $this->session->data['token'] . $url, 'SSL'),
                    
157      		'separator' => ' :: '
                    
                
instructions_de.htm https://bitbucket.org/vins13pattar/adaptive-images.git | HTML | 177 lines
                    
22    <h2>Basis Anweisungen</h2>
                    
23    <p>Kopieren Sie <code>adaptive-images.php</code> und <code>.htaccess</code> 
                    
24    in das Hauptverzeichniss ihres Internetauftritts. 
                    
33    <p>Das wars. Sie sind fertig</p>
                    
34    <p>ANMERKUNG: Die <code>ai-cookie.php</code> Datei wird normalerweise nicht 
                    
35    benötigt. Nur beim Einsatz der <a href="#alternate">Alternativen Methode</a> 
                    
55directories
                    
56# to adaptive-images.php so we can select appropriately sized versions
                    
57RewriteRule \.(?:jpe?g|gif|png)$ adaptive-images.php
                    
63<pre><code>&lt;IfModule mod_rewrite.c&gt;
                    
64  Options +FollowSymlinks
                    
65  RewriteEngine On
                    
77  directories
                    
78  # to adaptive-images.php so we can select appropriately sized versions
                    
79  RewriteRule \.(?:jpe?g|gif|png)$ adaptive-images.php
                    
                
Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
                    
40    /**
                    
41     * The action links that we need to display for the browse screen
                    
42     *
                    
45     */
                    
46    static $_links = null;
                    
47    
                    
49    /**
                    
50     * This method returns the links that are given for honor search row.
                    
51     * currently the links added for each row are 
                    
59     */
                    
60    static function &honorLinks()
                    
61    {
                    
121            foreach( $params as $ids => $honorId ) {
                    
122                $params[$ids]['action'] = CRM_Core_Action::formLink(self::honorLinks( ), $action, 
                    
123                                                                    array('cid'              => $honorId['honorId'],
                    
                
SimpleHeaderSet.php https://bitbucket.org/amitholkar/zenfile-18-05.git | 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.
                    
                
UploadHandler.php https://github.com/zikula-modules/Reviews.git | PHP | 404 lines
                    
1<?php
                    
2/**
                    
8 * @author Michael Ueberschaer <kontakt@webdesign-in-bremen.com>.
                    
9 * @link http://webdesign-in-bremen.com
                    
10 * @link http://zikula.org
                    
45        $this->imageFileTypes = array('gif', 'jpeg', 'jpg', 'png', 'swf');
                    
46        $this->forbiddenFileTypes = array('cgi', 'pl', 'asp', 'phtml', 'php', 'php3', 'php4', 'php5', 'exe', 'com', 'bat', 'jsp', 'cfm', 'shtml');
                    
47        $this->allowedFileSizes = array('review' => array('coverUpload' => 102400));
                    
325                break;
                    
326            case UPLOAD_ERR_INI_SIZE: //uploaded file exceeds the upload_max_filesize directive in php.ini
                    
327                $errmsg = __('File too big', $dom);
                    
395        // remove original file
                    
396        if (!unlink($filePath)) {
                    
397            return false;
                    
                
date.php https://github.com/chemila/kohana.git | PHP | 566 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
28	 * Timezone for formatted_time
                    
29	 * @link http://uk2.php.net/manual/en/timezones.php
                    
30	 * @var  string
                    
39	 *
                    
40	 * [!!] A list of time zones that PHP supports can be found at
                    
41	 * <http://php.net/timezones>.
                    
496	 * this is needed, but some binary formats use it (eg: zip files.)
                    
497	 * Converting the other direction is done using {@link Date::dos2unix}.
                    
498	 *
                    
524	 * this is needed, but some binary formats use it (eg: zip files.)
                    
525	 * Converting the other direction is done using {@link Date::unix2dos}.
                    
526	 *
                    
548	 *
                    
549	 * @see     http://php.net/manual/en/datetime.construct.php
                    
550	 * @param   string  datetime_str     datetime string
                    
                
filterlib.php https://github.com/nadavkav/Moodle-RTL--Shenkar-Translation-Team-.git | PHP | 365 lines
                    
1<?php // $Id: filterlib.php,v 1.24.10.4 2009/02/18 11:02:11 stronk7 Exp $
                    
2      // Contains special functions that are particularly useful to filters
                    
67/// eg '<script(.+?)>' to match any type of script tag
                    
68    $filterignoretagsopen  = array('<head>' , '<nolink>' , '<span class="nolink">');
                    
69    $filterignoretagsclose = array('</head>', '</nolink>', '</span>');
                    
146        /// be cleared up before returning to the user.
                    
147            $linkobject->work_phrase = preg_replace('/([#*%])/','\1\1',$linkobject->work_phrase);
                    
148
                    
151            /// Strip tags
                    
152                $linkobject->work_replacementphrase = strip_tags($linkobject->replacementphrase);
                    
153            } else {                                 //The replacement is the original phrase as matched below
                    
157        /// Quote any regular expression characters and the delimiter in the work phrase to be searched
                    
158            $linkobject->work_phrase = preg_quote($linkobject->work_phrase, '/');
                    
159
                    
178            $notfullmatches = array();
                    
179            $regexp = '/'.$filterinvalidprefixes.'('.$linkobject->work_phrase.')|('.$linkobject->work_phrase.')'.$filterinvalidsuffixes.'/'.$modifiers;
                    
180
                    
                
CachePdo.html https://github.com/TimBroddin/MegaCache.git | HTML | 367 lines
                    
6			<title>Docs For Class CachePdo</title>
                    
7			<link rel="stylesheet" href="../media/stylesheet.css" />
                    
8			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
                    
23	<div class="info-box-body">
                    
24        		<!-- ========== Info from phpDoc block ========= -->
                    
25<p class="short-description">CachePdo class.</p>
                    
31		<p class="notes">
                    
32			Located in <a class="field" href="_adapters---CachePdo.php.html">/adapters/CachePdo.php</a> (line <span class="field">20</span>)
                    
33		</p>
                    
139	
                    
140	<!-- ========== Info from phpDoc block ========= -->
                    
141<p class="short-description">__construct function.</p>
                    
363	<p class="notes" id="credit">
                    
364		Documentation generated on Sat, 30 Oct 2010 10:42:46 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
                    
365	</p>
                    
                
Key.php https://github.com/drobbins/s3db.git | PHP | 316 lines
                    
1<?php
                    
2/**
                    
7 *
                    
8 * PHP versions 4 and 5
                    
9 *
                    
9 *
                    
10 * LICENSE: This source file is subject to version 3.0 of the PHP license
                    
11 * that is available through the world-wide-web at the following URI:
                    
19 * @copyright  2005, 2006 Alexander Valyalkin
                    
20 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
21 * @version    1.2.0b
                    
21 * @version    1.2.0b
                    
22 * @link       http://pear.php.net/package/Crypt_RSA
                    
23 */
                    
89 * @copyright  2005, 2006 Alexander Valyalkin
                    
90 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
91 * @link       http://pear.php.net/package/Crypt_RSA
                    
                
Graph.php https://github.com/studioskylab/Docblox.git | PHP | 259 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP Version 5
                    
6 *
                    
11 * @copyright  2010-2011 Mike van Riel / Naenius (http://www.naenius.com)
                    
12 * @license    http://www.opensource.org/licenses/mit-license.php MIT
                    
13 * @link       http://docblox-project.org
                    
24 * @author     Mike van Riel <mike.vanriel@naenius.com>
                    
25 * @license    http://www.opensource.org/licenses/mit-license.php MIT
                    
26 * @link       http://docblox-project.org
                    
127            if (!isset($this->class_paths[$sub_element->getElementsByTagName('full_name')->item(0)->nodeValue])) {
                    
128                echo $sub_element->getElementsByTagName('full_name')->item(0)->nodeValue.PHP_EOL;
                    
129            } else {
                    
250        $script = $svg->addChild('script');
                    
251        $script->addAttribute('xlink:href', 'js/SVGPan.js', 'http://www.w3.org/1999/xlink');
                    
252
                    
                
ValidationStatistics_body.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 307 lines
                    
1<?php
                    
2
                    
141					<td>" .
                    
142						$this->skin->linkKnown( SpecialPage::getTitleFor( 'PendingChanges' ),
                    
143							htmlspecialchars( $outdated ),
                    
187			global $wgPhpCli;
                    
188			$ext = !empty( $wgPhpCli ) ? $wgPhpCli : 'php';
                    
189			$path = wfEscapeShellArg( dirname( __FILE__ ) . '/../maintenance/updateStats.php' );
                    
                
store.php https://github.com/totara/moodle.git | PHP | 362 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
20 * @package    logstore_legacy
                    
21 * @copyright  2013 Petr Skoda {@link http://skodak.org}
                    
22 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
63            $replace = "module = 'course' AND action = 'new' AND userid = :userid AND url = :url AND time > :since";
                    
64            $params += array('url' => "view.php?id={$params['courseid']}");
                    
65            return array($replace, $params, $sort);
                    
246
                    
247        // If the 100 field size is changed, also need to alter print_log in course/lib.php.
                    
248        if (!empty($url) && \core_text::strlen($url) > 100) {
                    
                
route.php https://github.com/ymtn/core.git | PHP | 589 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
27 * Routes also provide a way to generate URIs (called "reverse routing"), which
                    
28 * makes them an extremely powerful and flexible way to generate internal links.
                    
29 *
                    
288	 * The $uri parameter can either be a string for basic regex matching or it
                    
289	 * can be a valid callback or anonymous function (php 5.3+). If you use a
                    
290	 * callback or anonymous function, your method should return an array
                    
                
Layout.php https://github.com/nationalfield/symfony.git | PHP | 490 lines
                    
1<?php
                    
2/*
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
29 * @version     $Revision$
                    
30 * @link        www.doctrine-project.org
                    
31 * @since       0.9
                    
                
version.html https://github.com/trevor/ImageMagick.git | HTML | 365 lines
                    
24  <link rel="shortcut icon" href="../../images/wand.ico" type="images/x-icon"></link>
                    
25  <link rel="canonical" href="../../index.html"></link>
                    
26  <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"></link>
                    
34  <!-- Add fancyBox -->
                    
35  <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/jquery.fancybox.css?v=2.0.6" type="text/css" media="screen"></link>
                    
36  <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/jquery.fancybox.pack.js?v=2.0.6"></script>
                    
38  <!-- Optionally add helpers - button, thumbnail and/or media -->
                    
39  <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.2" type="text/css" media="screen"></link>
                    
40  <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.2"></script>
                    
42  
                    
43  <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.css?v=2.0.6" type="text/css" media="screen"></link>
                    
44  <script type="text/javascript" src="http://www.imagemagick.org/fancybox/source/helpers/jquery.fancybox-thumbs.js?v=2.0.6"></script>
                    
155<div class="sub">
                    
156  <a title="Site Map: Links" href="../../www/links.html">Links</a>
                    
157</div>
                    
                
transformation.php https://github.com/xc/zetacomponents.git | PHP | 417 lines
                    
1<?php
                    
2/**
                    
237                copy( $fileTmp, $fileOut );
                    
238                unlink( $fileTmp );
                    
239                return;
                    
246            // Clean up
                    
247            unlink( $fileTmp );
                    
248            // Rethrow
                    
321            {
                    
322                unlink( $fileTmp );
                    
323            }
                    
335            // Windows does not allows overwriting files using rename,
                    
336            // therefore the file is unlinked here first.
                    
337            if ( unlink( $fileOut ) === false )
                    
339                // Cleanup
                    
340                unlink( $fileTmp );
                    
341                throw new ezcImageFileNotProcessableException( $fileOut, 'The file exists and could not be unlinked.' );
                    
                
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    }
                    
                
ibase_driver.php https://gitlab.com/joshuacurci/swim-crm | 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 */
                    
                
Clients.php https://gitlab.com/my-application.bjoernbartels.earth/my-application | 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
                    
                
Observer.php https://github.com/rgranadino/magento-mirror.git | PHP | 282 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
87
                    
88        /* @var $collection Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Link_Product_Collection */
                    
89        $collection = $observer->getEvent()->getCollection();
                    
                
Mail.php https://github.com/magikcypress/bbbweb.git | PHP | 270 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * PHP versions 4 and 5
                    
6 *
                    
40 * @copyright   1997-2010 Chuck Hagenbuch
                    
41 * @license     http://opensource.org/licenses/bsd-license.php New BSD License
                    
42 * @version     CVS: $Id: Mail.php 294747 2010-02-08 08:18:33Z clockwerx $
                    
42 * @version     CVS: $Id: Mail.php 294747 2010-02-08 08:18:33Z clockwerx $
                    
43 * @link        http://pear.php.net/package/Mail/
                    
44 */
                    
45
                    
46require_once 'PEAR.php';
                    
47
                    
76        $driver = strtolower($driver);
                    
77        @include_once 'Mail/' . $driver . '.php';
                    
78        $class = 'Mail_' . $driver;
                    
                
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 */
                    
                
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
                    
                
CakeValidationSetTest.php https://gitlab.com/manuperazafa/elsartenbackend | 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
                    
                
Matcher.php https://bitbucket.org/rybadour/todo_list_site.git | 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(
                    
                
Type.php https://bitbucket.org/rybadour/todo_list_site.git | PHP | 303 lines
                    
4 *
                    
5 * Copyright (c) 2001-2012, Sebastian Bergmann <sebastian@phpunit.de>.
                    
6 * All rights reserved.
                    
41 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
42 * @link       http://www.phpunit.de/
                    
43 * @since      File available since Release 3.0.0
                    
50 * @subpackage Util
                    
51 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
52 * @copyright  2001-2012 Sebastian Bergmann <sebastian@phpunit.de>
                    
53 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
54 * @link       http://www.phpunit.de/
                    
55 * @since      Class available since Release 3.0.0
                    
159            // There seems to be no other way to check arrays for recursion
                    
160            // http://www.php.net/manual/en/language.types.array.php#73936
                    
161            preg_match_all('/\n            \[(\w+)\] => Array\s+\*RECURSION\*/', print_r($value, TRUE), $matches);
                    
                
voucher.php https://bitbucket.org/allanxyh/uniquemall.git | PHP | 263 lines
                    
1<?php 
                    
2class ControllerAccountVoucher extends Controller { 
                    
25	  	  	
                    
26	  		$this->redirect($this->url->link('account/voucher/success'));
                    
27    	} 		
                    
32        	'text'      => $this->language->get('text_home'),
                    
33			'href'      => $this->url->link('common/home'),
                    
34        	'separator' => false
                    
38        	'text'      => $this->language->get('text_account'),
                    
39			'href'      => $this->url->link('account/account', '', 'SSL'),
                    
40        	'separator' => $this->language->get('text_separator')
                    
44        	'text'      => $this->language->get('text_voucher'),
                    
45			'href'      => $this->url->link('account/voucher', '', 'SSL'),
                    
46        	'separator' => $this->language->get('text_separator')
                    
105					
                    
106		$this->data['action'] = $this->url->link('account/voucher', '', 'SSL');
                    
107								
                    
                
recorded.php https://github.com/fracmak/mythweb.git | PHP | 233 lines
                    
87?>
                    
88    <th class="x-title"><?php     echo get_sort_link('title',     t('Title')) ?></td>
                    
89    <th class="x-subtitle"><?php  echo get_sort_link('subtitle',  t('Subtitle')) ?></td>
                    
90    <th class="x-programid"><?php echo get_sort_link('programid', t('Program ID')) ?></td>
                    
91    <th class="x-channum"><?php   echo get_sort_link('channum',   t('Channel')) ?></td>
                    
92    <th class="x-airdate"><?php   echo get_sort_link('airdate',   t('Airdate')) ?></td>
                    
96?>
                    
97    <th class="x-length"><?php        echo get_sort_link('length',    t('Length')) ?></td>
                    
98    <th class="x-filesize"><?php echo get_sort_link('file_size', t('File Size')) ?></td>
                    
167        }
                    
168        ?><a href="<?php echo root_url ?>tv/recorded?delete=yes&chanid=<?php echo $show->chanid ?>&starttime=<?php echo $show->recstartts ?>"
                    
169            title="<?php echo html_entities(t('Delete $1', preg_replace('/: $/', '', $show->title.': '.$show->subtitle))) ?>"
                    
170            ><?php echo t('Delete') ?></a>
                    
171        <a href="<?php echo root_url ?>tv/recorded?delete=yes&chanid=<?php echo $show->chanid ?>&starttime=<?php echo $show->recstartts ?>&forget_old=yes"
                    
172            title="<?php echo html_entities(t('Delete and rerecord $1', preg_replace('/: $/', '', $show->title.': '.$show->subtitle))) ?>"
                    
                
reindex.php https://github.com/karpenoktem/punbb.git | PHP | 267 lines
                    
89<!DOCTYPE html>
                    
90<html lang="<?php $lang_common['lang_identifier'] ?>" dir="<?php echo $lang_common['lang_direction'] ?>">
                    
91<head>
                    
219		</div>
                    
220		<form class="frm-form" method="get" accept-charset="utf-8" action="<?php echo forum_link($forum_url['admin_reindex']) ?>">
                    
221			<div class="hidden">
                    
229					<div class="sf-box text">
                    
230						<label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_admin_reindex['Posts per cycle'] ?></span> <small><?php echo $lang_admin_reindex['Posts per cycle info'] ?></small></label><br />
                    
231						<span class="fld-input"><input type="number" id="fld<?php echo $forum_page['fld_count'] ?>" name="i_per_page" size="7" maxlength="7" value="100" /></span>
                    
236					<div class="sf-box text">
                    
237						<label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span class="fld-label"><?php echo $lang_admin_reindex['Starting post'] ?></span> <small><?php echo $lang_admin_reindex['Starting post info'] ?></small></label><br />
                    
238						<span class="fld-input"><input type="number" id="fld<?php echo $forum_page['fld_count'] ?>" name="i_start_at" size="7" maxlength="7" value="<?php echo (isset($first_id)) ? $first_id : 0 ?>" /></span>
                    
244						<span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="i_empty_index" value="1" checked="checked" /></span>
                    
245						<label for="fld<?php echo $forum_page['fld_count'] ?>"><?php echo $lang_admin_reindex['Empty index'] ?></label>
                    
246					</div>
                    
                
tlAttachment.class.php https://github.com/viglesiasce/testlink.git | PHP | 342 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * TestLink Open Source Project - http://testlink.sourceforge.net/ 
                    
4 * This script is distributed under the GNU General Public License 2 or later. 
                    
5 *
                    
6 * @package 	TestLink
                    
7 * @author 		Francisco Mancardi
                    
7 * @author 		Francisco Mancardi
                    
8 * @copyright 	2007-2009, TestLink community 
                    
9 * @version    	CVS: $Id: tlAttachment.class.php,v 1.2 2009/12/28 08:53:37 franciscom Exp $
                    
9 * @version    	CVS: $Id: tlAttachment.class.php,v 1.2 2009/12/28 08:53:37 franciscom Exp $
                    
10 * @link 		http://www.teamst.org/index.php
                    
11 *
                    
13/** parenthal class */
                    
14require_once( 'object.class.php' );
                    
15
                    
                
exec.inc.php https://github.com/viglesiasce/testlink.git | PHP | 298 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * TestLink Open Source Project - http://testlink.sourceforge.net/
                    
4 * This script is distributed under the GNU General Public License 2 or later.
                    
8 *
                    
9 * @package 	TestLink
                    
10 * @author 		Martin Havlat
                    
10 * @author 		Martin Havlat
                    
11 * @copyright 	2005-2009, TestLink community 
                    
12 * @version    	CVS: $Id: exec.inc.php,v 1.60 2010/06/24 17:25:53 asimon83 Exp $
                    
12 * @version    	CVS: $Id: exec.inc.php,v 1.60 2010/06/24 17:25:53 asimon83 Exp $
                    
13 * @link 		http://www.teamst.org/index.php
                    
14 *
                    
217		{
                    
218			$bug_list[$elem['bug_id']]['link_to_bts'] = $bug_interface->buildViewBugLink($elem['bug_id'],GET_BUG_SUMMARY);
                    
219			$bug_list[$elem['bug_id']]['build_name'] = $elem['build_name'];
                    
                
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:
                    
                
yuga.js https://github.com/dounokouno/yuga.js-TT-Custom.git | JavaScript | 317 lines
                    
5 * Licensed under the MIT License:
                    
6 * http://www.opensource.org/licenses/mit-license.php
                    
7 *
                    
16 * Licensed under the MIT License:
                    
17 * http://www.opensource.org/licenses/mit-license.php
                    
18 *
                    
135		//外部リンクは別ウインドウを設定
                    
136		externalLink: function(options) {
                    
137			var c = $.extend({
                    
                
mysqli-stmt.param-count.html https://bitbucket.org/thncr/manuals.git | HTML | 110 lines
                    
11 <div class="up"><a href="class.mysqli-stmt.html">MySQLi_STMT</a></div>
                    
12 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
13</div><hr /><div id="mysqli-stmt.param-count" class="refentry">
                    
16  <h1 class="refname">mysqli_stmt_param_count</h1>
                    
17  <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">mysqli_stmt::$param_count</span> -- <span class="refname">mysqli_stmt_param_count</span> &mdash; <span class="dc-title">Returns the number of parameter for the given statement</span></p>
                    
18
                    
68   <div class="example-contents">
                    
69<div class="phpcode"><code><span style="color: #000000">
                    
70<span style="color: #0000BB">&lt;?php<br />$mysqli&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">mysqli</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"my_user"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"my_password"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"world"</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/*&nbsp;check&nbsp;connection&nbsp;*/<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">mysqli_connect_errno</span><span style="color: #007700">())&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Connect&nbsp;failed:&nbsp;%s\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">mysqli_connect_error</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;exit();<br />}<br /><br />if&nbsp;(</span><span style="color: #0000BB">$stmt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$mysqli</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #DD0000">"SELECT&nbsp;Name&nbsp;FROM&nbsp;Country&nbsp;WHERE&nbsp;Name=?&nbsp;OR&nbsp;Code=?"</span><span style="color: #007700">))&nbsp;{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$marker&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">param_count</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Statement&nbsp;has&nbsp;%d&nbsp;markers.\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$marker</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/*&nbsp;close&nbsp;statement&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">close</span><span style="color: #007700">();<br />}<br /><br /></span><span style="color: #FF8000">/*&nbsp;close&nbsp;connection&nbsp;*/<br /></span><span style="color: #0000BB">$mysqli</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">close</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span>
                    
79<div class="phpcode"><code><span style="color: #000000">
                    
80<span style="color: #0000BB">&lt;?php<br />$link&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysqli_connect</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"my_user"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"my_password"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"world"</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/*&nbsp;check&nbsp;connection&nbsp;*/<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">mysqli_connect_errno</span><span style="color: #007700">())&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Connect&nbsp;failed:&nbsp;%s\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">mysqli_connect_error</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;exit();<br />}<br /><br />if&nbsp;(</span><span style="color: #0000BB">$stmt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysqli_prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$link</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"SELECT&nbsp;Name&nbsp;FROM&nbsp;Country&nbsp;WHERE&nbsp;Name=?&nbsp;OR&nbsp;Code=?"</span><span style="color: #007700">))&nbsp;{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$marker&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysqli_stmt_param_count</span><span style="color: #007700">(</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Statement&nbsp;has&nbsp;%d&nbsp;markers.\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$marker</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/*&nbsp;close&nbsp;statement&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mysqli_stmt_close</span><span style="color: #007700">(</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">);<br />}<br /><br /></span><span style="color: #FF8000">/*&nbsp;close&nbsp;connection&nbsp;*/<br /></span><span style="color: #0000BB">mysqli_close</span><span style="color: #007700">(</span><span style="color: #0000BB">$link</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span>
                    
81</span>
                    
108 <div class="up"><a href="class.mysqli-stmt.html">MySQLi_STMT</a></div>
                    
109 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
110</div></body></html>
                    
                
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.
                    
                
functions.php https://github.com/torstein1989/Capstone_II.git | PHP | 315 lines
                    
96
                    
97		<a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>">
                    
98			<?php
                    
99				/* translators: 1: date, 2: time */
                    
100				printf( __( '%1$s at %2$s', 'starkers' ), get_comment_date(),  get_comment_time() ); ?></a><?php edit_comment_link( __( '(Edit)', 'starkers' ), ' ' );
                    
101			?>
                    
104
                    
105			<?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
                    
106
                    
112	<article <?php comment_class(); ?> id="comment-<?php comment_ID() ?>">
                    
113		<p><?php _e( 'Pingback:', 'starkers' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __('(Edit)', 'starkers'), ' ' ); ?></p>
                    
114	<?php
                    
229	} else {
                    
230		$posted_in = __( 'Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'starkers' );
                    
231	}
                    
                
errors.php https://github.com/libersoft/fengoffice-ls.git | PHP | 194 lines
                    
1<?php
                    
2
                    
31    'users must belong to a company' => 'Contacts must belong to a company in order to generate a user',
                    
32    'contact linked to user' => 'Contact is linked to user {0}',
                    
33  
                    
113    'filename required' => 'Filename is required',
                    
114  	'weblink required' => 'Weblink url is required',
                    
115    
                    
                
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',
                    
                
Test.php https://bitbucket.org/shashwat_dinasource/bitscentral.git | PHP | 275 lines
                    
18 * @copyright  1997-2006 The PHP Group
                    
19 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
20 * @version    CVS: $Id: Test.php,v 1.9 2006/02/03 22:28:08 cellog Exp $
                    
38 * @copyright  1997-2006 The PHP Group
                    
39 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
40 * @version    Release: 1.4.11
                    
40 * @version    Release: 1.4.11
                    
41 * @link       http://pear.php.net/package/PEAR
                    
42 * @since      Class available since Release 0.1
                    
81                    'shortopt' => 'u',
                    
82                    'doc' => 'Search parameters for AllTests.php, and use that to run phpunit-based tests',
                    
83                ),
                    
85            'doc' => '[testfile|dir ...]
                    
86Run regression tests with PHP\'s regression testing script (run-tests.php).',
                    
87            ),
                    
                
wp-cache-phase1.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 264 lines
                    
1<?php
                    
2// Pre-2.6 compatibility
                    
5
                    
6if( !include( WP_CONTENT_DIR . '/wp-cache-config.php' ) )
                    
7	return true;
                    
10
                    
11include( WPCACHEHOME . 'wp-cache-base.php');
                    
12
                    
26
                    
27require_once( WPCACHEHOME . 'wp-cache-phase2.php');
                    
28
                    
28
                    
29$plugins = glob( $wp_cache_plugins_dir . '/*.php' );
                    
30if( is_array( $plugins ) ) {
                    
48function gzip_accepted(){
                    
49	if( ini_get( 'zlib.output_compression' ) ) // don't compress WP-Cache data files when PHP is already doing it
                    
50		return false;
                    
                
ResultPrinter.php https://github.com/grandison/budo16.git | PHP | 337 lines
                    
41 * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
42 * @link       http://www.phpunit.de/
                    
43 * @since      File available since Release 2.3.0
                    
50
                    
51PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT');
                    
52
                    
61 * @version    Release: 3.4.15
                    
62 * @link       http://www.phpunit.de/
                    
63 * @since      Class available since Release 2.1.0
                    
64 */
                    
65abstract class PHPUnit_Util_TestDox_ResultPrinter extends PHPUnit_Util_Printer implements PHPUnit_Framework_TestListener
                    
66{
                    
149     */
                    
150    public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time)
                    
151    {
                    
                
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
                    
                
PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
                    
12__author__  = "Jens Diemer (www.jensdiemer.de)"
                    
13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php"
                    
14__url__     = "http://www.jensdiemer.de/Programmieren/Python/PyDown"
                    
23v0.5.1
                    
24    - Bugfix in path.py (wrong Links in newestFiles)
                    
25v0.5
                    
344        """
                    
345        relative TAB-Links absolut machen
                    
346        """
                    
346        """
                    
347        for link in self.naviTABs:
                    
348            link["url"] = posixpath.join(
                    
348            link["url"] = posixpath.join(
                    
349                self.request.environ["SCRIPT_ROOT"], link["url"]
                    
350            )
                    
                
pkg-summary.html https://bitbucket.org/phinisistudio/ascender-leveleditor.git | HTML | 258 lines
                    
5<title>dom4j - 1.6.1</title>
                    
6<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
                    
7</head>
                    
17    
                    
18<DIV class="navBarLink">
                    
19&nbsp;&nbsp;&nbsp;
                    
69   
                    
70    <TD class="graphPercent" align="center">58,3%</TD>
                    
71    <TD class="graphPercent" align="center">65,7%</TD>
                    
71    <TD class="graphPercent" align="center">65,7%</TD>
                    
72    <TD class="graphPercent" align="center">69,6%</TD>
                    
73    <TD class="graphBarLeft" align="center"><B>64,5%</B></TD>
                    
100   
                    
101    <TD class="graphPercent" align="center"> - </TD>
                    
102    <TD class="graphPercent" align="center">0%</TD>
                    
                
modifier.bbcode2del4pne.php https://github.com/usagi-project/mynets1.git | PHP | 221 lines
                    
45    if(function_exists("smarty_modifier_t_url2pne")){
                    
46        $link_str = $link_url;
                    
47    }else{
                    
148    if(function_exists("smarty_modifier_t_url2pne")){
                    
149        $link_str = $link_url;
                    
150    }else{
                    
174    if(function_exists("smarty_modifier_t_url2pne")){
                    
175        $link_str = $link_url;
                    
176    }else{
                    
189        } else {
                    
190            $link_str = "【" . h($db_msg['title']) . "】のレビュー<br>" . h($link_url) ."<br>";
                    
191        }
                    
214    } else {
                    
215        $link_str = "【" . h($db_msg['topic']) . "】の" . $docci_name . "<br>" . h($link_url) ."<br>";
                    
216    }
                    
                
User_agent.php https://github.com/usagi-project/mynets1.git | PHP | 500 lines
                    
1<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 4.3.2 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/libraries/user_agent.html
                    
28 */
                    
                
ARC2_SemHTMLParser.php https://github.com/mterenzio/FollowThis.git | 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;
                    
                
classtrees_OpenID.html https://github.com/yupe/xomaprojects.git | HTML | 208 lines
                    
6			<title></title>
                    
7			<link rel="stylesheet" href="media/stylesheet.css" />
                    
8			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
                    
175
                    
176<h2>Root class Auth_Yadis_PHPSession</h2>
                    
177<ul>
                    
177<ul>
                    
178<li><a href="OpenID/Auth_Yadis_PHPSession.html">Auth_Yadis_PHPSession</a></li></ul>
                    
179
                    
204	<p class="notes" id="credit">
                    
205		Documentation generated on Tue, 21 Apr 2009 11:31:28 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.2</a>
                    
206	</p>
                    
                
str.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 416 lines
                    
1<?php
                    
2/**
                    
9 * @copyright  2010 - 2012 Fuel Development Team
                    
10 * @link       http://fuelphp.com
                    
11 */
                    
17 *
                    
18 * PHP needs to be compiled with --enable-mbstring
                    
19 * or a fallback without encoding support is used
                    
                
str.php https://bitbucket.org/kawadatetsuya/twilio.git | PHP | 416 lines
                    
1<?php
                    
2/**
                    
9 * @copyright  2010 - 2013 Fuel Development Team
                    
10 * @link       http://fuelphp.com
                    
11 */
                    
17 *
                    
18 * PHP needs to be compiled with --enable-mbstring
                    
19 * or a fallback without encoding support is used
                    
                
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);
                    
                
display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
                    
13	global $wpdb;
                    
14	$fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&amp;subpage=upgrade-purchase-logs';
                    
15	?>
                    
24			<li>
                    
25				<a href='?page=wpsc-debug&amp;wpsc_debug_action=download_links'>Update Download Links</a>
                    
26			</li>
                    
49			<li>
                    
50				<a href='?page=wpsc-debug&amp;wpsc_debug_action=phpinfo'>Display phpinfo</a>
                    
51			</li>
                    
52			<li>
                    
53				<a href='<?php echo $fixpage; ?>'>Fix Purchaselogs</a>
                    
54			</li>
                    
79			</ul>
                    
80			<?php
                    
81		}
                    
                
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>
                    
                
nfs-storage-config.php https://github.com/qyjohn/openqrm.git | PHP | 336 lines
                    
50// error_reporting(E_ALL);
                    
51$thisfile = basename($_SERVER['PHP_SELF']);
                    
52$RootDir = $_SERVER["DOCUMENT_ROOT"].'/openqrm/base/';
                    
53$BaseDir = $_SERVER["DOCUMENT_ROOT"].'/openqrm/';
                    
54require_once "$RootDir/include/user.inc.php";
                    
55require_once "$RootDir/class/image.class.php";
                    
56require_once "$RootDir/class/storage.class.php";
                    
57require_once "$RootDir/class/resource.class.php";
                    
58require_once "$RootDir/class/deployment.class.php";
                    
299	$exports_list_update_input .= "<textarea name=\"exports_list_update\" rows=\"8\" cols=\"40\"></textarea>";
                    
300	$back_link = "<a href=nfs-storage-manager.php?action=reload&nfs_storage_id=$nfs_storage_id><strong>Back</strong></a>";
                    
301
                    
314		'submit' => htmlobject_input('action', array("value" => 'update', "label" => 'Update'), 'submit'),
                    
315		'back_link' => $back_link,
                    
316	));
                    
                
survey_invite.php https://bitbucket.org/hanutimes/hanutimes.git | PHP | 253 lines
                    
11 * @todo checking if the additional emails are valid (or add a rule for this)
                    
12 * @todo check if the mailtext contains the **link** part, if not, add the link to the end
                    
13 * @todo add rules: title and text cannot be empty
                    
22// Including additional libraries
                    
23require_once 'survey.lib.php';
                    
24
                    
89if ($survey_data['invited'] > 0 && !isset($_POST['submit'])) {
                    
90    $message = '<a href="survey_invitation.php?view=answered&amp;survey_id='.$survey_data['survey_id'].'">'.$survey_data['answered'].'</a> ';
                    
91    $message .= get_lang('HaveAnswered').' ';
                    
91    $message .= get_lang('HaveAnswered').' ';
                    
92    $message .= '<a href="survey_invitation.php?view=invited&amp;survey_id='.$survey_data['survey_id'].'">'.$survey_data['invited'].'</a> ';
                    
93    $message .= get_lang('WereInvited');
                    
164// Show the URL that can be used by users to fill a survey without invitation
                    
165$auto_survey_link = $portal_url.'main/survey/fillsurvey.php?course='.$_course['sysCode'].'&invitationcode=auto&scode='.$survey_data['survey_code'];
                    
166
                    
                
haml.php https://bitbucket.org/mintao/yii-phamlp.git | PHP | 287 lines
                    
1<?php
                    
2/**
                    
3 * Haml view renderer class file.
                    
4 * Renders {@link http://haml-lang.com/ HAML} view files using
                    
5 * {@link http://phamlp.googlecode.com PHamlP}.
                    
5 * {@link http://phamlp.googlecode.com PHamlP}.
                    
6 * Please see the {@link documentation http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#plain_text HAML} for the syntax.
                    
7 * 
                    
8 * * To use the Haml view renderer:
                    
9 * * Put {@link http://phamlp.googlecode.com PHamlP} in your vendors directory
                    
10 * * Put this file in your views directory
                    
13 *   See below and HamlParser for a description of options
                    
14 * * Add the following line in your app_controller.php
                    
15 *   <pre>var $view = 'Haml';</pre>
                    
27/**
                    
28 * Haml allows you to write view files in {@link Haml http://haml-lang.com/} and
                    
29 * render them using {@link http://phamlp.googlecode.com PHamlP}.
                    
                
provider_test.php https://bitbucket.org/moodle/moodle.git | PHP | 240 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
100
                    
101        // Verify there are two linked logins.
                    
102        $ltiaccounts = $DB->get_records('auth_lti_linked_login');
                    
107
                    
108        // Get all LTI linked accounts match with user1.
                    
109        $ltiaccounts = $DB->get_records('auth_lti_linked_login', ['userid' => $user1->id]);
                    
111
                    
112        // Verify there is now only one linked login.
                    
113        $ltiaccounts = $DB->get_records('auth_lti_linked_login');
                    
132
                    
133        // Verify there are two linked logins.
                    
134        $ltiaccounts = $DB->get_records('auth_lti_linked_login');
                    
140
                    
141        // Get all LTI accounts linked with user1.
                    
142        $ltiaccounts = $DB->get_records('auth_lti_linked_login', ['userid' => $user1->id]);
                    
                
image_variants.html https://github.com/TitoAgudelo/Web-Library.git | HTML | 149 lines
                    
49<p style="color:red;">For external images to work, the following configuration is required:</p>
                    
50<pre style="color:red;">dompdf_config.inc.php :</pre>
                    
51
                    
54<h2>external png Image with alpha channel:</h2>
                    
55<img src="http://www.dokuwiki.org/lib/exe/fetch.php?media=wiki:dokuwiki-128.png" width="128" height="128" />
                    
56
                    
57<h2>external image, dynamically created with id in url parameter at end of parameter(.jpg):</h2>
                    
58<img src="http://www.dokuwiki.org/lib/exe/fetch.php?media=example:sunset.jpg" width="500" height="375" />
                    
59
                    
60<h2>external image, dynamically created with id in url parameter not at end of parameter (.jpg):</h2>
                    
61<img src="http://www.dokuwiki.org/lib/exe/fetch.php?media=example:sunset.jpg&amp;w=100" width="100" height="75" />
                    
62
                    
139</div>
                    
140<p><a href="bgimages" style="line-height:170%;padding-left:20px;background:url(images/pdf.png) no-repeat yellow;background-position:left top;">paragraph link no-repeat position:default</a></p>
                    
141<p style="text-align:left;line-height:170%;padding-left:20px;background:url(images/pdf.png) no-repeat yellow;background-position:left top;">paragraph text no-repeat position:left-top; more text text more text text bla bla sdfjkhs sdfsjksdfks sdfkjsfsf skjfh ksjdfhsd </p>
                    
                
JschConfigSessionFactory.java https://bitbucket.org/cofarrell/jgit.git | Java | 294 lines
                    
12 * accompanies this distribution, is reproduced below, and is
                    
13 * available at http://www.eclipse.org/org/documents/edl-v10.php
                    
14 *
                    
77 * The factory does not provide UI behavior. Override the method
                    
78 * {@link #configure(org.eclipse.jgit.transport.OpenSshConfig.Host, Session)}
                    
79 * to supply appropriate {@link UserInfo} to the session.
                    
195	 * Provide additional configuration for the session based on the host
                    
196	 * information. This method could be used to supply {@link UserInfo}.
                    
197	 *
                    
                
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}
                    
                
ValidFunctionNameSniff.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 263 lines
                    
13 * @version   CVS: $Id: ValidFunctionNameSniff.php,v 1.18 2008/01/22 23:50:23 squiz Exp $
                    
14 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
15 */
                    
17if (class_exists('PHP_CodeSniffer_Standards_AbstractScopeSniff', true) === false) {
                    
18    throw new PHP_CodeSniffer_Exception('Class PHP_CodeSniffer_Standards_AbstractScopeSniff not found');
                    
19}
                    
33 * @version   Release: @package_version@
                    
34 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
35 */
                    
161     *
                    
162     * @param PHP_CodeSniffer_File $phpcsFile The file being processed.
                    
163     * @param int                  $stackPtr  The position where this token was
                    
167     */
                    
168    protected function processTokenOutsideScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
                    
169    {
                    
                
 

Source

Language