2018-04-02 08:29:19 +02:00
< ? php echo template :: formOpen ( 'redirectionConfig' ); ?>
< div class = " row " >
< div class = " col2 " >
< ? php echo template :: button ( 'redirectionConfigBack' , [
'class' => 'buttonGrey' ,
'href' => helper :: baseUrl () . 'page/edit/' . $this -> getUrl ( 0 ),
'ico' => 'left' ,
'value' => 'Retour'
]); ?>
</ div >
< div class = " col2 offset8 " >
< ? php echo template :: submit ( 'redirectionConfigSubmit' ); ?>
</ div >
</ div >
< div class = " row " >
< div class = " col6 " >
< div class = " block " >
< h4 > Redirection </ h4 >
< ? php echo template :: text ( 'redirectionConfigUrl' , [
'label' => 'Lien de redirection' ,
'placeholder' => 'http://' ,
2020-05-08 10:00:05 +02:00
'value' => $this -> getData ([ 'module' , $this -> getUrl ( 0 ), 'url' ]),
'help' => 'Le lien de redirection peut contenir une URL standard, ou pointer vers l\'ancre d\'une page du site <em>(/page#ancre)</em> ; <em>(/?page#ancre)</em>'
2018-04-02 08:29:19 +02:00
]); ?>
</ div >
</ div >
< div class = " col6 " >
< div class = " block " >
< h4 > Statistiques </ h4 >
< ? php echo template :: text ( 'redirectionConfigCount' , [
'disabled' => true ,
'label' => 'Nombre de redirection' ,
'value' => helper :: filter ( $this -> getData ([ 'module' , $this -> getUrl ( 0 ), 'count' ]), helper :: FILTER_INT )
]); ?>
</ div >
</ div >
</ div >
2019-02-14 15:17:03 +01:00
< ? php echo template :: formClose (); ?>
2019-11-26 19:09:12 +01:00
< div class = " moduleVersion " > Version n°
2019-02-14 15:17:03 +01:00
< ? php echo $module :: REDIRECTION_VERSION ; ?>
2019-02-14 17:54:02 +01:00
</ div >