diff --git a/html/style-color.css b/html/style-color.css index 63ab1afef..5375065e3 100644 --- a/html/style-color.css +++ b/html/style-color.css @@ -955,4 +955,21 @@ div#jrn_name_div margin-right:150; +} +#predef_form { + margin-left:20%; + width:60%; + +} +#direct +{ + display:inline; + float:right; + + +} +.direct +{ + font-size:6px; + border:groove 1px #00ff00; } \ No newline at end of file diff --git a/html/style-light.css b/html/style-light.css index b0cf29eae..540521fa6 100644 --- a/html/style-light.css +++ b/html/style-light.css @@ -1000,4 +1000,18 @@ div#jrn_name_div margin-left:20%; width:60%; -} \ No newline at end of file +} +#direct +{ + display:inline; + float:right; + + +} +.direct +{ + font-size:6px; + border:groove 1px #33378d; + margin:1px; +} + diff --git a/html/style.css b/html/style.css index 09781b567..ec76be0ef 100644 --- a/html/style.css +++ b/html/style.css @@ -986,4 +986,22 @@ div#jrn_name_div margin-right:150; +} +#predef_form { + margin-left:20%; + width:60%; + +} +#direct +{ + display:inline; + float:right; + + +} +.direct +{ + font-size:6px; + border:groove 1px #000000; + margin:1px; } \ No newline at end of file diff --git a/include/ac_common.php b/include/ac_common.php index 1b4ce99a3..a97053ae9 100644 --- a/include/ac_common.php +++ b/include/ac_common.php @@ -297,14 +297,9 @@ function html_page_start($p_theme="", $p_script="", $p_script2="") // language if (isset($_SESSION['g_lang'])) { - set_language(); + set_language(); } - /* If we are on the user_login page */ - if (basename($_SERVER['PHP_SELF']) == 'user_login.php') - { - return; - } } /* ! @@ -754,6 +749,15 @@ function show_module($selected) require_once('template/module.php'); $file = $cn->get_array("select me_file,me_parameter from v_all_menu where me_code=$1 and user_name=$2", array($selected,$g_user->login)); + if ( count($file ) == 0 ) + { + echo ''; + echo ''; + echo '