Author: ralfbecker
New Revision: 55814
URL: http://svn.stylite.de/viewvc/egroupware?rev=55814&view=rev
Log:
use new et2 config
Added:
trunk/timesheet/templates/default/config.xet (with props)
Removed:
trunk/timesheet/templates/default/config.tpl
Modified:
trunk/timesheet/inc/class.timesheet_hooks.inc.php
— trunk/timesheet/inc/class.timesheet_hooks.inc.php (original)
+++ trunk/timesheet/inc/class.timesheet_hooks.inc.php Sun Apr 24 15:48:45 2016
@@ -5,7 +5,7 @@
-
-
unset($location); // not used, but required by function signature
-
return array(
'query' => TIMESHEET_APP.'.timesheet_bo.link_query',
'title' => TIMESHEET_APP.'.timesheet_bo.link_title',
@@ -123,7 +125,7 @@
if ($GLOBALS[‘egw_info’][‘user’][‘apps’][‘admin’])
{
$file = Array(
-
'Site Configuration' => egw::link('/index.php','menuaction=admin.admin_config.index&appname=' . $appname,'&ajax=true'),
'Custom fields' => egw::link('/index.php','menuaction=admin.customfields.index&appname='.$appname.'&use_private=1'),
'Global Categories' => egw::link('/index.php',array(
'menuaction' => 'admin.admin_categories.index',
@@ -209,10 +211,11 @@
}
catch (Exception $e)
{
@@ -242,6 +245,8 @@
*/
public static function acl_rights($params)
{
-
unset($params); // not used, but required by function signature
-
return array(
acl::READ => 'read',
acl::EDIT => 'edit',
@@ -257,6 +262,8 @@
*/
public static function categories($data)
{
— trunk/timesheet/templates/default/config.xet (added)
+++ trunk/timesheet/templates/default/config.xet Sun Apr 24 15:48:45 2016
@@ -1,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
-
-
<grid width="100%" class="admin-config egwGridView_grid">
-
<columns>
-
<column width="60%"/>
-
<column/>
-
</columns>
-
<rows>
-
<row>
-
<description value="ProjectManager integration" label="%s:"/>
-
<select id="newsettings[pm_integration]">
-
<option value="">Both: allow to use ProjectManager and free project-names</option>
-
<option value="none">None: use only free project-names</option>
-
<option value="full">Full: use only ProjectManager</option>
-
</select>
-
</row>
-
<row>
-
<description value="Mode" label="%s:"/>
-
<select id="newsettings[ts_viewtype]">
-
<option value="normal">Regular</option>
-
<option value="short">Simple</option>
-
</select>
-
</row>
-
<row>
-
<description value="Show a quantity sum (eg. to sum up negative overtime)" label="%s:"/>
-
<select id="newsettings[quantity_sum]">
-
<option value="">No</option>
-
<option value="true">Yes</option>
-
</select>
-
</row>
-
<row>
-
<description value="History logging" span="all" class="subHeader"/>
-
</row>
-
<row>
-
<description value="Prevent deleting"/>
-
<select id="newsettings[history]">
-
<option value="">No</option>
-
<option value="history">Yes, only admins can purge deleted items</option>
-
<option value="userpurge">Yes, users can purge their deleted items</option>
-
</select>
-
</row>
-
</rows>
-
</grid>
-
+
Propchange: trunk/timesheet/templates/default/config.xet
svn:eol-style = native
Propchange: trunk/timesheet/templates/default/config.xet
svn:keywords = Author Date Id Rev URL
Propchange: trunk/timesheet/templates/default/config.xet
svn:mime-type = text/xml
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs