Skip to content

Commit

Permalink
Move admin/css/ up to css/
Browse files Browse the repository at this point in the history
  • Loading branch information
herrvigg committed Mar 13, 2023
1 parent 07fdef7 commit 8d816e0
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/admin/qtx_admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -527,11 +527,11 @@ function qtranxf_get_admin_highlight_css( $highlight_mode ) {
function qtranxf_add_admin_css() {
global $q_config;

wp_register_style( 'qtranslate-admin-style', plugins_url( 'admin/css/qtranslate_configuration.css', QTRANSLATE_FILE ), array(), QTX_VERSION );
wp_register_style( 'qtranslate-admin-style', plugins_url( 'css/qtranslate_configuration.css', QTRANSLATE_FILE ), array(), QTX_VERSION );
wp_enqueue_style( 'qtranslate-admin-style' );
qtranxf_add_admin_lang_icons();
$css = qtranxf_add_admin_highlight_css();
$fn = QTRANSLATE_DIR . '/admin/css/opLSBStyle/' . $q_config['lsb_style'];
$fn = QTRANSLATE_DIR . '/css/opLSBStyle/' . $q_config['lsb_style'];
if ( file_exists( $fn ) ) {
$css .= file_get_contents( $fn );
}
Expand Down
2 changes: 1 addition & 1 deletion src/admin/qtx_admin_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ private function add_advanced_section() {
</td>
</tr>
<?php
$options = qtranxf_fetch_file_selection( QTRANSLATE_DIR . '/admin/css/opLSBStyle' );
$options = qtranxf_fetch_file_selection( QTRANSLATE_DIR . '/css/opLSBStyle' );
if ( $options ) {
?>
<tr id="option_lsb_style">
Expand Down

0 comments on commit 8d816e0

Please sign in to comment.