Vergleich admin/modules/config/questions.php - 1.8.8 - 1.8.20

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 293Zeile 293
	$table = new Table;
$table->construct_header($lang->question);
$table->construct_header($lang->answers, array("width" => "35%"));

	$table = new Table;
$table->construct_header($lang->question);
$table->construct_header($lang->answers, array("width" => "35%"));

 
	$table->construct_header($lang->shown, array("width" => "5%", "class" => "align_center"));

	$table->construct_header($lang->correct, array("width" => "5%", "class" => "align_center"));
$table->construct_header($lang->incorrect, array("width" => "5%", "class" => "align_center"));
$table->construct_header($lang->controls, array("class" => "align_center", "width" => 150));

	$table->construct_header($lang->correct, array("width" => "5%", "class" => "align_center"));
$table->construct_header($lang->incorrect, array("width" => "5%", "class" => "align_center"));
$table->construct_header($lang->controls, array("class" => "align_center", "width" => 150));

Zeile 303Zeile 304
		$questions['question'] = htmlspecialchars_uni($questions['question']);
$questions['answer'] = htmlspecialchars_uni($questions['answer']);
$questions['answer'] = preg_replace("#(\n)#s", "<br />", trim($questions['answer']));

		$questions['question'] = htmlspecialchars_uni($questions['question']);
$questions['answer'] = htmlspecialchars_uni($questions['answer']);
$questions['answer'] = preg_replace("#(\n)#s", "<br />", trim($questions['answer']));

 
		$questions['shown'] = my_number_format($questions['shown']);

		$questions['correct'] = my_number_format($questions['correct']);
$questions['incorrect'] = my_number_format($questions['incorrect']);


		$questions['correct'] = my_number_format($questions['correct']);
$questions['incorrect'] = my_number_format($questions['incorrect']);


Zeile 317Zeile 319

$table->construct_cell("<div>{$icon}{$questions['question']}</div>");
$table->construct_cell($questions['answer']);


$table->construct_cell("<div>{$icon}{$questions['question']}</div>");
$table->construct_cell($questions['answer']);

 
		$table->construct_cell($questions['shown'], array("class" => "align_center"));

		$table->construct_cell($questions['correct'], array("class" => "align_center"));
$table->construct_cell($questions['incorrect'], array("class" => "align_center"));
$popup = new PopupMenu("questions_{$questions['qid']}", $lang->options);

		$table->construct_cell($questions['correct'], array("class" => "align_center"));
$table->construct_cell($questions['incorrect'], array("class" => "align_center"));
$popup = new PopupMenu("questions_{$questions['qid']}", $lang->options);

Zeile 336Zeile 339

if($table->num_rows() == 0)
{


if($table->num_rows() == 0)
{

		$table->construct_cell($lang->no_security_questions, array('colspan' => 5));

		$table->construct_cell($lang->no_security_questions, array('colspan' => 6));

		$table->construct_row();
}


		$table->construct_row();
}