Location: PHPKode > projects > ZenTrack - project/bug tracking software > zentrack_2.6.4/includes/templates/autoLoginForm.php
  print "<p>";
  if( $zen->get_prefs($login_id,'autologin') ) {
    $txt = tr("Turn Off");
    $val = "off";
  else {
    $txt = tr("Turn On");
    $val = "on";
  $current = "<b>".($val == "on"? tr("OFF") : tr("ON"))."</b>";

<div class='heading'><?=tr("Change Auto-Login Setting")?></div>

<p><?= tr("The auto-login feature can remember your username and password when you return to ? in the future.", $zen->getSetting('system_name')) ?></p>

<p><?= tr("The auto-login is currently ? for your account.", $current) ?></p>

<form method="get" name='autoForm' action="<?=$rootUrl?>/misc/autologin.php">
  <table width="300" cellpadding="5">
    <td colspan="2" class="subTitle" align="center" height="20">
      <b><?=tr("Change Setting")?></b>
    <td class="bars" colspan="2">
      <? renderDivButton('ALT+O', false, 100, $txt); ?>
  <input type="hidden" name="setauto" value="<?=$val?>">
Return current item: ZenTrack - project/bug tracking software