mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-29 17:28:36 +01:00
1) added planned/used time for project-manager
2) sorting by priority 3) tables renamed to use egw_ prefix now
This commit is contained in:
parent
b22e3f34de
commit
a19684502e
@ -65,13 +65,20 @@
|
|||||||
var $tz_offset = 0;
|
var $tz_offset = 0;
|
||||||
var $tz_offset_s = 0;
|
var $tz_offset_s = 0;
|
||||||
var $user_time_now;
|
var $user_time_now;
|
||||||
|
/**
|
||||||
|
* @var array $config infolog configuration
|
||||||
|
*/
|
||||||
|
var $config;
|
||||||
|
|
||||||
function boinfolog( $info_id = 0)
|
function boinfolog( $info_id = 0)
|
||||||
{
|
{
|
||||||
$this->enums = $this->stock_enums = array(
|
$this->enums = $this->stock_enums = array(
|
||||||
'priority' => array (
|
'priority' => array (
|
||||||
'urgent' => 'urgent','high' => 'high','normal' => 'normal',
|
3 => 'urgent',
|
||||||
'low' => 'low' ),
|
2 => 'high',
|
||||||
|
1 => 'normal',
|
||||||
|
0 => 'low'
|
||||||
|
),
|
||||||
/* 'status' => array(
|
/* 'status' => array(
|
||||||
'offer' => 'offer','ongoing' => 'ongoing','call' => 'call',
|
'offer' => 'offer','ongoing' => 'ongoing','call' => 'call',
|
||||||
'will-call' => 'will-call','done' => 'done',
|
'will-call' => 'will-call','done' => 'done',
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
var $grants;
|
var $grants;
|
||||||
var $data = array( );
|
var $data = array( );
|
||||||
var $user;
|
var $user;
|
||||||
var $info_table = 'phpgw_infolog';
|
var $info_table = 'egw_infolog';
|
||||||
var $extra_table = 'phpgw_infolog_extra';
|
var $extra_table = 'egw_infolog_extra';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* constructor
|
* constructor
|
||||||
@ -235,8 +235,8 @@
|
|||||||
function init()
|
function init()
|
||||||
{
|
{
|
||||||
$this->data = array(
|
$this->data = array(
|
||||||
'info_owner' => $this->user,
|
'info_owner' => $this->user,
|
||||||
'info_pri' => 'normal'
|
'info_priority' => 1,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $user;
|
var $user;
|
||||||
var $link_table = 'phpgw_links';
|
var $link_table = 'egw_links';
|
||||||
var $debug;
|
var $debug;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -104,7 +104,7 @@
|
|||||||
}
|
}
|
||||||
$id = $info['info_id'];
|
$id = $info['info_id'];
|
||||||
$done = $info['info_status'] == 'done' || $info['info_status'] == 'billed';
|
$done = $info['info_status'] == 'done' || $info['info_status'] == 'billed';
|
||||||
$info['sub_class'] = $info['info_pri'] . ($done ? '_done' : '');
|
$info['sub_class'] = $this->bo->enums['priority'][$info['info_priority']] . ($done ? '_done' : '');
|
||||||
if (!$done && $info['info_enddate'] < $this->bo->user_time_now)
|
if (!$done && $info['info_enddate'] < $this->bo->user_time_now)
|
||||||
{
|
{
|
||||||
$info['end_class'] = 'overdue';
|
$info['end_class'] = 'overdue';
|
||||||
@ -565,7 +565,7 @@
|
|||||||
//echo "<p>uiinfolog.edit(info_id='$info_id',action='$action',action_id='$action_id') readonlys="; print_r($readonlys); echo ", content = "; _debug_array($content);
|
//echo "<p>uiinfolog.edit(info_id='$info_id',action='$action',action_id='$action_id') readonlys="; print_r($readonlys); echo ", content = "; _debug_array($content);
|
||||||
$this->tmpl->exec('infolog.uiinfolog.edit',$content,array(
|
$this->tmpl->exec('infolog.uiinfolog.edit',$content,array(
|
||||||
'info_type' => $this->bo->enums['type'],
|
'info_type' => $this->bo->enums['type'],
|
||||||
'info_pri' => $this->bo->enums['priority'],
|
'info_priority' => $this->bo->enums['priority'],
|
||||||
'info_confirm' => $this->bo->enums['confirm'],
|
'info_confirm' => $this->bo->enums['confirm'],
|
||||||
'info_status' => $this->bo->status[$content['info_type']]
|
'info_status' => $this->bo->status[$content['info_type']]
|
||||||
),$readonlys,array(
|
),$readonlys,array(
|
||||||
|
@ -1,28 +1,38 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**************************************************************************\
|
||||||
* eGroupWare - Info Log *
|
* eGroupWare - Info Log *
|
||||||
* http://www.egroupware.org *
|
* http://www.egroupware.org *
|
||||||
* Written by Ralf Becker <RalfBecker@outdoor-training.de> *
|
* Written by Ralf Becker <RalfBecker@outdoor-training.de> *
|
||||||
* originaly based on todo written by Joseph Engo <jengo@phpgroupware.org> *
|
* originaly based on todo written by Joseph Engo <jengo@phpgroupware.org> *
|
||||||
* -------------------------------------------- *
|
* -------------------------------------------- *
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* 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 *
|
* 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 *
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||||
* option) any later version. *
|
* option) any later version. *
|
||||||
\**************************************************************************/
|
\**************************************************************************/
|
||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
$GLOBALS['egw_info']['flags'] = array(
|
$GLOBALS['egw_info']['flags'] = array(
|
||||||
'currentapp' => 'infolog',
|
'currentapp' => 'infolog',
|
||||||
'noheader' => True,
|
'noheader' => True,
|
||||||
'nonavbar' => True
|
'nonavbar' => True
|
||||||
);
|
);
|
||||||
include('../header.inc.php');
|
include('../header.inc.php');
|
||||||
|
|
||||||
$GLOBALS['egw']->redirect_link('/index.php',array(
|
include_once(EGW_INCLUDE_ROOT.'/infolog/setup/setup.inc.php');
|
||||||
'menuaction' => 'infolog.uiinfolog.index',
|
if ($setup_info['infolog']['version'] != $GLOBALS['egw_info']['apps']['infolog']['version'])
|
||||||
// 'filter' => 'default',
|
{
|
||||||
));
|
$GLOBALS['egw']->common->egw_header();
|
||||||
|
parse_navbar();
|
||||||
|
echo '<p style="text-align: center; color:red; font-weight: bold;">'.lang('Your database is NOT up to date (%1 vs. %2), please run %3setup%4 to update your database.',
|
||||||
|
$setup_info['infolog']['version'],$GLOBALS['egw_info']['apps']['infolog']['version'],
|
||||||
|
'<a href="../setup/">','</a>')."</p>\n";
|
||||||
$GLOBALS['egw']->common->egw_exit();
|
$GLOBALS['egw']->common->egw_exit();
|
||||||
|
}
|
||||||
|
unset($setup_info);
|
||||||
|
|
||||||
|
ExecMethod('infolog.uiinfolog.index');
|
||||||
|
|
||||||
|
$GLOBALS['egw']->common->egw_exit();
|
||||||
?>
|
?>
|
||||||
|
File diff suppressed because one or more lines are too long
@ -181,6 +181,7 @@ pattern for search in projects infolog de Muster f
|
|||||||
phone infolog de Anruf
|
phone infolog de Anruf
|
||||||
phone/email infolog de Telefon/Email
|
phone/email infolog de Telefon/Email
|
||||||
phonecall infolog de Telefonanruf
|
phonecall infolog de Telefonanruf
|
||||||
|
planned time infolog de geplante Zeit
|
||||||
priority infolog de Priorität
|
priority infolog de Priorität
|
||||||
private infolog de Privat
|
private infolog de Privat
|
||||||
project infolog de Projekt
|
project infolog de Projekt
|
||||||
@ -191,7 +192,7 @@ reject infolog de Absage
|
|||||||
remark infolog de Bemerkung
|
remark infolog de Bemerkung
|
||||||
remove this link (not the entry itself) infolog de Diese Verknüpfung lösen (nicht den Eintrag selbst)
|
remove this link (not the entry itself) infolog de Diese Verknüpfung lösen (nicht den Eintrag selbst)
|
||||||
responsible infolog de Verantwortlich
|
responsible infolog de Verantwortlich
|
||||||
responsible user, priority, ... infolog de Verantwortlicher, Prioritäten, ...
|
responsible user, priority, times infolog de Verantwortlicher, Priorität, Zeiten
|
||||||
returns a list / search for records. infolog de Liefert eine Liste von / sucht nach Datensätzen.
|
returns a list / search for records. infolog de Liefert eine Liste von / sucht nach Datensätzen.
|
||||||
save infolog de Speichern
|
save infolog de Speichern
|
||||||
saves the changes made and leaves infolog de speichert die Änderungen und beendet
|
saves the changes made and leaves infolog de speichert die Änderungen und beendet
|
||||||
@ -232,6 +233,7 @@ the name used internaly (<= 20 chars), changeing it makes existing data unavaili
|
|||||||
the text displayed to the user infolog de der Text der dem Benutzer angezeigt wird
|
the text displayed to the user infolog de der Text der dem Benutzer angezeigt wird
|
||||||
this is the filter infolog uses when you enter the application. filters limit the entries to show in the actual view. there are filters to show only finished, still open or futures entries of yourself or all users. infolog de Das ist der Filter, den InfoLog benutzt wenn es das erste mal aufgerufen wird. Filter beschränken die aktuelle Anzeige. Es gibt Filter um nur beendete, offene oder zukünftige Einträge von Ihnen oder allen Benutzern anzuzeigen.
|
this is the filter infolog uses when you enter the application. filters limit the entries to show in the actual view. there are filters to show only finished, still open or futures entries of yourself or all users. infolog de Das ist der Filter, den InfoLog benutzt wenn es das erste mal aufgerufen wird. Filter beschränken die aktuelle Anzeige. Es gibt Filter um nur beendete, offene oder zukünftige Einträge von Ihnen oder allen Benutzern anzuzeigen.
|
||||||
til when should the todo or phonecall be finished infolog de bis wann soll der Auftrag oder Anruf erledigt sein
|
til when should the todo or phonecall be finished infolog de bis wann soll der Auftrag oder Anruf erledigt sein
|
||||||
|
times infolog de Zeiten
|
||||||
to many might exceed your execution-time-limit infolog de zu viel können Ihre Laufzeitbeschränkung überschreiten
|
to many might exceed your execution-time-limit infolog de zu viel können Ihre Laufzeitbeschränkung überschreiten
|
||||||
today infolog de Heute
|
today infolog de Heute
|
||||||
todo infolog de Auftrag
|
todo infolog de Auftrag
|
||||||
@ -247,6 +249,7 @@ urgency infolog de Priorit
|
|||||||
urgent infolog de Dringend
|
urgent infolog de Dringend
|
||||||
use button to search for address infolog de Button zum Suchen der Adresse verwenden
|
use button to search for address infolog de Button zum Suchen der Adresse verwenden
|
||||||
use button to search for project infolog de Button zum Suchen des Projekts verwenden
|
use button to search for project infolog de Button zum Suchen des Projekts verwenden
|
||||||
|
used time infolog de benötigte Zeit
|
||||||
valid path on clientside<br>eg. \\server\share or e:\ infolog de gültiger Pfad clientseitig<br>zB. \\Server\Share oder e:\
|
valid path on clientside<br>eg. \\server\share or e:\ infolog de gültiger Pfad clientseitig<br>zB. \\Server\Share oder e:\
|
||||||
values for selectbox infolog de Werte für die Auswahlbox
|
values for selectbox infolog de Werte für die Auswahlbox
|
||||||
view all subs of this entry infolog de alle Untereinträge dieses Eintrag anzeigen
|
view all subs of this entry infolog de alle Untereinträge dieses Eintrag anzeigen
|
||||||
|
@ -181,6 +181,7 @@ pattern for search in projects infolog en pattern for search in Projects
|
|||||||
phone infolog en Phone Call
|
phone infolog en Phone Call
|
||||||
phone/email infolog en Phone/Email
|
phone/email infolog en Phone/Email
|
||||||
phonecall infolog en Phone Call
|
phonecall infolog en Phone Call
|
||||||
|
planned time infolog en planned time
|
||||||
priority infolog en Priority
|
priority infolog en Priority
|
||||||
private infolog en Private
|
private infolog en Private
|
||||||
project infolog en Project
|
project infolog en Project
|
||||||
@ -190,7 +191,7 @@ reg. expr. for local ip's<br>eg. ^192\.168\.1\. infolog en reg. expr. for local
|
|||||||
remark infolog en Remark
|
remark infolog en Remark
|
||||||
remove this link (not the entry itself) infolog en Remove this link (not the entry itself)
|
remove this link (not the entry itself) infolog en Remove this link (not the entry itself)
|
||||||
responsible infolog en Responsible
|
responsible infolog en Responsible
|
||||||
responsible user, priority, ... infolog en responsible user, priority, ...
|
responsible user, priority, times infolog en responsible user, priority, times
|
||||||
returns a list / search for records. infolog en Returns a list / search for records.
|
returns a list / search for records. infolog en Returns a list / search for records.
|
||||||
save infolog en Save
|
save infolog en Save
|
||||||
saves the changes made and leaves infolog en saves the changes made and leaves
|
saves the changes made and leaves infolog en saves the changes made and leaves
|
||||||
@ -231,6 +232,7 @@ the name used internaly (<= 20 chars), changeing it makes existing data unavaili
|
|||||||
the text displayed to the user infolog en the text displayed to the user
|
the text displayed to the user infolog en the text displayed to the user
|
||||||
this is the filter infolog uses when you enter the application. filters limit the entries to show in the actual view. there are filters to show only finished, still open or futures entries of yourself or all users. infolog en This is the filter InfoLog uses when you enter the application. Filters limit the entries to show in the actual view. There are filters to show only finished, still open or futures entries of yourself or all users.
|
this is the filter infolog uses when you enter the application. filters limit the entries to show in the actual view. there are filters to show only finished, still open or futures entries of yourself or all users. infolog en This is the filter InfoLog uses when you enter the application. Filters limit the entries to show in the actual view. There are filters to show only finished, still open or futures entries of yourself or all users.
|
||||||
til when should the todo or phonecall be finished infolog en til when should the ToDo or Phone call be finished
|
til when should the todo or phonecall be finished infolog en til when should the ToDo or Phone call be finished
|
||||||
|
times infolog en Times
|
||||||
to many might exceed your execution-time-limit infolog en to many might exceed your execution-time-limit
|
to many might exceed your execution-time-limit infolog en to many might exceed your execution-time-limit
|
||||||
today infolog en Today
|
today infolog en Today
|
||||||
todo infolog en ToDo
|
todo infolog en ToDo
|
||||||
@ -246,6 +248,7 @@ urgency infolog en urgency
|
|||||||
urgent infolog en urgent
|
urgent infolog en urgent
|
||||||
use button to search for address infolog en use Button to search for Address
|
use button to search for address infolog en use Button to search for Address
|
||||||
use button to search for project infolog en use Button to search for Project
|
use button to search for project infolog en use Button to search for Project
|
||||||
|
used time infolog en used time
|
||||||
valid path on clientside<br>eg. \\server\share or e:\ infolog en valid path on clientside<br>eg. \\Server\Share or e:\
|
valid path on clientside<br>eg. \\server\share or e:\ infolog en valid path on clientside<br>eg. \\Server\Share or e:\
|
||||||
values for selectbox infolog en Values for selectbox
|
values for selectbox infolog en Values for selectbox
|
||||||
view all subs of this entry infolog en View all subs of this entry
|
view all subs of this entry infolog en View all subs of this entry
|
||||||
|
@ -12,9 +12,9 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
$setup_info['infolog']['name'] = 'infolog';
|
$setup_info['infolog']['name'] = 'infolog';
|
||||||
$setup_info['infolog']['version'] = '1.0.0.001';
|
$setup_info['infolog']['version'] = '1.0.1.001';
|
||||||
$setup_info['infolog']['app_order'] = 5;
|
$setup_info['infolog']['app_order'] = 5;
|
||||||
$setup_info['infolog']['tables'] = array('phpgw_infolog','phpgw_links','phpgw_infolog_extra');
|
$setup_info['infolog']['tables'] = array('egw_infolog','egw_infolog_extra','egw_links');
|
||||||
$setup_info['infolog']['enable'] = 1;
|
$setup_info['infolog']['enable'] = 1;
|
||||||
|
|
||||||
$setup_info['infolog']['author'] =
|
$setup_info['infolog']['author'] =
|
||||||
@ -73,3 +73,5 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
$phpgw_baseline = array(
|
$phpgw_baseline = array(
|
||||||
'phpgw_infolog' => array(
|
'egw_infolog' => array(
|
||||||
'fd' => array(
|
'fd' => array(
|
||||||
'info_id' => array('type' => 'auto','nullable' => False),
|
'info_id' => array('type' => 'auto','nullable' => False),
|
||||||
'info_type' => array('type' => 'varchar','precision' => '40','nullable' => False,'default' => 'task'),
|
'info_type' => array('type' => 'varchar','precision' => '40','nullable' => False,'default' => 'task'),
|
||||||
@ -24,24 +24,24 @@
|
|||||||
'info_responsible' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
'info_responsible' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
'info_access' => array('type' => 'varchar','precision' => '10','default' => 'public'),
|
'info_access' => array('type' => 'varchar','precision' => '10','default' => 'public'),
|
||||||
'info_cat' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
'info_cat' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
'info_datemodified' => array('type' => 'int','precision' => '4','nullable' => False),
|
'info_datemodified' => array('type' => 'int','precision' => '8','nullable' => False),
|
||||||
'info_startdate' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
'info_startdate' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
||||||
'info_enddate' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
'info_enddate' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
||||||
'info_id_parent' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
'info_id_parent' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
'info_pri' => array('type' => 'varchar','precision' => '10','default' => 'normal'),
|
'info_planned_time' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
'info_time' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
'info_used_time' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
'info_bill_cat' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
|
||||||
'info_status' => array('type' => 'varchar','precision' => '40','default' => 'done'),
|
'info_status' => array('type' => 'varchar','precision' => '40','default' => 'done'),
|
||||||
'info_confirm' => array('type' => 'varchar','precision' => '10','default' => 'not'),
|
'info_confirm' => array('type' => 'varchar','precision' => '10','default' => 'not'),
|
||||||
'info_modifier' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
'info_modifier' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
'info_link_id' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0')
|
'info_link_id' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
|
'info_priority' => array('type' => 'int','precision' => '2','default' => '1')
|
||||||
),
|
),
|
||||||
'pk' => array('info_id'),
|
'pk' => array('info_id'),
|
||||||
'fk' => array(),
|
'fk' => array(),
|
||||||
'ix' => array(array('info_owner','info_responsible','info_status','info_startdate'),array('info_id_parent','info_owner','info_responsible','info_status','info_startdate')),
|
'ix' => array(array('info_owner','info_responsible','info_status','info_startdate'),array('info_id_parent','info_owner','info_responsible','info_status','info_startdate')),
|
||||||
'uc' => array()
|
'uc' => array()
|
||||||
),
|
),
|
||||||
'phpgw_links' => array(
|
'egw_links' => array(
|
||||||
'fd' => array(
|
'fd' => array(
|
||||||
'link_id' => array('type' => 'auto','nullable' => False),
|
'link_id' => array('type' => 'auto','nullable' => False),
|
||||||
'link_app1' => array('type' => 'varchar','precision' => '25','nullable' => False),
|
'link_app1' => array('type' => 'varchar','precision' => '25','nullable' => False),
|
||||||
@ -57,7 +57,7 @@
|
|||||||
'ix' => array(array('link_app1','link_id1','link_lastmod'),array('link_app2','link_id2','link_lastmod')),
|
'ix' => array(array('link_app1','link_id1','link_lastmod'),array('link_app2','link_id2','link_lastmod')),
|
||||||
'uc' => array()
|
'uc' => array()
|
||||||
),
|
),
|
||||||
'phpgw_infolog_extra' => array(
|
'egw_infolog_extra' => array(
|
||||||
'fd' => array(
|
'fd' => array(
|
||||||
'info_id' => array('type' => 'int','precision' => '4','nullable' => False),
|
'info_id' => array('type' => 'int','precision' => '4','nullable' => False),
|
||||||
'info_extra_name' => array('type' => 'varchar','precision' => '32','nullable' => False),
|
'info_extra_name' => array('type' => 'varchar','precision' => '32','nullable' => False),
|
||||||
|
@ -370,4 +370,75 @@
|
|||||||
$GLOBALS['setup_info']['infolog']['currentver'] = '1.0.0.001';
|
$GLOBALS['setup_info']['infolog']['currentver'] = '1.0.0.001';
|
||||||
return $GLOBALS['setup_info']['infolog']['currentver'];
|
return $GLOBALS['setup_info']['infolog']['currentver'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$test[] = '1.0.0.001';
|
||||||
|
function infolog_upgrade1_0_0_001()
|
||||||
|
{
|
||||||
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_infolog','info_time','info_planned_time');
|
||||||
|
$GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_infolog','info_bill_cat','info_used_time');
|
||||||
|
// timestamps have to be 8byte ints
|
||||||
|
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_infolog','info_datemodified',array(
|
||||||
|
'type' => 'int',
|
||||||
|
'precision' => '8',
|
||||||
|
'nullable' => False
|
||||||
|
));
|
||||||
|
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_infolog','info_startdate',array(
|
||||||
|
'type' => 'int',
|
||||||
|
'precision' => '8',
|
||||||
|
'nullable' => False,
|
||||||
|
'default' => '0'
|
||||||
|
));
|
||||||
|
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_infolog','info_enddate',array(
|
||||||
|
'type' => 'int',
|
||||||
|
'precision' => '8',
|
||||||
|
'nullable' => False,
|
||||||
|
'default' => '0'
|
||||||
|
));
|
||||||
|
|
||||||
|
// setting numerical priority 3=urgent, 2=high, 1=normal, 0=
|
||||||
|
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_infolog','info_priority',array(
|
||||||
|
'type' => 'int',
|
||||||
|
'precision' => '2',
|
||||||
|
'default' => '1'
|
||||||
|
));
|
||||||
|
$GLOBALS['phpgw_setup']->oProc->query("UPDATE phpgw_infolog SET info_priority=(CASE WHEN info_pri='urgent' THEN 3 WHEN info_pre='high' THEN 2 WHEN info_pri='low' THEN 0 ELSE 1 END)",__LINE__,__FILE__);
|
||||||
|
|
||||||
|
$GLOBALS['phpgw_setup']->oProc->DropColumn('phpgw_infolog',array(
|
||||||
|
'fd' => array(
|
||||||
|
'info_id' => array('type' => 'auto','nullable' => False),
|
||||||
|
'info_type' => array('type' => 'varchar','precision' => '40','nullable' => False,'default' => 'task'),
|
||||||
|
'info_from' => array('type' => 'varchar','precision' => '255'),
|
||||||
|
'info_addr' => array('type' => 'varchar','precision' => '255'),
|
||||||
|
'info_subject' => array('type' => 'varchar','precision' => '255'),
|
||||||
|
'info_des' => array('type' => 'text'),
|
||||||
|
'info_owner' => array('type' => 'int','precision' => '4','nullable' => False),
|
||||||
|
'info_responsible' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
|
'info_access' => array('type' => 'varchar','precision' => '10','default' => 'public'),
|
||||||
|
'info_cat' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
|
'info_datemodified' => array('type' => 'int','precision' => '8','nullable' => False),
|
||||||
|
'info_startdate' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
||||||
|
'info_enddate' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'),
|
||||||
|
'info_id_parent' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
|
'info_planned_time' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
|
'info_used_time' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
|
'info_status' => array('type' => 'varchar','precision' => '40','default' => 'done'),
|
||||||
|
'info_confirm' => array('type' => 'varchar','precision' => '10','default' => 'not'),
|
||||||
|
'info_modifier' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
|
'info_link_id' => array('type' => 'int','precision' => '4','nullable' => False,'default' => '0'),
|
||||||
|
'info_priority' => array('type' => 'int','precision' => '2','default' => '1')
|
||||||
|
),
|
||||||
|
'pk' => array('info_id'),
|
||||||
|
'fk' => array(),
|
||||||
|
'ix' => array(array('info_owner','info_responsible','info_status','info_startdate'),array('info_id_parent','info_owner','info_responsible','info_status','info_startdate')),
|
||||||
|
'uc' => array()
|
||||||
|
),'info_pri');
|
||||||
|
|
||||||
|
$GLOBALS['phpgw_setup']->oProc->RenameTable('phpgw_infolog','egw_infolog');
|
||||||
|
$GLOBALS['phpgw_setup']->oProc->RenameTable('phpgw_infolog_extra','egw_infolog_extra');
|
||||||
|
$GLOBALS['phpgw_setup']->oProc->RenameTable('phpgw_links','egw_links');
|
||||||
|
|
||||||
|
$GLOBALS['setup_info']['infolog']['currentver'] = '1.0.1.001';
|
||||||
|
return $GLOBALS['setup_info']['infolog']['currentver'];
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -1,176 +1,190 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
<overlay>
|
<overlay>
|
||||||
<grid id="infolog.edit.description" template="" lang="" group="0" version="0.9.15.002" width="100%" border="0">
|
<template id="infolog.edit.description" template="" lang="" group="0" version="1.0.1.001">
|
||||||
<columns>
|
<grid width="100%" border="0">
|
||||||
<column width="100"/>
|
<columns>
|
||||||
<column/>
|
<column width="100"/>
|
||||||
</columns>
|
<column/>
|
||||||
<rows>
|
</columns>
|
||||||
<row class="th">
|
<rows>
|
||||||
<description span="all" value="Description"/>
|
<row class="th">
|
||||||
</row>
|
<description span="all" value="Description" options=",,,info_des"/>
|
||||||
<row class="row" valign="top">
|
</row>
|
||||||
<description/>
|
<row class="row" valign="top">
|
||||||
<textbox multiline="true" rows="15" cols="80" no_lang="1" id="info_des" statustext="enter a textual description of the log-entry"/>
|
<description/>
|
||||||
</row>
|
<textbox multiline="true" rows="15" cols="80" no_lang="1" id="info_des" statustext="enter a textual description of the log-entry"/>
|
||||||
</rows>
|
</row>
|
||||||
</grid>
|
</rows>
|
||||||
<grid id="infolog.edit.links" template="" lang="" group="0" version="0.9.15.003" width="100%">
|
</grid>
|
||||||
<columns>
|
</template>
|
||||||
<column width="100"/>
|
<template id="infolog.edit.links" template="" lang="" group="0" version="0.9.15.003">
|
||||||
<column/>
|
<grid width="100%">
|
||||||
</columns>
|
<columns>
|
||||||
<rows>
|
<column width="100"/>
|
||||||
<row class="th" disabled="@status_only">
|
<column/>
|
||||||
<description span="all" value="Create new links"/>
|
</columns>
|
||||||
</row>
|
<rows>
|
||||||
<row class="row" disabled="@status_only">
|
<row class="th" disabled="@status_only">
|
||||||
<link-to span="all" id="link_to"/>
|
<description span="all" value="Create new links"/>
|
||||||
</row>
|
</row>
|
||||||
<row class="th">
|
<row class="row" disabled="@status_only">
|
||||||
<description span="all" value="Existing links"/>
|
<link-to span="all" id="link_to"/>
|
||||||
</row>
|
</row>
|
||||||
<row class="row_off" valign="top" height="164">
|
<row class="th">
|
||||||
<link-list span="all" id="link_to"/>
|
<description span="all" value="Existing links"/>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
<row class="row_off" valign="top" height="164">
|
||||||
</grid>
|
<link-list span="all" id="link_to"/>
|
||||||
<grid id="infolog.edit.delegation" template="" lang="" group="0" version="0.9.15.002" width="100%">
|
</row>
|
||||||
<columns>
|
</rows>
|
||||||
<column width="100"/>
|
</grid>
|
||||||
<column/>
|
</template>
|
||||||
</columns>
|
<template id="infolog.edit.delegation" template="" lang="" group="0" version="1.0.0.001">
|
||||||
<rows>
|
<grid width="100%">
|
||||||
<row class="th">
|
<columns>
|
||||||
<description span="all" value="Priority"/>
|
<column width="100"/>
|
||||||
</row>
|
<column/>
|
||||||
<row class="row">
|
</columns>
|
||||||
<description value="Priority"/>
|
<rows>
|
||||||
<menulist>
|
<row class="th">
|
||||||
<menupopup id="info_pri" statustext="select a priority for this task"/>
|
<description span="all" value="Priority"/>
|
||||||
</menulist>
|
</row>
|
||||||
</row>
|
<row class="row">
|
||||||
<row class="th">
|
<description value="Priority" options=",,,info_priority"/>
|
||||||
<description span="all" value="Delegation"/>
|
|
||||||
</row>
|
|
||||||
<row class="row">
|
|
||||||
<description value="Responsible"/>
|
|
||||||
<menulist>
|
|
||||||
<menupopup type="select-account" options="Owner" id="info_responsible" statustext="select a responsible user: a person you want to delegate this task"/>
|
|
||||||
</menulist>
|
|
||||||
</row>
|
|
||||||
<row class="row" disabled="1">
|
|
||||||
<description value="Confirm"/>
|
|
||||||
<menulist>
|
|
||||||
<menupopup id="info_confirm" statustext="do you want a confirmation of the responsible on: accepting, finishing the task or both"/>
|
|
||||||
</menulist>
|
|
||||||
</row>
|
|
||||||
<row class="row" height="120">
|
|
||||||
<description span="all"/>
|
|
||||||
</row>
|
|
||||||
</rows>
|
|
||||||
</grid>
|
|
||||||
<grid id="infolog.edit.customfields" template="" lang="" group="0" version="0.9.15.001" width="100%" height="100%" spacing="0" padding="0">
|
|
||||||
<columns>
|
|
||||||
<column/>
|
|
||||||
</columns>
|
|
||||||
<rows>
|
|
||||||
<row height="100%">
|
|
||||||
<customfields id="customfields"/>
|
|
||||||
</row>
|
|
||||||
</rows>
|
|
||||||
</grid>
|
|
||||||
<grid id="infolog.edit" template="" lang="" group="" version="1.0.0.000" width="100%">
|
|
||||||
<columns>
|
|
||||||
<column width="103"/>
|
|
||||||
<column width="350"/>
|
|
||||||
<column width="50"/>
|
|
||||||
<column/>
|
|
||||||
</columns>
|
|
||||||
<rows>
|
|
||||||
<row class="th">
|
|
||||||
<description value="Type"/>
|
|
||||||
<menulist span="all">
|
|
||||||
<menupopup id="info_type" onchange="1" statustext="Type of the log-entry: Note, Phonecall or ToDo"/>
|
|
||||||
</menulist>
|
|
||||||
<description/>
|
|
||||||
<description/>
|
|
||||||
</row>
|
|
||||||
<row class="row">
|
|
||||||
<description value="Category"/>
|
|
||||||
<menulist span="all">
|
|
||||||
<menupopup type="select-cat" options="None" id="info_cat" statustext="select a category for this entry"/>
|
|
||||||
</menulist>
|
|
||||||
<description/>
|
|
||||||
<description/>
|
|
||||||
</row>
|
|
||||||
<row class="row">
|
|
||||||
<description value="Contact"/>
|
|
||||||
<textbox size="40" maxlength="64" id="info_from" statustext="Custom contact-information, leave emtpy to use information from most recent link" blur="@blur_title"/>
|
|
||||||
<description value="Phone/Email"/>
|
|
||||||
<textbox size="40" maxlength="64" id="info_addr" statustext="Custom contact-address, leave empty to use information from most recent link"/>
|
|
||||||
</row>
|
|
||||||
<row class="row">
|
|
||||||
<description value="Subject"/>
|
|
||||||
<textbox size="64" maxlength="64" span="all" id="info_subject" needed="1" statustext="a short subject for the entry"/>
|
|
||||||
</row>
|
|
||||||
<row valign="top" height="250">
|
|
||||||
<tabbox>
|
|
||||||
<tabs span="all">
|
|
||||||
<tab label="Description" statustext="longer textual description"/>
|
|
||||||
<tab label="Links" statustext="Links of this entry"/>
|
|
||||||
<tab label="Delegation" statustext="responsible user, priority, ..."/>
|
|
||||||
<tab label="Customfields" statustext=""/>
|
|
||||||
</tabs>
|
|
||||||
<tabpanels>
|
|
||||||
<grid id="infolog.edit.description"/>
|
|
||||||
<grid id="infolog.edit.links"/>
|
|
||||||
<grid id="infolog.edit.delegation"/>
|
|
||||||
<grid id="infolog.edit.customfields"/>
|
|
||||||
</tabpanels>
|
|
||||||
</tabbox>
|
|
||||||
</row>
|
|
||||||
<row class="th">
|
|
||||||
<description span="all" value="Dates, Status, Access"/>
|
|
||||||
</row>
|
|
||||||
<row class="row">
|
|
||||||
<description value="Startdate"/>
|
|
||||||
<date-time options=",2" id="info_startdate" statustext="when should the ToDo or Phonecall be started, it shows up from that date in the filter open or own open (startpage)"/>
|
|
||||||
<description value="Enddate"/>
|
|
||||||
<date id="info_enddate" statustext="til when should the ToDo or Phonecall be finished"/>
|
|
||||||
</row>
|
|
||||||
<row class="row">
|
|
||||||
<description value="Status"/>
|
|
||||||
<menulist>
|
|
||||||
<menupopup id="info_status" statustext="@status_help"/>
|
|
||||||
</menulist>
|
|
||||||
<description value="Private"/>
|
|
||||||
<checkbox options="private,public" id="info_access" statustext="should this entry only be visible to you and people you grant privat access via the ACL"/>
|
|
||||||
</row>
|
|
||||||
<row class="row">
|
|
||||||
<description value="Owner"/>
|
|
||||||
<menulist>
|
|
||||||
<menupopup type="select-account" id="info_owner" readonly="true"/>
|
|
||||||
</menulist>
|
|
||||||
<description value="Last modified"/>
|
|
||||||
<hbox options="0,0">
|
|
||||||
<menulist>
|
<menulist>
|
||||||
<menupopup type="select-account" id="info_modifier" readonly="true"/>
|
<menupopup id="info_priority" statustext="select a priority for this task"/>
|
||||||
</menulist>
|
</menulist>
|
||||||
<date-time class="lpadding5" id="info_datemodified" readonly="true"/>
|
</row>
|
||||||
</hbox>
|
<row class="th">
|
||||||
</row>
|
<description span="all" value="Delegation"/>
|
||||||
<row>
|
</row>
|
||||||
<button label="Save" id="save" statustext="Saves this entry"/>
|
<row class="row">
|
||||||
<button label="Cancel" id="cancel" statustext="leave without saveing the entry"/>
|
<description value="Responsible" options=",,,info_responsible"/>
|
||||||
<description/>
|
<menulist>
|
||||||
<button label="Delete" align="right" id="delete" statustext="delete this entry"/>
|
<menupopup type="select-account" options="Owner" id="info_responsible" statustext="select a responsible user: a person you want to delegate this task"/>
|
||||||
</row>
|
</menulist>
|
||||||
</rows>
|
</row>
|
||||||
|
<row class="row" disabled="1">
|
||||||
|
<description value="Confirm" options=",,,info_confirm"/>
|
||||||
|
<menulist>
|
||||||
|
<menupopup id="info_confirm" statustext="do you want a confirmation of the responsible on: accepting, finishing the task or both"/>
|
||||||
|
</menulist>
|
||||||
|
</row>
|
||||||
|
<row class="th">
|
||||||
|
<description span="all" value="Times"/>
|
||||||
|
</row>
|
||||||
|
<row class="row">
|
||||||
|
<description options=",,,info_planned_time" value="planned time"/>
|
||||||
|
<date-duration id="info_planned_time"/>
|
||||||
|
</row>
|
||||||
|
<row class="row" valign="top" height="120">
|
||||||
|
<description options=",,,info_used_time" value="used time"/>
|
||||||
|
<date-duration id="info_used_time"/>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</template>
|
||||||
|
<template id="infolog.edit.customfields" template="" lang="" group="0" version="1.0.0.001">
|
||||||
|
<grid width="100%" height="100%" spacing="0" padding="0">
|
||||||
|
<columns>
|
||||||
|
<column/>
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<customfields id="customfields"/>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</template>
|
||||||
|
<template id="infolog.edit" template="" lang="" group="0" version="1.0.1.001">
|
||||||
|
<grid width="100%">
|
||||||
|
<columns>
|
||||||
|
<column width="103"/>
|
||||||
|
<column width="300"/>
|
||||||
|
<column width="100"/>
|
||||||
|
<column/>
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row class="th">
|
||||||
|
<description value="Type" options=",,,info_type"/>
|
||||||
|
<menulist span="all">
|
||||||
|
<menupopup id="info_type" onchange="1" statustext="Type of the log-entry: Note, Phonecall or ToDo"/>
|
||||||
|
</menulist>
|
||||||
|
</row>
|
||||||
|
<row class="row">
|
||||||
|
<description value="Category" options=",,,info_cat"/>
|
||||||
|
<menulist span="all">
|
||||||
|
<menupopup type="select-cat" options="None" id="info_cat" statustext="select a category for this entry"/>
|
||||||
|
</menulist>
|
||||||
|
</row>
|
||||||
|
<row class="row">
|
||||||
|
<description value="Contact" options=",,,info_from"/>
|
||||||
|
<textbox size="40" maxlength="64" id="info_from" statustext="Custom contact-information, leave emtpy to use information from most recent link"/>
|
||||||
|
<description value="Phone/Email" options=",,,info_addr"/>
|
||||||
|
<textbox size="40" maxlength="64" id="info_addr" statustext="Custom contact-address, leave empty to use information from most recent link"/>
|
||||||
|
</row>
|
||||||
|
<row class="row">
|
||||||
|
<description value="Subject" options=",,,info_subject"/>
|
||||||
|
<textbox size="64" maxlength="64" span="all" id="info_subject" needed="1" statustext="a short subject for the entry"/>
|
||||||
|
</row>
|
||||||
|
<row valign="top" height="250">
|
||||||
|
<tabbox span="all">
|
||||||
|
<tabs>
|
||||||
|
<tab label="Description" statustext="longer textual description"/>
|
||||||
|
<tab label="Links" statustext="Links of this entry"/>
|
||||||
|
<tab label="Delegation" statustext="responsible user, priority, times"/>
|
||||||
|
<tab label="Customfields" statustext="Custom fields"/>
|
||||||
|
</tabs>
|
||||||
|
<tabpanels>
|
||||||
|
<template id="infolog.edit.description"/>
|
||||||
|
<template id="infolog.edit.links"/>
|
||||||
|
<template id="infolog.edit.delegation"/>
|
||||||
|
<template id="infolog.edit.customfields"/>
|
||||||
|
</tabpanels>
|
||||||
|
</tabbox>
|
||||||
|
</row>
|
||||||
|
<row class="th">
|
||||||
|
<description span="all" value="Dates, Status, Access"/>
|
||||||
|
</row>
|
||||||
|
<row class="row">
|
||||||
|
<description value="Startdate" options=",,,info_startdate"/>
|
||||||
|
<date-time options=",2" id="info_startdate" statustext="when should the ToDo or Phonecall be started, it shows up from that date in the filter open or own open (startpage)"/>
|
||||||
|
<description value="Enddate" options=",,,info_enddate"/>
|
||||||
|
<date id="info_enddate" statustext="til when should the ToDo or Phonecall be finished"/>
|
||||||
|
</row>
|
||||||
|
<row class="row">
|
||||||
|
<description value="Status" options=",,,info_status"/>
|
||||||
|
<menulist>
|
||||||
|
<menupopup id="info_status" statustext="@status_help"/>
|
||||||
|
</menulist>
|
||||||
|
<description value="Private" options=",,,info_access"/>
|
||||||
|
<checkbox options="private,public" id="info_access" statustext="should this entry only be visible to you and people you grant privat access via the ACL"/>
|
||||||
|
</row>
|
||||||
|
<row class="row" disabled="!@info_owner">
|
||||||
|
<description value="Owner"/>
|
||||||
|
<menulist>
|
||||||
|
<menupopup type="select-account" id="info_owner" readonly="true"/>
|
||||||
|
</menulist>
|
||||||
|
<description value="Last modified"/>
|
||||||
|
<hbox orient="0,0">
|
||||||
|
<menulist>
|
||||||
|
<menupopup type="select-account" id="info_modifier" readonly="true"/>
|
||||||
|
</menulist>
|
||||||
|
<date-time class="lpadding5" id="info_datemodified" readonly="true"/>
|
||||||
|
</hbox>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<button label="Save" id="save" statustext="Saves this entry"/>
|
||||||
|
<button label="Cancel" id="cancel" statustext="leave without saveing the entry"/>
|
||||||
|
<description/>
|
||||||
|
<button label="Delete" align="right" id="delete" statustext="delete this entry"/>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
<styles>
|
<styles>
|
||||||
.headertext { color: black; font-size: 120%; }
|
.headertext { color: black; font-size: 120%; }
|
||||||
.lpadding5 { padding-left: 5px; };
|
.lpadding5 { padding-left: 5px; };
|
||||||
</styles>
|
</styles>
|
||||||
</grid>
|
</template>
|
||||||
</overlay>
|
</overlay>
|
@ -1,79 +1,81 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
<overlay>
|
<overlay>
|
||||||
<grid id="infolog.index.rows-noheader" template="" lang="" group="0" version="0.9.15.003">
|
<template id="infolog.index.rows-noheader" template="" lang="" group="0" version="0.9.15.003">
|
||||||
<columns>
|
<grid>
|
||||||
<column width="5%"/>
|
<columns>
|
||||||
<column/>
|
<column width="5%"/>
|
||||||
<column width="8%"/>
|
<column/>
|
||||||
<column width="8%"/>
|
<column width="8%"/>
|
||||||
<column width="8%"/>
|
<column width="8%"/>
|
||||||
<column width="3%" disabled="@no_actions"/>
|
<column width="8%"/>
|
||||||
<column width="3%" disabled="@no_actions"/>
|
<column width="3%" disabled="@no_actions"/>
|
||||||
</columns>
|
<column width="3%" disabled="@no_actions"/>
|
||||||
<rows>
|
</columns>
|
||||||
<row class="th">
|
<rows>
|
||||||
<vbox>
|
<row class="th">
|
||||||
<description value="Type"/>
|
<vbox>
|
||||||
<description value="Status"/>
|
<description value="Type"/>
|
||||||
</vbox>
|
<description value="Status"/>
|
||||||
<vbox>
|
</vbox>
|
||||||
<description value="Subject"/>
|
<vbox>
|
||||||
<description value="Description"/>
|
<description value="Subject"/>
|
||||||
</vbox>
|
<description value="Description"/>
|
||||||
<vbox>
|
</vbox>
|
||||||
<description value="Startdate"/>
|
<vbox>
|
||||||
<description value="Enddate"/>
|
<description value="Startdate"/>
|
||||||
</vbox>
|
<description value="Enddate"/>
|
||||||
<vbox>
|
</vbox>
|
||||||
<description value="Owner"/>
|
<vbox>
|
||||||
<description value="Responsible"/>
|
<description value="Owner"/>
|
||||||
</vbox>
|
<description value="Responsible"/>
|
||||||
<description value="last changed"/>
|
</vbox>
|
||||||
<description value="Sub"/>
|
<description value="last changed"/>
|
||||||
<description value="Action"/>
|
<description value="Sub"/>
|
||||||
</row>
|
<description value="Action"/>
|
||||||
<row class="row" valign="top">
|
</row>
|
||||||
<hbox options="2,2" align="center">
|
<row class="row" valign="top">
|
||||||
<image label="$row_cont[info_type]" src="${row}[info_type]"/>
|
<hbox align="center" orient="2,2">
|
||||||
<button image="$row_cont[info_status]" ro_image="$row_cont[info_status]" label="$row_cont[info_status]" id="edit_status[$row_cont[info_id]]" statustext="Change the status of an entry, eg. close it"/>
|
<image label="$row_cont[info_type]" src="${row}[info_type]"/>
|
||||||
</hbox>
|
<button image="$row_cont[info_status]" ro_image="$row_cont[info_status]" label="$row_cont[info_status]" id="edit_status[$row_cont[info_id]]" statustext="Change the status of an entry, eg. close it"/>
|
||||||
<vbox options="0,0">
|
</hbox>
|
||||||
<description options="b,@${row}[info_link_view]" value="%s $row_cont[info_addr]" no_lang="1" id="${row}[info_link_title]" statustext="view this linked entry in its application"/>
|
<vbox orient="0,0">
|
||||||
<description class="$row_cont[sub_class]" no_lang="1" id="${row}[info_subject]"/>
|
<description options="b,@${row}[info_link_view]" value="%s $row_cont[info_addr]" no_lang="1" id="${row}[info_link_title]" statustext="view this linked entry in its application"/>
|
||||||
<description options=",,1" no_lang="1" id="${row}[info_des]"/>
|
<description class="$row_cont[sub_class]" no_lang="1" id="${row}[info_subject]"/>
|
||||||
<link-string id="${row}[filelinks]"/>
|
<description options=",,1" no_lang="1" id="${row}[info_des]"/>
|
||||||
</vbox>
|
<link-string id="${row}[filelinks]"/>
|
||||||
<vbox options="0,0">
|
</vbox>
|
||||||
<date id="${row}[info_startdate]" readonly="true"/>
|
<vbox orient="0,0">
|
||||||
<date class="$row_cont[end_class]" id="${row}[info_enddate]" readonly="true"/>
|
<date id="${row}[info_startdate]" readonly="true"/>
|
||||||
</vbox>
|
<date class="$row_cont[end_class]" id="${row}[info_enddate]" readonly="true"/>
|
||||||
<vbox options="0,0">
|
</vbox>
|
||||||
<menulist>
|
<vbox orient="0,0">
|
||||||
<menupopup type="select-account" id="${row}[info_owner]" readonly="true"/>
|
<menulist>
|
||||||
</menulist>
|
<menupopup type="select-account" id="${row}[info_owner]" readonly="true"/>
|
||||||
<menulist>
|
</menulist>
|
||||||
<menupopup type="select-account" id="${row}[info_responsible]" readonly="true"/>
|
<menulist>
|
||||||
</menulist>
|
<menupopup type="select-account" id="${row}[info_responsible]" readonly="true"/>
|
||||||
</vbox>
|
</menulist>
|
||||||
<vbox options="0,0">
|
</vbox>
|
||||||
<date-time id="${row}[info_datemodified]" readonly="true"/>
|
<vbox orient="0,0">
|
||||||
<menulist>
|
<date-time id="${row}[info_datemodified]" readonly="true"/>
|
||||||
<menupopup type="select-account" id="${row}[info_modifier]" readonly="true"/>
|
<menulist>
|
||||||
</menulist>
|
<menupopup type="select-account" id="${row}[info_modifier]" readonly="true"/>
|
||||||
</vbox>
|
</menulist>
|
||||||
<vbox options="0,0" align="center">
|
</vbox>
|
||||||
<button image="new.gif" label="Add sub" align="center" id="sp[$row_cont[info_id]]" statustext="Add a new sub-task, -note, -call to this entry"/>
|
<vbox align="center" orient="0,0">
|
||||||
<button image="view.gif" label="View subs" align="center" id="view[$row_cont[info_id]]" statustext="View all subs of this entry"/>
|
<button image="new.gif" label="Add sub" align="center" id="sp[$row_cont[info_id]]" statustext="Add a new sub-task, -note, -call to this entry"/>
|
||||||
<button image="parent.gif" label="View parent" align="center" id="view[$row_cont[info_id_parent]]" statustext="View the parent of this entry and all his subs"/>
|
<button image="view.gif" label="View subs" align="center" id="view[$row_cont[info_id]]" statustext="View all subs of this entry"/>
|
||||||
</vbox>
|
<button image="parent.gif" label="View parent" align="center" id="view[$row_cont[info_id_parent]]" statustext="View the parent of this entry and all his subs"/>
|
||||||
<hbox>
|
</vbox>
|
||||||
<button image="edit.gif" label="Edit" id="edit[$row_cont[info_id]]" statustext="Edit this entry"/>
|
<hbox>
|
||||||
<button image="delete.gif" label="Delete" id="delete[$row_cont[info_id]]" statustext="Delete this entry"/>
|
<button image="edit.gif" label="Edit" id="edit[$row_cont[info_id]]" statustext="Edit this entry"/>
|
||||||
<button image="addfile.gif" label="Add file" id="file[$row_cont[info_id]]" disabled="true" statustext="Attach a file"/>
|
<button image="delete.gif" label="Delete" id="delete[$row_cont[info_id]]" statustext="Delete this entry"/>
|
||||||
</hbox>
|
<button image="addfile.gif" label="Add file" id="file[$row_cont[info_id]]" disabled="true" statustext="Attach a file"/>
|
||||||
</row>
|
</hbox>
|
||||||
</rows>
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
<styles>
|
<styles>
|
||||||
.low,.low_done,.normal,.normal_done,.high,.high_done,.urgent,.urgent_done { font-weight: bold; }
|
.low,.low_done,.normal,.normal_done,.high,.high_done,.urgent,.urgent_done { font-weight: bold; }
|
||||||
.low,.low_done { color:#606060; }
|
.low,.low_done { color:#606060; }
|
||||||
@ -86,80 +88,94 @@
|
|||||||
.private { font-style:italic; }
|
.private { font-style:italic; }
|
||||||
|
|
||||||
</styles>
|
</styles>
|
||||||
</grid>
|
</template>
|
||||||
<grid id="infolog.index.rows" template="" lang="" group="0" version="0.9.15.008">
|
<template id="infolog.index.rows" template="" lang="" group="0" version="1.0.1.001">
|
||||||
<columns>
|
<grid>
|
||||||
<column width="2%"/>
|
<columns>
|
||||||
<column/>
|
<column width="2%"/>
|
||||||
<column width="8%"/>
|
<column/>
|
||||||
<column width="8%"/>
|
<column width="8%"/>
|
||||||
<column width="8%"/>
|
<column width="8%"/>
|
||||||
<column width="3%" disabled="@no_actions"/>
|
<column width="12%"/>
|
||||||
<column width="3%" disabled="@no_actions"/>
|
<column width="3%" disabled="@no_actions"/>
|
||||||
</columns>
|
<column width="3%" disabled="@no_actions"/>
|
||||||
<rows>
|
</columns>
|
||||||
<row class="th">
|
<rows>
|
||||||
<vbox options="0,0">
|
<row class="th">
|
||||||
<nextmatch-filterheader options="Type ..." id="info_type"/>
|
<vbox orient="0,0">
|
||||||
<nextmatch-filterheader options="Status ..." id="info_status"/>
|
<nextmatch-filterheader options="Type ..." id="info_type"/>
|
||||||
</vbox>
|
<nextmatch-filterheader options="Status ..." id="info_status"/>
|
||||||
<vbox>
|
</vbox>
|
||||||
<nextmatch-sortheader label="Subject" id="info_subject"/>
|
<grid width="100%" spacing="0" padding="0">
|
||||||
<nextmatch-sortheader label="Description" id="info_des"/>
|
<columns>
|
||||||
</vbox>
|
<column/>
|
||||||
<vbox>
|
<column/>
|
||||||
<nextmatch-sortheader label="Startdate" id="info_startdate"/>
|
</columns>
|
||||||
<nextmatch-sortheader label="Enddate" id="info_enddate"/>
|
<rows>
|
||||||
</vbox>
|
<row>
|
||||||
<vbox>
|
<nextmatch-sortheader label="Subject" id="info_subject"/>
|
||||||
<nextmatch-sortheader label="Owner" id="info_owner"/>
|
<nextmatch-sortheader label="Priority" align="right" id="info_priority"/>
|
||||||
<nextmatch-sortheader label="Responsible" id="info_responsible"/>
|
</row>
|
||||||
</vbox>
|
<row>
|
||||||
<nextmatch-sortheader label="last changed" id="info_datemodified"/>
|
<nextmatch-sortheader label="Description" id="info_des"/>
|
||||||
<description value="Sub"/>
|
<description/>
|
||||||
<description value="Action"/>
|
</row>
|
||||||
</row>
|
</rows>
|
||||||
<row class="row" valign="top">
|
</grid>
|
||||||
<hbox options=",5" align="center">
|
<vbox>
|
||||||
<image label="$row_cont[info_type]" src="${row}[info_type]"/>
|
<nextmatch-sortheader label="Startdate" id="info_startdate"/>
|
||||||
<button image="$row_cont[info_status]" ro_image="$row_cont[info_status]" label="$row_cont[info_status]" id="edit_status[$row_cont[info_id]]" statustext="Change the status of an entry, eg. close it"/>
|
<nextmatch-sortheader label="Enddate" id="info_enddate"/>
|
||||||
</hbox>
|
</vbox>
|
||||||
<vbox options="0,0">
|
<vbox>
|
||||||
<description options="b,@${row}[info_link_view]" value="%s $row_cont[info_addr]" no_lang="1" id="${row}[info_link_title]" statustext="view this linked entry in its application"/>
|
<nextmatch-accountfilter id="info_owner" options="Owner" statustext="Select to filter by owner"/>
|
||||||
<description class="$row_cont[sub_class]" no_lang="1" id="${row}[info_subject]"/>
|
<nextmatch-accountfilter id="info_responsible" options="Responsible" statustext="Select to filter by responsible"/>
|
||||||
<description options=",,1" no_lang="1" id="${row}[info_des]"/>
|
</vbox>
|
||||||
<link-string id="${row}[filelinks]"/>
|
<nextmatch-sortheader label="last changed" id="info_datemodified"/>
|
||||||
</vbox>
|
<description value="Sub"/>
|
||||||
<vbox options="0,0">
|
<description value="Action"/>
|
||||||
<date id="${row}[info_startdate]" readonly="true"/>
|
</row>
|
||||||
<date class="$row_cont[end_class]" id="${row}[info_enddate]" readonly="true"/>
|
<row class="row" valign="top">
|
||||||
</vbox>
|
<hbox align="center" orient=",5">
|
||||||
<vbox options="0,0">
|
<image label="$row_cont[info_type]" src="${row}[info_type]"/>
|
||||||
<menulist>
|
<button image="$row_cont[info_status]" ro_image="$row_cont[info_status]" label="$row_cont[info_status]" id="edit_status[$row_cont[info_id]]" statustext="Change the status of an entry, eg. close it"/>
|
||||||
<menupopup type="select-account" id="${row}[info_owner]" readonly="true"/>
|
</hbox>
|
||||||
</menulist>
|
<vbox orient="0,0">
|
||||||
<menulist>
|
<description options="b,@${row}[info_link_view]" value="%s $row_cont[info_addr]" no_lang="1" id="${row}[info_link_title]" statustext="view this linked entry in its application"/>
|
||||||
<menupopup type="select-account" id="${row}[info_responsible]" readonly="true"/>
|
<description class="$row_cont[sub_class]" no_lang="1" id="${row}[info_subject]"/>
|
||||||
</menulist>
|
<description options=",,1" no_lang="1" id="${row}[info_des]"/>
|
||||||
</vbox>
|
<link-string id="${row}[filelinks]"/>
|
||||||
<vbox options="0,0">
|
</vbox>
|
||||||
<date-time id="${row}[info_datemodified]" readonly="true"/>
|
<vbox orient="0,0">
|
||||||
<menulist>
|
<date-time options=",8" id="${row}[info_startdate]" readonly="true"/>
|
||||||
<menupopup type="select-account" id="${row}[info_modifier]" readonly="true"/>
|
<date class="$row_cont[end_class]" id="${row}[info_enddate]" readonly="true"/>
|
||||||
</menulist>
|
</vbox>
|
||||||
</vbox>
|
<vbox orient="0,0">
|
||||||
<vbox options="0,0" align="center">
|
<menulist>
|
||||||
<button image="new.gif" label="Add sub" align="center" id="sp[$row_cont[info_id]]" statustext="Add a new sub-task, -note, -call to this entry"/>
|
<menupopup type="select-account" id="${row}[info_owner]" readonly="true"/>
|
||||||
<button image="view.gif" label="View subs" align="center" id="view[$row_cont[info_id]]" statustext="View all subs of this entry"/>
|
</menulist>
|
||||||
<button image="parent.gif" label="View parent" align="center" id="view[$row_cont[info_id_parent]]" statustext="View the parent of this entry and all his subs"/>
|
<menulist>
|
||||||
</vbox>
|
<menupopup type="select-account" id="${row}[info_responsible]" readonly="true"/>
|
||||||
<hbox>
|
</menulist>
|
||||||
<button image="edit.gif" label="Edit" id="edit[$row_cont[info_id]]" statustext="Edit this entry"/>
|
</vbox>
|
||||||
<button image="delete.gif" label="Delete" id="delete[$row_cont[info_id]]" statustext="Delete this entry"/>
|
<vbox orient="0,0">
|
||||||
<button image="addfile.gif" label="Add file" id="file[$row_cont[info_id]]" disabled="true" statustext="Attach a file"/>
|
<date-time id="${row}[info_datemodified]" readonly="true"/>
|
||||||
</hbox>
|
<menulist>
|
||||||
</row>
|
<menupopup type="select-account" id="${row}[info_modifier]" readonly="true"/>
|
||||||
</rows>
|
</menulist>
|
||||||
|
</vbox>
|
||||||
|
<vbox align="center" orient="0,0">
|
||||||
|
<button image="new.gif" label="Add sub" align="center" id="sp[$row_cont[info_id]]" statustext="Add a new sub-task, -note, -call to this entry"/>
|
||||||
|
<button image="view.gif" label="View subs" align="center" id="view[$row_cont[info_id]]" statustext="View all subs of this entry"/>
|
||||||
|
<button image="parent.gif" label="View parent" align="center" id="view[$row_cont[info_id_parent]]" statustext="View the parent of this entry and all his subs"/>
|
||||||
|
</vbox>
|
||||||
|
<hbox>
|
||||||
|
<button image="edit.gif" label="Edit" id="edit[$row_cont[info_id]]" statustext="Edit this entry"/>
|
||||||
|
<button image="delete.gif" label="Delete" id="delete[$row_cont[info_id]]" statustext="Delete this entry"/>
|
||||||
|
<button image="addfile.gif" label="Add file" id="file[$row_cont[info_id]]" disabled="true" statustext="Attach a file"/>
|
||||||
|
</hbox>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
<styles>
|
<styles>
|
||||||
.low,.low_done,.normal,.normal_done,.high,.high_done,.urgent,.urgent_done { font-weight: bold; }
|
.low,.low_done,.normal,.normal_done,.high,.high_done,.urgent,.urgent_done { font-weight: bold; }
|
||||||
.low,.low_done { color:#606060; }
|
.low,.low_done { color:#606060; }
|
||||||
@ -172,38 +188,40 @@
|
|||||||
.private { font-style:italic; }
|
.private { font-style:italic; }
|
||||||
|
|
||||||
</styles>
|
</styles>
|
||||||
</grid>
|
</template>
|
||||||
<grid id="infolog.index" template="" lang="" group="" version="0.9.15.005" width="100%" border="0" spacing="0" padding="0">
|
<template id="infolog.index" template="" lang="" group="0" version="1.0.1.001">
|
||||||
<columns>
|
<grid width="100%" border="0" spacing="0" padding="0">
|
||||||
<column width="95%"/>
|
<columns>
|
||||||
<column/>
|
<column width="95%"/>
|
||||||
<column/>
|
<column/>
|
||||||
</columns>
|
<column/>
|
||||||
<rows>
|
</columns>
|
||||||
<row disabled="1">
|
<rows>
|
||||||
<description class="headertext" id="appheader"/>
|
<row disabled="1">
|
||||||
<description class="headertext" value="Add:" align="right"/>
|
<description class="headertext" id="appheader"/>
|
||||||
<hbox>
|
<description class="headertext" value="Add:" align="right"/>
|
||||||
<button image="task" label="ToDo" align="right" id="add[task]" statustext="Add a new ToDo"/>
|
<hbox>
|
||||||
<button image="phone" label="Phonecall" id="add[phone]" statustext="Add a new Phonecall"/>
|
<button image="task" label="ToDo" align="right" id="add[task]" statustext="Add a new ToDo"/>
|
||||||
<button image="note" label="Note" id="add[note]" statustext="Add a new Note"/>
|
<button image="phone" label="Phonecall" id="add[phone]" statustext="Add a new Phonecall"/>
|
||||||
</hbox>
|
<button image="note" label="Note" id="add[note]" statustext="Add a new Note"/>
|
||||||
</row>
|
</hbox>
|
||||||
<row disabled="!@main">
|
</row>
|
||||||
<grid content="main" span="all" id="infolog.index.rows-noheader"/>
|
<row disabled="!@main">
|
||||||
</row>
|
<template content="main" span="all" id="infolog.index.rows-noheader"/>
|
||||||
<row>
|
</row>
|
||||||
<nextmatch options="infolog.index.rows" span="all" id="nm"/>
|
<row>
|
||||||
</row>
|
<nextmatch options="infolog.index.rows" span="all" id="nm"/>
|
||||||
<row>
|
</row>
|
||||||
<hbox span="all">
|
<row>
|
||||||
<button label="Add" id="add[note]" statustext="Add a new Entry"/>
|
<hbox span="all">
|
||||||
<button label="Cancel" id="cancel" statustext="Back to main list"/>
|
<button label="Add" id="add[note]" statustext="Add a new Entry"/>
|
||||||
</hbox>
|
<button label="Cancel" id="cancel" statustext="Back to main list"/>
|
||||||
</row>
|
</hbox>
|
||||||
</rows>
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
<styles>
|
<styles>
|
||||||
.headertext { color: black; font-size: 120%; }
|
.headertext { color: black; font-size: 120%; }
|
||||||
</styles>
|
</styles>
|
||||||
</grid>
|
</template>
|
||||||
</overlay>
|
</overlay>
|
Loading…
Reference in New Issue
Block a user