PageRenderTime 2536ms queryTime 753ms sortTime 233ms getByIdsTime 307ms findMatchingLines 130ms

100+ results results for 'php prev' (2536 ms)

Not the results you expected?
wp-cache-f091d5ab40590bc01ee8ea7afc5372b1.html https://gitlab.com/endomorphosis/reservationtelco | HTML | 371 lines
                    
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" /> 
                    
32<link rel='index' title='Reservation Telephone Company' href='http://localhost:8888/reservation-telephone-company/' />
                    
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/' />
                    
81     }
                    
82     .calendar-prev {
                    
83        width:25%;
                    
                
Store.php https://gitlab.com/ealexis.t/trends | PHP | 707 lines
                    
1<?php
                    
2
                    
369        // developer, making repopulating old forms and the like much more
                    
370        // convenient, since the request's previous input is available.
                    
371        return Arr::get($input, $key, $default);
                    
641    /**
                    
642     * Get the previous URL from the session.
                    
643     *
                    
645     */
                    
646    public function previousUrl()
                    
647    {
                    
647    {
                    
648        return $this->get('_previous.url');
                    
649    }
                    
651    /**
                    
652     * Set the "previous" URL in the session.
                    
653     *
                    
                
arr.php https://bitbucket.org/i1598/caiyun_stat.git | PHP | 602 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
351	/**
                    
352	 * Recursive version of [array_map](http://php.net/array_map), applies one or more
                    
353	 * callbacks to all elements in an array, including sub-arrays.
                    
403	 * Merges one or more arrays recursively and preserves all keys.
                    
404	 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)!
                    
405	 *
                    
445
                    
446							// Indexed arrays are merged to prevent duplicates
                    
447							$result[$key] = array_merge($result[$key], $diff);
                    
                
ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
                    
1<?php
                    
2
                    
36
                    
37require_once 'CRM/Core/Form.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
39require_once 'CRM/Contribute/PseudoConstant.php';
                    
40
                    
115        // set up tabs
                    
116        require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php';
                    
117        CRM_Contribute_Form_ContributionPage_TabHeader::build( $this );
                    
121        } else if ($this->_action == CRM_Core_Action::VIEW) {
                    
122            CRM_Utils_System::setTitle(ts('Preview Page - %1', array(1 => $title)));
                    
123        } else if ($this->_action == CRM_Core_Action::DELETE) {
                    
178                $buttons[] =  array ( 'type'      => 'back', 
                    
179                                      'name'      => ts('<< Previous'), 
                    
180                                      'spacing'   => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' );
                    
                
admin_review.php https://bitbucket.org/prat_h/rakbuku.git | PHP | 501 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2
                    
2
                    
3require_once(APPPATH.'controllers/project.php');
                    
4
                    
86				$this->data["state"] = $this->projects_model->get_projects_state($state);
                    
87				$prevstate_process = $this->data["state"][0]["project_state"];
                    
88				$this->data["type"] = $this->data["project_data"][0]["type_id"];
                    
88				$this->data["type"] = $this->data["project_data"][0]["type_id"];
                    
89				$this->set_destination($this->data["type"], $prevstate_process);
                    
90			}
                    
283		$this->data["state"] = $this->projects_model->get_projects_state($state);
                    
284		$prevstate_process = $this->data["state"][0]["project_state"];
                    
285		$this->data["type"] = $this->data["project_data"][0]["type_id"];
                    
285		$this->data["type"] = $this->data["project_data"][0]["type_id"];
                    
286		$this->set_destination($this->data["type"], $prevstate_process);
                    
287		$this->load->view("project/publish_project_admin", $this->data);
                    
                
File.php https://github.com/Riges/KawaiViewModel.git | PHP | 468 lines
                    
25 */
                    
26require_once 'Zend/CodeGenerator/Php/Abstract.php';
                    
27
                    
86        if ($fileName == '') {
                    
87            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
88            throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.');
                    
209            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
210            throw new Zend_CodeGenerator_Php_Exception('setDocblock() is expecting either a string, array or an instance of Zend_CodeGenerator_Php_Docblock');
                    
211        }
                    
293            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
294            throw new Zend_CodeGenerator_Php_Exception('Expecting either an array or an instance of Zend_CodeGenerator_Php_Class');
                    
295        }
                    
460        if ($this->_filename == '' || !is_writable(dirname($this->_filename))) {
                    
461            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
462            throw new Zend_CodeGenerator_Php_Exception('This code generator object is not writable.');
                    
                
resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
                    
1<?php
                    
2/**
                    
24$_lang['page_settings'] = 'Pengaturan';
                    
25$_lang['preview'] = 'Tinjauan';
                    
26$_lang['resource_access_message'] = 'Di sini Anda dapat memilih kelompok sumber daya ini milik.';
                    
                
WebformSettingsForm.php https://gitlab.com/guillaumev/alkarama | PHP | 334 lines
                    
1<?php
                    
2
                    
93      '#default_value' => $config->get('email.replyto'),
                    
94      '#description' => t('Sends all e-mail from the domain of the default address above and sets the "Reply-To" header to the actual sender. Helps prevent e-mail from being flagged as spam.'),
                    
95    );
                    
184      '#default_value' => $config->get('advanced.tracking_mode'),
                    
185      '#description' => t('<a href="http://www.wikipedia.org/wiki/HTTP_cookie">Cookies</a> can be used to help prevent the same user from repeatedly submitting a webform. Limiting by IP address is more effective against repeated submissions, but may result in unintentional blocking of users sharing the same address. Confidential submissions are tracked by cookie only. Logged-in users are always tracked by their user ID and are not affected by this option.'),
                    
186    );
                    
                
ClassLoader.php https://gitlab.com/wendy-du-973/club-invest-gr2 | PHP | 481 lines
                    
1<?php
                    
2
                    
39 * @author Jordi Boggiano <j.boggiano@seld.be>
                    
40 * @see    https://www.php-fig.org/psr/psr-0/
                    
41 * @see    https://www.php-fig.org/psr/psr-4/
                    
111     * Registers a set of PSR-0 directories for a given prefix, either
                    
112     * appending or prepending to the ones previously set for this prefix.
                    
113     *
                    
156     * Registers a set of PSR-4 directories for a given namespace, either
                    
157     * appending or prepending to the ones previously set for this namespace.
                    
158     *
                    
204     * Registers a set of PSR-0 directories for a given prefix,
                    
205     * replacing any others previously set for this prefix.
                    
206     *
                    
220     * Registers a set of PSR-4 directories for a given namespace,
                    
221     * replacing any others previously set for this namespace.
                    
222     *
                    
                
SqlBase.php https://gitlab.com/andecode/theme-spark | PHP | 415 lines
                    
1<?php
                    
2
                    
84      'contains' => [
                    
85        'previous' => ['default' => $this->t('‹ Previous')],
                    
86        'next' => ['default' => $this->t('Next ›')],
                    
137
                    
138    $form['tags']['previous'] = [
                    
139      '#type' => 'textfield',
                    
139      '#type' => 'textfield',
                    
140      '#title' => $this->t('Previous page link text'),
                    
141      '#default_value' => $this->options['tags']['previous'],
                    
                
twitter-timeline.php https://gitlab.com/vanafroo/voipWEB | PHP | 470 lines
                    
1<?php
                    
2
                    
26			'twitter_timeline',
                    
27			/** This filter is documented in modules/widgets/facebook-likebox.php */
                    
28			apply_filters( 'jetpack_widget_name', esc_html__( 'Twitter Timeline', 'jetpack' ) ),
                    
35
                    
36		if ( is_active_widget( false, false, $this->id_base ) || is_active_widget( false, false, 'monster' ) || is_customize_preview() ) {
                    
37			add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
                    
63	public function admin_scripts( $hook ) {
                    
64		// This is still 'widgets.php' when managing widgets via the Customizer.
                    
65		if ( 'widgets.php' === $hook ) {
                    
83		if ( isset( $instance['title'] ) ) {
                    
84			/** This filter is documented in core/src/wp-includes/default-widgets.php */
                    
85			echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ) . $args['after_title'];
                    
145
                    
146		/** This action is documented in modules/widgets/social-media-icons.php */
                    
147		do_action( 'jetpack_bump_stats_extras', 'widget', 'twitter_timeline' );
                    
                
edit.php https://github.com/eric-brechemier/wordpress.git | PHP | 294 lines
                    
29
                    
30	if ( strpos($sendback, 'post.php') !== false )
                    
31		$sendback = admin_url($post_new_file);
                    
40	} else {
                    
41		wp_redirect( admin_url("edit.php?post_type=$post_type") );
                    
42	}
                    
116} else {
                    
117	$parent_file = 'edit.php';
                    
118	$submenu_file = 'edit.php';
                    
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']);
                    
                
user.inc.php https://gitlab.com/haque.mdmanzurul/modx-improve-carolyn | PHP | 202 lines
                    
1<?php
                    
2/**
                    
83$_lang['user_err_already_exists_email'] = 'Email already in use!';
                    
84$_lang['user_err_cannot_delete_last_admin'] = 'You cannot remove the last User in the Administrator group, as this will prevent administration of your site.';
                    
85$_lang['user_err_cannot_delete_self'] = 'You cannot delete yourself!';
                    
174$_lang['user_photo_message'] = 'Enter the image URL for this user or use the insert button to select or upload an image file on the server.';
                    
175$_lang['user_prevlogin'] = 'Last Login';
                    
176$_lang['user_prevlogin_desc'] = 'The last time that the user successfully logged in.';
                    
                
class-wp-terms-list-table.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 454 lines
                    
1<?php
                    
2/**
                    
215					$p = $my_parent->parent;
                    
216					if ( in_array( $p, $parent_ids ) ) // Prevent parent loops.
                    
217						break;
                    
298		if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term )
                    
299			$actions['delete'] = "<a class='delete-tag' href='" . wp_nonce_url( "edit-tags.php?action=delete&amp;taxonomy=$taxonomy&amp;tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) . "'>" . __( 'Delete' ) . "</a>";
                    
300		if ( $tax->public )
                    
331
                    
332		/** This filter is documented in wp-admin/edit-tag-form.php */
                    
333		$out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>';
                    
343	function column_slug( $tag ) {
                    
344		/** This filter is documented in wp-admin/edit-tag-form.php */
                    
345		return apply_filters( 'editable_slug', $tag->slug );
                    
366		if ( 'attachment' == $this->screen->post_type )
                    
367			return "<a href='" . esc_url ( add_query_arg( $args, 'upload.php' ) ) . "'>$count</a>";
                    
368
                    
                
tbl_replace.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 414 lines
                    
54 */
                    
55require_once './libraries/common.inc.php';
                    
56
                    
69    $GLOBALS['js_include'][] = 'tbl_change.js';
                    
70    require_once './libraries/header.inc.php';
                    
71    require './tbl_change.php';
                    
178    $me_fields_prev =
                    
179        isset($_REQUEST['fields_prev']['multi_edit'][$rowcount])
                    
180        ? $_REQUEST['fields_prev']['multi_edit'][$rowcount]
                    
302} // end foreach ($loop_array as $primary_key)
                    
303unset($me_fields_prev, $me_funcs, $me_fields_type, $me_fields_null, $me_fields_null_prev,
                    
304    $me_auto_increment, $cur_value, $key, $val, $loop_array, $primary_key, $using_key,
                    
322    $active_page = $goto_include;
                    
323    require_once './libraries/header.inc.php';
                    
324    require './' . PMA_securePath($goto_include);
                    
                
Move.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 364 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
3// +----------------------------------------------------------------------+
                    
4// | PHP version 5                                                        |
                    
5// +----------------------------------------------------------------------+
                    
9// | This LICENSE is in the BSD license style.                            |
                    
10// | http://www.opensource.org/licenses/bsd-license.php                   |
                    
11// |                                                                      |
                    
43//
                    
44// $Id: Move.php 12 2007-09-17 20:20:11Z killersoft $
                    
45//
                    
87 *                           "COMMITTED"  last commit at or before BASE
                    
88 *                           "PREV"       revision just before COMMITTED',
                    
89 *                      // either 'r' or 'revision' may be used
                    
112 * <code>
                    
113 * <?php
                    
114 * require_once 'VersionControl/SVN.php';
                    
                
ThreeZero.php https://github.com/ksecor/civicrm.git | PHP | 271 lines
                    
1<?php
                    
2
                    
35
                    
36require_once 'CRM/Upgrade/Form.php';
                    
37require_once 'CRM/Core/OptionGroup.php';
                    
37require_once 'CRM/Core/OptionGroup.php';
                    
38require_once 'CRM/Core/OptionValue.php';
                    
39
                    
63        
                    
64        //check previous version table e.g 2.2.*
                    
65        if ( ! CRM_Core_DAO::checkTableExists( 'civicrm_cache' )        ||
                    
94        if (!CRM_Core_DAO::checkFieldExists('civicrm_report_instance', 'description')) {
                    
95            require_once 'CRM/Core/DAO/Domain.php';
                    
96            $domain = new CRM_Core_DAO_Domain;
                    
109
                    
110        //We execute some part of php after sql and then again sql
                    
111        //So using conditions for skipping some part of sql CRM-4575
                    
                
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
                    
164
                    
165    /// If $CFG->filtermatchoneperpage, avoid previously (request) linked phrases
                    
166        if (!empty($CFG->filtermatchoneperpage)) {
                    
                
lexer.php https://github.com/nadavkav/Moodle-RTL--Shenkar-Translation-Team-.git | PHP | 393 lines
                    
1<?php  // $Id: lexer.php,v 1.1 2005/01/31 07:39:03 moodler Exp $
                    
2
                    
2
                    
3/* PHP lexer code snarfed from the CVS tree for the lamplib project at 
                    
4 * http://sourceforge.net/projects/lamplib
                    
148         *    Leaves the current state and reverts
                    
149         *    to the previous one.
                    
150         *    @return     False if we drop off
                    
165     *    Some optimisation to make the sure the
                    
166     *    content is only scanned by the PHP regex
                    
167     *    parser once. Lexer modes must not start
                    
233         *    Adds a pattern that will exit the current mode
                    
234         *    and re-enter the previous one.
                    
235         *    @param $pattern      Perl style regex, but ( and )
                    
                
class-wp-customize-setting.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 439 lines
                    
1<?php
                    
2/**
                    
64	/**
                    
65	 * Handle previewing the setting.
                    
66	 *
                    
68	 */
                    
69	public function preview() {
                    
70		switch( $this->type ) {
                    
71			case 'theme_mod' :
                    
72				add_filter( 'theme_mod_' . $this->id_data[ 'base' ], array( $this, '_preview_filter' ) );
                    
73				break;
                    
75				if ( empty( $this->id_data[ 'keys' ] ) )
                    
76					add_filter( 'pre_option_' . $this->id_data[ 'base' ], array( $this, '_preview_filter' ) );
                    
77				else {
                    
77				else {
                    
78					add_filter( 'option_' . $this->id_data[ 'base' ], array( $this, '_preview_filter' ) );
                    
79					add_filter( 'default_option_' . $this->id_data[ 'base' ], array( $this, '_preview_filter' ) );
                    
                
AdminPreferencesController.php https://gitlab.com/staging06/myproject | PHP | 246 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
                    
38
                    
39        // Prevent classes which extend AdminPreferences to load useless data
                    
40        if (get_class($this) == 'AdminPreferencesController') {
                    
                
plugin.php https://github.com/mrmark/moodle.git | PHP | 352 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
55        global $CFG;
                    
56        require_once($CFG->libdir . '/filelib.php');
                    
57
                    
97
                    
98        // Find the title, prevent double escaping.
                    
99        $title = $this->get_name($name, $urls);
                    
201        global $CFG;
                    
202        require_once($CFG->libdir . '/filelib.php');
                    
203        if ($this->extensions === null) {
                    
314     * Returns regular expression used to match URLs for single youtube video
                    
315     * @return string PHP regular expression e.g. '~^https?://example.org/~'
                    
316     */
                    
                
Core.class.php https://gitlab.com/adamlwalker/generatedata | PHP | 511 lines
                    
1<?php
                    
2
                    
13
                    
14	// overridable settings that the user may define in settings.php
                    
15	private static $demoMode = false;	
                    
37	private static $releaseDate = "2014-09-06";
                    
38	private static $minimumPHPVersion = "5.3.0";
                    
39	private static $minimumMySQLVersion = "4.1.3";
                    
46	// left as public, because they're often modified / accessed, and it's just too fussy otherwise. The
                    
47	// PHPDoc helps my IDE figure out what the hell each of them are
                    
48
                    
99	 * @param string $runtimeContext This determines the context in which the Core is being initialized. This
                    
100	 *          info is used to let plugins instantiate themselves differently, as well as prevent the loading
                    
101	 *          of incomplete parts of the script.<br />
                    
111
                    
112		// ensure the timezone is set. This is an arbitrary value (well, I live in Vancouver!) but it prevents warnings
                    
113		if (ini_get("date.timezone") == "") {
                    
                
admin.php https://github.com/larryScott/pyrocms.git | PHP | 562 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
202	/**
                    
203	 * Show a page preview
                    
204	 * @access public
                    
207	 */
                    
208	public function preview($id = 0)
                    
209	{
                    
212		$this->template->set_layout('modal', 'admin');
                    
213		$this->template->build('admin/preview', $data);
                    
214	}
                    
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));
                    
514	/**
                    
515	 * Show a preview of a revision
                    
516	 *
                    
                
HeadLink.php https://gitlab.com/yousafsyed/easternglamor | PHP | 495 lines
                    
1<?php
                    
2/**
                    
61     *
                    
62     * Use PHP_EOL as separator
                    
63     */
                    
67
                    
68        $this->setSeparator(PHP_EOL);
                    
69    }
                    
123     *   - public function appendContents()
                    
124     *   - public function appendPrev()
                    
125     *   - public function appendNext()
                    
144    {
                    
145        if (preg_match('/^(?P<action>set|(ap|pre)pend|offsetSet)(?P<type>Stylesheet|Alternate|Prev|Next)$/', $method, $matches)) {
                    
146            $argc   = count($args);
                    
464    /**
                    
465     * Create item for a prev relationship (mainly used for pagination)
                    
466     *
                    
                
AdminPreferencesController.php https://gitlab.com/A.Julien/sendstockbymail-module-prestashop | PHP | 246 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-2016 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
                    
38
                    
39        // Prevent classes which extend AdminPreferences to load useless data
                    
40        if (get_class($this) == 'AdminPreferencesController') {
                    
                
biblio_list.inc.php https://gitlab.com/mucill/sman7 | PHP | 294 lines
                    
1<?php
                    
2/**
                    
61    $_title_buffer = '';
                    
62    $_previous_field = '';
                    
63    $_boolean = '';
                    
101      $_searched_fields[$_field] = 1;
                    
102      $_previous_field = $_field;
                    
103      // check field
                    
105        if (strlen($_q) < 4) {
                    
106          $_previous_field = 'title_short';
                    
107          $_sql_criteria .= " biblio.title LIKE '%$_q%' ";
                    
255    // checking custom frontpage fields file
                    
256    $custom_frontpage_record_file = SB.$sysconf['template']['dir'].'/'.$sysconf['template']['theme'].'/custom_frontpage_record.inc.php';
                    
257    if (file_exists($custom_frontpage_record_file)) {
                    
                
jlparameter.php https://gitlab.com/julienv/joomleague | PHP | 552 lines
                    
1<?php
                    
2/**
                    
3 * @copyright	Copyright (C) 2005-2014 joomleague.at. All rights reserved.
                    
4 * @license		GNU/GPL, see LICENSE.php
                    
5 * Joomla! is free software. This version may have been modified pursuant
                    
8 * other free or open source software licenses.
                    
9 * See COPYRIGHT.php for copyright notices and details.
                    
10 */
                    
172	 *
                    
173	 * @return  string  The value set, or the default if the value was not previously set (or null).
                    
174	 *
                    
301
                    
302		return implode(PHP_EOL, $html);
                    
303	}
                    
470
                    
471		if ((isset($this->_elements[$signature]) && !($this->_elements[$signature] instanceof __PHP_Incomplete_Class)) && $new === false)
                    
472		{
                    
                
Pagination.class.php https://gitlab.com/webbroteam/satisfaction-mvc | PHP | 447 lines
                    
4 * Pagination
                    
5 * @link https://github.com/onassar/PHP-Pagination/blob/master/Pagination.class.php
                    
6 * Supplies an API for setting pagination details, and renders the resulting
                    
18 *     // source inclusion
                    
19 *     require_once APP . '/vendors/PHP-Pagination/Pagination.class.php';
                    
20 *
                    
30 *     // source inclusion
                    
31 *     require_once APP . '/vendors/PHP-Pagination/Pagination.class.php';
                    
32 *
                    
207        if (empty($target)) {
                    
208            $target = $_SERVER['PHP_SELF'];
                    
209        }
                    
244        $prevNextTags = array(
                    
245            '<link rel="prev" href="' . (str_replace('pgnmbr', $currentPage - 1, $href)) . '" />'
                    
246        );
                    
                
Tokens.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 261 lines
                    
58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
59&nbsp;PREV&nbsp;
                    
60&nbsp;NEXT</FONT></TD>
                    
152<CODE>&nbsp;void</CODE></FONT></TD>
                    
153<TD><CODE><B>PHPTokenizer.</B><B><A HREF="../../../../../net/sourceforge/pmd/cpd/PHPTokenizer.html#tokenize(net.sourceforge.pmd.cpd.SourceCode, net.sourceforge.pmd.cpd.Tokens)">tokenize</A></B>(<A HREF="../../../../../net/sourceforge/pmd/cpd/SourceCode.html" title="class in net.sourceforge.pmd.cpd">SourceCode</A>&nbsp;tokens,
                    
154         <A HREF="../../../../../net/sourceforge/pmd/cpd/Tokens.html" title="class in net.sourceforge.pmd.cpd">Tokens</A>&nbsp;tokenEntries)</CODE>
                    
234<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
                    
235&nbsp;PREV&nbsp;
                    
236&nbsp;NEXT</FONT></TD>
                    
                
readme.md https://gitlab.com/buitenzorg812/garapic.cms | Markdown | 217 lines
                    
28
                    
29The Modules::$locations array may be set in the application/config.php file. ie:
                    
30
                    
97To call a module controller from within a controller you can use $this->load->module() or Modules::load() 
                    
98and PHP5 method chaining is available for any object loaded by MX. 
                    
99ie: $this->load->library(‘validation’)->run().
                    
103
                    
104The PHP5 spl_autoload feature allows you to freely extend your controllers, models and libraries from 
                    
105application/core or application/libraries base classes without the need to specifically include or require
                    
1597. Create module directory structure application/modules/welcome/controllers
                    
1608. Move controller application/controllers/welcome.php to application/modules/welcome/controllers/welcome.php
                    
1619. Access the URL /index.php/welcome => shows Welcome to CodeIgniter
                    
16210. Create directory application/modules/welcome/views
                    
16311. Move view application/views/welcome_message.php to application/modules/welcome/views/welcome_message.php
                    
16412. Access the URL /index.php/welcome => shows Welcome to CodeIgniter
                    
                
DependencyContainer.php https://gitlab.com/3dplex/3d-plex-main-site | PHP | 448 lines
                    
1<?php
                    
2
                    
186    /**
                    
187     * Specify the previously registered item as a literal value.
                    
188     *
                    
208    /**
                    
209     * Specify the previously registered item as an alias of another item.
                    
210     *
                    
228    /**
                    
229     * Specify the previously registered item as a new instance of $className.
                    
230     *
                    
254    /**
                    
255     * Specify the previously registered item as a shared instance of $className.
                    
256     *
                    
276    /**
                    
277     * Specify a list of injected dependencies for the previously registered item.
                    
278     *
                    
                
update.php https://bitbucket.org/MashedUpMedia/mashedupmedia.git | PHP | 420 lines
                    
27	include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version
                    
28	$php_version = phpversion();
                    
29
                    
61		'version'           => $wp_version,
                    
62		'php'               => $php_version,
                    
63		'locale'            => $locale,
                    
146	// Check for updated every 60 minutes if hitting update pages; else, check every 12 hours.
                    
147	$timeout = in_array( current_filter(), array( 'load-plugins.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200;
                    
148	$time_not_changed = isset( $current->last_checked ) && $timeout > ( time() - $current->last_checked );
                    
217	if ( !function_exists( 'get_themes' ) )
                    
218		require_once( ABSPATH . 'wp-includes/theme.php' );
                    
219
                    
225	// Check for updated every 60 minutes if hitting update pages; else, check every 12 hours.
                    
226	$timeout = in_array( current_filter(), array( 'load-themes.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200;
                    
227	$time_not_changed = isset( $last_update->last_checked ) && $timeout > ( time( ) - $last_update->last_checked );
                    
                
XMLWriter.php https://gitlab.com/najomie/fit-hippie | PHP | 402 lines
                    
1<?php
                    
2
                    
3// Handle eval errors that cause the script to finish
                    
4$wpaeErrorHandler = new WpaePhpInterpreterErrorHandler();
                    
5register_shutdown_function(array($wpaeErrorHandler, 'handle'));
                    
123        } else {
                    
124            if (XmlExportEngine::$is_preview && XmlExportEngine::$exportOptions['show_cdata_in_preview']) {
                    
125                $this->text('CDATABEGIN' . $value . 'CDATACLOSE');
                    
125                $this->text('CDATABEGIN' . $value . 'CDATACLOSE');
                    
126            } else if (XmlExportEngine::$is_preview && !XmlExportEngine::$exportOptions['show_cdata_in_preview']) {
                    
127                return $this->text($value);
                    
354
                    
355        if (XmlExportEngine::$is_preview && !XmlExportEngine::$exportOptions['show_cdata_in_preview']) {
                    
356            return $v;
                    
370        } else {
                    
371            if (XmlExportEngine::$is_preview && XmlExportEngine::$exportOptions['show_cdata_in_preview']) {
                    
372                return 'CDATABEGIN' . $v . 'CDATACLOSE';
                    
                
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>
                    
                
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.
                    
                
COOKBOOK-FIXERS.md https://gitlab.com/I-NOZex/quiz | Markdown | 466 lines
                    
9In order to be able to create a new fixer, you need some background.
                    
10PHP CS Fixer is a transcompiler which takes valid PHP code and pretty
                    
11print valid PHP code. It does all transformations in multiple passes,
                    
23If possible, try to get acquainted with the public interface for the
                    
24[Symfony/CS/Tokenizer/Tokens.php](Symfony/CS/Tokenizer/Tokens.php)
                    
25and [Symfony/CS/Tokenizer/Token.php](Symfony/CS/Tokenizer/Token.php)
                    
121
                    
122`# php php-cs-fixer readme > README.rst`
                    
123
                    
437
                    
438No. Short arrays were introduced in PHP 5.4 and PHP CS Fixer still
                    
439supports PHP 5.3.6.
                    
450
                    
451#### Why am I asked to use `getPrevMeaningfulToken()` instead of `getPrevNonWhitespace()`?
                    
452
                    
                
modules-defaults.php https://gitlab.com/Magi1053/Extra | PHP | 250 lines
                    
1<?php
                    
2// Prevent file from being loaded directly
                    
                
PDFLetterCommon.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 339 lines
                    
1<?php
                    
2/*
                    
58    // This form outputs a file so should never be submitted via ajax
                    
59    $form->preventAjaxSubmit();
                    
60
                    
169        'type' => 'submit',
                    
170        'name' => ts('Preview'),
                    
171        'subName' => 'preview',
                    
                
Action.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 408 lines
                    
1<?php
                    
2/*
                    
57    ADVANCED = 512,
                    
58    PREVIEW = 1024,
                    
59    FOLLOWUP = 2048,
                    
88    'export' => self::EXPORT,
                    
89    'preview' => self::PREVIEW,
                    
90    'map' => self::MAP,
                    
                
README.md https://github.com/elrond79/pymel.git | Markdown | 289 lines
                    
9  - graphviz: using an OS package manager like `yum`, `apt-get`, or `brew`, or
                    
10    on windows, from an [installer](http://www.graphviz.org/Download_windows.php)
                    
11  - python dependencies:
                    
43
                    
44  - set the environment variable `MAYA_NO_INITIAL_AUTOLOAD_MT=true` to prevent
                    
45    the modeling toolkit from being force loaded
                    
181
                    
182        ./maintenance/changelog $PREVIOUS_PYMEL_VERSION $CURRENT_REVISION
                    
183
                    
                
AbstractPaginator.php https://gitlab.com/zan_zan/laravel_sample | PHP | 487 lines
                    
1<?php
                    
2
                    
135    /**
                    
136     * Get the URL for the previous page.
                    
137     *
                    
139     */
                    
140    public function previousPageUrl()
                    
141    {
                    
                
SensorRunner.php https://gitlab.com/Drulenium-bot/monitoring | PHP | 351 lines
                    
1<?php
                    
2/**
                    
135      if ($result = $this->runSensor($sensor_config)) {
                    
136        $result->setPreviousResult(monitoring_sensor_result_last($result->getSensorId()));
                    
137        $results[$name] = $result;
                    
226      $old_status = NULL;
                    
227      // Try to load the previous log result for this sensor.
                    
228      if ($result->getPreviousResult()) {
                    
228      if ($result->getPreviousResult()) {
                    
229        $old_status = $result->getPreviousResult()->getStatus();
                    
230      }
                    
                
README.md https://gitlab.com/freebird/WebApp | Markdown | 344 lines
                    
43``` php
                    
44<?php
                    
45
                    
96 * `LessFilter`: parses LESS into CSS (using less.js with node.js)
                    
97 * `LessphpFilter`: parses LESS into CSS (using lessphp)
                    
98 * `OptiPngFilter`: optimize your PNGs
                    
105 * `Sass\ScssFilter`: parses SCSS into CSS
                    
106 * `ScssphpFilter`: parses SCSS using scssphp
                    
107 * `SeparatorFilter`: inserts a separator between assets to prevent merge failures
                    
136``` php
                    
137<?php
                    
138
                    
282``` php
                    
283<?php
                    
284
                    
                
tools.php https://gitlab.com/campus-academy/krowkaramel | PHP | 432 lines
                    
1<?php
                    
2namespace Elementor;
                    
133	 *
                    
134	 * Rollback to previous Elementor version.
                    
135	 *
                    
152
                    
153		$plugin_slug = basename( ELEMENTOR__FILE__, '.php' );
                    
154
                    
166		wp_die(
                    
167			'', esc_html__( 'Rollback to Previous Version', 'elementor' ), [
                    
168				'response' => 200,
                    
205
                    
206			require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
                    
207
                    
338					'rollback' => [
                    
339						'label' => esc_html__( 'Rollback to Previous Version', 'elementor' ),
                    
340						'callback' => function() {
                    
                
UnitTestCase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 282 lines
                    
1<?php
                    
2
                    
11use Drupal\Core\StringTranslation\PluralTranslatableMarkup;
                    
12use Drupal\Tests\Traits\PhpUnitWarnings;
                    
13use Drupal\TestTools\TestVarDumper;
                    
13use Drupal\TestTools\TestVarDumper;
                    
14use PHPUnit\Framework\TestCase;
                    
15use Symfony\Component\VarDumper\VarDumper;
                    
15use Symfony\Component\VarDumper\VarDumper;
                    
16use Symfony\Bridge\PhpUnit\ExpectDeprecationTrait;
                    
17
                    
27
                    
28  use PhpUnitWarnings;
                    
29  use PhpUnitCompatibilityTrait;
                    
59    // Ensure that an instantiated container in the global state of \Drupal from
                    
60    // a previous test does not leak into this test.
                    
61    \Drupal::unsetContainer();
                    
                
menu-header.php https://gitlab.com/campus-academy/krowkaramel | PHP | 306 lines
                    
1<?php
                    
2/**
                    
13 */
                    
14$self = preg_replace( '|^.*/wp-admin/network/|i', '', $_SERVER['PHP_SELF'] );
                    
15$self = preg_replace( '|^.*/wp-admin/|i', '', $self );
                    
119		/*
                    
120		 * If the string 'none' (previously 'div') is passed instead of a URL, don't output
                    
121		 * the default menu image so an icon can be added to div.wp-menu-image as background
                    
162			if ( ! empty( $menu_hook )
                    
163				|| ( ( 'index.php' !== $submenu_items[0][2] )
                    
164					&& file_exists( WP_PLUGIN_DIR . "/$menu_file" )
                    
167				$admin_is_parent = true;
                    
168				echo "<a href='admin.php?page={$submenu_items[0][2]}'$class $aria_attributes>$arrow<div class='wp-menu-image$img_class'$img_style aria-hidden='true'>$img</div><div class='wp-menu-name'>$title</div></a>";
                    
169			} else {
                    
172		} elseif ( ! empty( $item[2] ) && current_user_can( $item[1] ) ) {
                    
173			$menu_hook = get_plugin_page_hook( $item[2], 'admin.php' );
                    
174			$menu_file = $item[2];
                    
                
NativeSessionStorage.php https://gitlab.com/madwanz64/laravel | PHP | 470 lines
                    
73     *
                    
74     * cache_limiter, "" (use "0" to prevent headers from being sent entirely).
                    
75     * cache_expire, "0"
                    
257        // Register error handler to add information about the current save handler
                    
258        $previousHandler = set_error_handler(function ($type, $msg, $file, $line) use (&$previousHandler) {
                    
259            if (\E_WARNING === $type && str_starts_with($msg, 'session_write_close():')) {
                    
263
                    
264            return $previousHandler ? $previousHandler($type, $msg, $file, $line) : false;
                    
265        });
                    
363     *
                    
364     * @see https://php.net/session.configuration
                    
365     */
                    
367    {
                    
368        if (headers_sent() || \PHP_SESSION_ACTIVE === session_status()) {
                    
369            return;
                    
                
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
                    
                
Exception.php https://github.com/Br3nda/statusnet-debian.git | PHP | 397 lines
                    
20 * @copyright  1997-2008 The PHP Group
                    
21 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
22 * @version    CVS: $Id: Exception.php,v 1.29 2008/01/03 20:26:35 cellog Exp $
                    
22 * @version    CVS: $Id: Exception.php,v 1.29 2008/01/03 20:26:35 cellog Exp $
                    
23 * @link       http://pear.php.net/package/PEAR
                    
24 * @since      File available since Release 1.3.3
                    
44 *
                    
45 * 3) Inherited properties from PHP Exception Class:
                    
46 *
                    
96 * @copyright  1997-2008 The PHP Group
                    
97 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
98 * @version    Release: 1.7.2
                    
154    /**
                    
155     * @param mixed $callback  - A valid php callback, see php func is_callable()
                    
156     *                         - A PEAR_Exception::OBSERVER_* constant
                    
                
categories.php https://github.com/Lurttinen/customisation-db.git | PHP | 357 lines
                    
65		$old_category_name_clean = $category_object->category_name_clean;
                    
66		$old_category_name_lang = (isset(phpbb::$user->lang[$old_category_name])) ? phpbb::$user->lang[$old_category_name] : $old_category_name;
                    
67
                    
183			'CATEGORY_VISIBLE' 				=> $category_object->category_visible,
                    
184			'SECTION_NAME'					=> ($action == 'add') ? phpbb::$user->lang['CREATE_CATEGORY'] : phpbb::$user->lang['EDIT_CATEGORY'] . ' - ' . ((isset(phpbb::$user->lang[$old_category_name])) ? phpbb::$user->lang[$old_category_name] : $old_category_name),
                    
185
                    
272			'CATEGORY_NAME'					=> (isset(phpbb::$user->lang[$category_object->category_name])) ? phpbb::$user->lang[$category_object->category_name] : $category_object->category_name,
                    
273			'SECTION_NAME'					=> phpbb::$user->lang['DELETE_CATEGORY'] . ' - ' . ((isset(phpbb::$user->lang[$category_object->category_name])) ? phpbb::$user->lang[$category_object->category_name] : $category_object->category_name),
                    
274			'S_HAS_SUBCATS'					=> ($category_object->right_id - $category_object->left_id > 1) ? true : false,
                    
327			'ICON_MOVE_UP'			=> '<img src="' . titania::$images_path . 'icon_up.gif" alt="' . phpbb::$user->lang['MOVE_UP'] . '" title="' . phpbb::$user->lang['MOVE_UP'] . '" />',
                    
328			'ICON_MOVE_UP_DISABLED'		=> '<img src="' . titania::$images_path . 'icon_up_disabled.gif" alt="' . phpbb::$user->lang['MOVE_UP'] . '" title="' . phpbb::$user->lang['MOVE_UP'] . '" />',
                    
329			'ICON_MOVE_DOWN'		=> '<img src="' . titania::$images_path . 'icon_down.gif" alt="' . phpbb::$user->lang['MOVE_DOWN'] . '" title="' . phpbb::$user->lang['MOVE_DOWN'] . '" />',
                    
331			'ICON_EDIT'			=> '<img src="' . titania::$images_path . 'icon_edit.gif" alt="' . phpbb::$user->lang['EDIT'] . '" title="' . phpbb::$user->lang['EDIT'] . '" />',
                    
332			'ICON_EDIT_DISABLED'				=> '<img src="' . titania::$images_path . 'icon_edit_disabled.gif" alt="' . phpbb::$user->lang['EDIT'] . '" title="' . phpbb::$user->lang['EDIT'] . '" />',
                    
333			'ICON_DELETE'			=> '<img src="' . titania::$images_path . 'icon_delete.gif" alt="' . phpbb::$user->lang['DELETE'] . '" title="' . phpbb::$user->lang['DELETE'] . '" />',
                    
                
class-walker-comment.php https://gitlab.com/morganestes/wordpress-develop | PHP | 400 lines
                    
239?>
                    
240		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( '', $comment ); ?>>
                    
241			<div class="comment-body">
                    
241			<div class="comment-body">
                    
242				<?php _e( 'Pingback:' ); ?> <?php comment_author_link( $comment ); ?> <?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
                    
243			</div>
                    
266?>
                    
267		<<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?> id="comment-<?php comment_ID(); ?>">
                    
268		<?php if ( 'div' != $args['style'] ) : ?>
                    
299
                    
300		<?php
                    
301		comment_text(
                    
345?>
                    
346		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>>
                    
347			<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
                    
                
errors.php https://github.com/libersoft/fengoffice-ls.git | PHP | 194 lines
                    
1<?php
                    
2
                    
190    'no mailAccount error' => 'Action unavailable. You do not have an email account added.',
                    
191	'content too long not loaded' => 'Previous email content is too long and was not loaded, but will be sent with this email.'
                    
192  ); // array
                    
                
Listing_1.php https://gitlab.com/gothcon/cthulhu | PHP | 310 lines
                    
16						<tr class="even">
                    
17							<th class="idCol"><a href="?<?php $this->printHeaderLink("id");?>"><?php echo $this->translate("resources/id");?></a></th>
                    
18							<th class="nameCol"><a href="?<?php $this->printHeaderLink("name")?>"><?php echo $this->translate("resources/name");?></a></th>
                    
18							<th class="nameCol"><a href="?<?php $this->printHeaderLink("name")?>"><?php echo $this->translate("resources/name");?></a></th>
                    
19							<th class="typeCol"><a href="?<?php $this->printHeaderLink("type")?>"><?php echo $this->translate("resources/type");?></a></th>
                    
20							<th class="typeCol"><a href="?<?php $this->printHeaderLink("available")?>"><?php echo $this->translate("resources/isAvailable");?></a></th>
                    
33							<tr class="<?php echo $r++ % 2 ? "even" : "odd";?>">
                    
34								<td><a href="<?php echo $resourceLink; ?>"><?php psafe($resource->id)?></a></td>
                    
35								<td><a href="<?php echo $resourceLink; ?>"><?php psafe($resource->name)?></a></td>
                    
35								<td><a href="<?php echo $resourceLink; ?>"><?php psafe($resource->name)?></a></td>
                    
36								<td><a href="<?php echo $resourceTypeLink; ?>"><?php psafe($resourceType->name);?></a></td>
                    
37								<td><a href="<?php echo $resourceLink; ?>"><?php echo $resource->available ? $this->translate("general/yes") : $this->translate("general/no");?></a></td>
                    
37								<td><a href="<?php echo $resourceLink; ?>"><?php echo $resource->available ? $this->translate("general/yes") : $this->translate("general/no");?></a></td>
                    
38								<td><a href="<?php echo $resourceLink; ?>"><?php echo $availableForSleeping  ? $this->translate("general/yes") : $this->translate("general/no");?></a></td>
                    
39								<td><?php psafe($noOfSleepingSlots)?></td>
                    
                
Configurable.php https://github.com/itfcfan/magento-mirror.git | PHP | 324 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 */
                    
315//
                    
316//        foreach ($this->_resPrices as $prevPrice) {
                    
317//        	$additionalPrice = $prevPrice + $price;
                    
                
resource.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 160 lines
                    
1<?php
                    
2/**
                    
24$_lang['page_settings'] = 'Settings';
                    
25$_lang['preview'] = 'Preview';
                    
26$_lang['resource_access_message'] = 'Here you can select which Resource Groups this Resource belongs to.';
                    
                
%%18^180^180E8F63%%edit.tpl.php https://github.com/roycocup/Tests.git | PHP | 192 lines
                    
28						<?php endif; ?>
                    
29						<option <?php if ($this->_tpl_vars['posted']['client']['id'] == $this->_tpl_vars['client']->id): ?> selected <?php endif; ?>value="<?php echo $this->_tpl_vars['client']->id; ?>
                    
30"><?php echo $this->_tpl_vars['client']->name; ?>
                    
52						<?php endif; ?>
                    
53						<option <?php if ($this->_tpl_vars['posted']['jobId'] == $this->_tpl_vars['job']->job_id): ?> selected <?php endif; ?> value="<?php echo $this->_tpl_vars['job']->job_id; ?>
                    
54"><?php echo $this->_tpl_vars['job']->job_number; ?>
                    
92				<input type="file" size="25" name="image" />
                    
93				<?php if ($this->_tpl_vars['posted']['media']['images']['0']['name']): ?> Preview <?php echo $this->_tpl_vars['posted']['media']['images']['0']['name']; ?>
                    
94<img src="<?php echo $this->_tpl_vars['posted']['media']['images']['0']['path']; ?>
                    
103				<input type="file" size="25" name="thumb" /> 
                    
104				<?php if ($this->_tpl_vars['posted']['media']['thumbs']['0']['name']): ?> Preview <?php echo $this->_tpl_vars['posted']['media']['thumbs']['0']['name']; ?>
                    
105<img src="<?php echo $this->_tpl_vars['posted']['media']['thumbs']['0']['path']; ?>
                    
134?>
                    
135						<option <?php if ($this->_tpl_vars['posted']['status']->id == $this->_tpl_vars['state']['id']): ?> selected <?php endif; ?> value="<?php echo $this->_tpl_vars['state']['id']; ?>
                    
136"><?php echo $this->_tpl_vars['state']['name']; ?>
                    
                
simulator.js https://gitlab.com/gregtyka/Scryve-Webapp | JavaScript | 362 lines
                    
21//                Ext.Ajax.request({
                    
22//                    url: '../../dump.php',
                    
23//                    method: 'POST',
                    
260            if (!e.isSimulated) {
                    
261                e.preventDefault();
                    
262                e.stopPropagation();
                    
                
review.php https://github.com/cgtaylor/moodle.git | PHP | 261 lines
                    
1<?php
                    
2/**
                    
9
                    
10    require_once(dirname(__FILE__) . '/../../config.php');
                    
11    require_once($CFG->dirroot . '/mod/quiz/locallib.php');
                    
11    require_once($CFG->dirroot . '/mod/quiz/locallib.php');
                    
12    require_once($CFG->dirroot . '/mod/quiz/report/reportlib.php');
                    
13
                    
17
                    
18    $url = new moodle_url('/mod/quiz/review.php', array('attempt'=>$attemptid));
                    
19    if ($page !== 0) {
                    
48        if (!$options->responses) {
                    
49            $accessmanager->back_to_view_page($attemptobj->is_preview_user(),
                    
50                    $accessmanager->cannot_review_message($options));
                    
72/// Log this review.
                    
73    add_to_log($attemptobj->get_courseid(), 'quiz', 'review', 'review.php?attempt=' .
                    
74            $attemptobj->get_attemptid(), $attemptobj->get_quizid(), $attemptobj->get_cmid());
                    
                
SqlBase.php https://gitlab.com/guillaumev/alkarama | PHP | 393 lines
                    
1<?php
                    
2
                    
33      'contains' => array(
                    
34        'previous' => array('default' => $this->t('‹ Previous')),
                    
35        'next' => array('default' => $this->t('Next ›')),
                    
82
                    
83    $form['tags']['previous'] = array(
                    
84      '#type' => 'textfield',
                    
84      '#type' => 'textfield',
                    
85      '#title' => $this->t('Previous page link text'),
                    
86      '#default_value' => $this->options['tags']['previous'],
                    
                
mma.vim https://gitlab.com/shinvdu/vim_win_config | Vim Script | 325 lines
                    
5" Source:       http://members.wri.com/layland/vim/syntax/mma.vim
                    
6"               http://vim.sourceforge.net/scripts/script.php?script_id=1273
                    
7" Id:           $Id: mma.vim,v 1.4 2006/04/14 20:40:38 vimboss Exp $
                    
72" SelectionMove directions/units:
                    
73syntax keyword mmaVariable Next Previous After Before Character Word Expression TextLine CellContents Cell CellGroup EvaluationCell ButtonCell GeneratedCell Notebook
                    
74syntax keyword mmaVariable CellTags CellStyle CellLabel
                    
                
TaskManager.pm https://gitlab.com/aukkwat/CZPodzone-OpenKore-Bot | Perl | 500 lines
                    
15# Please read
                    
16# <a href="http://wiki.openkore.com/index.php/AI_subsystem_and_task_framework_overview">
                    
17# the AI subsystem and task framework overview
                    
179			# If yes, let it steal the mutex, activate it and deactivate
                    
180			# the previous mutex owner.
                    
181
                    
                
HTMLModuleManager.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 403 lines
                    
1<?php
                    
2
                    
129     *                subclass of HTMLPurifier_HTMLModule.
                    
130     * @param $overload Boolean whether or not to overload previous modules.
                    
131     *                  If this is not set, and you do overload a module,
                    
                
create.php https://github.com/EthanBlast/Glam-Star-Life.git | PHP | 262 lines
                    
6		<form action="<?php bp_group_creation_form_action() ?>" method="post" id="create-group-form" class="standard-form" enctype="multipart/form-data">
                    
7			<h3><?php _e( 'Create a Group', 'buddypress' ) ?> &nbsp;<a class="button" href="<?php echo bp_get_root_domain() . '/' . BP_GROUPS_SLUG . '/' ?>"><?php _e( 'Groups Directory', 'buddypress' ) ?></a></h3>
                    
8
                    
44					<div class="checkbox">
                    
45						<label><input type="checkbox" name="group-show-wire" id="group-show-wire" value="1"<?php if ( bp_get_new_group_enable_wire() ) { ?> checked="checked"<?php } ?> /> <?php _e('Enable comment wire', 'buddypress') ?></label>
                    
46					</div>
                    
51							<div class="checkbox">
                    
52								<label><input type="checkbox" name="group-show-forum" id="group-show-forum" value="1"<?php if ( bp_get_new_group_enable_forum() ) { ?> checked="checked"<?php } ?> /> <?php _e('Enable discussion forum', 'buddypress') ?></label>
                    
53							</div>
                    
133						<div id="avatar-crop-pane">
                    
134							<img src="<?php bp_avatar_to_crop() ?>" id="avatar-crop-preview" class="avatar" alt="<?php _e( 'Avatar preview', 'buddypress' ) ?>" />
                    
135						</div>
                    
223						<?php if ( !bp_is_first_group_creation_step() ) : ?>
                    
224							<input type="button" value="&larr; <?php _e('Previous Step', 'buddypress') ?>" id="group-creation-previous" name="previous" onclick="location.href='<?php bp_group_creation_previous_link() ?>'" />
                    
225						<?php endif; ?>
                    
                
actions.class.php https://github.com/appflower/appflower_engine.git | PHP | 558 lines
                    
1<?php
                    
2
                    
8 * @author     Your name here
                    
9 * @version    SVN: $Id: actions.class.php 2692 2006-11-15 21:03:55Z fabien $
                    
10 */
                    
232		$parser->getNext();
                    
233		$parser->getPrevious();
                    
234
                    
252		$parser->getNext();
                    
253		$parser->getPrevious();
                    
254
                    
273		$parser->getNext();
                    
274		$parser->getPrevious();
                    
275
                    
444				$id = call_user_func(array($object,"getId"));
                    
445				$tmp = call_user_func(array($object,"get".$column["phpname"]));
                    
446				if(in_array($column["phpname"],$parser["foreign_keys"])) {
                    
                
AdapterChainTest.php https://gitlab.com/my-application.bjoernbartels.earth/ZfcUser | PHP | 311 lines
                    
1<?php
                    
2
                    
8
                    
9class AdapterChainTest extends \PHPUnit_Framework_TestCase
                    
10{
                    
225    /**
                    
226     * Test getEvent() when no event has previously been set.
                    
227     *
                    
246    /**
                    
247     * Test getEvent() when an event has previously been set.
                    
248     *
                    
                
ConfigListener.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 383 lines
                    
1<?php
                    
2/**
                    
168    /**
                    
169     * Detach all previously attached listeners
                    
170     *
                    
                
form.js https://gitlab.com/nghiep5890/prestashop | JavaScript | 506 lines
                    
8* It is also available through the world-wide-web at this URL:
                    
9* http://opensource.org/licenses/osl-3.0.php
                    
10* If you did not receive a copy of the license and are unable to
                    
21*  @copyright  2007-2015 PrestaShop SA
                    
22*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
23*  International Registered Trademark & Property of PrestaShop SA
                    
32	$.get(
                    
33		'ajax-tab.php',
                    
34		{controller:'AdminCartRules',token:currentToken,newProductRuleGroup:1,product_rule_group_id:product_rule_groups_counter},
                    
51		$.get(
                    
52			'ajax-tab.php',
                    
53			{controller:'AdminCartRules',token:currentToken,newProductRule:1,product_rule_type:$('#product_rule_type_' + product_rule_group_id).val(),product_rule_group_id:product_rule_group_id,product_rule_id:product_rule_counters[product_rule_group_id]},
                    
132	$('#product_restriction').focus();
                    
133	e.preventDefault();
                    
134});
                    
                
file.php https://bitbucket.org/cisash/fananeen.git | PHP | 324 lines
                    
1<?php
                    
2
                    
47        if (!empty($attachment_id)) {
                    
48            $preview = wp_get_attachment_image($attachment_id, 'thumbnail');
                    
49        } else {
                    
49        } else {
                    
50            // If external image set preview
                    
51            $file_path=parse_url($field['value']);
                    
58                            array('jpg', 'jpeg', 'gif', 'png'))) {
                    
59                $preview = '<img alt="" src="' . $field['value'] . '" />';
                    
60            }
                    
85        . '-upload-holder-preview"'
                    
86        . ' class="wpcf-fields-file-preview">' . $preview . '</div>',
                    
87        '#attributes' => array('class' => 'wpcf-fields-file-textfield'),
                    
108
                    
109    ?>', 'media-upload.php?post_id=<?php echo $post->ID; ?>&type=file&wpcf-fields-media-insert=1&TB_iframe=true');
                    
110                return false;
                    
                
setup.php https://github.com/xoops-pi/engine.git | PHP | 202 lines
                    
109// Buttons
                    
110define("_INSTALL_BUTTON_PREVIOUS", "Previous");
                    
111define("_INSTALL_BUTTON_NEXT", "Next");
                    
176define("_INSTALL_REQUIREMENT_SERVER_MOD_REWRITE", "Apache \"mod_rewrite\" module is required, check <a href='http://httpd.apache.org/docs/current/mod/mod_rewrite.html' title='mod_rewrite' target='_blank'>mod_rewrite</a> for details.");
                    
177define("_INSTALL_REQUIREMENT_SERVER_NOT_SUPPORTED", "The webserver is currently not supported, please use <a href='http://nginx.net' title='nginx' target='_blank'>nginx</a> or <a href='http://www.php.net/manual/en/book.apache.php' target='_blank' title='Apache'>Apache</a>.");
                    
178define("_INSTALL_REQUIREMENT_PHP", "PHP");
                    
179define("_INSTALL_REQUIREMENT_PDO", "PDO drivers");
                    
180define("_INSTALL_REQUIREMENT_PDO_PROMPT", "PHP Data Objects (PDO) extension with MySQL driver is required for regular Xoops Engine instances, check <a href='http://www.php.net/manual/en/book.pdo.php' title='PDO' target='_blank'>PDO manual</a> for details.");
                    
181define("_INSTALL_REQUIREMENT_PERSIST", "Persist options");
                    
190define("_INSTALL_EXTENSION_APC", "APC");
                    
191define("_INSTALL_EXTENSION_APC_PROMPT", 'The Alternative PHP Cache (APC) is highly recommended for high-performance senario. Refer to <a href="http://www.php.net/manual/en/intro.apc.php" target="_blank" title="APC introduction">APC introduction</a> for details.');
                    
192define("_INSTALL_EXTENSION_REDIS", "Redis");
                    
194define("_INSTALL_EXTENSION_MEMCACHED", "Memcached");
                    
195define("_INSTALL_EXTENSION_MEMCACHED_PROMPT", 'Memcached is highly recommended for high-performance yet robust distributed senario. Refer to <a href="http://www.php.net/manual/en/intro.memcached.php" target="_blank" title="Memcached introduction">Memcached introduction</a> for details.');
                    
196define("_INSTALL_EXTENSION_MEMCACHE", "Memcache");
                    
                
admin.php https://bitbucket.org/viktorfabry/banditos.git | PHP | 503 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2/**
                    
108	/**
                    
109	 * Show a page preview
                    
110	 *
                    
112	 */
                    
113	public function preview($id = 0)
                    
114	{
                    
116			->set_layout('modal', 'admin')
                    
117			->build('admin/preview', array('page' => $this->page_m->get($id)));
                    
118	}
                    
                
wp_loaded.php https://gitlab.com/najomie/fit-hippie | PHP | 281 lines
                    
1<?php
                    
2
                    
174
                    
175								// unlink previous logs
                    
176								$by = array();
                    
                
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).
                    
183in to the list of directories that B<File::Spec> defaults to with its
                    
184C<tmpdir> method. If this is not passed, the previously-mentioned method is
                    
185used to derive the directory in which to create the temporary files. Only
                    
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>).
                    
                
Connection.php https://github.com/depage/depage-cms.git | PHP | 509 lines
                    
1<?php
                    
2
                    
140     *
                    
141     * We hash the client ID to prevent leakage of information if another client
                    
142     * happens to get a hold of an ID. The secret *must* be lengthy, and must
                    
237     * If an endpoint receives a Close frame and that endpoint did not
                    
238     * previously send a Close frame, the endpoint MUST send a Close frame
                    
239     * in response.  It SHOULD do so as soon as is practical.  An endpoint
                    
                
Item.php https://gitlab.com/ricardosanchez/prueba | PHP | 398 lines
                    
1<?php
                    
2/**
                    
79
                    
80        // As we always calculate parent (it can change), prevent old one from being inserted.
                    
81        unset($item['parent_id']);
                    
                
Users.php https://gitlab.com/Anas7232/Layout-Changes | PHP | 209 lines
                    
1<?php
                    
2/*
                    
149   * @opt_param string pageToken Specifies a page token to use. Set pageToken to
                    
150   * the nextPageToken returned by a previous list request to get the next page of
                    
151   * results.
                    
                
legacy.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 596 lines
                    
1<?php
                    
2/**
                    
156			case 'model':
                    
157				$filename = strtolower($parts['name']) . '.php';
                    
158				break;
                    
561	 *
                    
562	 * @return  mixed  The previous value of the property or null if not set.
                    
563	 *
                    
                
theme-install.php https://gitlab.com/mostafame/team_website | PHP | 329 lines
                    
96$help_installing =
                    
97	'<p>' . __('Once you have generated a list of themes, you can preview and install any of them. Click on the thumbnail of the theme you&#8217;re interested in previewing. It will open up in a full-screen Preview page to give you a better idea of how that theme will look.') . '</p>' .
                    
98	'<p>' . __('To install the theme so you can preview it with your site&#8217;s content and customize its theme options, click the "Install" button at the top of the left-hand pane. The theme files will be downloaded to your website automatically. When this is complete, the theme is now available for activation, which you can do by clicking the "Activate" link, or by navigating to your Manage Themes screen and clicking the "Live Preview" link under any installed theme&#8217;s thumbnail image.') . '</p>';
                    
256			<# } else { #>
                    
257				<button class="button-secondary preview install-theme-preview"><?php esc_html_e( 'Preview' ); ?></button>
                    
258			<# } #>
                    
260			<a class="button button-primary theme-install" data-slug="{{ data.id }}" href="{{ data.install_url }}"><?php esc_html_e( 'Install' ); ?></a>
                    
261			<button class="button-secondary preview install-theme-preview"><?php esc_html_e( 'Preview' ); ?></button>
                    
262		<# } #>
                    
273			<button class="close-full-overlay"><span class="screen-reader-text"><?php _e( 'Close' ); ?></span></button>
                    
274			<button class="previous-theme"><span class="screen-reader-text"><?php _ex( 'Previous', 'Button label for a theme' ); ?></span></button>
                    
275			<button class="next-theme"><span class="screen-reader-text"><?php _ex( 'Next', 'Button label for a theme' ); ?></span></button>
                    
320		<div class="wp-full-overlay-main">
                    
321		<iframe src="{{ data.preview_url }}" title="<?php esc_attr_e( 'Preview' ); ?>"></iframe>
                    
322	</div>
                    
                
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
                    
133	 * @return	object	The response from the payment gateway
                    
134	 * NOTE: This transaction type can be used to cancel either an original transaction that is not yet settled, or an entire order composed of more than one transaction.  A void prevents the transaction or order from being sent for settlement. A Void can be submitted against any other transaction type.
                    
135	 * NOTE: This will ONLY work for unsettled transactions.
                    
                
Exception.php https://github.com/Getty/historical-php-rapidev.git | PHP | 397 lines
                    
20 * @copyright  1997-2008 The PHP Group
                    
21 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
22 * @version    CVS: $Id: Exception.php,v 1.29 2008/01/03 20:26:35 cellog Exp $
                    
22 * @version    CVS: $Id: Exception.php,v 1.29 2008/01/03 20:26:35 cellog Exp $
                    
23 * @link       http://pear.php.net/package/PEAR
                    
24 * @since      File available since Release 1.3.3
                    
44 *
                    
45 * 3) Inherited properties from PHP Exception Class:
                    
46 *
                    
96 * @copyright  1997-2008 The PHP Group
                    
97 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
98 * @version    Release: 1.7.1
                    
154    /**
                    
155     * @param mixed $callback  - A valid php callback, see php func is_callable()
                    
156     *                         - A PEAR_Exception::OBSERVER_* constant
                    
                
elfinder.fr.js https://github.com/codemotion/cogear.git | JavaScript | 192 lines
                    
51		'Open'                    : 'Ouvrir',
                    
52		'Preview with Quick Look' : 'Aperçu rapide',
                    
53		'Select file'             : 'Sélectionner un fichier',
                    
127		'Javascript application'            : 'Application Javascript',
                    
128		'PHP source'                        : 'Document PHP',
                    
129		'HTML document'                     : 'Document HTML',
                    
167		'Open upload files form' : 'Parcourir',
                    
168		'Select previous file' : 'Selectionner le fichier précèdent',
                    
169		'Select next file' : 'Selectionner le fichier suivant',
                    
169		'Select next file' : 'Selectionner le fichier suivant',
                    
170		'Return into previous folder' : 'Retour au dossier précèdent',
                    
171		'Increase/decrease files selection' : 'Etendre/diminuer la selection des fichiers',
                    
177		'Donate to support project development' : 'Donner et encourager le développement du projet',
                    
178		'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru',
                    
179		'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru',
                    
                
apbasic-widgets.php https://gitlab.com/pornmongkon.p/wordpress | PHP | 273 lines
                    
1<?php
                    
2/**
                    
223 */
                    
224require get_template_directory() . '/inc/widgets/widget-fields.php';
                    
225
                    
226/**
                    
227 * Register Post Preview Widget
                    
228 *
                    
230 */
                    
231require get_template_directory() . '/inc/widgets/widget-testimonials.php';
                    
232
                    
237 */
                    
238require get_template_directory() . '/inc/widgets/wigets-features.php';
                    
239
                    
244 */
                    
245require get_template_directory() . '/inc/widgets/widgets-services.php';
                    
246
                    
                
PublicDelegatedPrefixes.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 257 lines
                    
1<?php
                    
2/*
                    
82   * @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
                    
83   * the `nextPageToken` returned by a previous list request to get the next page
                    
84   * of results.
                    
111   * the server can check if original operation with the same request ID was
                    
112   * received, and if so, will ignore the second request. This prevents clients
                    
113   * from accidentally creating duplicate commitments. The request ID must be a
                    
156   * the server can check if original operation with the same request ID was
                    
157   * received, and if so, will ignore the second request. This prevents clients
                    
158   * from accidentally creating duplicate commitments. The request ID must be a
                    
210   * @opt_param string pageToken Specifies a page token to use. Set `pageToken` to
                    
211   * the `nextPageToken` returned by a previous list request to get the next page
                    
212   * of results.
                    
241   * the server can check if original operation with the same request ID was
                    
242   * received, and if so, will ignore the second request. This prevents clients
                    
243   * from accidentally creating duplicate commitments. The request ID must be a
                    
                
recorded.php https://github.com/ewestbrook/ew-mythweb.git | PHP | 233 lines
                    
48    <td><select name="recgroup">
                    
49        <option value=""><?php echo t('All groups') ?></option><?php
                    
50        foreach($Groups as $recgroup => $count) {
                    
138    <td rowspan="2" class="x-pixmap">
                    
139        <a class="x-pixmap" href="<?php echo $show->url ?>" title="<?php echo t('Direct Download') ?>"
                    
140            ><img src="<?php echo $show->thumb_url(100,0) ?>"></a>
                    
141        <a class="x-download"
                    
142            href="<?php echo video_url($show, true) ?>" title="<?php echo t('ASX Stream') ?>"
                    
143            ><img src="<?php echo skin_url ?>/img/play_sm.png"></a>
                    
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))) ?>"
                    
                
resource.inc.php https://github.com/rostislav/revolution.git | PHP | 160 lines
                    
1<?php
                    
2/**
                    
30$_lang['page_settings'] = 'Paginainstellingen';
                    
31$_lang['preview'] = 'Voorbeeld';
                    
32$_lang['resource_access_message'] = 'Hier kun je selecteren in welke documentgroep dit document hoort.';
                    
                
Attribute.php https://gitlab.com/geeta7/drupal | PHP | 351 lines
                    
1<?php
                    
2
                    
36 * When printing out individual attributes to customize them within a Twig
                    
37 * template, use the "without" filter to prevent attributes that have already
                    
38 * been printed from being printed again. For example:
                    
                
BlockCommentSniff.php https://gitlab.com/0072016/PHP_CodeSniffer | PHP | 357 lines
                    
27 * @version   Release: @package_version@
                    
28 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
29 */
                    
67        if ($this->_tabWidth === null) {
                    
68            $cliValues = $phpcsFile->phpcs->cli->getCommandLineValues();
                    
69            if (isset($cliValues['tabWidth']) === false || $cliValues['tabWidth'] === 0) {
                    
86        if ($tokens[$stackPtr]['code'] === T_DOC_COMMENT_OPEN_TAG) {
                    
87            $nextToken = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr + 1), null, true);
                    
88            $ignore    = array(
                    
105
                    
106            $prevToken = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 1), null, true);
                    
107            if ($tokens[$prevToken]['code'] === T_OPEN_TAG) {
                    
331        // Check that the lines before and after this comment are blank.
                    
332        $contentBefore = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true);
                    
333        if (isset($tokens[$contentBefore]['scope_closer']) === true
                    
                
settings.php https://github.com/frozenzia/Ushahidi_Web.git | PHP | 187 lines
                    
1<?php
                    
2	$lang = array(
                    
37		'clean_url_disabled' => 'It looks like your server is not configured to handle clean URLs. You will need to change the configuration of your server before you can enable clean URLs. See more info on how to enable clean URLs at this forum <a href="http://forums.ushahidi.com/topic/server-configuration-for-apache-mod-rewrite" target="_blank">post</a>',
                    
38		'clean_url_enabled' => 'This option makes Ushahidi to be accessed via "clean" URLs. Without "index.php" in the URL.',
                    
39		'enable_clean_url' => 'Enable Clean URLs',
                    
128		'items_per_page_admin' => 'Items Per Page - Admin',
                    
129		'kismet_notice' => 'Prevent comment spam using <a href="http://akismet.com/" target="_blank">Akismet</a> from Automattic. <BR />You can get a free API key by registering for a <a href="http://en.wordpress.com/api-keys/" target="_blank">WordPress.com user account</a>',
                    
130		'laconica_configuration' => 'Laconica Credentials',
                    
159		'clickatell_password' => 'Your Clickatell Password',
                    
160		'clickatell_text_1' => 'Sign up for Clickatells service by <a href="https://www.clickatell.com/central/user/client/step1.php?prod_id=2" target="_blank">clicking here</a>',
                    
161		'clickatell_text_2' => 'Enter your Clickatell access information below',
                    
164		'flsms_download' => 'Download Frontline SMS and install it on your computer',
                    
165		'flsms_instructions' => 'Messages received into a FrontlineSMS hub can be synched with Ushahidi. Detailed instructions on how to sync can be found <strong><a href="http://wiki.ushahididev.com/doku.php?id=how_to_use_ushahidi_alpha#how_to_setup_frontlinesms_to_sync_with_ushahidi" target="_blank">here</a></strong>. You will require the key and link below to set up the sync with FrontlineSMS',
                    
166		'flsms_key' => 'Your Ushahidi Sync Key',
                    
                
schedules_custom.php https://github.com/freedenizen/mythweb.git | PHP | 240 lines
                    
62<?php       } ?>
                    
63                <li><input type="radio" class="radio" name="record" value="<?php echo rectype_always ?>" id="record_always"<?php
                    
64                        if ($schedule->type == rectype_always) echo ' CHECKED' ?> />
                    
81            <ul>
                    
82                <li><input type="radio" class="radio" name="searchtype" value="<?php echo searchtype_title ?>" id="searchtype_title"<?php
                    
83                        if (empty($schedule->search) || $schedule->search == searchtype_title) echo ' CHECKED'
                    
85                    <label for="searchtype_title"><?php echo t('Title Search') ?></label></li>
                    
86                <li><input type="radio" class="radio" name="searchtype" value="<?php echo searchtype_keyword ?>" id="searchtype_keyword"<?php
                    
87                        if ($schedule->search == searchtype_keyword) echo ' CHECKED'
                    
89                    <label for="searchtype_keyword"><?php echo t('Keyword Search') ?></label></li>
                    
90                <li><input type="radio" class="radio" name="searchtype" value="<?php echo searchtype_people ?>" id="searchtype_people"<?php
                    
91                        if ($schedule->search == searchtype_people) echo ' CHECKED'
                    
93                    <label for="searchtype_people"><?php echo t('People Search') ?></label></li>
                    
94                <li><input type="radio" class="radio" name="searchtype" value="<?php echo searchtype_power ?>" id="searchtype_power"<?php
                    
95                        if ($schedule->search == searchtype_power) echo ' CHECKED'
                    
                
formcustomization.inc.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 130 lines
                    
1<?php
                    
2/**
                    
83$_lang['set_change_template_confirm'] = 'Are you sure you want to do this? This will change the Template that these Rules apply to. If so, MODX will first save your changes before reloading the page to refresh the new TVs for the new Template.';
                    
84$_lang['set_constraint_field_desc'] = 'Setting the Constraint field will prevent the rules in this Set from executing unless the field for this Resource matches the "constraint" value.';
                    
85$_lang['set_constraint_desc'] = 'Set the value of the field (specified above) to restrict the rules in this Set from being executed unless the Resource has this value on the specified constraint field.';
                    
103$_lang['sets'] = 'Form Customization Sets';
                    
104$_lang['simplexml_err_nf'] = 'MODX requires the SimpleXML PHP extension to use this feature. Please ensure the extension is installed before continuing.';
                    
105$_lang['tab'] = 'Tab';
                    
129$_lang['visible'] = 'Visible';
                    
130$_lang['xmlwriter_err_nf'] = 'MODX requires the XMLWriter PHP extension to use this feature. Please ensure the extension is installed before continuing.';
                    
131
                    
                
overview.md https://gitlab.com/xanium4332/atom-config | Markdown | 231 lines
                    
22- Sublime Text: [marko-sublime](https://github.com/merwan7/sublime-marko)
                    
23- WebStorm: [marko.tmbundle](https://github.com/marko-js/marko-tmbundle) (See: [Importing TextMate Bundles](https://www.jetbrains.com/phpstorm/help/importing-textmate-bundles.html))
                    
24- TextMate: [marko.tmbundle](https://github.com/marko-js/marko-tmbundle)
                    
52
                    
53The following concise template is equivalent to the previous template:
                    
54
                    
71You can even mix and match the concise syntax with the HTML syntax within the same document.
                    
72The following template is equivalent to the previous templates:
                    
73
                    
                
TableProcessor.php https://gitlab.com/staging06/myproject | PHP | 356 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * TableProcessor.php
                    
4 *
                    
32
                    
33require_once(dirname(__FILE__) . '/AbstractProcessor.php');
                    
34require_once(dirname(__FILE__) . '/CreateDefinitionProcessor.php');
                    
34require_once(dirname(__FILE__) . '/CreateDefinitionProcessor.php');
                    
35require_once(dirname(__FILE__) . '/../utils/ExpressionType.php');
                    
36
                    
94            # it is possible to separate the table options with comma!
                    
95                if ($prevCategory === 'CREATE_DEF') {
                    
96                    $last = array_pop($result['options']);
                    
103            case 'UNION':
                    
104                if ($prevCategory === 'CREATE_DEF') {
                    
105                    $expr[] = $this->getReservedType($trim);
                    
                
news-edit.php https://gitlab.com/Nightprince/Warcry-CMS | PHP | 436 lines
                    
64            
                    
65            <form method="post" action="<?php echo $config['BaseURL']; ?>/admin/execute.php?take=editNews&id=<?php echo $row['id']; ?>" id="newsForm" name="editNewsForm">
                    
66            
                    
102                {
                    
103                    productUpdatePreview('<?php echo $config['BaseURL'] . '/uploads/news/icons/' . $row['image']; ?>', '<?php echo $row['image']; ?>');
                    
104                });
                    
122        
                    
123                    <form id="croppingForm" method="POST" onsubmit="return false;" action="<?php echo $config['BaseURL']; ?>/admin/execute.php?take=cropImage" name="cropForm">
                    
124                        
                    
366	    var cropppingSection = $('#image_CroppingSection', $currentTab);
                    
367		var previewSection = $('#image_PreviewSection', $currentTab);
                    
368		var $imageHeight;
                    
394				//open the cropping section
                    
395				var previewContainer = cropppingSection.find('#uploadedImagePreview');
                    
396				
                    
                
canonical.php https://github.com/enoex/artisanchairs.git | PHP | 339 lines
                    
22 * Prevents redirection for feeds, trackbacks, searches, comment popup, and
                    
23 * admin URLs. Does not redirect on IIS, page/post previews, and on form data.
                    
24 *
                    
41
                    
42	if ( is_trackback() || is_search() || is_comments_popup() || is_admin() || $is_IIS || ( isset($_POST) && count($_POST) ) || is_preview() || is_robots() )
                    
43		return;
                    
55
                    
56	// Some PHP setups turn requests for / into /index.php in REQUEST_URI
                    
57	// See: http://trac.wordpress.org/ticket/5017
                    
59	// Disabled, for now:
                    
60	// $original['path'] = preg_replace('|/index\.php$|', '/', $original['path']);
                    
61
                    
170
                    
171			$paged_redirect['path'] = user_trailingslashit( preg_replace('|/index.php/?$|', '/', $paged_redirect['path']) ); // strip off trailing /index.php/
                    
172			if ( !empty( $addl_path ) && $wp_rewrite->using_index_permalinks() && strpos($paged_redirect['path'], '/index.php/') === false )
                    
                
linux_osl.c https://github.com/DJSteve/StreakKernel.git | C | 620 lines
                    
8 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
10 * following added to such license:
                    
68typedef struct bcm_mem_link {
                    
69	struct bcm_mem_link *prev;
                    
70	struct bcm_mem_link *next;
                    
                
index.html https://github.com/jlongster/mozilla.com.git | HTML | 261 lines
                    
1<?php
                    
2    // The $body_* variables are for compatibility with pre-existing css
                    
10EXTRA_HEADERS;
                    
11    @include_once "{$config['file_root']}/{$lang}/includes/header.inc.php";
                    
12?>
                    
30      <p>
                    
31         Firefox&nbsp;3.6.13 fixes the following issues found in previous versions of Firefox 3.6:</p>
                    
32      <ul class="spaced">
                    
35      </ul>
                    
36      <p>Please see the <a href="https://bugzilla.mozilla.org/buglist.cgi?quicksearch=ALL%20status1.9.2%3A.13-fixed">complete list of changes</a> in this version. You may also be interested in the <a href="../../3.6.12/releasenotes/">Firefox 3.6.12 release notes</a> for a list of changes in the previous version.</p>
                    
37    </div>
                    
258
                    
259<?php
                    
260  @include_once "{$config['file_root']}/{$lang}/includes/footer.inc.php";
                    
                
index.html https://github.com/jlongster/mozilla.com.git | HTML | 261 lines
                    
1<?php
                    
2    // The $body_* variables are for compatibility with pre-existing css
                    
10EXTRA_HEADERS;
                    
11    @include_once "{$config['file_root']}/{$lang}/includes/header.inc.php";
                    
12?>
                    
30      <p>
                    
31         Firefox&nbsp;3.6.11 fixes the following issues found in previous versions of Firefox 3.6:</p>
                    
32      <ul class="spaced">
                    
35      </ul>
                    
36      <p>Please see the <a href="https://bugzilla.mozilla.org/buglist.cgi?quicksearch=ALL%20status1.9.2%3A.11-fixed">complete list of changes</a> in this version. You may also be interested in the <a href="../../3.6.10/releasenotes/">Firefox 3.6.10 release notes</a> for a list of changes in the previous version.</p>
                    
37    </div>
                    
258
                    
259<?php
                    
260  @include_once "{$config['file_root']}/{$lang}/includes/footer.inc.php";
                    
                
font_metrics.cls.php https://gitlab.com/Ofcadavidm/RentCarApp | PHP | 363 lines
                    
1<?php
                    
2/**
                    
10
                    
11require_once DOMPDF_LIB_DIR . "/class.pdf.php";
                    
12
                    
18 * with Font_Metrics::save_font_families().
                    
19 * This is typically done only from command line with load_font.php on converting
                    
20 * ttf fonts to ufm with php-font-lib.
                    
21 *
                    
22 * Declared here because PHP5 prevents constants from being declared with expressions
                    
23 */
                    
23 */
                    
24define('__DOMPDF_FONT_CACHE_FILE', DOMPDF_FONT_DIR . "dompdf_font_family_cache.php");
                    
25
                    
52   *
                    
53   * Usually cached by the {@link load_font.php} script
                    
54   *
                    
                
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 */
                    
235            $this->Helpers->EventListenerTest,
                    
236            'Instance in registry should be the same as previously loaded'
                    
237        );
                    
258            $this->Helpers->EventListenerTest,
                    
259            'Instance in registry should be the same as previously loaded'
                    
260        );
                    
                
ch03s07.html https://github.com/nephie/AZL-website.git | HTML | 88 lines
                    
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>3.7. Troubleshooting the installation</title><link rel="stylesheet" href="manual.css" type="text/css"><meta name="generator" content="DocBook XSL-NS Stylesheets V1.74.0"><link rel="home" href="index.html" title="JpGraph Manual"><link rel="up" href="ch03.html" title="Chapter 3. The Long Version: Installing the Library"><link rel="prev" href="ch03s06.html" title="3.6. Verifying the library installation"><link rel="next" href="pt02.html" title="Part II. Basic graph creation"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">3.7. Troubleshooting the installation</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s06.html">Prev</a> </td><th width="60%" align="center">Chapter 3. The Long Version: Installing the Library</th><td width="20%" align="right"> <a accesskey="n" href="pt02.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2511832"></a>3.7. Troubleshooting the installation</h2></div></div></div><p>Unfortunately there are many parameters in a server installation that may affect
                    
2                the execution of PHP so the steps below can only give some indications of how to
                    
16                                        in either PHP or your HTTP server) or the HTTP server
                    
17                                        crashed. This is often due to a broken PHP installation and
                    
18                                        more than often a problem with the True Type libraries. </p><p>It could also be caused by the PHP script running longer
                    
51                            the one that JpGraph assumes, see <a class="xref" href="ch03s02.html#sec3.name-of-ttf-files" title="Name of TTF font files">the section called “Name of TTF font files”</a>. Another problem can be if
                    
52                            the PHP installation is running in "safe mode" (See <code class="uri"><a class="uri" href="http://se.php.net/manual/en/ini.sect.safe-mode.php" target="_top">PHP
                    
53                                Manual: Security and safe mode</a></code>) and has enabled strict
                    
54                            directory policy via an "<code class="code">open_basedir</code>" restriction. This
                    
55                            will prevent the PHP process from reading any files outside the
                    
56                            specified base directory. If this is enabled there is no way around for
                    
84                            rotated but not the individual characters).</p></li></ol></div><p>As a final advise you should read the FAQ (available in this manual
                    
85                see <a class="xref" href="apc.html" title="Appendix C. FAQ">Appendix C</a>) or on the JpGraph website at <code class="uri"><a class="uri" href="http://www.aditus.nu/jpgraph/jpgraphfaq.php" target="_top">http://www.aditus.nu/jpgraph/jpgraphfaq.php</a></code></p><p>Depending on your sever it might also help to recompile PHP yourself instead of
                    
86                the version included with the system. You can find typical configuration scripts to
                    
86                the version included with the system. You can find typical configuration scripts to
                    
87                compile PHP4 and PHP5 in the appendices, see <a class="xref" href="api.html" title="Appendix I. Compiling PHP">Appendix I</a>
                    
88            </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s06.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="pt02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">3.6. Verifying the library installation </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Part II. Basic graph creation</td></tr></table></div></body></html>
                    
                
FormErrorsTest.php https://github.com/blanketCMS/zf2.git | PHP | 295 lines
                    
1<?php
                    
2/**
                    
26    Zend\Form\SubForm,
                    
27    Zend\View\PhpRenderer as View;
                    
28
                    
38 */
                    
39class FormErrorsTest extends \PHPUnit_Framework_TestCase
                    
40{
                    
151
                    
152    public function testRenderSeparatesContentAndErrorsWithPhpEolByDefault()
                    
153    {
                    
156        $test = $this->decorator->render($content);
                    
157        $this->assertContains($content . PHP_EOL . '<ul', $test);
                    
158    }
                    
242                }
                    
243                if (false === next($messages) && is_array(prev($messages))) {
                    
244                    $messages = current($messages);
                    
                
class-Shoestrap_Color.php https://gitlab.com/aristath/shoestrap-3 | PHP | 481 lines
                    
1<?php
                    
2
                    
367				$brightness   = self::get_brightness( $hex );
                    
368				// Prevent "division by zero" messages.
                    
369				$hsv['s']     = ( $hsv['s'] == 0 ) ? 0.0001 : $hsv['s'];
                    
373					$hsv_old      = self::hex_to_hsv( $brightest_dull );
                    
374					// Prevent "division by zero" messages.
                    
375					$hsv_old['s'] = ( $hsv_old['s'] == 0 ) ? 0.0001 : $hsv_old['s'];
                    
                
Config.php https://github.com/blanketCMS/zf2.git | PHP | 536 lines
                    
1<?php
                    
2/**
                    
211    /**
                    
212     * Support isset() overloading on PHP 5.1
                    
213     *
                    
222    /**
                    
223     * Support unset() overloading on PHP 5.1
                    
224     *
                    
408    /**
                    
409     * Prevent any more modifications being made to this instance. Useful
                    
410     * after merge() has been used to merge multiple Zend_Config objects
                    
                
DictionaryLoader.php https://github.com/jpratt/cal.git | PHP | 265 lines
                    
1<?php
                    
2/**
                    
60            $tiVersion != (int)0xFFFFFFFD /* 2.1+ format    */) {
                    
61                #require_once 'Zend/Search/Lucene/Exception.php';
                    
62                throw new Zend_Search_Lucene_Exception('Wrong TermInfoIndexFile file format');
                    
65        // $indexTermCount = $tiiFile->readLong();
                    
66        if (PHP_INT_SIZE > 4) {
                    
67            $indexTermCount = ord($data[$pos]) << 56  |
                    
80                ((ord($data[$pos+4]) & 0x80) != 0)) {
                    
81                    #require_once 'Zend/Search/Lucene/Exception.php';
                    
82                    throw new Zend_Search_Lucene_Exception('Largest supported segment size (for 32-bit mode) is 2Gb');
                    
98        if ($indexTermCount < 1) {
                    
99            #require_once 'Zend/Search/Lucene/Exception.php';
                    
100            throw new Zend_Search_Lucene_Exception('Wrong number of terms in a term dictionary index');
                    
107
                    
108        $prevTerm     = '';
                    
109        $freqPointer  =  0;
                    
                
 

Source

Language