Menu

#2675 display improvements

open
nobody
None
1
2023-01-12
2023-01-08
weblan
No
    • hello i want to make a line break in the short description of the reservation. but it does not work for me.

$entry['name'] .= nl2br($entry['description']);

2.- How can I display all the rooms of all the areas as option all in the selector of areas in index.php

3.- How can I display the holidays and weekends in colors in the mini calendars?

4.- How can I assign visualization to a specific area to a specific user.

5.- How to center the timeline automatically in the center of the screen when it is possible by the timetable.

6.- How to display the room description in the view of the created reservation.

Discussion

  • Campbell Morrison

    hello i want to make a line break in the short description of the reservation. but it does not work for me.

    You'd have to modify the code so that htmlspecialchars() is not applied to the short description. But this is dangerous as it introduces security vulnerabilities. Besides, the short description is an <input> element which does not accept newlines.

    How can I display all the rooms of all the areas as option all in the selector of areas in index.php

    With difficulty. The problem is that areas can have different morning starts, evening ends and resolutions. Some areas could even use periods. So displaying them on the same calendar would be difficult.

    How can I display the holidays and weekends in colors in the mini calendars?

    In MRBS 1.11.0 set $style_weekends = true; in your config file. Holidays are trickier.

    How can I assign visualization to a specific area to a specific user.

    Modify the function is_visible() in mrbs_auth.inc.

    How to center the timeline automatically in the center of the screen when it is possible by the timetable.

    That's a non-trivial modification which you would have to make yourself.

    How to display the room description in the view of the created reservation.

    You'd have to modify view_entry.php yourself.

     
  • weblan

    weblan - 2023-01-12

    thanks for the answer, I will follow the indications given.