Commit ea746414 authored by Liang Ding's avatar Liang Ding

🎨 #12706

parent 96da7dbb
......@@ -125,6 +125,8 @@
</select>
<label for="feedOutputCnt">${feedOutputCnt1Label}</label>
<input id="feedOutputCnt" class="normalInput" type="text"/>
<label for="faviconURL">Favicon</label>
<input id="faviconURL" class="normalInput" type="text"/>
<label for="customVars">${customVars1Label}</label>
<input id="customVars" class="normalInput" type="text"/><br/><br/>
<button class="fn__right" onclick="admin.preference.update()">${updateLabel}</button>
......
......@@ -20,7 +20,7 @@
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.3.0.0, Feb 28, 2019
* @version 1.3.0.1, Mar 17, 2019
*/
/* preference 相关操作 */
......@@ -122,6 +122,7 @@ admin.preference = {
$('#articleListDisplay').val(preference.articleListStyle)
$('#feedOutputMode').val(preference.feedOutputMode)
$('#feedOutputCnt').val(preference.feedOutputCnt)
$('#faviconURL').val(preference.faviconURL)
$('#loadMsg').text('')
},
......@@ -254,6 +255,7 @@ admin.preference = {
'articleListStyle': $('#articleListDisplay').val(),
'feedOutputMode': $('#feedOutputMode').val(),
'feedOutputCnt': $('#feedOutputCnt').val(),
'faviconURL': $('#faviconURL').val(),
'commentable': $('#commentable').prop('checked'),
'customVars': $('#customVars').val(),
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment