diff --git a/admin/bm.php b/admin/bm.php index f3f9277..6d52467 100644 --- a/admin/bm.php +++ b/admin/bm.php @@ -55,12 +55,10 @@ if ($user->isAdmin()) { if (!get_magic_quotes_gpc()) { $_POST["title"] = addslashes($_POST["title"]); $_POST["description"] = addslashes($_POST["description"]); - } - - $textile = new Textile(); - - $_POST["title"] = $textile->TextileThis(removeBadTags($_POST["title"])); - $_POST["description"] = $textile->TextileThis(removeBadTags($_POST["description"])); + } + + $_POST["title"] = removeBadTags($_POST["title"],true); + $_POST["description"] = removeBadTags($_POST["description"]); if ($tumble->addPost($_POST)) { $input = array("{type}"); @@ -109,7 +107,17 @@ if ($user->isAdmin()) {
-
- Bookmarklet -
+
+ Bookmarklet - " href="javascript:var w; setTimeout('w.focus()',100);w=window.open('urlGelato; ?>/admin/bm.php?url='+encodeURIComponent(location.href)+'&sel='+encodeURIComponent(window.getSelection()),'bookmarklet','toolbar=0,resizable=0,status=1,width=650,height=540,dependent=yes' ); w.focus();">
+
+
+
post" />