/>
" . $_lang['optional_items'] . "

" . $_lang['optional_items_note'] . "

"; $chk = isset ($_POST['installdata']) ? 'checked="checked"' : ""; echo 'Sample Data'; echo "

 " . $_lang['sample_web_site'] . "

"; echo " " . $_lang['install_overwrite'] . " " . $_lang['sample_web_site'] . "
 " . $_lang['sample_web_site_note'] . "

"; // toggle options echo "

" . $_lang['checkbox_select_options'] . "

" . $_lang['all'] . " " . $_lang['none'] . " " . $_lang['toggle'] . "


"; $options_selected= isset ($_POST['options_selected']); // display templates $templates = isset ($_POST['template']) ? $_POST['template'] : array (); $limit = count($moduleTemplates); if ($limit > 0) { echo '
' . $_lang['templates'] . ''; echo "

" . $_lang['templates'] . "


"; for ($i = 0; $i < $limit; $i++) { $chk = in_array($i, $templates) || (!$options_selected) ? 'checked="checked"' : ""; echo " " . $_lang['install_update'] . " " . $moduleTemplates[$i][0] . " - " . $moduleTemplates[$i][1] . "
"; } } // display chunks $chunks = isset ($_POST['chunk']) ? $_POST['chunk'] : array (); $limit = count($moduleChunks); if ($limit > 0) { echo '
' . $_lang['chunks'] . ''; echo "

" . $_lang['chunks'] . "

"; for ($i = 0; $i < $limit; $i++) { $chk = in_array($i, $chunks) || (!$options_selected) ? 'checked="checked"' : ""; echo " " . $_lang['install_update'] . " " . $moduleChunks[$i][0] . " - " . $moduleChunks[$i][1] . "
"; } } // display modules $modules = isset ($_POST['module']) ? $_POST['module'] : array (); $limit = count($moduleModules); if ($limit > 0) { echo '
' . $_lang['modules'] . ''; echo "

" . $_lang['modules'] . "

"; for ($i = 0; $i < $limit; $i++) { $chk = in_array($i, $modules) || (!$options_selected) ? 'checked="checked"' : ""; echo " " . $_lang['install_update'] . " " . $moduleModules[$i][0] . " - " . $moduleModules[$i][1] . "
"; } } // display plugins $plugins = isset ($_POST['plugin']) ? $_POST['plugin'] : array (); $limit = count($modulePlugins); if ($limit > 0) { echo '
' . $_lang['plugins'] . ''; echo "

" . $_lang['plugins'] . "

"; for ($i = 0; $i < $limit; $i++) { $chk = in_array($i, $plugins) || (!$options_selected) ? 'checked="checked"' : ""; echo " " . $_lang['install_update'] . " " . $modulePlugins[$i][0] . " - " . $modulePlugins[$i][1] . "
"; } } // display snippets $snippets = isset ($_POST['snippet']) ? $_POST['snippet'] : array (); $limit = count($moduleSnippets); if ($limit > 0) { echo '
' . $_lang['snippets'] . ''; echo "

" . $_lang['snippets'] . "

"; for ($i = 0; $i < $limit; $i++) { $chk = in_array($i, $snippets) || (!$options_selected) ? 'checked="checked"' : ""; echo " " . $_lang['install_update'] . " " . $moduleSnippets[$i][0] . " - " . $moduleSnippets[$i][1] . "
"; } } ?>