Commit cad435bb authored by Vinicius Ruoso's avatar Vinicius Ruoso

Removed 'function' tag to declare functions on all .po files

Part of the adaptation to the POSIX Stardart.
Signed-off-by: default avatarVinicius Ruoso <vkr07@c3sl.ufpr.br>
parent a4b089b2
function last_contact_updatedata()
last_contact_updatedata()
{
UPDATA=""
}
function last_contact_www()
last_contact_www()
{
NOW=$(LC_ALL=pt_BR.UTF-8 date +"%d %b %Y %H:%M")
PSORTCUSTOM="$(date +%s)"
PVALUE="$NOW"
}
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=true
COLNAME="Último contato"
......
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=false
}
function prd_city_updatedata()
prd_city_updatedata()
{
UPDATA="$*"
}
function prd_city_www()
prd_city_www()
{
PVALUE="$*"
}
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=true
COLNAME=Cidade
......
function prd_fixraid_updatedata()
prd_fixraid_updatedata()
{
UPDATA="$*"
}
function prd_fixraid_www()
prd_fixraid_www()
{
PVALUE="$*"
}
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=false
}
function prd_name_updatedata()
prd_name_updatedata()
{
UPDATA="$*"
}
function prd_name_www()
prd_name_www()
{
PVALUE="$*"
}
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=true
COLNAME=Escola
......
function prd_nobreak_updatedata()
prd_nobreak_updatedata()
{
UPDATA="$*"
}
function prd_nobreak_www()
prd_nobreak_www()
{
STAT="$*"
......@@ -38,7 +38,7 @@ function prd_nobreak_www()
PVALUE="$STAT"
}
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=true
COLNAME=Nobreak
......
function prd_nre_updatedata()
prd_nre_updatedata()
{
UPDATA="$*"
}
function prd_nre_www()
prd_nre_www()
{
PVALUE="$*"
}
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=true
COLNAME=NRE
......
function prd_ntpdate_updatedata()
prd_ntpdate_updatedata()
{
UPDATA="$*"
}
function prd_ntpdate_www()
prd_ntpdate_www()
{
PVALUE="$*"
}
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=false
}
function prd_raid_updatedata()
prd_raid_updatedata()
{
UPDATA="$*"
}
function prd_raid_www()
prd_raid_www()
{
PVALUE="$*"
......@@ -43,7 +43,7 @@ function prd_raid_www()
fi
}
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=true
COLNAME="RAID"
......
function prd_refute_updatedata()
prd_refute_updatedata()
{
UPDATA="$*"
}
function prd_refute_www()
prd_refute_www()
{
PVALUE="$*"
}
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=false
}
function prd_schoolinfo_updatedata()
prd_schoolinfo_updatedata()
{
UPDATA="$*"
}
function prd_schoolinfo_www()
prd_schoolinfo_www()
{
PVALUE="$*"
......@@ -16,7 +16,7 @@ function prd_schoolinfo_www()
fi
}
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=false
}
function prd_version_updatedata()
prd_version_updatedata()
{
UPDATA="$*"
}
function prd_version_www()
prd_version_www()
{
VERSION="$*"
......@@ -40,7 +40,7 @@ function prd_version_www()
PVALUE="$VERSION"
}
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=true
COLNAME=Versão
......
function status_updatedata()
status_updatedata()
{
UPDATA="$*"
}
function status_www()
status_www()
{
if test "$*" = "ONLINE"; then
PSTATUS=green
......@@ -34,7 +34,7 @@ function status_www()
PVALUE="$*"
}
function getcolumninfo()
getcolumninfo()
{
WEBINTERFACE=true
COLNAME=Status
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment