Browse Source

'eventDisplayMode' --> 'articleDisplayMode'

Christophe HENRY 6 years ago
parent
commit
f484de374b
4 changed files with 6 additions and 6 deletions
  1. 1 1
      action.php
  2. 1 1
      install.php
  3. 1 1
      settings.php
  4. 3 3
      templates/marigolds/settings.html

+ 1 - 1
action.php

@@ -185,7 +185,7 @@ switch ($action){
             $configurationManager->put('articleDisplayAuthor',$_['articleDisplayAuthor']);
             $configurationManager->put('articleDisplayHomeSort',$_['articleDisplayHomeSort']);
             $configurationManager->put('articleDisplayFolderSort',$_['articleDisplayFolderSort']);
-            $configurationManager->put('eventDisplayMode',$_['eventDisplayMode']);
+            $configurationManager->put('articleDisplayMode',$_['articleDisplayMode']);
             $configurationManager->put('synchronisationType',$_['synchronisationType']);
             $configurationManager->put('synchronisationEnableCache',$_['synchronisationEnableCache']);
             $configurationManager->put('synchronisationForceFeed',$_['synchronisationForceFeed']);

+ 1 - 1
install.php

@@ -198,8 +198,8 @@ if (isset($_['installButton']) && empty($test[$lib_errors])) { // Pas d'erreur,
     $configurationManager->add('articleDisplayAuthor','1');
     $configurationManager->add('articleDisplayHomeSort','1');
     $configurationManager->add('articleDisplayFolderSort','1');
+    $configurationManager->add('articleDisplayMode','summary');
     $configurationManager->add('displayOnlyUnreadFeedFolder','false');
-    $configurationManager->add('eventDisplayMode','summary');
     $configurationManager->add('optionFeedIsVerbose',1);
     $configurationManager->add('synchronisationType','auto');
     $configurationManager->add('feedMaxEvents','50');

+ 1 - 1
settings.php

@@ -23,7 +23,7 @@ $tpl->assign('articleDisplayHomeSort', $configurationManager->get('articleDispla
 $tpl->assign('articleDisplayFolderSort', $configurationManager->get('articleDisplayFolderSort'));
 $tpl->assign('articleDisplayContent', $configurationManager->get('articleDisplayContent'));
 $tpl->assign('articleView', $configurationManager->get('articleView'));
-$tpl->assign('eventDisplayMode', $configurationManager->get('eventDisplayMode'));
+$tpl->assign('articleDisplayMode', $configurationManager->get('articleDisplayMode'));
 $tpl->assign('optionFeedIsVerbose', $configurationManager->get('optionFeedIsVerbose'));
 
 //Suppression de l'état des plugins inexistants

+ 3 - 3
templates/marigolds/settings.html

@@ -221,9 +221,9 @@
                         </fieldset>
                         <fieldset>
                             <legend>{function="_t('SHOW_EVENT_CONTENT')"}</legend>
-                            <input type="radio" {if="$eventDisplayMode=='title'"} checked="checked" {/if} value="title" id="eventDisplayModeTitle" name="eventDisplayMode" /><label for="eventDisplayModeTitle">Title</label>
-                            <input type="radio" {if="$eventDisplayMode=='summary'"} checked="checked" {/if} value="summary" id="eventDisplayModeSummary" name="eventDisplayMode" /><label for="eventDisplayModeSummary">Summary</label>
-                            <input type="radio" {if="$eventDisplayMode=='content'"} checked="checked" {/if} value="content" id="eventDisplayModeContent" name="eventDisplayMode" /><label for="eventDisplayModeContent">Content</label>
+                            <input type="radio" {if="$articleDisplayMode=='title'"} checked="checked" {/if} value="title" id="articleDisplayModeTitle" name="articleDisplayMode" /><label for="articleDisplayModeTitle">Title</label>
+                            <input type="radio" {if="$articleDisplayMode=='summary'"} checked="checked" {/if} value="summary" id="articleDisplayModeSummary" name="articleDisplayMode" /><label for="articleDisplayModeSummary">Summary</label>
+                            <input type="radio" {if="$articleDisplayMode=='content'"} checked="checked" {/if} value="content" id="articleDisplayModeContent" name="articleDisplayMode" /><label for="articleDisplayModeContent">Content</label>
                         </fieldset>
                         <fieldset>
                             <legend>{function="_t('KEEP_LAST_X_EVENTS_FEED',array('<input type="text" value="'.$configurationManager->get('feedMaxEvents').'" name="feedMaxEvents" size="4" />'))"}</legend>