Vergleich admin/modules/style/templates.php - 1.6.13 - 1.6.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 493Zeile 493
		$query = $db->simple_select("templates", "*", "title='".$db->escape_string($mybb->input['title'])."' AND (sid='-2' OR sid='{$sid}')", array('order_by' => 'sid', 'order_dir' => 'DESC', 'limit' => 1));
$template = $db->fetch_array($query);
}

		$query = $db->simple_select("templates", "*", "title='".$db->escape_string($mybb->input['title'])."' AND (sid='-2' OR sid='{$sid}')", array('order_by' => 'sid', 'order_dir' => 'DESC', 'limit' => 1));
$template = $db->fetch_array($query);
}

 
	$template['title'] = htmlspecialchars_uni($template['title']);


if($admin_options['codepress'] != 0)
{


if($admin_options['codepress'] != 0)
{

Zeile 1219Zeile 1220

$sub_tabs['diff_report'] = array(
'title' => $lang->diff_report,


$sub_tabs['diff_report'] = array(
'title' => $lang->diff_report,

		'link' => "index.php?module=style-templates&action=diff_report&title=".$db->escape_string($mybb->input['title'])."&from=".$mybb->input['from']."sid1=".intval($mybb->input['sid1'])."&sid2=".intval($mybb->input['sid2']),

		'link' => "index.php?module=style-templates&action=diff_report&title=".$db->escape_string($mybb->input['title'])."&from=".htmlspecialchars_uni($mybb->input['from'])."sid1=".intval($mybb->input['sid1'])."&sid2=".intval($mybb->input['sid2']),

		'description' => $lang->diff_report_desc
);


		'description' => $lang->diff_report_desc
);


Zeile 1267Zeile 1268
		$page->add_breadcrumb_item($lang->find_updated, "index.php?module=style-templates&action=find_updated");
}


		$page->add_breadcrumb_item($lang->find_updated, "index.php?module=style-templates&action=find_updated");
}


	$page->add_breadcrumb_item($lang->diff_report.": ".$template1['title'], "index.php?module=style-templates&action=diff_report&title=".$db->escape_string($mybb->input['title'])."&from=".$mybb->input['from']."&sid1=".intval($mybb->input['sid1'])."&sid2=".intval($mybb->input['sid2']));

	$page->add_breadcrumb_item($lang->diff_report.": ".htmlspecialchars_uni($template1['title']), "index.php?module=style-templates&action=diff_report&title=".$db->escape_string($mybb->input['title'])."&from=".htmlspecialchars_uni($mybb->input['from'])."&sid1=".intval($mybb->input['sid1'])."&sid2=".intval($mybb->input['sid2']));


$page->output_header($lang->template_sets);



$page->output_header($lang->template_sets);


Zeile 1405Zeile 1406
	$query = $db->simple_select("templategroups", "*");
while($templategroup = $db->fetch_array($query))
{

	$query = $db->simple_select("templategroups", "*");
while($templategroup = $db->fetch_array($query))
{

		$templategroup['title'] = $lang->parse($templategroup['title'])." ".$lang->templates;

		$templategroup['title'] = htmlspecialchars_uni($lang->parse($templategroup['title']))." ".$lang->templates;

		if($mybb->input['expand'] == 'all')
{
$expand_array[] = $templategroup['gid'];

		if($mybb->input['expand'] == 'all')
{
$expand_array[] = $templategroup['gid'];