Project

General

Profile

« Previous | Next » 

Revision 442

Added by Matthias over 17 years ago

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.

View differences:

index.php
166 166
				</td>
167 167
				<?php if($admin->get_permission('pages_modify') == true AND $can_modify == true) { ?>
168 168
				<td>
169
					<a href="<?php echo ADMIN_URL; ?>/pages/modify.php?page_id=<?php echo $page['page_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>"><?php echo (htmlentities($page['page_title'])); ?></a>				
169
					<a href="<?php echo ADMIN_URL; ?>/pages/modify.php?page_id=<?php echo $page['page_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>"><?php echo ($page['page_title']); ?></a>				
170 170
				</td>
171 171
				<?php } else { ?>
172 172
				<td>
173
					<?php echo (htmlentities($page['page_title'])); ?>
173
					<?php echo ($page['page_title']); ?>
174 174
				</td>
175 175
				<?php } ?>
176 176
				<td align="left" width="232">
177
					<font color="#999999"><?php echo (htmlentities($page['menu_title'])); ?></font>
177
					<font color="#999999"><?php echo ($page['menu_title']); ?></font>
178 178
				</td>
179 179
				<td align="center" valign="middle" width="90">
180 180
				<?php if($page['visibility'] == 'public') { ?>
......
462 462
			for($i = 1; $i <= $page['level']; $i++) { $title_prefix .= ' - '; }
463 463
				$template->set_var(array(
464 464
												'ID' => $page['page_id'],
465
												'TITLE' => ($title_prefix.htmlentities($page['page_title']))
465
												'TITLE' => ($title_prefix.$page['page_title'])
466 466
												)
467 467
										);
468 468
				if($can_modify == true) {

Also available in: Unified diff