/** * Display untracked tables * * @param string $db current database * @param array $untracked_tables untracked tables * @param string $url_query url query string * @param string $pmaThemeImage path to theme's image folder * @param string $text_dir text direction * * @return void */ function PMA_displayUntrackedTables($db, $untracked_tables, $url_query, $pmaThemeImage, $text_dir) { ?> <h3><?php echo __('Untracked tables'); ?> </h3> <form method="post" action="db_tracking.php" name="untrackedForm" id="untrackedForm" class="ajax"> <?php echo URL::getHiddenInputs($db); ?> <table id="noversions" class="data"> <thead> <tr> <th></th> <th style="width: 300px"><?php echo __('Table'); ?> </th> <th><?php echo __('Action'); ?> </th> </tr> </thead> <tbody> <?php // Print out list of untracked tables $style = 'odd'; foreach ($untracked_tables as $key => $tablename) { $style = PMA_displayOneUntrackedTable($db, $tablename, $url_query, $style); } ?> </tbody> </table> <?php echo PMA\libraries\Template::get('select_all')->render(array('pmaThemeImage' => $pmaThemeImage, 'text_dir' => $text_dir, 'formName' => 'untrackedForm')); echo PMA\libraries\Util::getButtonOrImage('submit_mult', 'mult_submit', __('Track table'), 'eye.png', 'track'); ?> </form> <?php }
/** * Display untracked tables * * @param string $db current database * @param array $untracked_tables untracked tables * @param string $url_query url query string * @param string $pmaThemeImage path to theme's image folder * @param string $text_dir text direction * * @return void */ function PMA_displayUntrackedTables($db, $untracked_tables, $url_query, $pmaThemeImage, $text_dir) { ?> <h3><?php echo __('Untracked tables'); ?> </h3> <form method="post" action="db_tracking.php" name="untrackedForm" id="untrackedForm" class="ajax"> <?php echo PMA_URL_getHiddenInputs($db); ?> <table id="noversions" class="data"> <thead> <tr> <th></th> <th style="width: 300px"><?php echo __('Table'); ?> </th> <th><?php echo __('Action'); ?> </th> </tr> </thead> <tbody> <?php // Print out list of untracked tables $style = 'odd'; foreach ($untracked_tables as $key => $tablename) { $style = PMA_displayOneUntrackedTable($db, $tablename, $url_query, $style); } ?> </tbody> </table> <?php echo PMA_Util::getWithSelected($pmaThemeImage, $text_dir, "untrackedForm"); echo PMA_Util::getButtonOrImage('submit_mult', 'mult_submit', 'submit_mult_track', __('Track table'), 'eye.png', 'track'); ?> </form> <?php }