R22447 - in /trunk/tracker: inc/ setup/ templates/default/

Author: ralfbecker
New Revision: 22447

URL: http://www.egroupware.org/viewvc?rev=3D22447&view=3Drev
Log:
notification-config can now be tracker specific too

Modified:
trunk/tracker/inc/class.botracker.inc.php
trunk/tracker/inc/class.uitracker.inc.php
trunk/tracker/setup/etemplates.inc.php
trunk/tracker/templates/default/admin.xet

Modified: trunk/tracker/inc/class.botracker.inc.php
URL: http://www.egroupware.org/viewvc/trunk/tracker/inc/class.botracker.inc=
.php?rev=3D22447&r1=3D22446&r2=3D22447&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
— trunk/tracker/inc/class.botracker.inc.php (original)
+++ trunk/tracker/inc/class.botracker.inc.php Sun Sep 17 09:52:48 2006
@@ -208,38 +208,19 @@
/**
* Names of all config vars =

 *
    • @var unknown_type
    • @var array
      */
      var $config_names =3D array(
  •   'technicians','admins',	// tracker specific
    
  •   'technicians','admins','notification',	// tracker specific
      'field_acl','allow_assign_groups','allow_voting','overdue_days','pending=
    

_close_days’, // tracker unspecific

  •   'notification_copy','notification_lang','notification_sender','notificat=
    

ion_link’,
‘allow_bounties’,‘currency’,
);
/**

    • E-Mail to which a copy of every notification is send, eg. a mailinglist
    • @var string
  • */
  • var $notification_copy;
  • /**
    • Language of the notification-copy, 2- or 5-char lang-code
    • @var string
  • */
  • var $notification_lang;
  • /**
    • Sender address (from) for notification mails, eg. noreply@egroupware.o=
      rg
    • @var string
  • */
  • var $notification_sender;
  • /**
    • Link to be include in the notifications (plus &tr_id=3Dxx added), defa=
      ult empty =3D tracker inside eGW
    • @var string
  • */
  • var $notification_link;
    • Notification settings (tracker specific, keys: sender, link, copy, lan=
      g)
    • @var array
  • */
  • var $notification;
    /**
    • Allow bounties to be set on tracker items
    • =

@@ -462,9 +443,9 @@
function do_notifications($old)
{
// notification copy (only not-private items)

  •   if ($this->notification_copy && !$this->data['tr_private'])
    
  •   {
    
  •   	$this->send_notification($old,$this->notification_copy,$this->notificat=
    

ion_lang);

  •   if (!$this->data['tr_private'] && ($email =3D $this->notification_config=
    

(‘copy’)))

  •   {
    
  •   	$this->send_notification($old,$email,$this->notification_config('lang')=
    

);
}
// item creator
if (($email =3D $GLOBALS[‘egw’]->accounts->id2name($this->data[‘tr_creat=
or’],‘account_email’)))
@@ -547,7 +528,7 @@
$body =3D lang(‘Tracker item modified by %1 at %2’,$GLOBALS[‘egw’]->com=
mon->grab_owner_name($data[‘tr_modifier’]),
date($datetime_format,$data[‘tr_modified’]-$this->tz_offset_s+$tz_offs=
et_s))."\n";
}

  •   if (!($link =3D $this->notification_link))
    
  •   if (!($link =3D $this->notification_config('link')))
      {
      	$link =3D ($GLOBALS['egw_info']['server']['webserver_url']{0} !=3D 'h' =
    

? =

			($_SERVER['HTTPS'] || $GLOBALS['egw_info']['server']['enforce_ssl'] ? =

‘https://’ : ‘http://’).
@@ -607,14 +588,15 @@
$send->AddAddress($email,is_numeric($user_or_lang) ? $GLOBALS[‘egw’]->a=
ccounts->id2name($user_or_lang,‘account_fullname’) : ‘’);
}
$send->AddCustomHeader(‘X-eGroupWare-type: trackerupdate’);

  •   if (preg_match('/^(.+) *<(.+)>/',$this->notification_sender,$matches))	/=
    

/ allow to use eg. “Ralf Becker ralf@egw.org” as sender

  •   $sender =3D $this->notification_config('sender');
    
  •   if (preg_match('/^(.+) *<(.+)>/',$sender,$matches))	// allow to use eg. =
    

“Ralf Becker ralf@egw.org” as sender
{
$send->From =3D $matches[2];
$send->FromName =3D $matches[1];
}
else
{

  •   	$send->From =3D $this->notification_sender;
    
  •   	$send->From =3D $sender;
      	$send->FromName =3D lang('Tracker').': '.$this->trackers[$data['tr_trac=
    

ker’]];
}
$send->Subject =3D $subject;
@@ -625,6 +607,19 @@
die("Error while notifying $email: ".$send->ErrorInfo);
}
return true;

  • }

  • =

  • /**

    • Get a notification-config value
    • @param string $what
    • @param int $tracker=3Dnull
  • */

  • function notification_config($name,$tracker=3Dnull)

  • {

  •   if (is_null($tracker)) $tracker =3D $this->data['tr_tracker'];
    
  •   =
    
  •   return $this->notification[$tracker] ? $this->notification[$tracker] : $=
    

this->notification[0];
}

