Project

General

Profile

« Previous | Next » 

Revision 1074

Added by Matthias almost 15 years ago

replaced in form and news delimiter "&" with "&" was introduced with changeset [1069] but didn't work on all servers

View differences:

modify_field.php
41 41
// Include WB admin wrapper script
42 42
require(WB_PATH.'/modules/admin.php');
43 43

  
44
//overwrite php.ini on Apache servers for valid SESSION ID Separator
45
if(function_exists('ini_set')) {
46
	ini_set('arg_separator.output', '&');
47
}
48

  
49 44
// Get header and footer
50 45
$query_content = $database->query("SELECT * FROM ".TABLE_PREFIX."mod_form_fields WHERE field_id = '$field_id'");
51 46
$form = $query_content->fetchRow();
......
215 210
		if ($type<>'none') {
216 211
		?>
217 212
		<td align="center">
218
			<input type="button" value="<?php echo $TEXT['ADD'].' '.$TEXT['FIELD']; ?>" onclick="javascript: window.location = '<?php echo WB_URL; ?>/modules/form/add_field.php?page_id=<?php echo $page_id; ?>&amp;section_id=<?php echo $section_id; ?>';" style="width: 200px; margin-top: 5px;" />
213
			<input type="button" value="<?php echo $TEXT['ADD'].' '.$TEXT['FIELD']; ?>" onclick="javascript: window.location = '<?php echo WB_URL; ?>/modules/form/add_field.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>';" style="width: 200px; margin-top: 5px;" />
219 214
		</td>
220 215
		<?php } 
221 216
		// end addition

Also available in: Unified diff