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
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
100 changed files
with
259 additions
and
262 deletions
+259
-262
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
htdocs/lib/user.php
htdocs/lib/user.php
+1
-1
htdocs/lib/view.php
htdocs/lib/view.php
+1
-1
htdocs/module/multirecipientnotification/sendmessage.php
htdocs/module/multirecipientnotification/sendmessage.php
+1
-1
htdocs/skin/design.php
htdocs/skin/design.php
+1
-1
htdocs/skin/import.php
htdocs/skin/import.php
+1
-1
htdocs/theme/raw/plugintype/artefact/file/templates/form/editfile.tpl
.../raw/plugintype/artefact/file/templates/form/editfile.tpl
+1
-1
htdocs/theme/raw/plugintype/artefact/file/templates/form/filebrowser.tpl
...w/plugintype/artefact/file/templates/form/filebrowser.tpl
+149
-152
htdocs/theme/raw/plugintype/artefact/plans/templates/plans.tpl
...s/theme/raw/plugintype/artefact/plans/templates/plans.tpl
+1
-1
htdocs/theme/raw/plugintype/interaction/forum/templates/view.tpl
...theme/raw/plugintype/interaction/forum/templates/view.tpl
+1
-1
htdocs/theme/raw/templates/account/activity/index.tpl
htdocs/theme/raw/templates/account/activity/index.tpl
+1
-1
htdocs/theme/raw/templates/admin/installgpl.tpl
htdocs/theme/raw/templates/admin/installgpl.tpl
+1
-1
htdocs/theme/raw/templates/admin/users/noinstitutions.tpl
htdocs/theme/raw/templates/admin/users/noinstitutions.tpl
+1
-1
htdocs/theme/raw/templates/admin/users/noinstitutionsstats.tpl
...s/theme/raw/templates/admin/users/noinstitutionsstats.tpl
+1
-1
htdocs/theme/raw/templates/collection/views.tpl
htdocs/theme/raw/templates/collection/views.tpl
+1
-1
htdocs/theme/raw/templates/selfsearch.tpl
htdocs/theme/raw/templates/selfsearch.tpl
+4
-4
htdocs/theme/raw/templates/sideblocks/selfsearch.tpl
htdocs/theme/raw/templates/sideblocks/selfsearch.tpl
+1
-1
htdocs/theme/raw/templates/skin/sitefonts.tpl
htdocs/theme/raw/templates/skin/sitefonts.tpl
+2
-2
htdocs/theme/raw/templates/view/changetheme.tpl
htdocs/theme/raw/templates/view/changetheme.tpl
+1
-1
htdocs/user/denyrequest.php
htdocs/user/denyrequest.php
+1
-1
htdocs/view/access.php
htdocs/view/access.php
+1
-1
htdocs/view/edit.php
htdocs/view/edit.php
+1
-1
htdocs/view/layout.php
htdocs/view/layout.php
+1
-1
htdocs/view/urls.php
htdocs/view/urls.php
+1
-1
htdocs/webservice/admin/index.php
htdocs/webservice/admin/index.php
+1
-1
htdocs/webservice/admin/oauthv1sregister.php
htdocs/webservice/admin/oauthv1sregister.php
+1
-1
No files found.
htdocs/account/activity/index.php
View file @
d0673575
...
...
@@ -78,7 +78,7 @@ $deleteall = pieform(array(
),
'submit'
=>
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'deleteallnotifications'
,
'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);
$elements
[
'submit'
]
=
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'save'
),
);
...
...
htdocs/account/index.php
View file @
d0673575
...
...
@@ -110,7 +110,7 @@ if ($blogcount != 1 && $prefs->multipleblogs == 1) {
$elements
[
'submit'
]
=
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'save'
)
);
...
...
htdocs/account/institutions.php
View file @
d0673575
...
...
@@ -206,7 +206,7 @@ if (!empty($institutions) &&
'defaultvalue'
=>
$USER
->
studentid
,
),
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'sendrequest'
),
),
...
...
htdocs/admin/extensions/filter.php
View file @
d0673575
...
...
@@ -34,7 +34,7 @@ $reloadform = pieform(array(
'reload'
=>
array
(
'type'
=>
'button'
,
'usebuttontag'
=>
true
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'install'
,
'admin'
),
),
),
...
...
htdocs/admin/extensions/iframesites.php
View file @
d0673575
...
...
@@ -45,7 +45,7 @@ $newform = pieform(array(
),
'submit'
=>
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'add'
),
),
),
...
...
htdocs/admin/extensions/pluginconfig.php
View file @
d0673575
...
...
@@ -73,7 +73,7 @@ $form['elements']['type'] = array(
);
$form
[
'elements'
][
'save'
]
=
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'save'
),
);
...
...
htdocs/admin/groups/groupcategories.php
View file @
d0673575
...
...
@@ -30,7 +30,7 @@ $optionform = pieform(array(
'defaultvalue'
=>
get_config
(
'allowgroupcategories'
),
),
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'submit'
),
),
...
...
htdocs/admin/groups/manage.php
View file @
d0673575
...
...
@@ -94,7 +94,7 @@ $groupadminsform = pieform(array(
),
'submit'
=>
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'save'
),
),
),
...
...
htdocs/admin/groups/uploadcsv.php
View file @
d0673575
...
...
@@ -81,7 +81,7 @@ $form = array(
),
'submit'
=>
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'uploadgroupcsv'
,
'admin'
)
)
)
...
...
htdocs/admin/groups/uploadmemberscsv.php
View file @
d0673575
...
...
@@ -56,7 +56,7 @@ $form = array(
'readonly'
=>
TRUE
,
),
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'uploadgroupmemberscsv'
,
'admin'
)
)
...
...
htdocs/admin/index.php
View file @
d0673575
...
...
@@ -55,7 +55,7 @@ $closeform = pieform(array(
'submit'
=>
array
(
'type'
=>
'submit'
,
'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(
),
),
'submit'
=>
array
(
'class'
=>
'mtl btn-
success
'
,
'class'
=>
'mtl btn-
primary
'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'savechanges'
,
'admin'
)
),
...
...
htdocs/admin/site/font/delete.php
View file @
d0673575
...
...
@@ -64,7 +64,7 @@ $form = pieform(array(
'submit'
=>
array
(
'type'
=>
'submitcancel'
,
'title'
=>
$submittitle
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'yes'
),
get_string
(
'no'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
'admin/site/fonts.php'
,
)
...
...
htdocs/admin/site/font/install.php
View file @
d0673575
...
...
@@ -134,7 +134,7 @@ $form = pieform(array(
),
'submit'
=>
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'installfont'
,
'skin'
),
get_string
(
'cancel'
,
'mahara'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
'admin/site/fonts.php'
,
),
...
...
htdocs/admin/site/font/installgwf.php
View file @
d0673575
...
...
@@ -48,7 +48,7 @@ $form = pieform(array(
),
'submit'
=>
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'installgwfont'
,
'skin'
),
get_string
(
'cancel'
,
'mahara'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
'admin/site/fonts.php'
,
),
...
...
htdocs/admin/site/license-edit.php
View file @
d0673575
...
...
@@ -66,7 +66,7 @@ $elements = array(
),
'submit'
=>
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'licensesave'
,
'admin'
),
),
);
...
...
htdocs/admin/site/menu.php
View file @
d0673575
...
...
@@ -285,7 +285,7 @@ foreach ($all as $k => $v) {
);
}
$footerelements
[
'submit'
]
=
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'savechanges'
,
'admin'
)
);
...
...
htdocs/admin/site/networking.php
View file @
d0673575
...
...
@@ -98,8 +98,8 @@ $networkingform = pieform(
'class'
=>
'btn-group'
,
'elements'
=>
array
(
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'name'
=>
'submit'
,
'class'
=>
'btn-
primary
'
,
'name'
=>
'submit'
,
'type'
=>
'button'
,
'usebuttontag'
=>
true
,
'content'
=>
get_string
(
'savechanges'
,
'admin'
),
...
...
htdocs/admin/site/options.php
View file @
d0673575
...
...
@@ -767,7 +767,7 @@ $siteoptionform = array(
$siteoptionform
[
'elements'
][
'submit'
]
=
array
(
'type'
=>
'button'
,
'usebuttontag'
=>
true
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'updatesiteoptions'
,
'admin'
)
);
...
...
htdocs/admin/site/pages.php
View file @
d0673575
...
...
@@ -65,7 +65,7 @@ $form = pieform(array(
)
),
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'savechanges'
,
'admin'
)
),
...
...
htdocs/admin/users/add.php
View file @
d0673575
...
...
@@ -119,7 +119,7 @@ $elements = array(
'submit'
=>
array
(
'type'
=>
'submit'
,
'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) {
$form
[
'elements'
][
'submit'
]
=
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'submit'
),
get_string
(
'cancel'
)),
'goto'
=>
'addauthority.php?c=1'
);
...
...
htdocs/admin/users/admins.php
View file @
d0673575
...
...
@@ -45,7 +45,7 @@ $form = pieform(array(
)
),
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'submit'
)
)
...
...
htdocs/admin/users/changeuser.php
View file @
d0673575
...
...
@@ -91,7 +91,7 @@ $form = array(
'submit'
=>
array
(
'type'
=>
'submit'
,
'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(
$elements
[
'submit'
]
=
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
mbm'
,
'class'
=>
'btn-
primary
mbm'
,
'value'
=>
get_string
(
'savechanges'
,
'admin'
),
);
...
...
@@ -765,7 +765,7 @@ foreach ($institutions as $i) {
$i
->
institution
.
'_submit'
=>
array
(
'type'
=>
'submit'
,
'value'
=>
get_string
(
'update'
),
'class'
=>
'btn-
success
'
'class'
=>
'btn-
primary
'
),
$i
->
institution
.
'_remove'
=>
array
(
'type'
=>
'submit'
,
...
...
@@ -802,7 +802,7 @@ if ($USER->get('admin')
);
$elements
[
'add'
]
=
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
mbs'
,
'class'
=>
'btn-
primary
mbs'
,
'value'
=>
get_string
(
'addusertoinstitution'
,
'admin'
),
);
}
...
...
htdocs/admin/users/institutionadmins.php
View file @
d0673575
...
...
@@ -58,7 +58,7 @@ $form = array(
'value'
=>
$institution
,
),
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'submit'
)
)
...
...
htdocs/admin/users/institutionpages.php
View file @
d0673575
...
...
@@ -99,7 +99,7 @@ $form = pieform(array(
),
'submit'
=>
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'savechanges'
,
'admin'
)
),
)
...
...
htdocs/admin/users/institutions.php
View file @
d0673575
...
...
@@ -587,7 +587,7 @@ if ($institution || $add) {
$elements
[
'submit'
]
=
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'submit'
),
get_string
(
'cancel'
))
);
...
...
htdocs/admin/users/institutionstaff.php
View file @
d0673575
...
...
@@ -59,7 +59,7 @@ $form = array(
'value'
=>
$institution
,
),
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'value'
=>
get_string
(
'submit'
)
)
...
...
htdocs/admin/users/institutionusers.php
View file @
d0673575
...
...
@@ -150,7 +150,7 @@ $userlistform = array(
'rules'
=>
array
(
'regex'
=>
'/^[a-z]+$/'
)
),
'submit'
=>
array
(
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'type'
=>
'submit'
,
'value'
=>
$submittext
)
...
...
htdocs/admin/users/progressbar.php
View file @
d0673575
...
...
@@ -156,7 +156,7 @@ $elements['institution'] = array(
);
$elements
[
'submit'
]
=
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'submit'
)
);
...
...
htdocs/admin/users/staff.php
View file @
d0673575
...
...
@@ -42,7 +42,7 @@ $form = pieform(array(
),
'submit'
=>
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'submit'
)
)
)
...
...
htdocs/admin/users/uploadcsv.php
View file @
d0673575
...
...
@@ -134,7 +134,7 @@ $form = array(
'submit'
=>
array
(
'type'
=>
'submit'
,
'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(
$elements
[
'submit'
]
=
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'save'
),
get_string
(
'cancel'
)),
'goto'
=>
$goto
,
);
...
...
htdocs/artefact/blog/new/index.php
View file @
d0673575
...
...
@@ -91,7 +91,7 @@ $form = array(
'licensing_advanced'
=>
license_form_el_advanced
(
null
),
'submit'
=>
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'createblog'
,
'artefact.blog'
),
get_string
(
'cancel'
,
'artefact.blog'
)
...
...
htdocs/artefact/blog/post.php
View file @
d0673575
...
...
@@ -185,7 +185,7 @@ $form = pieform(array(
),
'submitpost'
=>
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'savepost'
,
'artefact.blog'
),
get_string
(
'cancel'
)),
'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(
'licensing_advanced'
=>
license_form_el_advanced
(
$blog
),
'submit'
=>
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'savesettings'
,
'artefact.blog'
),
get_string
(
'cancel'
,
'artefact.blog'
)
...
...
htdocs/artefact/comment/edit.php
View file @
d0673575
...
...
@@ -81,7 +81,7 @@ if (get_config('licensemetadata')) {
}
$elements
[
'submit'
]
=
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'save'
),
get_string
(
'cancel'
)),
'goto'
=>
$goto
,
);
...
...
htdocs/artefact/file/extract.php
View file @
d0673575
...
...
@@ -96,7 +96,7 @@ if ($zipinfo) {
),
'submit'
=>
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn btn-
success
'
,
'class'
=>
'btn btn-
primary
'
,
'value'
=>
array
(
get_string
(
'Decompress'
,
'artefact.file'
),
get_string
(
'cancel'
)),
'goto'
=>
$goto
,
)
...
...
htdocs/artefact/file/profileicons.php
View file @
d0673575
...
...
@@ -56,7 +56,7 @@ $uploadform = pieform(array(
),
'submit'
=>
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'upload'
)
)
)
...
...
htdocs/artefact/internal/editnote.php
View file @
d0673575
...
...
@@ -116,7 +116,7 @@ $form = array(
),
'submitnote'
=>
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'save'
),
get_string
(
'cancel'
)),
'goto'
=>
$goto
,
),
...
...
htdocs/artefact/internal/index.php
View file @
d0673575
...
...
@@ -172,7 +172,7 @@ $elements = array(
'submit'
=>
array
(
'type'
=>
'submit'
,
'value'
=>
get_string
(
'saveprofile'
,
'artefact.internal'
),
'class'
=>
'btn-
success
'
'class'
=>
'btn-
primary
'
)
);
// Don't include fieldset if 'socialprofile' is not installed
...
...
htdocs/artefact/internal/socialprofile.php
View file @
d0673575
...
...
@@ -123,7 +123,7 @@ else {
),
'submit'
=>
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'save'
),
get_string
(
'cancel'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
'artefact/internal/index.php?fs=social'
,
),
...
...
htdocs/artefact/plans/lib.php
View file @
d0673575
...
...
@@ -205,7 +205,7 @@ class ArtefactTypePlan extends ArtefactType {
$elements
=
call_static_method
(
generate_artefact_class_name
(
'plan'
),
'get_planform_elements'
,
$plan
);
$elements
[
'submit'
]
=
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'saveplan'
,
'artefact.plans'
),
get_string
(
'cancel'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
'artefact/plans/index.php'
,
);
...
...
@@ -446,7 +446,7 @@ class ArtefactTypeTask extends ArtefactType {
$elements
=
call_static_method
(
generate_artefact_class_name
(
'task'
),
'get_taskform_elements'
,
$parent
,
$task
);
$elements
[
'submit'
]
=
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'savetask'
,
'artefact.plans'
),
get_string
(
'cancel'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
'artefact/plans/plan.php?id='
.
$parent
,
);
...
...
htdocs/artefact/resume/editcomposite.php
View file @
d0673575
...
...
@@ -76,7 +76,7 @@ $elements['filebrowser'] = array(
// Add other necessary pieform elements
$elements
[
'submitform'
]
=
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'save'
),
get_string
(
'cancel'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
'artefact/resume/'
.
$tabs
[
$type
]
.
'.php'
,
);
...
...
htdocs/artefact/resume/editgoalsandskills.php
View file @
d0673575
...
...
@@ -108,7 +108,7 @@ $form = pieform(array(
),
'submitform'
=>
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
array
(
get_string
(
'save'
),
get_string
(
'cancel'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
'artefact/resume/goalsandskills.php'
,
),
...
...
htdocs/artefact/resume/index.php
View file @
d0673575
...
...
@@ -111,7 +111,7 @@ $personalinformationform = pieform(array(
'save'
=>
array
(
'type'
=>
'submit'
,
'value'
=>
get_string
(
'save'
),
'class'
=>
'btn-
success
'
'class'
=>
'btn-
primary
'
),
),
),
...
...
htdocs/artefact/resume/lib.php
View file @
d0673575
...
...
@@ -1176,7 +1176,7 @@ EOF;
$elements
=
call_static_method
(
generate_artefact_class_name
(
$compositetype
),
'get_addform_elements'
);
$elements
[
'submit'
]
=
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'save'
),
);
$elements
[
'compositetype'
]
=
array
(
...
...
@@ -2092,13 +2092,13 @@ function simple_resumefield_form($defaults, $goto, $options = array()) {
),
$t
.
'submit'
=>
array
(
'type'
=>
'submitcancel'
,
'class'
=>
'js-hidden btn-
success
'
,
'class'
=>
'js-hidden btn-
primary
'
,
'value'
=>
array
(
get_string
(
'save'
),
get_string
(
'cancel'
)),
'goto'
=>
get_config
(
'wwwroot'
)
.
$goto
,
),
$t
.
'edit'
=>
array
(
'type'
=>
'button'
,
'class'
=>
'nojs-hidden-block openedit btn-
success
'
,
'class'
=>
'nojs-hidden-block openedit btn-
primary
'
,
'value'
=>
get_string
(
'edit'
),
),
),
...
...
htdocs/artefact/resume/license.php
View file @
d0673575
...
...
@@ -41,7 +41,7 @@ $form = array(
'license_advanced'
=>
license_form_el_advanced
(
$personalinformation
),
'submit'
=>
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'save'
)
),
),
...
...
htdocs/auth/browserid/lib.php
View file @
d0673575
...
...
@@ -239,7 +239,7 @@ class PluginAuthBrowserid extends PluginAuth {
public
static
function
login_form_elements
()
{
return
array
(
'loginbrowserid'
=>
array
(
'value'
=>
'<div class="login-externallink"><a class="persona-button btn btn-
success
btn-xs" href="javascript:window.browserid_login()"><span>'
.
get_string
(
'login'
,
'auth.browserid'
)
.
'</span></a></div>'
'value'
=>
'<div class="login-externallink"><a class="persona-button btn btn-
primary
btn-xs" href="javascript:window.browserid_login()"><span>'
.
get_string
(
'login'
,
'auth.browserid'
)
.
'</span></a></div>'
)
);
}
...
...
htdocs/auth/lib.php
View file @
d0673575
...
...
@@ -903,7 +903,7 @@ function auth_check_required_fields() {
else
{
$elements
[
'submit'
]
=
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
'
,
'class'
=>
'btn-
primary
'
,
'value'
=>
get_string
(
'submit'
)
);
...
...
@@ -1268,7 +1268,7 @@ function auth_get_login_form_elements() {
),
'submit'
=>
array
(
'type'
=>
'submit'
,
'class'
=>
'btn-
success
btn-block'
,
'class'
=>
'btn-
primary
btn-block'
,
'value'
=>
get_string
(
'login'
)
),
'register'
=>
array
(
...
...
htdocs/auth/saml/index.php
View file @
d0673575
...
...
@@ -392,7 +392,7 @@ function saml_auth_generate_login_form() {