<form method="post" action="?controller=project&action=update&project_id=<?php echo $values['id']; ?> " autocomplete="off"> <?php echo Helper\form_csrf(); ?> <?php echo Helper\form_hidden('id', $values); ?> <?php echo Helper\form_label(t('Name'), 'name'); ?> <?php echo Helper\form_text('name', $values, $errors, array('required')); ?> <?php echo Helper\form_checkbox('is_active', t('Activated'), 1, isset($values['is_active']) && $values['is_active'] == 1); ?> <br/> <div class="form-actions"> <input type="submit" value="<?php echo t('Save'); ?> " class="btn btn-blue"/> </div> </form>
echo Helper\form_label(t('Username'), 'username'); ?> <?php echo Helper\form_text('username', $values, $errors, array('autofocus', 'required')); ?> <br/> <?php echo Helper\form_label(t('Password'), 'password'); ?> <?php echo Helper\form_password('password', $values, $errors, array('required')); ?> <?php echo Helper\form_checkbox('remember_me', t('Remember Me'), 1); ?> <br/> <?php if (ENABLE_MULTIPLE_DB && count($databases) > 1) { ?> <div id="database-selector"> <h4><?php echo t('Select another database'); ?> </h4> <?php foreach ($databases as $filename => $dbname) { ?> <?php
?> <br/> <?php echo Helper\form_label(t('Default Project'), 'default_project_id'); ?> <?php echo Helper\form_select('default_project_id', $projects, $values, $errors); ?> <br/> <?php if (Helper\is_admin()) { ?> <?php echo Helper\form_checkbox('is_admin', t('Administrator'), 1, isset($values['is_admin']) && $values['is_admin'] == 1 ? true : false); ?> <?php } ?> <div class="form-actions"> <input type="submit" value="<?php echo t('Save'); ?> " class="btn btn-blue"/> <?php echo t('or'); ?> <a href="?controller=user"><?php echo t('cancel'); ?>
<p class="form-help"><?php echo t('Downloading full content is slower because Miniflux grab the content from the original website. You should use that for subscriptions that display only a summary. This feature doesn\'t work with all websites.'); ?> </p> <?php echo Helper\form_label(t('Groups'), 'groups'); ?> <div id="grouplist"> <?php foreach ($groups as $group) { ?> <?php echo Helper\form_checkbox('feed_group_ids[]', $group['title'], $group['id'], in_array($group['id'], $values['feed_group_ids']), 'hide'); ?> <?php } ?> <?php echo Helper\form_text('create_group', $values, array(), array('placeholder="' . t('add a new group') . '"')); ?> </div> <div class="form-actions"> <button type="submit" class="btn btn-blue"><?php echo t('Add'); ?> </button> <?php
</div> <div class="preview-area"> <div class="markdown"></div> </div> </div> <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?php echo t('Write your text in Markdown'); ?> </a></div> <?php if (!isset($duplicate)) { ?> <?php echo Helper\form_checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1); ?> <?php } ?> </div> <div class="form-column"> <?php echo Helper\form_hidden('project_id', $values); ?> <?php echo Helper\form_label(t('Assignee'), 'owner_id'); ?> <?php
?> <?php echo Helper\form_text('url', $values, array(), array('required', 'autofocus', 'placeholder="' . t('http://website/') . '"')); ?> <br/><br/> <?php echo Helper\form_checkbox('rtl', t('Force RTL mode (Right-to-left language)'), 1, isset($values['rtl']) ? $values['rtl'] : false); ?> <br/> <?php echo Helper\form_checkbox('download_content', t('Download full content'), 1, isset($values['download_content']) ? $values['download_content'] : false); ?> <br/> <?php echo Helper\form_checkbox('cloak_referrer', t('Cloak the image referrer'), 1, isset($values['cloak_referrer']) ? $values['cloak_referrer'] : false); ?> <br /> <p class="form-help"><?php echo t('Downloading full content is slower because Miniflux grab the content from the original website. You should use that for subscriptions that display only a summary. This feature doesn\'t work with all websites.'); ?> </p> <div class="form-actions"> <button type="submit" class="btn btn-blue"><?php echo t('Add'); ?> </button> <?php echo t('or'); ?>
<?php echo Helper\form_checkbox('notifications_enabled', t('Enable email notifications'), '1', $notifications['notifications_enabled'] == 1); ?> <br/> <p><?php echo t('I want to receive notifications only for those projects:'); ?> <br/><br/></p> <div class="form-checkbox-group"> <?php foreach ($projects as $project_id => $project_name) { ?> <?php echo Helper\form_checkbox('projects[' . $project_id . ']', $project_name, '1', isset($notifications['project_' . $project_id])); ?> <?php } ?> </div> <div class="form-actions"> <input type="submit" value="<?php echo t('Save'); ?> " class="btn btn-blue"/> <?php echo t('or'); ?> <a href="?controller=user&action=show&user_id=<?php echo $user['id'];
echo Helper\form_checkbox('rtl', t('Force RTL mode (Right-to-left language)'), 1, isset($values['rtl']) ? $values['rtl'] : false); ?> <br /> <?php echo Helper\form_checkbox('download_content', t('Download full content'), 1, isset($values['download_content']) ? $values['download_content'] : false); ?> <br /> <?php echo Helper\form_checkbox('cloak_referrer', t('Cloak the image referrer'), 1, isset($values['cloak_referrer']) ? $values['cloak_referrer'] : false); ?> <br /> <?php echo Helper\form_checkbox('enabled', t('Activated'), 1, isset($values['enabled']) ? $values['enabled'] : false); ?> <div class="form-actions"> <button type="submit" class="btn btn-blue"><?php echo t('Save'); ?> </button> <?php echo t('or'); ?> <a href="?action=feeds"><?php echo t('cancel'); ?> </a> </div>
} ?> <?php if ($project['is_private'] == 0) { ?> <hr/> <form method="post" action="<?php echo Helper\u('project', 'allowEverybody', array('project_id' => $project['id'])); ?> "> <?php echo Helper\form_csrf(); ?> <?php echo Helper\form_hidden('id', array('id' => $project['id'])); ?> <?php echo Helper\form_checkbox('is_everybody_allowed', t('Allow everybody to access to this project'), 1, $project['is_everybody_allowed']); ?> <div class="form-actions"> <input type="submit" value="<?php echo t('Save'); ?> " class="btn btn-blue"/> </div> </form> <?php }
echo Helper\form_checkbox('rtl', t('Force RTL mode (Right-to-left language)'), 1, $values['rtl']); ?> <br /> <?php echo Helper\form_checkbox('download_content', t('Download full content'), 1, $values['download_content']); ?> <br /> <?php echo Helper\form_checkbox('cloak_referrer', t('Cloak the image referrer'), 1, $values['cloak_referrer']); ?> <br /> <?php echo Helper\form_checkbox('enabled', t('Activated'), 1, $values['enabled']); ?> <div class="form-actions"> <button type="submit" class="btn btn-blue"><?php echo t('Save'); ?> </button> <?php echo t('or'); ?> <a href="?action=feeds"><?php echo t('cancel'); ?> </a> </div>
<?php echo Helper\form_label(t('Pinboard tags'), 'pinboard_tags'); ?> <?php echo Helper\form_text('pinboard_tags', $values, $errors); ?> </div> <h3><?php echo t('Instapaper'); ?> </h3> <div class="options"> <?php echo Helper\form_checkbox('instapaper_enabled', t('Send bookmarks to Instapaper'), 1, isset($values['instapaper_enabled']) && $values['instapaper_enabled'] == 1); ?> <br /> <?php echo Helper\form_label(t('Instapaper username'), 'instapaper_username'); ?> <?php echo Helper\form_text('instapaper_username', $values, $errors); ?> <br/> <?php echo Helper\form_label(t('Instapaper password'), 'instapaper_password'); ?> <?php
?> <?php echo Helper\form_number('frontend_updatecheck_interval', $values, $errors, array('min="0"')); ?> <br/> <?php echo Helper\form_checkbox('original_marks_read', t('Original link marks article as read'), 1, isset($values['original_marks_read']) && $values['original_marks_read'] == 1); ?> <br/> <?php echo Helper\form_checkbox('nocontent', t('Do not fetch the content of articles'), 1, isset($values['nocontent']) && $values['nocontent'] == 1); ?> <br/> <?php echo Helper\form_checkbox('favicons', t('Download favicons'), 1, isset($values['favicons']) && $values['favicons'] == 1); ?> <br/> </div> <div class="form-actions"> <input type="submit" value="<?php echo t('Save'); ?> " class="btn btn-blue"/> </div> </form> </section> <div class="page-section"> <h2><?php
?> <?php echo Helper\form_select('owner_id', $users_list, $values, $errors); ?> <br/> <?php echo Helper\form_label(t('Description'), 'description'); ?> <?php echo Helper\form_textarea('description', $values, $errors); ?> <br/> <?php echo Helper\form_checkbox('another_task', t('Create another task'), 1); ?> <div class="form-actions"> <input type="submit" value="<?php echo t('Save'); ?> " class="btn btn-blue"/> <?php echo t('or'); ?> <a href="?controller=board&action=show&project_id=<?php echo $values['project_id']; ?> "><?php echo t('cancel');
?> <?php echo Helper\form_text('url', $values, array(), array('required', 'autofocus', 'placeholder="' . t('http://website/') . '"')); ?> <br/><br/> <?php echo Helper\form_checkbox('rtl', t('Force RTL mode (Right-to-left language)'), 1, $values['rtl']); ?> <br/> <?php echo Helper\form_checkbox('download_content', t('Download full content'), 1, $values['download_content']); ?> <br/> <?php echo Helper\form_checkbox('cloak_referrer', t('Cloak the image referrer'), 1, $values['cloak_referrer']); ?> <br /> <p class="form-help"><?php echo t('Downloading full content is slower because Miniflux grab the content from the original website. You should use that for subscriptions that display only a summary. This feature doesn\'t work with all websites.'); ?> </p> <div class="form-actions"> <button type="submit" class="btn btn-blue"><?php echo t('Add'); ?> </button> <?php echo t('or'); ?>