diff options
| -rw-r--r-- | templates/edit_account.tpl | 2 | ||||
| -rw-r--r-- | templates/nutrient_chooser.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/edit_account.tpl b/templates/edit_account.tpl index 1b778b7..9e899e3 100644 --- a/templates/edit_account.tpl +++ b/templates/edit_account.tpl @@ -19,7 +19,7 @@ --> </div> <div> - <form action='{$smarty.server.PHP_SELF}' method='post' id='formEditUser' onsubmit='validateEditUser("formEditUser"); return false;'> + <form action='{$smarty.server.REQUEST_URI}' method='post' id='formEditUser' onsubmit='validateEditUser("formEditUser"); return false;'> <div class='standardMargins'> <input type='text' name='username' size='25' value='{$smarty.session.user.username}' /> <strong>Login name</strong> (min. 5 chars.) diff --git a/templates/nutrient_chooser.tpl b/templates/nutrient_chooser.tpl index 18b2f81..6c94ad1 100644 --- a/templates/nutrient_chooser.tpl +++ b/templates/nutrient_chooser.tpl @@ -16,7 +16,7 @@ <a href='javascript: checkAll("nutrients[]");'>Check all</a> | <a href='javascript: uncheckAll("nutrients[]");'>Uncheck all</a> <div style='width: 100%;'> - <form action='{$_SERVER[PHP_SELF]}' method='post' id='nutrientChooser'> + <form action='{$smarty.server.REQUEST_URI}' method='post' id='nutrientChooser'> <table class='standardTable'> <tr class='tableTitleRow'> <th>Show/Hide</th> |
