Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: templates.php 5390 2011-03-17 15:23:41Z Tomm $
| * $Id: templates.php 5812 2012-04-20 11:48:27Z Tomm $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 660 | Zeile 660 |
---|
{ // Do replacement $newtemplate = str_ireplace($mybb->input['find'], $mybb->input['replace'], $template['template']);
|
{ // Do replacement $newtemplate = str_ireplace($mybb->input['find'], $mybb->input['replace'], $template['template']);
|
if($newtemplate != $template['template'])
| if($newtemplate != $template['template'] && check_template($newtemplate) === false)
|
{ // If the template is different, that means the search term has been found. if(trim($mybb->input['replace']) != "")
| { // If the template is different, that means the search term has been found. if(trim($mybb->input['replace']) != "")
|