From f594043ecd6c117a11dc183db7eae0581d57b106 Mon Sep 17 00:00:00 2001 From: "Acer4830\\Sergio" Date: Sat, 27 Aug 2016 18:03:03 +0300 Subject: [PATCH 1/5] generates IFRAME code (just plain text) --- formats/iframelink.php | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 formats/iframelink.php diff --git a/formats/iframelink.php b/formats/iframelink.php new file mode 100644 index 0000000..fce2c91 --- /dev/null +++ b/formats/iframelink.php @@ -0,0 +1,33 @@ +'; + $iframe = $s.$f; + + $html = +'IFRAME export'. +'

If you would like to link to this route, just copy the code and past it into your source code:

'. +'

'.htmlspecialchars($iframe).'

'. +''; + return $html; + } + + public function test( $header ) { + return false; + } + + public function import( $file ) { + } +} + +$formats['iframelink'] = new IFrameLinkFormat(); From ad272a53bd3d2e6a947e2e7e442f8da34e4878ad Mon Sep 17 00:00:00 2001 From: "Acer4830\\Sergio" Date: Sat, 27 Aug 2016 18:55:03 +0300 Subject: [PATCH 2/5] rename class --- formats/iframelink.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/formats/iframelink.php b/formats/iframelink.php index fce2c91..ec1ea5b 100644 --- a/formats/iframelink.php +++ b/formats/iframelink.php @@ -1,6 +1,6 @@ Date: Sat, 27 Aug 2016 18:58:00 +0300 Subject: [PATCH 3/5] rename file --- formats/{iframelink.php => iframecode.php} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename formats/{iframelink.php => iframecode.php} (100%) diff --git a/formats/iframelink.php b/formats/iframecode.php similarity index 100% rename from formats/iframelink.php rename to formats/iframecode.php From 902b34c4ef9014bed085c8d21676f4a8f9b6d589 Mon Sep 17 00:00:00 2001 From: "Acer4830\\Sergio" Date: Sat, 27 Aug 2016 21:04:13 +0300 Subject: [PATCH 4/5] iframe code placed into the textarea --- formats/iframecode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formats/iframecode.php b/formats/iframecode.php index ec1ea5b..84f76b5 100644 --- a/formats/iframecode.php +++ b/formats/iframecode.php @@ -17,7 +17,7 @@ public function export( $data ) { $html = 'IFRAME export'. '

If you would like to link to this route, just copy the code and past it into your source code:

'. -'

'.htmlspecialchars($iframe).'

'. +'

'. ''; return $html; } From 90b217a64f7a10acd3d58ad047849115fa18e8e8 Mon Sep 17 00:00:00 2001 From: "Acer4830\\Sergio" Date: Sun, 28 Aug 2016 00:08:24 +0300 Subject: [PATCH 5/5] fix typo --- formats/iframecode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formats/iframecode.php b/formats/iframecode.php index 84f76b5..b93e609 100644 --- a/formats/iframecode.php +++ b/formats/iframecode.php @@ -16,7 +16,7 @@ public function export( $data ) { $html = 'IFRAME export'. -'

If you would like to link to this route, just copy the code and past it into your source code:

'. +'

If you would like to link to this route, just copy the code and paste it into your source code:

'. '

'. ''; return $html;