Revision 1074
Added by Matthias over 15 years ago
trunk/CHANGELOG | ||
---|---|---|
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
14 | 14 |
16-July 2009 Matthias Gallas |
15 |
! replaced in form and news delimiter "&" with "&" |
|
16 |
was introduced with changeset [1069] but didn't work on all servers |
|
15 | 17 |
# Removed double </form> tags in pages/intro.php and wysiwyg/modify.php |
16 | 18 |
! replaced all remaining mktime() with time(), except from third party scripts |
17 | 19 |
15-July 2009 Matthias Gallas |
trunk/wb/modules/form/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; ?>&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; ?>§ion_id=<?php echo $section_id; ?>';" style="width: 200px; margin-top: 5px;" /> |
|
219 | 214 |
</td> |
220 | 215 |
<?php } |
221 | 216 |
// end addition |
trunk/wb/modules/form/add_field.php | ||
---|---|---|
33 | 33 |
// Include WB admin wrapper script |
34 | 34 |
require(WB_PATH.'/modules/admin.php'); |
35 | 35 |
|
36 |
//overwrite php.ini on Apache servers for valid SESSION ID Separator |
|
37 |
if(function_exists('ini_set')) { |
|
38 |
ini_set('arg_separator.output', '&'); |
|
39 |
} |
|
40 |
|
|
41 | 36 |
// Include the ordering class |
42 | 37 |
require(WB_PATH.'/framework/class.order.php'); |
43 | 38 |
// Get new order |
... | ... | |
52 | 47 |
|
53 | 48 |
// Say that a new record has been added, then redirect to modify page |
54 | 49 |
if($database->is_error()) { |
55 |
$admin->print_error($database->get_error(), WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'&section_id='.$section_id.'&field_id='.$field_id);
|
|
50 |
$admin->print_error($database->get_error(), WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'§ion_id='.$section_id.'&field_id='.$field_id);
|
|
56 | 51 |
} else { |
57 |
$admin->print_success($TEXT['SUCCESS'], WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'&section_id='.$section_id.'&field_id='.$field_id);
|
|
52 |
$admin->print_success($TEXT['SUCCESS'], WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'§ion_id='.$section_id.'&field_id='.$field_id);
|
|
58 | 53 |
} |
59 | 54 |
|
60 | 55 |
// Print admin footer |
trunk/wb/modules/form/save_field.php | ||
---|---|---|
42 | 42 |
$update_when_modified = true; // Tells script to update when this page was last updated |
43 | 43 |
require(WB_PATH.'/modules/admin.php'); |
44 | 44 |
|
45 |
//overwrite php.ini on Apache servers for valid SESSION ID Separator |
|
46 |
if(function_exists('ini_set')) { |
|
47 |
ini_set('arg_separator.output', '&'); |
|
48 |
} |
|
49 |
|
|
50 | 45 |
// Validate all fields |
51 | 46 |
if($admin->get_post('title') == '' OR $admin->get_post('type') == '') { |
52 |
$admin->print_error($MESSAGE['GENERIC']['FILL_IN_ALL'], WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'&section_id='.$section_id.'&field_id='.$field_id);
|
|
47 |
$admin->print_error($MESSAGE['GENERIC']['FILL_IN_ALL'], WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'§ion_id='.$section_id.'&field_id='.$field_id);
|
|
53 | 48 |
} else { |
54 | 49 |
$title = $admin->add_slashes($admin->get_post('title')); |
55 | 50 |
$type = $admin->add_slashes($admin->get_post('type')); |
... | ... | |
98 | 93 |
|
99 | 94 |
// Check if there is a db error, otherwise say successful |
100 | 95 |
if($database->is_error()) { |
101 |
$admin->print_error($database->get_error(), WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'&section_id='.$section_id.'&field_id='.$field_id);
|
|
96 |
$admin->print_error($database->get_error(), WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'§ion_id='.$section_id.'&field_id='.$field_id);
|
|
102 | 97 |
} else { |
103 |
$admin->print_success($TEXT['SUCCESS'], WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'&section_id='.$section_id.'&field_id='.$field_id);
|
|
98 |
$admin->print_success($TEXT['SUCCESS'], WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'§ion_id='.$section_id.'&field_id='.$field_id);
|
|
104 | 99 |
} |
105 | 100 |
|
106 | 101 |
// Print admin footer |
trunk/wb/modules/form/view_submission.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 submission details |
50 | 45 |
$query_content = $database->query("SELECT * FROM ".TABLE_PREFIX."mod_form_submissions WHERE submission_id = '$submission_id'"); |
51 | 46 |
$submission = $query_content->fetchRow(); |
... | ... | |
89 | 84 |
<br /> |
90 | 85 |
|
91 | 86 |
<input type="button" value="<?php echo $TEXT['CLOSE']; ?>" onclick="javascript: window.location = '<?php echo ADMIN_URL; ?>/pages/modify.php?page_id=<?php echo $page_id; ?>';" style="width: 150px; margin-top: 5px;" /> |
92 |
<input type="button" value="<?php echo $TEXT['DELETE']; ?>" onclick="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/form/delete_submission.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&submission_id=<?php echo $submission_id; ?>');" style="width: 150px; margin-top: 5px;" />
|
|
87 |
<input type="button" value="<?php echo $TEXT['DELETE']; ?>" onclick="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/form/delete_submission.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&submission_id=<?php echo $submission_id; ?>');" style="width: 150px; margin-top: 5px;" /> |
|
93 | 88 |
<?php |
94 | 89 |
|
95 | 90 |
// Print admin footer |
trunk/wb/modules/form/modify.php | ||
---|---|---|
31 | 31 |
// Must include code to stop this file being access directly |
32 | 32 |
if(!defined('WB_PATH')) { exit("Cannot access this file directly"); } |
33 | 33 |
|
34 |
//overwrite php.ini on Apache servers for valid SESSION ID Separator |
|
35 |
if(function_exists('ini_set')) { |
|
36 |
ini_set('arg_separator.output', '&'); |
|
37 |
} |
|
38 |
|
|
39 | 34 |
//Delete all form fields with no title |
40 | 35 |
$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_fields WHERE page_id = '$page_id' and section_id = '$section_id' and title=''"); |
41 | 36 |
|
... | ... | |
43 | 38 |
<table cellpadding="0" cellspacing="0" border="0" width="100%"> |
44 | 39 |
<tr> |
45 | 40 |
<td align="left" width="33%"> |
46 |
<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: 100%;" />
|
|
41 |
<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; ?>§ion_id=<?php echo $section_id; ?>';" style="width: 100%;" /> |
|
47 | 42 |
</td> |
48 | 43 |
<td align="right" width="33%"> |
49 |
<input type="button" value="<?php echo $TEXT['SETTINGS']; ?>" onclick="javascript: window.location = '<?php echo WB_URL; ?>/modules/form/modify_settings.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>';" style="width: 100%;" />
|
|
44 |
<input type="button" value="<?php echo $TEXT['SETTINGS']; ?>" onclick="javascript: window.location = '<?php echo WB_URL; ?>/modules/form/modify_settings.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>';" style="width: 100%;" /> |
|
50 | 45 |
</td> |
51 | 46 |
</tr> |
52 | 47 |
</table> |
... | ... | |
68 | 63 |
?> |
69 | 64 |
<tr class="row_<?php echo $row; ?>"> |
70 | 65 |
<td width="20" style="padding-left: 5px;"> |
71 |
<a href="<?php echo WB_URL; ?>/modules/form/modify_field.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
|
|
66 |
<a href="<?php echo WB_URL; ?>/modules/form/modify_field.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
|
|
72 | 67 |
<img src="<?php echo THEME_URL; ?>/images/modify_16.png" border="0" alt="^" /> |
73 | 68 |
</a> |
74 | 69 |
</td> |
75 | 70 |
<td> |
76 |
<a href="<?php echo WB_URL; ?>/modules/form/modify_field.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>">
|
|
71 |
<a href="<?php echo WB_URL; ?>/modules/form/modify_field.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>">
|
|
77 | 72 |
<?php echo $field['title']; ?> |
78 | 73 |
</a> |
79 | 74 |
</td> |
... | ... | |
114 | 109 |
</td> |
115 | 110 |
<td width="20"> |
116 | 111 |
<?php if($field['position'] != 1) { ?> |
117 |
<a href="<?php echo WB_URL; ?>/modules/form/move_up.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>" title="<?php echo $TEXT['MOVE_UP']; ?>">
|
|
112 |
<a href="<?php echo WB_URL; ?>/modules/form/move_up.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>" title="<?php echo $TEXT['MOVE_UP']; ?>">
|
|
118 | 113 |
<img src="<?php echo THEME_URL; ?>/images/up_16.png" border="0" alt="^" /> |
119 | 114 |
</a> |
120 | 115 |
<?php } ?> |
121 | 116 |
</td> |
122 | 117 |
<td width="20"> |
123 | 118 |
<?php if($field['position'] != $num_fields) { ?> |
124 |
<a href="<?php echo WB_URL; ?>/modules/form/move_down.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>" title="<?php echo $TEXT['MOVE_DOWN']; ?>">
|
|
119 |
<a href="<?php echo WB_URL; ?>/modules/form/move_down.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>" title="<?php echo $TEXT['MOVE_DOWN']; ?>">
|
|
125 | 120 |
<img src="<?php echo THEME_URL; ?>/images/down_16.png" border="0" alt="v" /> |
126 | 121 |
</a> |
127 | 122 |
<?php } ?> |
128 | 123 |
</td> |
129 | 124 |
<td width="20"> |
130 |
<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/form/delete_field.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>">
|
|
125 |
<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/form/delete_field.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>">
|
|
131 | 126 |
<img src="<?php echo THEME_URL; ?>/images/delete_16.png" border="0" alt="X" /> |
132 | 127 |
</a> |
133 | 128 |
</td> |
... | ... | |
167 | 162 |
?> |
168 | 163 |
<tr class="row_<?php echo $row; ?>"> |
169 | 164 |
<td width="20" style="padding-left: 5px;"> |
170 |
<a href="<?php echo WB_URL; ?>/modules/form/view_submission.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&submission_id=<?php echo $submission['submission_id']; ?>" title="<?php echo $TEXT['OPEN']; ?>">
|
|
165 |
<a href="<?php echo WB_URL; ?>/modules/form/view_submission.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&submission_id=<?php echo $submission['submission_id']; ?>" title="<?php echo $TEXT['OPEN']; ?>"> |
|
171 | 166 |
<img src="<?php echo THEME_URL; ?>/images/folder_16.png" alt="<?php echo $TEXT['OPEN']; ?>" border="0" /> |
172 | 167 |
</a> |
173 | 168 |
</td> |
174 | 169 |
<td width="237"><?php echo $TEXT['SUBMISSION_ID'].': '.$submission['submission_id']; ?></td> |
175 | 170 |
<td><?php echo $TEXT['SUBMITTED'].': '.gmdate(TIME_FORMAT.', '.DATE_FORMAT, $submission['submitted_when']+TIMEZONE); ?></td> |
176 | 171 |
<td width="20"> |
177 |
<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/form/delete_submission.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&submission_id=<?php echo $submission['submission_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>">
|
|
172 |
<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/form/delete_submission.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&submission_id=<?php echo $submission['submission_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>"> |
|
178 | 173 |
<img src="<?php echo THEME_URL; ?>/images/delete_16.png" border="0" alt="X" /> |
179 | 174 |
</a> |
180 | 175 |
</td> |
trunk/wb/modules/news/modify.php | ||
---|---|---|
28 | 28 |
$database->query("DELETE FROM ".TABLE_PREFIX."mod_news_posts WHERE page_id = '$page_id' and section_id = '$section_id' and title=''"); |
29 | 29 |
$database->query("DELETE FROM ".TABLE_PREFIX."mod_news_groups WHERE page_id = '$page_id' and section_id = '$section_id' and title=''"); |
30 | 30 |
|
31 |
//overwrite php.ini on Apache servers for valid SESSION ID Separator |
|
32 |
if(function_exists('ini_set')) { |
|
33 |
ini_set('arg_separator.output', '&'); |
|
34 |
} |
|
35 |
|
|
36 | 31 |
?> |
37 | 32 |
<table cellpadding="0" cellspacing="0" border="0" width="100%"> |
38 | 33 |
<tr> |
39 | 34 |
<td align="left" width="33%"> |
40 |
<input type="button" value="<?php echo $TEXT['ADD'].' '.$TEXT['POST']; ?>" onclick="javascript: window.location = '<?php echo WB_URL; ?>/modules/news/add_post.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>';" style="width: 100%;" />
|
|
35 |
<input type="button" value="<?php echo $TEXT['ADD'].' '.$TEXT['POST']; ?>" onclick="javascript: window.location = '<?php echo WB_URL; ?>/modules/news/add_post.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>';" style="width: 100%;" /> |
|
41 | 36 |
</td> |
42 | 37 |
<td align="left" width="33%"> |
43 |
<input type="button" value="<?php echo $TEXT['ADD'].' '.$TEXT['GROUP']; ?>" onclick="javascript: window.location = '<?php echo WB_URL; ?>/modules/news/add_group.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>';" style="width: 100%;" />
|
|
38 |
<input type="button" value="<?php echo $TEXT['ADD'].' '.$TEXT['GROUP']; ?>" onclick="javascript: window.location = '<?php echo WB_URL; ?>/modules/news/add_group.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>';" style="width: 100%;" /> |
|
44 | 39 |
</td> |
45 | 40 |
<td align="right" width="33%"> |
46 |
<input type="button" value="<?php echo $TEXT['SETTINGS']; ?>" onclick="javascript: window.location = '<?php echo WB_URL; ?>/modules/news/modify_settings.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>';" style="width: 100%;" />
|
|
41 |
<input type="button" value="<?php echo $TEXT['SETTINGS']; ?>" onclick="javascript: window.location = '<?php echo WB_URL; ?>/modules/news/modify_settings.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>';" style="width: 100%;" /> |
|
47 | 42 |
</td> |
48 | 43 |
</tr> |
49 | 44 |
</table> |
... | ... | |
66 | 61 |
?> |
67 | 62 |
<tr class="row_<?php echo $row; ?>"> |
68 | 63 |
<td width="20" style="padding-left: 5px;"> |
69 |
<a href="<?php echo WB_URL; ?>/modules/news/modify_post.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
|
|
64 |
<a href="<?php echo WB_URL; ?>/modules/news/modify_post.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
|
|
70 | 65 |
<img src="<?php echo THEME_URL; ?>/images/modify_16.png" border="0" alt="Modify - " /> |
71 | 66 |
</a> |
72 | 67 |
</td> |
73 | 68 |
<td> |
74 |
<a href="<?php echo WB_URL; ?>/modules/news/modify_post.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>">
|
|
69 |
<a href="<?php echo WB_URL; ?>/modules/news/modify_post.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>">
|
|
75 | 70 |
<?php echo ($post['title']); ?> |
76 | 71 |
</a> |
77 | 72 |
</td> |
... | ... | |
110 | 105 |
else |
111 | 106 |
$icon=THEME_URL.'/images/clock_red_16.png'; |
112 | 107 |
?> |
113 |
<a href="<?php echo WB_URL; ?>/modules/news/modify_post.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
|
|
108 |
<a href="<?php echo WB_URL; ?>/modules/news/modify_post.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
|
|
114 | 109 |
<img src="<?php echo $icon; ?>" border="0" alt="" /> |
115 | 110 |
</a> |
116 | 111 |
</td> |
117 | 112 |
<td width="20"> |
118 | 113 |
<?php if($post['position'] != $num_posts) { ?> |
119 |
<a href="<?php echo WB_URL; ?>/modules/news/move_down.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>" title="<?php echo $TEXT['MOVE_UP']; ?>">
|
|
114 |
<a href="<?php echo WB_URL; ?>/modules/news/move_down.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>" title="<?php echo $TEXT['MOVE_UP']; ?>">
|
|
120 | 115 |
<img src="<?php echo THEME_URL; ?>/images/up_16.png" border="0" alt="^" /> |
121 | 116 |
</a> |
122 | 117 |
<?php } ?> |
123 | 118 |
</td> |
124 | 119 |
<td width="20"> |
125 | 120 |
<?php if($post['position'] != 1) { ?> |
126 |
<a href="<?php echo WB_URL; ?>/modules/news/move_up.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>" title="<?php echo $TEXT['MOVE_DOWN']; ?>">
|
|
121 |
<a href="<?php echo WB_URL; ?>/modules/news/move_up.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>" title="<?php echo $TEXT['MOVE_DOWN']; ?>">
|
|
127 | 122 |
<img src="<?php echo THEME_URL; ?>/images/down_16.png" border="0" alt="v" /> |
128 | 123 |
</a> |
129 | 124 |
<?php } ?> |
130 | 125 |
</td> |
131 | 126 |
<td width="20"> |
132 |
<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/news/delete_post.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>">
|
|
127 |
<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/news/delete_post.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>">
|
|
133 | 128 |
<img src="<?php echo THEME_URL; ?>/images/delete_16.png" border="0" alt="X" /> |
134 | 129 |
</a> |
135 | 130 |
</td> |
... | ... | |
167 | 162 |
?> |
168 | 163 |
<tr class="row_<?php echo $row; ?>"> |
169 | 164 |
<td width="20" style="padding-left: 5px;"> |
170 |
<a href="<?php echo WB_URL; ?>/modules/news/modify_group.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&group_id=<?php echo $group['group_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
|
|
165 |
<a href="<?php echo WB_URL; ?>/modules/news/modify_group.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&group_id=<?php echo $group['group_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
|
|
171 | 166 |
<img src="<?php echo THEME_URL; ?>/images/modify_16.png" border="0" alt="Modify - " /> |
172 | 167 |
</a> |
173 | 168 |
</td> |
174 | 169 |
<td> |
175 |
<a href="<?php echo WB_URL; ?>/modules/news/modify_group.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&group_id=<?php echo $group['group_id']; ?>">
|
|
170 |
<a href="<?php echo WB_URL; ?>/modules/news/modify_group.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&group_id=<?php echo $group['group_id']; ?>">
|
|
176 | 171 |
<?php echo $group['title']; ?> |
177 | 172 |
</a> |
178 | 173 |
</td> |
... | ... | |
181 | 176 |
</td> |
182 | 177 |
<td width="20"> |
183 | 178 |
<?php if($group['position'] != 1) { ?> |
184 |
<a href="<?php echo WB_URL; ?>/modules/news/move_up.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&group_id=<?php echo $group['group_id']; ?>" title="<?php echo $TEXT['MOVE_UP']; ?>">
|
|
179 |
<a href="<?php echo WB_URL; ?>/modules/news/move_up.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&group_id=<?php echo $group['group_id']; ?>" title="<?php echo $TEXT['MOVE_UP']; ?>">
|
|
185 | 180 |
<img src="<?php echo THEME_URL; ?>/images/up_16.png" border="0" alt="^" /> |
186 | 181 |
</a> |
187 | 182 |
<?php } ?> |
188 | 183 |
</td> |
189 | 184 |
<td width="20"> |
190 | 185 |
<?php if($group['position'] != $num_groups) { ?> |
191 |
<a href="<?php echo WB_URL; ?>/modules/news/move_down.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&group_id=<?php echo $group['group_id']; ?>" title="<?php echo $TEXT['MOVE_DOWN']; ?>">
|
|
186 |
<a href="<?php echo WB_URL; ?>/modules/news/move_down.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&group_id=<?php echo $group['group_id']; ?>" title="<?php echo $TEXT['MOVE_DOWN']; ?>">
|
|
192 | 187 |
<img src="<?php echo THEME_URL; ?>/images/down_16.png" border="0" alt="v" /> |
193 | 188 |
</a> |
194 | 189 |
<?php } ?> |
195 | 190 |
</td> |
196 | 191 |
<td width="20"> |
197 |
<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/news/delete_group.php?page_id=<?php echo $page_id; ?>&group_id=<?php echo $group['group_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>">
|
|
192 |
<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/news/delete_group.php?page_id=<?php echo $page_id; ?>&group_id=<?php echo $group['group_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>"> |
|
198 | 193 |
<img src="<?php echo THEME_URL; ?>/images/delete_16.png" border="0" alt="X" /> |
199 | 194 |
</a> |
200 | 195 |
</td> |
Also available in: Unified diff
replaced in form and news delimiter "&" with "&" was introduced with changeset [1069] but didn't work on all servers