projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc0e182
)
RooConfig.php
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 08:21:01 +0000
(16:21 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 08:21:01 +0000
(16:21 +0800)
RooConfig.php
patch
|
blob
|
history
diff --git
a/RooConfig.php
b/RooConfig.php
index
a8729e7
..
44cde8c
100644
(file)
--- a/
RooConfig.php
+++ b/
RooConfig.php
@@
-19,7
+19,9
@@
class Pman_Core_RooConfig extends Pman {
foreach($fonts as $f) {
$ar[] = array( $f->name, $f->display_name );
}
-
+ if (!empty($ar)) {
+ echo "Roo.form.HtmlEditor.ToolbarContext.options['font-family'] = " . json_encode($ar) .";\n";
+ }
}