mirror of
https://framagit.org/framasoft/framadate/framadate
synced 2026-01-23 02:14:06 +00:00
Use PHP-intl instead of strftime.
This removes the requirement of having locales installed on the server for all languages. Also strftime is depreciated in PHP 8.1. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
83201ece9c
commit
70830c514d
13 changed files with 67 additions and 27 deletions
|
|
@ -43,6 +43,12 @@ $poll = null;
|
|||
$message = null;
|
||||
$editingVoteId = 0;
|
||||
|
||||
/* Globals */
|
||||
/* ------- */
|
||||
global $smarty;
|
||||
global $connect;
|
||||
global $config;
|
||||
|
||||
/* Services */
|
||||
/*----------*/
|
||||
|
||||
|
|
@ -468,6 +474,5 @@ $smarty->assign('resultPubliclyVisible', true);
|
|||
$smarty->assign('editedVoteUniqueId', '');
|
||||
$smarty->assign('default_to_marldown_editor', $config['markdown_editor_by_default']);
|
||||
$smarty->assign('selectedNewVotes', $selectedNewVotes);
|
||||
|
||||
header("X-Robots-Tag: noindex, nofollow, nosnippet, noarchive");
|
||||
$smarty->display('studs.tpl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue