PageRenderTime 516ms queryTime 29ms sortTime 7ms getByIdsTime 254ms findMatchingLines 129ms

100+ results results for 'php gettext' (516 ms)

Not the results you expected?
Comments.php https://PHPExcel.svn.codeplex.com/svn | PHP | 305 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';
                    
60
                    
                
gettext.c git://github.com/vpj/PHP-Extension-API.git | C | 392 lines
                    
96	PHP_NAMED_FE(textdomain,		zif_textdomain,		arginfo_textdomain)
                    
97	PHP_NAMED_FE(gettext,			zif_gettext,		arginfo_gettext)
                    
98	/* Alias for gettext() */
                    
100	PHP_NAMED_FE(dgettext,			zif_dgettext,		arginfo_dgettext)
                    
101	PHP_NAMED_FE(dcgettext,			zif_dcgettext,		arginfo_dcgettext)
                    
102	PHP_NAMED_FE(bindtextdomain,	zif_bindtextdomain,	arginfo_bindtextdomain)
                    
103#if HAVE_NGETTEXT
                    
104	PHP_NAMED_FE(ngettext,			zif_ngettext,		arginfo_ngettext)
                    
105#endif
                    
106#if HAVE_DNGETTEXT
                    
107	PHP_NAMED_FE(dngettext,			zif_dngettext,		arginfo_dngettext)
                    
108#endif
                    
109#if HAVE_DCNGETTEXT
                    
110	PHP_NAMED_FE(dcngettext,		zif_dcngettext,		arginfo_dcngettext)
                    
111#endif
                    
                
const.py.in git://pkgs.fedoraproject.org/gramps | Autoconf | 304 lines
                    
35import uuid
                    
36from gen.ggettext import sgettext as _
                    
37
                    
56URL_MAILINGLIST = "http://sourceforge.net/mail/?group_id=25770"
                    
57URL_BUGTRACKER  = "http://bugs.gramps-project.org/bug_report_advanced_page.php"
                    
58URL_WIKISTRING  = "http://gramps-project.org/wiki/index.php?title="
                    
                
myocamlbuild.ml git://github.com/avsm/ocaml-workflow.git | OCaml | 478 lines
                    
2(* DO NOT EDIT (digest: 3d509b8593bfa52700d4c5a29c88b0f2) *)
                    
3module OASISGettext = struct
                    
4# 21 "/Users/avsm/src/darcs/oasis/src/oasis/OASISGettext.ml"
                    
30  
                    
31  open OASISGettext
                    
32  
                    
