1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-08 11:57:29 +02:00

Install tweaks. Voux theme preview image optimized.

This commit is contained in:
Cameron 2017-04-13 13:37:59 -07:00
parent 8b1ad719d3
commit ab890d9fe8
4 changed files with 5 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 870 KiB

View File

@ -14,8 +14,7 @@
<word>responsive</word> <word>responsive</word>
</keywords> </keywords>
<screenshots> <screenshots>
<image>preview.png</image> <image>preview.jpg</image>
<image>preview_full.png</image>
</screenshots> </screenshots>
<stylesheets> <stylesheets>
<css file="style.css" name="Default" /> <css file="style.css" name="Default" />

View File

@ -477,7 +477,7 @@ class e_install
<tr> <tr>
<td style='border-top: 1px solid #999;'><label for='server'>".LANINS_024."</label></td> <td style='border-top: 1px solid #999;'><label for='server'>".LANINS_024."</label></td>
<td style='border-top: 1px solid #999;'> <td style='border-top: 1px solid #999;'>
<input class='form-control input-large' type='text' id='server' name='server' autofocus size='40' value='localhost' maxlength='100' required='required' /> <input class='form-control input-large' type='text' id='server' name='server' autofocus size='40' value='".varset($this->previous_steps['mysql']['server'],'localhost')."' maxlength='100' required='required' />
<span class='field-help'>".LANINS_030."</span> <span class='field-help'>".LANINS_030."</span>
</td> </td>
</tr> </tr>
@ -485,7 +485,7 @@ class e_install
<tr> <tr>
<td><label for='name'>".LANINS_025."</label></td> <td><label for='name'>".LANINS_025."</label></td>
<td> <td>
<input class='form-control input-large' type='text' name='name' id='name' value='".varset($this->previous_steps['mysql']['user'])."' size='40' value='' maxlength='100' required='required' /> <input class='form-control input-large' type='text' name='name' id='name' value='".varset($this->previous_steps['mysql']['user'])."' size='40' maxlength='100' required='required' />
<span class='field-help'>".LANINS_031."</span> <span class='field-help'>".LANINS_031."</span>
</td> </td>
</tr> </tr>
@ -501,7 +501,7 @@ class e_install
<tr> <tr>
<td><label for='db'>".LANINS_027."</label></td> <td><label for='db'>".LANINS_027."</label></td>
<td class='form-inline'> <td class='form-inline'>
<input class='form-control input-large' type='text' name='db' size='20' id='db' value='' maxlength='100' required='required' pattern='^[a-zA-Z0-9_-]*' /> <input class='form-control input-large' type='text' name='db' size='20' id='db' value='".varset($this->previous_steps['mysql']['db'])."' maxlength='100' required='required' pattern='^[a-zA-Z0-9_-]*' />
<label class='checkbox-inline'><input type='checkbox' name='createdb' value='1' ".($this->previous_steps['mysql']['createdb'] ==1 ? "checked='checked'" : "")." /><small>".LANINS_028."</small></label> <label class='checkbox-inline'><input type='checkbox' name='createdb' value='1' ".($this->previous_steps['mysql']['createdb'] ==1 ? "checked='checked'" : "")." /><small>".LANINS_028."</small></label>
<span class='field-help'>".LANINS_033."</span> <span class='field-help'>".LANINS_033."</span>
</td> </td>
@ -664,7 +664,7 @@ class e_install
$alertType = 'error'; $alertType = 'error';
} }
elseif(($this->previous_steps['mysql']['createdb'] == 1) && empty($this->previous_steps['mysql']['overwritedb']) && $sql->database($this->previous_steps['mysql']['db'], $this->previous_steps['mysql']['server'])) elseif(($this->previous_steps['mysql']['createdb'] == 1) && empty($this->previous_steps['mysql']['overwritedb']) && $sql->database($this->previous_steps['mysql']['db'], $this->previous_steps['mysql']['prefix']))
{ {
$success = false; $success = false;
$e_forms->start_form("versions", $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING'] == "debug" ? "?debug" : "")); $e_forms->start_form("versions", $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING'] == "debug" ? "?debug" : ""));