Commit Graph

75 Commits

Author SHA1 Message Date
Ralf Becker
20193e6418 more changes etemplate_old --> etemplate, maybe better not started that ;-) 2014-03-23 09:34:18 +00:00
Hadi Nategh
7f222b165d Remove "BLACK DIAMOND SUIT" character from global categories 2014-02-03 09:19:59 +00:00
Ralf Becker
b42b0a9e21 new option to to show only enabled apps (ones which users can get run-rights for) in select-apps 2013-08-28 10:07:24 +00:00
Nathan Gray
ad6cb824ec Add ACL check to read-only category selection and nextmatch row color 2013-03-04 16:40:25 +00:00
Klaus Leithoff
435f726bf9 select priority should map 0 to None, not empty 2013-01-31 14:13:45 +00:00
Nathan Gray
bc275bef41 Remove accidentally committed debug 2012-11-12 19:32:35 +00:00
Nathan Gray
f72a582532 Use chosen plugin for to get fancy selectboxes. Selectboxes with more than 12 options get it turned on automatically 2012-11-12 19:29:23 +00:00
Nathan Gray
0cfed6ba11 Allow 2 digits with leading 0 when increment >= 10 2012-04-12 22:04:51 +00:00
Nathan Gray
2d6569414b - Allow adding a child category to a restricted category
- Show filter for application global categories
2012-04-02 16:29:13 +00:00
Ralf Becker
4a08f033e7 renamed etemplate to etemplate_old and etemplate_new to etemplate, thought new etemplate is still disabled in etemplate/inc/class.etemplate.inc.php line 38 2012-03-27 15:45:31 +00:00
Ralf Becker
3819816248 * Calendar: fixed various issues with history in calendar: id display, unecessary stuff loged, ... 2011-08-04 14:00:15 +00:00
Ralf Becker
c1718a29ad for readonly version we only need to fetch given timezone, automatic conversion from id 2011-08-04 11:04:19 +00:00
Klaus Leithoff
88c088eb86 fix warning ->missing argument 1 for select_widget<- : make the parameter optional by assigning a default value 2011-07-26 07:43:53 +00:00
Nathan Gray
426dff7f9c If value is something that evaluates to false, display nothing ('') 2011-06-27 22:14:44 +00:00
Nathan Gray
99df873aa3 - Add setting to select-cat to display missing IDs as Missing: #
- Use select-cat setting in historylog widget to display something for deleted categories
2011-02-18 18:27:01 +00:00
Nathan Gray
1ef649b869 Fix for display of multi-row read-only select-account widget 2011-02-16 18:22:42 +00:00
Christian Binder
b6b7e7bd84 moved erole widget from global class to app-specific class 2011-01-22 17:02:31 +00:00
Christian Binder
0670e247e9 changed retrieving of pm_id and pe_id to etemplate_request::read() (thanks Ralf) - added tiny method to check for global eroles - prevent displaying global eroles in etemplate editor 2011-01-19 16:36:13 +00:00
Nathan Gray
5301af7a82 Use custom label as label, if it's not just a number 2011-01-18 15:55:42 +00:00
Christian Binder
b80eaab81f initial implementation of merge class and element roles for projectmanager - projectmanager fields are not yet supported but will be implemented later. This feature is sponsored by www.inspectionsunlimited.com. 2011-01-08 16:04:44 +00:00
Nathan Gray
9f6c1c1994 Add a parameter to allow an extra 'Custom' country option when using 2 letter codes 2010-09-28 20:53:00 +00:00
Ralf Becker
958452ff95 Implementation of global categories limited to a certain group:
- from user perspectiv they are global cat like the existing ones
  (also comming in two flavors: global or for a certain app)
- admins can select to limit a global cat when they create it
--> all members of a given group have the cat as a global one
==> This does a silent modification of the categories table: 
global cats get changed from cat_owner=-1 to cat_owner=0 !!!
2010-01-31 03:36:01 +00:00
Ralf Becker
25c29211f5 adapting for changed categories class 2010-01-30 23:54:08 +00:00
Ralf Becker
3ce3cde916 fixed in wrong order displayed sub-categories 2010-01-13 06:31:52 +00:00
Ralf Becker
0a4c2614a5 - moved user timezone list to egw_time
- added standard widget to select timezones
- modified egw_time::server2user and ::user2server to return NULL, if
  time can not be parsed, not throwing an exception (as this are legacy
  function meant to easy convert existing code, eg. replace strtotime())
2009-11-01 12:48:25 +00:00
Ralf Becker
a81fb02efe "\"needed\" attribute got lost for \"select-account\" widget" 2009-10-01 14:08:15 +00:00
Ralf Becker
90cba9cb0e added select-bool widget with options 0 => 'no',1 => 'yes'
--> can be used with nextmatch custom filter to filter by a boolean
column
2009-09-28 12:51:18 +00:00
Ralf Becker
fe03b91b54 "- 5th option for select-cat: parent category
- adding category desciption (if available) as option title"
2009-05-14 08:02:56 +00:00
Ralf Becker
486a32e86d Refractured eTemplate to use:
- the etemplate_request object which stores the request data in the
  a) session (as before) or
  b) compressed and encrypted in the form transmitted to the user
  Benefit of b) is that the session does not grow and the form can
  be submitted as long as the session exists, as we need no garbadge
  collection. Of cause more data needs to be submitt between
  browser and webserver. b) is choosen automatic if mcrypt and
  gzcompress are available, but can be turned off via setting
  etemplate_request::$request_class = 'etemplate_request_session';
- static class variables instead of the before used global ones
--> This new version of eTemplate is fully backward compatible with 1.6!
2009-03-16 12:58:24 +00:00
Ralf Becker
5fd2d8def8 removed unnecessary instancations and using static methods of html and egw_link class 2008-03-25 16:42:23 +00:00
Ralf Becker
18790b1362 ability to specifiy a suffix for select-numbers, to eg. add "h" to the label of each option 2007-12-16 23:13:32 +00:00
Ralf Becker
c0159b5466 "ability to specify account to not show in the select-account widget" 2007-10-19 05:37:23 +00:00
Ralf Becker
fbeb8318d7 remove not (longer) existing or inaccessible cats 2007-07-23 09:02:51 +00:00
Ralf Becker
2224267a7e "fixed infinit loop in the select-number widget, if start and end value are identical, also fixing the code with should protect from showing more then 100 items in the selectbox" 2007-07-05 07:48:56 +00:00
Ralf Becker
2ed91ce075 fix for bug #674: no more simple multiple participant selection 2007-05-07 19:03:33 +00:00
Ralf Becker
a95813bd5d "fix for bug #385: Problem with HTML specialchars in addressbook" 2007-04-06 12:11:21 +00:00
Ralf Becker
6bd5ac2da8 users can now switch every single column on or off in all nextmatch lists, admins can configure defaults (plus some bugfixes and other improvments) 2007-03-07 12:30:17 +00:00
Cornelius Weiß
be0bce8b40 add types passwd and select-lang 2006-12-06 20:09:22 +00:00
Ralf Becker
8c6cb48d85 fix for bug #87: Infolog - Addressbook categories mixed in 1.2.x
The select_widget allways used the cats of the current application. That's still the default, but it can be overwritten now via an option. The nextmatch_widget has now and optional parameter 'cat_app', which defaults to the app of the get_rows method.
2006-12-04 14:39:22 +00:00
Ralf Becker
fa3a9da379 enhanced the select-widget to preserv cats added to an entry, which are unavailible for the current user (eg. because they are private cats of an other user or user-cats added the an address in the group-addressbook) 2006-11-03 10:56:40 +00:00
Ralf Becker
03630766ad show readonly cats without indention and global cat marker 2006-09-20 13:32:47 +00:00
Ralf Becker
0d0c9df4db some etemplate fixes:
- date-widget does no longer set extension-data if readonly (not used and can conflict with other widgets using the same name, as it was the problem in PM)
- select-widget: fix for "can not unselect the last category"
- red error-messages have now a "white-space: nowrap" for nice formatting
- confirm-message did not quote single quotes (') correct, which caused the complete confirm dialog to fail and allways execute the button
- readonly textarea's without column and row specification are rendered now as <pre></pre> to only take space needed
2006-08-12 06:14:28 +00:00
Ralf Becker
f0ee41230d - use country-class instead of sbox-class for country-names
- moved US state name to country class
- new param for select-country to optionaly use the country-name instead of the county-code
2006-07-06 22:55:30 +00:00
Ralf Becker
12e821b883 fixed date-widget for 12h timeformat:
- replaced extra am/pm radio buttons with single selectbox with times includeing am/pm (works much better with the existing layouts)
- fixed wired 12h clock: 12am,1am-11am,12pm,1pm-11pm (0-23h)
- added an select-hour widget to the select-widgets for the above
2006-06-22 16:14:08 +00:00
Cornelius Weiß
69aa6abdec update docu to better run trough phpdocumentor 2006-04-20 17:12:30 +00:00
Ralf Becker
9a6649a931 - fixed not working buttons in nextmatch-list, if pressed before direct after login
- improved printing:
  + disabled unnecessary UI-elements in nextmatch
  + nextmatch has now selection for the number of rows to display
  + nextmatch-filters (selectboxes) are now printed as text
2006-03-26 22:17:55 +00:00
Ralf Becker
a615cada89 added ability to specify some extra styles for the multiselectbox with checkboxes 2006-03-20 21:51:55 +00:00
Cornelius Weiß
300b9b1070 addressbook extension:
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Ralf Becker
090dc5c1da shorten the category names, by not appending <Global [App]> anymore, instead we use a symbol (diamond) to indicate a non-user cat 2005-11-11 23:05:35 +00:00
Ralf Becker
7a4a18ec0a phpgw --> egw
from this revision eTemplate requires a 1.0.1/1.2 API, the last working version for 1.0.0 has been taged "last_working_1_0_0"
2005-11-09 20:50:45 +00:00