~ubuntu-branches/ubuntu/utopic/phpmyadmin/utopic

« back to all changes in this revision

Viewing changes to libraries/display_export.lib.php

  • Committer: Package Import Robot
  • Author(s): Michal Čihař
  • Date: 2014-04-29 10:34:13 UTC
  • mfrom: (1.2.54)
  • Revision ID: package-import@ubuntu.com-20140429103413-2l1oxrb5pd8tt7vn
Tags: 4:4.1.14-1
* New upstream release.
* Correct conditions for using modules features in Apache configuration
  (Closes: #719754).

Show diffs side-by-side

added added

removed removed

Lines of Context:
291
291
        __('SQL compatibility mode'), 'mysql', '50027', '14515'
292
292
    );
293
293
    global $cfg;
294
 
    $html .= '<input type="submit" value="' . __('Go') . '" id="buttonGo" onclick="check_time_out('.$cfg['ExecTimeLimit'].')"/>';
 
294
    if ($cfg['ExecTimeLimit'] > 0) {
 
295
        $html .= '<input type="submit" value="' . __('Go')
 
296
            . '" id="buttonGo" onclick="check_time_out('
 
297
            . $cfg['ExecTimeLimit'] . ')"/>';
 
298
    } else {
 
299
        // if the time limit set is zero, then time out won't occur
 
300
        // So no need to check for time out.
 
301
        $html .= '<input type="submit" value="' . __('Go') . '" id="buttonGo" />';
 
302
    }
295
303
    $html .= '</div>';
296
304
 
297
305
    return $html;