* Modify the back link of the testtask.

This commit is contained in:
tianshujie
2021-08-30 16:04:50 +08:00
parent 8e93990427
commit 7d95dc55d9
3 changed files with 2 additions and 4 deletions
-2
View File
@@ -505,8 +505,6 @@ class baseHTML
$gobackList = isset($_COOKIE['goback']) ? json_decode($_COOKIE['goback'], true) : array();
$gobackLink = isset($gobackList[$tab]) ? $gobackList[$tab] : '';
if(strpos($misc, 'data-app') === false) $misc .= ' data-app="' . $tab . '"';
/* If the link of the referer is not the link of the current page or the link of the index, the cookie and gobackLink will be updated. */
if(!preg_match("/(m=|\/)(index|search|$currentModule)(&f=|-)(index|buildquery|$currentMethod)(&|-|\.)?/", $refererLink))
{
+1 -1
View File
@@ -117,7 +117,7 @@
</tr>
<tr>
<td colspan='3' class='text-center form-actions'>
<?php echo html::submitButton() . ' ' . html::backButton();?>
<?php echo html::submitButton() . ' ' . html::backButton($lang->goback, "data-app='{$app->openApp}'");?>
</td>
</tr>
</tbody>
+1 -1
View File
@@ -105,7 +105,7 @@
<?php
echo html::hidden('editedDate', $doc->editedDate);
echo html::submitButton();
echo html::backButton();
echo html::backButton($lang->goback, "data-app='{$app->openApp}'");
?>
</td>
</tr>