summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Reynen2009-12-09 04:24:38 (GMT)
committer Kevin Reynen2009-12-09 04:24:38 (GMT)
commit7f109138fae62011a4bcb935e0a0466e5fbb95f1 (patch)
tree877cb93cc7c07b8979a95248f046110d606a31f4
parentbf0a1894360621e995ac15eb8e0d1f1c7bd4919c (diff)
no message5.x-1.11
-rw-r--r--tinymce.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinymce.module b/tinymce.module
index 31a13a9..092fcd1 100644
--- a/tinymce.module
+++ b/tinymce.module
@@ -614,7 +614,7 @@ function tinymce_config($profile) {
}
}
- if ($settings['css_classes']) $init['theme_advanced_styles'] = $settings['css_classes'];
+ if ($settings['css_classes']) $init['theme_advanced_styles'] = str_replace('"','',$settings['css_classes']);
if ($settings['css_setting'] == 'theme') {
$css = $themepath . 'style.css';
@@ -1048,7 +1048,7 @@ function tinymce_profile_overview() {
$roles = user_roles();
$header = array(t('Profile'), t('Roles'), t('Operations'));
foreach ($profiles as $p) {
- $rows[] = array(array('data' => $p->name, 'valign' => 'top'), array('data' => implode("<br />\n", $p->rids)), array('data' => l(t('edit'), 'admin/settings/tinymce/edit/'. urlencode($p->name)) . ' '. l(t('delete'), 'admin/settings/tinymce/delete/'. urlencode($p->name)), 'valign' => 'top'));
+ $rows[] = array(array('data' => filter_xss($p->name), 'valign' => 'top'), array('data' => implode("<br />\n", $p->rids)), array('data' => l(t('edit'), 'admin/settings/tinymce/edit/'. urlencode($p->name)) . ' '. l(t('delete'), 'admin/settings/tinymce/delete/'. urlencode($p->name)), 'valign' => 'top'));
}
$output .= theme('table', $header, $rows);
$output .= t('<p><a href="!create-profile-url">Create new profile</a></p>', array('!create-profile-url' => url('admin/settings/tinymce/add')));