projects
/
misc
/
kostenrechnung
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da1a9e0
)
Add name of mask to page, for later use in JavaScript
author
Joey Schulze
<joey@infodrom.org>
Thu, 4 Mar 2010 10:17:58 +0000
(11:17 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Thu, 4 Mar 2010 10:17:58 +0000
(11:17 +0100)
lib/mask.php
patch
|
blob
|
history
diff --git
a/lib/mask.php
b/lib/mask.php
index
8549ee4
..
a63d883
100644
(file)
--- a/
lib/mask.php
+++ b/
lib/mask.php
@@
-231,8
+231,8
@@
function mask($name)
if (array_key_exists('table',$mask) && array_key_exists('list',$mask))
$ret = build_mask($name, $mask);
- error_log(count($ret));
-
return
implode("\n", $ret);
+ return sprintf('<span id="source" style="display: none;">%s</span>', $_GET['mask'])
+
.
implode("\n", $ret);
}
-?>
\ No newline at end of file
+?>