projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replacing tabs with spaces, trimming white space at EOL and newline at EOF
[squirrelmail.git]
/
functions
/
html.php
diff --git
a/functions/html.php
b/functions/html.php
index 92c21b1c604b0be198cb6e55173e89caa35a95e9..747d68ede2c347859388d01c56cbd45242efb329 100644
(file)
--- a/
functions/html.php
+++ b/
functions/html.php
@@
-99,7
+99,7
@@
function html_tag( $tag, // Tag to output
'/.+(\\?'.$var.')=(.*)$/AU', /* at front and only var */
'/.+(\\&'.$var.')=(.*)$/AU' /* at the end */
);
'/.+(\\?'.$var.')=(.*)$/AU', /* at front and only var */
'/.+(\\&'.$var.')=(.*)$/AU' /* at the end */
);
- preg_replace('/&/','&',$url);
+
preg_replace('/&/','&',$url);
switch (true) {
case (preg_match($pat_a[0],$url,$regs)):
$k = $regs[1];
switch (true) {
case (preg_match($pat_a[0],$url,$regs)):
$k = $regs[1];
@@
-131,9
+131,9
@@
function html_tag( $tag, // Tag to output
if ($k) {
if ($val) {
$rpl = "$k=$val";
if ($k) {
if ($val) {
$rpl = "$k=$val";
- if ($link) {
- $rpl = preg_replace('/&/','&',$rpl);
- }
+
if ($link) {
+
$rpl = preg_replace('/&/','&',$rpl);
+
}
} else {
$rpl = '';
}
} else {
$rpl = '';
}