[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [20859] Delete obsolete
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] [20859] Delete obsolete |
Date: |
Fri, 20 Nov 2009 12:24:18 +0000 |
Revision: 20859
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20859
Author: sigurdne
Date: 2009-11-20 12:24:18 +0000 (Fri, 20 Nov 2009)
Log Message:
-----------
Delete obsolete
Removed Paths:
-------------
people/sigurdne/modules/messenger/trunk/inc/hook_admin.inc.php
people/sigurdne/modules/messenger/trunk/inc/hook_mypage.inc.php
Deleted: people/sigurdne/modules/messenger/trunk/inc/hook_admin.inc.php
===================================================================
--- people/sigurdne/modules/messenger/trunk/inc/hook_admin.inc.php
2009-11-20 12:23:59 UTC (rev 20858)
+++ people/sigurdne/modules/messenger/trunk/inc/hook_admin.inc.php
2009-11-20 12:24:18 UTC (rev 20859)
@@ -1,24 +0,0 @@
-<?php
-
/**************************************************************************\
- * phpGroupWare - Messenger
*
- * http://www.phpgroupware.org
*
- * This application written by Joseph Engo <address@hidden> *
- * --------------------------------------------
*
- * Funding for this program was provided by http://www.checkwithmom.com
*
- * --------------------------------------------
*
- * 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$ */
-
- {
- $file = Array
- (
- 'Site Configuration' =>
$GLOBALS['phpgw']->link('/index.php', array('menuaction' =>
'admin.uiconfig.index', 'appname' => 'messenger') ),
- );
- $GLOBALS['phpgw']->common->display_mainscreen($appname,$file);
- }
-
-?>
Deleted: people/sigurdne/modules/messenger/trunk/inc/hook_mypage.inc.php
===================================================================
--- people/sigurdne/modules/messenger/trunk/inc/hook_mypage.inc.php
2009-11-20 12:23:59 UTC (rev 20858)
+++ people/sigurdne/modules/messenger/trunk/inc/hook_mypage.inc.php
2009-11-20 12:24:18 UTC (rev 20859)
@@ -1,40 +0,0 @@
-<?php
-
/**************************************************************************\
- * phpGroupWare - Messenger
*
- * http://www.phpgroupware.org
*
- * This application written by Joseph Engo <address@hidden> *
- * --------------------------------------------
*
- * Funding for this program was provided by http://www.checkwithmom.com
*
- * --------------------------------------------
*
- * 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$ */
-
- global $hooks_string;
-
- $lastlogin =
$GLOBALS['phpgw']->session->appsession('account_previous_login','phpgwapi');
- if ($lastlogin)
- {
- $GLOBALS['phpgw']->db->query("select count(*) from
phpgw_messenger_messages where message_owner='"
- . $GLOBALS['phpgw_info']['user']['account_id']
. "' and message_status='N' and message_date > $lastlogin",__LINE__,__FILE__);
- $GLOBALS['phpgw']->db->next_record();
-
- if ($GLOBALS['phpgw']->db->f(0))
- {
- $hooks_string['messenger'] = '<p><b><font
size="-1">Messenger</font></b><ul><font size="-1"><li>' . lang('You have %1 new
message' . ($GLOBALS['phpgw']->db->f(0)>1?'s':'') . ' in your
inbox!',$GLOBALS['phpgw']->db->f(0))
- . '<br>[<a href="' .
$GLOBALS['phpgw']->link('/index.php', array('menuaction' =>
'messenger.uimessenger.inbox'))
- . '">View Messages</a> | <a href="' .
$GLOBALS['phpgw']->link('/index.php', array('menuaction' =>
'messenger.uimessenger.compose'))
- . '">Send a Message</a>]</font></ul>';
- }
- else
- {
- $hooks_string['messenger'] = '<p><b><font
size="-1">Messenger</font></b><ul><font size="-1"><li> No new personal messages
have been sent to you.<br>'
- . '[<a href="' .
$GLOBALS['phpgw']->link('/index.php', array('menuaction' =>
'messenger.uimessenger.inbox'))
- . '">View Messages</a> | <a href="' .
$GLOBALS['phpgw']->link('/index.php', array('menuaction' =>
'messenger.uimessenger.compose'))
- . '">Send a Message</a>]</font></ul>';
- }
- }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [20859] Delete obsolete,
Sigurd Nes <=