Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
d0673575
Commit
d0673575
authored
Sep 16, 2015
by
Jen Zajac
Committed by
Robert Lyon
Sep 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace btn-success with btn-primary throughout
behatnotneeded Bug #1465107 Change-Id: I27492cbc38416fd4790e1e62ec8090c19602d171
parent
2fbf84c6
Changes
100
Hide whitespace changes
Inline
Side-by-side
Showing
75 changed files
with
82 additions
and
82 deletions
+82
-82
htdocs/account/activity/index.php
htdocs/account/activity/index.php
+1
-1
htdocs/account/activity/preferences/index.php
htdocs/account/activity/preferences/index.php
+1
-1
htdocs/account/index.php
htdocs/account/index.php
+1
-1
htdocs/account/institutions.php
htdocs/account/institutions.php
+1
-1
htdocs/admin/extensions/filter.php
htdocs/admin/extensions/filter.php
+1
-1
htdocs/admin/extensions/iframesites.php
htdocs/admin/extensions/iframesites.php
+1
-1
htdocs/admin/extensions/pluginconfig.php
htdocs/admin/extensions/pluginconfig.php
+1
-1
htdocs/admin/groups/groupcategories.php
htdocs/admin/groups/groupcategories.php
+1
-1
htdocs/admin/groups/manage.php
htdocs/admin/groups/manage.php
+1
-1
htdocs/admin/groups/uploadcsv.php
htdocs/admin/groups/uploadcsv.php
+1
-1
htdocs/admin/groups/uploadmemberscsv.php
htdocs/admin/groups/uploadmemberscsv.php
+1
-1
htdocs/admin/index.php
htdocs/admin/index.php
+1
-1
htdocs/admin/site/cookieconsent.php
htdocs/admin/site/cookieconsent.php
+1
-1
htdocs/admin/site/font/delete.php
htdocs/admin/site/font/delete.php
+1
-1
htdocs/admin/site/font/install.php
htdocs/admin/site/font/install.php
+1
-1
htdocs/admin/site/font/installgwf.php
htdocs/admin/site/font/installgwf.php
+1
-1
htdocs/admin/site/license-edit.php
htdocs/admin/site/license-edit.php
+1
-1
htdocs/admin/site/menu.php
htdocs/admin/site/menu.php
+1
-1
htdocs/admin/site/networking.php
htdocs/admin/site/networking.php
+2
-2
htdocs/admin/site/options.php
htdocs/admin/site/options.php
+1
-1
htdocs/admin/site/pages.php
htdocs/admin/site/pages.php
+1
-1
htdocs/admin/users/add.php
htdocs/admin/users/add.php
+1
-1
htdocs/admin/users/addauthority.php
htdocs/admin/users/addauthority.php
+1
-1
htdocs/admin/users/admins.php
htdocs/admin/users/admins.php
+1
-1
htdocs/admin/users/changeuser.php
htdocs/admin/users/changeuser.php
+1
-1
htdocs/admin/users/edit.php
htdocs/admin/users/edit.php
+3
-3
htdocs/admin/users/institutionadmins.php
htdocs/admin/users/institutionadmins.php
+1
-1
htdocs/admin/users/institutionpages.php
htdocs/admin/users/institutionpages.php
+1
-1
htdocs/admin/users/institutions.php
htdocs/admin/users/institutions.php
+1
-1
htdocs/admin/users/institutionstaff.php
htdocs/admin/users/institutionstaff.php
+1
-1
htdocs/admin/users/institutionusers.php
htdocs/admin/users/institutionusers.php
+1
-1
htdocs/admin/users/progressbar.php
htdocs/admin/users/progressbar.php
+1
-1
htdocs/admin/users/staff.php
htdocs/admin/users/staff.php
+1
-1
htdocs/admin/users/uploadcsv.php
htdocs/admin/users/uploadcsv.php
+1
-1
htdocs/artefact/annotation/edit.php
htdocs/artefact/annotation/edit.php
+1
-1
htdocs/artefact/blog/new/index.php
htdocs/artefact/blog/new/index.php
+1
-1
htdocs/artefact/blog/post.php
htdocs/artefact/blog/post.php
+1
-1
htdocs/artefact/blog/settings/index.php
htdocs/artefact/blog/settings/index.php
+1
-1
htdocs/artefact/comment/edit.php
htdocs/artefact/comment/edit.php
+1
-1
htdocs/artefact/file/extract.php
htdocs/artefact/file/extract.php
+1
-1
htdocs/artefact/file/profileicons.php
htdocs/artefact/file/profileicons.php
+1
-1
htdocs/artefact/internal/editnote.php
htdocs/artefact/internal/editnote.php
+1
-1
htdocs/artefact/internal/index.php
htdocs/artefact/internal/index.php
+1
-1
htdocs/artefact/internal/socialprofile.php
htdocs/artefact/internal/socialprofile.php
+1
-1
htdocs/artefact/plans/lib.php
htdocs/artefact/plans/lib.php
+2
-2
htdocs/artefact/resume/editcomposite.php
htdocs/artefact/resume/editcomposite.php
+1
-1
htdocs/artefact/resume/editgoalsandskills.php
htdocs/artefact/resume/editgoalsandskills.php
+1
-1
htdocs/artefact/resume/index.php
htdocs/artefact/resume/index.php
+1
-1
htdocs/artefact/resume/lib.php
htdocs/artefact/resume/lib.php
+3
-3
htdocs/artefact/resume/license.php
htdocs/artefact/resume/license.php
+1
-1
htdocs/auth/browserid/lib.php
htdocs/auth/browserid/lib.php
+1
-1
htdocs/auth/lib.php
htdocs/auth/lib.php
+2
-2
htdocs/auth/saml/index.php
htdocs/auth/saml/index.php
+1
-1
htdocs/auth/saml/lib.php
htdocs/auth/saml/lib.php
+1
-1
htdocs/collection/edit.php
htdocs/collection/edit.php
+1
-1
htdocs/contact.php
htdocs/contact.php
+1
-1
htdocs/edittags.php
htdocs/edittags.php
+1
-1
htdocs/export/index.php
htdocs/export/index.php
+1
-1
htdocs/group/changerole.php
htdocs/group/changerole.php
+1
-1
htdocs/group/edit.php
htdocs/group/edit.php
+1
-1
htdocs/group/inviteusers.php
htdocs/group/inviteusers.php
+1
-1
htdocs/group/leave.php
htdocs/group/leave.php
+1
-1
htdocs/group/requestjoin.php
htdocs/group/requestjoin.php
+1
-1
htdocs/import/index.php
htdocs/import/index.php
+1
-1
htdocs/interaction/delete.php
htdocs/interaction/delete.php
+1
-1
htdocs/interaction/edit.php
htdocs/interaction/edit.php
+1
-1
htdocs/interaction/forum/deletepost.php
htdocs/interaction/forum/deletepost.php
+1
-1
htdocs/interaction/forum/editpost.php
htdocs/interaction/forum/editpost.php
+1
-1
htdocs/interaction/forum/edittopic.php
htdocs/interaction/forum/edittopic.php
+1
-1
htdocs/interaction/forum/reportpost.php
htdocs/interaction/forum/reportpost.php
+1
-1
htdocs/js/mahara.js
htdocs/js/mahara.js
+1
-1
htdocs/lang/en.utf8/help/forms/accountprefs.addremovecolumns.html
...ang/en.utf8/help/forms/accountprefs.addremovecolumns.html
+1
-1
htdocs/lang/en.utf8/help/forms/adduser.addremovecolumns.html
htdocs/lang/en.utf8/help/forms/adduser.addremovecolumns.html
+1
-1
htdocs/lang/en.utf8/help/forms/uploadcsv.addremovecolumns.html
...s/lang/en.utf8/help/forms/uploadcsv.addremovecolumns.html
+1
-1
htdocs/lib/registration.php
htdocs/lib/registration.php
+1
-1
No files found.
htdocs/account/activity/index.php
View file @
d0673575
...
@@ -78,7 +78,7 @@ $deleteall = pieform(array(
...
@@ -78,7 +78,7 @@ $deleteall = pieform(array(
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'deleteallnotifications'
,
'activity'
),
'value'
=>
get_string
(
'deleteallnotifications'
,
'activity'
),
'confirm'
=>
get_string
(
'reallydeleteallnotifications'
,
'activity'
),
'confirm'
=>
get_string
(
'reallydeleteallnotifications'
,
'activity'
),
),
),
...
...
htdocs/account/activity/preferences/index.php
View file @
d0673575
...
@@ -24,7 +24,7 @@ $elements = get_notification_settings_elements($USER);
...
@@ -24,7 +24,7 @@ $elements = get_notification_settings_elements($USER);
$elements
[
'submit'
]
=
array
(
$elements
[
'submit'
]
=
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'save'
),
'value'
=>
get_string
(
'save'
),
);
);
...
...
htdocs/account/index.php
View file @
d0673575
...
@@ -110,7 +110,7 @@ if ($blogcount != 1 && $prefs->multipleblogs == 1) {
...
@@ -110,7 +110,7 @@ if ($blogcount != 1 && $prefs->multipleblogs == 1) {
$elements
[
'submit'
]
=
array
(
$elements
[
'submit'
]
=
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'save'
)
'value'
=>
get_string
(
'save'
)
);
);
...
...
htdocs/account/institutions.php
View file @
d0673575
...
@@ -206,7 +206,7 @@ if (!empty($institutions) &&
...
@@ -206,7 +206,7 @@ if (!empty($institutions) &&
'defaultvalue'
=>
$USER
->
studentid
,
'defaultvalue'
=>
$USER
->
studentid
,
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'sendrequest'
),
'value'
=>
get_string
(
'sendrequest'
),
),
),
...
...
htdocs/admin/extensions/filter.php
View file @
d0673575
...
@@ -34,7 +34,7 @@ $reloadform = pieform(array(
...
@@ -34,7 +34,7 @@ $reloadform = pieform(array(
'reload'
=>
array
(
'reload'
=>
array
(
'type'
=>
'button'
,
'type'
=>
'button'
,
'usebuttontag'
=>
true
,
'usebuttontag'
=>
true
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'install'
,
'admin'
),
'value'
=>
get_string
(
'install'
,
'admin'
),
),
),
),
),
...
...
htdocs/admin/extensions/iframesites.php
View file @
d0673575
...
@@ -45,7 +45,7 @@ $newform = pieform(array(
...
@@ -45,7 +45,7 @@ $newform = pieform(array(
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'add'
),
'value'
=>
get_string
(
'add'
),
),
),
),
),
...
...
htdocs/admin/extensions/pluginconfig.php
View file @
d0673575
...
@@ -73,7 +73,7 @@ $form['elements']['type'] = array(
...
@@ -73,7 +73,7 @@ $form['elements']['type'] = array(
);
);
$form
[
'elements'
][
'save'
]
=
array
(
$form
[
'elements'
][
'save'
]
=
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'save'
),
'value'
=>
get_string
(
'save'
),
);
);
...
...
htdocs/admin/groups/groupcategories.php
View file @
d0673575
...
@@ -30,7 +30,7 @@ $optionform = pieform(array(
...
@@ -30,7 +30,7 @@ $optionform = pieform(array(
'defaultvalue'
=>
get_config
(
'allowgroupcategories'
),
'defaultvalue'
=>
get_config
(
'allowgroupcategories'
),
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'submit'
),
'value'
=>
get_string
(
'submit'
),
),
),
...
...
htdocs/admin/groups/manage.php
View file @
d0673575
...
@@ -94,7 +94,7 @@ $groupadminsform = pieform(array(
...
@@ -94,7 +94,7 @@ $groupadminsform = pieform(array(
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'save'
),
'value'
=>
get_string
(
'save'
),
),
),
),
),
...
...
htdocs/admin/groups/uploadcsv.php
View file @
d0673575
...
@@ -81,7 +81,7 @@ $form = array(
...
@@ -81,7 +81,7 @@ $form = array(
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'uploadgroupcsv'
,
'admin'
)
'value'
=>
get_string
(
'uploadgroupcsv'
,
'admin'
)
)
)
)
)
...
...
htdocs/admin/groups/uploadmemberscsv.php
View file @
d0673575
...
@@ -56,7 +56,7 @@ $form = array(
...
@@ -56,7 +56,7 @@ $form = array(
'readonly'
=>
TRUE
,
'readonly'
=>
TRUE
,
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'uploadgroupmemberscsv'
,
'admin'
)
'value'
=>
get_string
(
'uploadgroupmemberscsv'
,
'admin'
)
)
)
...
...
htdocs/admin/index.php
View file @
d0673575
...
@@ -55,7 +55,7 @@ $closeform = pieform(array(
...
@@ -55,7 +55,7 @@ $closeform = pieform(array(
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
$closed
?
'Open'
:
'Close'
,
'admin'
),
'value'
=>
get_string
(
$closed
?
'Open'
:
'Close'
,
'admin'
),
'class'
=>
$closed
?
'btn-
success
'
:
'btn-default'
'class'
=>
$closed
?
'btn-
primary
'
:
'btn-default'
),
),
),
),
));
));
...
...
htdocs/admin/site/cookieconsent.php
View file @
d0673575
...
@@ -169,7 +169,7 @@ $form = pieform(array(
...
@@ -169,7 +169,7 @@ $form = pieform(array(
),
),
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'class'
=>
'mtl btn-
success
'
,
'class'
=>
'mtl btn-
primary
'
,
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'savechanges'
,
'admin'
)
'value'
=>
get_string
(
'savechanges'
,
'admin'
)
),
),
...
...
htdocs/admin/site/font/delete.php
View file @
d0673575
...
@@ -64,7 +64,7 @@ $form = pieform(array(
...
@@ -64,7 +64,7 @@ $form = pieform(array(
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submitcancel'
,
'type'
=>
'submitcancel'
,
'title'
=>
$submittitle
,
'title'
=>
$submittitle
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'yes'
),
get_string
(
'no'
)),
'value'
=>
array
(
get_string
(
'yes'
),
get_string
(
'no'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
'admin/site/fonts.php'
,
'goto'
=>
get_config
(
'wwwroot'
)
.
'admin/site/fonts.php'
,
)
)
...
...
htdocs/admin/site/font/install.php
View file @
d0673575
...
@@ -134,7 +134,7 @@ $form = pieform(array(
...
@@ -134,7 +134,7 @@ $form = pieform(array(
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submitcancel'
,
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'installfont'
,
'skin'
),
get_string
(
'cancel'
,
'mahara'
)),
'value'
=>
array
(
get_string
(
'installfont'
,
'skin'
),
get_string
(
'cancel'
,
'mahara'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
'admin/site/fonts.php'
,
'goto'
=>
get_config
(
'wwwroot'
)
.
'admin/site/fonts.php'
,
),
),
...
...
htdocs/admin/site/font/installgwf.php
View file @
d0673575
...
@@ -48,7 +48,7 @@ $form = pieform(array(
...
@@ -48,7 +48,7 @@ $form = pieform(array(
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submitcancel'
,
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'installgwfont'
,
'skin'
),
get_string
(
'cancel'
,
'mahara'
)),
'value'
=>
array
(
get_string
(
'installgwfont'
,
'skin'
),
get_string
(
'cancel'
,
'mahara'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
'admin/site/fonts.php'
,
'goto'
=>
get_config
(
'wwwroot'
)
.
'admin/site/fonts.php'
,
),
),
...
...
htdocs/admin/site/license-edit.php
View file @
d0673575
...
@@ -66,7 +66,7 @@ $elements = array(
...
@@ -66,7 +66,7 @@ $elements = array(
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'licensesave'
,
'admin'
),
'value'
=>
get_string
(
'licensesave'
,
'admin'
),
),
),
);
);
...
...
htdocs/admin/site/menu.php
View file @
d0673575
...
@@ -285,7 +285,7 @@ foreach ($all as $k => $v) {
...
@@ -285,7 +285,7 @@ foreach ($all as $k => $v) {
);
);
}
}
$footerelements
[
'submit'
]
=
array
(
$footerelements
[
'submit'
]
=
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'savechanges'
,
'admin'
)
'value'
=>
get_string
(
'savechanges'
,
'admin'
)
);
);
...
...
htdocs/admin/site/networking.php
View file @
d0673575
...
@@ -98,8 +98,8 @@ $networkingform = pieform(
...
@@ -98,8 +98,8 @@ $networkingform = pieform(
'class'
=>
'btn-group'
,
'class'
=>
'btn-group'
,
'elements'
=>
array
(
'elements'
=>
array
(
'submit'
=>
array
(
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'name'
=>
'submit'
,
'name'
=>
'submit'
,
'type'
=>
'button'
,
'type'
=>
'button'
,
'usebuttontag'
=>
true
,
'usebuttontag'
=>
true
,
'content'
=>
get_string
(
'savechanges'
,
'admin'
),
'content'
=>
get_string
(
'savechanges'
,
'admin'
),
...
...
htdocs/admin/site/options.php
View file @
d0673575
...
@@ -767,7 +767,7 @@ $siteoptionform = array(
...
@@ -767,7 +767,7 @@ $siteoptionform = array(
$siteoptionform
[
'elements'
][
'submit'
]
=
array
(
$siteoptionform
[
'elements'
][
'submit'
]
=
array
(
'type'
=>
'button'
,
'type'
=>
'button'
,
'usebuttontag'
=>
true
,
'usebuttontag'
=>
true
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'updatesiteoptions'
,
'admin'
)
'value'
=>
get_string
(
'updatesiteoptions'
,
'admin'
)
);
);
...
...
htdocs/admin/site/pages.php
View file @
d0673575
...
@@ -65,7 +65,7 @@ $form = pieform(array(
...
@@ -65,7 +65,7 @@ $form = pieform(array(
)
)
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'savechanges'
,
'admin'
)
'value'
=>
get_string
(
'savechanges'
,
'admin'
)
),
),
...
...
htdocs/admin/users/add.php
View file @
d0673575
...
@@ -119,7 +119,7 @@ $elements = array(
...
@@ -119,7 +119,7 @@ $elements = array(
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'createuser'
,
'admin'
),
'value'
=>
get_string
(
'createuser'
,
'admin'
),
'class'
=>
'btn-
success
btn-lg btn-block mtm'
,
'class'
=>
'btn-
primary
btn-lg btn-block mtm'
,
),
),
);
);
...
...
htdocs/admin/users/addauthority.php
View file @
d0673575
...
@@ -79,7 +79,7 @@ if ($institution && $plugin) {
...
@@ -79,7 +79,7 @@ if ($institution && $plugin) {
$form
[
'elements'
][
'submit'
]
=
array
(
$form
[
'elements'
][
'submit'
]
=
array
(
'type'
=>
'submitcancel'
,
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'submit'
),
get_string
(
'cancel'
)),
'value'
=>
array
(
get_string
(
'submit'
),
get_string
(
'cancel'
)),
'goto'
=>
'addauthority.php?c=1'
'goto'
=>
'addauthority.php?c=1'
);
);
...
...
htdocs/admin/users/admins.php
View file @
d0673575
...
@@ -45,7 +45,7 @@ $form = pieform(array(
...
@@ -45,7 +45,7 @@ $form = pieform(array(
)
)
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'submit'
)
'value'
=>
get_string
(
'submit'
)
)
)
...
...
htdocs/admin/users/changeuser.php
View file @
d0673575
...
@@ -91,7 +91,7 @@ $form = array(
...
@@ -91,7 +91,7 @@ $form = array(
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'masquerade'
,
'admin'
),
'value'
=>
get_string
(
'masquerade'
,
'admin'
),
'class'
=>
'btn-
success
'
'class'
=>
'btn-
primary
'
),
),
),
),
);
);
...
...
htdocs/admin/users/edit.php
View file @
d0673575
...
@@ -251,7 +251,7 @@ $elements['tags'] = array(
...
@@ -251,7 +251,7 @@ $elements['tags'] = array(
$elements
[
'submit'
]
=
array
(
$elements
[
'submit'
]
=
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
mbm'
,
'class'
=>
'btn-
primary
mbm'
,
'value'
=>
get_string
(
'savechanges'
,
'admin'
),
'value'
=>
get_string
(
'savechanges'
,
'admin'
),
);
);
...
@@ -765,7 +765,7 @@ foreach ($institutions as $i) {
...
@@ -765,7 +765,7 @@ foreach ($institutions as $i) {
$i
->
institution
.
'_submit'
=>
array
(
$i
->
institution
.
'_submit'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'update'
),
'value'
=>
get_string
(
'update'
),
'class'
=>
'btn-
success
'
'class'
=>
'btn-
primary
'
),
),
$i
->
institution
.
'_remove'
=>
array
(
$i
->
institution
.
'_remove'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
...
@@ -802,7 +802,7 @@ if ($USER->get('admin')
...
@@ -802,7 +802,7 @@ if ($USER->get('admin')
);
);
$elements
[
'add'
]
=
array
(
$elements
[
'add'
]
=
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
mbs'
,
'class'
=>
'btn-
primary
mbs'
,
'value'
=>
get_string
(
'addusertoinstitution'
,
'admin'
),
'value'
=>
get_string
(
'addusertoinstitution'
,
'admin'
),
);
);
}
}
...
...
htdocs/admin/users/institutionadmins.php
View file @
d0673575
...
@@ -58,7 +58,7 @@ $form = array(
...
@@ -58,7 +58,7 @@ $form = array(
'value'
=>
$institution
,
'value'
=>
$institution
,
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'submit'
)
'value'
=>
get_string
(
'submit'
)
)
)
...
...
htdocs/admin/users/institutionpages.php
View file @
d0673575
...
@@ -99,7 +99,7 @@ $form = pieform(array(
...
@@ -99,7 +99,7 @@ $form = pieform(array(
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'savechanges'
,
'admin'
)
'value'
=>
get_string
(
'savechanges'
,
'admin'
)
),
),
)
)
...
...
htdocs/admin/users/institutions.php
View file @
d0673575
...
@@ -587,7 +587,7 @@ if ($institution || $add) {
...
@@ -587,7 +587,7 @@ if ($institution || $add) {
$elements
[
'submit'
]
=
array
(
$elements
[
'submit'
]
=
array
(
'type'
=>
'submitcancel'
,
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'submit'
),
get_string
(
'cancel'
))
'value'
=>
array
(
get_string
(
'submit'
),
get_string
(
'cancel'
))
);
);
...
...
htdocs/admin/users/institutionstaff.php
View file @
d0673575
...
@@ -59,7 +59,7 @@ $form = array(
...
@@ -59,7 +59,7 @@ $form = array(
'value'
=>
$institution
,
'value'
=>
$institution
,
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'submit'
)
'value'
=>
get_string
(
'submit'
)
)
)
...
...
htdocs/admin/users/institutionusers.php
View file @
d0673575
...
@@ -150,7 +150,7 @@ $userlistform = array(
...
@@ -150,7 +150,7 @@ $userlistform = array(
'rules'
=>
array
(
'regex'
=>
'/^[a-z]+$/'
)
'rules'
=>
array
(
'regex'
=>
'/^[a-z]+$/'
)
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
$submittext
'value'
=>
$submittext
)
)
...
...
htdocs/admin/users/progressbar.php
View file @
d0673575
...
@@ -156,7 +156,7 @@ $elements['institution'] = array(
...
@@ -156,7 +156,7 @@ $elements['institution'] = array(
);
);
$elements
[
'submit'
]
=
array
(
$elements
[
'submit'
]
=
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'submit'
)
'value'
=>
get_string
(
'submit'
)
);
);
...
...
htdocs/admin/users/staff.php
View file @
d0673575
...
@@ -42,7 +42,7 @@ $form = pieform(array(
...
@@ -42,7 +42,7 @@ $form = pieform(array(
),
),
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'submit'
)
'value'
=>
get_string
(
'submit'
)
)
)
)
)
...
...
htdocs/admin/users/uploadcsv.php
View file @
d0673575
...
@@ -134,7 +134,7 @@ $form = array(
...
@@ -134,7 +134,7 @@ $form = array(
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submit'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'uploadcsv'
,
'admin'
),
'value'
=>
get_string
(
'uploadcsv'
,
'admin'
),
'class'
=>
'btn-
success
'
'class'
=>
'btn-
primary
'
)
)
)
)
);
);
...
...
htdocs/artefact/annotation/edit.php
View file @
d0673575
...
@@ -81,7 +81,7 @@ $elements['annotationid'] = array(
...
@@ -81,7 +81,7 @@ $elements['annotationid'] = array(
$elements
[
'submit'
]
=
array
(
$elements
[
'submit'
]
=
array
(
'type'
=>
'submitcancel'
,
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'save'
),
get_string
(
'cancel'
)),
'value'
=>
array
(
get_string
(
'save'
),
get_string
(
'cancel'
)),
'goto'
=>
$goto
,
'goto'
=>
$goto
,
);
);
...
...
htdocs/artefact/blog/new/index.php
View file @
d0673575
...
@@ -91,7 +91,7 @@ $form = array(
...
@@ -91,7 +91,7 @@ $form = array(
'licensing_advanced'
=>
license_form_el_advanced
(
null
),
'licensing_advanced'
=>
license_form_el_advanced
(
null
),
'submit'
=>
array
(
'submit'
=>
array
(
'type'
=>
'submitcancel'
,
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
'value'
=>
array
(
get_string
(
'createblog'
,
'artefact.blog'
),
get_string
(
'createblog'
,
'artefact.blog'
),
get_string
(
'cancel'
,
'artefact.blog'
)
get_string
(
'cancel'
,
'artefact.blog'
)
...
...
htdocs/artefact/blog/post.php
View file @
d0673575
...
@@ -185,7 +185,7 @@ $form = pieform(array(
...
@@ -185,7 +185,7 @@ $form = pieform(array(
),
),
'submitpost'
=>
array
(
'submitpost'
=>
array
(
'type'
=>
'submitcancel'
,
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'savepost'
,
'artefact.blog'
),
get_string
(
'cancel'
)),
'value'
=>
array
(
get_string
(
'savepost'
,
'artefact.blog'
),
get_string
(
'cancel'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
'artefact/blog/view/index.php?id='
.
$blog
,
'goto'
=>
get_config
(
'wwwroot'
)
.
'artefact/blog/view/index.php?id='
.
$blog
,
)
)
...
...
htdocs/artefact/blog/settings/index.php
View file @
d0673575
...
@@ -94,7 +94,7 @@ $form = pieform(array(
...
@@ -94,7 +94,7 @@ $form = pieform(array(
'licensing_advanced'
=>
license_form_el_advanced
(
$blog
),
'licensing_advanced'
=>
license_form_el_advanced
(
$blog
),
'submit'
=>
array
(