/**

@@ -1070,13 +1065,26 @@
function load_config()
{
$config =3D& CreateObject(‘phpgwapi.config’,‘tracker’);

  •   $migrate_config =3D false;	// update old config-values, can be removed s=
    

oon
foreach($config->read_repository() as $name =3D> $value)
{

  •   	if (substr($name,0,13) =3D=3D 'notification_')	// update old config-val=
    

ues, can be removed soon

  •   	{
    
  •   		$this->notification[0][substr($name,13)] =3D $value;
    
  •   		$config->delete_value($name);
    
  •   		$migrate_config =3D true;
    
  •   		continue;
    
  •   	}
      	$this->$name =3D $value;
      }
    
  •   if ($migrate_config)	// update old config-values, can be removed soon
    
  •   {
    
  •   	$config->value('notification',$this->notification);
    
  •   	$config->save_repository();
    
  •   }
      unset($config);
      =
    
  •   if (!$this->notification_lang) $this->notification_lang =3D $GLOBALS['eg=
    

w’]->preferences->default[‘common’][‘lang’];

  •   if (!$this->notification[0]['lang']) $this->notification[0]['lang'] =3D =
    

$GLOBALS[‘egw’]->preferences->default[‘common’][‘lang’];

	foreach(array(
		'tr_summary'     =3D> TRACKER_ITEM_CREATOR|TRACKER_ITEM_ASSIGNEE|TRACKE=

R_ADMIN,

Modified: trunk/tracker/inc/class.uitracker.inc.php
URL: http://www.egroupware.org/viewvc/trunk/tracker/inc/class.uitracker.inc=
.php?rev=3D22447&r1=3D22446&r2=3D22447&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
— trunk/tracker/inc/class.uitracker.inc.php (original)
+++ trunk/tracker/inc/class.uitracker.inc.php Sun Sep 17 09:52:48 2006
@@ -130,7 +130,7 @@
}
$GLOBALS[‘egw’]->link->link(‘tracker’,$this->data[‘tr_id’],$content=
[‘link_to’][‘to_id’]);
}

  •   				$js =3D "opener.location.href=3Dopener.location.href.replace(/&tr_id=
    

=3D[0-9]+/,’’)+’&msg=3D$msg&tracker=3D$content[tr_tracker]’;";

  •   				$js =3D "opener.location.href=3Dopener.location.href.replace(/&tr_id=
    

=3D[0-9]+/,’’)+’&msg=3D".addslashes(urlencode($msg))."&tracker=3D$content[t=
r_tracker]’;";
}
else
{
@@ -158,7 +158,7 @@
$msg =3D lang(‘Thank you for voting.’);
if ($popup)
{

  •   					$js =3D "opener.location.href=3Dopener.location.href.replace(/&tr_i=
    

d=3D[0-9]+/,’’)+’&msg=3D$msg’;";

  •   					$js =3D "opener.location.href=3Dopener.location.href.replace(/&tr_i=
    

d=3D[0-9]+/,’’)+’&msg=3D".addslashes(urlencode($msg))."’;";
$GLOBALS[‘egw_info’][‘flags’][‘java_script’] .=3D “\n”;
}
else
@@ -644,7 +644,8 @@
}
}
}

  •   			foreach(array('technicians','admins') as $name)
    
  •   			// tracker specific config
    
  •   			foreach(array('technicians','admins','notification') as $name)
      			{
      				$staff =3D& $this->$name;
      				if (!isset($staff[$tracker])) $staff[$tracker] =3D array();
    

@@ -824,7 +825,6 @@
$readonlys =3D array(
‘button[delete]’ =3D> !$tracker,
‘delete[0]’ =3D> true,

  •   	$tabs =3D> array('config' =3D> !!$tracker),
      );
      $GLOBALS['egw_info']['flags']['app_header'] =3D lang('Tracker configurat=
    

ion’).($tracker ? ': '.$this->trackers[$tracker] : ‘’);
$tpl =3D& new etemplate(‘tracker.admin’);

Modified: trunk/tracker/setup/etemplates.inc.php
URL: http://www.egroupware.org/viewvc/trunk/tracker/setup/etemplates.inc.ph=
p?rev=3D22447&r1=3D22446&r2=3D22447&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
— trunk/tracker/setup/etemplates.inc.php (original)
+++ trunk/tracker/setup/etemplates.inc.php Sun Sep 17 09:52:48 2006
@@ -2,12 +2,12 @@
/**
* eGroupWare - eTemplates for Application tracker
* http://www.egroupware.org =

    • generated by soetemplate::dump4setup() 2006-08-17 18:45
    • @version $Id: class.soetemplate.inc.php 21849 2006-06-15 21:52:40Z ral=
      fbecker $
    • @version $Id: class.soetemplate.inc.php 22413 2006-09-12 07:32:34Z ral=
      fbecker $
      */
      =

$templ_version=3D1;
@@ -18,7 +18,7 @@

$templ_data[] =3D array(‘name’ =3D> ‘tracker.admin.cats’,‘template’ =3D> ‘=
’,‘lang’ =3D> ‘’,‘group’ =3D> ‘0’,‘version’ =3D> ‘0.1.002’,‘data’ =3D> ‘a:1=
:{i:0;a:6:{s:4:“type”;s:4:“grid”;s:4:“data”;a:4:{i:0;a:5:{s:2:“c2”;s:7:“row=
,top”;s:1:“D”;s:3:“30%”;s:2:“c1”;s:7:“row,top”;s:1:“A”;s:3:“100”;s:2:“c3”;s=
:7:“row,top”;}i:1;a:4:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:10=
:“Categories”;}s:1:“B”;a:8:{s:4:“type”;s:4:“grid”;s:4:“size”;s:17:“100%,140=
,auto”;s:4:“span”;s:3:“all”;s:4:“data”;a:3:{i:0;a:2:{s:2:“c1”;s:2:“th”;=
s:1:“C”;s:2:“5%”;}i:1;a:3:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;=
s:4:“Name”;}s:1:“B”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:13:“Autoassig=
n to”;}s:1:“C”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:7:“Actions”;}}i:2;=
“size”;s:6:“60,150”;s:4:“blur”;s:18:"–> enter new name";}s:1:“B”;a:4:{s:4:=
“type”;s:6:“select”;s:4:“size”;s:5:“Noone”;s:4:“name”;s:18:"${row}[autoassi=
gn]";s:7:“no_lang”;s:1:“1”;}s:1:“C”;a:7:{s:4:“type”;s:6:“button”;s:4:“size”=
;s:6:“delete”;s:5:“label”;s:6:“Delete”;s:5:“align”;s:6:“center”;s:4:“name”;=
s:21:“delete[$row_cont[id]]”;s:7:“onclick”;s:39:“return confirm(‘Delete th=
is category’);”;s:4:“help”;s:20:“Delete this category”;}}}s:4:“rows”;i:2;s=
:4:“cols”;i:3;s:4:“name”;s:4:“cats”;s:7:“options”;a:3:{i:0;s:4:“100%”;i:1;s=
:3:“140”;i:6;s:4:“auto”;}}s:1:“C”;a:1:{s:4:“type”;s:5:“label”;}s:1:“D”;a:1:=
{s:4:“type”;s:5:“label”;}}i:2;a:4:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:=
“label”;s:8:“Versions”;}s:1:“B”;a:8:{s:4:“type”;s:4:“grid”;s:4:“size”;s:17:=
“100%,100,auto”;s:4:“span”;s:3:“all”;s:4:“data”;a:3:{i:0;a:3:{s:2:“c1”;=
s:2:“th”;s:2:“c2”;s:3:“row”;s:1:“B”;s:2:“5%”;}i:1;a:2:{s:1:“A”;a:2:{s:4:“ty=
pe”;s:5:“label”;s:5:“label”;s:4:“Name”;}s:1:“B”;a:2:{s:4:“type”;s:5:“label”=
;s:5:“label”;s:7:“Actions”;}}i:2;a:2:{s:1:“A”;a:4:{s:4:“type”;s:4:“text”;s:=
4:“name”;s:12:"${row}[name]";s:4:“size”;s:6:“80,150”;s:4:“blur”;s:18:"–> e=
nter new name";}s:1:“B”;a:7:{s:4:“type”;s:6:“button”;s:4:“size”;s:6:“delete=
”;s:5:“label”;s:6:“Delete”;s:5:“align”;s:6:“center”;s:4:“name”;s:21:“delete=
[$row_cont[id]]”;s:7:“onclick”;s:38:“return confirm(‘Delete this version’=
);”;s:4:“help”;s:19:“Delete this version”;}}}s:4:“rows”;i:2;s:4:“cols”;i:2;=
s:4:“name”;s:8:“versions”;s:7:“options”;a:3:{i:0;s:4:“100%”;i:1;s:3:“100”;i=
:6;s:4:“auto”;}}s:1:“C”;a:1:{s:4:“type”;s:5:“label”;}s:1:“D”;a:1:{s:4:“type=
”;s:5:“label”;}}i:3;a:4:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:=
16:“Canned responses”;}s:1:“B”;a:8:{s:4:“type”;s:4:“grid”;s:4:“size”;s:17:"=
100%,140,auto";s:4:“span”;s:3:“all”;s:4:“data”;a:3:{i:0;a:3:{s:2:“c1”;s=
:2:“th”;s:1:“C”;s:2:“5%”;s:2:“c2”;s:7:“row,top”;}i:1;a:3:{s:1:“A”;a:2:{s:4:=
“type”;s:5:“label”;s:5:“label”;s:4:“Name”;}s:1:“B”;a:2:{s:4:“type”;s:5:“lab=
el”;s:5:“label”;s:15:“Canned response”;}s:1:“C”;a:2:{s:4:“type”;s:5:“label”=
;s:5:“label”;s:7:“Actions”;}}i:2;a:3:{s:1:“A”;a:4:{s:4:“type”;s:4:“text”;s:=
4:“size”;s:2:“30”;s:4:“name”;s:12:"${row}[name]";s:4:“blur”;s:18:"–> enter=
new name";}s:1:“B”;a:3:{s:4:“type”;s:8:“textarea”;s:4:“size”;s:4:“3,50”;s:=
4:“name”;s:19:"${row}[description]";}s:1:“C”;a:7:{s:4:“type”;s:6:“button”;s=
:4:“size”;s:6:“delete”;s:5:“label”;s:6:“Delete”;s:5:“align”;s:6:“center”;s:=
4:“name”;s:21:“delete[$row_cont[id]]”;s:7:“onclick”;s:46:"return confirm(’=
Delete this canned response’);";s:4:“help”;s:27:“Delete this canned respon=
se”;}}}s:4:“rows”;i:2;s:4:“cols”;i:3;s:4:“name”;s:9:“responses”;s:7:“option=
s”;a:3:{i:0;s:4:“100%”;i:1;s:3:“140”;i:6;s:4:“auto”;}}s:1:“C”;a:1:{s:4:“typ=
e”;s:5:“label”;}s:1:“D”;a:1:{s:4:“type”;s:5:“label”;}}}s:4:“rows”;i:3;s:4:"=
cols";i:4;s:4:“size”;s:17:“100%,400,auto”;s:7:“options”;a:3:{i:0;s:4:“1=
00%”;i:1;s:3:“400”;i:6;s:4:“auto”;}}}’,‘size’ =3D> ‘100%,400,auto’,‘sty=
le’ =3D> ‘’,‘modified’ =3D> ‘1155624839’,);

