[PHP][PHP FUSION] Nowy panel tekstowy |
[PHP][PHP FUSION] Nowy panel tekstowy |
24.03.2023, 19:47:18
Post
#1
|
|
Grupa: Zarejestrowani Postów: 46 Pomógł: 0 Dołączył: 15.07.2019 Ostrzeżenie: (0%) |
Stworzyłem plik trastra_message_panel.php:
Kod <?php /*-------------------------------------------------------+ | PHPFusion Content Management System | Copyright (C) PHP Fusion Inc | https://phpfusion.com/ +--------------------------------------------------------+ | Filename: trastra_message_panel.php | Author: Core Development Team +--------------------------------------------------------+ | This program is released as free software under the | Affero GPL license. You can redistribute it and/or | modify it under the terms of this license which you | can read by viewing the included agpl.txt or online | at www.gnu.org/licenses/agpl.html. Removal of this | copyright header is strictly prohibited without | written permission from the original author(s). +--------------------------------------------------------*/ defined('IN_FUSION') || exit; if (!function_exists('render_trastra_panel')) { function render_trastra_panel() { $locale = fusion_get_locale(); opentable($locale['global_0001']); echo html_entity_decode(stripslashes(nl2br(fusion_get_settings('siteintro'))), ENT_QUOTES); closetable(); } } render_trastra_panel(); Do pliku global.php dodałem: Kod // Trastra_panel $locale['global_0001'] = "Trastra"; I problem jest taki, że po wyborze "trastra_message_panel" znika możliwość aby wprowadzić tekst // Gdy wejdę do: Panel administracyjny --> Ustawienia --> Ustawienia główne i wprowadzę tekst w " Wprowadzenie witryny " Jest taki efekt( tekst wpisany: test test test: Ten post edytował UszaTek 24.03.2023, 19:48:25 |
|
|
Wersja Lo-Fi | Aktualny czas: 27.04.2024 - 01:51 |