aide news
This commit is contained in:
parent
9cc84e7243
commit
51ff63e18b
|
@ -31,6 +31,8 @@ $text['news_view']['config'][28] = "Are you sure you want to delete this news ?
|
|||
$text['news_view']['config'][29] = "This setting only concerns paragraphs or groups of simple paragraphs (p tag). A title, an image or an iframe are not concerned. In a truncated paragraph all html tags disappear (no formatting, no links). For links use images or h2, h3,... ";
|
||||
$text['news_view']['config'][30] = "Image or iframe without margin";
|
||||
$text['news_view']['config'][31] = "An image or iframe will appear without margin, otherwise the margins are identical to those of a paragraph";
|
||||
$text['news_view']['config'][32] = 'Help';
|
||||
$text['news_view']['config'][33] = 'module/news/view/config/config.help_en.html';
|
||||
$text['news_view']['index'][0] = 'read more';
|
||||
$text['news_view']['index'][1] = 'No news.';
|
||||
$text['news_view']['index'][2] = ' Edit';
|
||||
|
|
|
@ -31,6 +31,8 @@ $text['news_view']['config'][28] = "Êtes-vous sûr de vouloir supprimer cette n
|
|||
$text['news_view']['config'][29] = "Ce réglage ne concerne que les paragraphes ou les groupes de paragraphes simples (balise p). Un titre, une image, un iframe ne sont pas concernés. Dans un paragraphe tronqué toutes les balises html disparaissent (pas de mise en forme, pas de liens). Pour les liens utilisez les images ou h2, h3,...";
|
||||
$text['news_view']['config'][30] = "Image ou iframe sans marge";
|
||||
$text['news_view']['config'][31] = "Une image ou un iframe apparaîtront sans marge, sinon les marges sont identiques à celles d'un paragraphe";
|
||||
$text['news_view']['config'][32] = 'Aide';
|
||||
$text['news_view']['config'][33] = 'module/news/view/config/config.help.html';
|
||||
$text['news_view']['index'][0] = 'lire la suite';
|
||||
$text['news_view']['index'][1] = 'Aucune news.';
|
||||
$text['news_view']['index'][2] = ' Editer';
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
<h2>NEWS</h2>
|
||||
<iframe title="news_FR" src="https://video.ploud.fr/videos/embed/8d4973fc-9ee9-4ea5-ac08-bb181230255a" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups" width="560" height="315" frameborder="0"></iframe>
|
|
@ -0,0 +1,2 @@
|
|||
<h2>NEWS</h2>
|
||||
<iframe title="news_EN" src="https://video.ploud.fr/videos/embed/b651fc5e-3909-4e9b-88a1-5a105068d0cf" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups" width="560" height="315" frameborder="0"></iframe>
|
|
@ -12,7 +12,14 @@ echo template::formOpen('newsConfig'); ?>
|
|||
'value' => $text['news_view']['config'][0]
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col2 <?php echo ($this->getUser('group') < self::GROUP_MODERATOR ? 'offset8' : 'offset6'); ?> ">
|
||||
<div class="col2">
|
||||
<?php echo template::button('newsIndexHelp', [
|
||||
'class' => 'buttonHelp',
|
||||
'ico' => 'help',
|
||||
'value' => $text['news_view']['config'][32]
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col2 <?php echo ($this->getUser('group') < self::GROUP_MODERATOR ? 'offset6' : 'offset4'); ?> ">
|
||||
<?php echo template::button('newsConfigAdd', [
|
||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/add',
|
||||
'ico' => 'plus',
|
||||
|
@ -25,6 +32,10 @@ echo template::formOpen('newsConfig'); ?>
|
|||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Aide à propos de la configuration de news, view config -->
|
||||
<div class="helpDisplayContent">
|
||||
<?php echo file_get_contents( $text['news_view']['config'][33]) ;?>
|
||||
</div>
|
||||
<div class="row <?php if($this->getUser('group') < self::GROUP_MODERATOR) echo 'displayNone'; ?> ">
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
|
|
Loading…
Reference in New Issue