-$templ_data[] =3D array(‘name’ =3D> ‘tracker.admin.config’,‘template’ =3D>=
’’,‘lang’ =3D> ‘’,‘group’ =3D> ‘0’,‘version’ =3D> ‘0.1.002’,‘data’ =3D> ‘a=
:1:{i:0;a:6:{s:4:“type”;s:4:“grid”;s:4:“data”;a:10:{i:0;a:11:{s:2:“c2”;s:3:=
“row”;s:2:“c6”;s:7:“row,top”;s:2:“c7”;s:2:“th”;s:2:“c5”;s:2:“th”;s:1:“D”;s:=
3:“30%”;s:2:“c1”;s:2:“th”;s:2:“c8”;s:3:“row”;s:2:“c4”;s:3:“row”;s:1:“A”;s:3=
:“100”;s:2:“c9”;s:3:“row”;s:2:“c3”;s:3:“row”;}i:1;a:4:{s:1:“A”;a:3:{s:4:“ty=
pe”;s:5:“label”;s:4:“span”;s:3:“all”;s:5:“label”;s:30:“Configuration for al=
l trackers”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}s:1:“C”;a:1:{s:4:“type”;s=
:5:“label”;}s:1:“D”;a:1:{s:4:“type”;s:5:“label”;}}i:2;a:4:{s:1:“A”;a:3:{s:4=
:“type”;s:5:“label”;s:4:“size”;s:22:",allow_assing_groups";s:5:“label”;s:=
16:“Assigning groups”;}s:1:“B”;a:4:{s:4:“type”;s:6:“select”;s:4:“name”;s:19=
:“allow_assign_groups”;s:4:“help”;s:39:“Allow to assign groups to tracker i=
tems”;s:7:“no_lang”;s:1:“1”;}s:1:“C”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”=
;s:15:",allow_voting";s:5:“label”;s:12:“Allow voting”;}s:1:“D”;a:3:{s:4:"=
type";s:6:“select”;s:4:“name”;s:12:“allow_voting”;s:4:“help”;s:60:“Allow vo=
ting on tracker items, show and sort after the votes”;}}i:3;a:4:{s:1:“A”;a:=
3:{s:4:“type”;s:5:“label”;s:4:“size”;s:17:",allow_bounties";s:5:“label”;s=
:14:“Allow bounties”;}s:1:“B”;a:2:{s:4:“type”;s:6:“select”;s:4:“name”;s:14:=
“allow_bounties”;}s:1:“C”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:11:",c=
urrency";s:5:“label”;s:8:“Currency”;}s:1:“D”;a:2:{s:4:“type”;s:4:“text”;s:4=
:“name”;s:8:“currency”;}}i:4;a:4:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:"=
size";s:15:",overdue_days";s:5:“label”;s:13:“Overdue after”;}s:1:“B”;a:4:=
{s:4:“type”;s:13:“select-number”;s:4:“size”;s:10:“Never,1,30”;s:4:“name”;s:=
12:“overdue_days”;s:4:“help”;s:64:“After how many days a not replied item s=
hould be marked overdue?”;}s:1:“C”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s=
:21:",pending_close_days";s:5:“label”;s:13:“Close pending”;}s:1:“D”;a:4:{=
s:4:“type”;s:13:“select-number”;s:4:“size”;s:10:“Never,1,30”;s:4:“name”;s:1=
8:“pending_close_days”;s:4:“help”;s:60:“After how many days pending items s=
hould be closed automatic”;}}i:5;a:4:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s=
:4:“span”;s:3:“all”;s:5:“label”;s:3:“ACL”;}s:1:“B”;a:1:{s:4:“type”;s:5:“lab=
el”;}s:1:“C”;a:1:{s:4:“type”;s:5:“label”;}s:1:“D”;a:1:{s:4:“type”;s:5:“labe=
l”;}}i:6;a:4:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:16:“Allow e=
diting by”;}s:1:“B”;a:8:{s:4:“type”;s:4:“grid”;s:4:“size”;s:17:“100%,230,=
,auto”;s:4:“span”;s:3:“all”;s:4:“data”;a:3:{i:0;a:2:{s:2:“c1”;s:2:“th”;s:2=
:“c2”;s:3:“row”;}i:1;a:8:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s=
:5:“Field”;}s:1:“B”;a:3:{s:4:“type”;s:5:“label”;s:5:“label”;s:14:“Tracker a=
dmins”;s:5:“align”;s:6:“center”;}s:1:“C”;a:3:{s:4:“type”;s:5:“label”;s:5:“l=
abel”;s:11:“Technicians”;s:5:“align”;s:6:“center”;}s:1:“D”;a:3:{s:4:“type”;=
s:5:“label”;s:5:“label”;s:19:“Non-anonymous users”;s:5:“align”;s:6:“center”=
;}s:1:“E”;a:3:{s:4:“type”;s:5:“label”;s:5:“label”;s:9:“Everybody”;s:5:“alig=
n”;s:6:“center”;}s:1:“F”;a:3:{s:4:“type”;s:5:“label”;s:5:“label”;s:12:“Item=
creator”;s:5:“align”;s:6:“center”;}s:1:“G”;a:3:{s:4:“type”;s:5:“label”;s:5=
:“label”;s:13:“Item assignee”;s:5:“align”;s:6:“center”;}s:1:“H”;a:3:{s:4:“t=
ype”;s:5:“label”;s:5:“label”;s:9:“New items”;s:5:“align”;s:6:“center”;}}i:2=
;a:8:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“name”;s:13:"${row}[label]";s=
:8:“readonly”;s:1:“1”;}s:1:“B”;a:3:{s:4:“type”;s:8:“checkbox”;s:5:“align”;s=
:6:“center”;s:4:“name”;s:21:"${row}[TRACKER_ADMIN]";}s:1:“C”;a:3:{s:4:“type=
”;s:8:“checkbox”;s:5:“align”;s:6:“center”;s:4:“name”;s:26:"${row}[TRACKER_T=
ECHNICIAN]";}s:1:“D”;a:3:{s:4:“type”;s:8:“checkbox”;s:5:“align”;s:6:“center=
”;s:4:“name”;s:20:"${row}[TRACKER_USER]";}s:1:“E”;a:3:{s:4:“type”;s:8:“chec=
kbox”;s:5:“align”;s:6:“center”;s:4:“name”;s:25:"${row}[TRACKER_EVERYBODY]";=
}s:1:“F”;a:3:{s:4:“type”;s:8:“checkbox”;s:5:“align”;s:6:“center”;s:4:“name”=
;s:28:"${row}[TRACKER_ITEM_CREATOR]";}s:1:“G”;a:3:{s:4:“type”;s:8:“checkbox=
”;s:5:“align”;s:6:“center”;s:4:“name”;s:29:"${row}[TRACKER_ITEM_ASSIGNEE]";=
}s:1:“H”;a:3:{s:4:“type”;s:8:“checkbox”;s:5:“align”;s:6:“center”;s:4:“name”=
;s:24:"${row}[TRACKER_ITEM_NEW]";}}}s:4:“rows”;i:2;s:4:“cols”;i:8;s:4:“name=
”;s:9:“field_acl”;s:7:“options”;a:3:{i:0;s:4:“100%”;i:1;s:3:“230”;i:6;s:4:"=
auto";}}s:1:“C”;a:1:{s:4:“type”;s:5:“label”;}s:1:“D”;a:1:{s:4:“type”;s:5:“l=
abel”;}}i:7;a:4:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:3:“all”;s=
:5:“label”;s:20:“E-Mail notifications”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”=
;}s:1:“C”;a:1:{s:4:“type”;s:5:“label”;}s:1:“D”;a:1:{s:4:“type”;s:5:“label”;=
}}i:8;a:4:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:22:",notifica=
tion_sender";s:5:“label”;s:14:“Sender address”;}s:1:“B”;a:4:{s:4:“type”;s:4=
:“text”;s:4:“size”;s:2:“30”;s:4:“name”;s:19:“notification_sender”;s:4:“help=
”;s:64:“Sender address for all notifications, eg. noreply@egroupware.org”;}=
s:1:“C”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:20:",notification_link";=
s:5:“label”;s:18:“URL of the tracker”;}s:1:“D”;a:4:{s:4:“type”;s:4:“text”;s=
:4:“size”;s:2:“30”;s:4:“name”;s:17:“notification_link”;s:4:“help”;s:107:“UR=
L to be included in the notification, eg. to the page with the SiteMgr modu=
le, default tracker inside eGW”;}}i:9;a:4:{s:1:“A”;a:2:{s:4:“type”;s:5:“lab=
el”;s:5:“label”;s:7:“Copy to”;}s:1:“B”;a:4:{s:4:“type”;s:4:“text”;s:4:“size=
”;s:2:“30”;s:4:“help”;s:74:“E-Mail address to which a copy of all tracker-n=
otifications should be send”;s:4:“name”;s:17:“notification_copy”;}s:1:“C”;a=
:4:{s:4:“type”;s:5:“label”;s:5:“label”;s:8:“Language”;s:7:“no_lang”;s:1:“1”=
;s:4:“size”;s:20:",notification_lang";}s:1:“D”;a:4:{s:4:“type”;s:6:“selec=
t”;s:4:“name”;s:17:“notification_lang”;s:4:“help”;s:21:“Language for the co=
py”;s:7:“no_lang”;s:1:“1”;}}}s:4:“rows”;i:9;s:4:“cols”;i:4;s:4:“size”;s:17:=
“100%,400,auto”;s:7:“options”;a:3:{i:0;s:4:“100%”;i:1;s:3:“400”;i:6;s:4=
:“auto”;}}}’,‘size’ =3D> ‘100%,400,auto’,‘style’ =3D> ‘’,‘modified’ =3D=

‘1155625003’,);
+$templ_data[] =3D array(‘name’ =3D> ‘tracker.admin.config’,‘template’ =3D>=
’’,‘lang’ =3D> ‘’,‘group’ =3D> ‘0’,‘version’ =3D> ‘0.1.002’,‘data’ =3D> ‘a=
:1:{i:0;a:6:{s:4:“type”;s:4:“grid”;s:4:“data”;a:10:{i:0;a:17:{s:2:“c2”;s:3:=
“row”;s:2:“c6”;s:7:“row,top”;s:2:“c7”;s:2:“th”;s:2:“c5”;s:2:“th”;s:1:“D”;s:=
3:“30%”;s:2:“c1”;s:2:“th”;s:2:“c8”;s:3:“row”;s:2:“c4”;s:3:“row”;s:1:“A”;s:3=
:“100”;s:2:“c9”;s:3:“row”;s:2:“c3”;s:3:“row”;s:2:“h1”;s:9:",@tracker";s:2:"=
h2";s:9:",@tracker";s:2:“h3”;s:9:",@tracker";s:2:“h4”;s:9:",@tracker";s:2:"=
h5";s:9:",@tracker";s:2:“h6”;s:9:",@tracker";}i:1;a:4:{s:1:“A”;a:3:{s:4:“ty=
pe”;s:5:“label”;s:4:“span”;s:3:“all”;s:5:“label”;s:30:“Configuration for al=
l trackers”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}s:1:“C”;a:1:{s:4:“type”;s=
:5:“label”;}s:1:“D”;a:1:{s:4:“type”;s:5:“label”;}}i:2;a:4:{s:1:“A”;a:3:{s:4=
:“type”;s:5:“label”;s:4:“size”;s:22:",allow_assing_groups";s:5:“label”;s:=
16:“Assigning groups”;}s:1:“B”;a:4:{s:4:“type”;s:6:“select”;s:4:“name”;s:19=
:“allow_assign_groups”;s:4:“help”;s:39:“Allow to assign groups to tracker i=
tems”;s:7:“no_lang”;s:1:“1”;}s:1:“C”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”=
;s:15:",allow_voting";s:5:“label”;s:12:“Allow voting”;}s:1:“D”;a:3:{s:4:"=
type";s:6:“select”;s:4:“name”;s:12:“allow_voting”;s:4:“help”;s:60:“Allow vo=
ting on tracker items, show and sort after the votes”;}}i:3;a:4:{s:1:“A”;a:=
3:{s:4:“type”;s:5:“label”;s:4:“size”;s:17:",allow_bounties";s:5:“label”;s=
:14:“Allow bounties”;}s:1:“B”;a:2:{s:4:“type”;s:6:“select”;s:4:“name”;s:14:=
“allow_bounties”;}s:1:“C”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:11:",c=
urrency";s:5:“label”;s:8:“Currency”;}s:1:“D”;a:2:{s:4:“type”;s:4:“text”;s:4=
:“name”;s:8:“currency”;}}i:4;a:4:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:"=
size";s:15:",overdue_days";s:5:“label”;s:13:“Overdue after”;}s:1:“B”;a:4:=
{s:4:“type”;s:13:“select-number”;s:4:“size”;s:10:“Never,1,30”;s:4:“name”;s:=
12:“overdue_days”;s:4:“help”;s:64:“After how many days a not replied item s=
hould be marked overdue?”;}s:1:“C”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s=
:21:",pending_close_days";s:5:“label”;s:13:“Close pending”;}s:1:“D”;a:4:{=
s:4:“type”;s:13:“select-number”;s:4:“size”;s:10:“Never,1,30”;s:4:“name”;s:1=
8:“pending_close_days”;s:4:“help”;s:60:“After how many days pending items s=
hould be closed automatic”;}}i:5;a:4:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s=
:4:“span”;s:3:“all”;s:5:“label”;s:3:“ACL”;}s:1:“B”;a:1:{s:4:“type”;s:5:“lab=
el”;}s:1:“C”;a:1:{s:4:“type”;s:5:“label”;}s:1:“D”;a:1:{s:4:“type”;s:5:“labe=
l”;}}i:6;a:4:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:16:“Allow e=
diting by”;}s:1:“B”;a:8:{s:4:“type”;s:4:“grid”;s:4:“size”;s:17:“100%,225,=
,auto”;s:4:“span”;s:3:“all”;s:4:“data”;a:3:{i:0;a:2:{s:2:“c1”;s:2:“th”;s:2=
:“c2”;s:3:“row”;}i:1;a:8:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s=
:5:“Field”;}s:1:“B”;a:3:{s:4:“type”;s:5:“label”;s:5:“label”;s:14:“Tracker a=
dmins”;s:5:“align”;s:6:“center”;}s:1:“C”;a:3:{s:4:“type”;s:5:“label”;s:5:“l=
abel”;s:11:“Technicians”;s:5:“align”;s:6:“center”;}s:1:“D”;a:3:{s:4:“type”;=
s:5:“label”;s:5:“label”;s:19:“Non-anonymous users”;s:5:“align”;s:6:“center”=
;}s:1:“E”;a:3:{s:4:“type”;s:5:“label”;s:5:“label”;s:9:“Everybody”;s:5:“alig=
n”;s:6:“center”;}s:1:“F”;a:3:{s:4:“type”;s:5:“label”;s:5:“label”;s:12:“Item=
creator”;s:5:“align”;s:6:“center”;}s:1:“G”;a:3:{s:4:“type”;s:5:“label”;s:5=
:“label”;s:13:“Item assignee”;s:5:“align”;s:6:“center”;}s:1:“H”;a:3:{s:4:“t=
ype”;s:5:“label”;s:5:“label”;s:9:“New items”;s:5:“align”;s:6:“center”;}}i:2=
;a:8:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“name”;s:13:"${row}[label]";s=
:8:“readonly”;s:1:“1”;}s:1:“B”;a:3:{s:4:“type”;s:8:“checkbox”;s:5:“align”;s=
:6:“center”;s:4:“name”;s:21:"${row}[TRACKER_ADMIN]";}s:1:“C”;a:3:{s:4:“type=
”;s:8:“checkbox”;s:5:“align”;s:6:“center”;s:4:“name”;s:26:"${row}[TRACKER_T=
ECHNICIAN]";}s:1:“D”;a:3:{s:4:“type”;s:8:“checkbox”;s:5:“align”;s:6:“center=
”;s:4:“name”;s:20:"${row}[TRACKER_USER]";}s:1:“E”;a:3:{s:4:“type”;s:8:“chec=
kbox”;s:5:“align”;s:6:“center”;s:4:“name”;s:25:"${row}[TRACKER_EVERYBODY]";=
}s:1:“F”;a:3:{s:4:“type”;s:8:“checkbox”;s:5:“align”;s:6:“center”;s:4:“name”=
;s:28:"${row}[TRACKER_ITEM_CREATOR]";}s:1:“G”;a:3:{s:4:“type”;s:8:“checkbox=
”;s:5:“align”;s:6:“center”;s:4:“name”;s:29:"${row}[TRACKER_ITEM_ASSIGNEE]";=
}s:1:“H”;a:3:{s:4:“type”;s:8:“checkbox”;s:5:“align”;s:6:“center”;s:4:“name”=
;s:24:"${row}[TRACKER_ITEM_NEW]";}}}s:4:“rows”;i:2;s:4:“cols”;i:8;s:4:“name=
”;s:9:“field_acl”;s:7:“options”;a:3:{i:0;s:4:“100%”;i:1;s:3:“225”;i:6;s:4:"=
auto";}}s:1:“C”;a:1:{s:4:“type”;s:5:“label”;}s:1:“D”;a:1:{s:4:“type”;s:5:“l=
abel”;}}i:7;a:4:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:3:“all”;s=
:5:“label”;s:20:“E-Mail notifications”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”=
;}s:1:“C”;a:1:{s:4:“type”;s:5:“label”;}s:1:“D”;a:1:{s:4:“type”;s:5:“label”;=
}}i:8;a:4:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:22:",notifica=
tion_sender";s:5:“label”;s:14:“Sender address”;}s:1:“B”;a:4:{s:4:“type”;s:4=
:“text”;s:4:“size”;s:2:“30”;s:4:“name”;s:20:“notification[sender]”;s:4:“hel=
p”;s:64:“Sender address for all notifications, eg. noreply@egroupware.org”;=
}s:1:“C”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:20:",notification_link"=
;s:5:“label”;s:18:“URL of the tracker”;}s:1:“D”;a:4:{s:4:“type”;s:4:“text”;=
s:4:“size”;s:2:“30”;s:4:“name”;s:18:“notification[link]”;s:4:“help”;s:107:"=
URL to be included in the notification, eg. to the page with the SiteMgr mo=
dule, default tracker inside eGW";}}i:9;a:4:{s:1:“A”;a:2:{s:4:“type”;s:5:“l=
abel”;s:5:“label”;s:7:“Copy to”;}s:1:“B”;a:4:{s:4:“type”;s:4:“text”;s:4:“si=
ze”;s:2:“30”;s:4:“help”;s:74:“E-Mail address to which a copy of all tracker=
-notifications should be send”;s:4:“name”;s:18:“notification[copy]”;}s:1:“C=
”;a:4:{s:4:“type”;s:5:“label”;s:5:“label”;s:8:“Language”;s:7:“no_lang”;s:1:=
“1”;s:4:“size”;s:20:",notification_lang";}s:1:“D”;a:4:{s:4:“type”;s:6:“se=
lect”;s:4:“name”;s:18:“notification[lang]”;s:4:“help”;s:21:“Language for th=
e copy”;s:7:“no_lang”;s:1:“1”;}}}s:4:“rows”;i:9;s:4:“cols”;i:4;s:4:“size”;s=
:17:“100%,400,auto”;s:7:“options”;a:3:{i:0;s:4:“100%”;i:1;s:3:“400”;i:6=
;s:4:“auto”;}}}’,‘size’ =3D> ‘100%,400,auto’,‘style’ =3D> ‘’,‘modified’=
=3D> ‘1155625003’,);
=

