forked from typecho/typecho
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
502 additions
and
201 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
<?php if(!defined('__TYPECHO_ROOT_DIR__')) exit; ?> | ||
<li> | ||
<label class="typecho-label" for="dbHost"><?php _e('数据库地址'); ?></label> | ||
<input type="text" class="text" name="dbHost" id="dbHost" value="<?php _v('dbHost', 'localhost'); ?>"/> | ||
<input type="text" class="text" name="dbHost" id="dbHost" value="localhost"/> | ||
<p class="description"><?php _e('您可能会使用 "%s"', 'localhost'); ?></p> | ||
</li> | ||
<li> | ||
<label class="typecho-label" for="dbPort"><?php _e('数据库端口'); ?></label> | ||
<input type="text" class="text" name="dbPort" id="dbPort" value="<?php _v('dbPort', '5432'); ?>"/> | ||
<input type="text" class="text" name="dbPort" id="dbPort" value="5432"/> | ||
<p class="description"><?php _e('如果您不知道此选项的意义, 请保留默认设置'); ?></p> | ||
</li> | ||
<li> | ||
<label class="typecho-label" for="dbUser"><?php _e('数据库用户名'); ?></label> | ||
<input type="text" class="text" name="dbUser" id="dbUser" value="<?php _v('dbUser', 'postgres'); ?>" /> | ||
<input type="text" class="text" name="dbUser" id="dbUser" value="postgres" /> | ||
<p class="description"><?php _e('您可能会使用 "%s"', 'postgres'); ?></p> | ||
</li> | ||
<li> | ||
<label class="typecho-label" for="dbPassword"><?php _e('数据库密码'); ?></label> | ||
<input type="password" class="text" name="dbPassword" id="dbPassword" value="<?php _v('dbPassword'); ?>" /> | ||
<input type="password" class="text" name="dbPassword" id="dbPassword" value="" /> | ||
</li> | ||
<li> | ||
<label class="typecho-label" for="dbDatabase"><?php _e('数据库名'); ?></label> | ||
<input type="text" class="text" name="dbDatabase" id="dbDatabase" value="<?php _v('dbDatabase', 'typecho'); ?>" /> | ||
<input type="text" class="text" name="dbDatabase" id="dbDatabase" value="" /> | ||
<p class="description"><?php _e('请您指定数据库名称'); ?></p> | ||
</li> | ||
<input type="hidden" name="dbCharset" value="<?php _e('utf8'); ?>" /> | ||
<input type="hidden" name="dbCharset" value="utf8" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.