dgsmith Posted August 8, 2011 Posted August 8, 2011 Just to clarify this is MRBS and not any other alternate, commercial or otherwise, booking system. This is a version significantly customised by myself. I'm currently in the process of an overhaul of our MRBS installation which includes transforming it into something more up to date! I've done a fair bit but have come a bit unstuck in trying to figure out how to add a hyperlink without it fudging up the formatting! I've attached two photos and the issue is on the test booking I made (in green). When I try and hyperlink the edit thumbnail, it removes the booker's name (and link) from the booking entry. Can't understand it! My code for this area in functions.inc (near the bottom, just above //end function draw cell) if ($times_along_top) { echo "\n"; } else { echo "\n"; // we want clipping of overflow } echo ($is_repeat) ? "\"images/repeat.png\"" : ''; $user = getUserName(); if ($user == $descr) { //echo "images/edit.png"; echo "images/edit.png"; } echo ""; echo "$descr\n"; echo "\n"; echo "$long_descr\n"; } echo "\n"; I have two lines below if ($user == $descr), 1 commented out. The one live in this code shows the icon fine as per screenshot 1, but then I swap the commenting and make the hyperlinked one live, it screwed up as per screenshot 2. Any help would be greatly appreciated! Hopefully the customisations I have made won't hinder anyone's ability to offer advice
dgsmith Posted August 9, 2011 Author Posted August 9, 2011 Noone else can offer any suggestions then?
rush_tech Posted August 9, 2011 Posted August 9, 2011 subscribe to the mrbs-general mailing list very helpful
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now