100+ results results for 'php gettext' (1324 ms)
1<?php 2/** 15/** 16 * Provides a simple gettext replacement that works independently from the system's gettext abilities. 17 * 18 * It can read MO files and use them for translating strings. 19 * The files are passed to gettext_reader as a Stream (see streams.php) 20 * 148 if ($magic == -1794895138 || $magic == 2500072158) { 149 // (int)0x950412de; PHP 5.2 wont convert this properly 150 $this->byteorder = 0; 151 } elseif ($magic == -569244523 || $magic == 3725722773) { 152 // (int)0xde120495; PHP 5.2 wont convert this properly 153 $this->byteorder = 1; 504 /** 505 * Plural version of gettext. 506 *Alignment.php https://gitlab.com/ptisky/API_prestashop | PHP | 409 lines
2/** 3 * PHPExcel 4 * 22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_Style 34 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_Style_Alignment extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable 37{ 152 * @param array $pStyles Array containing style information 153 * @throws PHPExcel_Exception 154 * @return PHPExcel_Style_AlignmentTranslateGettext.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 285 lines
3/* 4 * $Id: TranslateGettext.php 3076 2006-12-18 08:52:12Z fabien $ 5 * 26/** 27 * Replaces gettext("message id") and _("message id") with the translated string. 28 * 159 * Restores environment settings and locale. 160 * This does _not_ restore any gettext-specific settings 161 * (e.g. textdomain()). 170 /** 171 * Performs gettext translation of msgid and returns translated text. 172 * 252 function chain(Reader $reader) { 253 $newFilter = new TranslateGettext($reader); 254 $newFilter->setProject($this->getProject());Alignment.php https://gitlab.com/dmsapiens/physicians | PHP | 409 lines
2/** 3 * PHPExcel 4 * 22 * @package PHPExcel_Style 23 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL 33 * @package PHPExcel_Style 34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 35 */ 36class PHPExcel_Style_Alignment extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable 37{ 152 * @param array $pStyles Array containing style information 153 * @throws PHPExcel_Exception 154 * @return PHPExcel_Style_AlignmentSpecialGiveGift.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 382 lines
1<?php 2/** 37 $user_title = Title::makeTitle( NS_USER, $wgRequest->getVal( 'user' ) ); 38 $this->user_name_to = $userTitle->getText(); 39 $this->user_id_to = User::idFromName( $this->user_name_to ); 130 <div class="g-buttons"> 131 <input type="button" class="site-button" value="' . wfMsg( 'g-main-page' ) . '" size="20" onclick="window.location=\'index.php?title=' . wfMsgForContent( 'mainpage' ) . '\'" /> 132 <input type="button" class="site-button" value="' . wfMsg( 'g-your-profile' ) . '" size="20" onclick="window.location=\'' . $wgUser->getUserPage()->escapeFullURL() . '\'" /> 332 $numofpages = $total / $per_page; 333 $user_safe = urlencode( $user->getText() ); 334 if ( $numofpages > 1 ) {SF_FormLinker.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 344 lines
1<?php 2/** 275 self::getPagePropertiesOfPage( $curTitle ); 276 $targetName = $target->getText(); 277 if ( array_key_exists( $targetName, self::$mLinkedPages ) ) { 302 // return it/them if so. 303 $default_forms = self::getFormsThatPagePointsTo( $title->getText(), $title->getNamespace(), self::PAGE_DEFAULT_FORM ); 304 if ( count( $default_forms ) > 0 ) {Message.php https://github.com/daevid/MWFork.git | PHP | 488 lines
1<?php 2/** 297 /** 298 * Magic method implementation of the above (for PHP >= 5.2.0), so we can do, eg: 299 * $foo = Message::get($key); 439 protected function parseText( $string ) { 440 return MessageCache::singleton()->parse( $string, $this->title, /*linestart*/true, $this->interface, $this->language )->getText(); 441 }autoload.function.php https://gitlab.com/OnBlox/OnBlox-Template | PHP | 385 lines
1<?php 2/* 41 42include_once (GLPI_ROOT."/config/based_config.php"); 43include_once (GLPI_ROOT."/config/define.php"); 190 191 // simulate pgettext 192 $msg = $ctx."\004".$str; 213 214 // simulate pgettext 215 $msg = $ctx."\004".$str; 238 239 // simulate pgettext 240 $singmsg = $ctx."\004".$sing; 301 302 // Do not try to load phpcas using GLPI autoload 303 if (preg_match('/^CAS_.*/', $classname)) {pb.php https://github.com/hehol/GemeinschaftPBX.git | PHP | 480 lines
1<?php 2/*******************************************************************\ 30define("GS_VALID", true); // this is a parent file 31require_once(dirname(__FILE__) ."/../../../inc/conf.php"); 32include_once(GS_DIR ."inc/db_connect.php"); 32include_once(GS_DIR ."inc/db_connect.php"); 33include_once(GS_DIR ."inc/gettext.php"); 34include_once(GS_DIR ."inc/langhelper.php"); 34include_once(GS_DIR ."inc/langhelper.php"); 35include_once(GS_DIR ."inc/group-fns.php"); 36require_once( GS_DIR .'inc/string.php' ); 134 135$url_polycom_pb = GS_PROV_SCHEME ."://". GS_PROV_HOST . (GS_PROV_PORT ? ":". GS_PROV_PORT : "") . GS_PROV_PATH ."polycom/pb.php"; 136load_balancer_virtual_server_edit.php https://github.com/vongrippen/pfsense.git | PHP | 291 lines
71 $reqdfields = explode(" ", "ipaddr name port mode"); 72 $reqdfieldsn = array(gettext("IP Address"),gettext("Name"),gettext("Port"),gettext("Mode")); 73 break; 76 $reqdfields = explode(" ", "ipaddr name port mode relay_protocol"); 77 $reqdfieldsn = array(gettext("IP Address"),gettext("Name"),gettext("Port"),gettext("Relay Protocol")); 78 break; 133 134$pgtitle = array(gettext("Services"),gettext("Load Balancer"),gettext("Virtual Server"),gettext("Edit")); 135$statusurl = "status_lb_vs.php"; 243 </select> 244 <br><b><?=gettext("NOTE:"); ?></b> <?=gettext("This is the server that clients will be redirected to if *ALL* servers in the pool are offline."); ?> 245 <?php endif; ?> 287 <br/> 288 <span class="red"><strong><?=gettext("Note:"); ?></strong></span> <?=gettext("Don't forget to add a firewall rule for the virtual server/pool after you're finished setting it up."); ?> 289<?php include("fend.inc"); ?>FilterFormTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 257 lines
1<?php 2 250 $this->assertSame('textarea', $textarea->getTagName()); 251 $this->assertSame('This field has been disabled because you do not have sufficient permissions to edit it.', $textarea->getText()); 252 // Make sure the text format select is not shown.uemis.c https://github.com/dirkhh/subsurface.git | C | 391 lines
12 13#include "gettext.h" 14 112{ 113 struct uemis_helper **php = &uemis_helper; 114 struct uemis_helper *hp = *php; 122 } 123 php = &hp->next; 124 break; 125 } 126 hp = *php = calloc(1, sizeof(struct uemis_helper)); 127 hp->diveid = diveid; 201 if (flags[1] & 0x01) 202 add_event(dc, sample->time.seconds, 0, 0, 0, QT_TRANSLATE_NOOP("gettextFromC", "Safety stop violation")); 203 if (flags[1] & 0x08)part.php https://github.com/elkuku/EasyCreator.git | PHP | 326 lines
74 75 echo '<strong>'.jgettext('Menu link').' :</strong><br />'; 76 echo '<input type="checkbox" name="create_menu_link" checked="checked"' 116 <tr> 117 <th colspan="2"><?php echo jgettext('Include')?></th> 118 <th><?php echo jgettext('Editable'); ?></th> 118 <th><?php echo jgettext('Editable'); ?></th> 119 <th><?php echo jgettext('Type'); ?></th> 120 </tr> 148 <td><label for="tblfield_<?php echo $key; ?>"> 149 <?php echo $key.'<br />('.$value.')'; ?> 150 </label></td> 152 name="table_fields_edits[]" checked="checked" 153 id="tblfield_edit_<?php echo $key; ?>" 154 value="<?php echo $key; ?>"></td>translate_interface.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 237 lines
1<?php 2namespace Concrete\Controller\SinglePage\Dashboard\System\Multilingual; 66 if (Core::make('token')->validate()) { 67 // First, we look in all the site sources for PHP code with GetText 68 $baseTranslations = $extractor->extractTranslatableSiteStrings(); 76 $localeTranslations = clone $baseTranslations; 77 /* @var $localeTranslations \Gettext\Translations */ 78 $localeTranslations->setLanguage($section->getLocale());symbol_table.cpp https://gitlab.com/iranjith4/hhvm | C++ | 318 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 +----------------------------------------------------------------------+ 16 17#include "hphp/compiler/analysis/symbol_table.h" 18#include <map>Comments.php https://github.com/konscript/roskilde-el-old.git | PHP | 304 lines
46/** PHPExcel_Worksheet */ 47require_once PHPEXCEL_ROOT . 'PHPExcel/Worksheet.php'; 48 49/** PHPExcel_Comment */ 50require_once PHPEXCEL_ROOT . 'PHPExcel/Comment.php'; 51 52/** PHPExcel_RichText */ 53require_once PHPEXCEL_ROOT . 'PHPExcel/RichText.php'; 54 55/** PHPExcel_Cell */ 56require_once PHPEXCEL_ROOT . 'PHPExcel/Cell.php'; 57 58/** PHPExcel_Style_Color */ 59require_once PHPEXCEL_ROOT . 'PHPExcel/Style/Color.php'; 60l10n.php https://github.com/holsinger/openfloor.git | PHP | 343 lines
177 if (isset($l10n[$domain])) { 178 return apply_filters('ngettext', $l10n[$domain]->ngettext($single, $plural, $number), $single, $plural, $number); 179 } else { 187/** 188 * @see __ngettext() An alias of __ngettext 189 * 212 * $messages = array( 213 * 'post' => ngettext_noop('%s post', '%s posts'), 214 * 'page' => ngettext_noop('%s pages', '%s pages') 231/** 232 * @see __ngettext_noop() An alias of __ngettext_noop() 233 * 265 266 $gettext = new gettext_reader($input); 267AssociatedProducts.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 449 lines
1<?php 2/** 21/** 22 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 23 */ 295 'newProduct' => 0, 296 'attributes' => $this->getTextAttributes($variationOptions), 297 'thumbnail_image' => $this->imageHelper->init($product, 'product_thumbnail_image')->getUrl(), 331 */ 332 protected function getTextAttributes(array $options = []) 333 {gruntfile.js https://gitlab.com/MichaelSchober/bambooclassesmompiche | JavaScript | 312 lines
15 poedit: true, // Includes common Poedit headers. 16 'x-poedit-keywordslist': true // Include a list of all possible gettext functions. 17 }, // Headers to add to the generated POT file. 120 src: [ 121 '**/*.php', 122 '!**/node_modules/**', 125 '!**/framework/plugins/**', 126 ], //all php 127 expand: true,LayoutDevice.java https://gitlab.com/Codeaurora/platform_sdk | Java | 389 lines
7 * 8 * http://www.eclipse.org/org/documents/epl-v10.php 9 * 205 206 TextInputMethodQualifier timq = config.getTextInputMethodQualifier(); 207 if (timq != null) {class-TexyTableModule.html https://github.com/jakubkinst/Course-Manager.git | HTML | 364 lines
44 <ul> 45 <li><a href="package-Nette.Extras.GettextTranslator.html">Extras\GettextTranslator</a> 46 </li> 49 </li> 50 <li><a href="package-PHP.html">PHP</a> 51 </li> 178 Copyright (c) 2004, 2010 David Grudl<br> 179 <b>Located at</b> <a href="source-class-TexyTableModule.html#14" title="Go to source code">ExternalPlugins/texy/modules/TexyTableModule.php</a><br> 180 </div>speed.py https://github.com/hmeyer/ReplicatorG.git | Python | 321 lines
5The speed manual page is at: 6http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Speed 7 130 "Speed the file or text." 131 return getCraftedTextFromText( archive.getTextIfEmpty( fileName, text ), repository ) 132 159 self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Speed', self, '') 160 self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Speed') 161 self.activateSpeed = settings.BooleanSetting().getFromValue('Activate Speed:', self, True ) 221 self.travelFeedRatePerMinute = 60.0 * self.repository.travelFeedRatePerSecond.value 222 self.lines = archive.getTextLines(gcodeText) 223 self.parseInitialization()CldrData.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 320 lines
1<?php 2namespace Gettext\Languages;statement_list.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 436 lines
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 +----------------------------------------------------------------------+ 16 17#include "hphp/compiler/statement/statement_list.h" 18#include "hphp/compiler/analysis/analysis_result.h" 28#include "hphp/compiler/statement/block_statement.h" 29#include "hphp/parser/hphp.tab.hpp" 30#include "hphp/compiler/expression/binary_op_expression.h" 424 break; 425 case CodeGenerator::PhpImplementation: 426 if (!stmt->is(Statement::KindOfFunctionStatement) &&l10n.php https://github.com/mikitracey/ifusa.git | PHP | 455 lines
1<?php 2/** 49 * @since 2.2.0 50 * @uses apply_filters() Calls 'gettext' on domain translated text 51 * with the untranslated text as second parameter. 58 $translations = &get_translations_for_domain( $domain ); 59 return apply_filters( 'gettext', $translations->translate( $text ), $text, $domain ); 60} 84 85function translate_with_gettext_context( $text, $context, $domain = 'default' ) { 86 $translations = &get_translations_for_domain( $domain ); 86 $translations = &get_translations_for_domain( $domain ); 87 return apply_filters( 'gettext_with_context', $translations->translate( $text, $context ), $text, $context, $domain ); 88} 178/** 179 * Retrieve translated string with gettext context 180 *SemanticTasks.classes.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 439 lines
1<?php 2 145 $assignee_name = $task_assignee->getTitle(); 146 $assignee_name = $assignee_name->getText(); 147 $assignee_name = explode( ":", $assignee_name ); 210 $group_assignee = $group_assignee->getTitle(); 211 $group_name = $group_assignee->getText(); 212 $query_word = "Has assignee"; 225 $assignee_name = $task_assignee->getTitle(); 226 $assignee_name = $assignee_name->getText(); 227 $assignee_name = explode( ":", $assignee_name ); 312 $nta = explode( "\n", $wgContLang->segmentForDiff( $ntext ) ); 313 // We use here the php diff engine included in MediaWiki 314 $diffs = new Diff( $ota, $nta ); 336 global $smwgIP; 337 include_once( $smwgIP . "/includes/SMW_QueryProcessor.php" ); 338Data.php https://gitlab.com/najomie/fit-hippie | PHP | 255 lines
2 3loco_require_lib('compiled/gettext.php'); 4 7 */ 8class Loco_gettext_Data extends LocoPoIterator implements JsonSerializable { 9 11 /** 12 * @return Loco_gettext_Data 13 */ 28 // translators: Error thrown when attemping to parse a file that is not PO, POT or MO 29 throw new Loco_error_Exception( sprintf( __('%s is not a Gettext file'), $file->basename() ) ); 30 } 41 public static function fromSource( $src ){ 42 return new Loco_gettext_Data( loco_parse_po($src) ); 43 }wipe.py https://github.com/jmil/SFACT.git | Python | 266 lines
7The wipe manual page is at: 8http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Wipe 9 104 """Wipe a gcode linear move text.""" 105 return getCraftedTextFromText( archive.getTextIfEmpty(fileName, text), wipeRepository ) 106 131 self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Wipe', self, '') 132 self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Wipe') 133 self.activateWipe = settings.BooleanSetting().getFromValue('Activate Wipe', self, False ) 205 """Parse gcode text and store the wipe gcode.""" 206 self.lines = archive.getTextLines(gcodeText) 207 self.wipePeriod = wipeRepository.wipePeriod.valuetrackBlobs.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 ); 118 119 function getTextClause() { 120 if ( !$this->textClause ) {ComboBox.js https://bitbucket.org/vegansk/test_qooxdoo.git | JavaScript | 491 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. 429 */ 430 getTextSelection : function() { 431 return this.getChildControl("textfield").getTextSelection(); 441 */ 442 getTextSelectionLength : function() { 443 return this.getChildControl("textfield").getTextSelectionLength();Manager.js https://bitbucket.org/vegansk/test_qooxdoo.git | JavaScript | 463 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. 110 // assumes "Two forms, singular used for one only" (seems to be the most common form) 111 // (http://www.gnu.org/software/gettext/manual/html_node/gettext_150.html#Plural-forms) 112 // closely related with bug #745myocamlbuild.ml https://bitbucket.org/slth/ocaml-tiger.git | OCaml | 512 lines
2(* DO NOT EDIT (digest: b6a970ada603639e225b4da9341adedb) *) 3module OASISGettext = struct 4(* # 21 "/tmp/ocaml-oasis/src/oasis-0.3.0/src/oasis/OASISGettext.ml" *) 30 31 open OASISGettext 32 219 (** OCamlbuild extension, copied from 220 * http://brion.inria.fr/gallium/index.php/Using_ocamlfind_with_ocamlbuild 221 * by N. Pouillard and othersRunAsInternalServer.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 331 lines
55import javax.swing.event.DocumentListener; 56import org.netbeans.modules.php.project.PhpProject; 57import org.netbeans.modules.php.project.PhpVisibilityQuery; 62import org.netbeans.modules.php.project.ui.Utils; 63import org.netbeans.modules.php.project.ui.customizer.PhpProjectProperties.RunAsType; 64import org.netbeans.spi.project.ui.support.ProjectCustomizer; 105 PhpProjectProperties.PORT, 106 PhpProjectProperties.ROUTER 107 }; 137 // XXX remove index.file from properties, so run/debug project can then work 138 putValue(PhpProjectProperties.INDEX_FILE, null); 139 for (int i = 0; i < textFields.length; i++) { 216 Mnemonics.setLocalizedText(noteLabel, NbBundle.getMessage(RunAsInternalServer.class, "RunAsInternalServer.noteLabel.text")); // NOI18N 217 Mnemonics.setLocalizedText(phpVersionInfoLabel, NbBundle.getMessage(RunAsInternalServer.class, "RunAsInternalServer.phpVersionInfoLabel.text")); // NOI18N 218shared.php https://github.com/aimakun/odlib.git | PHP | 115 lines
28 <a href="../catalog/biblio_hold_list.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("catalogHolds");?></a><br> 29 <a href="../catalog/biblio_del_confirm.php?bibid=<?php echo HURL($bibid);?>&title=<?php echo HURL($title);?>" class="alt1"><?php echo $navLoc->getText("catalogDelete");?></a><br> 30<?php } ?> 66 <a href="../catalog/biblio_hold_list.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("catalogHolds");?></a><br> 67 <a href="../catalog/biblio_del_confirm.php?bibid=<?php echo HURL($bibid);?>&title=<?php echo HURL($title);?>" class="alt1"><?php echo $navLoc->getText("catalogDelete");?></a><br> 68<?php } ?> 76 <a href="../catalog/biblio_hold_list.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("catalogHolds");?></a><br> 77 <a href="../catalog/biblio_del_confirm.php?bibid=<?php echo HURL($bibid);?>&title=<?php echo HURL($title);?>" class="alt1"><?php echo $navLoc->getText("catalogDelete");?></a><br> 78<?php } ?> 86 <a href="../catalog/biblio_hold_list.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("catalogHolds");?></a><br> 87 <a href="../catalog/biblio_del_confirm.php?bibid=<?php echo HURL($bibid);?>&title=<?php echo HURL($title);?>" class="alt1"><?php echo $navLoc->getText("catalogDelete");?></a><br> 88<?php } ?> 95 » <?php echo $navLoc->getText("catalogHolds");?><br> 96 <a href="../catalog/biblio_del_confirm.php?bibid=<?php echo HURL($bibid);?>&title=<?php echo HURL($title);?>" class="alt1"><?php echo $navLoc->getText("catalogDelete");?></a><br> 97<?php } ?>CHANGES.md https://gitlab.com/reasonat/test8 | Markdown | 322 lines
10 11* Disallowed failures on PHP 7 on Travis (tests were passing since a long time) 12 17* Improved the window resize test to consider headless browsers 18* Fixed the compatibility of the testsuite with PHPUnit 5 19* Added a test ensuring that `wait()` always return a boolean even when the JS expression does not cast the value 45 46* Fixed the URL assertions when comparing paths ending in ``.php`` 47* Silenced deprecation warnings (following the Symfony convention) to make 47* Silenced deprecation warnings (following the Symfony convention) to make 48 them less invasive. Use the `symfony/phpunit-bridge` to get them reported 49 when using Mink in your PHPUnit tests. 53 54* Made the testsuite compatible with PHPUnit strict timing mode (only the library testsuite, not the driver one) 55* Added testing against PHP 7ProjectChooserHelper.java https://github.com/CyanogenMod/android_sdk.git | Java | 304 lines
7 * 8 * http://www.eclipse.org/org/documents/epl-v10.php 9 * 238 IProject project = mAvailableProjects[i].getProject(); 239 items[i + 1] = labelProvider.getText(project); 240 if (project == initialProject) {index.php https://github.com/hinablue/TextCube.git | PHP | 280 lines
133?> 134 <img src="<?php echo $context->getProperty('service.path');?>/skin/blog/<?php echo $skinSetting['skin'];?>/preview.jpg" width="150" height="150" alt="<?php echo _t('스킨 미리보기');?>" /> 135<?php 137?> 138 <img src="<?php echo $context->getProperty('service.path');?>/skin/blog/<?php echo $skinSetting['skin'];?>/preview.gif" width="150" height="150" alt="<?php echo _t('스킨 미리보기');?>" /> 139<?php 141?> 142 <img src="<?php echo $context->getProperty('service.path').$context->getProperty('panel.skin');?>/image/noPreview.gif" width="150" height="150" alt="<?php echo _t('스킨 미리보기');?>" /> 143<?php 251 <div id="button_<?php echo $skin['name'];?>" class="button-box"> 252 <a class="preview-button button" href="<?php echo $context->getProperty('uri.blog');?>/owner/skin/preview/?skin=<?php echo $skin['name'];?>" onclick="window.open(this.href, "<?php echo $skin['name'];?>","location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0"); return false;"><span><?php echo _t('미리보기');?></span></a> 253 <span class="hidden">|</span> 253 <span class="hidden">|</span> 254 <a class="apply-button button" href="<?php echo $context->getProperty('uri.blog');?>/owner/skin/change/?skinName=<?php echo urlencode($skin['name']);?>" onclick="selectSkin('<?php echo $skin['name'];?>'); return false;"><span><?php echo _t('적용');?></span></a> 255 </div>README.markdown https://bitbucket.org/WscriChy/vim-configuration.git | Markdown | 334 lines
42Lex, Limbo, LISP, LLVM intermediate language, Lua, Markdown, MATLAB, NASM, 43Objective-C, Objective-C++, OCaml, Perl, Perl POD, PHP, gettext Portable 44Object, OS X and iOS property lists, Puppet, Python, R, Racket, Relax NG, 216```vim 217let g:syntastic_php_checkers = ['php', 'phpcs', 'phpmd'] 218``` 220This is telling syntastic to run the `php` checker first, and if no errors are 221found, run `phpcs`, and then `phpmd`. 222 224 225e.g. to run `phpcs` and `phpmd`: 226```vim 226```vim 227:SyntasticCheck phpcs phpmd 228```source-class-ResourcePresenter.html https://github.com/jakubkinst/Course-Manager.git | HTML | 208 lines
145<a href="#26" id="26" class="l">26: </a> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> startup() { 146<a href="#27" id="27" class="l">27: </a> <span class="php-keyword1">if</span> (<span class="php-keyword1">null</span> != <span class="php-var">$this</span>->getParam(<span class="php-quote">'rid'</span>)) { 147<a href="#28" id="28" class="l">28: </a> <span class="php-var">$this</span>->rid = <span class="php-var">$this</span>->getParam(<span class="php-quote">'rid'</span>); 162<a href="#43" id="43" class="l">43: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> actionHomepage(<span class="php-var">$cid</span>) { 163<a href="#44" id="44" class="l">44: </a> <span class="php-var">$uploader</span> = <span class="php-keyword1">new</span> Uploader(<span class="php-var">$this</span>, <span class="php-quote">'uploader'</span>); 164<a href="#45" id="45" class="l">45: </a> <span class="php-var">$uploader</span>->cid = <span class="php-var">$cid</span>; 170</span><a href="#51" id="51" class="l">51: </a><span class="php-comment"> */</span> 171<a href="#52" id="52" class="l">52: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> renderHomepage(<span class="php-var">$cid</span>) { 172<a href="#53" id="53" class="l">53: </a> <span class="php-var">$this</span>->template->resources = ResourceModel::getResources(<span class="php-var">$cid</span>); 180<a href="#61" id="61" class="l">61: </a> <span class="php-var">$file</span> = ResourceModel::getResource(<span class="php-var">$rid</span>); 181<a href="#62" id="62" class="l">62: </a> <span class="php-var">$this</span>->sendResponse(<span class="php-keyword1">new</span> DownloadResponse(WWW_DIR . <span class="php-quote">'/../uploads/'</span> . <span class="php-var">$file</span>->filename, <span class="php-var">$file</span>->name)); 182<a href="#63" id="63" class="l">63: </a> } 192</span><a href="#73" id="73" class="l">73: </a><span class="php-comment"> */</span> 193<a href="#74" id="74" class="l">74: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> handleDelete(<span class="php-var">$rid</span>) { 194<a href="#75" id="75" class="l">75: </a> <span class="php-var">$this</span>->checkTeacherAuthority();Label.class.php https://bitbucket.org/jstechnologies/cats.git | PHP | 679 lines
1<?php 2/* 412 */ 413 public function getText($key) { 414 455 456 return $this->getMax($drawer, 'getTextWidth'); 457 467 468 return $this->getMax($drawer, 'getTextHeight'); 469 505 506 $text = $this->getText($key); 507 510 // Value must be hidden 511 if(in_array($text->getText(), $this->hideValue)) { 512 return;Nuke_body.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 268 lines
1<?php 2 20 if( $wgRequest->wasPosted() && $wgUser->matchEditToken( $wgRequest->getVal( 'wpEditToken' ) ) ) { 21 $target = $wgRequest->getText( 'target', $par ); 22 28 29 $reason = $wgRequest->getText( 30 'wpReason',PasswordConfirmWidgetTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 179 lines
1<?php 2 73 $this->assertTrue($password_parent_item->has('css', '.password-strength > [data-drupal-selector="password-strength-meter"] + .password-strength__title:last-child > [data-drupal-selector="password-strength-text"]')); 74 $this->assertEmpty($password_parent_item->find('css', '.password-strength > [data-drupal-selector="password-strength-meter"] + .password-strength__title:last-child > [data-drupal-selector="password-strength-text"]')->getText()); 75ConfirmEditHooks.php https://gitlab.com/link233/bootmw | PHP | 238 lines
1<?php 2 73 $title = $wikiPage->getTitle(); 74 if ( $title->getText() === 'Captcha-ip-whitelist' && $title->getNamespace() === NS_MEDIAWIKI ) { 75 $cache = ObjectCache::getMainWANInstance(); 145 /** 146 * Hook to add PHPUnit test cases. 147 * @see https://www.mediawiki.org/wiki/Manual:Hooks/UnitTestsList 160 foreach ( new RecursiveIteratorIterator( $directoryIterator ) as $fileInfo ) { 161 if ( substr( $fileInfo->getFilename(), -8 ) === 'Test.php' ) { 162 $ourFiles[] = $fileInfo->getPathname(); 204 /** 205 * Callback for extension.json of ReCaptcha to require the recaptcha library php file. 206 * FIXME: This should be done in a better way, e.g. only load the libraray, if really needed. 208 public static function onReCaptchaSetup() { 209 require_once ( __DIR__ . '/../ReCaptcha/recaptchalib.php' ); 210 }TwoStepTwoColumnPremiumUS.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 363 lines
1<?php 2 125 $form .= Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/Wikipedia-ten-tshirt-back.jpg", 'width' => '300', 'height' => '300' ) ); 126 $form .= wfMsg( 'payflowpro_gateway-shirt-size-2', $wgRequest->getText( 'size' ) ); 127 $form .= Xml::closeElement( 'div' ); // close div#premium-confirmationGrid.php https://gitlab.com/yousafsyed/easternglamor | PHP | 497 lines
1<?php 2/** 17 * 18 * @SuppressWarnings(PHPMD.NumberOfChildren) 19 * @SuppressWarnings(PHPMD.TooManyFields) 393 foreach ($columns as $columnName) { 394 $rowData[$columnName] = trim($row->find('.col-' . $columnName)->getText()); 395 }preface.py https://github.com/sialan/autonomous-sprayer.git | Python | 252 lines
6The preface manual page is at: 7http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Preface 8 115 "Preface and convert an svg file or text." 116 return getCraftedTextFromText( archive.getTextIfEmpty( fileName, text ), prefaceRepository ) 117 143 self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Preface', self, '') 144 self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Preface') 145 self.meta = settings.StringSetting().getFromValue('Meta:', self, '') 178 fileText = settings.getFileInAlterationsOrGivenDirectory( os.path.dirname( __file__ ), fileName ) 179 fileLines = archive.getTextLines(fileText) 180 self.distanceFeedRate.addLinesSetAbsoluteDistanceMode( fileLines )inlinecurrency.js https://gitlab.com/mshepherd/inlinecurrencyconverter | JavaScript | 400 lines
6 "JPY", "KRW", "MXN", "MYR", "NOK", 7 "NZD", "PHP", "PLN", "RON", "RUB", 8 "SEK", "SGD", "THB", "TRY", "USD", "ZAR" 20var markTextWithClass = function(regex, classStr) { 21 var textNodes = getTextNodesIn(jQuery("body")); 22 textNodes.replaceWith(function() { 81 82var getTextNodesIn = function(el) { 83 return jQuery(el).find(":not(iframe)").addBack().contents().filter(function() { 226 PK: "PKR", 227 PH: "PHP", 228 PN: "NZD",Review.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 257 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) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 151 $ratings[] = [ 152 'title' => strtolower($itemRating->getText()), 153 'rating' => $this->getRatingValue($itemRating) 191 { 192 return strtolower($titleElement->getText()); 193 } 203 $reviewAuthor = $this->_rootElement->find($this->getReviewAuthorSelector($reviewTitle), Locator::SELECTOR_XPATH) 204 ->getText(); 205Item.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 658 lines
1<?php 2/** 202 */ 203 public function getTextFields() 204 { 212 */ 213 public function getTextField($identifier) 214 { 294 */ 295 public function getText() 296 {EncodeRepresentation.java https://bitbucket.org/haris_peco/debrief.git | Java | 326 lines
12 * You can obtain a copy of the LGPL 2.1 license at 13 * http://www.opensource.org/licenses/lgpl-2.1.php 14 * 15 * You can obtain a copy of the CDDL 1.0 license at 16 * http://www.opensource.org/licenses/cddl1.php 17 * 18 * You can obtain a copy of the EPL 1.0 license at 19 * http://www.opensource.org/licenses/eclipse-1.0.php 20 * 258 @Override 259 public String getText() throws IOException { 260 String result = null; 264 } else { 265 result = getWrappedRepresentation().getText(); 266 }install.sh https://gitlab.com/florianocomercial/centreon | Shell | 461 lines
63 local program=$0 64 echo -e "$(gettext "Usage: $program -f <file>")" 65 echo -e " -i\t$(gettext "install centreon")" 65 echo -e " -i\t$(gettext "install centreon")" 66 echo -e " -f\t$(gettext "file with all variable")" 67 echo -e " -u\t$(gettext "upgrade centreon with specify your directory with instCent* files")" 67 echo -e " -u\t$(gettext "upgrade centreon with specify your directory with instCent* files")" 68 echo -e " -v\t$(gettext "verbose mode")" 69 exit 1 89fi 90# define a locale directory for use gettext (LC_MESSAGE) 91TEXTDOMAINDIR=$BASE_DIR/locale 102 103## Test if gettext was installed 104# I use PATH variable to findCustomOptions.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 515 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) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 191 while ($optionElementTitle->isVisible()) { 192 $title = $optionElementTitle->find($this->title)->getText(); 193 $customOptions[$title]['title'] = $optionElementTitle; 226 'price' => floatval($price), 227 'max_characters' => $maxCharacters->isVisible() ? $maxCharacters->getText() : null, 228 ] 300 while ($optionLabel->isVisible()) { 301 $listOptions[] = $this->parseOptionText($optionLabel->getText()); 302 ++$count;ValidateTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 174 lines
1<?php 2/** 10 * 11 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 12 */ 12 */ 13class ValidateTest extends \PHPUnit_Framework_TestCase 14{ 15 /** 16 * @var \Magento\Variable\Model\Variable|\PHPUnit_Framework_MockObject_MockObject 17 */ 20 /** 21 * @var \Magento\Framework\View\LayoutInterface|\PHPUnit_Framework_MockObject_MockObject 22 */ 25 /** 26 * @var \Magento\Framework\App\RequestInterface|\PHPUnit_Framework_MockObject_MockObject 27 */class_constant_expression.cpp https://github.com/leonhong/hiphop-php.git | C++ | 299 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 +----------------------------------------------------------------------+ 28 29using namespace HPHP; 30using namespace std;ExportYamlTest.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 268 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin-test 7 */ 9 10require_once 'libraries/export.lib.php'; 11require_once 'libraries/config.default.php'; 11require_once 'libraries/config.default.php'; 12require_once 'libraries/database_interface.inc.php'; 13require_once 'export.php'; 13require_once 'export.php'; 14require_once 'test/PMATestCase.php'; 15 18 * 19 * @package PhpMyAdmin-test 20 * @group mediumStringTable.php https://gitlab.com/ptisky/API_prestashop | PHP | 319 lines
69 !isset($aFlippedStringTable[$cellValue]) && 70 ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_STRING || $cell->getDataType() == PHPExcel_Cell_DataType::TYPE_STRING2 || $cell->getDataType() == PHPExcel_Cell_DataType::TYPE_NULL)) { 71 $aStringTable[] = $cellValue; 83 } else { 84 throw new PHPExcel_Writer_Exception("Invalid PHPExcel_Worksheet object passed."); 85 } 102 } else { 103 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); 104 } 216 $objWriter->writeAttribute('xml:space', 'preserve'); 217 $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML( $element->getText() )); 218 $objWriter->endElement(); 289// $objWriter->writeAttribute('xml:space', 'preserve'); // Excel2010 accepts, Excel2007 complains 290 $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML( $element->getText() )); 291 $objWriter->endElement();Item.php https://github.com/speedupmate/Magento-CE-Mirror.git | PHP | 447 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) 2006-2020 Magento, Inc. (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 126 $entryId = $this->getEntry()->getId(); 127 $published = $this->gBaseDate2DateTime($this->getEntry()->getPublished()->getText()); 128 $this->getItem() 391 if (is_array($attributeArr) && is_object($attributeArr[0])) { 392 return $attributeArr[0]->getText(); 393 }index.php https://github.com/dirkhusemann/zenphoto.git | PHP | 217 lines
37 <li class="gal"> 38 <h3><a href="<?php echo html_encode(getAlbumLinkURL());?>" title="<?php printf(gettext("View album: %s"),getAnnotatedAlbumTitle()); ?>"><?php printAlbumTitle(); ?></a></h3> 39 <a href="<?php echo html_encode(getAlbumLinkURL());?>" title="<?php printf(gettext("View album: %s"), getAnnotatedAlbumTitle());?>" class="img"><?php printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), null, 210, 59, getOption('Gallery_image_crop_width'), getOption('Gallery_image_crop_height')); ?></a> 82 </ul> 83 <p class="mainbutton"><a href="<?php echo $archivepageURL; ?>" class="btn"><img src="<?php echo $_zp_themeroot ?>/images/btn_gallery_archive.gif" width="118" height="21" alt="<?php echo gettext('Gallery Archive'); ?>" /></a></p> 84 </div> 159 <tr> 160 <th><a href="<?php echo $archivepageURL; ?>"><?php echo gettext('Galleries'); ?></a></th> 161 <td><?php $albumNumber = getNumAlbums(); echo $albumNumber ?></td> 170 <tr> 171 <th><?php echo gettext('Comments'); ?></th> 172 <td><?php $commentsArray = query_single_row("SELECT count(*) FROM ".prefix('comments')." WHERE inmoderation = 0"); $commentsNumber = array_shift($commentsArray); echo $commentsNumber ?></td> 199 ?> 200 <?php echo gettext('<a href="http://stopdesign.com/templates/photos/">Photo Templates</a> from Stopdesign.'); ?> 201 <?php printZenphotoLink(); ?>UiManifestPkgAttrNode.java https://gitlab.com/Codeaurora/platform_sdk | Java | 323 lines
7 * 8 * http://www.eclipse.org/org/documents/epl-v10.php 9 * 147 public void modifyText(ModifyEvent e) { 148 String package_name = text.getText(); 149 if (package_name.indexOf('.') < 1) { 178 ElementListSelectionDialog dialog = new ElementListSelectionDialog( 179 getTextWidget().getShell(), 180 new ILabelProvider() { 184 185 public String getText(Object element) { 186 return element.toString(); 221 // get the current package name 222 String package_name = getTextWidget().getText().trim(); 223HttpBasicTestCase.java https://bitbucket.org/haris_peco/debrief.git | Java | 283 lines
12 * You can obtain a copy of the LGPL 2.1 license at 13 * http://www.opensource.org/licenses/lgpl-2.1.php 14 * 15 * You can obtain a copy of the CDDL 1.0 license at 16 * http://www.opensource.org/licenses/cddl1.php 17 * 18 * You can obtain a copy of the EPL 1.0 license at 19 * http://www.opensource.org/licenses/eclipse-1.0.php 20 * 155 response.getStatus()); 156 assertEquals(AUTHENTICATED_MSG, response.getEntity().getText()); 157 197 response.getStatus()); 198 assertEquals(AUTHENTICATED_MSG, response.getEntity().getText()); 199QuickEditJavascriptTestBase.php https://gitlab.com/mohamed_hussein/prodt | PHP | 309 lines
1<?php 2 115 $save_button->press(); 116 $this->assertSame('Saving', $save_button->getText()); 117 } 165 $quickedit_entity_toolbar = $this->getSession()->getPage()->findById('quickedit-entity-toolbar'); 166 // We cannot use ->getText() because it also returns the text of all child 167 // nodes. We also cannot use XPath to select text node in Selenium. So we 176 if ($field_label) { 177 $field_label = $field_label->getText(); 178 }spellChecker.js https://github.com/lxcenter/hypervm.git | JavaScript | 463 lines
20 this.popUpProps = null ; // by FredCK 21// this.spellCheckScript = '/speller/server-scripts/spellchecker.php'; // by FredCK 22 //this.spellCheckScript = '/cgi-bin/spellchecker.pl'; 124 } 125 if( !this.wordWin.getTextVal( ti, wi )) { 126 alert( 'Error: "Not in dictionary" text is missing.' ); 144 // get the word that is currently being evaluated. 145 var s_word_to_repl = this.wordWin.getTextVal( ti, wi ); 146 if( !s_word_to_repl ) { 160 // 2) have the same value as current word 161 if(( this.wordWin.getTextVal( i, j ) == s_word_to_repl ) 162 && ( !this.wordFlags[i][j] )) { 181 } 182 if( !this.wordWin.getTextVal( ti, wi )) { 183 alert( 'Error: "Not in dictionary" text is missing' );LocalServer.php git://github.com/Codeception/Codeception.git | PHP | 296 lines
1<?php 2namespace Codeception\Coverage\Subscriber; 14/** 15 * When collecting code coverage data from local server HTTP requests are sent to c3.php file. 16 * Coverage Collection is started by sending cookies/headers. 75 CodeCoverage Error. 76 Check the file "c3.php" is included in your application. 77 We tried to access "/c3/report/clear" but this URI was not accessible. 250 $alert = $this->module->webDriver->switchTo()->alert(); 251 $alert->getText(); 252 // If this succeeds an alert is present, abortps.php https://gitlab.com/ElvisAns/tiki | PHP | 476 lines
1<?php 2 15 */ 16require_once('lib/graph-engine/core.php'); 17 170 171 public function getTextWidth($text, $style) // {{{2 172 { 175 176 public function getTextHeight($style) // {{{2 177 { 314 /* 315 Taken from lib/pdflib/class.ezpdf.php 316 Copyright notices are in that file.setlocale.js https://gitlab.com/orvi2014/phpjs | JavaScript | 380 lines
38 // Function usable by a ngettext implementation (apparently not an accessible part of setlocale(), but locale-specific) 39 // See http://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms though amended with others from 40 // https://developer.mozilla.org/En/Localization_and_Plurals (new categories noted with "MDC" below, though 227 }; 228 phpjs.locales.en_US = _copy(phpjs.locales.en); 229 phpjs.locales.en_US.LC_TIME.c = '%a %d %b %Y %r %Z'; 315 // Fix locale if declared locale hasn't been defined 316 if (!(phpjs.locale in phpjs.locales)) { 317 if (phpjs.locale.replace(/_[a-zA-Z]+$/, '') in phpjs.locales) { 317 if (phpjs.locale.replace(/_[a-zA-Z]+$/, '') in phpjs.locales) { 318 phpjs.locale = phpjs.locale.replace(/_[a-zA-Z]+$/, ''); 319 } 333 // for date and time formatting with strftime() 334 'LC_MESSAGES' : phpjs.locale // for system responses (available if PHP was compiled with libintl) 335 };Supplier.php https://github.com/corneliusweiss/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 262 lines
1<?php 2/** 34 'recordName' => 'Supplier', 35 'recordsName' => 'Suppliers', // ngettext('Supplier', 'Suppliers', n) 36 'hasRelations' => TRUE,module.config.php https://bitbucket.org/phaikawl/pknewsboard.git | PHP | 169 lines
1<?php 2/** 117 array( 118 'type' => 'gettext', 119 'base_dir' => __DIR__ . '/../language',basebutton.php https://gitlab.com/alexprowars/bitrix | PHP | 564 lines
1<?php 2 188 case Tag::SUBMIT: 189 $attributes['value'] = htmlspecialcharsbx($this->getText()); 190 $attributes['type'] = Tag::BUTTON; 235 return ( 236 (!empty($this->getText()) ? '<span class="ui-btn-text">'.htmlspecialcharsbx($this->getText()).'</span>' : ''). 237 ($counter !== null ? '<span class="ui-btn-counter">'.htmlspecialcharsbx($counter).'</span>' : '' ) 429 */ 430 public function getText() 431 {mdb.php https://github.com/usagi-project/mynets1.git | PHP | 380 lines
1<?php 2// +----------------------------------------------------------------------+ 4// +----------------------------------------------------------------------+ 5// | Copyright (c) 1997-2003 The PHP Group | 6// +----------------------------------------------------------------------+ 6// +----------------------------------------------------------------------+ 7// | This source file is subject to version 2.0 of the PHP license, | 8// | that is bundled with this package in the file LICENSE, and is | 9// | available at through the world-wide-web at | 10// | http://www.php.net/license/2_02.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// +----------------------------------------------------------------------+ 14// +----------------------------------------------------------------------+ 15// | Note: This is a MDB-oriented rewrite of Cache/Container/db.php. | 16// | Thanks to Lukas Smith for his patience in answering my questions |metadata.c https://github.com/theuni/xbmc.git | C | 524 lines
43 44 *encoding = id3_field_gettextencoding(id3_frame_field(frame, 0)); 45 89 90 *encoding = id3_field_gettextencoding(id3_frame_field(frame, 0)); 91 187 { // based on mediamonkey's values, simplified down a bit 188 // http://www.mediamonkey.com/forum/viewtopic.php?f=7&t=40532 189 value = id3_field_getint(field); 329 330 *encoding = id3_field_gettextencoding(field); 331Import.php https://github.com/brion/mediawiki-svn.git | PHP | 485 lines
1<?php 2/** 122 123 function getText() { 124 return $this->text; 203 'page' => $pageId, 204 'text' => $this->getText(), 205 'comment' => $this->getComment(), 230 $article->editUpdates( 231 $this->getText(), 232 $this->getComment(), 290 $source = $this->file->getArchiveVirtualUrl( $this->oldimage ); 291 $comment = $wgRequest->getText( 'wpComment' ); 292 // TODO: Preserve file properties from database instead of reloading from file 429 switch($upload['error']){ 430 case 1: # The uploaded file exceeds the upload_max_filesize directive in php.ini. 431 return new WikiErrorMsg( 'importuploaderrorsize' );SQLLiteralGraphNode.java https://bitbucket.org/rsaqc/netbeans-soa.git | Java | 391 lines
59import org.netbeans.modules.sql.framework.model.VisibleSQLLiteral; 60import org.netbeans.modules.sql.framework.ui.graph.IGraphPort; 61import org.netbeans.modules.sql.framework.ui.graph.IOperatorField; 156 */ 157 public IGraphPort getOutputGraphPort(String fieldName) { 158 return valueNode.getRightGraphPort(); 190 default: 191 titleArea.setTitleImage(getTextIcon()); 192 break; 221 222 private static Icon getTextIcon() { 223 if (textIcon == null) {TaskManager.js https://github.com/andrewtracer/dataflow.git | JavaScript | 248 lines
91 YAHOO.util.Dom.get('saveStatus').innerHTML = "saving..."; 92 YAHOO.util.Connect.asyncRequest('POST', 'store.php', { 93 success: function(o) { 106 queryData: function() { 107 YAHOO.util.Connect.asyncRequest('GET', 'store.php', { 108 success: function(o) { 193 194 function getTextNodeFromEventTarget(p_oTarget) { 195 if (p_oTarget.tagName.toUpperCase() == "A" && YAHOO.util.Dom.hasClass(p_oTarget, "ygtvlabel") ) { 199 if (p_oTarget.parentNode && p_oTarget.parentNode.nodeType == 1) { 200 return getTextNodeFromEventTarget(p_oTarget.parentNode); 201 } 205 // 206 var oTextNode = getTextNodeFromEventTarget(this.contextEventTarget); 207 if (oTextNode) {reports-manager-3.inc.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 147 lines
1<?php 2$g_vars['page']['location'] = array('reports_manager', 'test_results', 'question_details', 'answer_details'); 124echo '<td width="100%">'; 125echo '<p><form method=post action="reports-manager.php?resultid='.$f_resultid.'&answerid='.$f_answerid.'&action=setpoints">'; 126echo '<table class=rowtable2 cellpadding=5 cellspacing=1 border=0 width="100%">'; 130writeTR2($lngstr['page_editquestion_points'], getInputElement('points', $i_result_answer_points, 3)); 131writeTR2($lngstr['page_reportsmanager']['answerfeedback'], getTextArea('feedback', $i_result_answer_feedback)); 132echo '</table>';email.php https://bitbucket.org/sirestudios/fortis-wellness.git | PHP | 408 lines
1<?php 2/** 38 * Send an email using a Transactional email service 39 * or native PHP as a fallback. 40 * 134 |-------------------------------------------------------------------------- 135 | Native PHP Mail 136 |-------------------------------------------------------------------------- 137 | 138 | We're utilizing the popular PHPMailer class to handle the messy 139 | email headers and do-dads. Emailing from PHP in general isn't the best 143 144 $email = new PHPMailer(true); 145 $email->IsMAIL(); 288 */ 289 public function getText() 290 {FontMetrics.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 534 lines
1<?php 2/** 32 * with FontMetrics::saveFontFamilies(). 33 * This is typically done only from command line with load_font.php on converting 34 * ttf fonts to ufm with php-font-lib. 35 */ 36 const CACHE_FILE = "dompdf_font_family_cache.php"; 37 53 * 54 * Usually cached by the {@link load_font.php} script 55 * 94 // replace the path to the DOMPDF font directories with the corresponding constants (allows for more portability) 95 $cacheData = sprintf("<?php return array (%s", PHP_EOL); 96 foreach ($this->fontLookup as $family => $variants) { 96 foreach ($this->fontLookup as $family => $variants) { 97 $cacheData .= sprintf(" '%s' => array(%s", addslashes($family), PHP_EOL); 98 foreach ($variants as $variant => $path) {exec.php https://github.com/vongrippen/pfsense.git | PHP | 336 lines
90 91$pgtitle = array(gettext("Diagnostics"),gettext("Execute command")); 92include("head.inc"); 221<?php if (isBlank($_POST['txtCommand'])): ?> 222<p class="red"><strong><?=gettext("Note: this function is unsupported. Use it " . 223"on your own risk"); ?>!</strong></p> 255 <tr> 256 <td class="label" align="right"><?=gettext("Command"); ?>:</td> 257 <td class="type"><input id="txtCommand" name="txtCommand" type="text" class="formfld unknown" size="80" value="<?=htmlspecialchars($_POST['txtCommand']);?>"></td> 305 <tr> 306 <td colspan="2" valign="top" class="vnsepcell"><?=gettext("PHP Execute"); ?></td> 307 </tr> 309 <td align="right"><?=gettext("Command"); ?>:</td> 310 <td class="type"><textarea id="txtPHPCommand" name="txtPHPCommand" type="text" rows="9" cols="80"><?=htmlspecialchars($_POST['txtPHPCommand']);?></textarea></td> 311 </tr>services_dhcp_edit.php https://github.com/vongrippen/pfsense.git | PHP | 262 lines
1<?php 2/* $Id$ */ 115 if($matches) 116 $input_errors[] = gettext("The hostname cannot end with a hyphen according to RFC952"); 117 if (!is_hostname($_POST['hostname'])) { 117 if (!is_hostname($_POST['hostname'])) { 118 $input_errors[] = gettext("The hostname can only contain the characters A-Z, 0-9 and '-'."); 119 } else { 189 190$pgtitle = array(gettext("Services"),gettext("DHCP"),gettext("Edit static mapping")); 191$statusurl = "status_dhcp_leases.php"; 198<body link="#0000CC" vlink="#0000CC" alink="#0000CC"> 199<?php include("fbegin.inc"); ?> 200<?php if ($input_errors) print_input_errors($input_errors); ?> 250 <td width="78%"> 251 <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>"> <input class="formbtn" type="button" value="<?=gettext("Cancel");?>" onclick="history.back()"> 252 <?php if (isset($id) && $a_maps[$id]): ?>AbuseFilter.hooks.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 298 lines
1<?php 2if ( !defined( 'MEDIAWIKI' ) ) { 22 $title = $editor->mTitle; 23 $articleCacheKey = $title->getNamespace() . ':' . $title->getText(); 24 AFComputedVariable::$articleCache[$articleCacheKey] = $editor->mArticle; 248 wfMsgExt( 'abusefilter-log-linkoncontribs-text', 'parseinline' ) ), 249 array( 'wpSearchUser' => $nt->getText() ) 250 );translations.php https://gitlab.com/VTTE/sitios-vtte | PHP | 379 lines
9 10require_once __DIR__ . '/plural-forms.php'; 11require_once __DIR__ . '/entry.php'; 60 * 61 * TODO: this should be out of this class, it is gettext specific 62 * 183 184 class Gettext_Translations extends Translations { 185 /** 185 /** 186 * The gettext implementation of select_plural_form. 187 * 193 function gettext_select_plural_form( $count ) { 194 if ( ! isset( $this->_gettext_select_plural_form ) || is_null( $this->_gettext_select_plural_form ) ) { 195 list( $nplurals, $expression ) = $this->nplurals_and_expression_from_header( $this->get_header( 'Plural-Forms' ) );ImportDataCreatorTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 232 lines
57import org.netbeans.modules.parsing.spi.indexing.support.QuerySupport; 58import org.netbeans.modules.php.editor.PHPCodeCompletionTestBase; 59import org.netbeans.modules.php.editor.actions.FixUsesAction.Options; 59import org.netbeans.modules.php.editor.actions.FixUsesAction.Options; 60import org.netbeans.modules.php.editor.actions.ImportData.ItemVariant; 61import org.netbeans.modules.php.editor.api.ElementQuery.Index; 61import org.netbeans.modules.php.editor.api.ElementQuery.Index; 62import org.netbeans.modules.php.editor.api.ElementQueryFactory; 63import org.netbeans.modules.php.editor.api.QuerySupportFactory; 66import org.netbeans.modules.php.editor.model.NamespaceScope; 67import org.netbeans.modules.php.editor.parser.PHPParseResult; 68import org.netbeans.modules.php.project.api.PhpSourcePath; 158 assertTrue(r instanceof ParserResult); 159 PHPParseResult phpResult = (PHPParseResult)r; 160 Map<String, List<UsedNamespaceName>> usedNames = new UsedNamesComputer(phpResult, caretOffset).computeNames();system_routes_edit.php https://github.com/vongrippen/pfsense.git | PHP | 351 lines
161 162$pgtitle = array(gettext("System"),gettext("Static Routes"),gettext("Edit route")); 163include("head.inc"); 192 </select> 193 <br> <span class="vexpl"><?=gettext("Destination network for this static route"); ?></span></td> 194 </tr> 208 <div id='addgwbox'> 209 <?=gettext("Choose which gateway this route applies to or"); ?> <a OnClick="show_add_gateway();" href="#"><?=gettext("add a new one.");?></a> 210 </div> 271 <td width="78%"> 272 <input id="save" name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>"> <input id="cancel" type="button" value="<?=gettext("Cancel"); ?>" class="formbtn" onclick="history.back()"> 273 <?php if (isset($id) && $a_routes[$id]): ?> 330 selectbox.selectedIndex = (selectbox.options.length-1); 331 $('notebox').innerHTML="<p/><strong><?=gettext("NOTE:");?></strong> <?php printf(gettext("You can manage Gateways %shere%s."), "<a target='_new' href='system_gateways.php'>", "</a>");?> </strong>"; 332 }code_error.cpp https://gitlab.com/alvinahmadov2/hhvm | C++ | 237 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 +----------------------------------------------------------------------+ 16 17#include "hphp/compiler/analysis/code_error.h" 18class-TexyEmoticonModule.html https://github.com/jakubkinst/Course-Manager.git | HTML | 507 lines
49 </li> 50 <li><a href="package-PHP.html">PHP</a> 51 </li> 370 <td class="value"><code><span class="php-keyword1">array</span>( 371 <span class="php-quote">':-)'</span> => <span class="php-quote">'smile.gif'</span>, 372 <span class="php-quote">':-('</span> => <span class="php-quote">'sad.gif'</span>, 372 <span class="php-quote">':-('</span> => <span class="php-quote">'sad.gif'</span>, 373 <span class="php-quote">';-)'</span> => <span class="php-quote">'wink.gif'</span>, 374 <span class="php-quote">':-D'</span> => <span class="php-quote">'biggrin.gif'</span>, 375 <span class="php-quote">'8-O'</span> => <span class="php-quote">'eek.gif'</span>, 376 <span class="php-quote">'8-)'</span> => <span class="php-quote">'cool.gif'</span>, 377 <span class="php-quote">':-?'</span> => <span class="php-quote">'confused.gif'</span>, 379 <span class="php-quote">':-P'</span> => <span class="php-quote">'razz.gif'</span>, 380 <span class="php-quote">':-|'</span> => <span class="php-quote">'neutral.gif'</span>, 381)</code></td>constant_expression.cpp https://github.com/github-ivan/hiphop-php.git | C++ | 334 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 +----------------------------------------------------------------------+ 28#include <compiler/parser/parser.h> 29#include <util/parser/hphp.tab.hpp> 30#include <compiler/expression/scalar_expression.h>mime_type.test.php https://github.com/agborkowski/media.git | PHP | 219 lines
10 * PHP version 5 11 * CakePHP version 1.3 12 * 20App::import('Lib', 'Media.MimeType'); 21require_once dirname(dirname(dirname(__FILE__))) . DS . 'fixtures' . DS . 'test_data.php'; 22 87 // $this->assertEqual(MimeType::guessType($this->TestData->getFile('text-pot.snippet.pot')), 'text/x-gettext-translation-template'); 88 $this->assertEqual(MimeType::guessType($this->TestData->getFile('mo.snippet.mo')), 'application/x-gettext-translation'); 89 $this->assertEqual(MimeType::guessType($this->TestData->getFile('real-video.snippet.rm')), 'application/vnd.rn-realmedia'); 136 /* Fails application<->text */ 137 //$this->assertEqual(MimeType::guessType('file.php'), 'application/x-php'); 138 $this->assertEqual(MimeType::guessType('file.pdf'), 'application/pdf'); 185 /* Fails application<->text */ 186 // $this->assertEqual(MimeType::guessExtension('application/x-php'), 'php'); 187 $this->assertEqual(MimeType::guessExtension('application/pdf'), 'pdf');extrude.py https://github.com/clothbot/DotSkeinforge.git | Python | 389 lines
175__author__ = "Enrique Perez (perez_enrique@yahoo.com)" 176__credits__ = 'greenarrow <http://forums.reprap.org/profile.php?12,81>' 177__date__ = "$Date: 2008/21/04 $" 366 "Parse a gcode text and evaluate the commands." 367 textLines = getTextLines( text ) 368 self.parseGCode( textLines )juce_android_Fonts.cpp https://bitbucket.org/Klinkenstecker/owlsim.git | C++ | 329 lines
183 184 const int numDone = paint.callIntMethod (Paint.getTextWidths, javaString (text).get(), widths); 185 196 197 void getGlyphPositions (const String& text, Array<int>& glyphs, Array<float>& xOffsets) 198 { 202 203 const int numDone = paint.callIntMethod (Paint.getTextWidths, javaString (text).get(), widths); 204UserCredentials_body.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 214 lines
1<?php 2 19 # A target user 20 $this->target = $wgRequest->getText( 'target' ); 21 # Attachments 81 $form .= "<tr><td>" . wfMsgHtml( 'username' ) . "</td>"; 82 $form .= "<td>" . $this->skin->makeLinkObj( $user->getUserPage(), htmlspecialchars( $user->getUserPage()->getText() ) ) . "</td></tr>\n"; 83 194 195 require_once( "$IP/includes/StreamFile.php" ); 196 $repo = new FSRepo( $wgConfirmAccountFSRepos['accountcreds'] );Comments.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 268 lines
33 * @package PHPExcel_Writer_Excel2007 34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel) 35 */ 49 if ($this->getParentWriter()->getUseDiskCaching()) { 50 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); 51 } else { 51 } else { 52 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); 53 } 129 if ($this->getParentWriter()->getUseDiskCaching()) { 130 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); 131 } else { 131 } else { 132 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); 133 }SM_MapPrinter.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 419 lines
1<?php 2 6 * 7 * @file SM_MapPrinter.php 8 * @ingroup SemanticMaps 50 /** 51 * (non-PHPdoc) 52 * @see SMWResultPrinter::readParameters() 271 /** 272 * Returns a PHP object to encode to JSON with the map data. 273 * 305 306 $jsonObj['title'] = $parser->parse( $jsonObj['title'], $parser->getTitle(), new ParserOptions() )->getText(); 307 $jsonObj['text'] = $parser->parse( $jsonObj['text'], $parser->getTitle(), new ParserOptions() )->getText();Item.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 447 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 126 $entryId = $this->getEntry()->getId(); 127 $published = $this->gBaseDate2DateTime($this->getEntry()->getPublished()->getText()); 128 $this->getItem() 391 if (is_array($attributeArr) && is_object($attributeArr[0])) { 392 return $attributeArr[0]->getText(); 393 }mo.php https://gitlab.com/VTTE/sitios-vtte | PHP | 349 lines
1<?php 2/** 4 * 5 * @version $Id: mo.php 1157 2015-11-20 04:30:11Z dd32 $ 6 * @package pomo 9 10require_once __DIR__ . '/translations.php'; 11require_once __DIR__ . '/streams.php'; 13if ( ! class_exists( 'MO', false ) ) : 14 class MO extends Gettext_Translations { 15 69 function export() { 70 $tmp_fh = fopen( 'php://temp', 'r+' ); 71 if ( ! $tmp_fh ) { 198 199 // bug in PHP 5.0.2, see https://savannah.nongnu.org/bugs/?func=detailitem&item_id=10565 200 $magic_little = (int) - 1794895138;GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 317 lines
1<?php 2/* 309 */ 310 public function getTextAnnotations() 311 {checkbox.php https://gitlab.com/florianocomercial/centreon | PHP | 277 lines
6 * 7 * PHP versions 4 and 5 8 * 10 * that is available through the world-wide-web at the following URI: 11 * http://www.php.net/license/3_01.txt If you did not receive a copy of 12 * the PHP License and are unable to obtain it through the web, please 12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 14 * 18 * @author Bertrand Mansion <bmansion@mamasam.com> 19 * @author Alexey Borzov <avb@php.net> 20 * @copyright 2001-2011 The PHP Group 20 * @copyright 2001-2011 The PHP Group 21 * @license http://www.php.net/license/3_01.txt PHP License 3.01 22 * @version CVS: $Id$PHPExcel_RichText_Run.html https://github.com/jameslarking/lark_utils.git | HTML | 385 lines
59 </a><br> 60 <a href="../PHPExcel_RichText/_PHPExcel---RichText---Run.php.html"> Run.php 61 </a><br> 61 </a><br> 62 <a href="../PHPExcel_RichText/_PHPExcel---RichText---TextElement.php.html"> TextElement.php 63 </a><br> 160 <dt> 161 <a href="../PHPExcel_RichText/PHPExcel_RichText_TextElement.html#methodgetText">PHPExcel_RichText_TextElement::getText()</a> 162 </dt> 229 230 Overrides <a href="../PHPExcel_RichText/PHPExcel_RichText_TextElement.html#method__construct">PHPExcel_RichText_TextElement::__construct()</a> (Create a new PHPExcel_RichText_TextElement instance)<br /><br /> 231 <h4>Parameters:</h4> 368 369 Overrides <a href="../PHPExcel_RichText/PHPExcel_RichText_TextElement.html#method__clone">PHPExcel_RichText_TextElement::__clone()</a> (Implement PHP __clone to create a deep clone, not just a shallow copy.)<br /><br /> 370 <div class="top">[ <a href="#top">Top</a> ]</div>agreement.php https://gitlab.com/alexprowars/bitrix | PHP | 585 lines
1<?php 2/** 316 { 317 return trim($this->getTitleFromText($this->getText())); 318 } 339 */ 340 public function getText($cutTitle = false) 341 { 380 381 $text = $this->intl->getText(); 382Tags.js https://gitlab.com/rsilveira1987/Expresso | JavaScript | 333 lines
63 deleteTag: function (button, event) { 64 Ext.MessageBox.confirm(this.translation.gettext('Confirm'), this.translation.gettext('Do you really want to delete the selected tags?'), function (button) { 65 if (button === 'yes') { 76 Ext.Ajax.request({ 77 url: 'index.php', 78 params: { 81 }, 82 text: this.translation.gettext('Deleting tag(s)...'), 83 success: function (result, request) { 92 initComponent: function () { 93 this.translation = new Locale.Gettext(); 94 this.translation.textdomain('Admin'); 96 this.actions.addTag = new Ext.Action({ 97 text: this.translation.gettext('Add Tag'), 98 handler: this.handlers.addTag,RunAsInternalServer.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 343 lines
56import javax.swing.event.DocumentListener; 57import org.netbeans.modules.php.project.PhpVisibilityQuery; 58import org.netbeans.modules.php.project.connections.ConfigManager; 61import org.netbeans.modules.php.project.ui.Utils; 62import org.netbeans.modules.php.project.ui.customizer.PhpProjectProperties; 63import org.netbeans.modules.php.project.ui.customizer.PhpProjectProperties.RunAsType; 101 PhpProjectProperties.HOSTNAME, 102 PhpProjectProperties.PORT, 103 PhpProjectProperties.ROUTER 144 value = RunConfigInternal.DEFAULT_HOSTNAME; 145 } else if (PhpProjectProperties.PORT.equals(propertyNames[i])) { 146 value = String.valueOf(RunConfigInternal.DEFAULT_PORT); 229 Mnemonics.setLocalizedText(noteLabel, NbBundle.getMessage(RunAsInternalServer.class, "RunAsInternalServer.noteLabel.text")); // NOI18N 230 Mnemonics.setLocalizedText(phpVersionInfoLabel, NbBundle.getMessage(RunAsInternalServer.class, "RunAsInternalServer.phpVersionInfoLabel.text")); // NOI18N 231NdkDebuggerTab.java https://github.com/CyanogenMod/android_sdk.git | Java | 311 lines
7 * 8 * http://www.eclipse.org/org/documents/epl-v10.php 9 * 222 // check gdb path 223 String gdb = mGdbPathText.getText().trim(); 224 if (!gdb.equals(NdkLaunchConstants.DEFAULT_GDB)) { 232 // check gdb init path 233 String gdbInit = mGdbInitPathText.getText().trim(); 234 if (!gdbInit.isEmpty()) { 242 // port should be a valid integer 243 String port = mGdbRemotePortText.getText().trim(); 244 try { 297 public void performApply(ILaunchConfigurationWorkingCopy config) { 298 config.setAttribute(NdkLaunchConstants.ATTR_NDK_GDB, mGdbPathText.getText().trim()); 299 config.setAttribute(IGDBLaunchConfigurationConstants.ATTR_GDB_INIT,StringTable.php https://gitlab.com/techniconline/kmc | PHP | 322 lines
69 !isset($aFlippedStringTable[$cellValue]) && 70 ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_STRING || $cell->getDataType() == PHPExcel_Cell_DataType::TYPE_STRING2 || $cell->getDataType() == PHPExcel_Cell_DataType::TYPE_NULL) 71 ) { 85 } else { 86 throw new PHPExcel_Writer_Exception("Invalid PHPExcel_Worksheet object passed."); 87 } 104 } else { 105 $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); 106 } 218 $objWriter->writeAttribute('xml:space', 'preserve'); 219 $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML($element->getText())); 220 $objWriter->endElement(); 291// $objWriter->writeAttribute('xml:space', 'preserve'); // Excel2010 accepts, Excel2007 complains 292 $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML($element->getText())); 293 $objWriter->endElement();