@@ -14,8 +14,7 @@ discard block |
||
14 | 14 | // We're searching for something. |
15 | 15 | $args['s'] = filter_user_input(get_http_var('g'), 'strict'); |
16 | 16 | $GLOSSARY = new GLOSSARY($args); |
17 | -} |
|
18 | -else { |
|
17 | +} else { |
|
19 | 18 | $args['sort'] = "regexp_replace"; |
20 | 19 | $GLOSSARY = new GLOSSARY($args); |
21 | 20 | $args['s'] = filter_user_input(get_http_var('g'), 'strict'); |
@@ -86,13 +85,11 @@ discard block |
||
86 | 85 | if ($args['count']) { |
87 | 86 | // Display the Add definition form |
88 | 87 | $PAGE->glossary_add_link_form($args); |
89 | - } |
|
90 | - else { |
|
88 | + } else { |
|
91 | 89 | print "<h4>No dice!</h4><p>Much as we'd love you to add a definition for <strong></strong>, it doesn't seem to appear in hansard at all...</p>"; |
92 | 90 | $PAGE->glossary_links(); |
93 | 91 | } |
94 | - } |
|
95 | - else { |
|
92 | + } else { |
|
96 | 93 | print "<h4>Humdinger!</h4><p>it would appear that you aren't allowed to add glossary terms. How odd...</p>"; |
97 | 94 | $PAGE->glossary_links(); |
98 | 95 | } |