{strip} {if $first_install}

Package Installation

{else}

Adding and removing packages

{/if}
{if $error} {legend legend="Administrator Data Missing"}

Unfortunately there seems to be a problem with your installation. We can't find the administrator information you entered.

Please go back one step (using the link to your right, rather than the back button on your browser) and enter the administrator data again. If this is the second time you see this screen, please confirm that PHP can write sessions and that any firewall/anti-virus software is turned off during the installation process.

If you just can't figure out what the hell is going on, please contact the Bitweaver team via IRC if possible or post to the forums on bitweaver.org.

{/legend} {else} {formfeedback warning=$warning} {jstabs tab=0} {jstab title="Install Packages"} {form id="package_select" id="package_select"} {* include required packages during first install *} {foreach from=$schema key=package item=item} {if $item.required && !$item.installed} {/if} {/foreach} {foreach from=$schema key=package item=item} {if !$item.installed and !$item.required} {assign var=new_packages value=true} {/if} {/foreach} {if $new_packages}

Please select packages and services you wish to install

This is a list with all available Bitweaver packages that are ready for installation. Packages that are installed now, can later be deactivated and even deleted from your server if you don't need them anymore.
If you have any external packages such as phpBB or gallery2 lined up for installation, you will have to do this separately after completing the Bitweaver installation process.

Be conscientious about installing packages. The more packages you activate, the more computer power you will need. It is easy to install packages at a later date, so we advise initially installing just the packages you need.

{forminput} {/forminput}

Packages

Packages are the parts of Bitweaver that deal with content such as wiki pages, blogs or news articles.

{foreach from=$schema key=package item=item} {if !$item.installed and !$item.required}
{forminput} {formhelp note=$item.info is_installer=1} {formhelp note="Location: `$item.url`"} {formhelp package=$package} {/forminput}
{/if} {/foreach} {elseif $first_install}

Core System Installation

{tr}Only the core required packages will be installed{/tr}

{else}

No Additional Packages

All available packages have already been installed. If you are expecting to see a particular package here, please make sure that it is in the correct directory and also that the server has read permissions to that package. You can always test the permissions by setting them 777:
cd {$smarty.const.BIT_ROOT_PATH}
chmod -R 777 <package>/

Common permissions that work on most systems can be set as follows:
cd {$smarty.const.BIT_ROOT_PATH}
chmod -R 755 <package>/
find <package>/ -type f -print | xargs chmod 644

{/if}
Please press this button only once.
Depending on the number of packages and the hardware,
this process might take up to a few minutes.

{forminput} {formhelp note="Display SQL statements."} {/forminput}
{/form} {/jstab} {if !$first_install} {jstab title="Uninstall/Reinstall"} {form legend="Already Installed Packages"}

These packages are already installed on your system. If you select any of these checkboxes, all the data associated with it will be erased (depending on options below).

{formlabel label="selected packages:"} {forminput}
{formhelp note="Choose whether you want to uninstall or reinstall selected packages."} {/forminput}
{formlabel label=""} {forminput} {formhelp note="If selected, the package's database tables are deleted. If no other option is selected, specific settings might remain in Kernel configuration, and specific content might remain in Liberty tables, both of which might lead to undesired results."} {formhelp note="If selected, all package specific settings are removed. Therefor the package is reset to it's default values, including permissions."} {formhelp note="If selected, all content that has been stored in the common content storage area is removed."} {/forminput}

{foreach from=$schema key=package item=item} {if $item.tables || $item.defaults} {if $item.installed and !$item.required}
{forminput} {formhelp note=$item.info is_installer=1} {formhelp note="Location: `$item.url`"} {formhelp package=$package} {/forminput}
{/if} {/if} {/foreach}
Please press this button only once.
Depending on the number of packages and the hardware,
this process might take up to a few minutes.

{forminput} {formhelp note="Display SQL statements."} {/forminput}
{/form} {/jstab} {/if} {jstab title="Required"} {legend legend="Packages and services required by Bitweaver"} {if !$first_install}

To reset the entire system, first create a new database (or empty the existing database manually).

{/if} {foreach from=$schema key=package item=item} {if $item.required}
{biticon ipackage=$package iname="pkg_$package" iexplain=`$package`}
{forminput} {$package|capitalize} {formhelp note=$item.info is_installer=1} {formhelp note="Location: `$item.url`"} {formhelp package=$package} {/forminput}
{/if} {/foreach} {/legend} {/jstab} {/jstabs} {if !$first_install} {form}
  
{/form} {/if} {/if} {/strip}