Пример #1
0
def load_search_button():
    pf("<script>document.getElementById('search').innerHTML = \"<img src='" + Data.cgiVars['module_file_dir'] +
       "/img/header_search.png'>\"</script>\n")
Пример #2
0
def load_menu_button():
    pf("<script>document.getElementById('menu').innerHTML = \"<img src='" + Data.cgiVars['module_file_dir'] +
       "/img/header_menu.png' onClick='show_main_menu()'>\"</script>\n")
Пример #3
0
def load_logout_button():
    pf("<script>document.getElementById('logout').innerHTML = \"<a onClick='user_logout()'><img src='" +
       Data.cgiVars['module_file_dir'] + "/img/header_logout.png'></a>\"</script>\n")
Пример #4
0
def load_log_button():
    pf("<script>document.getElementById('log').innerHTML = \"<a href='" + Data.cgiVars['cgi_log_file'] +
       "'><img src='" + Data.cgiVars['module_file_dir'] + "/img/header_flag.png'></a>\"</script>\n")
Пример #5
0
def set_status_idle():
    pf("<script>document.getElementById('status').innerHTML = \"<img src='" + Data.cgiVars['module_file_dir'] +
        "/img/header_status_R.png'>\"</script>\n")