* Modify the back link of the testtask.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user