Revision 442
Added by Matthias over 17 years ago
settings.php | ||
---|---|---|
76 | 76 |
$template->set_block('page', 'main_block', 'main'); |
77 | 77 |
$template->set_var(array( |
78 | 78 |
'PAGE_ID' => $results_array['page_id'], |
79 |
'PAGE_TITLE' => (htmlentities($results_array['page_title'])),
|
|
80 |
'MENU_TITLE' => (htmlentities($results_array['menu_title'])),
|
|
79 |
'PAGE_TITLE' => ($results_array['page_title']),
|
|
80 |
'MENU_TITLE' => ($results_array['menu_title']),
|
|
81 | 81 |
'DESCRIPTION' => ($results_array['description']), |
82 | 82 |
'KEYWORDS' => ($results_array['keywords']), |
83 | 83 |
'MODIFIED_BY' => $user['display_name'], |
... | ... | |
249 | 249 |
for($i = 1; $i <= $page['level']; $i++) { $title_prefix .= ' - '; } |
250 | 250 |
$template->set_var(array( |
251 | 251 |
'ID' => $page['page_id'], |
252 |
'TITLE' => ($title_prefix.htmlentities($page['page_title']))
|
|
252 |
'TITLE' => ($title_prefix.$page['page_title'])
|
|
253 | 253 |
) |
254 | 254 |
); |
255 | 255 |
if($results_array['parent'] == $page['page_id']) { |
Also available in: Unified diff
Fixed issues with some languages when UTF8 is used.
Removed all htmlentites from the code (revoked changeset [396]) and added new functions instead.
Adapted the search and the highlighting to use the new functions.
With this changes WB can now be used with charset UTF8 for all languages.