Initial Commit

This commit is contained in:
2019-11-21 12:25:31 +01:00
commit f4aabcb9b1
13959 changed files with 787761 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
<div class="title">
<h1><?php echo __('Welcome to Slider Revolution jQuery Visual Editor AddOn') ?></h1>
</div>
<div class="nav">
<ul>
<li><a class="active system" href="?step=checkconfig&lang=<?php echo $lang ?>"><?php echo __('System Check') ?></a></li>
<li><span class="inactive database"><?php echo __('Database') ?></span></li>
<li><span class="inactive admin"><?php echo __('Admin User') ?></span></a></li>
</ul>
</div>
<div class="block">
<div class="icon system"><i></i></div>
<div class="content">
<p><?php echo __("Here are the results of the basic requirements check. If one requirement isn't OK, please correct it and refresh this page once it is corrected.") ?></p>
<h2><?php echo __('System configuration check') ?></h2>
<?php if(isset($message)) :?>
<p class="<?php echo $message_type ?>"><?php echo $message ?></p>
<?php endif ;?>
<!-- PHP Version -->
<ul class="check">
<li class="<?php if($php_version) :?>ok<?php else :?>fail<?php endif ;?>"><?php echo __('PHP >= 5.3')?> (<b><?php echo phpversion() ?></b>)</li>
<li class="<?php if($openssl) :?>ok<?php else :?>fail<?php endif ;?>"><?php echo __('OpenSSL support')?> </li>
<li class="<?php if($mysql_support) :?>ok<?php else :?>fail<?php endif ;?>"><?php echo __('MySQL support')?> </li>
<li class="<?php if($safe_mode) :?>ok<?php else :?>fail<?php endif ;?>"><?php echo __('Safe Mode Off')?> </li>
<li class="<?php if($file_uploads) :?>ok<?php else :?>fail<?php endif ;?>"><?php echo __('File upload')?></li>
<li class="<?php if($gd_lib) :?>ok<?php else :?>fail<?php endif ;?>"><?php echo __('PHP GD Lib')?></li>
<li class="<?php if($curl_lib) :?>ok<?php else :?>fail<?php endif ;?>"><?php echo __('PHP cURL Lib')?></li>
</ul>
<h2><?php echo __('These folders needs to be writable') ?></h2>
<ul class="check">
<?php foreach($check_folders as $folder => $result) :?>
<li class="<?php if($result) :?>ok<?php else :?>fail<?php endif ;?>"><?php echo ROOTPATH . $folder ?></li>
<?php endforeach ;?>
</ul>
<?php if ($check_files) : ?>
<h2><?php echo __('These files needs to be writable') ?></h2>
<ul class="check">
<?php foreach($check_files as $file => $result) :?>
<li class="<?php if($result) :?>ok<?php else :?>fail<?php endif ;?>"><?php echo $file ?></li>
<?php endforeach ;?>
</ul>
<?php endif; ?>
<div class="buttons">
<?php if ($next) :?>
<a href="?step=database&lang=<?php echo $lang ?>" class="button yes right"><?php echo __('Next step') ?></a>
<?php endif ;?>
</div>
</div>
</div>

View File

@@ -0,0 +1,79 @@
<div class="title">
<h1><?php echo __('Database Settings') ?></h1>
</div>
<div class="nav">
<ul>
<li><a class="done system" href="?step=checkconfig&lang=<?php echo $lang ?>"><?php echo __('System Check') ?></a></li>
<li><a class="active database" href="?step=database&lang=<?php echo $lang ?>"><?php echo __('Database') ?></a></li>
<li><span class="inactive admin"><?php echo __('Admin User') ?></span></li>
</ul>
</div>
<div class="block">
<div class="icon database"><i></i></div>
<div class="content">
<?php if(isset($message)) :?>
<p class="<?php echo $message_type ?>"><?php echo $message ?></p>
<?php endif ;?>
<p><?php echo __('Please fill your database settings.') ?></p>
<?php echo form_open('step=database&lang=' . $lang, array('id' => 'db_form')) ; ?>
<?php echo form_hidden('action', 'save') ; ?>
<?php echo form_hidden('db_driver', function_exists('mysqli_connect') ? 'mysqli' : 'mysql') ; ?>
<dl>
<dt>
<label for="db_hostname"><?php echo __('Hostname')?></label>
</dt>
<dd>
<?php echo form_input(array('name' => 'db_hostname', 'id' => 'db_hostname', 'value' => $db_hostname != '' ? $db_hostname : 'localhost', 'class' => 'inputtext')) ; ?>
</dd>
</dl>
<dl>
<dt>
<label for="db_name"><?php echo __('Database')?></label>
</dt>
<dd>
<?php echo form_input(array('name' => 'db_name', 'id' => 'db_name', 'value' => $db_name, 'class' => 'inputtext')) ; ?>
</dd>
</dl>
<dl>
<dt>
<label for="db_username"><?php echo __('User')?></label>
</dt>
<dd>
<?php echo form_input(array('name' => 'db_username', 'id' => 'db_username', 'value' => $db_username, 'class' => 'inputtext')) ; ?>
</dd>
</dl>
<dl>
<dt>
<label for="db_password"><?php echo __('Password')?></label>
</dt>
<dd>
<?php echo form_input(array('name' => 'db_password', 'id' => 'db_password', 'value' => '', 'class' => 'inputtext')) ; ?>
</dd>
</dl>
<dl>
<dt>
<label for="db_prefix"><?php echo __('Prefix')?></label>
</dt>
<dd>
<?php echo form_input(array('name' => 'db_prefix', 'id' => 'db_prefix', 'value' => $db_prefix != '' ? $db_prefix : 'revslider_', 'class' => 'inputtext')) ; ?>
</dd>
</dl>
<div class="buttons">
<a href="javascript:void(0)" onclick="document.getElementById('db_form').submit(); return false;" class="button yes right"><?php echo __('Save & Go to Next step') ?></a>
</div>
</form>
</div>
</div>

View File

@@ -0,0 +1,16 @@
<div class="title">
<h1><?php echo __('Installation completed') ?></h1>
</div>
<div class="block">
<div class="icon finish"><i></i></div>
<div class="content">
<p><?php echo __('Installation completed. You can login to admin panel now.') ?></p>
<div class="buttons">
<a href="<?php echo $base_url; ?>index.php" class="button yes right"><?php echo __('Go to admin') ?></a>
</div>
</div>
</div>

View File

@@ -0,0 +1,2 @@
</body>
</html>

View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php echo __('Standalone Slider Revolution Installation'); ?></title>
<link rel="stylesheet" href="assets/css/install.css" type="text/css" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&subset=latin%2Clatin-ext" />
<link rel="apple-touch-icon" sizes="57x57" href="../assets/images/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="../assets/images/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="../assets/images/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="../assets/images/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="../assets/images/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="../assets/images/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="../assets/images/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="../assets/images/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="../assets/images/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="../assets/images/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="../assets/images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="../assets/images/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="../assets/images/favicon/favicon-16x16.png">
<link rel="manifest" href="../assets/images/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="../assets/images/favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<div class="header">
<img src="assets/images/logo_small.png" alt="<?php echo __('Slider Revolution'); ?>" />
<div class="version"><?php echo __('Version'); ?> <?php echo $version ?></div>
</div>

View File

@@ -0,0 +1,74 @@
<div class="title">
<h1><?php echo __('Admin User Account') ?></h1>
</div>
<div class="nav">
<ul>
<li><a class="done system" href="?step=checkconfig&lang=<?php echo $lang ?>"><?php echo __('System Check') ?></a></li>
<li><a class="done database" href="?step=database&lang=<?php echo $lang ?>"><?php echo __('Database') ?></a></li>
<li><a class="active admin" href="?step=settings&lang=<?php echo $lang ?>"><?php echo __('Admin User') ?></a></a></li>
</ul>
</div>
<div class="block">
<div class="icon admin"><i></i></div>
<div class="content">
<p><?php echo __('This will be default admin user for admin panel.') ?></p>
<!-- User message -->
<?php if(isset($message)) :?>
<p class="<?php echo $message_type ?>"><?php echo $message ?></p>
<?php endif ;?>
<?php echo form_open('step=user&lang=' . $lang, array('id' => 'user_form')) ; ?>
<?php echo form_hidden('action', 'save') ; ?>
<!-- User login -->
<dl>
<dt>
<label for="username"><?php echo __('Username')?></label>
</dt>
<dd>
<?php echo form_input(array('name' => 'username', 'id' => 'username', 'value' => $username, 'class' => 'inputtext')) ; ?>
</dd>
</dl>
<dl>
<dt>
<label for="email"><?php echo __('Email')?></label>
</dt>
<dd>
<?php echo form_input(array('name' => 'email', 'id' => 'email', 'value' => $email, 'class' => 'inputtext')) ; ?>
</dd>
</dl>
<dl>
<dt>
<label for="password"><?php echo __('Password')?></label>
</dt>
<dd>
<?php echo form_password(array('name' => 'password', 'id' => 'password', 'class' => 'inputtext')) ; ?>
</dd>
</dl>
<dl>
<dt>
<label for="password2"><?php echo __('Confirm password')?></label>
</dt>
<dd>
<?php echo form_password(array('name' => 'password2', 'id' => 'password2', 'class' => 'inputtext')) ; ?>
</dd>
</dl>
<div class="buttons">
<input type="submit" style="display:none" />
<a href="javascript:void(0)" onclick="document.getElementById('user_form').submit(); return false;" class="button yes right"><?php echo __('Create Admin & Finish') ?></a>
</div>
</form>
</div>
</div>