*/
/**
- * Path for SquirrelMail required files.
- * @ignore
+ * Include the SquirrelMail initialization file.
*/
-define('SM_PATH','../');
+require('../include/init.php');
-/* SquirrelMail required files. */
-include_once(SM_PATH . 'include/validate.php');
-include_once(SM_PATH . 'functions/display_messages.php');
-include_once(SM_PATH . 'functions/imap.php');
-include_once(SM_PATH . 'functions/plugin.php');
-include_once(SM_PATH . 'functions/strings.php');
-include_once(SM_PATH . 'functions/html.php');
-include_once(SM_PATH . 'functions/forms.php');
+// include_once(SM_PATH . 'functions/imap.php');
+require_once(SM_PATH . 'functions/forms.php');
/* get globals */
sqGetGlobalVar('action', $action);
$match_type . ' = ' .
htmlspecialchars($message_highlight_list[$i]['value']) ,
'left' ) ,
- '', $message_highlight_list[$i]['color'] ) . "\n";
+ '', '#'.$message_highlight_list[$i]['color'] ) . "\n";
}
echo "</table>\n".
"<br />\n";
$gridindex = "$y,$x";
$gridcolor = $new_color_list[$gridindex];
echo html_tag( 'td', addRadioBox('color_type', ($gridcolor == $current_color), '#'.$gridcolor),
- 'left', $gridcolor, 'colspan="2"' );
+ 'left', '#'.$gridcolor, 'colspan="2"' );
}
echo "</tr>\n";
}