100+ results results for 'php prev' (747 ms)
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%;Pager.php https://github.com/cawago/ci_campusync_auth.git | PHP | 576 lines
1<?php 2/* 18 * and is licensed under the LGPL. For more information, see 19 * <http://www.phpdoctrine.org>. 20 */ 27 * @subpackage Pager 28 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL 29 * @version $Revision$ 29 * @version $Revision$ 30 * @link www.phpdoctrine.org 31 * @since 0.9 300 /** 301 * getPreviousPage 302 * 302 * 303 * Returns the previous page 304 *header.tmpl.php https://github.com/harriswong/ATutor.git | PHP | 237 lines
87 <?php if (get_num_new_messages()): ?> 88 <strong><a href="<?php echo $this->base_path; ?>inbox/index.php"><?php echo _AT('inbox'); ?> - <?php echo get_num_new_messages(); ?></a></strong> | 89 <?php else: ?> 158 <?php if ($page['url'] == $this->current_top_level_page): ?> 159 <li><a href="<?php echo $page['url']; ?>" <?php echo $accesskey_text; ?> title="<?php echo $page['title'] . $accesskey_title; ?>" class="active"><?php echo $page['title']; ?></a></li> 160 <?php else: ?> 219 <?php if ($this->sequence_links['resume']): ?> 220 <a style="color:white;" href="<?php echo $this->sequence_links['resume']['url']; ?>" accesskey="."><img src="<?php echo $this->img; ?>resume.gif" border="0" title="<?php echo _AT('resume').': '.$this->sequence_links['resume']['title']; ?> Alt+." alt="<?php echo $this->sequence_links['resume']['title']; ?> Alt+." class="img-size-ascdesc" /></a> 221 <?php else: 222 if ($this->sequence_links['previous']): ?> 223 <a href="<?php echo $this->sequence_links['previous']['url']; ?>" title="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," accesskey=","><img src="<?php echo $this->img; ?>previous.gif" border="0" alt="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," class="img-size-ascdesc" /></a> 224 <?php endif; 225 if ($this->sequence_links['next']): ?> 226 <a href="<?php echo $this->sequence_links['next']['url']; ?>" title="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." accesskey="."><img src="<?php echo $this->img; ?>next.gif" border="0" alt="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." class="img-size-ascdesc" /></a> 227 <?php endif; ?>Store.php https://gitlab.com/susmitha.plts/photographer_portfolio | 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://gitlab.com/ken3/bluSky | 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' => ' ' );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);SqlBase.php https://gitlab.com/mohamed_hussein/prodt | 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'],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 *class-wp-terms-list-table.php https://bitbucket.org/akeda/bmw-id-hris.git | 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&taxonomy=$taxonomy&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>"; 368ps_perm.php https://github.com/Shigaru/shigaru.git | PHP | 461 lines
1<?php 2if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 4* 5* @version $Id: ps_perm.php 1818 2009-06-23 19:07:21Z soeren_nb $ 6* @package VirtueMart 8* @copyright Copyright (C) 2004-2009 soeren - All rights reserved. 9* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php 10* VirtueMart is free software. This version may have been modified pursuant 13* other free or open source software licenses. 14* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details. 15* 112 // Shopper is the default value 113 // We must prevent that Administrators or Managers are 'just' shoppers 114 if( $auth["perms"] == "shopper" ) { 240 if( $size==1 ) { 241 $values[0] = $VM_LANG->_('PHPSHOP_SELECT'); 242 }UpgradeComponentGroup.php https://github.com/orchestra-io/sample-openx.git | PHP | 320 lines
1<?php 2 24+---------------------------------------------------------------------------+ 25$Id: UpgradeComponentGroup.php 30820 2009-01-13 19:02:17Z andrew.hill $ 26*/ 34 35require_once MAX_PATH.'/lib/OA/Upgrade/Upgrade.php'; 36 60 /*$this->nobackupsFile = MAX_PATH.$pluginPath.'NOBACKUPS'; 61 $this->postTaskFile = MAX_PATH.$pluginPath.'TASKS.php';*/ 62 81 { 82 // if a schema is declared but no previous schema version found 83 // its a new schema so don't bother with integrity checkedit.php https://github.com/thisduck/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']);twitter-timeline.php https://gitlab.com/vanafroo/landingpage | 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' );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.';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';admin.php https://github.com/Brucee/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 *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-4575filterlib.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 */trackBlobs.php https://github.com/daevid/MWFork.git | PHP | 396 lines
1<?php 2/** 28if ( count( $args ) < 1 ) { 29 echo "Usage: php trackBlobs.php <cluster> [... <cluster>]\n"; 30 echo "Adds blobs from a given ES cluster to the blob_tracking table\n"; 82 echo "Integrity check failed: found HistoryBlobStub objects in your text table.\n" . 83 "This script could destroy these objects if it continued. Run resolveStubs.php\n" . 84 "to fix this.\n"; 97 echo "Integrity check failed: found external storage pointers in your archive table.\n" . 98 "Run normaliseArchiveTable.php to fix this.\n"; 99 exit( 1 ); 102 "These objects are probably already broken, continuing would make them\n" . 103 "unrecoverable. Run \"normaliseArchiveTable.php --fix-cgz-bug\" to fix this.\n"; 104 exit( 1 ); 364 365 // Find actual blobs that weren't tracked by the previous passes 366 // This is a set-theoretic difference A \ B, or in bitwise terms, A & ~BCore.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") == "") {fields.inc.php https://github.com/gunf/novo-isaak.local.git | PHP | 465 lines
1<?php 2 37 case 'which_editor': 38 $output .= '$j("#which_editor").prev("span.warning").empty().prepend("'.jsSafe($newlabel).'");'; 39 break; 46 $fieldname = $mm_fields[$field]['fieldname']; 47 $output .= '$j("'.$fieldtype.'[name='.$fieldname.']").parents("td").prev("td").children("span.warning").empty().prepend("'.jsSafe($newlabel).'");'; 48 } 105 case 'menuindex': 106 $output .= '$j("input[name=menuindex]").parents("table").parent("td").prev("td").children("span.warning").hide();' ."\n"; 107 $output .= '$j("input[name=menuindex]").parent("td").hide();'; 110 case 'which_editor': 111 $output .= '$j("select#which_editor").prev("span.warning").hide();' . "\n"; 112 $output .= '$j("select#which_editor").hide();'; 116 $output .= '$j("#sectionContentHeader, #sectionContentBody").hide();'; // For 1.0.0 117 $output .= '$j("#ta").parent("div").parent("div").hide().prev("div").hide();'."\n"; // For 1.0.1 118 break;biblio_list.inc.php https://gitlab.com/mucill/majalengka | 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)) {ProjectChooserHelper.java https://github.com/CyanogenMod/android_sdk.git | Java | 304 lines
7 * 8 * http://www.eclipse.org/org/documents/epl-v10.php 9 * 174 // recompute only if we don't have the projects already or the filter is dynamic 175 // and prevent usage of a cache. 176 if (mAndroidProjects == null || (mFilter != null && mFilter.useCache() == false)) { 300 protected void checkSubclass() { 301 // Disable the check that prevents subclassing of SWT components 302 }jQuery.radmenu.js https://bitbucket.org/gridinoc/bibliotype.git | JavaScript | 350 lines
11 * Dual licensed under the MIT and GPL licenses: 12 * http://www.opensource.org/licenses/mit-license.php 13 * http://www.gnu.org/licenses/gpl.html 20 OPTS = "options"+RADMENU, 21 PREVOPTS = "prevoptions"+RADMENU; 22 177 }, 178 prev: function(evt){ // anticlockwise 179 var $m = getMenu(evt); 190 var $m = getMenu(evt); 191 $m.menu.data(OPTS, null).data(PREVOPTS, null).unbind(RADMENU); 192 return $m.menu; 200 var prevOpts = $m.menu.data(PREVOPTS); 201 if(!prevOpts) $m.menu.data(PREVOPTS, prevOpts=o); 202 // get the radial menu itemsprocesses_Import_Ajax.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 292 lines
1<?php 2/** 2/** 3 * processes_ImportFile.php 4 * 249 if ($option == 2) { 250 $oProcess->disablePreviousProcesses( $sProUid ); 251 $sNewProUid = $oProcess->getUnusedProcessGUID();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 *skeinforge_application.skeinforge_plugins.craft_plugins.export.html https://github.com/sialan/autonomous-sprayer.git | HTML | 216 lines
12 <p> 13<a href="skeinforge_application.skeinforge_plugins.craft_plugins.drill.html">Previous</a> / <a href="skeinforge_application.skeinforge_plugins.craft_plugins.export_plugins.binary_16_byte.html">Next</a> / <a href="contents.html">Contents</a> 14</p> 18The export manual page is at:<br> 19<a href="http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Export">http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Export</a><br> 20 <br> 113<p> 114<a href="skeinforge_application.skeinforge_plugins.craft_plugins.drill.html">Previous</a> / <a href="skeinforge_application.skeinforge_plugins.craft_plugins.export_plugins.binary_16_byte.html">Next</a> / <a href="contents.html">Contents</a> 115</p>PropelPager.php https://github.com/1989gaurav/Propel.git | PHP | 597 lines
1<?php 2 15 * 16 * require_once 'propel/util/PropelPager.php'; 17 * require_once 'PEACH/Propel/Poem/poemPeer.php'; 41 * <td> 42 * <?if ($link = $pager->getPrev()):?> 43 * <a href="somescript?page=<?=$link?>">Previous</a>| 46 * <td> 47 * <?foreach ($pager->getPrevLinks() as $link):?> 48 * <a href="somescript?page=<?=$link?>"><?=$link?></a>| 351 /** 352 * get an array of previous id's 353 * 356 */ 357 public function getPrevLinks($range = 5) 358 {General.php https://bitbucket.org/jokusafet/magento2.git | PHP | 344 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 X.commerce, Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 53 if ($formDataFromSession && isset($formData['theme_id'])) { 54 unset($formDataFromSession['preview_image']); 55 $formData = array_merge($formData, $formDataFromSession); 154 if ($maxImageSize) { 155 $previewImageNote = $this->__('Max image size %sM', $maxImageSize); 156 } else { 156 } else { 157 $previewImageNote = $this->__('System doesn\'t allow to get file upload settings'); 158 }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') {class.splqueue.html https://bitbucket.org/stillzhl/manuals.git | HTML | 216 lines
8 <body><div class="manualnavbar" style="text-align: center;"> 9 <div class="prev" style="text-align: left; float: left;"><a href="splstack.setiteratormode.html">SplStack::setIteratorMode</a></div> 10 <div class="next" style="text-align: right; float: right;"><a href="splqueue.construct.html">SplQueue::__construct</a></div> 11 <div class="up"><a href="spl.datastructures.html">数据结构</a></div> 12 <div class="home"><a href="index.html">PHP Manual</a></div> 13</div><hr /><div id="class.splqueue" class="reference"> 16 17 <div class="partintro"><p class="verinfo">(PHP 5 >= 5.3.0)</p> 18 134<div class="methodsynopsis dc-description"> 135 <span class="type">void</span> <span class="methodname"><a href="spldoublylinkedlist.prev.html" class="methodname">SplDoublyLinkedList::prev</a></span> 136 ( <span class="methodparam">void</span> 211<hr /><div class="manualnavbar" style="text-align: center;"> 212 <div class="prev" style="text-align: left; float: left;"><a href="splstack.setiteratormode.html">SplStack::setIteratorMode</a></div> 213 <div class="next" style="text-align: right; float: right;"><a href="splqueue.construct.html">SplQueue::__construct</a></div>Controller.php https://github.com/quarkness/piwik.git | PHP | 321 lines
1<?php 2/** 144 'yesterday' => Piwik_Translate('General_Yesterday'), 145 'previous7' => Piwik_Translate('General_PreviousDays', 7), 146 'previous30' => Piwik_Translate('General_PreviousDays', 30),DefaultOptions.php https://github.com/Exercise/symfony.git | PHP | 320 lines
1<?php 2 19 * 20 * Options are a common pattern for initializing classes in PHP. Avoiding the 21 * problems related to this approach is however a non-trivial task. Usually, 97 * 98 * In the previous example, it makes sense to restrict the option "gear" to 99 * a set of allowed values: 154 * 155 * The closure also receives a second parameter $previousValue that contains the 156 * value defined by the parent layer of the hierarchy. If the option has not 164 * $options->add(array( 165 * 'country' => function (Options $options, $previousValue) { 166 * if ('Renault' === $options['make']) { 170 * // return default value defined in Car 171 * return $previousValue; 172 * },category.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 394 lines
1<?php 2/** 4* @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved. 5* @license GNU/GPL, see LICENSE.php 6* EasyBlog is free software. This version may have been modified pursuant 9* other free or open source software licenses. 10* See COPYRIGHT.php for copyright notices and details. 11*/ 76 77 $mainframe->redirect( 'index.php?option=com_easyblog&view=categories'); 78 exit; 96 97 $mainframe->redirect( 'index.php?option=com_easyblog&view=categories' , $message , $type ); 98 exit; 121 122 $url = 'index.php?option=com_easyblog&view=category'; 123 $mainframe->redirect(JRoute::_($url, false));dbcreate0.php https://bitbucket.org/simancms/simancms.git | PHP | 321 lines
1<?php 2 43 `public_menu` tinyint(4) default '1', 44 `preview_category` TEXT NULL, 45 `groups_view` text NULL, 60 `title_content` varchar(255) default NULL, 61 `preview_content` TEXT NULL, 62 `text_content` text, 174 `title_news` varchar(255) default NULL, 175 `preview_news` TEXT, 176 `text_news` text,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 {Level0.cpp https://github.com/Archives/try.git | C++ | 353 lines
110 PSendSysMessage("CatCore [%s][%s] - MaNGOS modified for Valhalla Server", valhalla_rev, valhalla_rev_date); 111 SendSysMessage("Changelog: http://valhalla-team.com/web/changelog.php"); 112 PSendSysMessage(LANG_CONNECTED_USERS, activeClientsNum, maxActiveClientsNum); 171 172 // save or plan save after 20 sec (logout delay) if current next save time more this value and _not_ output any messages to prevent cheat planning 173 uint32 save_interval = sWorld.getConfig(CONFIG_UINT32_INTERVAL_SAVE);imsenterprise_test.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 327 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 20 * @package enrol_imsenterprise 21 * @category phpunit 22 * @copyright 2012 David Monllaó 28global $CFG; 29require_once($CFG->dirroot . '/enrol/imsenterprise/locallib.php'); 30require_once($CFG->dirroot . '/enrol/imsenterprise/lib.php'); 35 * @package enrol_imsenterprise 36 * @category phpunit 37 * @copyright 2012 David Monllaó 55 56 $prevncourses = $DB->count_records('course'); 57 $prevnusers = $DB->count_records('user'); 61 62 $this->assertEquals($prevncourses, $DB->count_records('course')); 63 $this->assertEquals($prevnusers, $DB->count_records('user'));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 );File.php https://github.com/grandison/budo16.git | PHP | 465 lines
25 */ 26// require_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 } 457 if ($this->_filename == '' || !is_writable(dirname($this->_filename))) { 458 // require_once 'Zend/CodeGenerator/Php/Exception.php'; 459 throw new Zend_CodeGenerator_Php_Exception('This code generator object is not writable.');Tokens.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 261 lines
58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 PREV 60 NEXT</FONT></TD> 152<CODE> 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> tokens, 154 <A HREF="../../../../../net/sourceforge/pmd/cpd/Tokens.html" title="class in net.sourceforge.pmd.cpd">Tokens</A> tokenEntries)</CODE> 234<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 235 PREV 236 NEXT</FONT></TD>Panel.html https://github.com/marekjs/Shacser.git | HTML | 318 lines
50component to be automatically disabled when the form is invalid, and enabled when it is valid. This is most 51commonly used for Button components to prevent submitting the form in an invalid state, but can be used on 52any component type. 73 // The form will submit an AJAX request to this URL when submitted 74 url: 'save-form.php', 75database_statements.rb https://github.com/Tho85/rails.git | Ruby | 394 lines
198 # isolation level. However, support is disabled for mysql versions below 5, 199 # because they are affected by a bug[http://bugs.mysql.com/bug.php?id=39170] 200 # which means the isolation level gets persisted outside the transaction. 318 319 # Sanitizes the given LIMIT parameter in order to prevent SQL injection. 320 #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 CodeIgnitersetup.php https://github.com/Doap/xoops.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");registry.php https://github.com/dg482/joomla-platform.git | PHP | 629 lines
1<?php 2/** 11 12JLoader::register('JRegistryFormat', dirname(__FILE__) . '/format.php'); 13 85 * 86 * @return string The value set, or the default if the value was not previously set (or null). 87 *HTMLModuleManager.php https://github.com/copyninja/friendika.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/dylanmcd/Pubcomp-CMS.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' ) ?> <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="← <?php _e('Previous Step', 'buddypress') ?>" id="group-creation-previous" name="previous" onclick="location.href='<?php bp_group_creation_previous_link() ?>'" /> 225 <?php endif; ?>Configurable.php https://github.com/ticean/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;jplayer.blue.monday.css https://github.com/kawazrepos/Kommonz.git | CSS | 448 lines
8 * Dual licensed under the MIT and GPL licenses. 9 * - http://www.opensource.org/licenses/mit-license.php 10 * - http://www.gnu.org/copyleft/gpl.html 154} 155div.jp-audio div.jp-type-playlist a.jp-previous { 156 left:20px; 158} 159div.jp-video div.jp-type-playlist a.jp-previous { 160 top:21px; 161} 162div.jp-video-270p div.jp-type-playlist a.jp-previous { 163 left:192px; 164} 165div.jp-video-360p div.jp-type-playlist a.jp-previous { 166 left:272px;SimpleHeaderSet.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 387 lines
1<?php 2 150 * 151 * The header may be a previously fetched header via {@link get()} or it may 152 * be one that has been created separately.FSMMaze.js https://github.com/Wkasel/qooxdoo.git | JavaScript | 477 lines
12 LGPL: http://www.gnu.org/licenses/lgpl.html 13 EPL: http://www.eclipse.org/org/documents/epl-v10.php 14 See the LICENSE file in the project's top-level directory for details. 190 var currentWall = new qx.ui.decoration.Single(1, "solid", "black"); 191 var previousWall = this.cells[currentCell.row][currentCell.col].getDecorator(); 192 currentWall.set({ 192 currentWall.set({ 193 widthLeft: previousWall.getWidthLeft(), 194 widthBottom: previousWall.getWidthBottom(), 194 widthBottom: previousWall.getWidthBottom(), 195 widthRight: previousWall.getWidthRight(), 196 widthTop: previousWall.getWidthTop() 219 var neighborWall = new qx.ui.decoration.Single(1, "solid", "black"); 220 var previousNeighborWall = this.cells[neighbor.row][neighbor.col].getDecorator(); 221 neighborWall.set({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 *ValidationStatistics_body.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 307 lines
1<?php 2 152 # Is there a top X user list? If so, then show it... 153 $data = $this->getTopReviewers(); 154 if ( is_array( $data ) && count( $data ) ) { 155 $wgOut->addWikiMsg( 'validationstatistics-utable', 156 $wgLang->formatNum( $wgFlaggedRevsStats['topReviewersCount'] ), 157 $wgLang->formatNum( $wgFlaggedRevsStats['topReviewersHours'] ) 187 global $wgPhpCli; 188 $ext = !empty( $wgPhpCli ) ? $wgPhpCli : 'php'; 189 $path = wfEscapeShellArg( dirname( __FILE__ ) . '/../maintenance/updateStats.php' ); 273 // top X reviewers in the last Y hours 274 protected function getTopReviewers() { 275 global $wgFlaggedRevsStats; 282 } 283 $limit = (int)$wgFlaggedRevsStats['topReviewersCount']; 284 $seconds = 3600*$wgFlaggedRevsStats['topReviewersHours'];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';trad4all.inc.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 333 lines
1<?php 2/* 82$NextPage = "Halaman berikutnya"; 83$PreviousPage = "Halaman sebelumnya"; 84$langUse = "Gunakan"; 134$langGrouplist = "daftar group"; 135$langPrevious = "sebelumnya"; 136$Courses = "mata kuliah";update.php https://github.com/vidor/vidor.me.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 );SoftwareRenderer.js https://bitbucket.org/krris/3d-bin-packing.git | JavaScript | 590 lines
35 36 var prevrectx1 = Infinity, prevrecty1 = Infinity; 37 var prevrectx2 = 0, prevrecty2 = 0; 158 159 var x = Math.min( rectx1, prevrectx1 ); 160 var y = Math.min( recty1, prevrecty1 ); 160 var y = Math.min( recty1, prevrecty1 ); 161 var width = Math.max( rectx2, prevrectx2 ) - x; 162 var height = Math.max( recty2, prevrecty2 ) - y; 183 184 prevrectx1 = rectx1; prevrecty1 = recty1; 185 prevrectx2 = rectx2; prevrecty2 = recty2; 275 // https://gist.github.com/2486101 276 // explanation: http://pouet.net/topic.php?which=8760&page=1 277about.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’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 → Updates' ); ?> 175 <?php endif; ?> 176 <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a> 177 </div>TransducerGraph.ObjectToSetNodeProcessor.html https://github.com/ryantanner/thesis.git | HTML | 259 lines
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 57 <A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NormalizingGraphProcessor.html" title="class in edu.stanford.nlp.fsm"><B>PREV CLASS</B></A> 58 <A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.OutputCombiningProcessor.html" title="class in edu.stanford.nlp.fsm"><B>NEXT CLASS</B></A></FONT></TD> 226<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 227 <A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.NormalizingGraphProcessor.html" title="class in edu.stanford.nlp.fsm"><B>PREV CLASS</B></A> 228 <A HREF="../../../../edu/stanford/nlp/fsm/TransducerGraph.OutputCombiningProcessor.html" title="class in edu.stanford.nlp.fsm"><B>NEXT CLASS</B></A></FONT></TD>Mail.php https://github.com/magikcypress/bbbweb.git | PHP | 270 lines
1<?php 2/** 4 * 5 * PHP versions 4 and 5 6 * 40 * @copyright 1997-2010 Chuck Hagenbuch 41 * @license http://opensource.org/licenses/bsd-license.php New BSD License 42 * @version CVS: $Id: Mail.php 294747 2010-02-08 08:18:33Z clockwerx $ 42 * @version CVS: $Id: Mail.php 294747 2010-02-08 08:18:33Z clockwerx $ 43 * @link http://pear.php.net/package/Mail/ 44 */ 45 46require_once 'PEAR.php'; 47 76 $driver = strtolower($driver); 77 @include_once 'Mail/' . $driver . '.php'; 78 $class = 'Mail_' . $driver;FormErrorsTest.php https://github.com/mfairchild365/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);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()`? 452modules-defaults.php https://gitlab.com/Magi1053/Extra | PHP | 250 lines
1<?php 2// Prevent file from being loaded directlyOLE.php https://bitbucket.org/blackriver/openx.git | PHP | 410 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 3// +----------------------------------------------------------------------+ 4// | PHP Version 4 | 5// +----------------------------------------------------------------------+ 5// +----------------------------------------------------------------------+ 6// | Copyright (c) 1997-2002 The PHP Group | 7// +----------------------------------------------------------------------+ 7// +----------------------------------------------------------------------+ 8// | This source file is subject to version 2.02 of the PHP license, | 9// | that is bundled with this package in the file LICENSE, and is | 10// | available at through the world-wide-web at | 11// | http://www.php.net/license/2_02.txt. | 12// | If you did not receive a copy of the PHP license and are unable to | 13// | obtain it through the world-wide-web, please send a note to | 14// | license@php.net so we can mail you a copy immediately. | 15// +----------------------------------------------------------------------+recorded.php https://github.com/fracmak/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))) ?>"class.swfshape.html https://bitbucket.org/thncr/manuals.git | HTML | 251 lines
8 <body><div class="manualnavbar" style="text-align: center;"> 9 <div class="prev" style="text-align: left; float: left;"><a href="swfprebuiltclip.construct.html">SWFPrebuiltClip::__construct</a></div> 10 <div class="next" style="text-align: right; float: right;"><a href="swfshape.addfill.html">SWFShape::addFill</a></div> 11 <div class="up"><a href="book.ming.html">Ming</a></div> 12 <div class="home"><a href="index.html">PHP Manual</a></div> 13</div><hr /><div id="class.swfshape" class="reference"> 246<hr /><div class="manualnavbar" style="text-align: center;"> 247 <div class="prev" style="text-align: left; float: left;"><a href="swfprebuiltclip.construct.html">SWFPrebuiltClip::__construct</a></div> 248 <div class="next" style="text-align: right; float: right;"><a href="swfshape.addfill.html">SWFShape::addFill</a></div> 249 <div class="up"><a href="book.ming.html">Ming</a></div> 250 <div class="home"><a href="index.html">PHP Manual</a></div> 251</div></body></html>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 183AbstractPaginator.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 {JDatabaseTest.php https://github.com/Hackwar/joomla-platform.git | PHP | 513 lines
1<?php 2/** 9 10require_once JPATH_PLATFORM . '/joomla/database/database.php'; 11require_once __DIR__ . '/stubs/nosqldriver.php'; 14 * Test class for JDatabase. 15 * Generated by PHPUnit on 2009-10-08 at 22:00:38. 16 * 360 $this->isType('boolean'), 361 'setDebug should return a boolean value containing the previous debug state.' 362 );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 284tools.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;class.moderationcontroller.php https://github.com/abhishekmica/Garden.git | PHP | 319 lines
1<?php if (!defined('APPLICATION')) exit(); 2/* 126 } else if ($HadCheckedComments) { 127 // Remove the message completely if there were previously checked comments in this discussion, but none now 128 $Sender->InformMessage('', array('id' => 'CheckSummary')); 192 } else if ($HadCheckedDiscussions) { 193 // Remove the message completely if there were previously checked comments in this discussion, but none now 194 $Sender->InformMessage('', array('id' => 'CheckSummary'));function.func-get-arg.html https://bitbucket.org/thncr/manuals.git | HTML | 218 lines
15 <h1 class="refname">func_get_arg</h1> 16 <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">func_get_arg</span> — <span class="dc-title">Return an item from the argument list</span></p> 17 135 <p><strong>Example #2 <span class="function"><strong>func_get_arg()</strong></span> example before and 136 after PHP 5.3</strong></p> 137 <div class="example-contents"> 138<div class="phpcode"><code><span style="color: #000000"> 139test.php<br /><span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">foo</span><span style="color: #007700">() {<br /> include </span><span style="color: #DD0000">'./fga.inc'</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">foo</span><span style="color: #007700">(</span><span style="color: #DD0000">'First arg'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Second arg'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?><br /></span><br />fga.php<br /><span style="color: #0000BB"><?php<br /><br />$arg </span><span style="color: #007700">= </span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">?></span> 140</span> 144 <div class="example-contents"><p> 145 Output previous to PHP 5.3: 146 </p></div> 169<div class="phpcode"><code><span style="color: #000000"> 170<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">byVal</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">'As passed : '</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)), </span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br /> </span><span style="color: #0000BB">$arg </span><span style="color: #007700">= </span><span style="color: #DD0000">'baz'</span><span style="color: #007700">;<br /> echo </span><span style="color: #DD0000">'After change : '</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)), </span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br />}<br /><br />function </span><span style="color: #0000BB">byRef</span><span style="color: #007700">(&</span><span style="color: #0000BB">$arg</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">'As passed : '</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)), </span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br /> </span><span style="color: #0000BB">$arg </span><span style="color: #007700">= </span><span style="color: #DD0000">'baz'</span><span style="color: #007700">;<br /> echo </span><span style="color: #DD0000">'After change : '</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)), </span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">$arg </span><span style="color: #007700">= </span><span style="color: #DD0000">'bar'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">byVal</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">byRef</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span> 171</span>tracking.inc.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 237 lines
1<?php 2/* 89$langNextDay = "Volgende dag"; 90$langPreviousDay = "Vorige dag"; 91$langNextWeek = "Volgende week"; 91$langNextWeek = "Volgende week"; 92$langPreviousWeek = "Vorige week"; 93$langNextMonth = "Volgende maand"; 93$langNextMonth = "Volgende maand"; 94$langPreviousMonth = "Vorige maand"; 95$langNextYear = "Volgend jaar"; 95$langNextYear = "Volgend jaar"; 96$langPreviousYear = "Vorig jaar"; 97$langViewToolList = "Toon lijst van alle modules"; 140$langTrafficDetails = "Trafiekdetails"; 141$langSeeIndividualTracking = "Zie de <a href=\"../user/user.php\">gebruikersmodule</a> voor individuele statistieken."; 142$langPathNeverOpenedByAnybody = "Dit pad is nog nooit geopend door iemand.";LoggerLoggingEvent.php https://github.com/samar-tmr/MyVenture.git | PHP | 378 lines
17 * 18 * @package log4php 19 */ 24 * @version $Revision: 1059292 $ 25 * @package log4php 26 */ 95 * The name of thread in which this logging event was generated. 96 * log4php saves here the process id via {@link PHP_MANUAL#getmypid getmypid()} 97 * @var mixed 180 $trace = debug_backtrace(); 181 $prevHop = null; 182 // make a downsearch to identify the caller 198 } 199 $locationInfo['class'] = isset($prevHop['class']) ? $prevHop['class'] : 'main'; 200 if(isset($prevHop['function']) andmenus-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 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 <?phpException.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_* constantcategories.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'] . '" />',EPhotoValidator.php https://github.com/LosYear/FluentCMS.git | PHP | 284 lines
1<?php 2Yii::import('application.modules.user.UserModule'); 171 172 // prevent next validation if no file, other UPLOAD_ERR_s was checked before 173 if(null===$file || ($file->getError()) == UPLOAD_ERR_NO_FILE)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 ); // arrayListing_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>docs-forms.html https://github.com/Wilto/jquery-mobile.git | HTML | 238 lines
31<code> 32<form action="form.php" method="post"> 33... 176 177 <h2>Preventing auto-initialization of form elements</h2> 178 <p>If you'd prefer that a particular form control be left untouched by jQuery Mobile, simply give that element the attribute <code> data-role="none"</code>. For example:</p> 188 189 <p>Or, if you'd like to prevent auto-initialization without adding attributes to your markup, you can customize the selector that is used for preventing auto-initialization by setting the page plugin's <code>keepNative</code> option (which defaults to <code>[data-role="none"]</code>. Be sure to configure this option inside an event handler bound to the <code>mobileinit</code> event, so that it applies to the first page as well as subsequent pages that are loaded.</p> 190 <pre><code> 195 196<p>One special case is that of selects. The above sample will prevent any and all augmentation from taking place on select elements in the page if <code>select</code> is included. If you wish to retain the native performance, look/feel of the menu itself and benefit from the visual augmentation of the select button by jQuery Mobile you can set $.mobile.nativeSelectMenu to true in a <code>mobileinit</code> callback as a global setting or use <code>data-native="true"</code> on a case by case basis.</p> 197fckconfig.js https://github.com/rvma07/siga.git | JavaScript | 335 lines
30FCKConfig.EditorAreaStyles = '' ; 31FCKConfig.ToolbarComboPreviewCSS = '' ; 32 57// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> 58// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code 59// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> 111//FCKConfig.ToolbarSets["Default"] = [ 112// ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'], 113// ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], 174FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 175FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 176FCKConfig.FirefoxSpellChecker = false ; 285// Custom implementations should just ignore it. 286var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py 287var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | pymysqli.overview.html https://bitbucket.org/stillzhl/manuals.git | HTML | 417 lines
81 <p class="para"> 82 在PHP文档中你还会发现很多其他的<em class="emphasis">扩展</em>。PHP代码是由一个核心,一些可选扩展组成了核心功能。PHP 83 的MySQL相关扩展,比如<em>mysqli</em>,<em>mysql</em>都是基于PHP扩展框架实现的。 232 <p class="para"> 233 PHP数据对象,是PHP应用中的一个数据库抽象层规范。PDO提供了一个统一的API接口可以使得你的PHP应用不去关心具体要 234 连接的数据库服务器系统类型。也就是说,如果你使用PDO的API,可以在任何需要的时候无缝切换数据库服务器,比如从Firebird 247 <p class="para"> 248 PDO是基于PHP扩展框架实现的,它的源码在PHP源码目录的<var class="filename">ext/pdo</var>下。 249 </p> 268 <p class="para"> 269 PDO的MySQL驱动是基于PHP扩展框架实现的。它的源码在PHP源码目录下的<var class="filename">ext/pdo_mysql</var>。 270 它没有向PHP程序员暴露API。 304 <p class="para"> 305 MySQL Native驱动是基于PHP扩展框架实现的。源代码位于PHP源码目录的<var class="filename">ext/mysqlnd</var>下。 306 它没有向PHP程序员暴露接口。wp-cache-phase1.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 264 lines
1<?php 2// Pre-2.6 compatibility 5 6if( !include( WP_CONTENT_DIR . '/wp-cache-config.php' ) ) 7 return true; 10 11include( WPCACHEHOME . 'wp-cache-base.php'); 12 26 27require_once( WPCACHEHOME . 'wp-cache-phase2.php'); 28 28 29$plugins = glob( $wp_cache_plugins_dir . '/*.php' ); 30if( is_array( $plugins ) ) { 48function gzip_accepted(){ 49 if( ini_get( 'zlib.output_compression' ) ) // don't compress WP-Cache data files when PHP is already doing it 50 return false;convert.1.in https://github.com/trevor/ImageMagick.git | Autoconf | 258 lines
9 10For more information about the convert command, point your browser to file://@DOCUMENTATION_PATH@/www/convert.html or http://www.imagemagick.org/script/convert.php. 11.SH DESCRIPTION 66 \-pointsize value font point size 67 \-preview type image preview type 68 \-quality value JPEG/MIFF/PNG compression level 257.SH COPYRIGHT 258\fBCopyright (C) 1999-2010 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file://@DOCUMENTATION_PATH@/www/license.html or http://www.imagemagick.org/script/license.php\fP 259mysqli-stmt.param-count.html https://bitbucket.org/stillzhl/manuals.git | HTML | 110 lines
8 <body><div class="manualnavbar" style="text-align: center;"> 9 <div class="prev" style="text-align: left; float: left;"><a href="mysqli-stmt.num-rows.html">mysqli_stmt::$num_rows</a></div> 10 <div class="next" style="text-align: right; float: right;"><a href="mysqli-stmt.prepare.html">mysqli_stmt::prepare</a></div> 11 <div class="up"><a href="class.mysqli-stmt.html">MySQLi_STMT</a></div> 12 <div class="home"><a href="index.html">PHP Manual</a></div> 13</div><hr /><div id="mysqli-stmt.param-count" class="refentry"> 16 <h1 class="refname">mysqli_stmt_param_count</h1> 17 <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">mysqli_stmt::$param_count</span> -- <span class="refname">mysqli_stmt_param_count</span> — <span class="dc-title">Returns the number of parameter for the given statement</span></p> 18 68 <div class="example-contents"> 69<div class="phpcode"><code><span style="color: #000000"> 70<span style="color: #0000BB"><?php<br />$mysqli </span><span style="color: #007700">= new </span><span style="color: #0000BB">mysqli</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">, </span><span style="color: #DD0000">"my_user"</span><span style="color: #007700">, </span><span style="color: #DD0000">"my_password"</span><span style="color: #007700">, </span><span style="color: #DD0000">"world"</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/* check connection */<br /></span><span style="color: #007700">if (</span><span style="color: #0000BB">mysqli_connect_errno</span><span style="color: #007700">()) {<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Connect failed: %s\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">mysqli_connect_error</span><span style="color: #007700">());<br /> exit();<br />}<br /><br />if (</span><span style="color: #0000BB">$stmt </span><span style="color: #007700">= </span><span style="color: #0000BB">$mysqli</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #DD0000">"SELECT Name FROM Country WHERE Name=? OR Code=?"</span><span style="color: #007700">)) {<br /><br /> </span><span style="color: #0000BB">$marker </span><span style="color: #007700">= </span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-></span><span style="color: #0000BB">param_count</span><span style="color: #007700">;<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Statement has %d markers.\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">$marker</span><span style="color: #007700">);<br /><br /> </span><span style="color: #FF8000">/* close statement */<br /> </span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-></span><span style="color: #0000BB">close</span><span style="color: #007700">();<br />}<br /><br /></span><span style="color: #FF8000">/* close connection */<br /></span><span style="color: #0000BB">$mysqli</span><span style="color: #007700">-></span><span style="color: #0000BB">close</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?></span> 78 <div class="example-contents"> 79<div class="phpcode"><code><span style="color: #000000"> 80<span style="color: #0000BB"><?php<br />$link </span><span style="color: #007700">= </span><span style="color: #0000BB">mysqli_connect</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">, </span><span style="color: #DD0000">"my_user"</span><span style="color: #007700">, </span><span style="color: #DD0000">"my_password"</span><span style="color: #007700">, </span><span style="color: #DD0000">"world"</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/* check connection */<br /></span><span style="color: #007700">if (</span><span style="color: #0000BB">mysqli_connect_errno</span><span style="color: #007700">()) {<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Connect failed: %s\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">mysqli_connect_error</span><span style="color: #007700">());<br /> exit();<br />}<br /><br />if (</span><span style="color: #0000BB">$stmt </span><span style="color: #007700">= </span><span style="color: #0000BB">mysqli_prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$link</span><span style="color: #007700">, </span><span style="color: #DD0000">"SELECT Name FROM Country WHERE Name=? OR Code=?"</span><span style="color: #007700">)) {<br /><br /> </span><span style="color: #0000BB">$marker </span><span style="color: #007700">= </span><span style="color: #0000BB">mysqli_stmt_param_count</span><span style="color: #007700">(</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">);<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Statement has %d markers.\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">$marker</span><span style="color: #007700">);<br /><br /> </span><span style="color: #FF8000">/* close statement */<br /> </span><span style="color: #0000BB">mysqli_stmt_close</span><span style="color: #007700">(</span><span style="color: #0000BB">$stmt</span><span style="color: #007700">);<br />}<br /><br /></span><span style="color: #FF8000">/* close connection */<br /></span><span style="color: #0000BB">mysqli_close</span><span style="color: #007700">(</span><span style="color: #0000BB">$link</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span>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']; ?>symbol_table.h https://bitbucket.org/gnanakeethan/hiphop-php.git | C Header | 395 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 17#ifndef incl_HPHP_SYMBOL_TABLE_H_ 18#define incl_HPHP_SYMBOL_TABLE_H_ 19 19 20#include "hphp/compiler/hphp.h" 21#include "hphp/util/json.h"photospip_fr.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 142 lines
1<?php 2// This is a SPIP language file -- Ceci est un fichier langue de SPIP 13 'bouton_revenir_version' => 'Revenir à cette version', 14 'bouton_supprimer_previsu' => 'Revenir à la version sans prévisualisation', 15 'bouton_supprimer_version' => 'Supprimer cette version', 36 'erreur_nb_versions_atteint' => 'Le nombre de versions différentes de l\'image a été atteint (@nb@). Vous ne pouvez que tester et non appliquer les modifications.', 37 'erreur_previsu' => 'Si le résultat vous satisfait vous pouvez le valider en bas du formulaire, sinon vous pouvez tester d\'autres filtres.', 38 'erreur_selectionner_au_moins_une_valeur' => 'Vous devez sélectionner au moins une valeur', 69 'label_couleur_sepia' => 'Couleur :', 70 'label_hauteur_previsu' => 'Hauteur maximale de la prévisualisation en px (450 par défaut) : ', 71 'label_image_aplatir' => 'Aplatir l\'image', 84 'label_image_sincity' => 'Filtre Sin City', 85 'label_largeur_previsu' => 'Largeur maximale de la prévisualisation en px (450 par défaut) : ', 86 'label_limiter_version' => 'Limiter le nombre de versions possibles à :',photos-sharing.php https://github.com/AJenbo/ubuntudanmark.dk.git | PHP | 220 lines
1<?php 2//Include wordpress files 3$wp_blog_header_path = ''; 4if(file_exists($_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php')) 5{ 5{ 6 $wp_blog_header_path = $_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php'; 7} 7} 8 else if(file_exists($_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php')) 9{ 9{ 10 $wp_blog_header_path = $_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php'; 11} 59 <link rel="up" href="photos.php" title="Kapitel 3. Billeder og kameraer" /> 60 <link rel="prev" href="photos-printing.php" title="Udskriv billeder" /> 61 <link rel="next" href="photos-editing.php" title="Rediger og forbedr billeder" />otb.c https://bitbucket.org/ardalanaz/dava.framework.git | C | 387 lines
25% % 26% http://www.imagemagick.org/script/license.php % 27% % 195 break; 196 if (image->previous == (Image *) NULL) 197 { 376 (void) WriteBlobByte(image,byte); 377 if (image->previous == (Image *) NULL) 378 {class.evstat.html https://bitbucket.org/stillzhl/manuals.git | HTML | 359 lines
8 <body><div class="manualnavbar" style="text-align: center;"> 9 <div class="prev" style="text-align: left; float: left;"><a href="evsignal.set.html">EvSignal::set</a></div> 10 <div class="next" style="text-align: right; float: right;"><a href="evstat.attr.html">EvStat::attr</a></div> 11 <div class="up"><a href="book.ev.html">Ev</a></div> 12 <div class="home"><a href="index.html">PHP Manual</a></div> 13</div><hr /><div id="class.evstat" class="reference"> 181 <span class="type">void</span> 182 <span class="methodname"><a href="evstat.prev.html" class="methodname">prev</a></span> 183 ( <span class="methodparam">void</span> 351 352<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="evstat.attr.html">EvStat::attr</a> — Returns the values most recently detected by Ev</li><li><a href="evstat.construct.html">EvStat::__construct</a> — Constructs EvStat watcher object</li><li><a href="evstat.createstopped.html">EvStat::createStopped</a> — Create a stopped EvStat watcher object</li><li><a href="evstat.prev.html">EvStat::prev</a> — Returns the previous set of values returned by EvStat::attr</li><li><a href="evstat.set.html">EvStat::set</a> — Configures the watcher</li><li><a href="evstat.stat.html">EvStat::stat</a> — Initiates the stat call</li></ul> 353</div> 354<hr /><div class="manualnavbar" style="text-align: center;"> 355 <div class="prev" style="text-align: left; float: left;"><a href="evsignal.set.html">EvSignal::set</a></div> 356 <div class="next" style="text-align: right; float: right;"><a href="evstat.attr.html">EvStat::attr</a></div>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());CombinationChart.html https://bitbucket.org/royrutto/climatepal.git | HTML | 266 lines
11 <tr> 12 <td><h2 class="pageHeader">FusionCharts PHP Class API > Creating Combination Chart </h2></td> 13 </tr> 42 <td width="40%" class="borderBottom"> 43 <div align="right"><strong>Previous Month </strong></div> 44 </td> 103 <tr> 104 <td valign="top" class="highlightBlock"><strong>Before you go further with this page, we recommend you to please see the previous pages "Creating First Chart " & "Creating Multi-series chart" as we start off from concepts explained in that page. </strong></td> 105 </tr> 115 <tr> 116 <td valign="top" class="codeBlock"><p><?php</p> 117 <p> <span class="codeComment"> # Include FusionCharts PHP Class</span><br /> 117 <p> <span class="codeComment"> # Include FusionCharts PHP Class</span><br /> 118 include('../Class/FusionCharts_Gen.php');</p> 119 <p> <span class="codeComment"> # Create Column 3D + Line Dual Y-Axis Combination Chart </span><br />create.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 315 lines
17 <form action="<?php bp_group_creation_form_action(); ?>" method="post" id="create-group-form" class="standard-form" enctype="multipart/form-data"> 18 <h3><?php _e( 'Create a Group', 'buddypress' ); ?> <a class="button" href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ); ?>"><?php _e( 'Groups Directory', 'buddypress' ); ?></a></h3> 19 122 123 <p><?php printf( __( '<strong>Attention Site Admin:</strong> Group forums require the <a href="%s">correct setup and configuration</a> of a bbPress installation.', 'buddypress' ), bp_core_do_network_admin() ? network_admin_url( 'settings.php?page=bb-forums-setup' ) : admin_url( 'admin.php?page=bb-forums-setup' ) ); ?></p> 124 168 <div id="avatar-crop-pane"> 169 <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-crop-preview" class="avatar" alt="<?php _e( 'Avatar preview', 'buddypress' ); ?>" /> 170 </div> 228 <div class="action"> 229 <a class="remove" href="<?php bp_group_invite_user_remove_invite_url(); ?>" id="<?php bp_group_invite_item_id(); ?>"><?php _e( 'Remove Invite', 'buddypress' ); ?></a> 230 </div> 267 268 <input type="button" value="<?php _e( 'Back to Previous Step', 'buddypress' ); ?>" id="group-creation-previous" name="previous" onclick="location.href='<?php bp_group_creation_previous_link(); ?>'" /> 269LogCommand.java https://bitbucket.org/cofarrell/jgit.git | Java | 327 lines
7 * accompanies this distribution, is reproduced below, and is 8 * available at http://www.eclipse.org/org/documents/edl-v10.php 9 * 64import org.eclipse.jgit.revwalk.filter.MaxCountRevFilter; 65import org.eclipse.jgit.revwalk.filter.SkipRevFilter; 66import org.eclipse.jgit.treewalk.filter.AndTreeFilter; 120 if (skip > -1 && maxCount > -1) 121 walk.setRevFilter(AndRevFilter.create(SkipRevFilter.create(skip), 122 MaxCountRevFilter.create(maxCount))); 123 else if (skip > -1) 124 walk.setRevFilter(SkipRevFilter.create(skip)); 125 else if (maxCount > -1)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'],migration.15.html https://bitbucket.org/xaca/grabarvideosams.git | HTML | 235 lines
33 <p class="para"> 34 When upgrading from a previous release to Zend Framework 1.5 or higher you 35 should note the following migration notes. 51 lowercases the action name, and uses these word separators to 52 re-assemble the action method using camelCasing. However, because <acronym class="acronym">PHP</acronym> 53 functions are not case sensitive, you <em class="emphasis">could</em> 57 become 'camelcasedAction'; however, due to the case insensitivity of 58 <acronym class="acronym">PHP</acronym>, both will execute the same method. 59 </p> 107 108 <div class="programlisting php"><div class="phpcode"><div class="php" style="font-family: monospace;"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$viewRenderer</span> =</div></li> 109<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> Zend_Controller_Action_HelperBroker::<span style="color: #006600;">getStaticHelper</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">'viewRenderer'</span><span style="color: #66cc66;">)</span>;</div></li> 140 141 <div class="programlisting php"><div class="phpcode"><div class="php" style="font-family: monospace;"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$front</span>-><span style="color: #006600;">setParam</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">'useCaseSensitiveActions'</span>, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">)</span>;</div></li></ol></div></div></div> 142