Project

General

Profile

« Previous | Next » 

Revision 1404

Added by Luisehahne almost 14 years ago

Security fix in pages

View differences:

sections.php
217 217
				// 'PAGE_IDKEY' => $admin->getIDKEY($results_array['page_id']),
218 218
				'PAGE_IDKEY' => $results_array['page_id'],
219 219
				'VAR_PAGE_TITLE' => $results_array['page_title'],
220
				'SETTINGS_LINK' => ADMIN_URL.'/pages/settings.php?page_id='./*$admin->getIDKEY()*/$results_array['page_id'],
221
				'MODIFY_LINK' => ADMIN_URL.'/pages/modify.php?page_id='./*$admin->getIDKEY()*/$results_array['page_id']
220
				'SETTINGS_LINK' => ADMIN_URL.'/pages/settings.php?page_id='.$results_array['page_id'],
221
				'MODIFY_LINK' => ADMIN_URL.'/pages/modify.php?page_id='.$results_array['page_id']
222 222
				)
223 223
			);
224 224

  
......
245 245
			{
246 246
				$edit_page = '';
247 247
			}
248
			$edit_page_0 = '<a id="sid'.$section['section_id'].'" href="'.ADMIN_URL.'/pages/modify.php?page_id='./*$admin->getIDKEY()*/$results_array['page_id'];
248
			$edit_page_0 = '<a id="sid'.$section['section_id'].'" href="'.ADMIN_URL.'/pages/modify.php?page_id='.$results_array['page_id'];
249 249
			$edit_page_1 = $section['section_id'].'">'.$section['module'].'</a>';
250 250
			if(SECTION_BLOCKS)
251 251
            {

Also available in: Unified diff