The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I'm using html files as templates rather than the database. I use a text box in a PHP file to edit the HTML templates. I type in regular HTML, but when I go back to see the text box it has a slash in before EVERY quote. It gets rather annoying as it messes up my links in those templates. I know there's a code that removes those slashes but I haven't found it. Any help would be appreciated, thank you.
|
#2
|
||||
|
||||
![]() Code:
$text = stripslashes($text); |
#3
|
||||
|
||||
![]() Quote:
Code:
<?php if($_POST['admin_nav']){ $template = $_POST['admin_nav']; $filename = "admin_nav.htm"; }elseif($_POST['site_navbar']){ $template = $_POST['site_navbar']; $filename = "site_navbar.htm"; } $filePointer = fopen("../templates/$filename", "w"); fputs($filePointer,"$template\r\n"); fclose($filePointer); $template = stripslashes($template); ?> ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|