Project

General

Profile

« Previous | Next » 

Revision 42

Added by stefan about 19 years ago

Changed most occurrences of strip_slashes to new dummy method strip_slashes_dummy.

View differences:

index.php
150 150
				</td>
151 151
				<?php if($admin->get_permission('pages_modify') == true AND $can_modify == true) { ?>
152 152
				<td>
153
					<a href="<?php echo ADMIN_URL; ?>/pages/modify.php?page_id=<?php echo $page['page_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>"><?php echo $admin->strip_slashes($page['page_title']); ?></a>
153
					<a href="<?php echo ADMIN_URL; ?>/pages/modify.php?page_id=<?php echo $page['page_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>"><?php echo $admin->strip_slashes_dummy($page['page_title']); ?></a>
154 154
				</td>
155 155
				<?php } else { ?>
156 156
				<td>
157
					<?php	echo $admin->strip_slashes($page['page_title']); ?>
157
					<?php	echo $admin->strip_slashes_dummy($page['page_title']); ?>
158 158
				</td>
159 159
				<?php } ?>
160 160
				<td align="left" width="232">
161
					<font color="#999999"><?php echo $admin->strip_slashes($page['menu_title']); ?></font>
161
					<font color="#999999"><?php echo $admin->strip_slashes_dummy($page['menu_title']); ?></font>
162 162
				</td>
163 163
				<td align="center" valign="middle" width="90">
164 164
				<?php if($page['visibility'] == 'public') { ?>
......
446 446
			for($i = 1; $i <= $page['level']; $i++) { $title_prefix .= ' - '; }
447 447
				$template->set_var(array(
448 448
												'ID' => $page['page_id'],
449
												'TITLE' => $admin->strip_slashes($title_prefix.$page['page_title'])
449
												'TITLE' => $admin->strip_slashes_dummy($title_prefix.$page['page_title'])
450 450
												)
451 451
										);
452 452
				if($can_modify == true) {

Also available in: Unified diff