Zeile 164 | Zeile 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 574 | Zeile 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.
|