diff options
| author | Nathan Kinkade <nath@nkinka.de> | 2012-11-13 23:02:38 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nath@nkinka.de> | 2012-11-13 23:02:38 +0000 |
| commit | bc99ae32719f90606c0531b7203a9867afb56dd1 (patch) | |
| tree | 950318b71e087670690f8b6c4d0606a3198b64b9 | |
| parent | 4ded832a9a9174599caeae1b9bcf811cf79ef62a (diff) | |
Removed Resources page and added a Contact page.
| -rw-r--r-- | contact.php (renamed from resources.php) | 2 | ||||
| -rw-r--r-- | templates/contact.tpl | 32 | ||||
| -rw-r--r-- | templates/header.tpl | 4 | ||||
| -rw-r--r-- | templates/resources.tpl | 49 |
4 files changed, 35 insertions, 52 deletions
diff --git a/resources.php b/contact.php index 2ce9ad5..32cc00d 100644 --- a/resources.php +++ b/contact.php @@ -19,6 +19,6 @@ include("sidebar_right.php"); include("footer.php"); # display the page -$smarty->display("resources.tpl"); +$smarty->display("contact.tpl"); ?> diff --git a/templates/contact.tpl b/templates/contact.tpl new file mode 100644 index 0000000..356c8e6 --- /dev/null +++ b/templates/contact.tpl @@ -0,0 +1,32 @@ +{$header} +<div id='columnContainer'> + + <div id='middleColumn'> + <div id='middleData' style='text-align: justify;'> + + <h2 style='text-align: center;'>CONTACT</h2> + + <a name='nutritionsites' id='nutritionsites' style='position: absolute;'></a> + <div class='standardMargins'> + If you have any questions, comments or suggestions about NutriDB please contact + <a href="http://natha.nkinka.de">Nathan Kinkade</a> at <strong>nath@nkinka.de</strong.> + </div> + + </div> + </div> + + <div id='leftColumn'> + <div id='leftData'> + {$sidebar_left} + </div> + </div> + + <div id='rightColumn'> + <div id='rightData'> + {$sidebar_right} + </div> + </div> + +</div> +{$footer} + diff --git a/templates/header.tpl b/templates/header.tpl index 28e79bd..cd64c20 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -43,9 +43,9 @@ <a href='{$config->_rootUri}' title='Home/Search Page'>Search</a> | <a href='about.php' title='About nutridb.org'>About</a> | <a href='guide.php' title='A brief guide'>Guide</a> | - <a href='resources.php' title='Other useful information'>Resources</a> | <a href='faq.php' title='FAQ'>FAQ</a> | - <a href='download.php' title='Download'>Download</a> + <a href='download.php' title='Download'>Download</a> | + <a href='contact.php' title='Contact'>Contact</a> </div> <div id='systemMsgs'>{$systemMsg}</div> </div> diff --git a/templates/resources.tpl b/templates/resources.tpl deleted file mode 100644 index 62c6937..0000000 --- a/templates/resources.tpl +++ /dev/null @@ -1,49 +0,0 @@ -{$header} -<div id='columnContainer'> - - <div id='middleColumn'> - <div id='middleData' style='text-align: justify;'> - - <h2 style='text-align: center;'>RESOURCES</h2> - - <a name='nutritionsites' id='nutritionsites' style='position: absolute;'></a> - <div class='standardMargins'> - Here are a few other nutrition information sites that stand out to me. They have a - very complete set of tools and information. You may find them useful. - <ul> - <li><a href='http://www.nutritiondata.com'>http://www.nutritiondata.com</a></li> - <li><a href='http://www.thedailyplate.com'>http://www.thedailyplate.com</a></li> - </ul> - </div> - - <a name='ndl' id='ndl' style='position: absolute;'></a> - <div class='standardMargins'> - The USDA Nutrient Data Laboratory is where the vast majority of reliable nutrient - data comes from, including for this site. - <ul> - <li> - <a href="http://www.ars.usda.gov/ba/bhnrc/ndl"> - U.S. Department of Agriculture, Agricultural Research Service. - </a> - </li> - </ul> - </div> - - </div> - </div> - - <div id='leftColumn'> - <div id='leftData'> - {$sidebar_left} - </div> - </div> - - <div id='rightColumn'> - <div id='rightData'> - {$sidebar_right} - </div> - </div> - -</div> -{$footer} - |
