function show_form($form, $msg = NULL) { $users = User::total_users(); $websites = created_websites_total(); $templates = available_templates(); include_once sz_config('base_path') . 'themes' . DS . sz_config('theme') . DS . 'forms' . DS . $form . '.php'; }
</p> </div> </fieldset> <fieldset id="views"> <legend><?php _e('Viewing Settings'); ?> </legend> <div class="row"> <label for="template"><?php _e('Template'); ?> :</label> <select id="template" name="template"> <?php foreach (available_templates() as $template) { echo '<option value="', $template['name']; if ($template['name'] === get_option('template')) { echo '" selected="selected'; } echo '">', $template['real_name'], '</option>'; } ?> </select> </div> <div class="row"> <label for="locale"><?php _e('Language'); ?> </label> <select id="locale" name="locale">