\n";
+
echo "";
echo lang("View sessions")." \n";
diff --git a/admin/mainscreen_message.php b/admin/mainscreen_message.php
new file mode 100644
index 0000000000..93084d407d
--- /dev/null
+++ b/admin/mainscreen_message.php
@@ -0,0 +1,46 @@
+ *
+ * Modified by Stephen Brown *
+ * to distribute admin across the application directories *
+ * -------------------------------------------- *
+ * This program is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU General Public License as published by the *
+ * Free Software Foundation; either version 2 of the License, or (at your *
+ * option) any later version. *
+ \**************************************************************************/
+
+ /* $Id$ */
+
+ $phpgw_info = array();
+ $phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True);
+ include("../header.inc.php");
+
+ $phpgw->template->set_file(array("form" => "mainscreen_message.tpl",
+ "row" => "mainscreen_message_row.tpl"));
+
+ if ($submit) {
+ $phpgw->db->query("delete from config where config_name='mainscreen_message'",__LINE__,__FILE__);
+ $phpgw->db->query("insert into config values ('mainscreen_message','" . addslashes($message)
+ . "')",__LINE__,__FILE__);
+ $message = "
Message has been updated
";
+ }
+
+ $phpgw->template->set_var("header_lang",lang("Edit main screen message"));
+ $phpgw->template->set_var("form_action",$phpgw->link("mainscreen_message.php"));
+ $phpgw->template->set_var("th_bg",$phpgw_info["theme"]["th_bg"]);
+
+ $tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color);
+ $phpgw->template->set_var("tr_color",$tr_color);
+ $phpgw->template->set_var("value",'');
+ $phpgw->template->parse("rows","row",True);
+
+ $tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color);
+ $phpgw->template->set_var("tr_color",$tr_color);
+ $phpgw->template->set_var("value",'');
+ $phpgw->template->parse("rows","row",True);
+
+ $phpgw->template->pparse("out","form");
+?>
\ No newline at end of file
diff --git a/index.php b/index.php
index 3ae9585dc6..03331e23b2 100755
--- a/index.php
+++ b/index.php
@@ -46,6 +46,10 @@
. " " . lang("It is recommend that you run setup to upgrade your tables to the current version")
. "";
}
+
+ if (isset($phpgw_info["server"]["mainscreen_message"])) {
+ echo "