|
|
@@ -140,8 +140,9 @@ function exec_ogp_module()
|
|
|
|
|
|
echo '</table>';
|
|
|
|
|
|
- echo '<h2>'.get_lang('cpu_affinity').'</h2>';
|
|
|
- echo '<div id="cpu_select">';
|
|
|
+ echo '<h3>'.get_lang('cpu_affinity').'</h3>';
|
|
|
+ echo "<p class='info'>". cpu_affinity_info ."</p>\n";
|
|
|
+ echo '<div id="cpu_select" style="text-align: center;">';
|
|
|
|
|
|
// Get the selected cores.
|
|
|
$enabledCores = $db->getHomeAffinity($home_id);
|
|
|
@@ -177,7 +178,7 @@ function exec_ogp_module()
|
|
|
echo '<span style="display:inline-block;"><label for="cpu_'.$x.'">CPU '.$x.'</label> <input type="checkbox" name="cpus[]" value="'.$x.'" id="cpu_'.$x.'" class="cpus" '. ( in_array($x, $cores) ? 'checked' : '' ) .'/></span>';
|
|
|
}
|
|
|
|
|
|
- echo '</div><button class="set_options" id="'.$enabled_rows['mod_cfg_id'].'" style="float:right">'.get_lang('set_affinity').'</button>';
|
|
|
+ echo '<button class="set_options" id="'.$enabled_rows['mod_cfg_id'].'" style="margin-left:10px;">'.get_lang('set_affinity').'</button></div>';
|
|
|
|
|
|
$game_mods = $db->getAvailableModsForGameHome($home_id);
|
|
|
$mods_available = 0;
|
|
|
@@ -207,4 +208,4 @@ function exec_ogp_module()
|
|
|
<script type="text/javascript" src="js/modules/user_games-mods.js"></script>
|
|
|
<?php
|
|
|
}
|
|
|
-?>
|
|
|
+?>
|