100+ results results for 'php compact' (40 ms)
1<?php 2/** 94 $this->set_pagination_args( array( 95 'total_items' => wp_count_terms( $this->screen->taxonomy, compact( 'search' ) ), 96 'per_page' => $tags_per_page, 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>"; 368internal-link-aliases.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 374 lines
1<?php 2 34 if (suwp::permalink_mode() != SUWP_PRETTY_PERMALINKS) 35 $this->print_message('error', sprintf(__('Link Mask Generator won’t work with default or “pathinfo” permalinks. Please change your <a href="%s">permalink structure</a> to enable this module’s functionality.', 'seo-ultimate'), 'options-permalink.php')); 36 78 if (!$delete && $from && $to) 79 $aliases[$id] = compact('from', 'to', 'posts'); 80 }Index.php https://gitlab.com/tonycodes/october | PHP | 458 lines
1<?php namespace Cms\Controllers; 2 106 107 $this->bodyClass = 'compact-container side-panel-not-fixed'; 108 $this->pageTitle = 'cms::lang.cms.menu_label';XmlFileLoader.php https://github.com/schinzi/symfony.git | PHP | 402 lines
1<?php 2 73 74 $this->container->getParameterBag()->add($xml->parameters->getArgumentsAsPhp('parameter')); 75 } 84 $this->currentDir = dirname($file); 85 $this->import((string) $import['resource'], (Boolean) $import->getAttributeAsPhp('ignore-errors')); 86 } 112 $method = 'set'.str_replace('-', '', $key); 113 $definition->$method((string) $service->getAttributeAsPhp($key)); 114 } 120 121 $definition->setArguments($service->getArgumentsAsPhp('argument')); 122 137 foreach ($service->call as $call) { 138 $definition->addMethodCall((string) $call['method'], $call->getArgumentsAsPhp('argument')); 139 }internal-link-aliases.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 310 lines
1<?php 2 66 if (!$delete && $from && $to) 67 $aliases[$id] = compact('from', 'to', 'posts'); 68 }BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
1<?php 2/** 56 if ($highlight) { 57 $result = highlight_string("<?php\n" . self::$_output, true); 58 self::$_output = preg_replace('/<\\?php<br \\/>/', '', $result, 1); 119 self::$_output .= "$className#$id\n" . $spaces . '('; 120 if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) { 121 $dumpValues = $var->__debugInfo(); 141 * 142 * The string is a valid PHP expression that can be evaluated by PHP parser 143 * and the evaluation result will give back the variable value. 145 * This method is similar to `var_export()`. The main difference is that 146 * it generates more compact string representation using short array syntax. 147 * 147 * 148 * It also handles objects by using the PHP functions serialize() and unserialize(). 149 *paperclip.rb https://github.com/palladius/lovd-by-less.git | Ruby | 244 lines
8# Copyright:: Copyright (c) 2008 thoughtbot, inc. 9# License:: MIT License (http://www.opensource.org/licenses/mit-license.php) 10# 55 def path_for_command command #:nodoc: 56 path = [options[:image_magick_path], command].compact 57 File.join(*path) 95 # geometry strings at the ImageMagick website 96 # (http://www.imagemagick.org/script/command-line-options.php#resize). Paperclip 97 # also adds the "#" option (e.g. "50x50#"), which will resize the image to fit maximallyCompass.php https://github.com/vivid-planet/library.git | PHP | 511 lines
1<?php 2require_once dirname(__FILE__) . '/../ExtensionInterface.php'; 40 'blank', 41 'compact', 42 '-compass-nth', 241 242 public static function compassCompact() 243 {Logger.php https://gitlab.com/hoanghung.dev/phunuvadoisong.com | PHP | 456 lines
1<?php 2/** 2/** 3 * Logger.php 4 * 9 * Logging utility class. This class handles basic logging with levels, log rotation and custom log formats. It's 10 * designed to be compact but still powerful and flexible. 11 *ajax.html https://gitlab.com/victor.flores/prueba | HTML | 310 lines
132 133 <div class="php"> 134 <p>The script used to perform the server-side processing for this table is shown below. Please note 134 <p>The script used to perform the server-side processing for this table is shown below. Please note 135 that this is just an example script using PHP. Server-side processing scripts can be written in any 136 language, using <a href="//datatables.net/manual/server-side">the protocol described in the 205 <li><a href="../styling/cell-border.html">Base style - cell borders</a></li> 206 <li><a href="../styling/compact.html">Base style - compact</a></li> 207 <li><a href="../styling/hover.html">Base style - hover</a></li>Actions.php https://github.com/digitalstrategyworks/Reese-WordPress.git | PHP | 280 lines
1<?php 2require_once dirname(__FILE__) . '/Messages.php'; 52 { 53 require_once dirname(__FILE__) . '/Shortcode.php'; 54 // short codes 79 // make sure that user is notified if API-key not found.. 80 if (in_array('umapper/info.php', get_option('active_plugins'))) { // umapper plugin is active 81 // make sure that user warned about necessity of API-key registration 100 if (function_exists('add_options_page')) { 101 require_once dirname(__FILE__) . '/Page/Config.php'; 102 add_options_page(__('UMapper Configuration', 'umapper'), __('UMapper', 'umapper'), 8, 'Umapper.php', array(Umapper_Page_Config::getInstance(),'show')); 131 { 132 wp_enqueue_script('UmapperInit', Umapper_Plugin::getPluginUri() . 'content/js/UmapperInit.js.php', array('jquery'), uniqid()); 133 //wp_enqueue_script('Umapper', Umapper_Plugin::getPluginUri() . 'content/js/Umapper.js', array('UmapperInit', 'jquery'), '1.0'); 165 { 166 wp_enqueue_style('UmapperStyleAdmin', Umapper_Plugin::getPluginUri() . 'content/css/admin.compact.css', false, '1.0', 'all'); 167 }TableProcessor.php https://gitlab.com/staging06/myproject | PHP | 356 lines
1<?php 2/** 2/** 3 * TableProcessor.php 4 * 32 33require_once(dirname(__FILE__) . '/AbstractProcessor.php'); 34require_once(dirname(__FILE__) . '/CreateDefinitionProcessor.php'); 34require_once(dirname(__FILE__) . '/CreateDefinitionProcessor.php'); 35require_once(dirname(__FILE__) . '/../utils/ExpressionType.php'); 36 208 case 'REDUNDANT': 209 case 'COMPACT': 210 case 'NO':class_stats.tex https://gitlab.com/karl3/gs_libs | LaTeX | 392 lines
86 87Definition at line 18 of file Stats.\-class.\-php. 88 183 184Definition at line 356 of file Stats.\-class.\-php. 185 207 208Definition at line 161 of file Stats.\-class.\-php. 209 255 256Definition at line 136 of file Stats.\-class.\-php. 257 391\item 392/\-Users/karlgroves/\-Documents/sites/gs\-\_\-libs/Stats.\-class.\-php\end{DoxyCompactItemize} 393wp-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;ControllerTest.php https://bitbucket.org/thesyncim/admin-biarq.git | PHP | 356 lines
1<?php 2/** 2/** 3 * Lithium: the most rad php framework 4 * 5 * @copyright Copyright 2011, Union of RAD (http://union-of-rad.org) 6 * @license http://opensource.org/licenses/bsd-license.php The BSD License 7 */ 24 $request = new MockControllerRequest(); 25 $postsController = new MockPostsController(compact('request')); 26 $result = get_class($postsController->request); 31 * Tests the use of `Controller::__invoke()` for dispatching requests to action methods. Also 32 * tests that using PHP's callable syntax yields the same result as calling `__invoke()` 33 * explicitly. 142 143 $controller = new MockPostsController(compact('request') + array('classes' => array( 144 'media' => 'lithium\tests\mocks\action\MockMediaClass'ShellTest.php https://gitlab.com/Laolballs/evotting | PHP | 325 lines
1<?php 2 19 20class ShellTest extends \PHPUnit_Framework_TestCase 21{ 40 $shell = new Shell($this->getConfig()); 41 $shell->setScopeVariables(compact('one', 'two', 'three', '__psysh__', '_', '_e')); 42 65 { 66 $config = $this->getConfig(array('configFile' => __DIR__ . '/../../fixtures/empty.php')); 67 76 $config = $this->getConfig(array( 77 'defaultIncludes' => array('/file.php'), 78 'configFile' => __DIR__ . '/../../fixtures/empty.php', 83 $includes = $shell->getIncludes(); 84 $this->assertEquals('/file.php', $includes[0]); 85 }haml.php https://bitbucket.org/mintao/yii-phamlp.git | PHP | 287 lines
1<?php 2/** 13 * See below and HamlParser for a description of options 14 * * Add the following line in your app_controller.php 15 * <pre>var $view = 'Haml';</pre> 95 * expanded: block tags have their own lines as does content which is indented 96 * compact: block tags and their content go on one line 97 * compressed: all unneccessary whitepaces is removed. If ugly is true this 160 161 App::import('Vendor', 'HamlParser', array('file'=>'phamlp'.DS.'haml'.DS.'HamlParser.php')); 162 $this->haml = new HamlParser($options); 165 /** 166 * Renders a piece of PHP with provided parameters and returns HTML, XML, or 167 * any other string.Mailer.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 504 lines
1<?php namespace Illuminate\Mail; 2 108 { 109 $this->from = compact('address', 'name'); 110 } 166 167 return $this->queue->push('mailer@handleQueuedMessage', compact('view', 'data', 'callback'), $queue); 168 } 197 198 return $this->queue->later($delay, 'mailer@handleQueuedMessage', compact('view', 'data', 'callback'), $queue); 199 }repo-auth-type.cpp https://gitlab.com/alvinahmadov2/hhvm | C++ | 387 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 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 | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 15*/ 16#include "hphp/runtime/base/repo-auth-type.h" 17ArticlesController.php https://gitlab.com/forby/Trace | PHP | 476 lines
1<?php namespace App\Http\Controllers; 2 38 39 return view('articles.index', compact('articles', 'top_tags')); 40 } 61 // Show the view 62 return view('articles.create', compact('tags', 'categories', 'user', 'users')); 63 } 118 119 return view('articles.show', compact('article', 'relatedArticles', 'user')); 120 } 139 // Show the edit view 140 return view ('articles.edit', compact('article', 'tags', 'categories', 'user')); 141 } 225 if ( $author->email ) { 226 Mail::send('emails.published', compact('author', 'article'), function( $message ) use ( $author ) { 227 $message->to($author->email, $author->name);MooTools12core.i18n.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 461 lines
1<?php 2/** 12$messages['en'] = array( 13 'mootools12core-desc' => 'Adds [http://mootools.net mootools-1.2-core-yc.js], a compact JavaScript framework, to each page', 14); 84$messages['ca'] = array( 85 'mootools12core-desc' => 'Afegeix [http://mootools.net mootools-1.2-core-yc.js], un entorn de treball JavaScript compacte a cada pàgina', 86); 128$messages['es'] = array( 129 'mootools12core-desc' => 'Añade [http://mootools.net mootools-1.2-core-yc.js], un entorno JavaScript compacto, a cada página', 130); 152$messages['fr'] = array( 153 'mootools12core-desc' => 'Ajoute [http://mootools.net mootools-1.2-core-yc.js], un framework JavaScript compact, à chaque page', 154); 159$messages['gl'] = array( 160 'mootools12core-desc' => 'Engade [http://mootools.net mootools-1.2-core-yc.js], un armazón de JavaScript compacto, a cada páxina', 161);Service.php https://github.com/jpratt/cal.git | PHP | 473 lines
1<?php 2/** 23 */ 24#require_once 'Zend/Json/Server/Smd.php'; 25 30 * @subpackage Server 31 * @version $Id: Service.php 12510 2008-11-10 16:29:34Z matthew $ 32 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 132 if (null == $this->getName()) { 133 #require_once 'Zend/Json/Server/Exception.php'; 134 throw new Zend_Json_Server_Exception('SMD service description requires a name; none provided'); 169 if (!preg_match($this->_nameRegex, $name)) { 170 #require_once 'Zend/Json/Server/Exception.php'; 171 throw new Zend_Json_Server_Exception(sprintf('Invalid name "%s" provided for service; must follow PHP method naming conventions', $name)); 197 if (!in_array($transport, $this->_transportTypes)) { 198 #require_once 'Zend/Json/Server/Exception.php'; 199 throw new Zend_Json_Server_Exception(sprintf('Invalid transport "%s"; please select one of (%s)', $transport, implode(', ', $this->_transportTypes)));rules.php https://github.com/FullService/joomla.git | PHP | 286 lines
1<?php 2/** 78 79 // Use the compact form for the content rules (to be deprecated). 80// if (!empty($component) && $section != 'component') {array.idl.php https://github.com/diegoIta/hiphop-php.git | PHP | 376 lines
1<?php 2 2 3include_once 'base.php'; 4 177 178f('compact', VariantMap, 179 array('varname' => Variant),class_symfony_1_1_component_1_1_http_foundation_1_1_universal_class_loader.tex https://github.com/niieani/napkin.git | LaTeX | 173 lines
5\subsection*{\-Public \-Member \-Functions} 6\begin{DoxyCompactItemize} 7\item 28\hyperlink{class_symfony_1_1_component_1_1_http_foundation_1_1_universal_class_loader_a8326a997d0cfe76d80196f60d240d144}{load\-Class} (\$class) 29\end{DoxyCompactItemize} 30\subsection*{\-Protected \-Attributes} 49 50$\ast$ \-The technical interoperability standards for \-P\-H\-P 5.\-3 namespaces and class names (\href{http://groups.google.com/group/php-standards/web/psr-0-final-proposal}{\tt http\-://groups.\-google.\-com/group/php-\/standards/web/psr-\/0-\/final-\/proposal}); 51 51 52$\ast$ \-The \hyperlink{namespace_p_e_a_r}{\-P\-E\-A\-R} naming convention for classes (\href{http://pear.php.net/}{\tt http\-://pear.\-php.\-net/}). 53 172\item 173vendor/symfony/lib/\-Symfony/\-Component/\-Http\-Foundation/\-Universal\-Class\-Loader.\-php\end{DoxyCompactItemize} 174Guard.php https://bitbucket.org/helfreire/tccsite.git | PHP | 557 lines
1<?php namespace Illuminate\Auth; 2 304 { 305 $payload = array_values(compact('credentials', 'remember', 'login')); 306tiny_mce_gzip.php https://github.com/KenBoyer/CompactCMS.git | PHP | 332 lines
1<?php 2 3/* make sure no-one can run anything here if they didn't arrive through 'proper channels' */ 4if(!defined("COMPACTCMS_CODE")) { die('Illegal entry point!'); } /*MARKER*/ 5 6/** 7 * tiny_mce_gzip.php 8 * 39 * Example of direct usage: 40 * require_once("../tiny_mce_gzip.php"); 41 * 43 * TinyMCE_Compressor::renderTag(array( 44 * "url" => "../tiny_mce_gzip.php", 45 * "plugins" => "pagebreak,style",admin.php https://github.com/ngonchan/Kooshy.git | PHP | 374 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 76 $users = KMS::instance('site')->users->find_all(); 77 $this->template->content = View::factory('kms/admin-users', compact('users')); 78 break; 97 $user['role'] = $role; 98 $this->template->content = View::factory('kms/admin-users-edit', compact('user', 'roles')); 99 break; 114 $content = KMS::instance('site')->content->find_all(); 115 $this->template->content = View::factory('kms/content-overview', compact('content')); 116 break; 122 } 123 $this->template->content = View::factory('kms/content-add', compact('content')); 124 break; 132 $content = $content->as_array(); 133 $this->template->content = View::factory('kms/content-edit', compact('content')); 134 break;rules.php https://github.com/nikosdion/Akeeba-Example.git | PHP | 312 lines
1<?php 2/** 86 87 // Use the compact form for the content rules (deprecated). 88 //if (!empty($component) && $section != 'component') {plain.class.php https://github.com/godber/PHXdata-Website.git | PHP | 328 lines
1<?php 2/** 106 if (io_saveFile($config_cascade['plainauth.users']['default'],$userline,true)) { 107 $this->users[$user] = compact('pass','name','mail','grps'); 108 return $pwd;module.js https://github.com/arborrow/moodle.git | JavaScript | 259 lines
22 // Properties. 23 api : M.cfg.wwwroot + '/mod/chat/chat_ajax.php?sesskey=' + M.cfg.sesskey, // The path to the ajax callback script. 24 cfg : {}, // A configuration variable. 120 {text: M.util.get_string('bubble', 'mod_chat'), url: this.cfg.chaturl + '&theme=bubble'}, 121 {text: M.util.get_string('compact', 'mod_chat'), url: this.cfg.chaturl + '&theme=compact'} 122 ]);pagination.rst https://github.com/cakephp/docs.git | ReStructuredText | 294 lines
11part of every application and used to cause many headaches for developers. 12CakePHP eases the burden on the developer by providing a terse way to 13paginate data. 14 15Pagination in CakePHP controllers is done through the ``paginate()`` method. You 16then use :php:class:`~Cake\\View\\Helper\\PaginatorHelper` in your view templates 56While you can include any of the options supported by 57:php:meth:`~Cake\\ORM\\Table::find()` such as ``fields`` in your pagination 58settings. It is cleaner and simpler to bundle your pagination options into 84 // 85 // Our custom finder is called findTagged inside ArticlesTable.php 86 // which is why we're using `tagged` as the key. 94 $articles = $this->paginate($this->Articles, $settings); 95 $this->set(compact('articles', 'tags')); 96 }ListController.php https://gitlab.com/gideonmarked/atls-express | PHP | 486 lines
1<?php namespace Backend\Behaviors; 2 278 if (!isset($this->listDefinitions[$definition])) { 279 throw new ApplicationException(Lang::get('backend::lang.list.missing_parent_definition', compact('definition'))); 280 } 345 346 return implode(PHP_EOL, $collection); 347 }news.Manage.php https://github.com/KenBoyer/CompactCMS.git | PHP | 324 lines
32/* make sure no-one can run anything here if they didn't arrive through 'proper channels' */ 33if(!defined("COMPACTCMS_CODE")) { define("COMPACTCMS_CODE", 1); } /*MARKER*/ 34 164 ?> 165 <a href="news.Write.php?page_id=<?php echo $page_id; ?>&newsID=<?php echo rm0lead($rsNews->newsID); ?>"><span class="ss_sprite_16 ss_pencil"> </span><?php echo substr($rsNews->newsTitle,0,20); echo (strlen($rsNews->newsTitle)>20 ? '...' : null); ?></a> 166 <?php 210 ?> 211 <p class="ss_has_sprite"><a href="news.Write.php?page_id=<?php echo $page_id; ?>"><span class="ss_sprite_16 ss_newspaper_add"> </span><?php echo $ccms['lang']['news']['addnewslink']; ?></a></p> 212 291 <button type="submit"><span class="ss_sprite_16 ss_disk"> </span><?php echo $ccms['lang']['forms']['savebutton']; ?></button> 292 <a class="button" href="../../../admin/index.php" onClick="return confirmation();" title="<?php echo $ccms['lang']['editor']['cancelbtn']; ?>"><span class="ss_sprite_16 ss_cross"> </span><?php echo $ccms['lang']['editor']['cancelbtn']; ?></a> 293 </div> 317 { 318 return !close_mochaUI_window_or_goto_url("<?php echo makeAbsoluteURI($cfg['rootdir'] . 'admin/index.php'); ?>", '<?php echo $pageName; ?>_ccms'); 319 }Form.php https://github.com/ochoto/framework-benchs.git | PHP | 353 lines
1<?php 2/** 2/** 3 * Lithium: the most rad php framework 4 * 5 * @copyright Copyright 2010, Union of RAD (http://union-of-rad.org) 6 * @license http://opensource.org/licenses/bsd-license.php The BSD License 7 */ 21 * $post = Post::find(1); 22 * return compact('post'); 23 * 211 return $self->invokeMethod('_render', array( 212 $method, $template, compact('url', 'options') 213 )); 214 }; 215 return $this->_filter(__METHOD__, compact('binding', 'options'), $filter); 216 }SearchableBehaviorTest.php https://github.com/dkullmann/search.git | PHP | 425 lines
1<?php 2/** 8 * @copyright Copyright 2009-2010, Cake Development Corporation (http://cakedc.com) 9 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 10 */ 420 $result = $this->Article->Tagged->recursive = -1; 421 $result = $this->Article->Tagged->getQuery('first', compact('conditions')); 422 $expected = "SELECT `Tagged`.`id`, `Tagged`.`foreign_key`, `Tagged`.`tag_id`, `Tagged`.`model`, `Tagged`.`language`, `Tagged`.`created`, `Tagged`.`modified` FROM `tagged` AS `Tagged` WHERE `Tagged`.`tag_id` = '1' LIMIT 1";core.h https://gitlab.com/freedmpure/bitcoin | C Header | 476 lines
3// Distributed under the MIT/X11 software license, see the accompanying 4// file COPYING or http://www.opensource.org/licenses/mit-license.php. 5 242 243/** wrapper for CTxOut that provides a more compact serialization */ 244class CTxOutCompressorService.php https://github.com/tuteke/isaved.git | PHP | 473 lines
1<?php 2/** 23 */ 24#require_once 'Zend/Json/Server/Smd.php'; 25 30 * @subpackage Server 31 * @version $Id: Service.php 16214 2009-06-21 19:34:03Z thomas $ 32 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) 132 if (null == $this->getName()) { 133 #require_once 'Zend/Json/Server/Exception.php'; 134 throw new Zend_Json_Server_Exception('SMD service description requires a name; none provided'); 169 if (!preg_match($this->_nameRegex, $name)) { 170 #require_once 'Zend/Json/Server/Exception.php'; 171 throw new Zend_Json_Server_Exception(sprintf('Invalid name "%s" provided for service; must follow PHP method naming conventions', $name)); 197 if (!in_array($transport, $this->_transportTypes)) { 198 #require_once 'Zend/Json/Server/Exception.php'; 199 throw new Zend_Json_Server_Exception(sprintf('Invalid transport "%s"; please select one of (%s)', $transport, implode(', ', $this->_transportTypes)));class-wp-terms-list-table.php https://github.com/terry69/fluxflex_wordpress.git | PHP | 379 lines
1<?php 2/** 308 if ( $count ) 309 $count = "<a href='link-manager.php?cat_id=$tag->term_id'>$count</a>"; 310 return $count; 331 <form method="get" action=""><table style="display: none"><tbody id="inlineedit"> 332 <tr id="inline-edit" class="inline-edit-row" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange"> 333 347 </div></fieldset> 348 <?php 349 363 <p class="inline-edit-save submit"> 364 <a accesskey="c" href="#inline-edit" title="<?php _e( 'Cancel' ); ?>" class="cancel button-secondary alignleft"><?php _e( 'Cancel' ); ?></a> 365 <?php $update_text = $tax->labels->update_item; ?> 365 <?php $update_text = $tax->labels->update_item; ?> 366 <a accesskey="s" href="#inline-edit" title="<?php echo esc_attr( $update_text ); ?>" class="save button-primary alignright"><?php echo $update_text; ?></a> 367 <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />key.cpp https://gitlab.com/yenny.prathivi/bitcoin | C++ | 330 lines
2// Distributed under the MIT software license, see the accompanying 3// file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 197 198bool CKey::SignCompact(const uint256 &hash, std::vector<unsigned char>& vchSig) const { 199 if (!fValid) 205 assert(ret); 206 secp256k1_ecdsa_recoverable_signature_serialize_compact(secp256k1_context_sign, (unsigned char*)&vchSig[1], &rec, &sig); 207 assert(ret);trees.js https://bitbucket.org/pixelant/aloha.git | JavaScript | 336 lines
4 * Copyright (c) 2010-2012 Gentics Software GmbH, Vienna, Austria. 5 * Contributors http://aloha-editor.org/contribution.php 6 * 21 * As an additional permission to the GNU GPL version 2, you may distribute 22 * non-source (e.g., minimized or compacted) forms of the Aloha-Editor 23 * source code without the copy of the GNU GPL normally required,PaginatorComponent.php https://bitbucket.org/LeThanhDat/firstdummyapp.git | PHP | 417 lines
1<?php 2/** 4 * 5 * PHP 5 6 * 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @package Cake.Controller.Component 16 * @package Cake.Controller.Component 17 * @since CakePHP(tm) v 2.0 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 69 * @package Cake.Controller.Component 70 * @link http://book.cakephp.org/2.0/en/core-libraries/components/pagination.html 71 */config.inc.php https://gitlab.com/gentotech/evotennissg | PHP | 263 lines
5if(file_exists($wp_root . '/wp-load.php')) { 6require_once($wp_root . "/wp-load.php"); 7} else if(file_exists($wp_root . '/wp-config.php')) { 7} else if(file_exists($wp_root . '/wp-config.php')) { 8require_once($wp_root . "/wp-config.php"); 9}else { 28} 29# Language of PHPFM. 30$language = "english"; 40# Login is handled by Wordpress in this hack 41# DO NOT enable phpfm_auth, as it will likely break the script 42$phpfm_auth = FALSE; 91 "layout.gif" => "html htm shtml htm pdf", 92 "script.gif" => "php php4 php3 phtml phps conf sh shar csh ksh tcl cgi pl js", 93 "image2.gif" => "jpeg jpe jpg gif png bmp",sharebar.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 269 lines
1<?php 2/* 42 $wpdb->query("INSERT INTO $table(enabled, position,name, big, small) 43 VALUES('1','1','digg', '<script type=\"text/javascript\">(function() { var s = document.createElement(\'SCRIPT\'), s1 = document.getElementsByTagName(\'SCRIPT\')[0]; s.type = \'text/javascript\'; s.async = true; s.src = \'http://widgets.digg.com/buttons.js\'; s1.parentNode.insertBefore(s, s1); })(); </script><a class=\"DiggThisButton DiggMedium\"></a>', '<script type=\"text/javascript\">(function() { var s = document.createElement(\'SCRIPT\'), s1 = document.getElementsByTagName(\'SCRIPT\')[0]; s.type = \'text/javascript\'; s.async = true; s.src = \'http://widgets.digg.com/buttons.js\'; s1.parentNode.insertBefore(s, s1); })(); </script><a class=\"DiggThisButton DiggCompact\"></a>')"); 44 $wpdb->query("INSERT INTO $table(enabled, position,name, big, small) 46 $wpdb->query("INSERT INTO $table(enabled, position,name, big, small) 47 VALUES('0','3','facebook', '<iframe src=\"http://www.facebook.com/plugins/like.php?href=[url]&layout=box_count&show_faces=false&width=60&action=like&colorscheme=light&height=45\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:45px; height:60px;\" allowTransparency=\"true\"></iframe>', '<iframe src=\"http://www.facebook.com/plugins/like.php?href=[url]&layout=button_count&show_faces=false&width=85&action=like&colorscheme=light&height=21\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:85px; height:21px;\" allowTransparency=\"true\"></iframe>')"); 48 $wpdb->query("INSERT INTO $table(enabled, position,name, big, small) 56 $wpdb->query("INSERT INTO $table(enabled, position,name, big, small) 57 VALUES('0','8','stumbleupon', '<script src=\"http://www.stumbleupon.com/hostedbadge.php?s=5\"></script>', '<script src=\"http://www.stumbleupon.com/hostedbadge.php?s=2\"></script>')"); 58 $wpdb->query("INSERT INTO $table(enabled, position,name, big, small) 60 $wpdb->query("INSERT INTO $table(enabled, position,name, big, small) 61 VALUES('0','10','designfloat', '<script type=\"text/javascript\">submit_url = \'[url]\';</script><script type=\"text/javascript\" src=\"http://www.designfloat.com/evb2/button.php\"></script>', '<script type=\"text/javascript\">submit_url = \'[url]\';</script><script type=\"text/javascript\" src=\"http://www.designfloat.com/evb/button.php\"></script>')"); 62 $wpdb->query("INSERT INTO $table(enabled, position,name, big, small) 161 if(!$width) $width = 1000; 162 echo "\n"; ?><script type="text/javascript">jQuery(document).ready(function($) { $('.zdgdsfgdf').sharebar({horizontal:'<?php echo $hori; ?>',swidth:'<?php echo $swidth; ?>',minwidth:<?php echo $width; ?>,position:'<?php echo $position; ?>',leftOffset:<?php echo $leftoffset; ?>,rightOffset:<?php echo $rightoffset; ?>}); });</script><?php echo "\n"; ?><!-- Sharebar Plugin by Monjurul Dolon (http://mdolon.com/) - more info at: http://devgrow.com/sharebar-wordpress-plugin --><?php echo "\n"; ?><?php 163 }W3CReference.php https://github.com/FabienD/symfony.git | PHP | 400 lines
1<?php 2 232 'colspan' => true, 233 'compact' => true, 234 'content' => true,externallib_test.php https://github.com/Beedell/moodle.git | PHP | 286 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 30 31require_once($CFG->dirroot . '/webservice/tests/helpers.php'); 32 87 'tool_mobile_disabledfeatures' => '', 88 'launchurl' => "$CFG->wwwroot/$CFG->admin/tool/mobile/launch.php", 89 'warnings' => array() 98 set_config('logo', 'mock.png', 'core_admin'); 99 set_config('logocompact', 'mock.png', 'core_admin'); 100 108 } 109 if ($compactlogourl = $OUTPUT->get_compact_logo_url()) { 110 $expected['compactlogourl'] = $compactlogourl->out(false); 122 global $CFG, $SITE; 123 require_once($CFG->dirroot . '/course/format/lib.php'); 124Table.php https://gitlab.com/techniconline/kmc | PHP | 408 lines
1<?php 2 394 395 $compact = new TableStyle(); 396 $compact 404 'borderless' => $borderless, 405 'compact' => $compact, 406 );class_images.tex https://gitlab.com/karl3/gs_libs | LaTeX | 223 lines
4\subsection*{Static Public Member Functions} 5\begin{DoxyCompactItemize} 6\item 68 69Definition at line 281 of file Images.\-class.\-php. 70 82 83Definition at line 40 of file Images.\-class.\-php. 84 118)\hspace{0.3cm}{\ttfamily [static]}}}\label{class_images_a9fd2462b057c4b6bbe052a757addad15} 119Thanks to Ze\-Badger for original example, and Davide Gualano for pointing me to it Original at \href{http://it.php.net/manual/en/function.imagecreatefromgif.php#59787}{\tt http\-://it.\-php.\-net/manual/en/function.\-imagecreatefromgif.\-php\#59787} 120 222\item 223/\-Users/karlgroves/\-Documents/sites/gs\-\_\-libs/Images.\-class.\-php\end{DoxyCompactItemize} 224RegisterCompanyController.php https://gitlab.com/pedramkousari/soratjalase | PHP | 452 lines
1<?php namespace App\Http\Controllers\Customer; 2 47 '.form-step1', 48 view('customer.frm.inc.register_company_step1',compact('type', 'step_cnt', 'documentId', 'companyId' , 'company'))->render() 49 ]); 69 '.form-step2', 70 view('customer.frm.inc.register_company_step2',compact('userPartner','companyPartner'))->render() 71 ]); 91 '.form-step3', 92 view('customer.frm.inc.register_company_step3',compact('userPartner','json_address'))->render() 93 ]); 113 '.form-step4', 114 view('customer.frm.inc.register_company_step4',compact('boardType','userPartner','userBoard'))->render() 115 ]); 126 '.form-step5', 127 view('customer.frm.inc.register_company_step5',compact('companyName'))->render() 128 ]);lang_sql.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 178 lines
1<?php 2//generated at 17.03.2007 5$lang['sql_view_normal']="Exibir: normal"; 6$lang['sql_view_compact']="Exibir: compacto"; 7$lang['import_notable']="Nenhuma tabela foi selecionada para importação!";CollectionTest.php https://github.com/rmarscher/lithium.git | PHP | 373 lines
1<?php 2/** 2/** 3 * Lithium: the most rad php framework 4 * 5 * @copyright Copyright 2012, Union of RAD (http://union-of-rad.org) 6 * @license http://opensource.org/licenses/bsd-license.php The BSD License 7 */ 250 $data = array('hello', 'goodbye', 'foo' => array('bar', 'baz' => 'dib')); 251 $collection = new Collection(compact('data')); 252 284 $data = array( 285 'test' => new Collection(array('data' => compact('obj'))), 286 'obj' => $obj 300 ); 301 $expected = array('test' => compact('obj')) + compact('obj'); 302 $this->assertIdentical($expected, $collection->to('array', compact('handlers')));DbConfigTask.php https://github.com/suzuki/candycane.git | PHP | 384 lines
1<?php 2/** 2/** 3 * The DbConfig Task handles creating and updating the database.php 4 * 4 * 5 * PHP 5 6 * 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @since CakePHP(tm) v 1.2 15 * @since CakePHP(tm) v 1.2 16 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 17 */DumpDataCollector.php https://gitlab.com/kimting254/wbms | PHP | 298 lines
1<?php 2 43 $this->fileLinkFormat = $fileLinkFormat ?: ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format'); 44 $this->charset = $charset ?: ini_get('php.output_encoding') ?: ini_get('default_charset') ?: 'UTF-8'; 45 $this->requestStack = $requestStack; 71 72 $trace = PHP_VERSION_ID >= 50306 ? DEBUG_BACKTRACE_PROVIDE_OBJECT | DEBUG_BACKTRACE_IGNORE_ARGS : true; 73 if (PHP_VERSION_ID >= 50400) { 130 131 $this->data[] = compact('data', 'name', 'file', 'line', 'fileExcerpt'); 132 ++$this->dataCount; 154 if ($response->headers->has('Content-Type') && false !== strpos($response->headers->get('Content-Type'), 'html')) { 155 $this->dumper = new HtmlDumper('php://output', $this->charset); 156 } else { 156 } else { 157 $this->dumper = new CliDumper('php://output', $this->charset); 158 }class.jetpack-options.php https://gitlab.com/hunt9310/ras | PHP | 256 lines
1<?php 2 9 10 public static function get_option_names( $type = 'compact' ) { 11 switch ( $type ) { 11 switch ( $type ) { 12 case 'non-compact' : 13 case 'non_compact' : 71 if ( is_array( $name ) ) { 72 $compact_names = array(); 73 foreach ( array_keys( self::$grouped_options ) as $_group ) { 73 foreach ( array_keys( self::$grouped_options ) as $_group ) { 74 $compact_names = array_merge( $compact_names, self::get_option_names( $_group ) ); 75 } 76 77 $result = array_diff( $name, self::get_option_names( 'non_compact' ), $compact_names ); 78update.php https://bitbucket.org/MashedUpMedia/mashedupmedia.git | PHP | 420 lines
27 include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version 28 $php_version = phpversion(); 29 61 'version' => $wp_version, 62 'php' => $php_version, 63 'locale' => $locale, 146 // Check for updated every 60 minutes if hitting update pages; else, check every 12 hours. 147 $timeout = in_array( current_filter(), array( 'load-plugins.php', 'load-update.php', 'load-update-core.php' ) ) ? 3600 : 43200; 148 $time_not_changed = isset( $current->last_checked ) && $timeout > ( time() - $current->last_checked ); 174 175 $to_send = (object) compact('plugins', 'active'); 176 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 );RecordSetTest.php https://github.com/brtriver/sukonv.git | PHP | 420 lines
1<?php 2/** 2/** 3 * Lithium: the most rad php framework 4 * 5 * @copyright Copyright 2010, Union of RAD (http://union-of-rad.org) 6 * @license http://opensource.org/licenses/bsd-license.php The BSD License 7 */ 67 68 $this->_recordSet = new MockRecordSet(compact('result', 'model') + array('exists' => true)); 69 71 $result->records = array_merge(array(false), $this->_records); 72 $this->_objectRecordSet = new MockRecordSet(compact('result', 'model') + array( 73 'exists' => trueAviaryFX.php https://github.com/aviaryapi/AviaryFxPhp.git | PHP | 344 lines
54 $ts = $this->getTime(); 55 $paramsToHash = compact('api_key', 'platform', 'hardware_version', 'software_version', 'app_version', 'ts', 'version'); 56 $api_sig = $this->getApiSignature($paramsToHash); 56 $api_sig = $this->getApiSignature($paramsToHash); 57 $params = compact('api_key', 'platform', 'hardware_version', 'software_version', 'app_version', 'ts', 'version', 'api_sig'); 58 $url = self::SERVER . self::GET_FILTERS_URL; 98 $file = '@' . $filename; 99 $params = compact('api_key', 'platform', 'hardware_version', 'software_version', 'app_version', 'ts', 'version', 'file', 'api_sig'); 100 $url = self::SERVER . self::UPLOAD_URL; 139 $api_sig = $this->getApiSignature($paramsToHash); 140 $params = compact( 'api_key', 'platform', 'hardware_version', 'software_version', 'app_version', 'ts', 'version', 'calltype', 'backgroundcolor', 141 'format', 'quality', 'scale', 'filepath', 'filterid', 'cols', 'rows', 'cellwidth', 'cellheight', 'api_sig'); 268 /** 269 * Converts a SimpleXMLObject into an array. http://php.net/manual/en/book.simplexml.php 270 *advanced-installation.rst https://github.com/steinkel/docs.git | ReStructuredText | 353 lines
3 4Pode haver algumas situações onde você deseja colocar os diretórios do CakePHP 5em diferentes locais no sistema de arquivos. Isto pode ser devido a uma 7aplicações compartilhem as bibliotecas do Cake. Esta seção descreve como 8espalhar seus diretórios do CakePHP em um sistema de arquivos. 9 9 10Em primeiro lugar, note que há três partes principais de uma aplicação CakePHP. 11 11 12#. As bibliotecas do núcleo do CakePHP, em /cake. 13#. O código da sua aplicação, em /app. 23 24- /app/webroot/index.php 25- /app/webroot/test.php (se você utilizar o recurso de :doc:`Testes </development/testing>`.)about.css https://gitlab.com/webkod3r/tripolis | CSS | 481 lines
353 354.about-wrap .compact { 355 margin-bottom: 0 366 367.about-wrap .compact .wp-person { 368 height: auto; 381 382.about-wrap .compact .wp-person .gravatar { 383 width: 30px; 408 409.freedoms-php .about-wrap ol { 410 margin: 40px 60px; 412 413.freedoms-php .about-wrap ol li { 414 list-style-type: decimal;update.php https://github.com/chopsuei3/oscc.git | PHP | 382 lines
1<?php 2/** 76 77 include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 78 105 106 $url = $http_url = 'http://api.wordpress.org/core/checksums/1.0/?' . http_build_query( compact( 'version', 'locale' ), null, '&' ); 107 182 case 'development' : 183 return sprintf( __( 'You are using a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' ), get_bloginfo( 'version', 'display' ), network_admin_url( 'update-core.php' ) ); 184 break; 186 case 'upgrade' : 187 return sprintf( '<strong>'.__( '<a href="%1$s">Get Version %2$s</a>' ).'</strong>', network_admin_url( 'update-core.php' ), $cur->current); 188 break; 203 204 if ( 'update-core.php' == $pagenow ) 205 return;eiffel.php https://github.com/pixelpost/ultralite2_docs.git | PHP | 395 lines
1<?php 2/************************************************************************************* 2/************************************************************************************* 3 * eiffel.php 4 * ---------- 253 'COMPARABLE', 254 'COMPACT_TREE_CURSOR', 255 'COMPACT_CURSOR_TREE',Builder.php https://gitlab.com/jjpa2018/dashboard | PHP | 433 lines
1<?php 2 383 384 return Container::getInstance()->make(Blueprint::class, compact('table', 'callback', 'prefix')); 385 }rules.php https://github.com/andergmartins/joomla-platform.git | PHP | 318 lines
1<?php 2/** 81 82 // Use the compact form for the content rules (deprecated). 83base.css https://github.com/KenBoyer/CompactCMS.git | CSS | 504 lines
1/* ***************************************************** 2Copyright (C) 2008 - 2010 by Xander Groesbeek (CompactCMS.nl) 3Revision: CompactCMS - v 1.4.2 4 5This file is part of CompactCMS. 6 6 7CompactCMS is free software: you can redistribute it and/or modify 8it under the terms of the GNU General Public License as published by 11 12CompactCMS is distributed in the hope that it will be useful, 13but WITHOUT ANY WARRANTY; without even the implied warranty of 16 17A reference to the original author of CompactCMS and its copyright 18should be clearly visible at all times for the user of the back-DatabaseStore.php https://gitlab.com/ealexis.t/trends | PHP | 266 lines
1<?php 2 109 try { 110 $this->table()->insert(compact('key', 'value', 'expiration')); 111 } catch (Exception $e) { 111 } catch (Exception $e) { 112 $this->table()->where('key', '=', $key)->update(compact('value', 'expiration')); 113 }Minify_js.php https://github.com/sevir/Creamy.git | PHP | 399 lines
47 * @param string $file 48 * @param bool $compact 49 * @return string 50 */ 51 public function min($file = '', $compact = TRUE) 52 { 60 61 if ($compact != FALSE) 62 { 73/** 74 * jsmin.php - PHP implementation of Douglas Crockford's JSMin. 75 * 76 * This is pretty much a direct port of jsmin.c to PHP with just a few 77 * PHP-specific performance tweaks. Also, whereas jsmin.c reads from stdin and 78 * outputs to stdout, this library accepts a string as input and returns anotherhelper.php https://github.com/phpbb/area51-phpbb3.git | PHP | 375 lines
5* 6* @copyright (c) phpBB Limited <https://www.phpbb.com> 7* @license GNU General Public License, version 2 (GPL-2.0) 18use phpbb\config\config; 19use phpbb\cron\manager; 20use phpbb\db\driver\driver_interface; 98 * @param string $admin_path Admin path 99 * @param string $php_ext PHP extension 100 * @param bool $sql_explain Flag whether to display sql explain 120 $this->admin_path = $root_path . $admin_path; 121 $this->php_ext = $php_ext; 122 $this->sql_explain = $sql_explain; 307 'TRANSLATION_INFO' => $this->language->is_set('TRANSLATION_INFO') ? $this->language->lang('TRANSLATION_INFO') : '', 308 'CREDIT_LINE' => $this->language->lang('POWERED_BY', '<a href="https://www.phpbb.com/">phpBB</a>® Forum Software © phpBB Limited'), 309BootstrapPaginatorHelper.php https://bitbucket.org/reyx/p0001festivalcachorroquente.git | PHP | 254 lines
4 * 5 * PHP 5 6 * 12 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 13 * @since CakePHP(tm) v 2.1.1 14 */ 60 unset($options['rel']); 61 return $this->Html->tag($tag, $this->link($title, $url, array_merge($options, compact('escape'))), compact('class')); 62 } 150 $out = $before . $this->Html->tag( 151 $tag, $this->link($last, array('page' => $params['pageCount']), $options), compact('class') 152 ); 202 if ($offset < $start - 1) { 203 $out .= $this->first($offset, compact('tag', 'separator', 'ellipsis', 'class')); 204 } else {about-rtl.css https://gitlab.com/kath.de/cibedo_cibedo.de | CSS | 537 lines
344 345.about-wrap ul.compact { 346 margin-bottom: 0 357 358.about-wrap ul.compact li.wp-person { 359 height: auto; 372 373.about-wrap ul.compact li.wp-person img.gravatar { 374 width: 30px; 396 397.freedoms-php .about-wrap ol { 398 margin: 40px 60px; 400 401.freedoms-php .about-wrap ol li { 402 list-style-type: decimal;comment.Show.php https://github.com/KenBoyer/CompactCMS.git | PHP | 177 lines
5 6This file is part of CompactCMS. 7 7 8CompactCMS is free software: you can redistribute it and/or modify 9it under the terms of the GNU General Public License as published by 132<div id="preview-display" style="display:none;"> 133 <h2><?php echo $ccms['lang']['guestbook']['preview']; ?></h2> 134 <?php 163 </select><br/> 164 <p><?php echo $ccms['lang']['guestbook']['verinstr']; ?> <span style="font-weight:bold;color: #f00;"><?php echo $_SESSION['ccms_captcha']; ?></span>.</p> 165 <label for="verification"><?php echo $ccms['lang']['guestbook']['verify']; ?></label><input type="input" name="verification" style="width:50px;" maxlength="6" value="" id="verification" class="required validate-match matchInput:'captcha_check' matchName:'captcha' text"/> 167 <input type="hidden" name="captcha_check" value="<?php echo $_SESSION['ccms_captcha']; ?>" id="captcha_check" /> 168 <input type="hidden" name="page_id" value="<?php echo $page_id; ?>" id="page_id" /> 169 <p style="margin-bottom:20px;text-align:center;">Ftp.php https://gitlab.com/4gdevs/online-class-record-system | PHP | 448 lines
1<?php 2 186 { 187 $stream = fopen('php://temp', 'w+b'); 188 fwrite($stream, $contents); 217 218 return compact('path', 'visibility'); 219 } 397 { 398 $stream = fopen('php://temp', 'w+'); 399 $result = ftp_fget($this->getConnection(), $stream, $path, $this->transferMode); 407 408 return compact('stream'); 409 } 421 422 return compact('visibility'); 423 }tlib.vim https://gitlab.com/jeichert/vimrc | Vim Script | 219 lines
2" @Author: Thomas Link (mailto:micathom AT gmail com?subject=vim-tLib) 3" @Website: http://www.vim.org/account/profile.php?user_id=4037 4" @License: GPL (see http://www.gnu.org/licenses/gpl.txt) 24 25TAssert IsEqual(tlib#list#Compact([]), []) 26TAssert IsEqual(tlib#list#Compact([0,1,2,3,[], {}, ""]), [1,2,3])BaseCrudController.php https://gitlab.com/joepa37/ierschool | PHP | 402 lines
1<?php 2 104 105 return $this->renderIsAjax($this->directory.'index', compact('dataProvider', 'searchModel')); 106 } 153 154 return $this->renderIsAjax($this->directory.'create', compact('model')); 155 } 190 191 return $this->renderIsAjax($this->directory.'update', compact('model')); 192 }update.php https://github.com/muskmelon/Greemo.git | PHP | 250 lines
1<?php 2/** 12/** WordPress Administration Bootstrap */ 13require_once('./admin.php'); 14 14 15include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 16 36 37 $url = 'update.php?action=update-selected&plugins=' . urlencode(implode(',', $plugins)); 38 $nonce = 'bulk-update-plugins'; 42 43 $upgrader = new Plugin_Upgrader( new Bulk_Plugin_Upgrader_Skin( compact( 'nonce', 'url' ) ) ); 44 $upgrader->bulk_upgrade( $plugins ); 54 $title = __('Update Plugin'); 55 $parent_file = 'plugins.php'; 56 $submenu_file = 'plugins.php';DBCfmt.h https://github.com/Antology/Dragon.git | C Header | 127 lines
36const char ChatChannelsEntryfmt[]="nixssssssssssssssssxxxxxxxxxxxxxxxxxx"; 37 // ChatChannelsEntryfmt, index not used (more compact store) 38const char ChrClassesEntryfmt[]="nxixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxixii"; 55const char GemPropertiesEntryfmt[]="nixxi"; 56const char GlyphPropertiesfmt[]="niii"; 57const char GlyphSlotfmt[]="nii";Ippi.java https://bitbucket.org/bohlooli/csipsimple2.git | Java | 241 lines
90 91 extAccCreator = new AccountCreationWebview(parent, "https://m.ippi.fr/subscribe/android.php", this); 92 } 100 prefs.setPreferenceBooleanValue(SipConfigManager.ENABLE_ICE, false); /* Seems to produce problems with TCP ? -- specific? */ 101 prefs.setPreferenceBooleanValue(SipConfigManager.USE_COMPACT_FORM, true); 102 prefs.addStunServer("stun.ippi.fr"); 143 144 String requestURL = "https://soap.ippi.fr/credit/check_credit.php?" 145 + "login=" + acc.usernameMySql.php https://github.com/brtriver/sukonv.git | PHP | 437 lines
1<?php 2/** 2/** 3 * Lithium: the most rad php framework 4 * 5 * @copyright Copyright 2010, Union of RAD (http://union-of-rad.org) 6 * @license http://opensource.org/licenses/bsd-license.php The BSD License 7 */ 90 /** 91 * Check for required PHP extension, or supported database feature. 92 * 172 $_config = $this->_config; 173 $params = compact('model'); 174 203 public function describe($entity, array $meta = array()) { 204 $params = compact('entity', 'meta'); 205 return $this->_filter(__METHOD__, $params, function($self, $params) {func-emitter.h https://github.com/soitun/hiphop-php.git | C Header | 420 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 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 | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 18 19#include "hphp/runtime/base/attr.h" 20#include "hphp/runtime/base/datatype.h"s3rl.php https://github.com/drobbins/s3db.git | PHP | 455 lines
1<?php 2#this script accepts inputs of url,public key and, in case an update is attemtped, an encripted message as well 15else { 16 echo 's3rl.php is a function to retrieve the url of a specific Did. For documentation and usage please refer to <a href="http://s3db.org/">s3db.org</a>'; 17 32 33list($regValid, $msg) = registerURL(compact('url', 'publicKey', 'Did', 's3rl', 'newUrl', 'case', 'message','name','format')); 34 48 $format =($_REQUEST['format']=='')?'html':$_REQUEST['format']; 49 $z = compact('data','cols', 'format'); 50 68 69include_once('config.inc.php'); 70$key=$GLOBALS['deployment_project']['key']; 70$key=$GLOBALS['deployment_project']['key']; 71include 'core.header.php'; 72#include (S3DB_SERVER_ROOT.'/webActions.php');projectsController.php https://gitlab.com/php2laravel/php-project-boost | PHP | 341 lines
1<?php 2 41 42 return view('pages.projects', compact('projects', 'designershort')); 43 } 130 //-----------------------DB-----------------------------// 131 //return view('pages.showProject', compact('project', 'palette')); 132 // votes 196 $tags = Tag::lists('name', 'id'); 197 return view('pages.projects.edit', compact('project', 'tags')); 198 } 293 $tags = Tag::lists('name', 'id'); 294 return view('pages.projectsCreate', compact('tags')); 295ResourceRegistrar.php https://gitlab.com/phanthanh9787/crud-user | PHP | 359 lines
1<?php 2 83 84 return $this->router->group(compact('prefix'), $callback); 85 }Attribute.js https://github.com/Wkasel/qooxdoo.git | JavaScript | 389 lines
11 LGPL: http://www.gnu.org/licenses/lgpl.html 12 EPL: http://www.eclipse.org/org/documents/epl-v10.php 13 See the LICENSE file in the project's top-level directory for details. 30 License: 31 MIT: http://www.opensource.org/licenses/mit-license.php 32 116 { 117 compact : 1, 118 nowrap : 1,LocaleController.php https://gitlab.com/campus-academy/krowkaramel | PHP | 162 lines
1<?php 2/** 123 if( 0 === $nfiles ){ 124 return $this->view('admin/errors/no-locale', compact('breadcrumb','locale') ); 125 } 157 158 return $this->view( 'admin/bundle/locale', compact('breadcrumb','translations','types','npofiles','modified') ); 159 }chat.php https://github.com/mackensen/moodle.git | PHP | 183 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 40$string['configserverport'] = 'Port to use on the server for the daemon'; 41$string['compact'] = 'Compact'; 42$string['coursetheme'] = 'Course theme';_directories.erb https://gitlab.com/gutocarvalho/puppetlabs-apache | Ruby HTML | 283 lines
82 <%- end -%> 83 <%- if directory['php_flags'] and ! directory['php_flags'].empty? -%> 84 <%- directory['php_flags'].sort.each do |flag,value| -%> 88 <%- end -%> 89 <%- if directory['php_values'] and ! directory['php_values'].empty? -%> 90 <%- directory['php_values'].sort.each do |key,value| -%> 93 <%- end -%> 94 <%- if directory['php_admin_flags'] and ! directory['php_admin_flags'].empty? -%> 95 <%- directory['php_admin_flags'].sort.each do |flag,value| -%> 99 <%- end -%> 100 <%- if directory['php_admin_values'] and ! directory['php_admin_values'].empty? -%> 101 <%- directory['php_admin_values'].sort.each do |key,value| -%> 192 <%- if directory['suphp'] and @suphp_engine == 'on' -%> 193 suPHP_UserGroup <%= directory['suphp']['user'] %> <%= directory['suphp']['group'] %> 194 <%- end -%>media.php https://github.com/bb-dev/cakephp2x.git | PHP | 258 lines
1<?php 2/** 4 * 5 * PHP Version 5.x 6 * 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 16 * @subpackage cake.cake.libs.view 17 * @since CakePHP(tm) v 1.2.0.5714 18 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 32 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 33 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 34 'csv' => 'application/csv', 'dcr' => 'application/x-director', 'dir' => 'application/x-director',PaginatorComponent.php https://bitbucket.org/projectangelfaces/project-angel-faces.git | PHP | 418 lines
1<?php 2/** 4 * 5 * PHP 5 6 * 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @package Cake.Controller.Component 16 * @package Cake.Controller.Component 17 * @since CakePHP(tm) v 2.0 18 * @license http://www.opensource.org/licenses/mit-license.php MIT License 70 * @package Cake.Controller.Component 71 * @link http://book.cakephp.org/2.0/en/core-libraries/components/pagination.html 72 */system.routing.yml https://gitlab.com/geeta7/drupal | YAML | 477 lines
129 130system.admin_compact_page: 131 path: '/admin/compact/{mode}' 132 defaults: 133 _controller: 'Drupal\system\Controller\SystemController::compactPage' 134 mode: 'off' 299 300system.php: 301 path: '/admin/reports/status/php' 302 defaults: 303 _controller: 'Drupal\system\Controller\SystemInfoController::php' 304 requirements: 453system.db_update: 454 path: '/update.php/{op}' 455 defaults:default_social_buttons.php https://github.com/joomleiros/tpl_joomleiros.git | PHP | 290 lines
49 <td width="300" class="key"> 50 <span class="editlinktip hasTip" title="<?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_BUTTON_SHOW_IN_FRONTPAGE' ); ?>::<?php echo JText::_('COM_EASYBLOG_SETTINGS_SOCIALSHARE_BUTTON_SHOW_IN_FRONTPAGE_DESC'); ?>"> 51 <?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_BUTTON_SHOW_IN_FRONTPAGE' ); ?> 60 <td width="300" class="key"> 61 <span class="editlinktip hasTip" title="<?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_BUTTON_ENABLE_RTL' ); ?>::<?php echo JText::_('COM_EASYBLOG_SETTINGS_SOCIALSHARE_BUTTON_ENABLE_RTL_DESC'); ?>"> 62 <?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_BUTTON_ENABLE_RTL' ); ?> 70 <td width="300" class="key"> 71 <span class="editlinktip hasTip" title="<?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_BUTTON_PROVIDER' ); ?>::<?php echo JText::_('COM_EASYBLOG_SETTINGS_SOCIALSHARE_BUTTON_PROVIDER_DESC'); ?>"> 72 <?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_BUTTON_PROVIDER' ); ?> 94 <td width="300" class="key"> 95 <span class="editlinktip hasTip" title="<?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_PINGOMATIC_ENABLE' ); ?>::<?php echo JText::_('COM_EASYBLOG_SETTINGS_SOCIALSHARE_PINGOMATIC_ENABLE_DESC'); ?>"> 96 <?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_PINGOMATIC_ENABLE' ); ?> 111 <td width="300" class="key"> 112 <span class="editlinktip hasTip" title="<?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_GOOGLEBUZZ_ENABLE' ); ?>::<?php echo JText::_('COM_EASYBLOG_SETTINGS_SOCIALSHARE_GOOGLEBUZZ_ENABLE_DESC'); ?>"> 113 <?php echo JText::_( 'COM_EASYBLOG_SETTINGS_SOCIALSHARE_GOOGLEBUZZ_ENABLE' ); ?>dorf2.php https://github.com/advocaite/TravianxT4.git | PHP | 218 lines
59 <meta name="content-language" content="au"> 60 <link href="<?php echo GP_LOCATE; ?>lang/au/compact.css" rel="stylesheet" type="text/css"><link href="<?php echo GP_LOCATE; ?>lang/au/lang.css" rel="stylesheet" type="text/css"> <link href="dorf1.php_files/travian_basics.css" rel="stylesheet" type="text/css"> 61 </script><script type="text/javascript" src="crypt.js"></script> 79 <div id="logoutContainer"> 80 <a id="logout" href="logout.php"> </a> 81 </div> 141</script> <div class="sideInfoPlayer"> 142 <a class="signLink" href="spieler.php?uid=<?php echo $session->uid; ?>"> 143 <span class="wrap"><?php echo $_SESSION['username']; ?></span> 162 <p class="gold"> 163 <a href="plus.php?id=3"><img src="img/x.gif" alt="Gold" class="gold"><br><?php echo $session->gold ?></a> 164 </p> 181 resources.production = { 182 'l1': <?php echo $village->getProd("wood"); ?>, 'l2': <?php echo $village->getProd("clay"); ?>, 'l3': <?php echo $village->getProd("iron"); ?>, 'l4': <?php echo $village->getProd("crop"); ?> }; 183</script> <div id="villageName">adminController.php https://gitlab.com/higordaniell/SIN-352 | PHP | 403 lines
1<?php 2class adminController extends Controller { 23 $venda = $vt->getById($venda_id); 24 $this->_page->adminView('admin/vendas/detalhes', compact('venda')); 25 } 27 $vendas = $vt->getAll(); 28 $this->_page->adminView('admin/vendas/view', compact('vendas')); 29 } 38 $usuario = $ut->getById($usuario_id); 39 $this->_page->adminView('admin/clientes/detalhes', compact('usuario')); 40 } 42 $usuarios = $ut->getAll(); 43 $this->_page->adminView('admin/clientes/view', compact('usuarios')); 44 } 69 70 $this->_page->adminView("admin/livros/view", compact('livros')); 71 }Service.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 494 lines
1<?php 2/** 23 */ 24require_once 'Zend/Json/Server/Smd.php'; 25 30 * @subpackage Server 31 * @version $Id: Service.php 24593 2012-01-05 20:35:02Z matthew $ 32 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) 133 if (null == $this->getName()) { 134 require_once 'Zend/Json/Server/Exception.php'; 135 throw new Zend_Json_Server_Exception( 'SMD service description requires a name; none provided' ); 173 if (!preg_match($this->_nameRegex, $name)) { 174 require_once 'Zend/Json/Server/Exception.php'; 175 throw new Zend_Json_Server_Exception( sprintf('Invalid name "%s" provided for service; must follow PHP method naming conventions', $name) ); 203 if (!in_array($transport, $this->_transportTypes)) { 204 require_once 'Zend/Json/Server/Exception.php'; 205 throw new Zend_Json_Server_Exception( sprintf('Invalid transport "%s"; please select one of (%s)', $transport, implode(', ', $this->_transportTypes)) );Render.php https://github.com/ThiloWitt/core.git | PHP | 199 lines
1<?php 2/** 194 195 $blockinfo['content'] = BlockUtil::varsToContent(compact('module', 'template', 'parameters' )); 196server_side.html https://gitlab.com/ealexis.t/trends | HTML | 310 lines
24 "serverSide": true, 25 "ajax": "../server_side/scripts/server_processing.php" 26 } ); 94 "serverSide": true, 95 "ajax": "../server_side/scripts/server_processing.php" 96 } ); 133 134 <div class="php"> 135 <p>The script used to perform the server-side processing for this table is shown below. Please note 135 <p>The script used to perform the server-side processing for this table is shown below. Please note 136 that this is just an example script using PHP. Server-side processing scripts can be written in any 137 language, using <a href="//datatables.net/manual/server-side">the protocol described in the 205 <li><a href="../styling/cell-border.html">Base style - cell borders</a></li> 206 <li><a href="../styling/compact.html">Base style - compact</a></li> 207 <li><a href="../styling/hover.html">Base style - hover</a></li>DumpDataCollector.php https://gitlab.com/madwanz64/laravel | PHP | 296 lines
1<?php 2 53 $this->fileLinkFormat = $fileLinkFormat ?: ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format'); 54 $this->charset = $charset ?: ini_get('php.output_encoding') ?: ini_get('default_charset') ?: 'UTF-8'; 55 $this->requestStack = $requestStack; 94 } 95 $this->data[] = compact('data', 'name', 'file', 'line', 'fileExcerpt'); 96 ++$this->dataCount; 127 if ($response->headers->has('Content-Type') && str_contains($response->headers->get('Content-Type'), 'html')) { 128 $dumper = new HtmlDumper('php://output', $this->charset); 129 $dumper->setDisplayOptions(['fileLinkFormat' => $this->fileLinkFormat]); 130 } else { 131 $dumper = new CliDumper('php://output', $this->charset); 132 if (method_exists($dumper, 'setDisplayOptions')) { 244 245 if (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && stripos($h[$i], 'html')) { 246 $dumper = new HtmlDumper('php://output', $this->charset);Scaffold.php https://bitbucket.org/allanxyh/project.git | PHP | 453 lines
1<?php 2/** 6 * 7 * PHP 5 8 * 8 * 9 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 10 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @link http://cakephp.org CakePHP(tm) Project 17 * @package Cake.Controller 18 * @since Cake v 0.10.0.1076 19 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) 20 */ 138 139 $this->controller->set(compact( 140 'title_for_layout', 'modelClass', 'primaryKey', 'displayField', 'singularVar', 'pluralVar',WebSocketParserD08.java git://pkgs.fedoraproject.org/jetty | Java | 389 lines
11 * The Apache License v2.0 is available at 12 * http://www.opensource.org/licenses/apache2.0.php 13 * 24// The Apache License v2.0 is available at 25// http://www.opensource.org/licenses/apache2.0.php 26// You may elect to redistribute this code under either of these licenses. 153 { 154 // compact to mark (set at start of data) 155 _buffer.compact(); 163 Buffer data =_buffer.get(4*(available/4)); 164 _buffer.compact(); 165 if (_masked)sql.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 302 lines
6include ('language/'.$config['language'].'/lang_sql.php'); 7include ('./inc/functions_sql.php'); 8include ('./'.$config['files']['parameter']); 46$no_order=false; 47$tdcompact=(isset($_GET['tdc'])) ? $_GET['tdc'] : $config['interface_table_compact']; 48$db=(!isset($_GET['db'])) ? $databases['db_actual'] : $_GET['db']; 189 190$params="sql.php?db=".$db."&tablename=".$tablename."&dbid=".$dbid.'&context='.$context.'&sql_statement='.urlencode($sql['sql_statement']).'&tdc='.$tdcompact.'&showtables='.$showtables; 191if ($order!="") $params.="&order=".$order."&orderdir=".$orderdir.'&context='.$context; 199 $aus=''; 200 include ('./inc/sqlbrowser/sqlbox.php'); 201 259 260 if ($mode=='edit'||$mode=='searchedit') include ('./inc/sqlbrowser/sql_record_update_inputmask.php'); 261 if ($mode=='new') include ('./inc/sqlbrowser/sql_record_insert_inputmask.php');datamatrix.php https://github.com/drobbins/s3db.git | PHP | 317 lines
1<?php 2#datamatrix is a generic file of functions that generates the table of statements for several outputs 141 142 $s3ql = compact('db', 'user_id'); 143 $s3ql['select'] = '*';character.php https://github.com/bheiskell/Riiga.git | PHP | 524 lines
1<?php 2class Character extends AppModel { 95 // The required validator checks using isset, not array_key_exists. I'm 96 // not sure why, but cakephp's search must null out empty columns. Thus 97 // my pending behavior pulls down non-isset compatible data. This is 173 return 1 == $this->find('count', array( 174 'conditions' => compact('id', 'user_id') 175 )); 187 public function getUserIdById($id) { 188 return $this->field('user_id', compact('id')); 189 }