Vergleich admin/modules/style/templates.php - 1.4.0 - 1.4.3

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 25Zeile 25
if(isset($mybb->input['expand']))
{
$expand_array = explode("|", $mybb->input['expand']);

if(isset($mybb->input['expand']))
{
$expand_array = explode("|", $mybb->input['expand']);

	array_map("intval", $expand_array);

	$expand_array = array_map("intval", $expand_array);

	$expand_str = "&expand=".implode("|", $expand_array);
$expand_str2 = "&expand=".implode("|", $expand_array);
}

	$expand_str = "&expand=".implode("|", $expand_array);
$expand_str2 = "&expand=".implode("|", $expand_array);
}

Zeile 164Zeile 164
	{
if(empty($mybb->input['title']))
{

	{
if(empty($mybb->input['title']))
{

			$errors[] = $lang->error_missing_title;

			$errors[] = $lang->error_missing_set_title;

		}
else
{

		}
else
{

Zeile 574Zeile 574
						foreach($templates as $title => $template)
{
// Do replacement

						foreach($templates as $title => $template)
{
// Do replacement

							$newtemplate = str_replace($mybb->input['find'], $mybb->input['replace'], $template['template']);

							$newtemplate = str_ireplace($mybb->input['find'], $mybb->input['replace'], $template['template']);

							if($newtemplate != $template['template'])
{
// If the template is different, that means the search term has been found.

							if($newtemplate != $template['template'])
{
// If the template is different, that means the search term has been found.