$templ_data[] =3D array(‘name’ =3D> ‘tracker.admin.staff’,‘template’ =3D> =
’’,‘lang’ =3D> ‘’,‘group’ =3D> ‘0’,‘version’ =3D> ‘0.1.002’,‘data’ =3D> ‘a:=
1:{i:0;a:6:{s:4:“type”;s:4:“grid”;s:4:“data”;a:2:{i:0;a:3:{s:1:“D”;s:3:“30%=
”;s:2:“c1”;s:7:“row,top”;s:1:“A”;s:3:“100”;}i:1;a:4:{s:1:“A”;a:3:{s:4:“type=
”;s:5:“label”;s:4:“size”;s:14:",technicians";s:5:“label”;s:11:“Technician=
s”;}s:1:“B”;a:3:{s:4:“type”;s:14:“select-account”;s:4:“name”;s:11:“technici=
ans”;s:4:“size”;s:7:“28,both”;}s:1:“C”;a:2:{s:4:“type”;s:5:“label”;s:5:“lab=
el”;s:14:“Tracker admins”;}s:1:“D”;a:3:{s:4:“type”;s:14:“select-account”;s:=
4:“size”;s:7:“28,both”;s:4:“name”;s:6:“admins”;}}}s:4:“rows”;i:1;s:4:“cols”=
;i:4;s:4:“size”;s:17:“100%,400,auto”;s:7:“options”;a:3:{i:0;s:4:“100%”;=
i:1;s:3:“400”;i:6;s:4:“auto”;}}}’,‘size’ =3D> ‘100%,400,auto’,‘style’ =
=3D> ‘’,‘modified’ =3D> ‘1155624996’,);

Modified: trunk/tracker/templates/default/admin.xet
URL: http://www.egroupware.org/viewvc/trunk/tracker/templates/default/admin=
.xet?rev=3D22447&r1=3D22446&r2=3D22447&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
— trunk/tracker/templates/default/admin.xet (original)
+++ trunk/tracker/templates/default/admin.xet Sun Sep 17 09:52:48 2006
@@ -105,10 +105,10 @@
<column width=3D"30%"/>

  •   		<row class=3D"th">
    
  •   		<row class=3D"th" disabled=3D"@tracker">
      			<description span=3D"all" value=3D"Configuration for all trackers"/>
      		</row>
    
  •   		<row class=3D"row">
    
  •   		<row class=3D"row" disabled=3D"@tracker">
      			<description options=3D",,,allow_assing_groups" value=3D"Assigning gr=
    

oups"/>

<menupopup id=3D"allow_assign_groups" statustext=3D"Allow to assign =
groups to tracker items" no_lang=3D"1"/>
@@ -118,7 +118,7 @@
<menupopup id=3D"allow_voting" statustext=3D"Allow voting on tracker=
items, show and sort after the votes"/>

  •   		<row class=3D"row">
    
  •   		<row class=3D"row" disabled=3D"@tracker">
      			<description options=3D",,,allow_bounties" value=3D"Allow bounties"/>
      			<menulist>
      				<menupopup id=3D"allow_bounties"/>
    

@@ -126,7 +126,7 @@
<description options=3D",currency" value=3D"Currency"/>
<textbox id=3D"currency"/>

  •   		<row class=3D"row">
    
  •   		<row class=3D"row" disabled=3D"@tracker">
      			<description options=3D",,,overdue_days" value=3D"Overdue after"/>
      			<menulist>
      				<menupopup type=3D"select-number" options=3D"Never,1,30" id=3D"overd=
    

ue_days" statustext=3D"After how many days a not replied item should be mar=
ked overdue?"/>
@@ -136,12 +136,12 @@
<menupopup type=3D"select-number" options=3D"Never,1,30" id=3D"pendi=
ng_close_days" statustext=3D"After how many days pending items should be cl=
osed automatic"/>

  •   		<row class=3D"th">
    
  •   		<row class=3D"th" disabled=3D"@tracker">
      			<description span=3D"all" value=3D"ACL"/>
      		</row>
    
  •   		<row class=3D"row" valign=3D"top">
    
  •   		<row class=3D"row" valign=3D"top" disabled=3D"@tracker">
      			<description value=3D"Allow editing by"/>
    
  •   			<grid width=3D"100%" height=3D"230" overflow=3D"auto">
    
  •   			<grid width=3D"100%" height=3D"225" overflow=3D"auto">
      				<columns>
      					<column/>
      					<column/>
    

@@ -181,16 +181,16 @@

<row class=3D"row">
<description options=3D",notification_sender" value=3D"Sender addre=
ss"/>

  •   			<textbox size=3D"30" id=3D"notification_sender" statustext=3D"Sender =
    

address for all notifications, eg. noreply@egroupware.org"/>

  •   			<textbox size=3D"30" id=3D"notification[sender]" statustext=3D"Sender=
    

address for all notifications, eg. noreply@egroupware.org"/>
<description options=3D",notification_link" value=3D"URL of the tra=
cker"/>

  •   			<textbox size=3D"30" id=3D"notification_link" statustext=3D"URL to be=
    

included in the notification, eg. to the page with the SiteMgr module, def=
ault tracker inside eGW"/>

  •   			<textbox size=3D"30" id=3D"notification[link]" statustext=3D"URL to b=
    

e included in the notification, eg. to the page with the SiteMgr module, de=
fault tracker inside eGW"/>

<row class=3D"row">
<description value=3D"Copy to"/>

  •   			<textbox size=3D"30" statustext=3D"E-Mail address to which a copy of =
    

all tracker-notifications should be send" id=3D"notification_copy"/>

  •   			<textbox size=3D"30" statustext=3D"E-Mail address to which a copy of =
    

all tracker-notifications should be send" id=3D"notification[copy]"/>
<description value=3D"Language" no_lang=3D"1" options=3D",notificat=
ion_lang"/>

  •   				<menupopup id=3D"notification_lang" statustext=3D"Language for the c=
    

opy" no_lang=3D"1"/>

  •   				<menupopup id=3D"notification[lang]" statustext=3D"Language for the =
    

copy" no_lang=3D"1"/>



@@ -211,7 +211,7 @@


<description options=3D",tracker" value=3D"Tracker" class=3D"bold"/>

  •   			<menulist span=3D",bold">
    
  •   			<menulist class=3D"bold">
      				<menupopup options=3D"All" id=3D"tracker" no_lang=3D"1" onchange=3D"=
    

1"/>

<hbox align=3D"right">


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs