Removing Instructions/Options

Removing Instructions/Options

Postby Alec » Sun Sep 07, 2008 7:32 pm

Hi Chris,

Firstly - many thanks for your fantastic script - I've scoured the Internet looking for just this. The script works perfectly, but I just have a few questions regarding public viewing.

I basically want to have an admin page and a public page. I've read some of the forum topics here and followed the instructions to remove the links to change the availability, and that worked perfectly. Now what I'd like to know is how to remove the text above the table and the option to show 3 months and to change the language. I just want the calendar to be displayed, showing 12 months, with no instructions or options. Can you point me in the right direction?

Thanks in advance,

Alec.
Alec
 
Posts: 3
Joined: Sun Sep 07, 2008 4:27 am

Re: Removing Instructions/Options

Postby Alec » Sun Sep 07, 2008 7:34 pm

Just to clarify - I mean this bit! (And the form boxes below)

Alec.

Code: Select all
Availability Calendar
# Click on dates to make availaible or booked
# Morning bookings - click on the date whilst holding the "ctrl" key down.
# Afternoon bookings - click on the date whilst holding the "alt" key down.
# Select language for display (optional)
# Start day (Sunday or Monay) can be defined (not dynamic)
Alec
 
Posts: 3
Joined: Sun Sep 07, 2008 4:27 am

Re: Removing Instructions/Options

Postby Alec » Thu Sep 11, 2008 6:05 pm

Any ideas?
Alec
 
Posts: 3
Joined: Sun Sep 07, 2008 4:27 am

Re: Removing Instructions/Options

Postby chris » Thu Sep 11, 2008 6:33 pm

Hi there,
I can't quite understand what the problem is - You just need to delete it from the html code.
More specifically, this part of the code:
Code: Select all
<h2>'.$lang["title"].'</h2>
   '.$lang["inst"].'
   <!-- optional elements -->
   <form method="get">
   <table cellpadding="1" cellspacing="1" width="100%" align="center">
      <tr>
         <td class="side">'.$lang["num_months"].':</td>
         <td class="data">
            <select name="months_to_show" onchange="this.form.submit()">
               '.$list_months_to_show.'
            </select>
         </td>
      </tr>
      <tr>
         <td class="side">'.$lang["language"].'</td>
         <td class="data">
            <select name="lang" onchange="this.form.submit();">
               '.$list_lang.'
            </select>
         </td>
      </tr>
   </table>
   </form>
   <!-- end optional elements -->

Let me know if I am missing the point :roll:
Chris
User avatar
chris
Site Admin
 
Posts: 1089
Joined: Mon Dec 17, 2007 7:42 pm
Location: Málaga, Spain


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron