Your IP : 216.73.216.46


Current Path : /home/megadansyp/www/administrator/components/com_jaextmanager/
Upload File :
Current File : /home/megadansyp/www/administrator/components/com_jaextmanager/script.jaextmanager.php

<?php
/**
 * ------------------------------------------------------------------------
 * JA Extension Manager Component
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2018 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites: http://www.joomlart.com - http://www.joomlancers.com
 * ------------------------------------------------------------------------
 */

// Try extending time, as unziping/ftping took already quite some... :
@set_time_limit( 0 );
defined ( '_JEXEC' ) or die ( 'Restricted access' );

//require_once( JPATH_SITE.'/components/com_jaextmanager/helpers/jahelper.php');
class Com_jaextmanagerInstallerScript
{
	function postflight($type, $parent) {
		if(version_compare( JVERSION, '3.0.0', '>' )){
			# Show installation result to user
?>
 <div style="text-align:left;">
  	<table width="100%" border="0">
	    <tr>
	      <td>
	      		<style type="text/css">
	 		.mod-desc li{
				background: url("../components/com_jaextmanager/elements/assets/images/arrow-level1.png") no-repeat left 10px;
				margin-left:10px;
				padding-left:12px;
			}
			.mod-desc p{
				margin:15px 0;
			}
	 	</style>
		<div style='font-weight:normal'>
	 	JA Extensions Manager is the first Joomla! extension to upgrade the way to manage extensions via AJAX technologies <br/>
	 	<p style="clear:both"><span style="color: #ff6600;"><strong>Features:</strong></span></p>
	 	<ol><li>Internal Repository</li>
		<li>Updates Checker</li> <li>Version Comparison</li><li>Upgrade and Backup User Setup</li><li>Remote Install and Upgrade</li></ol>
		
            <p><strong><span style='color: #ff0000;'>Usage Instructions:</span><br /></strong></p>
                <p>This component eases difficulties faced during each upgrade to newer versions. It allows the user to compare the files across the versions, check and backup files in conflict and also rollback to older versions, if necessary.</p>
               
                <p><strong>Documentation:</strong></p>

                <p>Detailed Documentation and Usage instructions can be viewed at JoomlArt <a href="https://www.joomlart.com/documentation/joomla-component/ja-extension-manager" target="_blank">Documentation Page</a>, Watch <a href="https://www.youtube.com/watch?v=t6W0bM0duS4" target="_blank">YouTube Video tutorial</a></p>

                <p><strong>Important things to do before using this component:</strong></p>
                <ol>
                <li>Make sure you have an working backup of the site, before you use this component. Although it works fine and has been tested, but the results might vary based on user environment.</li>
                <li>If you have encountered files / folder permissions or ownership problems with other extensions. We strongly recommend to fix them before going ahead with this component.</li>
                <li>If your extension upgrade involves database upgrades, please make sure your XML file contains the details for upgrade and downgrade (rollback). Check Wiki for details.</li>
                <li>Make sure you understand the File Legends while comparing and upgrading.</li>
                <li>This component is NOT capable of merging your customization into the new file. You will still have to redo your customization manually.</li>
                <li>Based on the comparison, you can take the backup of your customized files and redo the customization on the new files.</li>
                <li>We recommend using file comparison utility such as <a href="http://winmerge.org/" target="_blank">Win Merge</a>, to compare and move your customized codes to the new file.</li>
                </ol>
                               <p><strong>How it works:</strong></p>
                <p>This Component compares files based on checksum values and interprets the results based on comparison between the live version (A), original version (B) and new version (C).</p>
                <p> </p>
                <p><strong>Legends and their Explanation:</strong></p>
                <p>Component needs User version in use, user version (unmodified) and Latest Version for comparison. For ease of explanation, we have classified them as A, B and C as below:</p>
                <p>(<strong>A</strong>) = Files of Live version on User site.</p>
                <p>(<strong>B</strong>) = Original files of live version.</p>
                <p>(<strong>C</strong>) = New Version Files.</p>
                <p> </p>
                <ul>
                <li><strong><img src="components/com_jaextmanager/assets/dtree/img/icon_new.gif" border="0" alt="New File" width="15" height="15" /> New File</strong>: Files introduced in New Version. File which is present in (<strong>C</strong>) only, and absent in (<strong>A</strong>) and (<strong>B</strong>). These files will be moved to user site.</li>
                <li><strong><img src="components/com_jaextmanager/assets/dtree/img/icon_bmodified.gif" border="0" alt="File in Conflict" width="16" height="16" /> Conflicted Files</strong>: Files Modified by User (his version) and by Developer (New Version). Files which are modified at (<strong>A</strong>) and are also modified in new version at (<strong>C</strong>). These files will be overwritten, User needs to take backup.</li>
                <li><strong><img src="components/com_jaextmanager/assets/dtree/img/icon_updated.gif" border="0" alt="Updated File" width="15" height="15" /> Updated File</strong>: These files are modified in the new Version (<strong>C</strong>) and are not modified by user on his live site (<strong>A</strong>). These will be moved to User site, overwriting old files (no user customization in these files).</li>
                <li><strong><img src="components/com_jaextmanager/assets/dtree/img/icon_removed.gif" border="0" alt="Deleted File" width="15" height="15" /> Removed File</strong>: Files deleted in new version. These files are not present in the New Version (<strong>C</strong>), but are present in (<strong>A</strong>) and (<strong>B</strong>). These will be deleted from User site.</li>
                <li><strong><img src="components/com_jaextmanager/assets/dtree/img/icon_umodified.gif" border="0" alt="User Modified File" width="15" height="15" /> Modified File</strong>: These files are user customization (<strong>A</strong>), but not modified at (<strong>B</strong>) or in New Version (<strong>C</strong>). These files will not be overwritten, as they have not changed in the New Version.</li>
                <li><strong><img src="components/com_jaextmanager/assets/dtree/img/icon_ucreated.gif" border="0" alt="User Created File" width="15" height="15" /> Created By User</strong>: These files are either user created (<strong>A</strong>)or files which needs to be moved between folders while installation. If these are unique (non-package dependent), they would be left as it is. But if these are files which are moved during installation, they would be overwritten. Be careful with these files.</li>
                <li><strong><img src="components/com_jaextmanager/assets/dtree/img/icon_nochange.gif" border="0" alt="No Change in files" width="15" height="15" /> No Change</strong>: Not modified across (<strong>A</strong>), (<strong>B</strong>) and (<strong>C</strong>). These files will not be replaced.</li>
                </ul>
            
                <p><span style="color: #008000;"><strong>Links:</strong></span></p>
                <ul>
                  <li><a target="_blank" href="https://www.joomlart.com/documentation/joomla-component/ja-extension-manager">JA Extension Manager documentation</a></li>
                  <li><a target="_blank" href="https://www.joomlart.com/forums/t/ja-extension-manager-component">Report Bug</a></li>
                </ul>
                <!-- / message -->
                </fieldset>

	      </td>
	    </tr>
    </table>
 </div>
<?php
		}
	}
}
?>