Hide the back button for Account -> Settings.

This commit is contained in:
Mark Crane
2015-03-10 03:41:34 +00:00
parent 8f224fee80
commit f5d1ff8928

View File

@@ -287,7 +287,9 @@ else {
echo "<table $table_width cellpadding='0' cellspacing='0' border='0'>";
echo "<td align='left' width='100%' nowrap><b>".$text['title']."</b></td>\n";
echo "<td nowrap='nowrap'>\n";
echo " <input type='button' class='btn' onclick=\"window.location='".$_SESSION['login']['destination']['url']."'\" value='".$text['button-back']."'>";
if (strlen($_SESSION['login']['destination']['url']) > 0) {
echo " <input type='button' class='btn' onclick=\"window.location='".$_SESSION['login']['destination']['url']."'\" value='".$text['button-back']."'>";
}
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>";
echo "</td>\n";
echo "</tr>\n";