217  (** OCamlbuild extension, copied from 
                    
218    * http://brion.inria.fr/gallium/index.php/Using_ocamlfind_with_ocamlbuild
                    
219    * by N. Pouillard and others
                    
                
xcm.c git://pkgs.fedoraproject.org/xcm | C | 462 lines
                    
6 *  @par License: 
                    
7 *             MIT <http://www.opensource.org/licenses/mit-license.php>
                    
8 *  @par Copyright:
                    
104
                    
105#ifdef USE_GETTEXT
                    
106  setlocale(LC_ALL,"");
                    
449  else
                    
450    t = oyProfile_GetText( p, oyNAME_DESCRIPTION );
                    
451
                    
                
PHPWebdriverTest.php http://php-webdriver-bindings.googlecode.com/svn/trunk/ | PHP | 282 lines
                    
1<?php
                    
2
                    
2
                    
3if(is_file('../definedVars.php')) require_once '../definedVars.php';
                    
4require_once 'phpwebdriver/WebDriver.php';
                    
11 */
                    
12class PHPWebDriverTest extends PHPUnit_Framework_TestCase {
                    
13
                    
153        $this->assertNotNull($option3);
                    
154        $this->assertEquals($option3->getText(), "option 3");
                    
155        $this->assertFalse($option3->isSelected());
                    
160        $this->assertNotNull($option2);
                    
161        $this->assertEquals($option2->getText(), "option 2");
                    
162        $this->assertFalse($option2->isSelected());
                    
198        $this->assertNotNull($options[2]);
                    
199        $this->assertEquals($options[2]->getText(), "option 3");
                    
200        $this->assertFalse($options[2]->isSelected());
                    
                
namespace_zend___translate.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 90 lines
                    
37<dl class="version"><dt><b>Version:</b></dt><dd></dd></dl>
                    
38<dl class="rcs"><dt><b>Id:</b></dt><dd><a class="el" href="_array_8php_source.html">Array.php</a> 16971 2009-07-22 18:05:45Z mikaelkael </dd></dl>
                    
39<p><a href="http://framework.zend.com/license/new-bsd">http://framework.zend.com/license/new-bsd</a> New BSD License</p>
                    
42<dl class="version"><dt><b>Version:</b></dt><dd></dd></dl>
                    
43<dl class="rcs"><dt><b>Id:</b></dt><dd><a class="el" href="_csv_8php_source.html">Csv.php</a> 16971 2009-07-22 18:05:45Z mikaelkael </dd></dl>
                    
44<p><a href="http://framework.zend.com/license/new-bsd">http://framework.zend.com/license/new-bsd</a> New BSD License</p>
                    
46<dl class="version"><dt><b>Version:</b></dt><dd></dd></dl>
                    
47<dl class="rcs"><dt><b>Id:</b></dt><dd><a class="el" href="_gettext_8php_source.html">Gettext.php</a> 16971 2009-07-22 18:05:45Z mikaelkael </dd></dl>
                    
48<p><a href="http://framework.zend.com/license/new-bsd">http://framework.zend.com/license/new-bsd</a> New BSD License</p>
                    
50<dl class="version"><dt><b>Version:</b></dt><dd></dd></dl>
                    
51<dl class="rcs"><dt><b>Id:</b></dt><dd><a class="el" href="_ini_8php_source.html">Ini.php</a> 16971 2009-07-22 18:05:45Z mikaelkael </dd></dl>
                    
52<p><a href="http://framework.zend.com/license/new-bsd">http://framework.zend.com/license/new-bsd</a> New BSD License</p>
                    
54<dl class="version"><dt><b>Version:</b></dt><dd></dd></dl>
                    
55<dl class="rcs"><dt><b>Id:</b></dt><dd><a class="el" href="_qt_8php_source.html">Qt.php</a> 16971 2009-07-22 18:05:45Z mikaelkael </dd></dl>
                    
56<p><a href="http://framework.zend.com/license/new-bsd">http://framework.zend.com/license/new-bsd</a> New BSD License</p>
                    
                
myocamlbuild.ml git://github.com/mirage/dyntype.git | OCaml | 492 lines
                    
2(* DO NOT EDIT (digest: cd27d1904e2a31d98f2badf0b91b9a83) *)
                    
3module OASISGettext = struct
                    
4# 21 "/Users/avsm/.opam/system/build/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 others
                    
                
sk_basic_plugins.php http://spam-karma.googlecode.com/svn/trunk/ | PHP | 253 lines
                    
1<?php
                    
2/**********************************************************************************************
                    
14************************************************************************************************/
                    
15?><?php
                    
16// Basic plugins
                    
75		{
                    
76			$log = sprintf(__ngettext("Comment %s contains %d <em>double</em> entity", "Comment %s contains %d <em>double</em> entities ", $double_entities, 'spam-karma'), $part, $double_entities) . " " . sprintf(__ngettext("and one regular entity coding for a letter (%d total).", " and %d regular entities coding for a letter (%d total).", $letter_entities, 'spam-karma'), $letter_entities, $total);
                    
77			$hit = $double_entities * 5 + $letter_entities *2;
                    
80		{
                    
81			$log = sprintf(__ngettext("Comment %s contains %d entity coding for a letter (%d total).", "Comment one contains %d entities coding for a letter (%d total).", $letter_entities), $part, $letter_entities, $total, 'spam-karma');
                    
82			$hit = 1+ $letter_entities * 2;
                    
                
myocamlbuild.ml git://github.com/aryx/fork-ocsigen.git | OCaml | 504 lines
                    
2(* DO NOT EDIT (digest: 57d442fc143376898ea3250036016f41) *)
                    
3module OASISGettext = struct
                    
4# 21 "/home/dim/sources/oasis/src/oasis/OASISGettext.ml"
                    
30  
                    
31  open OASISGettext
                    
32  
                    
217  (** OCamlbuild extension, copied from 
                    
218    * http://brion.inria.fr/gallium/index.php/Using_ocamlfind_with_ocamlbuild
                    
219    * by N. Pouillard and others
                    
                
BrowserHandler.java http://websecuritynotebook.googlecode.com/svn/trunk/ | Java | 295 lines
                    
4 * 
                    
5 * http://www.opensource.org/licenses/bsd-license.php
                    
6 * 
                    
114        public Object construct() {
                    
115            BrowserHandler.this.handleCommand(BrowserHandler.this.commandField.getText());
                    
116            return "" + Thread.currentThread();
                    
278        final SystemSettingsBean proxySettings = new SystemSettingsBean(SystemSettingsBean.USER_AGENT, false, "proxy", 9999);
                    
279        final ConnectSettingsBean connectSettings = new ConnectSettingsBean(this.urlField.getText());
                    
280        this.history.addConnectInfo(connectSettings);
                    
                
Manager.js https://hg.codeplex.com/hackathon | JavaScript | 464 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 #745
                    
                
_column_bar_8php_source.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 144 lines
                    
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
                    
5<title>openbiz: E:/E/GEAMP/www/openbiz/openbiz/bin/easy/element/ColumnBar.php Source File</title>
                    
6<link href="tabs.css" rel="stylesheet" type="text/css"/>
                    
27  <div class="headertitle">
                    
28<h1>E:/E/GEAMP/www/openbiz/openbiz/bin/easy/element/ColumnBar.php</h1>  </div>
                    
29</div>
                    
30<div class="contents">
                    
31<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?php 
                    
32<a name="l00002"></a>00002 include_once(<span class="stringliteral">&quot;ColumnText.php&quot;</span>);
                    
51<a name="l00021"></a><a class="code" href="class_column_bar.html#afde88292c44dc59faf017738dae6dffb">00021</a>     <span class="keyword">public</span> function <a class="code" href="class_column_bar.html#afde88292c44dc59faf017738dae6dffb">render</a>(){
                    
52<a name="l00022"></a>00022        $value = $this-&gt;m_Text ? $this-&gt;<a class="code" href="class_label_text.html#a8a2999b1d846c0a7bc77187e28facd99">getText</a>() : $this-&gt;m_Value;
                    
53<a name="l00023"></a>00023        <span class="keywordflow">if</span>($this-&gt;m_Color)
                    
                
TextViewWrapper.cs https://Phalanger.svn.codeplex.com/svn | C# | 328 lines
                    
20
                    
21namespace PHP.VisualStudio.PhalangerLanguageService {
                    
22    internal class TextViewWrapper : IVsTextView, IConnectionPointContainer {
                    
189
                    
190        public int GetTextStream(int iTopLine, int iTopCol, int iBottomLine, int iBottomCol, out string pbstrText) {
                    
191            throw new NotImplementedException();
                    
                
jpgraph_text.inc.php http://mcmis.googlecode.com/svn/trunk/ | PHP | 303 lines
                    
1<?php
                    
2//=======================================================================
                    
2//=======================================================================
                    
3// File:        JPGRAPH_TEXT.INC.PHP
                    
4// Description: Class to handle text as object in the graph.
                    
6// Created:     2001-01-08 (Refactored to separate file 2008-08-01)
                    
7// Ver:         $Id: jpgraph_text.inc.php,v 1.1.1.1 2010-10-26 21:13:51 peter Exp $
                    
8//
                    
174        $aImg->SetFont($this->font_family,$this->font_style,$this->font_size);
                    
175        $w = $aImg->GetTextWidth($this->t,$this->dir);
                    
176        return $w;
                    
186
                    
187    function GetTextHeight($aImg) {
                    
188        $aImg->SetFont($this->font_family,$this->font_style,$this->font_size);
                    
188        $aImg->SetFont($this->font_family,$this->font_style,$this->font_size);
                    
189        $h = $aImg->GetTextHeight($this->t,$this->dir);
                    
190        return $h;
                    
                
ActionScriptsPage.java http://raptor-chess-interface.googlecode.com/svn/trunk/ | Java | 335 lines
                    
2 * New BSD License
                    
3 * http://www.opensource.org/licenses/bsd-license.php
                    
4 * Copyright 2009-2011 RaptorProject (http://code.google.com/p/raptor-chess-interface/)
                    
98						String selection = scriptedActionsTable.getTable()
                    
99								.getItem(selectedIndex).getText(0);
                    
100						loadControls(selection);
                    
185				ScriptEditorDialog dialog = new ScriptEditorDialog(getShell(),
                    
186						local.getString("edScr") + nameText.getText());
                    
187				dialog.setInput(scriptText.getText());
                    
213				RaptorAction action = ActionScriptService.getInstance()
                    
214						.getAction(nameText.getText());
                    
215				if (action != null && action.isSystemAction()) {
                    
220							local.getString("actScrPAlert2")
                    
221									+ nameText.getText());
                    
222				} else {
                    
                
ClarifiedTopology.py https://bitbucket.org/clarifiednetworks/graphingwiki/ | Python | 430 lines
                    
7    @copyright: 2008 by Juhani Eronen <exec@iki.fi>
                    
8    @license: MIT <http://www.opensource.org/licenses/mit-license.php>
                    
9
                    
72
                    
73    _ = request.getText
                    
74
                    
398    request = macro.request
                    
399    _ = request.getText
                    
400
                    
                
cataloging.php https://bitbucket.org/mstetson/obiblio/ | PHP | 150 lines
                    
60 &nbsp; &nbsp; <a href="../catalog/biblio_marc_list.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("catalogBibEditMarc");?></a><br>
                    
61 &nbsp; &nbsp; <a href="../catalog/biblio_history.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("History");?></a><br>
                    
62 &nbsp; &nbsp; <a href="../catalog/biblio_copy_new_form.php?bibid=<?php echo HURL($bibid);?>&reset=Y" class="alt1"><?php echo $navLoc->getText("catalogCopyNew");?></a><br>
                    
106 &nbsp; &nbsp; <a href="../catalog/biblio_edit.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("catalogBibEdit");?></a><br>
                    
107 &nbsp; &nbsp; <a href="../catalog/biblio_marc_list.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("catalogBibEditMarc");?></a><br>
                    
108 &nbsp; &nbsp; &raquo; <?php echo $navLoc->getText("History");?><br>
                    
108 &nbsp; &nbsp; &raquo; <?php echo $navLoc->getText("History");?><br>
                    
109 &nbsp; &nbsp; <a href="../catalog/biblio_copy_new_form.php?bibid=<?php echo HURL($bibid);?>&reset=Y" class="alt1"><?php echo $navLoc->getText("catalogCopyNew");?></a><br>
                    
110 &nbsp; &nbsp; <a href="../catalog/biblio_hold_list.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("catalogHolds");?></a><br>
                    
110 &nbsp; &nbsp; <a href="../catalog/biblio_hold_list.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("catalogHolds");?></a><br>
                    
111 &nbsp; &nbsp; <a href="../catalog/biblio_del_confirm.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("catalogDelete");?></a><br>
                    
112 &nbsp; &nbsp; <a href="../catalog/biblio_new_like.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("catalogBibNewLike");?></a><br>
                    
131 &nbsp; &nbsp; <a href="../catalog/biblio_copy_new_form.php?bibid=<?php echo HURL($bibid);?>&reset=Y" class="alt1"><?php echo $navLoc->getText("catalogCopyNew");?></a><br>
                    
132 &nbsp; &nbsp; <a href="../catalog/biblio_hold_list.php?bibid=<?php echo HURL($bibid);?>" class="alt1"><?php echo $navLoc->getText("catalogHolds");?></a><br>
                    
133 &nbsp; &nbsp; &raquo; <?php echo $navLoc->getText("catalogDelete");?><br>
                    
                
ID3_Frame_ISRC.html http://xepec.googlecode.com/svn/trunk/ | HTML | 217 lines
                    
25	<div class="info-box-body">
                    
26        		<!-- ========== Info from phpDoc block ========= -->
                    
27<p class="short-description">The <em>ISRC</em> frame should contain the International Standard Recording  Code (12 characters).</p>
                    
30				<li><span class="field">version:</span> $Rev: 65 $</li>
                    
31				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
                    
32				<li><span class="field">license:</span> <a href="http://code.google.com/p/php-reader/wiki/License">New BSD License</a></li>
                    
34		<p class="notes">
                    
35			Located in <a class="field" href="_ID3---Frame---TSRC.php.html">/ID3/Frame/TSRC.php</a> (line <span class="field">53</span>)
                    
36		</p>
                    
116													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetEncoding">ID3_Frame_AbstractText::getEncoding()</a></span><br>
                    
117													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetText">ID3_Frame_AbstractText::getText()</a></span><br>
                    
118													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetTexts">ID3_Frame_AbstractText::getTexts()</a></span><br>
                    
213	<p class="notes" id="credit">
                    
214		Documentation generated on Thu, 01 Jan 2009 14:59:59 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
                    
215	</p>
                    
                
wevalgraph.c git://git.savannah.gnu.org/xboard.git | C | 316 lines
                    
92	SetBkMode( hdcPB, TRANSPARENT );
                    
93        GetTextExtentPoint32( hdcPB, buf, cbBuf, &stSize );
                    
94        TextOut( hdcPB, MarginX - stSize.cx - 2, y - stSize.cy / 2, buf, cbBuf );
                    
165// as well hae been destroyed. While it is open it processes the REFRESH_GRAPH commands.
                    
166LRESULT CALLBACK EvalGraphProc( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam )
                    
167{
                    
239    case WM_CLOSE:
                    
240        EvalGraphPopDown();
                    
241        break;
                    
259// creates the eval graph, or unhides it.
                    
260VOID EvalGraphPopUp()
                    
261{
                    
276
                    
277    lpProc = MakeProcInstance( (FARPROC) EvalGraphProc, hInst );
                    
278
                    
                
Configuration.cs https://php4vs.svn.codeplex.com/svn | C# | 120 lines
                    
16using Microsoft.VisualStudio.TextManager.Interop;
                    
17using dragonangel.phpProject.Language.DSL.Parser;
                    
18
                    
22    {
                    
23        public const string Name = "PhpFile";
                    
24        public const string Extension = ".php";
                    
28
                    
29        public static string GetText(this IVsTextView view, int line, int col)
                    
30        {
                    
31            string text;
                    
32            view.GetTextStream(line, 0, line, col, out text);
                    
33            return text;
                    
50
                    
51            TokenColor phpCode = CreateColor("phpCode", COLORINDEX.CI_RED, COLORINDEX.CI_USERTEXT_BK);
                    
52            TokenColor variableColor = CreateColor("Variable", COLORINDEX.CI_DARKBLUE, COLORINDEX.CI_USERTEXT_BK, true, false);
                    
                
ComboBox.js https://hg.codeplex.com/hackathon | JavaScript | 492 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();
                    
                
Makefile http://luafltk.googlecode.com/svn/trunk/ | Makefile | 312 lines
                    
24#
                    
25#      http://www.fltk.org/str.php
                    
26#
                    
107		$(SRC_DOCDIR)/fluid-catgets.gif \
                    
108		$(SRC_DOCDIR)/fluid-gettext.gif \
                    
109		$(SRC_DOCDIR)/fluid-org.gif \
                    
167		$(SRC_DOCDIR)/fluid-catgets.eps \
                    
168		$(SRC_DOCDIR)/fluid-gettext.eps \
                    
169		$(SRC_DOCDIR)/fluid-org.eps \
                    
                
edit-comments.php http://core.svn.wordpress.org/ | PHP | 246 lines
                    
73		if ( $approved > 0 ) {
                    
74			printf( __ngettext( '%s comment approved', '%s comments approved', $approved ), $approved );
                    
75			echo '<br />';
                    
128<ul class="view-switch">
                    
129	<li <?php if ( 'detail' == $mode ) echo "class='current'" ?>><a href="<?php echo clean_url(add_query_arg('mode', 'detail', $_SERVER['REQUEST_URI'])) ?>"><?php _e('Detail View') ?></a></li>
                    
130	<li <?php if ( 'list' == $mode ) echo "class='current'" ?>><a href="<?php echo clean_url(add_query_arg('mode', 'list', $_SERVER['REQUEST_URI'])) ?>"><?php _e('List View') ?></a></li>
                    
168<?php endif; ?>
                    
169<input type="submit" value="<?php _e('Mark as Spam'); ?>" name="spamit" class="button-secondary" />
                    
170<?php if ( 'moderated' != $comment_status ): ?>
                    
235<div class="tablenav">
                    
236<?php
                    
237if ( $page_links )
                    
244
                    
245<?php include('admin-footer.php'); ?>
                    
246
                    
                
poll-edit.php http://pacercms.googlecode.com/svn/trunk/ | PHP | 228 lines
                    
131
                    
132<h2><a href="<?php echo "$pmodule.php"; ?>"><?php echo gettext("Poll Manager"); ?></a></h2>
                    
133<form action="<?php echo "$module.php?action=$mode"; ?>" method="post">
                    
134  <fieldset class="<?php echo "$module-form"; ?>">
                    
135  <legend><?php echo gettext("Question Editor"); ?></legend>
                    
136  <div class="sidebar">
                    
199  <p>
                    
200    <label for="r10"><?php echo gettext("Option 10"); ?></label>
                    
201    <br />
                    
216<div id="deleteRecord">
                    
217  <form action="<?php echo "$module.php?action=delete"; ?>" method="post">
                    
218    <fieldset class="<?php echo "$module-delete" ?>">
                    
218    <fieldset class="<?php echo "$module-delete" ?>">
                    
219    <legend><?php echo gettext("Confirm Delete"); ?></legend>
                    
220    <p><?php echo gettext("Are you sure you want to delete this poll and associated ballots?"); ?></p>
                    
                
myocamlbuild.ml git://github.com/camlunity/ocaml-quickcheck.git | OCaml | 505 lines
                    
2(* DO NOT EDIT (digest: 451463d086dd42414e7526f53b169728) *)
                    
3module OASISGettext = struct
                    
4(* # 21 "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 others
                    
                
class.I18NtranslatorGettext.inc.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 170 lines
                    
13* @author Michael Wimmer <flaimo@gmail.com>
                    
14* @category flaimo-php
                    
15* @example  ../www_root/i18n_example_script.php  i18n example script
                    
16* @license GNU General Public License v3
                    
17* @link http://code.google.com/p/flaimo-php/
                    
18* @package i18n
                    
41	* @uses I18NtranslatorBase::__construct()
                    
42	* @uses I18NtranslatorGettext::setGettext()
                    
43	* @return void
                    
98	* loads the gettext data
                    
99	* @uses I18NtranslatorGettext::$gettext_loaded
                    
100	* @uses I18NtranslatorBase::getTranslatorLocale()
                    
154	* @return boolean
                    
155	* @deprecated not possible with gettext
                    
156	*/
                    
                
DbMonGui.java http://jmeter-plugins.googlecode.com/svn/trunk/ | Java | 238 lines
                    
47        setGranulation(1000);
                    
48        graphPanel.getGraphObject().setYAxisLabel("Query results");
                    
49        graphPanel.getGraphObject().getChartSettings().setExpendRows(true);
                    
78    @Override
                    
79    protected JPanel getGraphPanelContainer() {
                    
80        JPanel panel = new JPanel(new BorderLayout());
                    
109        String newLine = "";
                    
110        if (errorTextArea.getText().length() != 0) {
                    
111            newLine = "\n";
                    
112        }
                    
113        errorTextArea.setText(errorTextArea.getText() + newLine + formatter.format(time) + " - ERROR: " + msg);
                    
114        errorTextArea.setCaretPosition(errorTextArea.getDocument().getLength());
                    
                
ID3_Frame_TOLY.html http://xepec.googlecode.com/svn/trunk/ | HTML | 217 lines
                    
25	<div class="info-box-body">
                    
26        		<!-- ========== Info from phpDoc block ========= -->
                    
27<p class="short-description">The <em>Original lyricist/text writer</em> frame is intended for the text  writer of the original recording, if for example the music in the file should  be a cover of a previously released song.</p>
                    
30				<li><span class="field">version:</span> $Rev: 65 $</li>
                    
31				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
                    
32				<li><span class="field">license:</span> <a href="http://code.google.com/p/php-reader/wiki/License">New BSD License</a></li>
                    
34		<p class="notes">
                    
35			Located in <a class="field" href="_ID3---Frame---TOLY.php.html">/ID3/Frame/TOLY.php</a> (line <span class="field">54</span>)
                    
36		</p>
                    
116													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetEncoding">ID3_Frame_AbstractText::getEncoding()</a></span><br>
                    
117													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetText">ID3_Frame_AbstractText::getText()</a></span><br>
                    
118													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetTexts">ID3_Frame_AbstractText::getTexts()</a></span><br>
                    
213	<p class="notes" id="credit">
                    
214		Documentation generated on Thu, 01 Jan 2009 14:59:52 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
                    
215	</p>
                    
                
ID3_Frame_TSIZ.html http://xepec.googlecode.com/svn/trunk/ | HTML | 218 lines
                    
25	<div class="info-box-body">
                    
26        		<!-- ========== Info from phpDoc block ========= -->
                    
27<p class="short-description">The <em>Size</em> frame contains the size of the audiofile in bytes, excluding  the ID3v2 tag, represented as a numeric string.</p>
                    
30				<li><span class="field">version:</span> $Rev: 75 $</li>
                    
31				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
                    
32				<li><span class="field">deprecated:</span> ID3v2.3.0</li>
                    
35		<p class="notes">
                    
36			Located in <a class="field" href="_ID3---Frame---TSIZ.php.html">/ID3/Frame/TSIZ.php</a> (line <span class="field">55</span>)
                    
37		</p>
                    
117													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetEncoding">ID3_Frame_AbstractText::getEncoding()</a></span><br>
                    
118													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetText">ID3_Frame_AbstractText::getText()</a></span><br>
                    
119													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetTexts">ID3_Frame_AbstractText::getTexts()</a></span><br>
                    
214	<p class="notes" id="credit">
                    
215		Documentation generated on Thu, 01 Jan 2009 14:59:58 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
                    
216	</p>
                    
                
ID3_Frame_TIPL.html http://xepec.googlecode.com/svn/trunk/ | HTML | 218 lines
                    
25	<div class="info-box-body">
                    
26        		<!-- ========== Info from phpDoc block ========= -->
                    
27<p class="short-description">The <em>Involved people list</em> is very similar to the musician credits list,  but maps between functions, like producer, and names.</p>
                    
30				<li><span class="field">version:</span> $Rev: 65 $</li>
                    
31				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
                    
32				<li><span class="field">since:</span> ID3v2.4.0</li>
                    
35		<p class="notes">
                    
36			Located in <a class="field" href="_ID3---Frame---TIPL.php.html">/ID3/Frame/TIPL.php</a> (line <span class="field">55</span>)
                    
37		</p>
                    
117													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetEncoding">ID3_Frame_AbstractText::getEncoding()</a></span><br>
                    
118													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetText">ID3_Frame_AbstractText::getText()</a></span><br>
                    
119													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetTexts">ID3_Frame_AbstractText::getTexts()</a></span><br>
                    
214	<p class="notes" id="credit">
                    
215		Documentation generated on Thu, 01 Jan 2009 14:59:48 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
                    
216	</p>
                    
                
ID3_Frame_TMOO.html http://xepec.googlecode.com/svn/trunk/ | HTML | 218 lines
                    
25	<div class="info-box-body">
                    
26        		<!-- ========== Info from phpDoc block ========= -->
                    
27<p class="short-description">The <em>Mood</em> frame is intended to reflect the mood of the audio with a few  keywords, e.g. &quot;Romantic&quot; or &quot;Sad&quot;.</p>
                    
30				<li><span class="field">version:</span> $Rev: 65 $</li>
                    
31				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
                    
32				<li><span class="field">since:</span> ID3v2.4.0</li>
                    
35		<p class="notes">
                    
36			Located in <a class="field" href="_ID3---Frame---TMOO.php.html">/ID3/Frame/TMOO.php</a> (line <span class="field">55</span>)
                    
37		</p>
                    
117													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetEncoding">ID3_Frame_AbstractText::getEncoding()</a></span><br>
                    
118													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetText">ID3_Frame_AbstractText::getText()</a></span><br>
                    
119													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetTexts">ID3_Frame_AbstractText::getTexts()</a></span><br>
                    
214	<p class="notes" id="credit">
                    
215		Documentation generated on Thu, 01 Jan 2009 14:59:51 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
                    
216	</p>
                    
                
ID3_Frame_TOPE.html http://xepec.googlecode.com/svn/trunk/ | HTML | 217 lines
                    
25	<div class="info-box-body">
                    
26        		<!-- ========== Info from phpDoc block ========= -->
                    
27<p class="short-description">The <em>Original artist/performer</em> frame is intended for the performer of  the original recording, if for example the music in the file should be a  cover of a previously released song.</p>
                    
30				<li><span class="field">version:</span> $Rev: 65 $</li>
                    
31				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
                    
32				<li><span class="field">license:</span> <a href="http://code.google.com/p/php-reader/wiki/License">New BSD License</a></li>
                    
34		<p class="notes">
                    
35			Located in <a class="field" href="_ID3---Frame---TOPE.php.html">/ID3/Frame/TOPE.php</a> (line <span class="field">54</span>)
                    
36		</p>
                    
116													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetEncoding">ID3_Frame_AbstractText::getEncoding()</a></span><br>
                    
117													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetText">ID3_Frame_AbstractText::getText()</a></span><br>
                    
118													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetTexts">ID3_Frame_AbstractText::getTexts()</a></span><br>
                    
213	<p class="notes" id="credit">
                    
214		Documentation generated on Thu, 01 Jan 2009 14:59:52 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
                    
215	</p>
                    
                
UserSystemGiftsClass.php http://semantic-social-profile.googlecode.com/svn/trunk/ | PHP | 422 lines
                    
1<?php
                    
2/**
                    
23		$title1 = Title::newFromDBkey( $username );
                    
24		$this->user_name = $title1->getText();
                    
25		$this->user_id = User::idFromName( $this->user_name );
                    
281	 * data. If that fails, the count is fetched from the database.
                    
282	 * UserWelcome.php calls this function.
                    
283	 *
                    
                
spec_select.html http://phpfor.googlecode.com/svn/trunk/ | HTML | 138 lines
                    
54            var dialog=this.getParent('.dialog');
                    
55            var addSpecdialog= new Dialog('index.php?ctl=goods/specification&act=addSpec',{title:'????',onLoad:function(){
                    
56            
                    
102				}
                    
103			}).send('index.php?ctl=goods/specification&act=selSpec');
                    
104		});
                    
118                                ||li.title.contains(value.trim())
                    
119                                ||$E('label',li).getText().contains(value.trim());
                    
120                    
                    
                
Excel5.php https://PHPExcel.svn.codeplex.com/svn | PHP | 363 lines
                    
29/** PHPExcel_IWriter */
                    
30require_once 'PHPExcel/Writer/IWriter.php';
                    
31
                    
32/** PHPExcel_Cell */
                    
33require_once 'PHPExcel/Cell.php';
                    
34
                    
35/** PHPExcel_Writer_Excel5_Writer */
                    
36require_once 'PHPExcel/Writer/Excel5/Writer.php';
                    
37
                    
38/** PHPExcel_RichText */
                    
39require_once 'PHPExcel/RichText.php';
                    
40
                    
66	 *
                    
67	 * @param 	PHPExcel	$phpExcel	PHPExcel object
                    
68	 */
                    
                
TellTarget.lua http://prat.googlecode.com/svn/trunk/ | Lua | 196 lines
                    
35             ChatFrameExtender by Satrina
                    
36Website: http://www.wowace.com/files/index.php?path=Prat/
                    
37Documentation: http://www.wowace.com/wiki/Prat/Integrated_Modules#TellTarget
                    
158function module:OnTextChanged(editBox, ...)
                    
159    local command, msg = editBox:GetText():match("^(/%S+)%s(.*)$")
                    
160    if command == "/tt" or command == L["/tt"] then
                    
                
sqWin32NativeFontPlugin.c http://openqwaq.googlecode.com/svn/trunk/ | C | 429 lines
                    
11 * except in compliance with the License. A copy of the License is
                    
12 * available at http://www.opensource.org/licenses/gpl-2.0.php.
                    
13 *
                    
125		}
                    
126		GetTextMetrics(hDC, &(fontCache[fontIndex].textMetric));
                    
127		nKernPairs = GetKerningPairs(hDC, 0, NULL);
                    
                
SpecialRemoveRelationship.php http://semantic-social-profile.googlecode.com/svn/trunk/ | PHP | 192 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * Example URL: /index.php?title=Special:RemoveRelationship&user=Awrigh01
                    
6 *
                    
45
                    
46		$this->user_name_to = $usertitle->getText();
                    
47		$this->user_id_to = User::idFromName( $this->user_name_to );
                    
71			<div>
                    
72				<input type="button" class="site-button" value="' . wfMsg( 'ur-main-page' ) . '" size="20" onclick=\'window.location="index.php?title=' . wfMsgForContent( 'mainpage' ) . '"\' />';
                    
73			if ( $wgUser->isLoggedIn() ) {
                    
84			<div>
                    
85				<input type="button" class="site-button" value="' . wfMsg( 'ur-main-page' ) . '" size="20" onclick=\'window.location="index.php?title="' . wfMsgForContent( 'mainpage' ) . '"\' />';
                    
86			if ( $wgUser->isLoggedIn() ) {
                    
97			<div>
                    
98				<input type="button" class="site-button" value="' . wfMsg( 'ur-main-page' ) . '" size="20" onclick=\'window.location="index.php?title="' . wfMsgForContent( 'mainpage' ) . '"\' />';
                    
99			if ( $wgUser->isLoggedIn() ) {
                    
                
ComposePresenter.php https://code.google.com/p/celebrio/ | PHP | 315 lines
                    
1<?php
                    
2
                    
191                ->addRule(Form::FILLED, _('Please write your message.'))
                    
192                ->setDefaultValue($draft->getText())
                    
193                ->setHtmlId("resizable_textarea");
                    
                
bin_2util_2block_8t_8php_source.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 120 lines
                    
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
                    
5<title>openbiz: E:/E/GEAMP/www/openbiz/openbiz/bin/util/block.t.php Source File</title>
                    
6<link href="tabs.css" rel="stylesheet" type="text/css"/>
                    
28  <div class="headertitle">
                    
29<h1>E:/E/GEAMP/www/openbiz/openbiz/bin/util/block.t.php</h1>  </div>
                    
30</div>
                    
31<div class="contents">
                    
32<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?php
                    
33<a name="l00038"></a>00038 function smarty_gettext_strarg($str)
                    
77<a name="l00097"></a>00097        <span class="comment">/*if (isset($count) &amp;&amp; isset($plural)) {</span>
                    
78<a name="l00098"></a>00098 <span class="comment">              $text = ngettext($text, $plural, $count);</span>
                    
79<a name="l00099"></a>00099 <span class="comment">       } else { // use normal</span>
                    
79<a name="l00099"></a>00099 <span class="comment">       } else { // use normal</span>
                    
80<a name="l00100"></a>00100 <span class="comment">              $text = gettext($text);</span>
                    
81<a name="l00101"></a>00101 <span class="comment">       }*/</span>
                    
                
mdb.php git://pkgs.fedoraproject.org/php-pear-Cache | 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     |
                    
                
consts.py git://pkgs.fedoraproject.org/decibel-audio-player | Python | 224 lines
                    
20
                    
21from gettext import gettext as _
                    
22
                    
38urlMain = 'http://decibel.silent-blade.org'
                    
39urlHelp = 'http://decibel.silent-blade.org/index.php?n=Main.Help'
                    
40
                    
                
Ajax.java http://gwtquery.googlecode.com/svn/trunk/ | Java | 421 lines
                    
88    Properties properties = $$("dataType: xml, type: post; data: {q: 'gwt'}, headers: {X-Powered-By: GQuery}");
                    
89    ajax("test.php", new Function() {
                    
90      public void f() {
                    
139          if (onError != null) {
                    
140            onError.fe(response.getText(), "error", request, response);
                    
141          }
                    
145            if ("xml".equalsIgnoreCase(dataType)) {
                    
146              retData = JsUtils.parseXML(response.getText());
                    
147            } else if ("json".equalsIgnoreCase(dataType)) {
                    
147            } else if ("json".equalsIgnoreCase(dataType)) {
                    
148              retData = JsUtils.parseJSON(response.getText());
                    
149            } else {
                    
149            } else {
                    
150              retData = response.getText();
                    
151            }
                    
                
Lyrics3v2Field.java git://github.com/tulskiy/musique.git | Java | 216 lines
                    
17 *  You should have received a copy of the GNU Lesser General Public License along with this library; if not,
                    
18 *  you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
                    
19 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
                    
77        } else if (frameIdentifier.startsWith("COMM")) {
                    
78            text = ((FrameBodyCOMM) frame.getBody()).getText();
                    
79            frameBody = new FieldFrameBodyINF(text);
                    
82            frameBody = new FieldFrameBodyAUT("");
                    
83            if ((textFrame != null) && (textFrame.getText().length() > 0)) {
                    
84                frameBody = new FieldFrameBodyAUT(textFrame.getText());
                    
87            textFrame = (AbstractFrameBodyTextInfo) frame.getBody();
                    
88            if ((textFrame != null) && (textFrame.getText().length() > 0)) {
                    
89                frameBody = new FieldFrameBodyEAL(textFrame.getText());
                    
92            textFrame = (AbstractFrameBodyTextInfo) frame.getBody();
                    
93            if ((textFrame != null) && (textFrame.getText().length() > 0)) {
                    
94                frameBody = new FieldFrameBodyEAR(textFrame.getText());
                    
                
ExternalTab.java git://pkgs.fedoraproject.org/jabref | Java | 258 lines
                    
100		 * 
                    
101		 * https://sourceforge.net/tracker/index.php?func=detail&aid=1749613&group_id=92314&atid=600306
                    
102		 * 
                    
233		if (useRegExpComboBox.isSelected()) {
                    
234			_prefs.put(JabRefPreferences.REG_EXP_SEARCH_EXPRESSION_KEY, regExpTextField.getText());
                    
235		}
                    
237		// We should maybe do some checking on the validity of the contents?
                    
238		_prefs.put("pdfDirectory", pdfDir.getText());
                    
239		_prefs.put("psDirectory", psDir.getText());
                    
239		_prefs.put("psDirectory", psDir.getText());
                    
240        _prefs.put(GUIGlobals.FILE_FIELD+"Directory", fileDir.getText());
                    
241        _prefs.putBoolean("bibLocationAsFileDir", bibLocationAsFileDir.isSelected());
                    
245        _prefs.putBoolean("allowFileAutoOpenBrowse", allowFileAutoOpenBrowse.isSelected());
                    
246        _prefs.put(JabRefPreferences.EMAIL_SUBJECT, emailSubject.getText());
                    
247        _prefs.putBoolean(JabRefPreferences.OPEN_FOLDERS_OF_ATTACHED_FILES, openFoldersOfAttachedFiles.isSelected());
                    
                
SubscriptionInfo.php git://github.com/WindowsAzure/azure-sdk-for-php.git | PHP | 403 lines
                    
1<?php
                    
2
                    
14 * 
                    
15 * PHP version 5
                    
16 *
                    
18 * @package   WindowsAzure\ServiceBus\Models
                    
19 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
20 * @copyright 2012 Microsoft Corporation
                    
21 * @license   http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
                    
22 * @link      https://github.com/WindowsAzure/azure-sdk-for-php
                    
23 */
                    
39 * @package   WindowsAzure\ServiceBus\Models
                    
40 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
41 * @copyright 2012 Microsoft Corporation
                    
43 * @version   Release: @package_version@
                    
44 * @link      https://github.com/WindowsAzure/azure-sdk-for-php
                    
45 */
                    
                
ChatConsoleRightClickScripts.java http://raptor-chess-interface.googlecode.com/svn/trunk/ | Java | 373 lines
                    
2 * New BSD License
                    
3 * http://www.opensource.org/licenses/bsd-license.php
                    
4 * Copyright 2009-2011 RaptorProject (http://code.google.com/p/raptor-chess-interface/)
                    
101						String selection = icsActiveScriptsTable.getTable()
                    
102								.getItem(selectedIndex).getText(0);
                    
103						loadControls(selection);
                    
130				String selection = icsInactiveScriptsTable.getTable().getItem(
                    
131						selectedIndex).getText(0);
                    
132
                    
152				String selection = icsActiveScriptsTable.getTable().getItem(
                    
153						selectedIndex).getText(0);
                    
154
                    
179						String selection = icsInactiveScriptsTable.getTable()
                    
180								.getItem(selectedIndex).getText(0);
                    
181						loadControls(selection);
                    
                
Ean13.php git://github.com/michael-romer/zf-boilerplate.git | PHP | 225 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Ean13.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
25 */
                    
26require_once 'Zend/Barcode/Object/ObjectAbstract.php';
                    
27
                    
30 */
                    
31require_once 'Zend/Validate/Barcode.php';
                    
32
                    
122
                    
123        $textTable = str_split($this->getText());
                    
124        $parity = $this->_parities[$textTable[0]];
                    
193        if ($this->_drawText) {
                    
194            $text = $this->getTextToDisplay();
                    
195            $characterWidth = (7 * $this->_barThinWidth) * $this->_factor;
                    
                
RFoldingBuilder.java https://code.google.com/p/r4intellij/ | Java | 129 lines
                    
4 * This code is licensed under BSD. For details see
                    
5 * http://www.opensource.org/licenses/bsd-license.php
                    
6 */
                    
41            if (funargs != null) {
                    
42                return "function(" + funargs.getText() + ")...";
                    
43            } else {
                    
59//        } else if (node.getElementType() == BLOCK_COMMENT || node.getElementType() == MULTILINE_COMMENT) {
                    
60//            String text = node.getText();
                    
61//            return text.length() > 20 ? text.substring(0, 20) + "..." : text;
                    
99            for (RSection rSection : rSections) {
                    
100                if (rSection.getTextOffset() > node.getPsi().getTextOffset()) {
                    
101                    sectionElement = rSection;
                    
105
                    
106            int end = sectionElement != null ? sectionElement.getTextOffset() - 1 : node.getPsi().getContainingFile().getTextRange().getEndOffset();
                    
107            descriptors.add(new FoldingDescriptor(node, new TextRange(node.getStartOffset(), end)));
                    
                
tiny_mce_gzip.php http://core.svn.wordpress.org/ | PHP | 331 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * $RCSfile: tiny_mce_gzip.php,v $
                    
4 * $Revision: $
                    
15
                    
16@require_once('../../../wp-config.php');
                    
17
                    
41
                    
42	// Send lang file through gettext
                    
43	if ( function_exists('__') && strtolower(substr($language, 0, 2)) != 'en' ) {
                    
99
                    
100// Patch older versions of PHP < 4.3.0
                    
101if (!function_exists('file_get_contents')) {
                    
225	for (var i=0; i<elements.length; i++) {
                    
226		if (elements[i].src && elements[i].src.indexOf("tiny_mce_gzip.php") != -1) {
                    
227			scriptURL = elements[i].src;
                    
                
Z_poEditLangModule.php https://git01.codeplex.com/kwamoja | PHP | 248 lines
                    
1<?php
                    
2
                    
22
                    
23echo '<br />&nbsp;<a href="' . $RootPath . '/Z_poAdmin.php">' . _('Back to the translation menu') . '</a>';
                    
24echo '<br /><br />&nbsp;' . _('Utility to edit a language file module');
                    
32
                    
33/*first rebuild the en_GB default with xgettext */
                    
34
                    
36	$FilesToInclude	= '*php includes/*.php includes/*.inc';
                    
37	$xgettextCmd		= 'xgettext --no-wrap -L php -o ' . $PathToDefault . ' ' . $FilesToInclude;
                    
38
                    
38
                    
39	system($xgettextCmd);
                    
40/*now merge the translated file with the new template to get new strings*/
                    
62		echo '<br /><table><tr><td>';
                    
63		echo '<form method="post" class="noPrint" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
                    
64		echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
                    
                
index.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 396 lines
                    
1<?php
                    
2# <one line to give a brief idea of what this does.>
                    
24
                    
25require_once('../include/init.php');
                    
26require_once('../include/sane.php');
                    
26require_once('../include/sane.php');
                    
27require_once('../include/stats/general.php');
                    
28require_once('../include/calendar.php');
                    
28require_once('../include/calendar.php');
                    
29require_once('../include/graphs.php');
                    
30
                    
64
                    
65$form_opening = '<form action="'.$_SERVER['PHP_SELF'].'#options" method="GET">';
                    
66$form_submit = '<input class="bold" value="'._("Apply").'" name="update" type="submit" />';
                    
97$count = stats_getusers("add_date>='$since' AND add_date<='$until'");
                    
98$key = ngettext("New user", "New users", $count);
                    
99$content[$key] = $count;
                    
                
ParagraphTest.php git://github.com/psliwa/PHPPdf.git | PHP | 317 lines
                    
21
                    
22class ParagraphTest extends \PHPPdf\PHPUnit\Framework\TestCase
                    
23{
                    
44        {
                    
45            $isStartsWithWhiteChars = ltrim($textNode->getText()) != $textNode->getText();
                    
46            
                    
48            
                    
49            $isPreviousTextEndsWithWhiteChars = rtrim($textNode->getText()) != $textNode->getText();
                    
50        }
                    
53        
                    
54        $this->assertTrue($firstText->getText() == ltrim($firstText->getText()), 'first text element isnt left trimmed');
                    
55    }
                    
258        $this->assertEquals(300, $paragraphProduct->getHeight());
                    
259        $this->assertEquals(300, $paragraphProduct->getFirstPoint()->getY() - $paragraphProduct->getDiagonalPoint()->getY());
                    
260        
                    
                
AbstractPathExpression.java git://pkgs.fedoraproject.org/eclipse-wtp-jpa | Java | 377 lines
                    
7 * and the Eclipse Distribution License is available at
                    
8 * http://www.eclipse.org/org/documents/edl-v10.php.
                    
9 *
                    
137		children.add(identificationVariable);
                    
138		children.add(buildStringExpression(getText()));
                    
139	}
                    
145			paths = new ArrayList<String>();
                    
146			String text = getText();
                    
147			StringBuilder word = new StringBuilder();
                    
206		if (endsWithDot == null) {
                    
207			String text = getText();
                    
208			endsWithDot = text.charAt(text.length() - 1) == DOT;
                    
262
                    
263		String word = getText();
                    
264
                    
                
Form.class.php git://github.com/onPHP/onphp-framework.git | PHP | 485 lines
                    
1<?php
                    
2/****************************************************************************
                    
17	 * 
                    
18	 * @see http://onphp.org/examples.Form.en.html
                    
19	**/
                    
181		**/
                    
182		public function getTextualErrors()
                    
183		{
                    
186			foreach (array_keys($this->labels) as $name) {
                    
187				if ($label = $this->getTextualErrorFor($name))
                    
188					$list[] = $label;
                    
193		
                    
194		public function getTextualErrorFor($name)
                    
195		{
                    
                
i18n.php http://tiendasikah.googlecode.com/svn/trunk/ | PHP | 156 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * KumbiaPHP web & app Framework
                    
4 *
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://wiki.kumbiaphp.com/Licencia
                    
11 * If you did not receive a copy of the license and are unable to
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to license@kumbiaphp.com so we can send you a copy immediately.
                    
14 *
                    
18 * @package    I18n
                    
19 * @copyright  Copyright (c) 2005-2009 Kumbia Team (http://www.kumbiaphp.com)
                    
20 * @license    http://wiki.kumbiaphp.com/Licencia     New BSD License
                    
33 * @package    I18n
                    
34 * @copyright  Copyright (c) 2005-2009 Kumbia Team (http://www.kumbiaphp.com)
                    
35 * @license    http://wiki.kumbiaphp.com/Licencia     New BSD License
                    
                
testenvironment.php http://scalr.googlecode.com/svn/ | PHP | 146 lines
                    
1<?
                    
2	$sapi_type = php_sapi_name();
                    
3	if (substr($sapi_type, 0, 3) == 'cli')
                    
25	
                    
26	// Check GetText
                    
27	if (!function_exists('gettext')) 
                    
27	if (!function_exists('gettext')) 
                    
28		$err[] = "Cannot find gettext function. Make sure that GetText Functions enabled.";
                    
29		
                    
54	//
                    
55	// Check php sessings
                    
56	//
                    
57	if (ini_get('safe_mode') == 1)
                    
58		$err[] = "PHP safe mode enabled. Please disable it.";
                    
59		
                    
                
SemanticSocialProfile_body.php http://semantic-social-profile.googlecode.com/svn/trunk/ | PHP | 168 lines
                    
1<?php
                    
2/**
                    
31    if ($wgRequest->wasPosted()) {
                    
32      $hid = $wgRequest->getText('hiddenform');
                    
33      if($hid=='1'){
                    
                
COLLADASaxFWLLoader.cpp git://pkgs.fedoraproject.org/openCOLLADA | C++ | 376 lines
                    
7for details please see LICENSE file or the website
                    
8http://www.opensource.org/licenses/mit-license.php
                    
9*/
                    
319	//---------------------------------
                    
320	COLLADAFW::TextureMapId Loader::getTextureMapIdBySematic( const String& semantic )
                    
321	{
                    
                
IBuffer.java git://pkgs.fedoraproject.org/eclipse-phpeclipse | Java | 321 lines
                    
10 *******************************************************************************/
                    
11package net.sourceforge.phpdt.core;
                    
12
                    
160	 */
                    
161	public String getText(int offset, int length);
                    
162
                    
                
TScaffoldInputCommon.php http://prado3.googlecode.com/svn/trunk/ | PHP | 310 lines
                    
1<?php
                    
2/**
                    
55		else if($control instanceof TControl)
                    
56			return $control->getText();
                    
57	}
                    
298			if($item->getSelected())
                    
299				$value[] = $item->getText();
                    
300		}
                    
305	{
                    
306		return $container->findControl(self::DEFAULT_ID)->getSelectedItem()->getText();
                    
307	}
                    
                
gettext.php http://core.svn.wordpress.org/ | PHP | 362 lines
                    
5   
                    
6   This file is part of PHP-gettext.
                    
7
                    
7
                    
8   PHP-gettext is free software; you can redistribute it and/or modify
                    
9   it under the terms of the GNU General Public License as published by
                    
12
                    
13   PHP-gettext is distributed in the hope that it will be useful,
                    
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
                    
18   You should have received a copy of the GNU General Public License
                    
19   along with PHP-gettext; if not, write to the Free Software
                    
20   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
                    
27 * It can read MO files and use them for translating strings.
                    
28 * The files are passed to gettext_reader as a Stream (see streams.php)
                    
29 * 
                    
                
index.php http://miacms.googlecode.com/svn/trunk/ | PHP | 438 lines
                    
15
                    
16if (file_exists( '../configuration.php' ) && filesize( '../configuration.php' ) > 10) {
                    
17	header( "Location: ../index.php" );
                    
52	$content .= "\$text_direction = \"$text_direction\";\n";
                    
53	$content .= "\$gettext =& phpgettext();\n";
                    
54	$content .= "\$gettext->debug       = '0';\n";
                    
349<tr>
                    
350	<td class="item"><?php echo $phprec[0]; ?>:</td>
                    
351	<td class="toggle"><?php echo $phprec[2]; ?>:</td>
                    
353	<?php
                    
354	if ( get_php_setting($phprec[1]) == $phprec[2] ) {
                    
355	?>
                    
362	}
                    
363	echo get_php_setting($phprec[1]);
                    
364	?>
                    
                
Comments.php git://github.com/Dolibarr/dolibarr.git | PHP | 269 lines
                    
33 * @package    PHPExcel_Writer_Excel2007
                    
34 * @copyright  Copyright (c) 2006 - 2011 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		}
                    
                
Plot.php http://tiendasikah.googlecode.com/svn/trunk/ | PHP | 415 lines
                    
1<?php
                    
2	/* Libchart - PHP chart library
                    
79		// Padding of the graph area
                    
80		protected $graphPadding;
                    
81		
                    
133			$this->graphCaptionRatio = 0.50;
                    
134			$this->graphPadding = new Padding(50);
                    
135			$this->captionPadding = new Padding(15);
                    
166				$graphUnpaddedRight = $this->imageArea->x1 + ($this->imageArea->x2 - $this->imageArea->x1) * $this->graphCaptionRatio
                    
167						+ $this->graphPadding->left + $this->graphPadding->right;
                    
168				$graphArea = new Rectangle(
                    
189			$graphUnpaddedRight = $this->imageArea->x1 + ($this->imageArea->x2 - $this->imageArea->x1) * $this->graphCaptionRatio
                    
190					+ $this->graphPadding->left + $this->graphPadding->right;
                    
191			$titleUnpaddedBottom = $this->imageArea->y1 + $this->titleHeight + $this->titlePadding->top + $this->titlePadding->bottom;
                    
356		 */
                    
357		public function setGraphPadding($graphPadding) {
                    
358			$this->graphPadding = $graphPadding;
                    
                
Upce.php git://github.com/michael-romer/zf-boilerplate.git | PHP | 228 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Upce.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
25 */
                    
26require_once 'Zend/Barcode/Object/Ean13.php';
                    
27
                    
30 */
                    
31require_once 'Zend/Validate/Barcode.php';
                    
32
                    
83     */
                    
84    public function getText()
                    
85    {
                    
85    {
                    
86        $text = parent::getText();
                    
87        if ($text{0} != 1) {
                    
                
ConnectFrame.java http://websecuritynotebook.googlecode.com/svn/trunk/ | Java | 133 lines
                    
4 *
                    
5 * http://www.opensource.org/licenses/bsd-license.php
                    
6
                    
99        
                    
100        final ConnectSettingsBean settings = new ConnectSettingsBean(this.urlField.getText());
                    
101        final IHttpConnect connection = new HttpConnect(settings, null);
                    
                
myocamlbuild.ml git://github.com/aplusbi/smf.git | OCaml | 489 lines
                    
2(* DO NOT EDIT (digest: 576c595fbd1f2842ea431fd194036760) *)
                    
3module OASISGettext = struct
                    
4# 21 "/home/niki/projects/ocaml/system/oasis-0.2.0/src/oasis/OASISGettext.ml"
                    
30  
                    
31  open OASISGettext
                    
32  
                    
217  (** OCamlbuild extension, copied from 
                    
218    * http://brion.inria.fr/gallium/index.php/Using_ocamlfind_with_ocamlbuild
                    
219    * by N. Pouillard and others
                    
                
myocamlbuild.ml git://github.com/aryx/fork-ocsigen.git | OCaml | 493 lines
                    
2(* DO NOT EDIT (digest: 53268c6d4fe849e9fa70e8416b438377) *)
                    
3module OASISGettext = struct
                    
4# 21 "/home/gildor/programmation/oasis/src/oasis/OASISGettext.ml"
                    
28  
                    
29  open OASISGettext
                    
30  
                    
215  (** OCamlbuild extension, copied from 
                    
216    * http://brion.inria.fr/gallium/index.php/Using_ocamlfind_with_ocamlbuild
                    
217    * by N. Pouillard and others
                    
                
importhints3.html git://pkgs.fedoraproject.org/scribus | HTML | 95 lines
                    
9<h4>Panoramica</h4>
                    
10<p>Quando la SUN Microsystems avvi&ograve; il progetto OpenOffice.org, introdusse anche un nuovo tipo di formati di file. Mentre StarOffice (il predecessore di OpenOffice) salvava i dati in formato binario, i file di OpenOffice.org consistevano di diversi file XML riuniti in un unico archivio ZIP. In seguito, i formati di file sviluppati per OpenOffice.org furono la base per un nuovo standard per i documenti da ufficio (come documenti di testo, fogli elettronici o presentazioni). Questo standard &egrave; stato sviluppato dalla <a href="http://www.oasis-open.org/home/index.php">Organization for the Advancement of Structured Information Standards (OASIS)</a>, ed &egrave; detto <a href="http://www.oasis-open.org/specs/index.php#opendocument">OpenDocument</a> (ODT). L'OpenDocument &egrave; divenuto uno standard ISO nel 2006 (ISO/IEC 26300:2006).
                    
11<br>
                    
47
                    
48<table width="100%"><tr><td align="center"><img src="images/oogettext1.png" alt="Opzioni di importazione per file OO.org Writer e OASIS (Open Document)." align="middle" title="Opzioni di importazione per file SXW e ODT." /></td></tr></table>
                    
49
                    
                
myocamlbuild.ml git://github.com/msimon/ocaml-ses.git | OCaml | 491 lines
                    
2(* DO NOT EDIT (digest: 17742dca8010b00640a6d9e0ce8d1f92) *)
                    
3module OASISGettext = struct
                    
4# 21 "/Users/simon/programation/source/ocaml/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 others
                    
                
GettextExtractor.class.php https://code.google.com/p/celebrio/ | PHP | 164 lines
                    
1<?php
                    
2
                    
3if (version_compare(PHP_VERSION, '5.2.2', '<'))
                    
4    exit('GettextExtractor needs PHP 5.2.2 or newer');
                    
5
                    
5
                    
6class GettextExtractor
                    
7{
                    
14    public $filters = array(
                    
15        'php' => array('PHP'),
                    
16        'phtml'	=> array('PHP', 'NetteCurlyBrackets')
                    
45    {
                    
46        $message = 'Something unexpected occured. See GettextExtractor log for details';
                    
47        echo $message;
                    
135        $output = array();
                    
136        $output[] = '# Gettext keys exported by GettextExtractor';
                    
137        $output[] = 'msgid ""';
                    
                
Lost_Password_form.php git://git.savannah.nongnu.org/gnuherds-app.git | PHP | 162 lines
                    
1<?php
                    
2// Authors: Davi Leal
                    
18
                    
19require_once "../Layer-4__DBManager_etc/DB_Manager.php";
                    
20
                    
42		{
                    
43			$error = "<p>".gettext("You are already logged!. So we suppose you know your password. Anyway, log out and ask for it again if you want we send it to you.")."</p>";
                    
44			throw new Exception($error,false);
                    
67						// Send the email
                    
68						$message = gettext("For security reasons, GNU Herds does not send passwords by electronic mail.")."\n\n";
                    
69
                    
69
                    
70						$message .= gettext("To get your new password follow the below link.")." ".gettext("That link will expire in 2 hours:")."\n\n";
                    
71
                    
74						$message .= "\n\n";
                    
75						$message .= gettext("If you have not asked for a new password, ignore it and your password will not be changed.")."\n\n";
                    
76
                    
                
class.I18NtranslatorSQLite3.inc.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 197 lines
                    
1<?php
                    
2/**
                    
4*/
                    
5require_once 'interface.I18NtranslatorInterface.inc.php';
                    
6/**
                    
8*/
                    
9require_once 'class.I18Nbase.inc.php';
                    
10
                    
33* @author Michael Wimmer <flaimo@gmail.com>
                    
34* @category flaimo-php
                    
35* @example  ../www_root/i18n_example_script.php  i18n example script
                    
36* @license GNU General Public License v3
                    
37* @link http://code.google.com/p/flaimo-php/
                    
38* @package i18n
                    
159	* @param string $translationstring string to be translated
                    
160	* @param string $domain alias for namespace (sometimes needed for gettext)
                    
161	* @param array $arguments whe using translation strings with placeholders, $arguments is an array with the values for the placeholders
                    
                
Code128.php git://github.com/zendframework/zf2.git | PHP | 312 lines
                    
1<?php
                    
2/**
                    
124        $characterLength = 11 * $this->barThinWidth * $this->factor;
                    
125        $convertedChars = count($this->convertToBarcodeChars($this->getText()));
                    
126        if ($this->withChecksum) {
                    
151
                    
152        $convertedChars = $this->convertToBarcodeChars($this->getText());
                    
153
                    
154        if ($this->withChecksum) {
                    
155            $convertedChars[] = $this->getChecksum($this->getText());
                    
156        }
                    
283     */
                    
284    public function getText()
                    
285    {
                    
                
StringTable.php https://PHPExcel.svn.codeplex.com/svn | PHP | 270 lines
                    
40/** PHPExcel_Writer_Excel2007_WriterPart */
                    
41require_once PHPEXCEL_ROOT . 'PHPExcel/Writer/Excel2007/WriterPart.php';
                    
42
                    
43/** PHPExcel_Cell_DataType */
                    
44require_once PHPEXCEL_ROOT . 'PHPExcel/Cell/DataType.php';
                    
45
                    
46/** PHPExcel_Shared_XMLWriter */
                    
47require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/XMLWriter.php';
                    
48
                    
49/** PHPExcel_Shared_String */
                    
50require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/String.php';
                    
51
                    
239				$objWriter->writeAttribute('xml:space', 'preserve');
                    
240				$objWriter->writeRaw(PHPExcel_Shared_String::ControlCharacterPHP2OOXML( $element->getText() ));
                    
241				$objWriter->endElement();
                    
                
Alignment.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 538 lines
                    
2/**
                    
3 * PHPExcel
                    
4 *
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
32 * @package	PHPExcel_Style
                    
33 * @copyright  Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
34 */
                    
34 */
                    
35class PHPExcel_Style_Alignment implements PHPExcel_IComparable
                    
36{
                    
158     *
                    
159     * @return PHPExcel_Worksheet
                    
160     */
                    
                
ID3_Frame_TPE1.html http://xepec.googlecode.com/svn/trunk/ | HTML | 217 lines
                    
25	<div class="info-box-body">
                    
26        		<!-- ========== Info from phpDoc block ========= -->
                    
27<p class="short-description">The <em>Lead artist/Lead performer/Soloist/Performing group</em> is used for  the main artist.</p>
                    
30				<li><span class="field">version:</span> $Rev: 65 $</li>
                    
31				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
                    
32				<li><span class="field">license:</span> <a href="http://code.google.com/p/php-reader/wiki/License">New BSD License</a></li>
                    
34		<p class="notes">
                    
35			Located in <a class="field" href="_ID3---Frame---TPE1.php.html">/ID3/Frame/TPE1.php</a> (line <span class="field">53</span>)
                    
36		</p>
                    
116													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetEncoding">ID3_Frame_AbstractText::getEncoding()</a></span><br>
                    
117													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetText">ID3_Frame_AbstractText::getText()</a></span><br>
                    
118													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetTexts">ID3_Frame_AbstractText::getTexts()</a></span><br>
                    
213	<p class="notes" id="credit">
                    
214		Documentation generated on Thu, 01 Jan 2009 14:59:53 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
                    
215	</p>
                    
                
Alignment.php https://PHPExcel.svn.codeplex.com/svn | PHP | 502 lines
                    
22 * @package    PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
37/** PHPExcel_IComparable */
                    
38require_once PHPEXCEL_ROOT . 'PHPExcel/IComparable.php';
                    
39
                    
45 * @package    PHPExcel_Style
                    
46 * @copyright  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
47 */
                    
47 */
                    
48class PHPExcel_Style_Alignment implements PHPExcel_IComparable
                    
49{	
                    
146	 *
                    
147	 * @param PHPExcel $parent
                    
148	 * @return PHPExcel_Style_Alignment
                    
                
_gettext_8php_source.html http://openbiz-cubi.googlecode.com/svn/trunk/ | HTML | 156 lines
                    
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
                    
5<title>openbiz: E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Translate/Adapter/Gettext.php Source File</title>
                    
6<link href="tabs.css" rel="stylesheet" type="text/css"/>
                    
28  <div class="headertitle">
                    
29<h1>E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Translate/Adapter/Gettext.php</h1>  </div>
                    
30</div>
                    
36<a name="l00027"></a>00027 
                    
37<a name="l00034"></a><a class="code" href="class_zend___translate___adapter___gettext.html">00034</a> <span class="keyword">class </span><a class="code" href="class_zend___translate___adapter___gettext.html">Zend_Translate_Adapter_Gettext</a> <span class="keyword">extends</span> <a class="code" href="class_zend___translate___adapter.html">Zend_Translate_Adapter</a> {
                    
38<a name="l00035"></a>00035     <span class="comment">// Internal variables</span>
                    
43<a name="l00040"></a>00040 
                    
44<a name="l00049"></a><a class="code" href="class_zend___translate___adapter___gettext.html#aa4edbfb6890baa901ec13e764d790d35">00049</a>     <span class="keyword">public</span> function <a class="code" href="class_zend___translate___adapter___gettext.html#aa4edbfb6890baa901ec13e764d790d35">__construct</a>($data, $locale = null, array $options = array())
                    
45<a name="l00050"></a>00050     {
                    
57<a name="l00067"></a>00067 
                    
58<a name="l00078"></a><a class="code" href="class_zend___translate___adapter___gettext.html#aa1ddaa893610bd11b74428c0c23e77a8">00078</a>     <span class="keyword">protected</span> function <a class="code" href="class_zend___translate___adapter___gettext.html#aa1ddaa893610bd11b74428c0c23e77a8">_loadTranslationData</a>($filename, $locale, array $options = array())
                    
59<a name="l00079"></a>00079     {
                    
                
ID3_Frame_TRCK.html http://xepec.googlecode.com/svn/trunk/ | HTML | 217 lines
                    
25	<div class="info-box-body">
                    
26        		<!-- ========== Info from phpDoc block ========= -->
                    
27<p class="short-description">The <em>Track number/Position in set</em> frame is a numeric string containing  the order number of the audio-file on its original recording. This may be  extended with a &quot;/&quot; character and a numeric string containing the total  number of tracks/elements on the original recording. E.g. &quot;4/9&quot;.</p>
                    
30				<li><span class="field">version:</span> $Rev: 65 $</li>
                    
31				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
                    
32				<li><span class="field">license:</span> <a href="http://code.google.com/p/php-reader/wiki/License">New BSD License</a></li>
                    
34		<p class="notes">
                    
35			Located in <a class="field" href="_ID3---Frame---TRCK.php.html">/ID3/Frame/TRCK.php</a> (line <span class="field">55</span>)
                    
36		</p>
                    
116													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetEncoding">ID3_Frame_AbstractText::getEncoding()</a></span><br>
                    
117													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetText">ID3_Frame_AbstractText::getText()</a></span><br>
                    
118													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetTexts">ID3_Frame_AbstractText::getTexts()</a></span><br>
                    
213	<p class="notes" id="credit">
                    
214		Documentation generated on Thu, 01 Jan 2009 14:59:56 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
                    
215	</p>
                    
                
RichText.php https://PHPExcel.svn.codeplex.com/svn | PHP | 281 lines
                    
32/** PHPExcel_Cell */
                    
33require_once 'PHPExcel/Cell.php';
                    
34
                    
41/** PHPExcel_RichText_Run */
                    
42require_once 'PHPExcel/RichText/Run.php';
                    
43
                    
44/** PHPExcel_Style_Font */
                    
45require_once 'PHPExcel/Style/Font.php';
                    
46
                    
51 * @package    PHPExcel_RichText
                    
52 * @copyright  Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
53 */
                    
53 */
                    
54class PHPExcel_RichText implements PHPExcel_IComparable
                    
55{
                    
                
ID3_Frame_TSST.html http://xepec.googlecode.com/svn/trunk/ | HTML | 218 lines
                    
25	<div class="info-box-body">
                    
26        		<!-- ========== Info from phpDoc block ========= -->
                    
27<p class="short-description">The <em>Set subtitle</em> frame is intended for the subtitle of the part of a  set this track belongs to.</p>
                    
30				<li><span class="field">version:</span> $Rev: 65 $</li>
                    
31				<li><span class="field">copyright:</span> Copyright (c) 2008 The PHP Reader Project Workgroup</li>
                    
32				<li><span class="field">since:</span> ID3v2.4.0</li>
                    
35		<p class="notes">
                    
36			Located in <a class="field" href="_ID3---Frame---TSST.php.html">/ID3/Frame/TSST.php</a> (line <span class="field">55</span>)
                    
37		</p>
                    
117													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetEncoding">ID3_Frame_AbstractText::getEncoding()</a></span><br>
                    
118													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetText">ID3_Frame_AbstractText::getText()</a></span><br>
                    
119													<span class="method-name"><a href="../../php-reader/ID3/ID3_Frame_AbstractText.html#methodgetTexts">ID3_Frame_AbstractText::getTexts()</a></span><br>
                    
214	<p class="notes" id="credit">
                    
215		Documentation generated on Thu, 01 Jan 2009 14:59:59 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
                    
216	</p>
                    
                
XHTMLRendererText.java http://lighttexteditor.googlecode.com/svn/trunk/ | Java | 311 lines
                    
4 *
                    
5 * http://www.opensource.org/licenses/bsd-license.php
                    
6
                    
93     */
                    
94    public String getText();
                    
95    
                    
212         */
                    
213        public final String getText() {
                    
214            return text;
                    
                
Lyrics3Line.java http://yoyoplayer.googlecode.com/svn/trunk/ | Java | 258 lines
                    
17 *  You should have received a copy of the GNU Lesser General Public License along with this library; if not,
                    
18 *  you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
                    
19 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
                    
74    {
                    
75        this.lyric = line.getText();
                    
76    }
                    
130    {
                    
131        this.lyric += line.getText();
                    
132    }
                    
                
StringFixedLength.java http://yoyoplayer.googlecode.com/svn/trunk/ | Java | 232 lines
                    
17 *  You should have received a copy of the GNU Lesser General Public License along with this library; if not,
                    
18 *  you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
                    
19 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
                    
95        {
                    
96            String charSetName = getTextEncodingCharSet();
                    
97            CharsetDecoder decoder = Charset.forName(charSetName).newDecoder();
                    
150        {
                    
151            String charSetName = getTextEncodingCharSet();
                    
152            CharsetEncoder encoder = Charset.forName(charSetName).newEncoder();
                    
223     */
                    
224    protected String  getTextEncodingCharSet()
                    
225    {
                    
225    {
                    
226         byte textEncoding = this.getBody().getTextEncoding();
                    
227         String charSetName = TextEncoding.getInstanceOf().getValueForId(textEncoding);
                    
                
Content.php https://hg.codeplex.com/bukuphpjs | PHP | 182 lines
                    
1<?php
                    
2
                    
14 * 
                    
15 * PHP version 5
                    
16 *
                    
18 * @package   WindowsAzure\Common\Internal\Atom
                    
19 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
20 * @copyright 2012 Microsoft Corporation
                    
21 * @license   http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
                    
22 * @link      https://github.com/WindowsAzure/azure-sdk-for-php
                    
23 */
                    
34 * @package   WindowsAzure\Common\Internal\Atom
                    
35 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
36 * @copyright 2012 Microsoft Corporation
                    
38 * @version   Release: @package_version@
                    
39 * @link      https://github.com/WindowsAzure/azure-sdk-for-php
                    
40 */
                    
                
SpecialEmailuser.php https://code.google.com/p/alfresco-php-sdk/ | PHP | 184 lines
                    
1<?php
                    
2/**
                    
10 */
                    
11require_once('UserMailer.php');
                    
12
                    
30		wfDebug( "Target is empty.\n" );
                    
31		$wgOut->showErrorPage( "notargettitle", "notargettext" );
                    
32		return;
                    
37		wfDebug( "Target is invalid title.\n" );
                    
38		$wgOut->showErrorPage( "notargettitle", "notargettext" );
                    
39		return;
                    
41
                    
42	$nu = User::newFromName( $nt->getText() );
                    
43	if( is_null( $nu ) || !$nu->canReceiveEmail() ) {
                    
77		$this->target = $target;
                    
78		$this->text = $wgRequest->getText( 'wpText' );
                    
79		$this->subject = $wgRequest->getText( 'wpSubject' );
                    
                
Manage_Job_Offers_form.php git://git.savannah.nongnu.org/gnuherds-app.git | PHP | 169 lines
                    
1<?php
                    
2// Authors: Davi Leal
                    
18
                    
19require_once "../Layer-4__DBManager_etc/DB_Manager.php";
                    
20
                    
44			{
                    
45				$error = "<p>".gettext('To access this section you have to login first.')."</p>";
                    
46				throw new Exception($error,false);
                    
50		{
                    
51			$error = "<p>".gettext('To access this section you have to login first.')."</p>";
                    
52			throw new Exception($error,false);
                    
157			default:
                    
158				$error = "<p>".$_SERVER["REQUEST_URI"].": ".gettext('ERROR: Unexpected condition')."</p>";
                    
159				throw new Exception($error,false);
                    
                
mainapp.cpp http://ivef-sdk.googlecode.com/svn/trunk/ | C++ | 143 lines
                    
38    m_options.append( CmdLineOption( CmdLineOption::BOOLEAN, "qt",       "generate qt cpp files (default)." ) );
                    
39    m_options.append( CmdLineOption( CmdLineOption::BOOLEAN, "php",      "generate php files." ) );
                    
40    //    m_options.append( CmdLineOption( CmdLineOption::BOOLEAN, "cpp",      "generate cpp files" ) );
                    
76    QString fileName("");
                    
77    if (m_options.getText("file", fileName)) {
                    
78        // read from file
                    
104            generator = new CodeGenObjC();
                    
105        } else if ( m_options.getBoolean( "php" ) ) {
                    
106            std::cout << "\n---------------------------------------------------------------------\n"  << std::endl;
                    
106            std::cout << "\n---------------------------------------------------------------------\n"  << std::endl;
                    
107            std::cout <<   "Generating PHP5 sources \n"  << std::endl;
                    
108            std::cout <<   "---------------------------------------------------------------------\n"  << std::endl;
                    
108            std::cout <<   "---------------------------------------------------------------------\n"  << std::endl;
                    
109            generator = new CodeGenPHP();
                    
110        } else if ( m_options.getBoolean( "proto" ) ) {
                    
                
lang_data.php http://prails.googlecode.com/svn/trunk/ | PHP | 262 lines
                    
1<?php
                    
2/**
                    
56
                    
57	function getText($str_item)
                    
58	{
                    
                
jsLoader.php git://pkgs.fedoraproject.org/zabbix | PHP | 235 lines
                    
1<?php
                    
2/*
                    
22// get language translations
                    
23require_once dirname(__FILE__).'/include/gettextwrapper.inc.php';
                    
24require_once dirname(__FILE__).'/include/js.inc.php';
                    
24require_once dirname(__FILE__).'/include/js.inc.php';
                    
25require_once dirname(__FILE__).'/include/locales.inc.php';
                    
26
                    
29	if (function_exists('bindtextdomain')) {
                    
30		// initializing gettext translations depending on language selected by user
                    
31		$locales = zbx_locale_variants($_GET['lang']);
                    
                
README.md git://github.com/spotweb/spotweb.git | Markdown | 92 lines
                    
3
                    
4Spotweb requires an operational webserver with PHP5.6 installed, it uses either an MySQL or an PostgreSQL database to store it's contents in. 
                    
5<table align="center"><tr><td align="center" width="9999">
                    
11[![Scrutinzer Status](https://scrutinizer-ci.com/g/spotweb/spotweb/badges/build.png?b=develop)](https://scrutinizer-ci.com/g/spotweb/spotweb/build-status/develop)
                    
12[![Code consistency](https://squizlabs.github.io/PHP_CodeSniffer/analysis/squizlabs/PHP_CodeSniffer/grade.svg)](https://squizlabs.github.io/PHP_CodeSniffer/analysis/squizlabs/PHP_CodeSniffer)
                    
13[![Code Intelligence Status](https://scrutinizer-ci.com/g/spotweb/spotweb/badges/code-intelligence.svg?b=develop)](https://scrutinizer-ci.com/code-intelligence)
                    
18
                    
19[![Tested on:](https://img.shields.io/badge/tested%20on-PHP%205.6%20|%207.0%20|%207.1%20|%207.2%20|%207.3%20|%207.4%20-brightgreen.svg?maxAge=2419200)](https://img.shields.io/badge/tested%20on-PHP%205.6%20|%207.0%20|%207.1%20|%207.2%20|%207.3%20|%207.4%20-brightgreen.svg?maxAge=2419200)
                    
20</td></tr></table>
                    
51* Apache Webserver.
                    
52* PHP v5.6 or higher, with at least these modules:
                    
53  * curl
                    
89When a white page appears instead of your Spotweb installation, this usually indicates an typing error in either
                    
90your ownsettings.php, dbsettings.inc.php or a configuration error in your webserver.
                    
91
                    
                
SpecialRevisiondelete.php https://code.google.com/p/alfresco-php-sdk/ | PHP | 269 lines
                    
1<?php
                    
2
                    
20	if( is_null( $page ) ) {
                    
21		$wgOut->showErrorPage( 'notargettitle', 'notargettext' );
                    
22		return;
                    
136		$bitfield = $this->extractBitfield( $request );
                    
137		$comment = $request->getText( 'wpReason' );
                    
138		if( $this->save( $bitfield, $comment ) ) {
                    
                
TGettext.class.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 270 lines
                    
5// +----------------------------------------------------------------------+
                    
6// | This source file is subject to version 3.0 of the PHP license,       |
                    
7// | that is available at http://www.php.net/license/3_0.txt              |
                    
14//
                    
15// $Id: TGettext.class.php 9856 2008-06-25 11:33:49Z fabien $
                    
16
                    
31 * 
                    
32 * GNU gettext file reader and writer.
                    
33 * 
                    
42 */
                    
43class TGettext
                    
44{
                    
78     * @access  public
                    
79     * @return  object  Returns File_Gettext_PO or File_Gettext_MO on success 
                    
80     *                  or PEAR_Error on failure.
                    
                
GCog.groovy http://gcog.googlecode.com/svn/trunk/ | Groovy | 263 lines
                    
6 * 
                    
7 * MIT license http://www.opensource.org/licenses/mit-license.php
                    
8 * 
                    
68    def processOneFile(fInOut , fname=null) {
                    
69    	def fIn = new File(fInOut).getText();
                    
70    	def fOut = processString(fIn, fInOut);
                    
                
profile.php http://pacercms.googlecode.com/svn/trunk/ | PHP | 217 lines
                    
144    <p>
                    
145      <label for="im_aol"><?php echo gettext("AOL Instant Messenger"); ?></label>
                    
146      <br />
                    
185  <p>
                    
186    <label for="City"><?php echo gettext("City"); ?></label>
                    
187    <br />
                    
203  <p>
                    
204    <label for="profile"><?php echo gettext("Profile"); ?></label>
                    
205    <br />
                    
208  <p>
                    
209    <input type="submit" value="<?php echo gettext("Update Profile"); ?>" name="update" id="update" class="button" />
                    
210    <input type="hidden" name="login" id="login" value="<?php echo $login; ?>" />
                    
211    <input type="hidden" name="password" id="password" value="<?php echo $password; ?>" />
                    
212    <input type="button" value="<?php echo gettext("Cancel"); ?>" name="cancel_modify" id="cancel_modify" class="button" onClick="javascript:history.back();" />
                    
213  </p>
                    
                
nsSVGTextFrame.cpp git://pkgs.fedoraproject.org/firefox | C++ | 458 lines
                    
115{
                    
116  UpdateGlyphPositioning(false);
                    
117
                    
123{
                    
124  UpdateGlyphPositioning(false);
                    
125
                    
131{
                    
132  UpdateGlyphPositioning(false);
                    
133
                    
139{
                    
140  UpdateGlyphPositioning(false);
                    
141
                    
147{
                    
148  UpdateGlyphPositioning(false);
                    
149
                    
                
Language.php http://qwaszx.googlecode.com/svn/trunk/ | PHP | 199 lines
                    
1<?php
                    
2class Idea_Language{
                    
90    public function load($filename){
                    
91        $file = $this->_dir . $this->currentLanguage . DIRECTORY_SEPARATOR . $filename . '.php';
                    
92        if (is_file($file)){
                    
116     */
                    
117    public function gettext($text){
                    
118        return isset($this->_data[$text]) ? $this->_data[$text] : $text;
                    
129        $args = func_get_args();
                    
130        $text = $this->gettext(array_shift($args));
                    
131        $current = current($args);
                    
142        $args = func_get_args();
                    
143        $text = $this->gettext(array_shift($args));
                    
144        $current = current($args);
                    
192    $num = func_num_args();
                    
193    $text = $lang->gettext(array_shift($args));
                    
194    if ($num > 1){
                    
                
gettext.c git://github.com/php/php-src.git | C | 304 lines
                    
39	NULL,
                    
40	PHP_MINFO(php_gettext),
                    
41	PHP_GETTEXT_VERSION,
                    
45#ifdef COMPILE_DL_GETTEXT
                    
46ZEND_GET_MODULE(php_gettext)
                    
47#endif
                    
51
                    
52#define PHP_GETTEXT_DOMAIN_LENGTH_CHECK(domain_len) \
                    
53	if (UNEXPECTED(domain_len > PHP_GETTEXT_MAX_DOMAIN_LENGTH)) { \
                    
63
                    
64PHP_MINFO_FUNCTION(php_gettext)
                    
65{
                    
128
                    
129	PHP_GETTEXT_DOMAIN_LENGTH_CHECK(ZSTR_LEN(domain))
                    
130	PHP_GETTEXT_LENGTH_CHECK("msgid", ZSTR_LEN(msgid))
                    
                
Ean2Test.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Ean2Test.php 23772 2011-02-28 21:35:29Z ralph $
                    
21 */
                    
22
                    
23require_once dirname(__FILE__) . '/TestCommon.php';
                    
24
                    
24
                    
25require_once 'Zend/Barcode/Object/Ean2.php';
                    
26
                    
56        $this->assertSame('43', $this->_object->getRawText());
                    
57        $this->assertSame('43', $this->_object->getText());
                    
58        $this->assertSame('43', $this->_object->getTextToDisplay());
                    
64        $this->assertSame('5', $this->_object->getRawText());
                    
65        $this->assertSame('05', $this->_object->getText());
                    
66        $this->assertSame('05', $this->_object->getTextToDisplay());
                    
                
Makefile.am git://git.savannah.nongnu.org/savane-cleanup.git | Makefile | 376 lines
                    
1# Based on gettext-0.17/gettext-tools/examples/hello-php
                    
2# (public domain)
                    
7# - make sure .mo are encoded using UTF-8 for efficiency and/or to
                    
8#   ease the Savane-specific PHP implementation of the gettext
                    
9#   runtime.
                    
22# These options get passed to xgettext.
                    
23XGETTEXT_OPTIONS =
                    
24
                    
80# Make sure the .po file is encoded in UTF-8 for efficiency and/or to
                    
81# ease the Savane-specific PHP implementation of the gettext
                    
82# runtime. I didn't test, it was that way before the autoconfiscation,
                    
154	      $(POTFILES) \
                    
155	      `cd .. && find frontend/php/ -iname "*.php" -or -iname "*.class"` \
                    
156	    ;; \
                    
165	      $(POTFILES) \
                    
166	      `cd .. && find frontend/php/ -iname "*.php" -or -iname "*.class"` \
                    
167	    ;; \
                    
                
myocamlbuild.ml git://github.com/aplusbi/OCaml-FFI-presentation.git | OCaml | 461 lines
                    
2(* DO NOT EDIT (digest: 02ecab76b499d031b9cf1c0de0b737f7) *)
                    
3module OASISGettext = struct
                    
4# 21 "/home/niki/projects/ocaml/system/oasis-0.2.1~alpha1/src/oasis/OASISGettext.ml"
                    
30  
                    
31  open OASISGettext
                    
32  
                    
217  (** OCamlbuild extension, copied from 
                    
218    * http://brion.inria.fr/gallium/index.php/Using_ocamlfind_with_ocamlbuild
                    
219    * by N. Pouillard and others
                    
                
FrameBodyTPOS.java git://github.com/tulskiy/musique.git | Java | 129 lines
                    
12 *  You should have received a copy of the GNU Lesser General Public License along with this library; if not,
                    
13 *  you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
                    
14 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
                    
100
                    
101    public String getText() {
                    
102        return getObjectValue(DataTypes.OBJ_TEXT).toString();
                    
                
 

Source

Language