diff --git a/classes.php b/classes.php index 5385272..d863df9 100644 --- a/classes.php +++ b/classes.php @@ -83,21 +83,6 @@ class ActionBase64Encode extends AbstractAction } } -class ActionDoubleEntityDecode extends AbstractAction -{ - public function __construct( $value ) - { - parent::__construct( $value ); - $this->setContainer( new TextareaContainer ); - $this->setFormatter( new EchoFormatter ); - } - - public function decode() - { - return html_entity_decode( html_entity_decode( $this->value, ENT_QUOTES, 'UTF-8' ), ENT_QUOTES, 'UTF-8' ); - } -} - class ActionBase64Decode extends AbstractAction { public function __construct( $value ) diff --git a/index.php b/index.php index f306cc3..da663fe 100644 --- a/index.php +++ b/index.php @@ -1,9 +1,9 @@ - - PHP Tools - + + PHP Tools + @@ -23,37 +23,36 @@ $action = null; $action_str = isset($_POST['action']) ? $_POST['action'] : null; if( 'POST' === $_SERVER['REQUEST_METHOD'] ) { - $class = "Action" . $action_str; - $action = new $class( $_POST['data'] ); + $class = "Action" . $action_str; + $action = new $class( $_POST['data'] ); } ?>
-
-
-
- - -
-
- +
+
+
+ + +
+
+

Randomness