package confUtils;
use strict;
my $CONF=$ENV{CONF};
#====================================================
#
# Generic functions related to confluence
#
#====================================================
#--------------------------------
# Upload a page to confluence
#--------------------------------
sub loadToConf {
my ($fHtml,$title,$parentPage) = @_;
my $cmd="$CONF -a addPage --noConvert --replace --space \"ECC\" --title \"$title\" --parent \"$parentPage\" --file $fHtml";
print "\t\tUpload to conflunce with command:\n\t$cmd\n";
system($cmd);
}
#---------------------------------------
# Create link to a page
#---------------------------------------
sub linkToPage {
my ($page,$label) = @_;
my $str="
";
return $str;
}
sub makeInfo {
my ($text) = @_;
return "false".
"".$text."";
}
sub makeCode {
my ($text) = @_;
return "";
}
1;