Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
e75c70ae
Commit
e75c70ae
authored
Dec 12, 2007
by
Richard Mansfield
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Confirmation before removing an institution from the edit user page
parent
a51e7b1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
htdocs/admin/users/edit.php
htdocs/admin/users/edit.php
+2
-0
htdocs/lang/en.utf8/admin.php
htdocs/lang/en.utf8/admin.php
+1
-0
No files found.
htdocs/admin/users/edit.php
View file @
e75c70ae
...
...
@@ -26,6 +26,7 @@
define
(
'INTERNAL'
,
1
);
define
(
'INSTITUTIONALADMIN'
,
1
);
define
(
'MENUITEM'
,
'configusers/usersearch'
);
require
(
dirname
(
dirname
(
dirname
(
__FILE__
)))
.
'/init.php'
);
define
(
'TITLE'
,
get_string
(
'accountsettings'
,
'admin'
));
define
(
'SECTION_PLUGINTYPE'
,
'core'
);
...
...
@@ -252,6 +253,7 @@ foreach ($user->get('institutions') as $i) {
$elements
[
$i
->
institution
.
'_remove'
]
=
array
(
'type'
=>
'submit'
,
'value'
=>
get_string
(
'remove'
),
'confirm'
=>
get_string
(
'confirmremoveuserfrominstitution'
,
'admin'
),
);
}
...
...
htdocs/lang/en.utf8/admin.php
View file @
e75c70ae
...
...
@@ -262,6 +262,7 @@ $string['unsuspenduser'] = 'Unsuspend User';
$string
[
'thisuserissuspended'
]
=
'This user has been suspended'
;
$string
[
'suspendedby'
]
=
'This user has been suspended by %s'
;
$string
[
'filequota'
]
=
'File quota (MB)'
;
$string
[
'confirmremoveuserfrominstitution'
]
=
'Are you sure you want to remove the user from this institution?'
;
// Institutions
$string
[
'admininstitutions'
]
=
'Admininster Institutions'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment