Vorlage:AB: Unterschied zwischen den Versionen

Aus Afterbuy-Wiki
Wechseln zu:Navigation, Suche
Zeile 1: Zeile 1:
 
<phptag>
 
<phptag>
 +
$quotes=array('„','“',"'",'"');
 
if(is_array($argv) && !empty($argv)){
 
if(is_array($argv) && !empty($argv)){
 
array_shift($argv);
 
array_shift($argv);
Zeile 8: Zeile 9:
 
         $content="Afterbuy-Element (?)";
 
         $content="Afterbuy-Element (?)";
 
         if(isset($argv[1]) && trim($argv[1])!=""){
 
         if(isset($argv[1]) && trim($argv[1])!=""){
           $content=str_replace('"','',trim($argv[1]));
+
           $content=str_replace($quotes,'',trim($argv[1]));
 
         }
 
         }
 
         $content=str_replace('(?)','<html>&nbsp;<span style="color:#547392;"><i class="fas fa-question-circle"></i></span>&nbsp;</html>',$content);
 
         $content=str_replace('(?)','<html>&nbsp;<span style="color:#547392;"><i class="fas fa-question-circle"></i></span>&nbsp;</html>',$content);

Version vom 3. August 2021, 07:27 Uhr

Afterbuy-Element