<form name="form1" action="admin_panes.php" method="POST">
<input type="hidden" name="request" id="request" value="" />
<p>
The following panes are available as floating content blocks on user-viewable pages.
Some of these panes are simply sets of links, such as the Main Navigation Bar, whereas
others may present the contents of a story, a slideshow, or a calendar.
</p>
<p>
Pane:
<select name="pane_id" id="pane_id" onChange="return paneIdChange(this.value);"></select>
<input type="hidden" name="pane_display" id="pane_display">
<br />
<span class="note" style="font-size: .8em; line-height: 1em;">
<input type="checkbox" name="pane_disabled" id="pane_disabled" />
check here to disable this pane so the user does not see it
</span>
</p>
<p id="pane_description"></p>
<p id="p_page" style="display: none">
Page<br />
<span class="note">
Pick a page from the list below.
</span><br />
<select
name="pane_page_id"
id="pane_page_id"
size="20"
style="padding-left: 4px; padding-right: 4px; font-size: 1.0em; width: 400px;"></select>
<span id="span_no_page" style="display: none; font-size: 1.1em; color: #FF3F3F;">
No pages yet exist. You will be unable to select a page for the pane until you
have first created one.
</span>
</p>
<p id="p_story" style="display: none">
Story<br />
<span class="note">Pick a story from the list below to display in a pane in the pane.</span><br />
<select
name="pane_story_id"
id="pane_story_id"
size="20"
style="padding-left: 4px; padding-right: 4px; font-size: 1.0em; width: 400px;"></select>
<span id="span_no_story" style="display: none; font-size: 1.1em; color: #FF3F3F;">
No stories yet exist. You will be unable to select a story for the pane until you
have first created one.
</span>
</p>
<div id="p_slideshow" style="display: none;">
<p>
Slideshow<br />
<span class="note">
Either type in the path for a folder on disk (such as an ftp directory on the server),
or pick a folder from the list of all upload folders below. Any pictures (jpg, png, gif)
found in the named folder will be displayed in a slideshow pane on the main page.
</span>
</p>
<p>
Absolute Path to Folder:<br />
<input type="text" name="pane_folder_path" id="pane_folder_path" value="" size="40" onChange="paneChangeSlideshowPath(this);" />
</p>
<p>
Upload Folder List:<br />
<select
name="pane_file_id"
id="pane_file_id"
size="12"
style="padding-left: 4px; padding-right: 4px; font-size: 1.0em; width: 400px;"
onChange="paneChangeSlideshowPath(this);"></select>
</p>
<span id="span_no_folder" style="display: none;">
No folders yet exist in your upload directory. You will be unable to select a pictures
folder for the pane until you have first created at least one folder.
</span>
</div>
<p id="p_video_links" style="display: none;">
Video Links<br />
<span class="note">
Type out anchor tags to videos in the space below and separate each anchor (<a href="..."> tags)
with a carriage return.
</span><br />
<textarea name="pane_video_links" id="pane_video_links" cols="70" rows="20"></textarea>
</p>
<p id="p_raw_html" style="display: none;">
Raw HTML<br />
<span class="note">Any HTML typed below will be rendered with the main page, without alteration.</span><br />
<textarea name="pane_raw_html" id="pane_raw_html" cols="70" rows="20"></textarea>
</p>
<p><input type="submit" name="submit" id="submit" value="Save" onClick="return validateForm();" /></p>
<!-- <p style="cursor: pointer; background-color: blue;" onClick="location.href='admin_panes.php?request=xml&stage=edit&id=' + document.getElementById('pane_id').value;">XML</p> -->
</form>