| @@ 136-139 (lines=4) @@ | ||
| 133 | */ |
|
| 134 | public function edit_prefix($prefix_id) |
|
| 135 | { |
|
| 136 | if (!check_link_hash($this->request->variable('hash', ''), 'edit' . $prefix_id)) |
|
| 137 | { |
|
| 138 | trigger_error($this->get_error_message('FORM_INVALID'), E_USER_WARNING); |
|
| 139 | } |
|
| 140 | ||
| 141 | try |
|
| 142 | { |
|
| @@ 184-187 (lines=4) @@ | ||
| 181 | */ |
|
| 182 | public function move_prefix($prefix_id, $direction, $amount = 1) |
|
| 183 | { |
|
| 184 | if (!check_link_hash($this->request->variable('hash', ''), $direction . $prefix_id)) |
|
| 185 | { |
|
| 186 | trigger_error($this->get_error_message('FORM_INVALID'), E_USER_WARNING); |
|
| 187 | } |
|
| 188 | ||
| 189 | try |
|
| 190 | { |
|