2022-03-01 19:41:31 +01:00
< div id = " socialContainer " class = " tabContent " >
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
2022-09-13 09:46:03 +02:00
< h4 >
2022-09-29 19:20:10 +02:00
< ? php echo helper :: translate ( 'Capture d\'écran Open Graph' ); ?>
2021-11-03 16:49:35 +01:00
< span id = " specialeHelpButton " class = " helpDisplayButton " >
2022-09-29 08:45:59 +02:00
< a href = " https://doc.zwiicms.fr/referencement " target = " _blank " title = " Cliquer pour consulter l'aide en ligne " >
< ? php echo template :: ico ( 'help' , [ 'margin' => 'left' ]); ?>
2021-11-04 18:49:15 +01:00
</ a >
2021-11-03 16:49:35 +01:00
</ span >
</ h4 >
2021-10-30 12:31:24 +02:00
< div class = " row " >
2022-09-30 14:34:25 +02:00
< div class = " col7 " >
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col12 " >
2022-08-29 14:15:08 +02:00
< ? php echo template :: text ( 'seoKeyApi' , [
'label' => 'Clé de l\'API <a href="https://app.screenshotapi.net/" target="_blank">ScreenShotApi</a>' ,
'value' => $this -> getData ([ 'config' , 'seo' , 'keyApi' ]),
2022-09-30 14:34:25 +02:00
'help' => 'Créez un compte gratuit, recopier la clé , puis valider le formulaire avant de cliquer sur le bouton de génération' ,
'placeholder' => 'XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX'
2021-10-30 12:31:24 +02:00
]); ?>
</ div >
2021-10-29 18:34:01 +02:00
</ div >
2021-10-30 12:31:24 +02:00
< div class = " row " >
2022-09-30 14:34:25 +02:00
< div class = " col6 offset3 " >
2022-08-29 14:15:08 +02:00
< ? php echo template :: button ( 'socialMetaImage' , [
2022-09-29 08:45:59 +02:00
'href' => helper :: baseUrl () . 'config/configMetaImage' ,
'value' => 'Générer une capture Open Graph'
2021-10-30 12:31:24 +02:00
]); ?>
2021-10-29 18:34:01 +02:00
</ div >
2021-10-30 12:31:24 +02:00
</ div >
</ div >
2022-09-30 14:34:25 +02:00
< div class = " col5 " >
2022-09-29 08:45:59 +02:00
< ? php if ( file_exists ( self :: FILE_DIR . 'source/screenshot.jpg' )) : ?>
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col8 offset2 textAlignCenter " >
2022-09-29 08:45:59 +02:00
< img src = " <?php echo helper::baseUrl(false) . self::FILE_DIR . 'source/screenshot.jpg'; ?> " data - tippy - content = " Cette capture d'écran est nécessaire aux partages sur les réseaux sociaux. Elle est régénérée lorsque le fichier 'screenshot.jpg' est effacé du gestionnaire de fichiers. " />
2021-10-30 12:31:24 +02:00
</ div >
2022-09-29 08:45:59 +02:00
</ div >
< ? php endif ; ?>
2021-10-29 16:14:51 +02:00
</ div >
</ div >
</ div >
</ div >
</ div >
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
2022-09-13 09:46:03 +02:00
< h4 >
2022-09-29 19:20:10 +02:00
< ? php echo helper :: translate ( 'Référencement' ); ?>
2022-09-13 09:46:03 +02:00
</ h4 >
2022-08-29 14:15:08 +02:00
< div class = " row " >
< div class = " col4 offset1 " >
< ? php echo template :: button ( 'socialSiteMap' , [
'href' => helper :: baseUrl () . 'config/siteMap' ,
'value' => 'Générer sitemap.xml et robots.txt'
]); ?>
</ div >
< div class = " col4 offset1 " >
< ? php echo template :: checkbox ( 'seoRobots' , true , 'Autoriser les robots à référencer le site' , [
2022-09-29 08:45:59 +02:00
'checked' => $this -> getData ([ 'config' , 'seo' , 'robots' ])
2022-08-29 14:15:08 +02:00
]); ?>
</ div >
</ div >
</ div >
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
2022-09-13 09:46:03 +02:00
< h4 >
2022-09-29 19:20:10 +02:00
< ? php echo helper :: translate ( 'Réseaux sociaux' ); ?>
2021-11-03 16:49:35 +01:00
< span id = " specialeHelpButton " class = " helpDisplayButton " >
2022-09-29 08:45:59 +02:00
< a href = " https://doc.zwiicms.fr/reseaux-sociaux " target = " _blank " title = " Cliquer pour consulter l'aide en ligne " >
< ? php echo template :: ico ( 'help' , [ 'margin' => 'left' ]); ?>
2021-11-04 18:49:15 +01:00
</ a >
2021-11-03 16:49:35 +01:00
</ span >
</ h4 >
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col3 " >
2021-10-30 18:59:58 +02:00
< ? php echo template :: text ( 'socialFacebookId' , [
2021-10-30 12:31:24 +02:00
'help' => 'Saisissez votre ID : https://www.facebook.com/[ID].' ,
'label' => 'Facebook' ,
'value' => $this -> getData ([ 'config' , 'social' , 'facebookId' ])
]); ?>
</ div >
< div class = " col3 " >
2021-10-30 18:59:58 +02:00
< ? php echo template :: text ( 'socialInstagramId' , [
2021-10-30 12:31:24 +02:00
'help' => 'Saisissez votre ID : https://www.instagram.com/[ID].' ,
'label' => 'Instagram' ,
'value' => $this -> getData ([ 'config' , 'social' , 'instagramId' ])
]); ?>
</ div >
< div class = " col3 " >
2021-10-30 18:59:58 +02:00
< ? php echo template :: text ( 'socialYoutubeId' , [
2021-10-30 12:31:24 +02:00
'help' => 'ID de la chaîne : https://www.youtube.com/channel/[ID].' ,
'label' => 'Chaîne Youtube' ,
'value' => $this -> getData ([ 'config' , 'social' , 'youtubeId' ])
]); ?>
</ div >
< div class = " col3 " >
2021-10-30 18:59:58 +02:00
< ? php echo template :: text ( 'socialYoutubeUserId' , [
2021-10-30 12:31:24 +02:00
'help' => 'Saisissez votre ID Utilisateur : https://www.youtube.com/user/[ID].' ,
'label' => 'Youtube' ,
'value' => $this -> getData ([ 'config' , 'social' , 'youtubeUserId' ])
]); ?>
</ div >
2021-10-29 18:34:01 +02:00
</ div >
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col3 " >
2022-09-29 08:45:59 +02:00
< ? php echo template :: text ( 'socialTwitterId' , [
'help' => 'Saisissez votre ID : https://twitter.com/[ID].' ,
'label' => 'Twitter' ,
2021-10-30 12:31:24 +02:00
'value' => $this -> getData ([ 'config' , 'social' , 'twitterId' ])
2021-10-29 18:34:01 +02:00
]); ?>
2021-10-30 12:31:24 +02:00
</ div >
< div class = " col3 " >
2021-10-30 18:59:58 +02:00
< ? php echo template :: text ( 'socialPinterestId' , [
2021-10-30 12:31:24 +02:00
'help' => 'Saisissez votre ID : https://pinterest.com/[ID].' ,
'label' => 'Pinterest' ,
'value' => $this -> getData ([ 'config' , 'social' , 'pinterestId' ])
]); ?>
</ div >
< div class = " col3 " >
2021-10-30 18:59:58 +02:00
< ? php echo template :: text ( 'socialLinkedinId' , [
2021-10-30 12:31:24 +02:00
'help' => 'Saisissez votre ID Linkedin : https://fr.linkedin.com/in/[ID].' ,
'label' => 'Linkedin' ,
'value' => $this -> getData ([ 'config' , 'social' , 'linkedinId' ])
]); ?>
</ div >
< div class = " col3 " >
2022-09-29 08:45:59 +02:00
< ? php echo template :: text ( 'socialGithubId' , [
'help' => 'Saisissez votre ID Github : https://github.com/[ID].' ,
'label' => 'Github' ,
'value' => $this -> getData ([ 'config' , 'social' , 'githubId' ])
]); ?>
2021-10-30 12:31:24 +02:00
</ div >
2021-10-29 16:14:51 +02:00
</ div >
</ div >
</ div >
</ div >
2022-09-29 08:45:59 +02:00
</ div >