themes/grey/config.tpl
changeset 72 b8730fcd64a9
parent 50 1b4288399b1f
child 78 08f8a72b1f7b
--- a/themes/grey/config.tpl	Tue May 26 15:26:22 2009 -0400
+++ b/themes/grey/config.tpl	Tue May 26 15:26:59 2009 -0400
@@ -64,15 +64,60 @@
               <label for="chk_public"><b>Publicly accessible IP</b></label><br />
               <small>
                 This controls whether Greyhound can be accessed from other computers on the network interface level. For the nerds, this
-                means that Greyhound will bind to 127.0.0.1 if unchecked or 0.0.0.0 if checked.
+                means that Greyhound will bind to ::1 or 127.0.0.1 if unchecked, and ::0 or 0.0.0.0 if checked.
               </small>
             </td>
             <td class="row1" style="width: 50%;">
-              <input type="checkbox"
+              <label><input type="checkbox"
                      name="public"
                      id="chk_public"
                      {if $public}checked="checked"{/if}
                 />
+              {if !$reboot_support}<span style="color: #ff5321;">Restart required</span>{/if}
+              </label>
+            </td>
+          </tr>
+          
+          <!-- field - IPv6 -->
+          <tr>
+            <td class="row2" style="width: 50%;">
+              <label for="chk_ipv6"><b>IPv6 support</b></label><br />
+              <small>
+                If this is enabled, Greyhound will listen for IPv6 connections as well as IPv4 ones. Otherwise it will just listen for
+                IPv4 connections.
+              </small>
+            </td>
+            <td class="row1" style="width: 50%;">
+              <label>
+              <input type="checkbox"
+                     name="ipv6"
+                     id="chk_ipv6"
+                     {if $ipv6}checked="checked"{/if}
+                />
+              {if !$reboot_support}<span style="color: #ff5321;">Restart required</span>{/if}
+              </label>
+            </td>
+          </tr>
+          
+          <!-- field - allow multi-process -->
+          <tr>
+            <td class="row2" style="width: 50%;">
+              <label for="chk_allow_fork"><b>Enable multi-process webserving</b></label><br />
+              <small>
+                If this is enabled, Greyhound will use fork() to allow serving multiple HTTP requests at the same time. It is recommended
+                that you enable this to improve performance. In some rare cases, this results in a large number of zombie processes and
+                sometimes locks up the server, so disable this if you're experiencing problems.
+              </small>
+            </td>
+            <td class="row1" style="width: 50%;">
+              <label>
+              <input type="checkbox"
+                     name="allow_fork"
+                     id="chk_allow_fork"
+                     {if $allow_fork}checked="checked"{/if}
+                />
+              {if !$reboot_support}<span style="color: #ff5321;">Restart required</span>{/if}
+              </label>
             </td>
           </tr>
           
@@ -94,25 +139,6 @@
             </td>
           </tr>
           
-          <!-- field - allow multi-process -->
-          <tr>
-            <td class="row2" style="width: 50%;">
-              <label for="chk_allow_fork"><b>Enable multi-process webserving</b></label><br />
-              <small>
-                If this is enabled, Greyhound will use fork() to allow serving multiple HTTP requests at the same time. It is recommended
-                that you enable this to improve performance. In some rare cases, this results in a large number of zombie processes and
-                sometimes locks up the server, so disable this if you're experiencing problems.
-              </small>
-            </td>
-            <td class="row1" style="width: 50%;">
-              <input type="checkbox"
-                     name="allow_fork"
-                     id="chk_allow_fork"
-                     {if $allow_fork}checked="checked"{/if}
-                />
-            </td>
-          </tr>
-          
           <!-- section - auth config -->
           <tr>
             <th colspan="2">