]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - index.php
Allow setting of a default note title, see #963
[github/shaarli/Shaarli.git] / index.php
index fb00a9fa3adb8d302f712fcbe7d7fc2a694409f4..43aab303c67f84c51fcf274cd478407af7fa7260 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1443,7 +1443,7 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history)
 
             if ($url == '') {
                 $url = '?' . smallHash($linkdate . $LINKSDB->getNextId());
-                $title = 'Note: ';
+                $title = $conf->get('general.default_note_title', 'Note: ');
             }
             $url = escape($url);
             $title = escape($title);