install.php
changeset 243 c9e192a059c1
parent 238 f948557af068
child 256 f8356d9c3481
equal deleted inserted replaced
242:ce2873735506 243:c9e192a059c1
   830                        is enabled, an attacker can run arbitrary code on your server! Enabling this will also allow administrators to
   830                        is enabled, an attacker can run arbitrary code on your server! Enabling this will also allow administrators to
   831                        embed Javascript and arbitrary HTML and CSS.</p>
   831                        embed Javascript and arbitrary HTML and CSS.</p>
   832                     <p>If you don\'t have experience coding in PHP, you can safely disable this option. You may change this at any time
   832                     <p>If you don\'t have experience coding in PHP, you can safely disable this option. You may change this at any time
   833                        using the ACL editor by selecting the Administrators group and This Entire Website under the scope selection. <!-- , or by
   833                        using the ACL editor by selecting the Administrators group and This Entire Website under the scope selection. <!-- , or by
   834                        using the "embedded PHP kill switch" in the administration panel. --></p>';
   834                        using the "embedded PHP kill switch" in the administration panel. --></p>';
       
   835         break;
       
   836       case 'url_schemes':
       
   837         $title = 'URL schemes';
       
   838         $content = '<p>The URL scheme allows you to decide how the URLs to your Enano pages will look.</p>
       
   839                     <p>The first option (Standard URLs) works on any web server. You should select it if your server doesn\'t run Apache, or
       
   840                        if you are at all unsure of your server\'s configuration. With this scheme, URLs at your site will look like <tt>
       
   841                        http://yoursite.com/path-to-enano/index.php/Main_Page</tt>.</p>
       
   842                     <p>The second option, Small URLs, will be selected by default if Enano detects Apache. Small URLs are more friendly towards
       
   843                        search engines, but they don\'t work on very many non-Apache servers, or if PHP is set up through CGI on your server. Many
       
   844                        free and low-cost web hosts will configure PHP through CGI in order to keep your user account as the owner of any files that
       
   845                        Enano generates. With this scheme, URLs at your site will look like <tt>http://yoursite.com/path-to-enano/index.php/Main_Page</tt>.
       
   846                        </p>
       
   847                     <p>The last option, Tiny URLs, is the most friendly URL scheme for search engines, because your URLs won\'t have any special characters
       
   848                        at all in them. However, this only works if your webhost has configured Apache with support for mod_rewrite. Most of the time if your
       
   849                        host supports this you will see a listing for it in their feature matrix. None of the popular Linux distributions (such as Ubuntu,
       
   850                        Debian, Red Hat Enterprise Linux&trade;, Fedora, openSUSE&trade;, or CentOS) come with mod_rewrite enabled, so if you run a
       
   851                        home-brew server, you should consult your distribution\'s documentation for enabling mod_rewrite before selecting this option.
       
   852                        With this scheme, URLs at your site will look like <tt>http://yoursite.com/path-to-enano/Main_Page</tt>.</p>
       
   853                        </p>';
   835         break;
   854         break;
   836       default:
   855       default:
   837         $title = 'Invalid topic';
   856         $title = 'Invalid topic';
   838         $content = 'Invalid help topic.';
   857         $content = 'Invalid help topic.';
   839         break;
   858         break;
  1313       <table border="0">
  1332       <table border="0">
  1314         <tr><td><b>Website name</b><br />The display name of your website. Allowed characters are uppercase and lowercase letters, numerals, and spaces. This must not be blank or "Enano".</td><td><input onkeyup="verify();" name="sitename" type="text" size="30" /></td><td><img id="s_name" alt="Good/bad icon" src="images/bad.gif" /></td></tr>
  1333         <tr><td><b>Website name</b><br />The display name of your website. Allowed characters are uppercase and lowercase letters, numerals, and spaces. This must not be blank or "Enano".</td><td><input onkeyup="verify();" name="sitename" type="text" size="30" /></td><td><img id="s_name" alt="Good/bad icon" src="images/bad.gif" /></td></tr>
  1315         <tr><td><b>Website description</b><br />This text will be shown below the name of your website.</td><td><input onkeyup="verify();" name="sitedesc" type="text" size="30" /></td><td><img id="s_desc" alt="Good/bad icon" src="images/bad.gif" /></td></tr>
  1334         <tr><td><b>Website description</b><br />This text will be shown below the name of your website.</td><td><input onkeyup="verify();" name="sitedesc" type="text" size="30" /></td><td><img id="s_desc" alt="Good/bad icon" src="images/bad.gif" /></td></tr>
  1316         <tr><td><b>Copyright info</b><br />This should be a one-line legal notice that will appear at the bottom of all your pages.</td><td><input onkeyup="verify();" name="copyright" type="text" size="30" /></td><td><img id="s_copyright" alt="Good/bad icon" src="images/bad.gif" /></td></tr>
  1335         <tr><td><b>Copyright info</b><br />This should be a one-line legal notice that will appear at the bottom of all your pages.</td><td><input onkeyup="verify();" name="copyright" type="text" size="30" /></td><td><img id="s_copyright" alt="Good/bad icon" src="images/bad.gif" /></td></tr>
  1317         <tr><td><b>Wiki mode</b><br />This feature allows people to create and edit pages on your site. Enano keeps a history of all page modifications, and you can protect pages to prevent editing.</td><td><input name="wiki_mode" type="checkbox" id="wmcheck" />  <label for="wmcheck">Yes, make my website a wiki.</label></td><td></td></tr>
  1336         <tr><td><b>Wiki mode</b><br />This feature allows people to create and edit pages on your site. Enano keeps a history of all page modifications, and you can protect pages to prevent editing.</td><td><input name="wiki_mode" type="checkbox" id="wmcheck" />  <label for="wmcheck">Yes, make my website a wiki.</label></td><td></td></tr>
  1318         <tr><td><b>URL scheme</b><br />Choose how the page URLs will look. Depending on your server configuration, you may need to select the first option. If you don't know, select the first option, and you can always change it later.</td><td colspan="2"><input type="radio" <?php if(!is_apache()) echo 'checked="checked" '; ?>name="urlscheme" value="ugly" id="ugly">  <label for="ugly">Standard URLs - compatible with any web server (www.example.com/index.php?title=Page_name)</label><br /><input type="radio" <?php if(is_apache()) echo 'checked="checked" '; ?>name="urlscheme" value="short" id="short">  <label for="short">Short URLs - requires Apache with a PHP module (www.example.com/index.php/Page_name)</label><br /><input type="radio" name="urlscheme" value="tiny" id="petite">  <label for="petite">Tiny URLs - requires Apache on Linux/Unix/BSD with PHP module and mod_rewrite enabled (www.example.com/Page_name)</label></td></tr>
  1337         <tr><td><b>URL scheme</b><br />Choose how the page URLs will look. Depending on your server configuration, you may need to select the first option. If you don't know, select the first option, and you can always change it later.</td><td colspan="2"><input type="radio" <?php if(!is_apache()) echo 'checked="checked" '; ?>name="urlscheme" value="ugly" id="ugly">  <label for="ugly">Standard URLs - compatible with any web server (www.example.com/index.php?title=Page_name)</label><br /><input type="radio" <?php if(is_apache()) echo 'checked="checked" '; ?>name="urlscheme" value="short" id="short">  <label for="short">Short URLs - requires Apache with a PHP module (www.example.com/index.php/Page_name)</label><br /><input type="radio" name="urlscheme" value="tiny" id="petite">  <label for="petite">Tiny URLs - requires Apache on Linux/Unix/BSD with PHP module and mod_rewrite enabled (www.example.com/Page_name)</label><br /><small><a href="install.php?mode=pophelp&amp;topic=url_schemes" onclick="window.open(this.href, 'pophelpwin', 'width=550,height=400,status=no,toolbars=no,toolbar=no,address=no,scroll=yes'); return false;">Which URL scheme should I choose?</a></small></td></tr>
  1319       </table>
  1338       </table>
  1320       <div class="pagenav">
  1339       <div class="pagenav">
  1321        <table border="0">
  1340        <table border="0">
  1322        <tr>
  1341        <tr>
  1323        <td><input type="submit" value="Continue" onclick="return verify();" name="_cont" /></td><td><p><span style="font-weight: bold;">Before clicking continue:</span><br />&bull; Verify that your site information is correct. Again, all of the above settings can be changed from the administration panel.</p></td>
  1342        <td><input type="submit" value="Continue" onclick="return verify();" name="_cont" /></td><td><p><span style="font-weight: bold;">Before clicking continue:</span><br />&bull; Verify that your site information is correct. Again, all of the above settings can be changed from the administration panel.</p></td>