2021-10-30 18:12:34 +02:00
< div id = " socialContainer " >
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
< h4 > Paramètres </ h4 >
< div class = " row " >
< div class = " col4 offset1 " >
< div class = " row " >
< div class = " col12 " >
2021-10-30 12:48:29 +02:00
< ? php echo template :: button ( 'MetaImage' , [
2021-10-30 12:31:24 +02:00
'href' => helper :: baseUrl () . 'config/configMetaImage' ,
'value' => 'Générer une capture Open Graph'
]); ?>
</ div >
2021-10-29 18:34:01 +02:00
</ div >
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col12 " >
2021-10-30 12:48:29 +02:00
< ? php echo template :: button ( 'SiteMap' , [
2021-10-30 12:31:24 +02:00
'href' => helper :: baseUrl () . 'config/generateFiles' ,
'value' => 'Générer sitemap.xml et robots.txt'
]); ?>
</ div >
2021-10-29 18:34:01 +02:00
</ div >
< div class = " row " >
2021-10-30 12:31:24 +02:00
< div class = " col12 " >
2021-10-30 12:48:29 +02:00
< ? php echo template :: checkbox ( 'SeoRobots' , true , 'Autoriser les robots à référencer le site' , [
2021-10-30 12:31:24 +02:00
'checked' => $this -> getData ([ 'config' , 'seo' , 'robots' ])
]); ?>
2021-10-29 18:34:01 +02:00
</ div >
2021-10-30 12:31:24 +02:00
</ div >
</ div >
< div class = " col6 offset1 " >
< ? php if ( file_exists ( self :: FILE_DIR . 'source/screenshot.jpg' )) : ?>
< div class = " row " >
< div class = " col8 offset2 textAlignCenter " >
< 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. " />
</ div >
</ 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 " >
< h4 > Réseaux sociaux </ h4 >
< div class = " row " >
< div class = " col3 " >
2021-10-30 12:48:29 +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 12:48:29 +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 12:48:29 +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 12:48:29 +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 " >
2021-10-30 12:48:29 +02:00
< ? php echo template :: text ( 'SocialTwitterId' , [
2021-10-30 12:31:24 +02:00
'help' => 'Saisissez votre ID : https://twitter.com/[ID].' ,
'label' => 'Twitter' ,
'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 12:48:29 +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 12:48:29 +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 " >
2021-10-30 12:48:29 +02:00
< ? php echo template :: text ( 'SocialGithubId' , [
2021-10-30 12:31:24 +02:00
'help' => 'Saisissez votre ID Github : https://github.com/[ID].' ,
'label' => 'Github' ,
'value' => $this -> getData ([ 'config' , 'social' , 'githubId' ])
]); ?>
</ div >
2021-10-29 16:14:51 +02:00
</ div >
</ div >
</ div >
</ div >
2021-10-30 12:31:24 +02:00
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
< h4 > Scripts externes </ h4 >
< div class = " row " >
< div class = " col3 " >
2021-10-30 12:48:29 +02:00
< ? php echo template :: text ( 'AnalyticsId' , [
2021-10-30 12:31:24 +02:00
'help' => 'Saisissez l\'ID de suivi.' ,
'label' => 'Google Analytics' ,
'placeholder' => 'UA-XXXXXXXX-X' ,
'value' => $this -> getData ([ 'config' , 'analyticsId' ])
]); ?>
</ div >
< div class = " col3 offset3 verticalAlignBottom " >
2021-10-30 12:48:29 +02:00
< ? php echo template :: button ( 'ScriptHead' , [
2021-10-30 12:31:24 +02:00
'href' => helper :: baseUrl () . 'config/script/head' ,
'value' => 'Script dans head' ,
'ico' => 'pencil'
]); ?>
</ div >
< div class = " col3 verticalAlignBottom " >
2021-10-30 12:48:29 +02:00
< ? php echo template :: button ( 'ScriptBody' , [
2021-10-30 12:31:24 +02:00
'href' => helper :: baseUrl () . 'config/script/body' ,
'value' => 'Script dans body' ,
'ico' => 'pencil'
2021-10-29 18:34:01 +02:00
]); ?>
2021-10-30 12:31:24 +02:00
</ div >
2021-10-29 16:14:51 +02:00
</ div >
</ div >
</ div >
</ div >
</ div >