Skip to content

Commit

Permalink
Fixed issue #10151: Rename save button to save instead of load
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Dec 21, 2015
1 parent 30c2db9 commit 0a6e48c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion application/helpers/replacements_helper.php
Expand Up @@ -683,6 +683,12 @@ function PassthruReplace($line, $thissurvey)
return $line;
}

/**
* "Calculate" HTML for save links?
*
* @param string $move ?
* @return string ?
*/
function doHtmlSaveLinks($move="")
{
static $aSaveAllButtons=array();
Expand All @@ -701,7 +707,7 @@ function doHtmlSaveLinks($move="")
}

$sLoadButton = '<li><a href="#" id="loadallbtnlink" '.$aHtmlOptionsLoadall['disabled'].' >'.gT("Load unfinished survey").'</a></li>';
$sSaveButton = '<li><a href="#" id="loadallbtnlink" '.$aHtmlOptionsSaveall['disabled'].' >'.gT("Resume later").'</a></li>';
$sSaveButton = '<li><a href="#" id="saveallbtnlink" '.$aHtmlOptionsSaveall['disabled'].' >'.gT("Resume later").'</a></li>';

// Fill some test here, more clear ....
$bTokenanswerspersistence=$thissurvey['tokenanswerspersistence'] == 'Y' && tableExists('tokens_'.$surveyid);
Expand Down

0 comments on commit 0a6e48c

Please sign in to comment.