Vorlage:Steps: Unterschied zwischen den Versionen

Aus Afterbuy-Wiki
Wechseln zu:Navigation, Suche
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 8: Zeile 8:
 
  if(trim($line)!=""){
 
  if(trim($line)!=""){
 
  $cells=explode('::',trim($line));
 
  $cells=explode('::',trim($line));
  $out='<tr class="border-bottom mb-2"><td width="1%" class="p-3 m-3" valign="top"><span class="fa-stack fa-lg" style="color:#edb800"><span class="fa fa-circle fa-stack-2x" style="color:#edb800"></span><strong class="fa-stack-1x" style="color:white;font-size:20px;">'.trim($cells[0]).'</strong></span></td><td>';
+
  $out='<tr class="border-bottom mb-2 pb-2"><td width="1%" class="p-3 m-3" valign="top"><span class="fa-stack fa-lg" style="color:#edb800"><span class="fa fa-circle fa-stack-2x" style="color:#edb800"></span><strong class="fa-stack-1x" style="color:white;font-size:20px;">'.trim($cells[0]).'</strong></span></td><td>';
 
  if(isset($cells[2]) && trim($cells[2])!=""){
 
  if(isset($cells[2]) && trim($cells[2])!=""){
 
  $out.='<div class="pt-2 mt-3 font-weight-bold h4">'.trim($cells[2]).'</div>';
 
  $out.='<div class="pt-2 mt-3 font-weight-bold h4">'.trim($cells[2]).'</div>';
 
  }
 
  }
  $out.=chr(10).trim($cells[1]).'</td></tr>';
+
  $out.=chr(10).trim($cells[1]).'<br /><br /></td></tr>';
 
  echo $out;
 
  echo $out;
 
  }
 
  }

Aktuelle Version vom 4. Juni 2021, 07:21 Uhr