Add missing hooks for new compose options screen
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 19 Mar 2005 02:22:09 +0000 (02:22 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 19 Mar 2005 02:22:09 +0000 (02:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9069 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/options.php

index 89c063bdc0cfceae31fe071c979c4c72f2d72e98..7b4d367ba209f3ea6cf7e444c5d7c635c6074d5d 100644 (file)
@@ -442,6 +442,11 @@ if ($optpage == SMOPT_PAGE_MAIN) {
             $bottom_hook_name = 'options_display_bottom';
             $submit_name = 'submit_display';
             break;
+        case SMOPT_PAGE_COMPOSE:
+            $inside_hook_name = 'options_compose_inside';
+            $bottom_hook_name = 'options_compose_bottom';
+            $submit_name = 'submit_compose';
+            break;
         case SMOPT_PAGE_HIGHLIGHT:
             $inside_hook_name = 'options_highlight_inside';
             $bottom_hook_name = 'options_highlight_bottom';