echo Language::show('status', 'blog'); ?> <span class="text-danger">*</span></label> <select tabindex="3" class="select" id="status" name="status" data-placeholder="" required> <option value=""><?php echo Language::show('none', 'blog'); ?> </option> <?php if ($data['statuses']) { if (isset($error)) { $selected_status = $_POST['status']; } else { $selected_status = 1; } echo Arr::buildOptions($data['statuses'], $selected_status); } ?> </select> </div> <div class="form-group" id="publish_wrapper"> <label class="checkbox-inline"> <input type="checkbox" class="schedule" name="schedule" id="schedule" value="1"> <?php echo Language::show('Schedule', 'blog'); ?> </label> <input id="published_at" name="published_at" required="required" type="text" class="form-control datetimepicker mt-10" data-date-format="<?php echo Date::convertPHPToMomentFormat($_SESSION['dateformat'] . ' ' . $_SESSION['timeformat']); ?> " value="<?php
echo Language::show('supervisor', 'departments'); ?> </label> <select tabindex="3" class="select" name="supervisor"> <option value=""><?php echo Language::show('none', 'departments'); ?> </option> <?php if ($data['users']) { if (isset($error)) { $selected_user = $_POST['supervisor']; } else { $selected_user = $data['department'][0]->user_id; } echo Arr::buildOptions($data['users'], $selected_user, 'first_name,last_name'); } ?> </select> </div>--> </div> </div> <?php $languageL18n = L18n::getLanguagesForL18n(); if (!empty($languageL18n)) { echo "<legend class=\"text-semibold text-grey border-bottom-grey-100\">" . Language::show('localize_data', 'l18n') . "</legend>"; echo "<div class=\"row\">"; foreach ($languageL18n as $language) { foreach ($data['departmentsL18n'] as $key => $value) { if ($data['departmentsL18n'][$key]->language_id == $language->id) {
echo Language::show('role', 'navigation'); ?> <span class="text-danger">*</span></label> <select tabindex="6" class="select" required name="role"> <option value=""><?php echo Language::show('none', 'navigation'); ?> </option> <?php if ($data['role']) { if (isset($error)) { $selected_role = $_POST['role']; } else { $selected_role = ''; } echo Arr::buildOptions($data['role'], $selected_role); } ?> </select> </div> </div> </div> <div class="row"> <div class="col-md-6"> <label><?php echo Language::show('status', 'navigation'); ?> <span class="text-danger">*</span></label> <div class="checkbox checkbox-switch no-margin-top">
echo Language::show('interface_language', 'users'); ?> <span class="text-danger">*</span></label> <select class="select" name="interface_language" data-placeholder="" required> <option value=""><?php echo Language::show('none', 'users'); ?> </option> <?php if ($data['offices']) { if (isset($error)) { $selected_language = $_POST['languages']; } else { $selected_language = $data['user'][0]->language_id; } echo Arr::buildOptions($data['languages'], $selected_language); } ?> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label><?php echo Language::show('timezone', 'users'); ?> <span class="text-danger">*</span></label> <select class="select" name="timezone" data-placeholder="" required> <option value=""><?php echo Language::show('none', 'users'); ?>