meeting-room-booking-system / mrbs-code

MRBS application code
Other
121 stars 59 forks source link

Error in functions_view.inc #1580

Open jberanek opened 8 years ago

jberanek commented 8 years ago

In the file functions_view.inc is an error I think:

Is: // Description $class = ($keep_private & !empty($is_private_field['entry.description'])) ? "private" : ""; $tbody .= create_details_row(get_vocab("description"), $data['description'], $as_html, $class);

Must be: // Description $class = ($keep_private & !empty($is_private_field['entry.description'])) ? "private" : ""; $tbody .= create_details_row(get_vocab("fulldescription"), $data['description'], $as_html, $class);

Am I right?

Reported by: *anonymous

Original Ticket: mrbs/support-requests/856

jberanek commented 8 years ago

Yes and no. The code is actually righty and doing what it's intended to do. If you'd like a different text string you could always use a $vocab_override.

However I agree that the code isn't very consistent. I think maybe the edit_entry form string could be split into a label and some placeholder text.

Original comment by: campbell-m