PageRenderTime 3914ms queryTime 570ms sortTime 580ms getByIdsTime 51ms findMatchingLines 98ms

100+ results results for 'php link repo:rtsukui/jelly2' (3914 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" />
                    
                
InstallSchema.php https://gitlab.com/yousafsyed/easternglamor | PHP | 407 lines
                    
1<?php
                    
2/**
                    
19     * {@inheritdoc}
                    
20     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
21     */
                    
336        /**
                    
337         * Create table 'layout_link'
                    
338         */
                    
339        $table = $installer->getConnection()->newTable(
                    
340            $installer->getTable('layout_link')
                    
341        )->addColumn(
                    
341        )->addColumn(
                    
342            'layout_link_id',
                    
343            \Magento\Framework\DB\Ddl\Table::TYPE_INTEGER,
                    
345            ['identity' => true, 'unsigned' => true, 'nullable' => false, 'primary' => true],
                    
346            'Link Id'
                    
347        )->addColumn(
                    
                
Url.php https://bitbucket.org/alessandro-aglietti/itis-leonardo-da-vinci.git | PHP | 548 lines
                    
1<?php
                    
2
                    
479     * @throws InvalidArgumentException
                    
480     * @link http://tools.ietf.org/html/rfc3986#section-5.4
                    
481     */
                    
                
SqlBase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 415 lines
                    
1<?php
                    
2
                    
133      '#tree' => TRUE,
                    
134      '#title' => $this->t('Pager link labels'),
                    
135      '#input' => TRUE,
                    
139      '#type' => 'textfield',
                    
140      '#title' => $this->t('Previous page link text'),
                    
141      '#default_value' => $this->options['tags']['previous'],
                    
145      '#type' => 'textfield',
                    
146      '#title' => $this->t('Next page link text'),
                    
147      '#default_value' => $this->options['tags']['next'],
                    
402  public function getCacheContexts() {
                    
403    // The rendered link needs to play well with any other query parameter used
                    
404    // on the page, like other pagers and exposed filter.
                    
                
Country.php https://gitlab.com/jslee1/PrestaShop | PHP | 417 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
22 * @copyright 2007-2015 PrestaShop SA
                    
23 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
                    
24 * International Registered Trademark & Property of PrestaShop SA
                    
98        'fields' => array(
                    
99            'id_zone' => array('xlink_resource'=> 'zones'),
                    
100            'id_currency' => array('xlink_resource'=> 'currencies'),
                    
                
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.
                    
                
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 */
                    
                
rewrite.php https://bitbucket.org/dkrzos/phc.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])
                    
                
lang.php https://gitlab.com/michield/dokuwiki | PHP | 188 lines
                    
31$lang['_editing']              = 'Szerkesztési beállítások';
                    
32$lang['_links']                = 'Link beállítások';
                    
33$lang['_media']                = 'Media beállítások';
                    
56$lang['htmlok']                = 'Beágyazott HTML engedélyezése';
                    
57$lang['phpok']                 = 'Beágyazott PHP engedélyezése';
                    
58$lang['dformat']               = 'Dátum formázás (lásd a PHP <a href="http://www.php.net/strftime">strftime</a> függvényt)';
                    
117$lang['sitemap']               = 'Hány naponként generáljunk Google sitemap-ot?';
                    
118$lang['broken_iua']            = 'Az ignore_user_abort függvény hibát dob a rendszereden? Ez nem működő keresési indexet eredményezhet. Az IIS+PHP/CGI összeállításról tudjuk, hogy hibát dob. Lásd a <a href="http://bugs.splitbrain.org/?do=details&amp;task_id=852">Bug 852</a> oldalt a további infóért.';
                    
119$lang['xsendfile']             = 'Használjuk az X-Sendfile fejlécet, hogy a webszerver statikus állományokat tudjon küldeni? A webszervernek is támogatnia kell ezt a funkciót.';
                    
124$lang['rss_type']              = 'XML hírfolyam típus';
                    
125$lang['rss_linkto']            = 'XML hírfolyam hivatkozás';
                    
126$lang['rss_content']           = 'Mit mutassunk az XML hírfolyam elemekben?';
                    
182$lang['showuseras_o_email']    = 'E-mail cím (olvashatatlanná téve az e-mailcím védelem beállítása szerint)';
                    
183$lang['showuseras_o_email_link'] = 'E-mail cím mailto: linkként';
                    
184$lang['useheading_o_0']        = 'Soha';
                    
                
index.php https://gitlab.com/Nilufarjahan/LabExam8 | PHP | 455 lines
                    
69    <link href="../../../resource/bootstrap/css/styles.css" rel="stylesheet">
                    
70    <link rel="stylesheet" href="../../../resource/bootstrap/css/font-icons/entypo/css/entypo.css">
                    
71    <link rel="stylesheet" href="../../../resource/bootstrap/css/font-icons/font-awesome/css/font-awesome.min.css">
                    
135            <li>
                    
136                <a href="../Birthday/create.php">
                    
137                    <span class="title">Add New</span>
                    
243            <li>
                    
244                <a href="../SummaryOfOrganization/create.php">
                    
245                    <span class="title">Add New</span>
                    
328                                <td><?php echo $oneData->birthday?></td>
                    
329                                <?php  echo "<td> <a href=\"edits.php?id=$oneData->id\"class=\"btn btn-info\" role=\"button\">Edit</a>  ";?>
                    
330                                <?php  echo " <a href=\"delete.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Delete</a> ";?>
                    
331                            
                    
332                                <?php  echo " <a href=\"trash.php?id=$oneData->id\"class=\"btn btn-danger\" role=\"button\">Trash</a> </td> ";?>
                    
333                            </tr>
                    
                
twitter-timeline.php https://gitlab.com/vanafroo/voipWEB | 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			/>
                    
                
edit.php https://github.com/eric-brechemier/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}
                    
                
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);
                    
                
class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
                    
127		if ( 'link_category' == $this->screen->taxonomy ) {
                    
128			$columns['links'] = __( 'Links' );
                    
129		} else {
                    
288		$qe_data = get_term( $tag->term_id, $taxonomy, OBJECT, 'edit' );
                    
289		$edit_link = esc_url( get_edit_term_link( $tag->term_id, $taxonomy, $this->screen->post_type ) );
                    
290
                    
290
                    
291		$out = '<strong><a class="row-title" href="' . $edit_link . '" title="' . esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $name ) ) . '">' . $name . '</a></strong><br />';
                    
292
                    
368
                    
369		return "<a href='" . esc_url ( add_query_arg( $args, 'edit.php' ) ) . "'>$count</a>";
                    
370	}
                    
374		if ( $count )
                    
375			$count = "<a href='link-manager.php?cat_id=$tag->term_id'>$count</a>";
                    
376		return $count;
                    
                
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
                    
                
lang.php https://github.com/frbayart/dokuwiki-wordpress-phpBB.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';
                    
                
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
                    
                
menu.php https://github.com/up1/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();
                    
                
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'],
                    
                
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>
                    
                
permissions.inc.php https://github.com/gadamiak/modx-revolution-pl.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.';
                    
                
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
                    
                
transformation.php https://github.com/Yannix/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/module-admin | PHP | 322 lines
                    
1<?php
                    
2/**
                    
10 * @author    Björn Bartels <coding@bjoernbartels.earth>
                    
11 * @link      https://gitlab.bjoernbartels.earth/groups/zf2
                    
12 * @license   http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
                    
                
shortcodes.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 334 lines
                    
1<?php
                    
2/**
                    
27 *
                    
28 * @link http://codex.wordpress.org/Shortcode_API
                    
29 *
                    
                
utils.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 313 lines
                    
1<?php
                    
2
                    
6    if (!file_exists($dir)) return true;
                    
7    if (!is_dir($dir)) return unlink($dir);
                    
8    foreach (scandir($dir) as $item) {
                    
44    if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
                    
45	require_once('php_image_magician.php');
                    
46	$magicianObj = new imageLib($imgfile);
                    
55    if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
                    
56	require_once('php_image_magician.php');
                    
57	$magicianObj = new imageLib($imgfile);
                    
111            if(!in_array(mb_strtolower($fileinfo['extension']),$ext))
                    
112                unlink($path);
                    
113        else
                    
114            if(!in_array(Tools::strtolower($fileinfo['extension']),$ext))
                    
115                unlink($path);
                    
116    }else{
                    
                
Configuration.php https://gitlab.com/freebird/WebApp | PHP | 226 lines
                    
1<?php
                    
2
                    
20 *
                    
21 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
                    
22 */
                    
                
SimpleHeaderSet.php https://gitlab.com/dsasmita/talita-shop | PHP | 387 lines
                    
1<?php
                    
2
                    
150     *
                    
151     * The header may be a previously fetched header via {@link get()} or it may
                    
152     * be one that has been created separately.
                    
                
LeadImportFieldType.php https://gitlab.com/mautic-master/mautic | PHP | 290 lines
                    
1<?php
                    
2/**
                    
5 * @author      Mautic
                    
6 * @link        http://mautic.org
                    
7 * @license     GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
                    
                
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
                    
                
voucher.php https://bitbucket.org/elena_dyavolova/omf.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								
                    
                
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:
                    
                
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.
                    
                
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',
                    
                
wp-settings.php https://gitlab.com/gregtyka/app222 | PHP | 323 lines
                    
1<?php
                    
2/**
                    
5 *
                    
6 * Allows for some configuration in wp-config.php (see default-constants.php)
                    
7 *
                    
7 *
                    
8 * @internal This file must be parsable by PHP4.
                    
9 *
                    
61if ( WP_CACHE )
                    
62	WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
                    
63
                    
119require( ABSPATH . WPINC . '/general-template.php' );
                    
120require( ABSPATH . WPINC . '/link-template.php' );
                    
121require( ABSPATH . WPINC . '/author-template.php' );
                    
315 *
                    
316 * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for
                    
317 * users not logged in.
                    
                
db_operations.php https://gitlab.com/luyxtran264/myproject | PHP | 315 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
11 *
                    
12 * @package PhpMyAdmin
                    
13 */
                    
18 */
                    
19require_once 'libraries/common.inc.php';
                    
20require_once 'libraries/mysql_charsets.inc.php';
                    
20require_once 'libraries/mysql_charsets.inc.php';
                    
21require_once 'libraries/display_create_table.lib.php';
                    
22
                    
25 */
                    
26require_once 'libraries/check_user_privileges.lib.php';
                    
27require_once 'libraries/operations.lib.php';
                    
71
                    
72        include_once "libraries/plugin_interface.lib.php";
                    
73        // remove all foreign key constraints, otherwise we can get errors
                    
                
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            )
                    
                
str.php https://bitbucket.org/codeyash/bootstrap.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
                    
                
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
                    
                
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>
                    
                
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]);
                    
                
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}
                    
                
plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
                    
55        global $CFG;
                    
56        require_once($CFG->libdir . '/filelib.php');
                    
57
                    
167            // We don't want fallback to another player because list_supported_urls() is already smart.
                    
168            // Otherwise we could end up with nested <audio> or <video> tags. Fallback to link only.
                    
169            $attributes += ['preload' => 'auto', 'controls' => 'true', 'title' => $title];
                    
169            $attributes += ['preload' => 'auto', 'controls' => 'true', 'title' => $title];
                    
170            $text = html_writer::tag($isaudio ? 'audio' : 'video', $sources . self::LINKPLACEHOLDER, $attributes);
                    
171        }
                    
314     * Returns regular expression used to match URLs for single youtube video
                    
315     * @return string PHP regular expression e.g. '~^https?://example.org/~'
                    
316     */
                    
323        // Initial part of link.
                    
324        $start = '~^https?://(www\.)?(' . $link . '|' . $shortlink . ')';
                    
325        // Middle bit: Video key value.
                    
                
Observer.php https://github.com/gryzz/crystal_magento.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) 2010 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();
                    
                
Generator.php https://gitlab.com/edot92/jpagithub | PHP | 283 lines
                    
1<?php
                    
2/**
                    
6 * @copyright 2014 Barry vd. Heuvel / Fruitcake Studio (http://www.fruitcakestudio.nl)
                    
7 * @license   http://www.opensource.org/licenses/mit-license.php MIT
                    
8 * @link      https://github.com/barryvdh/laravel-ide-helper
                    
63     *
                    
64     * @param  string  $format  The format to generate the helper in (php/json)
                    
65     * @return string;
                    
66     */
                    
67    public function generate($format = 'php')
                    
68    {
                    
74
                    
75        return $this->generatePhpHelper();
                    
76    }
                    
77
                    
78    public function generatePhpHelper()
                    
