<h3class="start install-images"><?php_e("Welcome to the Jappix installation!");?></h3>
<p><?php_e("This tool will help you fastly install Jappix, the first full-featured XMPP-based social platform, on your server. You don't even need any technical knowledge.");?></p>
<p><?php_e("Let's have a look at the installation steps:");?></p>
<ol>
<li><?php_e("Welcome");?></li>
<li><?php_e("Storage configuration");?></li>
<li><?php_e("Administrator account");?></li>
<li><?php_e("Main configuration");?></li>
<li><?php_e("Hosts configuration");?></li>
<li><?php_e("Services installation");?></li>
</ol>
<p><?phpprintf(T_("If the current language does not match yours (%1s), you can make Jappix speak %2s it will be saved."),getLanguageName($locale),languageSwitcher($locale));?></p>
<p><?php_e("If you want to get some help about the Jappix installation and configuration, you can use our whole documentation, available at:");?> <a href="http://codingteam.net/project/jappix/doc" target="_blank">http://codingteam.net/project/jappix/doc</a></p>
<p><?php_e("It's time to build your own social cloud: just go to the next step!");?></p>
<p><?php_e("Jappix stores persistent data (such as shared files, chat logs, your own music and its configuration) into a single secured storage folder.");?></p>
<p><?phpprintf(T_("Jappix must be able to write in this folder to create its sub-directories. If not, you must set the rights to %1s or change the folder owner to %2s (depending of your configuration)."),'<em>777</em>','<em>www-data</em>');?></p>
<?phpif(is_writable(JAPPIX_BASE.'/store')){
// Create the store tree
include(JAPPIX_BASE.'/php/store-tree.php');
?>
<pclass="info bigspace success"><?php_e("The folder is writable, you can continue!");?></p>
<?php}
else{
$continue=false;
?>
<pclass="info bigspace fail"><?phpprintf(T_("The folder is not writable, set the right permissions to the %s directory."),"<em>./store</em>");?></p>
<p><?php_e("Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager.");?></p>
<p><?php_e("Jappix needs that you specify some values to work. Please correct the following inputs (or keep the default values, which are sufficient for most people).");?></p>
<p><?php_e("Note that if you don't specify a value which is compulsory, it will be automatically completed with the default one.");?></p>
<p><?php_e("This page helps you specify the default hosts Jappix will connect to. You can leave it as it is and continue if you want to use the official service hosts.");?></p>
<p><?php_e("Maybe you don't know what a BOSH server is? In fact, this is a relay between a Jappix client and a XMPP server, which is necessary because of technical limitations.");?></p>
<p><?php_e("Note that if you don't specify a value which is compulsory, it will be automatically completed with the default one.");?></p>
<p><?php_e("You can install some extra softwares on your server, to extend your Jappix features. Some others might be modified, because of security restrictions which are set by default.");?></p>
<p><?php_e("To perform this, you must be able to access your server's shell and be logged in as root. Remember this is facultative, Jappix will work without these modules, but some of its features will be unavailable.");?></p>
<pclass="<?php echo($service_class) ?> success"><?phpprintf(T_("%s is installed on your system."),$services_names[$i]);?></p>
<?php}
// Missing service!
else{?>
<pclass="<?php echo($service_class) ?> fail"><?phpprintf(T_("%1s is not installed on your system, you should install %2s."),$services_names[$i],'<em>'.$services_packages[$i].'</em>');?></p>
<?php}
}
// Checks the upload size limit
$upload_max=uploadMaxSize();
$upload_human=formatBytes($upload_max);
if($upload_max>=7000000){?>
<pclass="info smallspace last success"><?phpprintf(T_("PHP maximum upload size is sufficient (%s)."),$upload_human);?></p>
<?php}
else{?>
<pclass="info smallspace last fail"><?phpprintf(T_("PHP maximum upload size is not sufficient (%1s), you should define it to %2s in %3s."),$upload_human,'8M','<em>php.ini</em>');?></p>
<?php}?>
<p><?php_e("After you finished the setup, Jappix will generate the cache files. It might be slow, just wait until the application is displayed and do not press any button.");?></p>