From b253b2af2e69fc6be1d45d8349aaa5cf91e1f683 Mon Sep 17 00:00:00 2001 From: Simounet Date: Sat, 11 Jan 2020 15:32:57 +0100 Subject: [PATCH] =?UTF-8?q?Suppression=20r=C3=A9f=C3=A9rences=20=C3=A0=20i?= =?UTF-8?q?ndex.php=20inutiles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.php | 10 +++++----- install.php | 2 +- templates/marigolds/header.html | 6 +++--- templates/marigolds/index.html | 12 ++++++------ templates/marigolds/settings.html | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/action.php b/action.php index 9ef0115b..da5b000f 100644 --- a/action.php +++ b/action.php @@ -78,7 +78,7 @@ if(isset($_['last-event-id']))$whereClause['id'] = '<= ' . $_['last-event-id']; $eventManager->change(array('unread'=>'0'),$whereClause); if(!Functions::isAjaxCall()){ - header('location: ./index.php'); + header('location: ./'); } break; @@ -94,7 +94,7 @@ } if (!Functions::isAjaxCall()){ - header('location: ./index.php'); + header('location: ./'); } break; @@ -466,11 +466,11 @@ $user = $userManager->exist($_['login'],$_['password'],$salt,@$_['otp']); if($user==false){ error_log("Leed: wrong login for '".$_['login']."'"); - header('location: ./index.php?action=wrongLogin'); + header('location: ./?action=wrongLogin'); }else{ $_SESSION['currentUser'] = serialize($user); if (isset($_['rememberMe'])) $user->setStayConnected(); - header('location: ./index.php'); + header('location: ./'); } exit(); } @@ -498,7 +498,7 @@ $_SESSION = array(); session_unset(); session_destroy(); - header('location: ./index.php'); + header('location: ./'); break; case 'displayOnlyUnreadFeedFolder': diff --git a/install.php b/install.php index e8b8314c..16e7625b 100644 --- a/install.php +++ b/install.php @@ -118,7 +118,7 @@
-

Leed

+

Leed

diff --git a/templates/marigolds/header.html b/templates/marigolds/header.html index 920121f8..c5420d7b 100644 --- a/templates/marigolds/header.html +++ b/templates/marigolds/header.html @@ -24,7 +24,7 @@
-

Leed
{#LEED_VERSION_NUMBER#} {#LEED_VERSION_NAME#}

+

Leed
{#LEED_VERSION_NUMBER#} {#LEED_VERSION_NAME#}

{if="!$myUser"} {if="@$wrongLogin"} @@ -53,8 +53,8 @@

Leed
-
  • +
  • +
  • {function="Plugin::callHook("navigate_post_link", array(&$myUser))"} diff --git a/templates/marigolds/index.html b/templates/marigolds/index.html index 27f5a82b..4b1ee22d 100644 --- a/templates/marigolds/index.html +++ b/templates/marigolds/index.html @@ -59,7 +59,7 @@

    {function="_t('FEED')"}

    @@ -75,7 +75,7 @@

    {/if} - {function="Plugin::callHook("menu_pre_feed_link", array(&$value))"} {function="Functions::truncate($value2['name'],37)"} + {function="Plugin::callHook("menu_pre_feed_link", array(&$value))"} {function="Functions::truncate($value2['name'],37)"} @@ -88,7 +88,7 @@

    {/if} - {function="Plugin::callHook("menu_pre_feed_link", array(&$value))"} {function="Functions::truncate($value2['name'],37)"} + {function="Plugin::callHook("menu_pre_feed_link", array(&$value))"} {function="Functions::truncate($value2['name'],37)"} {if="isset($unread[$value2['id']])"}

    {function="_t('SEE_THE')"} - {function="ucfirst(_t('UNREAD'))"} | - {function="_t('OLDER')"} {function="_t('IN_FIRST')"} + {function="ucfirst(_t('UNREAD'))"} | + {function="_t('OLDER')"} {function="_t('IN_FIRST')"} {/if} {if="$action=='selectedFolder'"} diff --git a/templates/marigolds/settings.html b/templates/marigolds/settings.html index 3855a3be..694503bc 100644 --- a/templates/marigolds/settings.html +++ b/templates/marigolds/settings.html @@ -99,7 +99,7 @@

    {$value->getName()} ({function="count($fee {$feedName=Functions::truncate($value2->getName(),40)}
  • getLastSyncInError()==1"} errorSync{/if}"> - getLastSyncInError()==1"} class="inError"{/if} href="index.php?action=selectedFeed&feed={$value2->getId();}" data-feed-id="{$value2->getId()}">{$feedName}{$value2->getUrl()} + getLastSyncInError()==1"} class="inError"{/if} href="?action=selectedFeed&feed={$value2->getId();}" data-feed-id="{$value2->getId()}">{$feedName}{$value2->getUrl()}