Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Support nested Actions

  • Loading branch information...
commit 4fd10cac897ff65df3559daf557a3044277a4f15 1 parent 363ffd6
@haraldpdl haraldpdl authored committed
View
4 osCommerce/OM/Core/Site/Admin/Application/Login/pages/main.php
@@ -16,7 +16,7 @@
<div class="infoBox">
<h3><?php echo osc_icon('people.png') . ' ' . OSCOM::getDef('action_heading_login'); ?></h3>
- <form name="login" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'action=Process'); ?>" method="post">
+ <form name="login" class="dataForm" action="<?php echo OSCOM::getLink(null, null, 'Process'); ?>" method="post">
<p><?php echo OSCOM::getDef('introduction'); ?></p>
@@ -35,7 +35,7 @@
</script>
<?php
- if ( isset($_GET['action']) && ($_GET['action'] == 'Process') && !empty($_POST['user_name']) && !empty($_POST['user_password']) ) {
+ if ( isset($_GET['Process']) && !empty($_POST['user_name']) && !empty($_POST['user_password']) ) {
?>
<script type="text/javascript" src="public/external/jquery/jquery.showPasswordCheckbox.js"></script>
View
2  osCommerce/OM/Core/Site/Admin/templates/oscom/header.php
@@ -77,7 +77,7 @@
echo ' <li><a href="#"><span class="ui-icon ui-icon-triangle-1-s" style="float: right;"></span>' . osc_output_string_protected($_SESSION[OSCOM::getSite()]['username']) . '</a>' .
' <ul>' .
- ' <li><a href="' . OSCOM::getLink(null, 'Login', 'action=Logoff') . '">' . OSCOM::getDef('header_title_logoff') . '</a></li>' .
+ ' <li><a href="' . OSCOM::getLink(null, 'Login', 'Logoff') . '">' . OSCOM::getDef('header_title_logoff') . '</a></li>' .
' </ul>' .
' </li>' .
'</ul>';
Please sign in to comment.
Something went wrong with that request. Please try again.