Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo
Commits
9756a90a
Commit
9756a90a
authored
Jul 28, 2016
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #12130
parent
9068879a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/main/java/org/b3log/solo/processor/console/AdminConsole.java
...n/java/org/b3log/solo/processor/console/AdminConsole.java
+3
-1
src/main/webapp/admin-others.ftl
src/main/webapp/admin-others.ftl
+2
-0
No files found.
src/main/java/org/b3log/solo/processor/console/AdminConsole.java
View file @
9756a90a
...
...
@@ -69,7 +69,7 @@ import org.json.JSONObject;
* Admin console render processing.
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.3.1.
8, Jul 27
, 2016
* @version 1.3.1.
9, Jul 28
, 2016
* @since 0.4.1
*/
@RequestProcessor
...
...
@@ -233,6 +233,8 @@ public class AdminConsole {
final
Map
<
String
,
String
>
langs
=
langPropsService
.
getAll
(
locale
);
final
Map
<
String
,
Object
>
dataModel
=
renderer
.
getDataModel
();
dataModel
.
put
(
"isMySQL"
,
RuntimeDatabase
.
MYSQL
==
Latkes
.
getRuntimeDatabase
());
dataModel
.
putAll
(
langs
);
Keys
.
fillRuntime
(
dataModel
);
...
...
src/main/webapp/admin-others.ftl
View file @
9756a90a
...
...
@@ -47,7 +47,9 @@
</div>
<div id="tabOthersPanel_other" class="none">
<button class="margin12" onclick="admin.others.removeUnusedTags();">${removeUnusedTagsLabel}</button>
<#if isMySQL>
<button class="margin12" onclick="admin.others.exportSQL();">${exportSQLLabel}</button>
</#if>
</div>
</div>
${plugins}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment