projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed 'bad password' info screen to be usable also in non-js mode.
[fa-stable.git]
/
admin
/
print_profiles.php
diff --git
a/admin/print_profiles.php
b/admin/print_profiles.php
index 8052a38af560843851dced86a3a232151e224376..99ef82e1d5144c6e1e9645f616751c8974708177 100644
(file)
--- a/
admin/print_profiles.php
+++ b/
admin/print_profiles.php
@@
-9,8
+9,8
@@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
-$page_security =
15
;
-$path_to_root
=
"..";
+$page_security =
'SA_PRINTPROFILE'
;
+$path_to_root
=
"..";
include($path_to_root . "/includes/session.inc");
include($path_to_root . "/admin/db/printers_db.inc");
include($path_to_root . "/includes/ui.inc");
include($path_to_root . "/includes/session.inc");
include($path_to_root . "/admin/db/printers_db.inc");
include($path_to_root . "/includes/ui.inc");
@@
-174,10
+174,10
@@
else
div_start('controls');
if (get_post('profile_id') == '') {
div_start('controls');
if (get_post('profile_id') == '') {
- submit_center('submit', _("Add New Profile"), true, '',
true
);
+ submit_center('submit', _("Add New Profile"), true, '',
'default'
);
} else {
submit_center_first('submit', _("Update Profile"),
} else {
submit_center_first('submit', _("Update Profile"),
- _('Update printer profile'),
true
);
+ _('Update printer profile'),
'default'
);
submit_center_last('delete', _("Delete Profile"),
_('Delete printer profile (only if not used by any user)'), true);
}
submit_center_last('delete', _("Delete Profile"),
_('Delete printer profile (only if not used by any user)'), true);
}