Commit Graph

55 Commits

Author SHA1 Message Date
Ralf Becker
43e1bfcc12 switching on Content-Security-Policy: script-src 'self' 'unsafe-eval' for all templates, old non-et2 apps can call egw_framework::csp_script_src_attrs('unsafe-inline') to enable inline scripts in their scope, et2 does it for CK editor which does not support CSP currently and old etemplate does it for all apps using it 2013-10-05 13:33:28 +00:00
Nathan Gray
afa7a73f0a Fix chosen sizes using new width attribute for account multi-select 2013-07-26 15:08:17 +00:00
Ralf Becker
792f1b26cc replacing egw.LAB with egw_LAB, as egw object is shared by all iframes and popups, while LAB has to work on document 2013-07-17 12:47:21 +00:00
Ralf Becker
4850efed1e fix js error, when chosen is not loaded, eg. on admin >> manage accounts 2013-07-02 12:37:01 +00:00
Nathan Gray
a20f7651a0 Wrap some more js 2013-04-01 22:19:10 +00:00
Nathan Gray
732351a539 Remove debug logging 2013-03-20 16:43:07 +00:00
Ralf Becker
2841317b08 * all apps: exclude expired or deactivated accounts from all lists and selections (beside admin app to be able to activate them again) 2013-01-25 13:21:31 +00:00
Nathan Gray
b83a19284a UI changes for chosen selectboxes 2012-11-14 20:33:33 +00:00
Nathan Gray
8b55a21206 More changes to use chosen for fancy selectboxes - apply to egw multi-select and select user too 2012-11-13 22:14:00 +00:00
Ralf Becker
40e7908231 * API/all apps: fixed account-selection popup started with all users, not primary group, also displaying shown group in bold 2012-09-04 14:08:09 +00:00
Ralf Becker
188e2f8038 cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 09:02:50 +00:00
Ralf Becker
f62b4784a0 * API: fix account-selection-method "selectbox" containing selected account double (eg. in Admin >> Manage groups) 2012-03-21 09:24:04 +00:00
Ralf Becker
1c52c64ba2 for account-selection method "selectbox", make sure everything in $selected gets an option, as for the other methods 2012-01-09 21:24:44 +00:00
Ralf Becker
c1f61c914b switch off permanent error_log 2012-01-07 23:05:31 +00:00
Ralf Becker
92dc786ebc * Calendar: showing now all open calendars in the owner-selection, not just accounts. Allows to close them from all views 2012-01-07 22:21:48 +00:00
Nathan Gray
17f00ad134 Escape quotes in user names 2011-03-09 18:45:08 +00:00
Ralf Becker
91c6d84af5 fixed not working alternating nextmatch colors of groups in account selection popup 2010-11-02 13:26:51 +00:00
Ralf Becker
b68c4c1a89 fixed wired sorting (no sorting) of groups in account selection popup 2010-11-02 13:03:01 +00:00
Hans-Jürgen Tappe
86a32e2f8b Tracker #2184. Add "select all" in the account selection popup. 2010-07-31 08:07:21 +00:00
Ralf Becker
e417b6305b - using egw::link(...,false) for no egw_link_hander
- calling static methods static
2010-06-09 07:26:39 +00:00
Ralf Becker
01e2e1fa72 "removed extension of the accounts class, which is not used since r24948" 2009-03-13 12:55:40 +00:00
Ralf Becker
0c37486b65 "static html methods and other modernisations" 2008-03-25 16:58:50 +00:00
Lars Kneschke
252f2a964b use the global instance of the accountsClass and create a own connection to the accounts backend 2008-02-08 11:21:32 +00:00
Ralf Becker
23b75e9e91 "bugfix: removed accidently (not working) added search for groups" 2007-05-27 06:26:17 +00:00
Ralf Becker
8ac09e8dba fix for bug #674: no more simple multiple participant selection 2007-05-07 18:59:05 +00:00
Ralf Becker
359eb4b9ea "small docu update" 2007-05-07 15:01:48 +00:00
Ralf Becker
c160fdec74 "bugfix: primary-group of current user was read from not always set $GLOBALS['egw']->accounts->data, instead just from $GLOBALS['egw_info']['user']" 2007-04-26 11:52:47 +00:00
Ralf Becker
20b4f9b77d "fixing an old php5 fix, which caused extra-labels to have key 0 instead of '', which caused eg. InfoLog to require two clicks to close an entry (only after called the first time after login)" 2007-04-26 07:34:27 +00:00
Ralf Becker
2bbebeeb50 allow to also specify an extra, first label, if an array with grants is given 2006-09-25 08:48:19 +00:00
Ralf Becker
8fd0640039 Two new options for the account-selection:
- Selectbox with groupmembers (only)
- No user-selection at all
These two options limit the visibility of other users. There for they should be forced and apply NOT to administrators.
2006-08-22 16:50:19 +00:00
Ralf Becker
ceb34ebfee set multiselectbox size=4, as some browsers dont show scrollbars if its under 4 2006-03-09 18:21:22 +00:00
Ralf Becker
a4b67d9f2b UUPS javascript ;-) 2005-10-24 12:17:31 +00:00
Ralf Becker
38577905fb 1) fixed obscur IE 5.5/6 bug that caused the search button (user image) not to be displayed if its a link with an image => input type="image"
2) phpgw --> egw
2005-10-24 10:30:29 +00:00
Ralf Becker
a3fb79a6a4 fixing the fix ;-) now it's working in php4 + 5 2005-05-30 14:18:23 +00:00
Ralf Becker
5d763bd11e corrected a "funny" php5 behavior 2005-05-20 11:24:54 +00:00
viniciuscb
08377c2a40 Change in selection() method to allow non-html return 2004-11-26 13:14:19 +00:00
bgigon
c8b891cb96 Fix display bug
(Omar Boumeddane)
2004-09-28 12:27:59 +00:00
Ralf Becker
c69e9cd32e implemented a one-click (tm) change between single and multiple account-selection for the calendar 2004-08-29 20:32:56 +00:00
bgigon
fcd6d6a807 Add features translations for templates 2004-07-12 10:49:35 +00:00
Ralf Becker
c8b165acae fixed typo 2004-07-10 07:50:16 +00:00
Ralf Becker
3a14a39902 reverted rev. 1.13 changes (primary group not preselected) and fixed bug which caused groups with no app-permission to to be displayed if the selection requires app-permission 2004-07-08 09:58:11 +00:00
bgigon
d0387ffc5e Fix little bug in links (keep query) 2004-07-06 11:58:12 +00:00
bgigon
554a213fe3 Add a protection against overload when we launch for first time the account-page-selection. 2004-07-06 11:48:09 +00:00
bgigon
9d3eac79ed Add more translation (lang_lastname and lang_firstname) 2004-07-06 11:34:49 +00:00
bgigon
9666206080 Fixbug for Arrow "next" / "prev" 2004-07-06 10:11:46 +00:00
bgigon
4681236b1d Keep prev query 2004-07-06 09:16:28 +00:00
Ralf Becker
e7917423a5 added extra label and fixed group-selection 2004-07-04 17:28:57 +00:00
Ralf Becker
5a1be7c203 - if $selected is a string it gets now explode with ','
- already selected accounts are shown in front of users and groups, good for multiselections with less lines then content
2004-06-28 09:32:47 +00:00
Ralf Becker
a1921aed2e - moved the whole selection code from uiaccountsel::popup to accounts::select
- extended syntax for uiaccountsel::selection to specify what you need (no longer hardcode of certain apps)
2004-06-16 00:31:48 +00:00
Ralf Becker
8d833331ff some UI fixes for bigger groups 2004-06-14 07:03:05 +00:00