Home
last modified time | relevance | path

Searched refs:trim (Results 1 – 25 of 1837) sorted by relevance

12345678910>>...74

/plugin/asciidocjs/node_modules/jake/test/integration/
Dtask_base.js14 out = exec(`${JAKE_CMD} -q`).toString().trim();
16 out = exec(`${JAKE_CMD} -q default`).toString().trim();
21 let out = exec(`${JAKE_CMD} -q noAction`).toString().trim();
37 let out = exec(`${JAKE_CMD} -q argsEnvVars[foo,bar]`).toString().trim();
45 let out = exec(`${JAKE_CMD} -q argsEnvVars foo=bar baz=qux`).toString().trim();
53 let out = exec(`${JAKE_CMD} -q argsEnvVars[foo,bar] foo=bar baz=qux`).toString().trim();
64 let out = exec(`${JAKE_CMD} -q foo:baz`).toString().trim();
69 let out = exec(`${JAKE_CMD} -q foo:asdf`).toString().trim();
74 let out = exec(`${JAKE_CMD} -q foo:qux`).toString().trim();
79 let out = exec(`${JAKE_CMD} -q foo:frang[zxcv,uiop]`).toString().trim();
[all …]
Dfile_task.js43 out = exec(`${JAKE_CMD} -q fileTest:foo/from-src1.txt`).toString().trim();
46 out = exec(`${JAKE_CMD} -q -B fileTest:foo/from-src1.txt`).toString().trim();
54 out = exec(`${JAKE_CMD} -q fileTest:foo/concat.txt`).toString().trim();
65 out = exec(`${JAKE_CMD} -q fileTest:foo/from-src1.txt`).toString().trim();
67 out = exec(`${JAKE_CMD} -q fileTest:foo/from-src1.txt`).toString().trim();
80 out = exec(`${JAKE_CMD} -q fileTest:foo/from-src1.txt`).toString().trim();
83 out = exec(`${JAKE_CMD} -q fileTest:foo/from-src1.txt`).toString().trim();
94 out = exec(`${JAKE_CMD} -q fileTest:foo/from-prereq.txt`).toString().trim();
98 out = exec(`${JAKE_CMD} -q fileTest:foo/from-prereq.txt`).toString().trim();
109 out = exec(`${JAKE_CMD} -q fileTest:foo/from-prereq.txt`).toString().trim();
[all …]
/plugin/anewssystem/
Dsyntax.php80 $targetpage = htmlspecialchars(trim($target));
111 $key = trim($key);
112 if( strpos(trim($postvalue), "\n") !== false ) {
168 if (trim($fields[1]) == "textarea") {
169 $output .= '<p>'.trim($fields[4]);
174 $output .= $this->news_edit_toolbar('news_input_'.trim($fields[0]));
177 ' id="news_input_'.trim($fields[0]).'"'.
178 … ' name="news_input_'.trim($fields[0]).'"'.
179 … ' title="'.trim($this->getLang(trim($fields[5]))).'" '.trim($fields[2]).'"'.
183 …<a href="javascript:resizeBoxId(\'news_input_'.trim($fields[0]).'\', -20)"><img src="'.$imgBASE.'r…
[all …]
Daction.php57 $targetpage = htmlspecialchars(trim($target));
95 list($key, $value) = split("=",trim($item),2);
128 list($key, $value) = split(":",trim($item),2);
131 $anchor = trim($value);
133 elseif(($key=='start') && strtotime(trim($value)) < time()) {
142 $news_head = trim($value);
145 …$news_subtitle = '<br /><span class="news_subtitle">'.trim($value).'</span>'.NL; …
148 …$news_head = '<a href="'.$value.'" id="'.$value.'" name="'.$value.'">'. trim($news_head) .'</a>'.N…
157 … if(($tag!==false) && (stripos($archive_options['tag'],trim($tag))!==false)){
177 $elt[0] = trim(strip_tags(str_replace('(','',$elt[0])));
[all …]
/plugin/struct/meta/
DInlineConfigParser.php38 $components = str_getcsv(trim($parts[0]), '.', '"', '\\');
44 $parameters = str_getcsv(trim($parts[1]), ' ', '"', '\\');
49 $p = trim($parameters[$i]);
62 $lines[] = $p . ' ' . trim($parameters[$i + 1]);
68 $lines[] = 'filterand: ' . trim($parameters[$i + 1]);
74 $lines[] = 'filteror: ' . trim($parameters[$i + 1]);
84 $lines[] = 'schema: ' . trim($components[1]);
85 $lines[] = 'field: ' . trim($components[2]);
86 $lines[] = 'filter: %pageid% = ' . trim($components[0]);
89 $lines[] = 'schema: ' . trim($components[0]);
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
Dmodule.archive.tar.php59 $name = (isset($attr['fname'] ) ? trim($attr['fname'] ) : '');
60 $mode = octdec(isset($attr['mode'] ) ? trim($attr['mode'] ) : '');
61 $uid = octdec(isset($attr['uid'] ) ? trim($attr['uid'] ) : '');
62 $gid = octdec(isset($attr['gid'] ) ? trim($attr['gid'] ) : '');
63 $size = octdec(isset($attr['size'] ) ? trim($attr['size'] ) : '');
64 $mtime = octdec(isset($attr['mtime'] ) ? trim($attr['mtime'] ) : '');
65 $chksum = octdec(isset($attr['chksum'] ) ? trim($attr['chksum'] ) : '');
66 $typflag = (isset($attr['typflag']) ? trim($attr['typflag']) : '');
67 $lnkname = (isset($attr['lnkname']) ? trim($attr['lnkname']) : '');
68 $magic = (isset($attr['magic'] ) ? trim($attr['magic'] ) : '');
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
Dtrim.test2 "trim" filter
4 {{ " I like Twig. "|trim }}
5 {{ text|trim }}
6 {{ " foo/"|trim("/") }}
7 {{ "xxxI like Twig.xxx"|trim(character_mask="x", side="left") }}
8 {{ "xxxI like Twig.xxx"|trim(side="right", character_mask="x") }}
9 {{ "xxxI like Twig.xxx"|trim("x", "right") }}
10 {{ "/ foo/"|trim("/", "left") }}
11 {{ "/ foo/"|trim(character_mask="/", side="left") }}
12 {{ " do nothing. "|trim("", "right") }}
/plugin/yatp/
Dhelper.php34 if ( str_contains($replacers, '=') && (substr(trim($replacers), -1) != '=') ){
36 $r['keys'] = BEGIN_REPLACE_DELIMITER.trim($k).END_REPLACE_DELIMITER;
37 $r['vals'] = trim(str_replace('\|', '|', $v));
41 if (str_contains($rep, '=') && (substr(trim($rep), -1) != '=') ){
43 $r['keys'][] = BEGIN_REPLACE_DELIMITER.trim($k).END_REPLACE_DELIMITER;
44 if (trim($v)[0] == '"' and trim($v)[-1] == '"') {
45 $r['vals'][] = substr(trim(str_replace('\|','|',$v)), 1, -1);
47 $r['vals'][] = trim(str_replace('\|','|',$v));
/plugin/multiselect/_test/
Dsyntax.test.php27 $this->assertEquals('a',trim(pq("span",$mselector)->eq(0)->text()));
28 $this->assertEquals('b',trim(pq("span",$mselector)->eq(1)->text()));
29 $this->assertEquals('c',trim(pq("span",$mselector)->eq(2)->text()));
30 $this->assertEquals('d',trim(pq("span",$mselector)->eq(3)->text()));
32 $this->assertEquals('a',trim(pq("span.multismiley",$doc)->text()));
48 $this->assertEquals('a a',trim(pq("span",$mselector)->eq(0)->text()));
49 $this->assertEquals('üöäß',trim(pq("span",$mselector)->eq(1)->text()));
50 $this->assertEquals('ä_',trim(pq("span",$mselector)->eq(2)->text()));
51 $this->assertEquals(':-)',trim(pq('img',pq("span",$mselector)->eq(3))->attr('alt')));
53 $this->assertEquals('a a',trim(pq("span.multismiley",$doc)->text()));
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
Dtrim.rst1 ``trim``
8 The ``trim`` filter was added in Twig 1.6.2.
10 The ``trim`` filter strips whitespace (or other characters) from the beginning
15 {{ ' I like Twig. '|trim }}
19 {{ ' I like Twig.'|trim('.') }}
23 {{ ' I like Twig. '|trim(side='left') }}
27 {{ ' I like Twig. '|trim(' ', 'right') }}
33 Internally, Twig uses the PHP `trim`_, `ltrim`_, and `rtrim`_ functions.
43 .. _`trim`: https://secure.php.net/trim target
/plugin/avtaskbox/
Dsyntax.php93 … $title = (!empty($matches[1]) && strlen(trim($matches[1]))>0) ? trim($matches[1]) : '&nbsp;';
96 …$priority =(!empty($matches[1]) && strlen(trim($matches[1]))>0) ? 'Priority: '.trim($matches[1]) :…
99 …$estimate = (!empty($matches[1]) && strlen(trim($matches[1]))>0) ? ' of '.trim($matches[1]) : '&nb…
102 …$assigned = (!empty($matches[1]) && strlen(trim($matches[1]))>0) ? '('.trim($matches[1]).')' : '&n…
105 …$progress = (!empty($matches[1]) && strlen(trim($matches[1]))>0) ? intval(preg_replace('[^0-9]', '…
108 …$description = (!empty($matches[1]) && strlen(trim($matches[1]))>0) ? trim($matches[1]) : '&nbsp;';
/plugin/adhoctags/syntax/
Diframe.php26 return (preg_match('/^\d+$/', trim($value)));
31 $decodedVal = trim(urldecode($value));
37 …return (preg_match("/^[\w\d\-\._~\/\?#\[\]@\!$&'()*+,;=%]+$/", trim($value)));; /* any URL without…
40 …return (preg_match("/^[\w\d\-\._~:\/\?#\[\]@\!$&'()*+,;=%]+$/", trim($value)));; /* allow any URL!…
45 return (preg_match('/^[\w\-]+$/', trim($value)));
49 return (preg_match('/^[\w\d_\-]+$/', trim($value)));
61 return (preg_match('/^[\w\-]+$/', trim($value)));
/plugin/datepicker/_test/
Dsyntax.test.php37 $this->plugin->getConf('emptyStringDate'),trim($mselector->eq(0)->text()));
46 … $this->assertEquals($this->plugin->getConf('emptyStringDate'), trim($mselector->eq(0)->text()));
47 … $this->assertEquals($this->plugin->getConf('emptyStringDate'), trim($mselector->eq(1)->text()));
48 … $this->assertEquals($this->plugin->getConf('emptyStringDate'), trim($mselector->eq(2)->text()));
71 $this->plugin->getConf('emptyStringWeek'),trim($mselector->eq(0)->text()));
79 … $this->assertEquals($this->plugin->getConf('emptyStringWeek'), trim($mselector->eq(0)->text()));
80 … $this->assertEquals($this->plugin->getConf('emptyStringWeek'), trim($mselector->eq(1)->text()));
81 … $this->assertEquals($this->plugin->getConf('emptyStringWeek'), trim($mselector->eq(2)->text()));
99 $this->assertEquals('2014-02-01',trim($mselector->eq(0)->text()));
100 $this->assertEquals('2014-02-01',trim($mselector->eq(1)->text()));
[all …]
/plugin/formatplus2/syntax/
Dblockinsertplus.php67 $output = array(trim($matches[1]),trim($matches[2]),trim($matches[3]));
69 $output = array(trim($matches[1]),trim($matches[3]),trim($matches[2]));
71 $output = array(trim($matches[1]),trim($matches[2]),'');
73 $output = array(trim($matches[1]),'',trim($matches[2]));
75 $output = array(trim($match),'','');
Dblockdeleteplus.php72 $output = array(trim($matches[1]),trim($matches[2]),trim($matches[3]));
74 $output = array(trim($matches[1]),trim($matches[3]),trim($matches[2]));
76 $output = array(trim($matches[1]),trim($matches[2]),'');
78 $output = array(trim($matches[1]),'',trim($matches[2]));
80 $output = array(trim($match),'','');
/plugin/formatplus/syntax/
Dblockinsertplus.php67 $output = array(trim($matches[1]),trim($matches[2]),trim($matches[3]));
69 $output = array(trim($matches[1]),trim($matches[3]),trim($matches[2]));
71 $output = array(trim($matches[1]),trim($matches[2]),'');
73 $output = array(trim($matches[1]),'',trim($matches[2]));
75 $output = array(trim($match),'','');
Dblockdeleteplus.php72 $output = array(trim($matches[1]),trim($matches[2]),trim($matches[3]));
74 $output = array(trim($matches[1]),trim($matches[3]),trim($matches[2]));
76 $output = array(trim($matches[1]),trim($matches[2]),'');
78 $output = array(trim($matches[1]),'',trim($matches[2]));
80 $output = array(trim($match),'','');
/plugin/bibtex/OSBib/format/bibtexParse/
DPARSEPAGE.php33 $item = trim($item);
49 if(is_numeric(trim($array[0])))
50 $start = trim($array[0]);
52 $start = strtolower(trim($array[0]));
53 if(is_numeric(trim($array[1])))
54 $end = trim($array[1]);
56 $end = strtolower(trim($array[1]));
/plugin/tplmod/
Daction.php52 $language = trim($this->getConf('deflang'));
72 $val = strtolower(trim($val));
121 $background_color = trim($background_color);
132 $xcludes = trim($xcludes,',');
142 $ips = trim($ips);
212 list($logo,$width) = preg_split("/\s+/", trim($logos[$slot]));
213 $JSINFO['tmplft_logo'] = trim($logo);
214 $JSINFO['tmplft_logo_width'] = trim($width);
219 $addr = trim($ips[$i]);
222 list($logo,$width) = preg_split("/\s+/", trim($logos[$i]));
[all …]
/plugin/meta/
Dsyntax.php43 if (trim($subkey)) {
44 $data[trim($key)][trim($subkey)] = trim($value);
46 $data[trim($key)] = trim($value);
69 $date = $this->convertDate(trim($date));
124 list($date, $time) = explode(' ', trim($start), 2);
134 list($startdate, $starttime) = explode(' ', trim($start), 2);
142 list($enddate, $endtime) = explode(' ', trim($end), 2);
143 if (!trim($endtime)) {
/plugin/switchpanel/
Dsyntax.php44 $match = trim( substr( $match, 0, ( strlen( $this->_sName ) + 3 ) * -1 ) );
85 $sContent = trim( substr( $match, $iPosFirstLine ) );
89 $sFirstLines = trim( substr( $sFirstLines, strlen( $this->_sName ) + 1 ) );
90 $sFirstLines = trim( rtrim( $sFirstLines, '>' ) );
93 if( trim( $sKeyVal ) == '' || stripos( $sKeyVal, '=' ) === false ){
97 $sVal = trim( $sVal, '"' );
116 $sOptions = trim( $sOptions, ',' );
124 $sKey = trim( substr( $sOptions, 0, $iPosStop ) );
125 $sOptions = trim( substr( $sOptions, $iPosStop + 1 ) );
131 $sValue = trim( substr( $sOptions, 0, $iPosStop ) );
[all …]
/plugin/adhoctags/
Dhelper.php72 if (in_array(strtolower(trim($val)), array('ltr','rtl','auto'))) {
80 if (in_array(strtolower(trim($val)), array('hidden','until-found'))) {
145 $attr['lang'] = strtolower(trim($token,':'));
151 $attr['id'] = trim($token,'#');
157 $attr['title'] = trim($token,'"');
164 $cAttr = explode('=', trim($token,'[]'), 2);
218 if (trim($token)!==''){array_push($result, $token);}
231 if (trim($token)!==''){array_push($result, $token);}
260 if (trim($token)!==''){array_push($result, $token);}
301 if (trim($token)!=='') {array_push($result, $token);}
/plugin/html2pdf/html2pdf/html2ps/samples/API/events/1/
Dhtml2pdf.php51 $fi = trim ( urldecode ( get_var ( "fi", $_GET, 255, "" ) ) );
53 $fo = trim ( urldecode ( get_var ( "fo", $_GET, 255, "document" ) ) );
82 if ( strpos ( trim ( $filerows[$i] ), "HTML2PDF_POST_PROCESSING_DIRECTIVES -->" ) === 0 ) {
89 if ( strpos ( trim ( $filerows[$i] ), "//" ) === 0 ) { continue; } // Skip comment line
92 $row_type = ( isset ( $tmp[0] ) ? trim ( $tmp[0] ) : "" );
93 $row_info = ( isset ( $tmp[1] ) ? trim ( $tmp[1] ) : "" );
118 if ( strpos ( trim ( $filerows[$i] ), "<!-- HTML2PDF_POST_PROCESSING_DIRECTIVES" ) === 0 ) {
260 $elem = $params["document"]->get_element_by_id ( trim ( $id ) );
270 $elem = $params["document"]->get_element_by_id ( trim ( $id ) );
280 $elem = $params["document"]->get_element_by_id ( trim ( $id ) );
[all …]
/plugin/zwidoku/
H A DShortDescription.php57 $xsum=$xsum." ". trim($value);
62 $xsum=trim($xsum);
73 $xsum=$xsum." ". trim($value);
77 return trim($xsum);
82 $string=trim($string);
84 return trim($string);
/plugin/flattr/
Dsyntax.php44 $match = trim($match);
50 if (trim($lines[0]) === '')
52 if (trim($lines[-1]) === '')
56 $line = trim($line);
58 $name = trim(strtolower($name));
59 $value = trim($value);

12345678910>>...74