Vergleich admin/modules/style/templates.php - 1.8.4 - 1.8.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1738Zeile 1738
		"title" => $lang->ungrouped_templates,
"gid" => -1
);

		"title" => $lang->ungrouped_templates,
"gid" => -1
);

 

// Set the template group keys to lowercase for case insensitive comparison.
$template_groups = array_change_key_case($template_groups, CASE_LOWER);


// Load the list of templates
$query = $db->simple_select("templates", "*", "sid='".$mybb->get_input('sid', MyBB::INPUT_INT)."' OR sid='-2'", array('order_by' => 'sid DESC, title', 'order_dir' => 'ASC'));
while($template = $db->fetch_array($query))
{
$exploded = explode("_", $template['title'], 2);


// Load the list of templates
$query = $db->simple_select("templates", "*", "sid='".$mybb->get_input('sid', MyBB::INPUT_INT)."' OR sid='-2'", array('order_by' => 'sid DESC, title', 'order_dir' => 'ASC'));
while($template = $db->fetch_array($query))
{
$exploded = explode("_", $template['title'], 2);

 

// Set the prefix to lowercase for case insensitive comparison.
$exploded[0] = strtolower($exploded[0]);


if(isset($template_groups[$exploded[0]]))
{


if(isset($template_groups[$exploded[0]]))
{