PageRenderTime 507ms queryFilters 0ms Sphinxql 218ms GetByIds 243ms meta 0ms repositoryFilters 8ms languageFilters 1ms sourceFilters 1ms

68,424 results for 'php strtr' (507 ms)

Source

Language

Repository

admin_user_search_employee.php https://github.com/timschofield/2.8.git | PHP | 243 lines
1<?php
2//error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
13define('MODULE','system_admin');
14define('LANG_FILE_MODULAR','system_admin.php');
15$local_user='ck_admin_user';
15$local_user='ck_admin_user';
16require_once($root_path.'include/helpers/inc_front_chain_lang.php');
17require_once($root_path.'include/helpers/inc_date_format_functions.php');
19$toggle=0;
20$breakfile= 'admin_user_access_edit.php'.URL_APPEND.'&target='.$target;
21 /* Set color values for the search mask */
62				}else{
63						$append='&is_employee=1&staff_nr='.$zeile['nr'].'&username='.strtr(($zeile['name_first'].' '.$zeile['name_last']),' ','+').'&userid='.strtr($zeile['name_last'],' ','_');
64				}
170				$alt=$LDCreate;
171				$append='&is_employee=1&staff_nr='.$zeile['nr'].'&username='.strtr(($zeile['name'].' '.$zeile['name_last']),' ','+').'&userid='.strtr($zeile['name_last'],' ','_');
172			}
oplogmain.php https://github.com/timschofield/2.8.git | PHP | 364 lines
17
18if (!$internok&&!$_COOKIE['ck_op_pflegelogbuch_user'.$sid]) {header("Location:../language/".$lang."/lang_".$lang."_invalid-access-warning.php"); exit;}; 
19
87 	if((d.dept_nr.value=='<?php echo $dept_nr; ?>')&&(d.saal.value=='<?php echo $saal;?>')) return false;
88	window.top.LOGINPUT.location.replace('oploginput.php?sid=<?php echo "$sid&lang=$lang" ?>&mode=chgdept&dept_nr='+d.dept_nr.value+'&saal='+d.saal.value);
89	return true;
91function getinfo(pid,pdata){
92	urlholder="<?php echo $root_path; ?>modules/nursing/nursing-ward-patientdata.php<?php echo URL_REDIRECT_APPEND; ?>&pn="+pid+"&patient=" + pdata + "&dept_nr=<?php echo "$dept_nr&pday=$pday&pmonth=$pmonth&pyear=$pyear&op_shortcut=".$_COOKIE['ck_op_pflegelogbuch_user'.$sid]; ?>";
93	patientwin=window.open(urlholder,pid,"width=700,height=450,menubar=no,resizable=yes,scrollbars=yes");
340       				<td><font size=2 face="verdana,arial">
341						&nbsp;<a href="#" onmouseover=clearTimeout(timer) onmouseout="timer=setTimeout('hsm()',500)" ><img <?php echo createComIcon($root_path,'redpfeil.gif','0','absmiddle') ?>> <?php echo $LDShowPrevLog ?></a>&nbsp;<br>
342						&nbsp;<a href="#" onmouseover=clearTimeout(timer) onmouseout="timer=setTimeout('hsm()',500)" ><img <?php echo createComIcon($root_path,'redpfeil.gif','0','absmiddle') ?>> <?php echo $LDShowNextLog ?></a>&nbsp;<br>
342						&nbsp;<a href="#" onmouseover=clearTimeout(timer) onmouseout="timer=setTimeout('hsm()',500)" ><img <?php echo createComIcon($root_path,'redpfeil.gif','0','absmiddle') ?>> <?php echo $LDShowNextLog ?></a>&nbsp;<br>
343						&nbsp;<a href="#" onmouseover=clearTimeout(timer) onmouseout="timer=setTimeout('hsm()',500)" ><img <?php echo createComIcon($root_path,'redpfeil.gif','0','absmiddle') ?>> <?php echo $LDShowGuideCal ?></a>&nbsp;<br></font>
344	   				</td>
Subs-Auth.php https://github.com/leftnode/nooges.com.git | PHP | 837 lines
1<?php
2/**********************************************************************************
2/**********************************************************************************
3* Subs-Auth.php                                                                   *
4***********************************************************************************
50		- sets $_SESSION['login_url'] to $_SERVER['REQUEST_URL'].
51		- uses the 'kick_guest' sub template found in Login.template.php.
52
59		  password.
60		- loads Login.template.php and uses the admin_login sub template.
61		- sends data to template so the admin is sent on to the page they
70	void show_db_error(bool loadavg = false)
71		- called by db_fatal_error() function (in Errors.php.)
72		- shows a complete page independent of language files or themes.
87	void JSMembers()
88		- called by index.php?action=findmember.
89		- is used as a popup for searching members.
Load.php https://github.com/leftnode/nooges.com.git | PHP | 2,657 lines
179	// UTF-8 in regular expressions is unsupported on PHP(win) versions < 4.2.3.
180	$utf8 = (empty($modSettings['global_character_set']) ? $txt['lang_character_set'] : $modSettings['global_character_set']) === 'UTF-8' && (strpos(strtolower(PHP_OS), 'win') === false || @version_compare(PHP_VERSION, '4.2.3') != -1);
181
2157
2158		<div style="margin: 0 20px;"><tt>', strtr(strtr($error, array('<strong>' . $boarddir => '<strong>...', '<strong>' . strtr($boarddir, '\\', '/') => '<strong>...')), '\\', '/'), '</tt></div>';
2159
2492
2493	$key = md5($boardurl . filemtime($sourcedir . '/Load.php')) . '-SMF-' . strtr($key, ':', '-');
2494	$value = $value === null ? null : serialize($value);
2585
2586	$key = md5($boardurl . filemtime($sourcedir . '/Load.php')) . '-SMF-' . strtr($key, ':', '-');
2587
2613	// Otherwise it's SMF data!
2614	elseif (file_exists($cachedir . '/data_' . $key . '.php') && filesize($cachedir . '/data_' . $key . '.php') > 10)
2615	{
bootstrap.php.cache https://github.com/le0pard/symf_shop.git | Unknown | 2,067 lines
1<?php
2
2
3namespace { require_once __DIR__.'/autoload.php'; }
4
94        $id = strtolower($id);
95        return isset($this->services[$id]) || method_exists($this, 'get'.strtr($id, array('_' => '', '.' => '_')).'Service');
96    }
105        }
106        if (method_exists($this, $method = 'get'.strtr($id, array('_' => '', '.' => '_')).'Service')) {
107            $this->loading[$id] = true;
218    {
219        return strtolower(preg_replace(array('/([A-Z]+)([A-Z][a-z])/', '/([a-z\d])([A-Z])/'), array('\\1_\\2', '\\1_\\2'), strtr($id, '_', '.')));
220    }
295        }
296        return strtr(dirname($this->reflected->getFileName()), '\\', '/');
297    }
bootstrap.php.cache https://github.com/thaberkern/TaskBoxx.git | Unknown | 2,207 lines
1<?php
2
2
3namespace { require_once __DIR__.'/autoload.php'; }
4
95        $id = strtolower($id);
96        return isset($this->services[$id]) || method_exists($this, 'get'.strtr($id, array('_' => '', '.' => '_')).'Service');
97    }
106        }
107        if (method_exists($this, $method = 'get'.strtr($id, array('_' => '', '.' => '_')).'Service')) {
108            $this->loading[$id] = true;
212    {
213        return strtolower(preg_replace(array('/([A-Z]+)([A-Z][a-z])/', '/([a-z\d])([A-Z])/'), array('\\1_\\2', '\\1_\\2'), strtr($id, '_', '.')));
214    }
328        $finder = new Finder();
329        $finder->files()->name('*Command.php')->in($dir);
330        $prefix = $this->getNamespace().'\\Command';
Config.php http://speedcms.googlecode.com/svn/trunk/ | PHP | 537 lines
1<?php
2/*
23 */
24require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/AccessControlConfig.php";
25/**
27 */
28require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ResourceTypeConfig.php";
29/**
31 */
32require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ThumbnailsConfig.php";
33/**
35 */
36require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ImagesConfig.php";
37
254                $folderRegex = join("|", $this->_hideFolders);
255                $folderRegex = strtr($folderRegex, array("?" => "__QMK__", "*" => "__AST__", "|" => "__PIP__"));
256                $folderRegex = preg_quote($folderRegex, "/");
Config.php http://speedcms.googlecode.com/svn/trunk/ | PHP | 537 lines
1<?php
2/*
23 */
24require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/AccessControlConfig.php";
25/**
27 */
28require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ResourceTypeConfig.php";
29/**
31 */
32require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ThumbnailsConfig.php";
33/**
35 */
36require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ImagesConfig.php";
37
254                $folderRegex = join("|", $this->_hideFolders);
255                $folderRegex = strtr($folderRegex, array("?" => "__QMK__", "*" => "__AST__", "|" => "__PIP__"));
256                $folderRegex = preg_quote($folderRegex, "/");
v2.php https://bitbucket.org/chamilo/chamilo/ | PHP | 1,531 lines
1<?php
2/**
8 * that is available through the world-wide-web at the following URI:
9 * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
10 * the PHP License and are unable to obtain it through the web, please
10 * the PHP License and are unable to obtain it through the web, please
11 * send a note to license@php.net so we can mail you a copy immediately.
12 *
14 * @package    PEAR
15 * @author     Greg Beaver <cellog@php.net>
16 * @author     Stephan Schmidt (original XML_Serializer code)
17 * @copyright  1997-2008 The PHP Group
18 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
19 * @version    CVS: $Id: v2.php 137 2009-11-09 13:24:37Z vanpouckesven $
36 * @copyright  1997-2008 The PHP Group
37 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
38 * @version    Release: 1.7.2
Config.php http://goldcat.googlecode.com/svn/ | PHP | 536 lines
1<?php
2/*
22 */
23require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/AccessControlConfig.php";
24/**
26 */
27require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ResourceTypeConfig.php";
28/**
30 */
31require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ThumbnailsConfig.php";
32/**
34 */
35require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ImagesConfig.php";
36
253                $folderRegex = join("|", $this->_hideFolders);
254                $folderRegex = strtr($folderRegex, array("?" => "__QMK__", "*" => "__AST__", "|" => "__PIP__"));
255                $folderRegex = preg_quote($folderRegex, "/");
Config.php http://goldcat.googlecode.com/svn/ | PHP | 536 lines
1<?php
2/*
22 */
23require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/AccessControlConfig.php";
24/**
26 */
27require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ResourceTypeConfig.php";
28/**
30 */
31require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ThumbnailsConfig.php";
32/**
34 */
35require_once CKFINDER_CONNECTOR_LIB_DIR . "/Core/ImagesConfig.php";
36
253                $folderRegex = join("|", $this->_hideFolders);
254                $folderRegex = strtr($folderRegex, array("?" => "__QMK__", "*" => "__AST__", "|" => "__PIP__"));
255                $folderRegex = preg_quote($folderRegex, "/");
Compiler.php git://github.com/composer/composer.git | PHP | 293 lines
79        $finderSort = function ($a, $b) {
80            return strcmp(strtr($a->getRealPath(), '\\', '/'), strtr($b->getRealPath(), '\\', '/'));
81        };
86            ->name('*.php')
87            ->notName('Compiler.php')
88            ->notName('ClassLoader.php')
95        }
96        $this->addFile($phar, new \SplFileInfo(__DIR__ . '/Autoload/ClassLoader.php'), false);
97
143        $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/composer/InstalledVersions.php'));
144        if (file_exists(__DIR__.'/../../vendor/composer/platform_check.php')) {
145            $this->addFile($phar, new \SplFileInfo(__DIR__.'/../../vendor/composer/platform_check.php'));
272        fwrite(STDERR, 'Warning: APC <= 3.0.12 may cause fatal errors when running composer commands.'.PHP_EOL);
273        fwrite(STDERR, 'Update APC, or set apc.enable_cli or apc.cache_by_default to 0 in your php.ini.'.PHP_EOL);
274    }
formatting.php http://core.svn.wordpress.org/ | PHP | 1,129 lines
1<?php
2
263
264		$string = strtr($string, $chars);
265	} else {
279
280		$string = strtr($string, $chars['in'], $chars['out']);
281		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
396	// Fix Word pasting
397	$content = strtr($content, $wp_htmltranswinuni);
398
1081	$url = str_replace(';//', '://', $url);
1082	// Append http unless a relative link starting with / or a php file.
1083	if ( strpos($url, '://') === false &&
1083	if ( strpos($url, '://') === false &&
1084		substr( $url, 0, 1 ) != '/' && !preg_match('/^[a-z0-9-]+?\.php/i', $url) )
1085		$url = 'http://' . $url;
formatting.php http://core.svn.wordpress.org/ | PHP | 1,410 lines
1<?php
2
281
282		$string = strtr($string, $chars);
283	} else {
297
298		$string = strtr($string, $chars['in'], $chars['out']);
299		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
413	// Fix Word pasting
414	$content = strtr($content, $wp_htmltranswinuni);
415
1141	 * presume it needs http:// appended (unless a relative
1142	 * link starting with / or a php file).
1143	*/
1144	if ( strpos($url, ':') === false &&
1145		substr( $url, 0, 1 ) != '/' && !preg_match('/^[a-z0-9-]+?\.php/i', $url) )
1146		$url = 'http://' . $url;
formatting.php http://core.svn.wordpress.org/ | PHP | 1,241 lines
1<?php
2
271
272		$string = strtr($string, $chars);
273	} else {
287
288		$string = strtr($string, $chars['in'], $chars['out']);
289		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
404	// Fix Word pasting
405	$content = strtr($content, $wp_htmltranswinuni);
406
1099	 * presume it needs http:// appended (unless a relative
1100	 * link starting with / or a php file).
1101	*/
1102	if ( strpos($url, ':') === false &&
1103		substr( $url, 0, 1 ) != '/' && !preg_match('/^[a-z0-9-]+?\.php/i', $url) )
1104		$url = 'http://' . $url;
formatting.php http://core.svn.wordpress.org/ | PHP | 1,427 lines
1<?php
2
287
288		$string = strtr($string, $chars);
289	} else {
303
304		$string = strtr($string, $chars['in'], $chars['out']);
305		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
431	// Fix Word pasting
432	$content = strtr($content, $wp_htmltranswinuni);
433
1158	 * presume it needs http:// appended (unless a relative
1159	 * link starting with / or a php file).
1160	*/
1161	if ( strpos($url, ':') === false &&
1162		substr( $url, 0, 1 ) != '/' && !preg_match('/^[a-z0-9-]+?\.php/i', $url) )
1163		$url = 'http://' . $url;
formatting.php http://core.svn.wordpress.org/ | PHP | 1,258 lines
1<?php
2
271
272		$string = strtr($string, $chars);
273	} else {
287
288		$string = strtr($string, $chars['in'], $chars['out']);
289		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
404	// Fix Word pasting
405	$content = strtr($content, $wp_htmltranswinuni);
406
1116	 * presume it needs http:// appended (unless a relative
1117	 * link starting with / or a php file).
1118	*/
1119	if ( strpos($url, ':') === false &&
1120		substr( $url, 0, 1 ) != '/' && !preg_match('/^[a-z0-9-]+?\.php/i', $url) )
1121		$url = 'http://' . $url;
formatting.php http://core.svn.wordpress.org/ | PHP | 1,202 lines
1<?php
2
263
264		$string = strtr($string, $chars);
265	} else {
279
280		$string = strtr($string, $chars['in'], $chars['out']);
281		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
396	// Fix Word pasting
397	$content = strtr($content, $wp_htmltranswinuni);
398
1081	$url = str_replace(';//', '://', $url);
1082	// Append http unless a relative link starting with / or a php file.
1083	if ( strpos($url, '://') === false &&
1083	if ( strpos($url, '://') === false &&
1084		substr( $url, 0, 1 ) != '/' && !preg_match('/^[a-z0-9-]+?\.php/i', $url) )
1085		$url = 'http://' . $url;
formatting.php http://core.svn.wordpress.org/ | PHP | 1,424 lines
1<?php
2
287
288		$string = strtr($string, $chars);
289	} else {
303
304		$string = strtr($string, $chars['in'], $chars['out']);
305		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
428	// Fix Word pasting
429	$content = strtr($content, $wp_htmltranswinuni);
430
1155	 * presume it needs http:// appended (unless a relative
1156	 * link starting with / or a php file).
1157	*/
1158	if ( strpos($url, ':') === false &&
1159		substr( $url, 0, 1 ) != '/' && !preg_match('/^[a-z0-9-]+?\.php/i', $url) )
1160		$url = 'http://' . $url;
formatting.php http://core.svn.wordpress.org/ | PHP | 1,420 lines
1<?php
2
282
283		$string = strtr($string, $chars);
284	} else {
298
299		$string = strtr($string, $chars['in'], $chars['out']);
300		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
423	// Fix Word pasting
424	$content = strtr($content, $wp_htmltranswinuni);
425
1151	 * presume it needs http:// appended (unless a relative
1152	 * link starting with / or a php file).
1153	*/
1154	if ( strpos($url, ':') === false &&
1155		substr( $url, 0, 1 ) != '/' && !preg_match('/^[a-z0-9-]+?\.php/i', $url) )
1156		$url = 'http://' . $url;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21