79    {
                    
                
user__agents_8php.html https://github.com/kobkob/ta.git | HTML | 156 lines
                    
79                                        <span class="stringliteral">'Lynx'</span>                          =&gt; <span class="stringliteral">'Lynx'</span>,
                    
80                                        <span class="stringliteral">'Links'</span>                         =&gt; <span class="stringliteral">'Links'</span>,
                    
81                                        <span class="stringliteral">'hotjava'</span>                       =&gt; <span class="stringliteral">'HotJava'</span>,
                    
85</pre></div>
                    
86<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00050">50</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p>
                    
87
                    
102
                    
103<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00073">73</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p>
                    
104
                    
119
                    
120<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00013">13</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p>
                    
121
                    
146</pre></div>
                    
147<p>Definido na linha <a class="el" href="user__agents_8php-source.html#l00163">163</a> do ficheiro <a class="el" href="user__agents_8php-source.html">user_agents.php</a>.</p>
                    
148
                    
                
index.html https://gitlab.com/vschmidt94/CS494-HowTo-Leaflet-map | HTML | 236 lines
                    
4course:     CS494-400 Fall 2014
                    
5Assignment: Week 5 - Intro to PHP
                    
6-->
                    
9<title>schmicar HowTo</title>
                    
10<link rel="stylesheet" href="css/style.css">
                    
11<link rel="stylesheet" href="css/bootstrap.css">
                    
11<link rel="stylesheet" href="css/bootstrap.css">
                    
12<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
                    
13<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
                    
88  <p>
                    
89  Once the AJAX URL request format &amp; JSON response has been discovered (example: <a href="http://oregonstate.edu/campusmap/map/element?locations=814">http://oregonstate.edu/campusmap/map/element?locations=814</a>), it is straightforward to build a little PHP script to iterate through successive calls to the URL, parse the returned JSON and then recombine just the portions I am interested in.
                    
90  </p>
                    
219  <li><strong>Chrome Dev Tools</strong> - used to uncover the AJAX calls and JSON responses the official campus map web page is using.</li>
                    
220  <li><strong>PHP Script</strong> - quick and dirty PHP script to replicate the AJAX calls discovered above.  Scans the range of location id's and produces a dataset useable elsewhere.</li>
                    
221  <li><strong><a href="http://leafletjs.com/">leaflet.js</a></strong> - JavaScript library for easy to use mapping.</li>
                    
                
Matcher.php https://gitlab.com/karora/awl | PHP | 308 lines
                    
40 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
41 * @link       http://github.com/sebastianbergmann/phpunit-mock-objects
                    
42 * @since      File available since Release 1.0.0
                    
58 * @version    Release: @package_version@
                    
59 * @link       http://github.com/sebastianbergmann/phpunit-mock-objects
                    
60 * @since      Class available since Release 1.0.0
                    
61 */
                    
62class PHPUnit_Framework_MockObject_Matcher implements PHPUnit_Framework_MockObject_Matcher_Invocation
                    
63{
                    
89    /**
                    
90     * @var PHPUnit_Framework_MockObject_Stub
                    
91     */
                    
153            if (!$builder) {
                    
154                throw new PHPUnit_Framework_Exception(
                    
155                  sprintf(
                    
                
student_profile.php https://gitlab.com/varsha_evonix/intranet | PHP | 136 lines
                    
1<?php
                    
2
                    
2
                    
3include ('header.php');
                    
4?>
                    
24                                                </a>
                    
25                                                <img class="img-responsive img-profile" src="<?php echo base_url(); ?>assets/img/profile-full.jpg" alt="">
                    
26                                               
                    
112                                                <ul class="list-inline">
                    
113                                                    <li><a class="facebook-link" href="#"><i class="fa fa-facebook-square fa-2x"></i></a>
                    
114                                                    </li>
                    
114                                                    </li>
                    
115                                                    <li><a class="twitter-link" href="#"><i class="fa fa-twitter-square fa-2x"></i></a>
                    
116                                                    </li>
                    
116                                                    </li>
                    
117                                                    <li><a class="linkedin-link" href="#"><i class="fa fa-linkedin-square fa-2x"></i></a>
                    
118                                                    </li>
                    
                
Type0.php https://gitlab.com/devtoannh/cafe | PHP | 257 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Type0.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
24/** Internally used classes */
                    
25require_once 'Zend/Pdf/Element/Array.php';
                    
26require_once 'Zend/Pdf/Element/Name.php';
                    
29/** Zend_Pdf_Resource_Font */
                    
30require_once 'Zend/Pdf/Resource/Font.php';
                    
31
                    
35 * A composite font is one whose glyphs are obtained from other fonts or from fontlike
                    
36 * objects called CIDFonts ({@link Zend_Pdf_Resource_Font_CidFont}), organized hierarchically.
                    
37 * In PDF, a composite font is represented by a font dictionary whose Subtype value is Type0;
                    
55 * Font objects should be normally be obtained from the factory methods
                    
56 * {@link Zend_Pdf_Font::fontWithName} and {@link Zend_Pdf_Font::fontWithPath}.
                    
57 *
                    
                
template-bootstrap.php https://gitlab.com/danielortiz1982/spicer | PHP | 198 lines
                    
13
                    
14        <link rel='stylesheet' type='text/css' href='<?php echo PAGEDIR; ?>/machines/libraries/mmenu/jquery.mmenu.all.css' />
                    
15        <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/machines/libraries/owlcarousel/owlcarousel.css">
                    
15        <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/machines/libraries/owlcarousel/owlcarousel.css">
                    
16        <link rel="stylesheet" type="text/css" href="<?php echo PAGEDIR; ?>/styles/styles.min.css">
                    
17
                    
25    </head>
                    
26    <body data-tempdir="<?php echo PAGEDIR; ?>" id="<?php echo get_post( $post )->post_name; ?>" <?=(returnMobile() == 'true')? 'class="mobileMode"' : 'class="desktopMode"';?>>
                    
27
                    
75                        <a class="navbar-brand" href="<?php echo home_url(); ?>">
                    
76                            <img src="<?php echo PAGEDIR; ?>/images/graphics/logo.png" alt="<?php bloginfo('name');?>" />
                    
77                        </a>
                    
100                        'link_before'     => '<span>',
                    
101                        'link_after'      => '</span>',
                    
102                        'items_wrap'      => '<ul id="%1$s" class="%2$s">%3$s</ul>',
                    
                
utilities.php https://gitlab.com/ppapadatis/Videolearn | PHP | 307 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version    SVN $Id: utilities.php 709 2012-10-26 09:07:01Z dhorsfall $
                    
4 * @package    hwdMediaShare
                    
86	 * If escaping mechanism is either htmlspecialchars or htmlentities, uses
                    
87	 * {@link $_encoding} setting.
                    
88	 *
                    
165                {
                    
166                        include_once(JPATH_ROOT.'/components/com_community/libraries/core.php');
                    
167                        $JSUser = CFactory::getUser($user->id);
                    
175                {
                    
176                        include_once (JPATH_ROOT.DS.'components'.DS .'com_awdwall' .DS . 'helpers' . DS . 'user.php');
                    
177                        return AwdwallHelperUser::getBigAvatar51($user->id);	
                    
258        {
                    
259                JLoader::register('hwdMediaShareHelperMobile', JPATH_ROOT.'/components/com_hwdmediashare/helpers/mobile.php');
                    
260                $mobile = hwdMediaShareHelperMobile::getInstance();
                    
                
view_jadwal_pelajaran.php https://gitlab.com/imadd23/sijs | PHP | 303 lines
                    
49</style>
                    
50<!--<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/ace/plugin/perfect-scrollbar/css/perfect-scrollbar.css');?>">-->
                    
51<div class="row">
                    
53		<h3 class="row header smaller lighter blue">
                    
54			<span class="col-sm-6"> Jadwal Pelajaran <?php echo $semester;?></span><!-- /.col -->
                    
55			
                    
57				<label class="pull-right inline">
                    
58					<?php if ($obj->has_access('jadwal_pelajaran', 'view')){ ?>
                    
59						<a class="btn btn-xs btn-primary" target="_blank" href="<?php echo site_url('jadwal_pelajaran/export');?>">
                    
62						</a>
                    
63					<?php } ?>
                    
64
                    
64
                    
65					<?php if ($obj->has_access('jadwal_pelajaran', 'add')){ ?>
                    
66						<a class="btn btn-xs btn-primary" href="<?php echo site_url('jadwal_pelajaran/edit');?>">
                    
                
group.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 214 lines
                    
1<?php
                    
2
                    
72        $subgroupid = "";
                    
73        $query = "INSERT INTO " . $table_name . " (`groupid`, `parentid`, `image`, `thumbnail`, `weight`, `order`, `lev`, `viewgroup`, `numsubgroup`, `subgroupid`, `inhome`, `numlinks`, `admins`, `add_time`, `edit_time`, `del_cache_time`, `who_view`, `groups_view` " . $listfield . " ) 
                    
74         VALUES (NULL, " . $db->dbescape( $data['parentid'] ) . ",' ',' '," . $db->dbescape( $weight ) . ", '0', '0', " . $db->dbescape( $viewgroup ) . ", '0', " . $db->dbescape( $subgroupid ) . ", '1', '4'," . $db->dbescape( $admins ) . ", UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), UNIX_TIMESTAMP() + 26000000, " . $db->dbescape( $data['who_view'] ) . "," . $db->dbescape( $groups_view ) . $listvalue . " )";
                    
82            nv_del_moduleCache( $module_name );
                    
83            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" );
                    
84            die();
                    
110            
                    
111            Header( "Location: " . NV_BASE_ADMINURL . "index.php?" . NV_NAME_VARIABLE . "=" . $module_name . "&" . NV_OP_VARIABLE . "=" . $op . "&parentid=" . $data['parentid'] . "" );
                    
112            die();
                    
209
                    
210include ( NV_ROOTDIR . "/includes/header.php" );
                    
211echo nv_admin_theme( $contents );
                    
211echo nv_admin_theme( $contents );
                    
212include ( NV_ROOTDIR . "/includes/footer.php" );
                    
213
                    
                
Parser.pm https://github.com/tokuhirom/rpc-xml.git | Perl | 326 lines
                    
5# Copying and distribution are permitted under the terms of the Artistic
                    
6# License 2.0 (http://www.opensource.org/licenses/artistic-license-2.0.php) or
                    
7# the GNU LGPL (http://www.opensource.org/licenses/lgpl-2.1.php).
                    
173is to be spooled to a filehandle opened onto an anonymous temporary file. The
                    
174file itself is unlinked after opening, though the resulting B<RPC::XML::base64>
                    
175object can use its C<to_file> method to save the data to a specific file at a
                    
308Copying and distribution are permitted under the terms of the Artistic
                    
309License 2.0 (L<http://www.opensource.org/licenses/artistic-license-2.0.php>) or
                    
310the GNU LGPL 2.1 (L<http://www.opensource.org/licenses/lgpl-2.1.php>).
                    
                
p2p.h https://bitbucket.org/cyanogenmod/lge-kernel-iproj.git | C Header | 564 lines
                    
6 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
7 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
8 * following added to such license:
                    
10 *      As a special exception, the copyright holders of this software give you
                    
11 * permission to link this software with independent modules, and to copy and
                    
12 * distribute the resulting executable under terms of your choice, provided that
                    
12 * distribute the resulting executable under terms of your choice, provided that
                    
13 * you also meet, for each linked independent module, the terms and conditions of
                    
14 * the license of that module.  An independent module is a module which is not
                    
                
frame_reflower.cls.php https://gitlab.com/techniconline/kmc | PHP | 454 lines
                    
1<?php
                    
2/**
                    
3 * @package dompdf
                    
4 * @link    http://dompdf.github.com/
                    
5 * @author  Benj Carson <benjcarson@digitaljunkies.ca>
                    
                
Item.php https://gitlab.com/ricardosanchez/prueba | PHP | 398 lines
                    
1<?php
                    
2/**
                    
24 * @property string $title
                    
25 * @property string $link
                    
26 * @property string $parent_id
                    
47        'id' => 0,
                    
48        'type' => 'link',
                    
49        'path' => null,
                    
51        'title' => null,
                    
52        'link' => null,
                    
53        'parent_id' => null,
                    
67        'level' => 0,
                    
68        'link_title' => '',
                    
69        'anchor_class' => ''
                    
87            'title' => ucfirst($alias),
                    
88            'link' => $name,
                    
89            'parent_id' => $parent != '.' ? $parent : '',
                    
                
list.php https://gitlab.com/ricardosanchez/prueba | PHP | 382 lines
                    
95		$show_link         = false;
                    
96		$link_url          = '';
                    
97
                    
99
                    
100		if ($this->element['show_link'] == 'true')
                    
101		{
                    
101		{
                    
102			$show_link = true;
                    
103		}
                    
110		{
                    
111			$show_link = false;
                    
112		}
                    
115		{
                    
116			$link_url = $this->parseFieldTags($link_url);
                    
117		}
                    
                
ARC2_SemHTMLParser.php https://gitlab.com/klausmig/CloudSemanticWeb | PHP | 339 lines
                    
1<?php
                    
2/*
                    
167      elseif ((list($sub_r, $sub_v) = $this->xClose($sub_v)) && $sub_r) {
                    
168        if (preg_match('/^(area|base|br|col|frame|hr|input|img|link|xmeta|param)$/', $sub_r['tag'])) {
                    
169          /* already implicitly closed */
                    
281  function isEmpty($t, $v) {
                    
282    if (preg_match('/^(area|base|br|col|frame|hr|input|img|link|xmeta|param)$/', $t)) {
                    
283      return 1;
                    
                
blocklayered.tpl https://bitbucket.org/enurkov/prestashop.git | 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-2012 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}
                    
                
settings_lang.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | PHP | 174 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
30$lang['settings:dashboard_rss']					= 'Dashboard RSS syöte';
                    
31$lang['settings:dashboard_rss_desc']			= 'Linkki RSS syötteeseen, joka näytetään dashboardissa.';
                    
32
                    
37$lang['settings:date_format_desc']				= 'Miten päiväyksen muoto tulisi olla sivustolla ja hallintapaneelissa? ' .
                    
38													'Käyttämällä PHP:n <a href="http://php.net/manual/en/function.date.php" target="_black">date muotoa</a> - TAI - ' .
                    
39													'Käyttämällä PHP:n <a href="http://php.net/manual/en/function.strftime.php" target="_black">strftime muotoa</a>.';
                    
173
                    
174/* End of file settings_lang.php */
                    
                
bluepay.php https://gitlab.com/Riky_Lesmana/SugarSweetCakes | PHP | 310 lines
                    
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
11 * @created 08/24/2011
                    
12 * @license http://www.opensource.org/licenses/mit-license.php
                    
13 * @link https://github.com/calvinfroedge/codeigniter-payments
                    
                
Message.php https://github.com/balupton/balphp.git | PHP | 402 lines
                    
1<?php
                    
2
                    
10 * @author     ##NAME## <##EMAIL##>
                    
11 * @version    SVN: $Id: Builder.php 6820 2009-11-30 17:27:49Z jwage $
                    
12 */
                    
38				$View->headTitle().
                    
39				$View->headLink().
                    
40				$View->headStyle().
                    
                
MaildirFolderTest.php https://github.com/Shreef/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;
                    
                
apbasic-widgets.php https://gitlab.com/pornmongkon.p/wordpress | PHP | 273 lines
                    
1<?php
                    
2/**
                    
120    
                    
121    // Registering Header Social Links Widget
                    
122	register_sidebar( array(
                    
122	register_sidebar( array(
                    
123		'name' 				=> __( 'Header Social Links Section', 'accesspress-basic' ),
                    
124		'id' 					=> 'apbasic_header_social_links',
                    
131    
                    
132    // Registering Footer Social Links Widget
                    
133	register_sidebar( array(
                    
133	register_sidebar( array(
                    
134		'name' 				=> __( 'Footer Social Links Section', 'accesspress-basic' ),
                    
135		'id' 					=> 'apbasic_footer_social_links',
                    
223 */
                    
224require get_template_directory() . '/inc/widgets/widget-fields.php';
                    
225
                    
                
cakephp-coding-conventions.rst https://github.com/markstory/cakephp-docs.git | ReStructuredText | 332 lines
                    
146*  `@access <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.access.pkg.html>`_
                    
147*  `@author <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.author.pkg.html>`_
                    
148*  `@copyright <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.copyright.pkg.html>`_
                    
148*  `@copyright <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.copyright.pkg.html>`_
                    
149*  `@deprecated <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.deprecated.pkg.html>`_
                    
150*  `@example <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.example.pkg.html>`_
                    
150*  `@example <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.example.pkg.html>`_
                    
151*  `@ignore <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.ignore.pkg.html>`_
                    
152*  `@internal <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.internal.pkg.html>`_
                    
152*  `@internal <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.internal.pkg.html>`_
                    
153*  `@link <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.link.pkg.html>`_
                    
154*  `@see <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.see.pkg.html>`_
                    
156*  `@tutorial <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.tutorial.pkg.html>`_
                    
157*  `@version <http://manual.phpdoc.org/HTMLframesConverter/phpdoc.de/phpDocumentor/tutorial_tags.version.pkg.html>`_
                    
158
                    
                
BadBotBlocker.php https://gitlab.com/ebrjose/comcebu | PHP | 453 lines
                    
1<?php
                    
2namespace AIOSEO\Plugin\Common\Tools;
                    
97		'HTTrack',
                    
98		'humanlinks',
                    
99		'ieautodiscovery',
                    
110		'libwww',
                    
111		'LinkextractorPro',
                    
112		'linko',
                    
112		'linko',
                    
113		'LinkScan/8.1a Unix',
                    
114		'LinkWalker',
                    
136		'panscient.com',
                    
137		'PHP/5.{',
                    
138		'ProPowerBot/2.14',
                    
324	 * @see  Original code, thanks to Sean M. Brown.
                    
325	 * @link http://smbrown.wordpress.com/2009/04/29/verify-googlebot-forward-reverse-dns/
                    
326	 *
                    
                
testsuite.php https://github.com/bb-dev/cakephp2x.git | PHP | 376 lines
                    
8 *
                    
9 * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
                    
10 * Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
15 * @copyright     Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
16 * @link          https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests
                    
17 * @package       cake
                    
18 * @subpackage    cake.cake.console.libs
                    
19 * @since         CakePHP(tm) v 1.2.0.4433
                    
20 * @license       http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
                    
223			case 'group':
                    
224				if (file_exists($folder.DS.'groups'.DS.$this->file.'.group.php')) {
                    
225					return true;
                    
232				$coreCaseExists = file_exists($folder.DS.'cases'.DS.$this->file.'.test.php');
                    
233				$coreLibCaseExists = file_exists($folder.DS.'cases'.DS.'libs'.DS.$this->file.'.test.php');
                    
234				if ($this->category == 'core' && ($coreCaseExists || $coreLibCaseExists)) {
                    
                
LayoutDeviceManager.java https://gitlab.com/Codeaurora/platform_sdk | Java | 395 lines
                    
7 *
                    
8 *      http://www.eclipse.org/org/documents/epl-v10.php
                    
9 *
                    
163     * If the name and dpi values are identical the given device is returned an nothing is done
                    
164     * @param device the {@link LayoutDevice} to replace
                    
165     * @param newName the new name.
                    
194    /**
                    
195     * Adds or replaces a configuration in a given {@link LayoutDevice}.
                    
196     * @param device the device to modify
                    
209    /**
                    
210     * Replaces a configuration in a given {@link LayoutDevice}.
                    
211     * @param device the device to modify
                    
232    /**
                    
233     * Removes a configuration from a given user {@link LayoutDevice}
                    
234     * @param device the device to modify
                    
                
recorded.php https://github.com/freedenizen/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))) ?>"
                    
                
ResultPrinter.php https://github.com/zick4/inzynierka.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    {
                    
                
Version.php https://github.com/oaugustus/symfony-sandbox.git | PHP | 326 lines
                    
1<?php
                    
2/*
                    
30 *
                    
31 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
32 * @link        www.doctrine-project.org
                    
                
ExportToHtmlTemplate.php https://gitlab.com/mattswann/launch-housing | PHP | 232 lines
                    
1<?php

                    
2/*

                    
21

                    
22require_once('ExportBase.php');

                    
23require_once('CFDBExport.php');

                    
23require_once('CFDBExport.php');

                    
24require_once('CFDBShortCodeContentParser.php');

                    
25

                    
36

                    
37        $filelinks = '';

                    
38        $wpautop = false;

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

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

                    
43            }

                    
146                $fields_with_file = null;

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

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

                    
                
AddressBookUpgradeScript.class.php https://gitlab.com/x33n/ProjectPier-Core | PHP | 220 lines
                    
1<?php
                    
2
                    
11    /**
                    
12    * Database connection link
                    
13    *
                    
42      
                    
43      $config_is_set = require_once INSTALLATION_PATH . '/config/config.php';
                    
44      if (!$config_is_set) {
                    
                
class-itsec-core-admin.php https://gitlab.com/kath.de/cibedo_cibedo.de | PHP | 390 lines
                    
8
                    
9		add_filter( 'itsec_meta_links', array( $this, 'add_plugin_meta_links' ) );
                    
10
                    
85	/**
                    
86	 * Adds links to the plugin row meta
                    
87	 *
                    
93	 */
                    
94	public function add_plugin_meta_links( $meta ) {
                    
95
                    
128		echo '<h2>' . __( 'Watch the Walk-Through Video', 'better-wp-security' ) . '</h2>';
                    
129		echo '<a class="itsec-video-link" href="#" data-video-id="itsec_video"><img src="' . plugins_url( 'img/video.png', __FILE__ ) . '" /></a>';
                    
130		echo sprintf( '<p class="itsec-video-description">%s <a href="http://ithem.es/6y" target="_blank">%s</a> %s </p>', __( 'In this short video, we walk through', 'better-wp-security' ), __( 'how to get started securing your site', 'better-wp-security' ), __( 'with iThemes Security.', 'better-wp-security' ) );
                    
180				</div>
                    
181				<p><?php _e( 'Get tips for securing your site + the latest WordPress security updates, news and releases from iThemes.', 'better-wp-security' ); ?></p>
                    
182
                    
                
SfPropelBehaviorI18n.php https://github.com/bigcalm/urlcatcher.git | PHP | 352 lines
                    
126    $foreignKey = $this->getI18nTable()->getBehavior('symfony_i18n_translation')->getForeignKey();
                    
127    $refPhpName = $foreignKey->getRefPhpName() ? $foreignKey->getRefPhpName() : $this->getI18nTable()->getPhpName();
                    
128
                    
152{
                    
153  \$this->getCurrent{$refPhpName}(\$culture)->set{\$column->getPhpName()}(\$value);
                    
154  return \$this;
                    
206    $foreignKey = $this->getI18nTable()->getBehavior('symfony_i18n_translation')->getForeignKey();
                    
207    $refPhpName = $foreignKey->getRefPhpName() ? $foreignKey->getRefPhpName() : $this->getI18nTable()->getPhpName();
                    
208    $join = in_array($this->getBuildProperty('propel.useLeftJoinsInDoJoinMethods'), array(true, null), true) ? 'LEFT' : 'INNER';
                    
232/**
                    
233 * Selects a collection of {@link {$this->getTable()->getPhpName()}} objects with a {@link {$this->getI18nTable()->getPhpName()}} translation populated.
                    
234 *
                    
256  {$this->getTable()->getPhpName()}Peer::addSelectColumns(\$criteria);
                    
257  \$startcol = ({$this->getTable()->getPhpName()}Peer::NUM_COLUMNS - {$this->getTable()->getPhpName()}Peer::NUM_LAZY_LOAD_COLUMNS);
                    
258  {$this->getI18nTable()->getPhpName()}Peer::addSelectColumns(\$criteria);
                    
                
Extracted.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 261 lines
                    
1<?php
                    
2/**
                    
21/** Zend_Pdf_Resource_Font */
                    
22#require_once 'Zend/Pdf/Resource/Font.php';
                    
23
                    
24/** Zend_Pdf_Cmap */
                    
25#require_once 'Zend/Pdf/Cmap.php';
                    
26
                    
136     *
                    
137     * See also {@link glyphNumberForCharacter()}.
                    
138     *
                    
152     *
                    
153     * See also {@link glyphNumbersForCharacters()} which is optimized for bulk
                    
154     * operations.
                    
190     * The widths are expressed in the font's glyph space. You are responsible
                    
191     * for converting to user space as necessary. See {@link unitsPerEm()}.
                    
192     *
                    
                
Engine.php https://github.com/xoops-pi/engine.git | PHP | 287 lines
                    
1<?php
                    
2/**
                    
13 * @license         http://www.fsf.org/copyleft/gpl.html GNU public license
                    
14 * @author          Taiwen Jiang <phppp@users.sourceforge.net>
                    
15 * @since           3.0
                    
30 */
                    
31require SMARTY_DIR . 'Smarty.class.php';
                    
32
                    
39    if (substr($_class, 0, 16) === 'smarty_internal_' || $_class == 'smarty_security') {
                    
40        return SMARTY_SYSPLUGINS_DIR . $_class . '.php';
                    
41    }
                    
133     * @param string $compile_id
                    
134     * @return string|false results of {@link _read_cache_file()}
                    
135     */
                    
                
README.md https://gitlab.com/alidzapp/Link-Preview | Markdown | 243 lines
                    
108
                    
109To custom your database configurations, you need to change the following values in [Database.php](/src/link-preview/php/classes/Database.php)
                    
110
                    
118
                    
119Additionally, the way I used to retrieve the data was creating a controller [link-preview-database.js](/src/link-preview/js/link-preview-database.js)
                    
120which you can include the file somehow in your project or you can its content to yours.
                    
130        
                    
131                var url = 'src/link-preview/php/retrieve.php';
                    
132                $http({
                    
182    
                    
183Also, check the file [database-template.php](src/link-preview/template/database-template.php) to see an example of how to display the data retrieved from database.    
                    
184       
                    
184       
                    
185Make sure your columns are the same as those ones in [linkpreview.sql](/src/link-preview/linkpreview.sql) or customize them.        
                    
186
                    
                
store.php https://github.com/marxjohnson/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) {
                    
                
search.php https://bitbucket.org/moodle/moodle.git | PHP | 400 lines
                    
1<?php
                    
2
                    
19 * @package   mod_forum
                    
20 * @copyright 1999 onwards Martin Dougiamas  {@link http://moodle.com}
                    
21 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
                    
23
                    
24require_once('../../config.php');
                    
25require_once('lib.php');
                    
142
                    
143    $url = new moodle_url('/mod/forum/index.php', array('id' => $course->id));
                    
144    $PAGE->navbar->add($strforums, $url);
                    
144    $PAGE->navbar->add($strforums, $url);
                    
145    $url = new moodle_url('/mod/forum/search.php', array('id' => $course->id));
                    
146    $PAGE->navbar->add(get_string('advancedsearch', 'forum'), $url);
                    
163
                    
164$PAGE->navbar->add($strsearch, new moodle_url('/mod/forum/search.php', array('id'=>$course->id)));
                    
165$PAGE->navbar->add($strsearchresults);
                    
                
Data.php https://bitbucket.org/jit_bec/shopifine.git | PHP | 478 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) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
110                            'label' => $categories[$categoryId]->getName(),
                    
111                            'link' => $this->_isCategoryLink($categoryId) ? $categories[$categoryId]->getUrl() : ''
                    
112                        );
                    
126    /**
                    
127     * Check is category link
                    
128     *
                    
131     */
                    
132    protected function _isCategoryLink($categoryId)
                    
133    {
                    
                
upload.php https://gitlab.com/plusplusminus/aevitas | PHP | 245 lines
                    
1<?php
                    
2
                    
7/**
                    
8 * upload.php
                    
9 *
                    
145						GFCommon::log_debug( 'GFAsyncUpload::upload(): Deleting file: ' . $tmp_file_path );
                    
146						@unlink( $tmp_file_path );
                    
147					}
                    
183					@fclose( $out );
                    
184					@unlink( $_FILES['file']['tmp_name'] );
                    
185				} else {
                    
195				// Read binary input stream and append it to temp file
                    
196				$in = @fopen( 'php://input', 'rb' );
                    
197
                    
                
HelperRegistryTest.php https://gitlab.com/18runt88/cakephp | PHP | 334 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://cakephp.org CakePHP(tm) Project
                    
12 * @since         2.0.0
                    
12 * @since         2.0.0
                    
13 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
14 */
                    
                
vardefs.php https://github.com/faouzia/sugarcrm_dev.git | PHP | 358 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
137    'name' => 'revisions',
                    
138    'type' => 'link',
                    
139    'relationship' => 'document_revisions',
                    
185    'table' => 'document_revisions',
                    
186    'link'  => 'revisions',
                    
187    'join_name'  => 'document_revisions',
                    
194    'name' => 'contracts',
                    
195    'type' => 'link',
                    
196    'relationship' => 'contracts_documents',
                    
202    'name' => 'leads',
                    
203    'type' => 'link',
                    
204    'relationship' => 'leads_documents',
                    
300  ),
                    
301  'linked_id'=>
                    
302  array (
                    
                
wiki_document.php https://github.com/nadavkav/MoodleTAO.git | PHP | 280 lines
                    
1<?php
                    
2/**
                    
17* Functions for iterating and retrieving the necessary records are now also included
                    
18* in this file, rather than mod/wiki/lib.php
                    
19*/
                    
23*/
                    
24require_once("$CFG->dirroot/search/documents/document.php");
                    
25require_once("$CFG->dirroot/mod/wiki/lib.php");
                    
46        $doc->contents  = $page['content'];
                    
47        $doc->url       = wiki_make_link($wiki_id, $page['pagename'], $page['version']);
                    
48        
                    
67/**
                    
68* constructs a valid link to a wiki content
                    
69* @param int $wikiId
                    
73*/
                    
74function wiki_make_link($wikiId, $title, $version) {
                    
75    global $CFG;
                    
                
filter.php https://github.com/plymouthstate/moodle.git | PHP | 226 lines
                    
86            $entries = $DB->get_records_select('glossary_entries',
                    
87                    'glossaryid IN ('.$glossarylist.') AND usedynalink != 0 AND approved != 0 ', null, '',
                    
88                    'id,glossaryid, concept, casesensitive, 0 AS category, fullmatch');
                    
151                $glossaryname = str_replace(':', '-', $glossaries[$concept->glossaryid]);
                    
152                if ($concept->category) {       // Link to a category
                    
153                    // TODO: Fix this string usage
                    
157                                      '&amp;mode=cat&amp;hook='.$concept->id.'">';
                    
158                } else { // Link to entry or alias
                    
159                    if (!empty($concept->originalconcept)) {  // We are dealing with an alias (so show and point to original)
                    
168                    // a link that opens another popup.
                    
169                    $link = new moodle_url('/mod/glossary/showentry.php', array('courseid'=>$courseid, 'eid'=>$concept->id, 'displayformat'=>'dictionary'));
                    
170                    $attributes = array(
                    
176                    // if processing an embedded file use target to prevent getting nested Moodles
                    
177                    if (isset($CFG->embeddedsoforcelinktarget) && $CFG->embeddedsoforcelinktarget) {
                    
178                        $attributes['target'] = '_top';
                    
                
index.php https://github.com/ECP-Black/ECP.git | PHP | 265 lines
                    
1<?php
                    
2$conditions = array('LIMIT' 	=> LIMIT_COMMENTS,
                    
63			$conditions['action'] = 'add';
                    
64			$conditions['link'] = '?section=user&view=gb&id='.$id;
                    
65			comments_get('user', $id, $conditions, 0, 0);
                    
226		if($limits[0] > 1)
                    
227		$tpl->assign('seiten', makepagelink_ajax('?section=user&action=list&orderby='.$_GET['orderby'].'&order='.$_GET['order'],'return load_user(\'orderby='.$_GET['orderby'].'&order='.$_GET['order'].'&page={nr}\');',@$_GET['page'], $limits[0]));
                    
228	$tpl->assign('user', $user);
                    
248			$conditions['action'] = 'add';
                    
249			$conditions['link'] = '?section=user&view=gb&id='.(int)$_GET['id'];
                    
250			comments_add('user', (int)$_GET['id'], $conditions);		
                    
253			$conditions['action'] = 'edit';
                    
254			$conditions['link'] = '?section=user&view=gb&id='.(int)$_GET['subid'];
                    
255			comments_edit('user', (int)$_GET['subid'], (int)$_GET['id'], $conditions);		
                    
                
Search.php https://gitlab.com/digitalpoetry/exceptionally-timed | PHP | 462 lines
                    
1<?php namespace Myth\Docs;
                    
2/**
                    
28 * @license     http://opensource.org/licenses/MIT  (MIT)
                    
29 * @link        http://sprintphp.com
                    
30 * @since       Version 1.0
                    
64     */
                    
65    protected $allowed_file_types = 'html|htm|php|php4|php5|txt|md';
                    
66
                    
                
Extracted.php https://github.com/rogerwu99/punch_bantana.git | PHP | 261 lines
                    
1<?php
                    
2/**
                    
21/** Zend_Pdf_Resource_Font */
                    
22require_once 'Zend/Pdf/Resource/Font.php';
                    
23
                    
24/** Zend_Pdf_Cmap */
                    
25require_once 'Zend/Pdf/Cmap.php';
                    
26
                    
136     *
                    
137     * See also {@link glyphNumberForCharacter()}.
                    
138     *
                    
152     *
                    
153     * See also {@link glyphNumbersForCharacters()} which is optimized for bulk
                    
154     * operations.
                    
190     * The widths are expressed in the font's glyph space. You are responsible
                    
191     * for converting to user space as necessary. See {@link unitsPerEm()}.
                    
192     *
                    
                
DB_result.php https://gitlab.com/ricoru21/py_incidencia | PHP | 410 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
10 * @license		http://codeigniter.com/user_guide/license.html
                    
11 * @link		http://codeigniter.com
                    
12 * @since		Version 1.0
                    
26 * @author		ExpressionEngine Dev Team
                    
27 * @link		http://codeigniter.com/user_guide/database/
                    
28 */
                    
408
                    
409/* End of file DB_result.php */
                    
410/* Location: ./system/database/DB_result.php */
                    
                
translated-object.php https://gitlab.com/hop23typhu/bryepoxy | PHP | 272 lines
                    
1<?php
                    
2
                    
101
                    
102			// unlink removed translations
                    
103			$old_translations = $this->get_translations( $id );
                    
125
                    
126				// link all translations to the new term
                    
127				foreach ( $translations as $p ) {
                    
                
FontDescriptor.php https://gitlab.com/Ltaimao/wecenter | PHP | 204 lines
                    
1<?php
                    
2/**
                    
24/** Internally used classes */
                    
25//require_once 'Zend/Pdf/Element/Array.php';
                    
26//require_once 'Zend/Pdf/Element/Dictionary.php';
                    
26//require_once 'Zend/Pdf/Element/Dictionary.php';
                    
27//require_once 'Zend/Pdf/Element/Name.php';
                    
28//require_once 'Zend/Pdf/Element/Numeric.php';
                    
30/** Zend_Pdf_Font */
                    
31//require_once 'Zend/Pdf/Font.php';
                    
32
                    
55    {
                    
56        //require_once 'Zend/Pdf/Exception.php';
                    
57        throw new Zend_Pdf_Exception('Zend_Pdf_Resource_Font_FontDescriptor is not intended to be instantiated');
                    
64     * to font embedding. You may combine options by OR-ing them together. See
                    
65     * the EMBED_ constants defined in {@link Zend_Pdf_Font} for the list of
                    
66     * available options and their descriptions.
                    
                
app.yml https://github.com/marbemac/limelight-music.git | YAML | 257 lines
                    
2test:
                    
3  rpx_tokenize_url:  http://97.107.135.24/frontend_test.php/tokenize
                    
4  site_path:         frontend_test.php/
                    
6staging:
                    
7  rpx_tokenize_url:  http://97.107.135.24/frontend_staging.php/tokenize
                    
8  site_path:         .php/
                    
10dev:
                    
11  rpx_tokenize_url:  http://music.limelight/frontend_dev.php/tokenize
                    
12  site_path:         frontend_dev.php/
                    
84  News_score_flag_val:                   -20
                    
85  NewsLink_score_flag_val:               -10
                    
86  LimelightSpecification_score_flag_val: -10
                    
246    NewsLinkScore_min:          5
                    
247    NewsLinkScore_add:          News Linker
                    
248    CommentScore_min:           5
                    
                
backuplib.php https://github.com/cwaclawik/moodle.git | PHP | 337 lines
                    
1<?PHP //$Id$
                    
2    //This php script contains all the stuff to backup/restore
                    
30    // Meaning: pk->primary key field of the table
                    
31    //          fk->foreign key to link with parent
                    
32    //          nt->nested field (recursive data)
                    
240        // $excluded_tags : fields which will NOT be backed up from the records
                    
241        // $more_backup   : optional PHP code to be eval(uated) for each record
                    
242        // If any of the "fwrite" statements fail,
                    
                
wlfc_proto.h https://bitbucket.org/cyanogenmod/lge-kernel-iproj.git | C Header | 216 lines
                    
6* under the terms of the GNU General Public License version 2 (the "GPL"),
                    
7* available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
8* following added to such license:
                    
10*      As a special exception, the copyright holders of this software give you
                    
11* permission to link this software with independent modules, and to copy and
                    
12* distribute the resulting executable under terms of your choice, provided that
                    
12* distribute the resulting executable under terms of your choice, provided that
                    
13* you also meet, for each linked independent module, the terms and conditions of
                    
14* the license of that module.  An independent module is a module which is not
                    
                
 

Source

Language