|
@@ -3553,22 +3553,23 @@ function template_upgrade_above()
|
|
|
echo '
|
|
|
</ul>
|
|
|
</div>
|
|
|
- <div id="progress">
|
|
|
- <div style="font-size: 8pt; height: 12pt; border: 1px solid black; background-color: white; width: 50%; margin: auto;">
|
|
|
- <div id="overall_text" style="color: #000; position: fixed; margin-left: -5em;">', $upcontext['overall_percent'], '%</div>
|
|
|
- <div id="overall_progress" style="width: ', $upcontext['overall_percent'], '%; height: 12pt; z-index: 1; background-color: lime;"> </div>
|
|
|
|
|
|
- </div>
|
|
|
- ';
|
|
|
+ <div id="progress">
|
|
|
+ <div id="overall_text_upgrade">', $upcontext['overall_percent'], '%</div>
|
|
|
+ <div id="overall_progress_upgrade" style="width: ', $upcontext['overall_percent'], '%;"> </div>
|
|
|
+ <div class="over_progress">', $txt['upgrade_overall_progress'], '</div>
|
|
|
+ </div>';
|
|
|
|
|
|
if (isset($upcontext['step_progress']))
|
|
|
echo '
|
|
|
- <div style="font-size: 8pt; height: 12pt; border: 1px solid black; background-color: white; width: 50%; margin: 5px auto; ">
|
|
|
- <div id="step_text" style="color: #000; position: absolute; margin-left: -5em;">', $upcontext['step_progress'], '%</div>
|
|
|
- <div id="step_progress" style="width: ', $upcontext['step_progress'], '%; height: 12pt; z-index: 1; background-color: #ffd000;"> </div>
|
|
|
- <div class="progress">', $txt['upgrade_step_progress'], '</div>
|
|
|
- </div>
|
|
|
- ';
|
|
|
+
|
|
|
+ <br />
|
|
|
+ <br />
|
|
|
+ <div id="progress">
|
|
|
+ <div id="step_text_upgrade">', $upcontext['step_progress'], '%</div>
|
|
|
+ <div id="step_progress_upgrade" style="width: ', $upcontext['step_progress'], '%;background-color: #ffd000;"> </div>
|
|
|
+ <div class="over_progress">', $txt['upgrade_step_progress'], '</div>
|
|
|
+ </div>';
|
|
|
|
|
|
echo '
|
|
|
<div id="substep_bar_div" class="smalltext" style="display: ', isset($upcontext['substep_progress']) ? '' : 'none', ';">', isset($upcontext['substep_progress_name']) ? trim(strtr($upcontext['substep_progress_name'], array('.' => ''))) : '', ':</div>
|
|
@@ -3582,11 +3583,11 @@ function template_upgrade_above()
|
|
|
$mins = (int) ($elapsed / 60);
|
|
|
$seconds = $elapsed - $mins * 60;
|
|
|
echo '
|
|
|
- <div class="smalltext" style="padding: 5px; text-align: center;">', $txt['upgrade_overall_progress'],'<br />', $txt['upgrade_time_elapsed'], ':
|
|
|
+ <br /> <br /> <br /> <br />
|
|
|
+ <div class="smalltext" style="padding: 5px; text-align: center;"><br />', $txt['upgrade_time_elapsed'], ':
|
|
|
<span id="mins_elapsed">', $mins, '</span> ', $txt['upgrade_time_mins'], ', <span id="secs_elapsed">', $seconds, '</span> ', $txt['upgrade_time_secs'], '.
|
|
|
</div>';
|
|
|
echo '
|
|
|
- </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div id="content_section">
|
|
@@ -3945,10 +3946,10 @@ function template_upgrade_options()
|
|
|
</tr>
|
|
|
<tr valign="top">
|
|
|
<td width="2%">
|
|
|
- <input type="checkbox" name="stats" id="stats" value="1"', empty($modSettings['allow_sm_stats']) ? '' : ' checked="checked"', ' class="input_check" />
|
|
|
+ <input type="checkbox" name="stat" id="stat" value="1"', empty($modSettings['allow_sm_stats']) ? '' : ' checked="checked"', ' class="input_check" />
|
|
|
</td>
|
|
|
<td width="100%">
|
|
|
- <label for="stats">
|
|
|
+ <label for="stat">
|
|
|
Allow Simple Machines to Collect Basic Stats Monthly.<br />
|
|
|
<span class="smalltext">If enabled, this will allow Simple Machines to visit your site once a month to collect basic statistics. This will help us make decisions as to which configurations to optimise the software for. For more information please visit our <a href="http://www.simplemachines.org/about/stats.php" target="_blank">info page</a>.</span>
|
|
|
</label>
|