feat(navigation): hard-switch to Zibll navigation and Font Awesome 5
This commit is contained in:
1 parent
3c3ddac8be
commit
a0b84977a2
630 files changed
+101647
-11293
No files matched your search
@@ -353,7 +353,7 @@ if (!function_exists('aksrt_link_get_search_cover')) :
|
||||
. '<i class="line-form-line"></i>'
|
||||
. '<div class="scale-placeholder">' . esc_html(sprintf(__('%s搜索', 'aksrt'), $cfg['name'])) . '</div>'
|
||||
. '<div class="abs-right muted-color"><button type="submit" tabindex="2" class="null" aria-label="' . esc_attr__('搜索', 'aksrt') . '">'
|
||||
. '<i class="fa fa-search" aria-hidden="true"></i></button></div>'
|
||||
. '<i class="fa fas fa-search" aria-hidden="true"></i></button></div>'
|
||||
. '</div></div></form></div>';
|
||||
$i++;
|
||||
}
|
||||
@@ -407,8 +407,8 @@ if (!function_exists('aksrt_submit_links_modal')) :
|
||||
$title = (string) $args['title'];
|
||||
$header = $title !== ''
|
||||
? '<div class="mb20"><button type="button" class="close" data-dismiss="modal" aria-label="' . esc_attr__('关闭', 'aksrt') . '">'
|
||||
. '<i class="fa fa-times" aria-hidden="true"></i></button>'
|
||||
. '<b class="modal-title flex ac"><span class="toggle-radius mr10 b-theme"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></span>'
|
||||
. '<i class="fa fas fa-times" aria-hidden="true"></i></button>'
|
||||
. '<b class="modal-title flex ac"><span class="toggle-radius mr10 b-theme"><i class="fa fas fa-edit" aria-hidden="true"></i></span>'
|
||||
. esc_html($title) . '</b></div>'
|
||||
: '';
|
||||
|
||||
@@ -425,7 +425,7 @@ if (!function_exists('aksrt_submit_links_modal')) :
|
||||
$body .= '<div class="muted-box text-center">';
|
||||
$body .= '<div class="mb20 muted-3-color">' . esc_html__('请先登录', 'aksrt') . '</div>';
|
||||
$body .= '<p><a href="' . esc_url($sign_url) . '" class="signin-loader but c-blue padding-lg">'
|
||||
. '<i class="fa fa-fw fa-sign-in mr10" aria-hidden="true"></i>' . esc_html__('登录', 'aksrt') . '</a></p>';
|
||||
. '<i class="fa fas fa-fw fa-sign-in-alt mr10" aria-hidden="true"></i>' . esc_html__('登录', 'aksrt') . '</a></p>';
|
||||
if (class_exists('\AKSRT\Auth\OAuth') && method_exists(\AKSRT\Auth\OAuth::get_instance(), 'render_social_buttons')) {
|
||||
$social = (string) \AKSRT\Auth\OAuth::get_instance()->render_social_buttons(__('使用以下方式快速登录', 'aksrt'));
|
||||
if ($social !== '') {
|
||||
@@ -471,7 +471,7 @@ if (!function_exists('aksrt_submit_links_modal')) :
|
||||
. '<div class="px12 muted-2-color mb6">' . esc_html__('请选择正方形 LOGO,支持 jpg/png/gif', 'aksrt') . '</div></div>';
|
||||
$body .= '</div>';
|
||||
$body .= '<div class="text-right edit-footer">'
|
||||
. '<button type="submit" class="but c-blue padding-lg aksrt-links-submit-btn"><i class="fa fa-check" aria-hidden="true"></i>'
|
||||
. '<button type="submit" class="but c-blue padding-lg aksrt-links-submit-btn"><i class="fa fas fa-check" aria-hidden="true"></i>'
|
||||
. esc_html__('确认提交', 'aksrt') . '</button></div>';
|
||||
$body .= wp_nonce_field('aksrt_frontend_links_submit', '_wpnonce', false, false);
|
||||
$body .= '<input type="hidden" name="action" value="aksrt_frontend_links_submit">';
|
||||
|
||||
Reference in new issue
Block a user