Exemplo n.º 1
0
function setup_back_button($current = null)
{
    $prevSteps = array('getDbInfo' => '', 'getTxpLogin' => 'getDbInfo', 'printConfig' => 'getDbInfo', 'createTxp' => 'getTxpLogin', 'fbCreate' => 'createTxp');
    $prev = isset($prevSteps[$current]) ? $prevSteps[$current] : '';
    return graf(setup_gTxt('please_go_back')) . n . graf('<form action="' . txpspecialchars($_SERVER['PHP_SELF']) . '" method="post">' . sInput($prev) . fInput('submit', 'submit', setup_gTxt('back'), 'navlink') . '</form>');
}
Exemplo n.º 2
0
function setup_back_button()
{
    return graf(setup_gTxt('please_go_back')) . n . graf('<a class="navlink" href="javascript:history.back()">' . setup_gTxt('back') . '</a>');
}