GetParameter('cardsperpage'); if (empty($nbcardsperpage)) { $nbcardsperpage = 4; } $relation = $this->wiki->getParameter('relation'); if (empty($relation)) { $relation = $this->wiki->config['qrcode_config']['default_relation_type']; } $entityType = $this->wiki->getParameter('entity'); if (empty($entityType)) { $entityType = $this->wiki->config['qrcode_config']['default_entity_type']; } $entityForm = $this->wiki->getParameter('entityform'); if (empty($entityForm)) { $entityForm = $this->wiki->config['qrcode_config']['default_entity_form']; } $logo = $this->wiki->getParameter('logo'); if (empty($logo)) { $logo = 'themes/margot/images/favicon.png'; } if (count($fiches)>0) : ?>
'; ?>
> href('', 'QRcodeScan').'&id='.$entityForm.'&'.$entityType.'='.$fiche['id_fiche']; $cacheImage = 'cache'.DIRECTORY_SEPARATOR.'qrcodebadge-'.$GLOBALS['wiki']->getPageTag().'-'.md5($qrcode).'.svg'; if (!file_exists($cacheImage) || (!empty($_GET['refresh']) && $_GET['refresh']=='1')) { $GLOBALS['qrcode']->encoding('UTF-8')->errorCorrection('H')->generate( $qrcode, $cacheImage ); } ?>

qrcode
'; } ?> ';} ?>