diff options
| author | 2015-10-25 00:20:05 +0200 | |
|---|---|---|
| committer | 2015-10-25 00:20:05 +0200 | |
| commit | 22da265736e0cfd84d42668622d3f5d05a8a03cf (patch) | |
| tree | 574dadd5f1ee45fa0cd9c9ea741840280a62f650 /app/install.php | |
| parent | 0202fd19ed310fc5ae6e098348ea02b4d43b82d7 (diff) | |
Remove "title" field when installing
https://github.com/FreshRSS/FreshRSS/issues/858
Diffstat (limited to 'app/install.php')
| -rw-r--r-- | app/install.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/install.php b/app/install.php index 5a774d7c1..9c878c95a 100644 --- a/app/install.php +++ b/app/install.php @@ -122,7 +122,6 @@ function saveStep1() { function saveStep2() { $user_default_config = Minz_Configuration::get('default_user'); if (!empty($_POST)) { - $_SESSION['title'] = substr(trim(param('title', _t('gen.freshrss'))), 0, 25); $_SESSION['old_entries'] = param('old_entries', $user_default_config->old_entries); $_SESSION['auth_type'] = param('auth_type', 'form'); $_SESSION['default_user'] = substr(preg_replace('/[^a-zA-Z0-9]/', '', param('default_user', '')), 0, 16); @@ -659,13 +658,6 @@ function printStep2() { <legend><?php echo _t('install.conf'); ?></legend> <div class="form-group"> - <label class="group-name" for="title"><?php echo _t('install.title'); ?></label> - <div class="group-controls"> - <input type="text" id="title" name="title" value="<?php echo isset($_SESSION['title']) ? $_SESSION['title'] : _t('gen.freshrss'); ?>" tabindex="1" /> - </div> - </div> - - <div class="form-group"> <label class="group-name" for="old_entries"><?php echo _t('install.delete_articles_after'); ?></label> <div class="group-controls"> <input type="number" id="old_entries" name="old_entries" required="required" min="1" max="1200" value="<?php echo isset($_SESSION['old_entries']) ? $_SESSION['old_entries'] : $user_default_config->old_entries; ?>" tabindex="2" /> <?php echo _t('gen.date.month'); ?> |
