<steps>
	<step name="clean_db" title="Clean Database">
		<![CDATA[missing step description]]>
	</step>
	<step name="db_config" title="Database Configuration">
		<![CDATA[<p><b><i>Database Hostname</i></b> - IP or hostname of your database server (normally <i>"localhost"</i>).</p>

		<p><b><i>Database Name</i></b> - name of the database where In-Portal will be installed.</p>
		<p><b><i>Database User Name</i></b> - name of the user for selected database.</p>
		<p><b><i>Database User Password</i></b> - password for selected username.</p>
		<p><b><i>Database Collation</i></b> - character set used to store data in text fields (normally <i>"utf8_general_ci"</i>).</p>
		<p><b><i>Prefix for Table Names</i></b> - specified when multiple scripts will be run in the same database.
		Prefix can be any text string allowed in table naming by your database engine (normally <i>"inp_"</i>).</p>
		<p><b><i>Use existing In-Portal installation setup in this Database</i></b> - select <i>"Yes"</i>
		if you already have In-Portal installed in this database and want to use it. Select <i>"No"</i> in all other cases.</p>
		]]>
	</step>
	<step name="select_license" title="Select License" help_title="License Configuration">
		<![CDATA[<p><b>In-Portal is an Open Source</b> object-oriented framework that is developed in PHP
		 and provides a quick and easy way to build websites and web applications.</p>

		 <p>In-Portal is copyrighted and distributed under <a href="http://www.in-portal.org/license" target="_blank">GPLv2 license</a>.</p>

		 <p><b><i>GPL / Open Source License</i></b> - by downloading and installing In-Portal
		  under GPLv2 license you understand and agree to all terms of the
		  <a href="http://www.in-portal.org/license" target="_blank">GPLv2 license</a>.</p>

		 <p><b><i>Upload License File</i></b> - if you have obtained Commercial
		 <a href="http://www.in-portal.com/features-modules.html" target="_blank">Modules</a>
		  or <a href="http://www.in-portal.com/support-downloads/customer-support.html" target="_blank">Support</a>
		  from Intechnic you will be provided with a license file, upload it here.</p>
		<!--
		 <p><b><i>Download from Intechnic Servers</i></b> - .</p>
		-->
		 <p><b><i>Use Existing License</i></b> - if a valid license has been detected on your server,
		 you can choose this option and continue the installation process.</p>]]>
	</step>
	<step name="download_license" title="Download License" help_title="Download License from Intechnic">
		<![CDATA[<p><b>In-Portal is an Open Source</b> object-oriented framework that is developed in PHP
		 and provides a quick and easy way to build websites and web applications.</p>

		 <p>In-Portal is copyrighted and distributed under <a href="http://www.in-portal.org/license" target="_blank">GPLv2 license</a>.</p>

		 <p><b><i>GPL / Open Source License</i></b> - by downloading and installing In-Portal
		  under GPLv2 license you understand and agree to all terms of
		  <a href="http://www.in-portal.org/license" target="_blank">GPLv2 license</a>.</p>

		 <p><b><i>Download from Intechnic Servers</i></b> - if you have obtained Commercial
		 <a href="http://www.in-portal.com/features-modules.html" target="_blank">Modules</a>
		  or <a href="http://www.in-portal.com/support-downloads/customer-support.html" target="_blank">Support</a>
		  from Intechnic you will be provided with a license, specify your Username and Password in order to download the license.</p>]]>
	</step>
	<step name="select_domain" title="Select Domain" help_title="Select Licensed Domain">
		<![CDATA[<p>Select the domain you wish to install In-Portal on.</p>

		<p>The <i>Other</i> option can be used to install In-Portal other custom domains. Note that your web server should match entered domain name.</p>]]>
	</step>
	<step name="root_password" title="Set Root Password" help_title="Set Admin Root Password">
		<![CDATA[<p>The <b>Root Password</b> is initially required to access the Admin Console of In-Portal.
		The root user can <b>NOT</b> be used to access the Front-end of your In-Portal website.</p>

		<p>Once installation is completed it's highly recommented to create additional users with admin privlidges.</p>]]>
	</step>
	<step name="choose_modules" title="Modules to Install">
		<![CDATA[<p>Current step lists all <b>In-Portal Modules</b> that were found on your server and can be installed now.</p>

		<p>Additional <a href="http://www.in-portal.com/features-modules.html" target="_blank">In-Portal Modules</a> can be found and downloaded <a href="http://www.in-portal.com/features-modules.html" target="_blank">here</a>.</p>

		<p>While <a href="http://www.in-portal.com/features-modules.html" target="_blank">In-Portal Community</a> constantly works on improving In-Portal by creating new functionality and releasing new modules we are always looking for new ideas and Your help so we can make In-Portal even better software!</p>]]>
	</step>
	<step name="check_paths" title="Filesystem Check">
		<![CDATA[<p><b>In-Portal Installer checks through the system folders and files</b> that require write permissions (777) to be set in order to run successfully In-Portal on your website.</p>

		<p>In case if you see a <strong>Failure notice</strong> saying that In-Portal Installation cannot continue until all permissions are set correctly please continue reading below.</p>

		<p><strong>Permissions can be set</strong> by using <a href="http://www.google.com/search?q=free+ftp+program" target="_blank">FTP program</a> or directly in <i>shell</i> running "chmod" command. Please refer to the following <a href="http://www.stadtaus.com/en/tutorials/chmod-ftp-file-permissions.php" target="_blank">guide</a> to learn how to set permissions using your FTP program. In case if you have access to <i>shell</i> in your account you can simply run fix_perms.sh files located in /tools folder or do <br/><br/>
		&nbsp;&nbsp;&nbsp;# chmod -R 777 ../system ../themes ../system/config.php</p>

		<p><strong>Security reasons</strong> you will be asked to change permissions back to 755 on /system/config.php file and root / folder of In-Portal on the last step of this installation process!</p>
		]]>
	</step>
	<step name="post_config" title="Basic Configuration">
		<![CDATA[<p>Adjust <b>Basic Configuration</b> settings on this step.</p>

		<p>Once your In-Portal is installed you can login into <b>Admin Console</b> to change these and other settings. The Configuration section is located in main navigation menu.</p>
		<br/>
		<p><b>Additional Recommendations:</b></p>

		<p><b><i>1. Use Cron</i></b> (<a href="http://en.wikipedia.org/wiki/Cron" target="_blank">UNIX/BSD/Linux</a>) or <b>Task Scheduler</b> (<a href="http://en.wikipedia.org/wiki/Task_Scheduler" target="_blank">Windows</a>) to run Regular Events in your In-Portal.<br />
				It's highly recommended to setup your cron to run <b>every minute</b> so all system events that are enabled will run in the background based on their schedule. These events can be managed in Admin Console via <b><i>Configuration -> Website -> Scheduled Tasks</i></b> section.
				<p>In-Portal <b>cron</b> file is located in <b>/tools/cron.php</b> folder and can be setup using hosting Control Panel or <a href="http://en.wikipedia.org/wiki/Cron" target="_blank">manually</a>. In Plesk or CPanel interfaces use dialog to add a new cron job and specify the following (use correct paths)<br />
				&nbsp;&nbsp;&nbsp;<b>/absolute/path/to/bin/php -f /absolute/path/to/in-portal/tools/cron.php</b></p>

				<p><b><i>2. Adjust Scheduled Tasks</i></b><br />
				As was explained in the previous recommendation there is a <b><i>Configuration -> Website -> Scheduled Tasks</i></b> section where you can control Events triggered by the system. These events do their job to cleanup the data, old image files, check the data integrity, RSS feeds and other processes required for your In-Portal to run efficiently. We do recommend to review and enable/disable these events based on your website needs.</p>
				<p><b><i>3. Set Mail Server</i></b><br />
				 It's recommended to review and adjust your mail server settings once your In-Portal is up and running. This can be done in Admin Console under <b><i>Configuration -> Website -> Advanced</i></b> section.</p>

				 <p><b>We strongly recommend carefully reviewing and adjusting all settings under Configuration -> Website section!</b></p>

		]]>
	</step>
	<step name="sys_config" title="System Configuration">
		<![CDATA[<p>These are system advanced settings and must be changed with caution. It's <strong><i>not recommended</i></strong> to
		change these settings unless you exactly know what you are doing. These settings will be stored in <strong>system/config.php</strong>
		file and can be changed manually if needed.</p>
		<br/>

		<p><b><i>Web Path to Installation</i></b> - web path to the root of your In-Portal installation. For example,
		if your In-Portal will be running at http://www.your-website.com, then Web Path to Installation should be left empty
		since In-Portal is setup in the root of the domain. In case if your In-Portal will be running under
		 http://www.your-website.com/in-portal/, then it should be set to <b>/in-portal</b> (no trailing slash). This setting is auto-detected during the
		 initial installation step, but can be adjusted at Installation Maintenance step.</p>

		<p><b><i>Path to Writable folder</i></b> - path to a folder inside your In-Portal installation which can be accessed from the Web
		 and has writable permissions for the web server. This folder will be used to store dynamic content such as
		  uploaded and resized images, cached templates and other types of user files. The default value is <b>/system</b>.</p>

		<p><b><i>Path to Restricted folder</i></b> - path to a folder inside or outside your In-Portal installation which will
		used to store debug files, system logs and other non-public information. This folder must be writable by the web-server
		 and can be located outside of your In-Portal installation if needed. The default value is <b>/system/.restricted</b> .</p>

		<p><b><i>Path to Admin folder</i></b> - web path to your In-Portal Admin Console folder. The default value is set to
		 <b>/admin</b> and your Admin Console will be accessible at http://www.your-website.com/admin.
		 In case if you want your Admin Console to be under http://www.your-website.com/secure-admin (or anything else)
		 you'll need to rename original <b>admin</b> folder to <b>secure-admin</b> on your filesystem and then set this path to <b>/secure-admin</b> .</p>

		<p><b><i>Path to Admin Interface Presets folder</i></b> - path to a folder inside your In-Portal installation
		contains Admin Interface Presets. The default value is <b>/admin</b> .</p>

		<p><b><i>Name of Base Application Class</i></b> - default value is <b>kApplication</b> and can change very rarely. </p>

		<p><b><i>Path to Base Application Class file</i></b> - default value is <b>/core/kernel/application.php</b> and can change very rarely.</p>

		<p><b><i>Output Caching Engine</i></b> - provides ability to cache HTML output or other data using various caching engines to
		 lower the database load. The default value is set to <b>None</b> if no available engines detected. Available options are:
		  None (Fake), Memcached (Memcache), XCache (XCache) and Alternative PHP Cache (Apc).
		  Note that only auto-detected caching engines will be available for selection.</p>

		<p><b><i>Location of Memcache Servers</i></b> - host or IP address with port where Memcached Server is running.
		 Multiple locations of can be listed separated by semi-colon (;). For example, 192.168.1.1:1121;192.168.1.2:1121;192.168.1.3:1121 .</p>

		<p><b><i>CSS/JS Compression Engine</i></b> - provides <a href="http://en.wikipedia.org/wiki/Minification_(programming)">minification</a>
		 functionality for CSS / Javascript files. The default value is set to <b>PHP-based</b> if no Java is auto-detected on server-side.
		 Available options are: None (empty), YUICompressor (Java) (yui) and PHP-based (php) .</p>

		<p><b><i>Website Charset</i></b> - character encoding that will be used across the website. By default this should be set to UTF-8,
		but can  set to other encoding also (see <a href="http://en.wikipedia.org/wiki/Character_encoding">wikipedia.org</a> options).
		It's highly recommended to have Website Encoding match the Database Encoding (specified on DB step).</p>

		<p><b><i>Enable "System Log"</i></b> - "System Log" has capability to record PHP Exceptions, Errors, Warnings, Notices, Database/SQL
		Errors and Warnings, and User defined messages that happened on your website. It has 3 modes - Enabled (logs everything, including user
		defined messages), User-only (user defined messages only), and Disabled (don't log anything at all - default setting).</p>

		<p><b><i>Trust Proxy</i></b> - whatever to trust information provided by provided by proxy server (if any) located between web server
		and client browser.</p>

		<br/>
		]]>
	</step>
	<step name="select_theme" title="Select Default Theme">
		<![CDATA[<p>Selected theme will be used as a default in your In-Portal website.</p>
		<p>You can manage your themes in Admin Console under Configuration -> Website -> Themes section.</p>

		<p>Additional themes are available on <a href="http://www.in-portal.com/support-downloads.html" target="_blank">Support & Downloads</a> section on <a href="http://www.in-portal.com" target="_blank">In-Portal.com</a> website</p>]]>
	</step>
	<step name="security" title="Security Check">
		<![CDATA[<p><strong>In-Portal Installer</strong> performs final security checks on this step.</p>

		<p><b>1. Write Permissions Check</b> - checks whether critical In-Portal files are open for the outside world and can be used by hackers to attack your websites. <b>You won't be able to continue until you correctly set these permissions!</b></p>

		<p><b>2. Ability to Execute PHP in Writable Folders</b> - checks if hackers can save and execute PHP files in your /system
		folder used for the uploads.While it's recommended to adjust these settings you can continue In-Portal Installation without changing them.</p>
		<p><b>3. Webserver PHP Configuration</b> - additional suggestions how to make your website even more secure. While it's recommended to adjust these settings you can continue In-Portal Installation without changing them.</p>

		]]>
	</step>
	<step name="finish" title="Installation Complete" help_title="Thank You!">
		<![CDATA[<p>Thank you for downloading and installing In-Portal Content Management System!</p>

		<p>Feel free to visit <a target="_new" href="http://www.in-portal.com">www.in-portal.com</a> for support, latest news and module updates.</p>
    	<p><strong>Please make sure to clean your Browser's Cache if you were performing the upgrade.</strong></p>]]>
    </step>
    <step name="install_setup" title="Installation Maintenance">
    	<![CDATA[<p>A Configuration file has been detected on your system and it appears In-Portal is correctly installed.
		In order to work with the maintenance functions provided to the left you must enter your admin Root password.
		<b><i>(Use Username 'root' if using your root password)</i></b></p>

		<p><b><i>Upgrade In-Portal</i></b> - available when you upload files from new In-Portal release into
		your current installation. Upgrade scripts will run and upgrade your current In-Portal database to the uploaded version.</p>

		<p><b><i>Reinstall In-Portal</i></b> - cleans out your existing In-Portal database and starts with a fresh installation.
		<i>Note</i> that this operation cannot be undone and no backups are made! Use at your own risk.</p>

		<p><b><i>Install In-Portal to a New Database</i></b> - keeps the existing installation and installs In-Portal to a new database.
		If this option is selected you will be prompted for new database configuration information.</p>

		<p><b><i>Update License Information</i></b> - used to update your In-Portal license data. Select this option if you have
		modified your licensing status with Intechnic (obtained commercial support or module), or you have received new license data via email.</p>
		<p><b><i>Update Database Configuration</i></b> - allows you to update your current database configuration variables such as
		database server host, username, password and others.</p>

		<p><b><i>Update Installation Paths</i></b> - should be used when the location of your In-Portal files has changed.
		For example, if you moved them from one folder to another. It will update all settings and ensure In-Portal
		is operational at the new location.</p>]]>
    </step>
    <step name="upgrade_modules" title="Select Modules to Upgrade">
    	<![CDATA[<p>Select modules from the list, you need to update to the last downloaded version of In-Portal</p>]]>
    </step>
    <step name="skin_upgrade" title="Admin Skin Upgrade">
    	<![CDATA[<p>Review Administrative Console skin upgrade log.</p>]]>
    </step>
    <step name="db_reconfig" title="Update Database Configuration">
		<![CDATA[<p>In-Portal needs to connect to your Database Server. Please provide the database server type*,
		host name (<i>normally "localhost"</i>), Database user name, and database Password. These fields are required
		to connect to the database.</p><p>If you would like In-Portal to use a table prefix, enter it in the field
		provided. This prefix can be any text which can be used in the names of tables on your system.
		The characters entered in this field are placed <i>before</i> the names of the tables used by In-Portal.
		For example, if you enter "inp_" into the prefix field, the table named Categories will be named inp_Categories.</p>]]>
	</step>
    <step name="sys_requirements" title="System Requirements Check">
    	<![CDATA[
    	<p>The <i>System Requirements Check</i> option should be used to ensure proper system behavior in the current environment.</p>
    	<p>
			<b>PHP version 5.3.2 or above<span class="error">*</span></b><br/>
			Use this PHP version or better to ensure normal website operation on every day basis.
		</p>
		<p>
			<b>URL rewriting support</b><br/>
			Allows to build nice looking SEO urls without specifying "/index.php" in each of them.
		</p>
		<p>
			<b>Java template compression</b><br/>
			When Java is installed on web server, then it's possible to use <a href="http://developer.yahoo.com/yui/compressor/" target="_blank">YUI Compressor</a>
			to minify HTML, CSS and JavaScript output of website. This allows to make websites, which opens even faster, then before.
		</p>
		<p>
			<b>Dependencies via Composer</b><br/>
			In-Portal uses <a href="https://getcomposer.org/" target="_blank">Composer</a> to install required 3rd-party libraries.
			Please ensure, that:<br/>
			<ol>
				<li>Composer is installed (<a href="https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx" target="_blank">instructions</a>)</li>
				<li>Dependencies are installed (<a href="https://getcomposer.org/doc/00-intro.md#using-composer" target="_blank">instructions</a>)</li>
			</ol>
		</p>
		<p>
			<b>Memory caching support</b><br/>
			When available use <a href="http://memcached.org/" target="_blank">Memcached</a> memory object caching system for data caching.
			Will severely improve website performance under heavy load and page loading speed in general.
		</p>
		<p>
			<b>Accessing remote resources (via cURL)</b><br/>
			Allows to perform data retrieval from other websites (e.g. rss feeds) in background. Data retrieval internally is done
			using <a href="http://curl.haxx.se/" target="_blank">cURL</a> library, that must be installed on web server.
		</p>
		<p>
			<b>XML document processing (via SimpleXML)<span class="error">*</span></b><br/>
			In-Portal uses XML files to store module/theme meta data. This
			<a href="http://www.php.net/manual/en/book.simplexml.php" target="_blank">library</a> is used keep In-Portal
			code clean as fast even, when processing XML files.
		</p>
		<p>
			<b>Standard PHP Library (SPL)<span class="error">*</span></b><br/>
			Usage of <a href="http://www.php.net/manual/en/book.spl.php" target="_blank">this library</a> guarantees memory
			efficient way to manage files and data structures across In-Portal.
		</p>
		<p>
			<b>TrueType font support (via Freetype)<span class="error">*</span></b><br/>
			This library allows to use TrueType fonts inside produced images. In particular it's used for Captcha code generation.
		</p>
		<p>
			<b>GD Graphics Library 1.8 or above<span class="error">*</span></b><br/>
			<a href="http://www.boutell.com/gd/" target="_blank">This library</a> is used to perform various manipulations (e.g. resize, crop, etc.)
			on user-uploaded images.
		</p>
		<p>
			<b>JPEG images support<span class="error">*</span></b><br/>
			Support image manipulations on user-uploaded images *.jpg and *.jpeg file extensions.
		</p>
		<p>
			<b>Database connectivity (via MySQL)<span class="error">*</span></b><br/>
			In-Portal uses MySQL database as it's persistent data storage.
		</p>
		<p>
			<b>JSON processing support<span class="error">*</span></b><br/>
			<a href="http://en.wikipedia.org/wiki/JSON" target="_blank">JSON</a> data format is used to implement AJAX
			approach and perform complete page reload only, when necessary.
		</p>
		<p>
			<b>Memory requirements changing on the fly</b><br/>
			In-Portal requires at least 16 megabytes of memory to operate normally. However some resource consuming
			operations (like link validation) might consume more memory, then usual. To ensure, that such operations
			never fail In-Portal changes maximally allowed memory limit on the fly. See
			<a href="http://www.php.net/manual/en/ini.core.php#ini.memory-limit" target="_blank">memory_limit</a> setting
			for more info.
		</p>
		<p>
			<b>Prevent script errors in production environment</b><br/>
			Prevents any errors to be shown on website, that might happen due incorrect web server configuration. See
			<a href="http://www.php.net/manual/ru/errorfunc.configuration.php#ini.display-errors" target="_blank">display_errors</a> setting
			for more info.
		</p>
		<p>
			<b>Change error detalization level</b><br/>
			Ensures, that all error types are shown in development environment and none in production environment. See
			<a href="http://www.php.net/manual/ru/function.error-reporting.php" target="_blank">error_reporting</a> setting
			for more info.
		</p>
		<p>
			<b>Web server timezone is explicitly set<span class="error">*</span></b><br/>
			Web server timezone must be set explicitly to ensure correct date/time calculations and display across the website.
			See <a href="http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone" target="_blank">date.timezone</a>
			setting	for more info.
		</p>
		<p>
			<b>Needed super-global arrays registered</b><br/>
			Internally In-Portal relies on super-global array (e.g. $_SERVER, $_POST, etc.) presense inside a script. To make that happen
			<a href="http://www.php.net/manual/en/ini.core.php#ini.variables-order" target="_blank">variables_order</a> setting must contain
			following letters: "G", "P", "C", "S".
		</p>
		<p>
			<b>Script output buffering enabled<span class="error">*</span></b><br/>
			Output buffering is needed to allow usage of GZIP compression of page output. See
			<a href="http://www.php.net/manual/en/outcontrol.configuration.php#ini.output-buffering" target="_blank">output_buffering</a>
			setting	for more info.
		</p>
		<p>
			<b>Cookies enabled</b><br/>
			However In-Portal can work without cookies (by adding ?sid=XXXXXXXX into each page url), but it's strongly
			advised to use cookies-enabled web browser for better user expirience.
		</p>
		<p>
			<b>JavaScript enabled</b><br/>
			JavaScript might not be required on Front-End (depends on used theme), but it must be enabled in web browser
			during installation and Admin Console usage.
		</p>
    	]]>
    </step>
</steps>
