Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output Label #4

Closed
pftnhr opened this issue Mar 10, 2023 · 2 comments
Closed

Output Label #4

pftnhr opened this issue Mar 10, 2023 · 2 comments

Comments

@pftnhr
Copy link

pftnhr commented Mar 10, 2023

Is there a way to output the label?

@GiovanniSalmeri
Copy link
Owner

GiovanniSalmeri commented Mar 11, 2023

I didn't plane it because I thought the label only as an internal token for disambiguating events with the same date, but it is very easy to output it. Just add something like this between between lines 145 and 153 in diary.php:

$output .= "<div class=\"label\">".htmlspecialchars($event[3])."</div>\n";

Not tested, but it should work :-)

@pftnhr
Copy link
Author

pftnhr commented Mar 11, 2023

It works! :D

Thanks a lot!

@pftnhr pftnhr closed this as completed Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants