#!/bin/bash #Control Center for BigLinux # #Authors: # Bruno Goncalves Araujo # #License: GPLv2 or later ################################################# #Translation export TEXTDOMAINDIR="/usr/share/locale-langpack" export TEXTDOMAIN=bigcontrolcenter function open_header() { mouseover_open='title="' mouseover_close='"' if [ "$big_icon" = "" ] then big_icon="icon.png" fi echo '' cat << EOF ' if [ "$big_header_disable" != "1" ] then echo "
" fi cat << EOF EOF #Read system font and color, and apply with css if [ "$big_bg_color_disable" != "1" ] then /usr/share/bigbashview/system-css.sh.htm else /usr/share/bigbashview/system-css.sh.htm | sed 's|background-color.*||g' fi echo ' ' } function close_header() { echo '
' } function big_header() { open_header if [ "$big_translate" != "" ] then #Translation export TEXTDOMAINDIR="/usr/share/locale-langpack" export TEXTDOMAIN="$big_translate" fi if [ "$big_resize" != "" ] then echo " " fi if [ "$big_header_disable" != "1" ] then echo "$big_title" echo "$big_title" '
' "$big_description" fi close_header } function button_submit() { if [ "$2" = "" ] then echo " " else echo " " fi } function button_close() { if [ "$2" = "" ] then echo " " else echo " " fi } function button_link() { if [ "$3" = "" ] then echo " " else echo " " fi } function button_back() { if [ "$3" = "" ] then echo " " else echo " " fi }