![]() |
Because this is an official Department of Defense website, its content is subject to SECNAVINST 5720.47, DEPARTMENT OF THE NAVY POLICY FOR CONTENT OF PUBLICLY ACCESSIBLE WORLD WIDE WEB SITES. This directive requires, for example, the the website contain a Privacy and Security Notice, and that certain information about NROTC personnel not be made publicly available. Sensitive information, if it is put on the website at all, must first be password-protected, so that it is available only to NROTC staff and midshipmen.
All personnel posting to the website are expected to comply with SECNAVINST 5720.47. If you have any questions about the appropriateness of your information, ask before posting.
In addition, this website may not contain any information that is classified or marked "For Official Use Only."
Format your html code like this:
<HTML> <HEAD> <TITLE>Your Page Title</TITLE> <LINK rel=stylesheet href="http://navyrotc.berkeley.edu/navystyle.css" type="text/css"> </HEAD> <BODY> <!-- #include virtual="/includes/navbar.inc" --> The body of your webpage... <!-- #include virtual="/includes/footer.inc" --> </BODY> </HTML>Also, the page's filename MUST end in the extension .stm (rather than .htm or .html).
The <LINK> line is a link to a Cascading Style Sheet, which defines a common "look and feel"
for the entire website. The two #include comments are server-side includes. When a page is requested
from the web-server, the server replaces those lines with the navigation bar and footer text,
respectively. Note that server-side includes will only work if your page ends in ".stm"
When you add a page to the site, please remember to add a link directly to it from the site index (/siteindex.stm). If an appropriate category for your page doesn't exist, then create one.
Add the line <!-- #flastmod virtual="/path to your page" --> at the end of the
<BODY> section. For example, the last line in the <BODY> of this page is
<!-- #flastmod virtual="/techhelp/maintenancefaq.stm" -->.
You will also need to make sure that the name of the webpage ends in ".stm"
The .stm extension tells the web server to look for #include directives and replace them
with the appropriate text, which in most cases is the navigation bar or footer text.
Whereas our front page presents information that will be of immediate interest to site visitors, the site index provides a link to EVERY page on the NROTC website. We ask that you update it whenever you add a page to the website.
Use a text editor such as notepad to edit the file "/includes/navbar.inc". Changing the html code in this file will change the navigation bar for every page in the website.
Use a text editor such as notepad to edit the file "/includes/footer.inc". Changing the html code in this file will change the footer text for every page in the website.
Place the file in the folder "http://navyrotc.berkeley.edu/secure/" Check the NT file permissions (Properties->Security) to ensure that the user "Everyone" does not have any permissions for the file.