Permalink
Browse files

Support nested Actions

  • Loading branch information...
1 parent 695675d commit 56d738d7c46697a4f6b1ac47728d49d9ccfc022b @haraldpdl haraldpdl committed with Jul 29, 2010
@@ -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>
@@ -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>';

0 comments on commit 56d738d

Please sign in to comment.