Since the information in the chart is used both in the
/loc/lochours.php and the Spanish language
/loc/index-spi.php, I decided to create text files containing the information under the header rows in three places:
- hours for campuses under the header row for days of the week
- hours for other services points under the header row titled (
Other ACC Library Services Locations: AND Otros servicios y bibliotecas de ACC:)
- phone numbers under the header in that table
Then I used php includes to insert the text in the appropriate place in the file and remove the actual information from the files. The three include scripts are:
- ...?php include("http://library.austincc.edu/loc/lochours-top-include.txt"); ?...
- ...?php include("http://library.austincc.edu/loc/lochours-bot-include.txt"); ?...
- ...?php include("http://library.austincc.edu/loc/lochours-phone-include.txt"); ?...
Now only the text files need to be edited when hours change.