From 7e6dd96671ea97b140307273cf02228980d5c641 Mon Sep 17 00:00:00 2001 From: Jacob Kuuhaku Date: Thu, 3 Oct 2019 15:14:24 -0300 Subject: [PATCH] added extrator of icons names --- tools/extrator.php | 105 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 tools/extrator.php diff --git a/tools/extrator.php b/tools/extrator.php new file mode 100644 index 0000000..95d4739 --- /dev/null +++ b/tools/extrator.php @@ -0,0 +1,105 @@ + -1 && (isset($_POST['isTag']) || strpos($class,':before') > -1 || strpos($class,':after') > -1)){ + foreach(explode(',',$class) as $c){ + if(removeSpecial($c) == removeSpecial($_POST['preflix_class'])) continue; + $v = str_replace(array_merge([":before",":after"],$rPrefix),[""],$c); + $extracts[] = trim(isset($_POST['isHTML']) ? str_replace(['.'], " ", $v) : $v); + } + } + } +} + +echo ' +'.$title.' + + + + + +
+
+

'.$title.'

+
+ + '.(isset($extracts)&&!$extracts?'
No class results

':'').' +
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+
+ +
'; + if(isset($extracts)&&$extracts){ + echo '
+ + + +
'; + xflush(); + } + echo '
+
+
'; + +echo ''; \ No newline at end of file