minor stuff
This commit is contained in:
parent
53ab03443b
commit
cefc23fd23
2 changed files with 5 additions and 4 deletions
|
@ -21,8 +21,8 @@ use DB_File;
|
||||||
use CGI;
|
use CGI;
|
||||||
use IO::File;
|
use IO::File;
|
||||||
use POSIX qw(tmpnam);
|
use POSIX qw(tmpnam);
|
||||||
use Encode qw/ from_to /; # add by ooyama for char convert
|
use Encode qw/ from_to /; # added by ooyama for char convert
|
||||||
use English; # for dropping privileges
|
use English;
|
||||||
|
|
||||||
# do not forget: we depend on Mail::Ezmlm::Gpg if the corresponding configuration
|
# do not forget: we depend on Mail::Ezmlm::Gpg if the corresponding configuration
|
||||||
# setting is turned on
|
# setting is turned on
|
||||||
|
@ -1640,7 +1640,7 @@ sub update_webusers {
|
||||||
close $fh;
|
close $fh;
|
||||||
unless (open(TMP, ">$temp_file")) {
|
unless (open(TMP, ">$temp_file")) {
|
||||||
warn "could not open a temporary file";
|
warn "could not open a temporary file";
|
||||||
return (1==0);;
|
return (1==0);
|
||||||
}
|
}
|
||||||
open(WU, "<$WEBUSERS_FILE");
|
open(WU, "<$WEBUSERS_FILE");
|
||||||
while(<WU>) { print TMP; }
|
while(<WU>) { print TMP; }
|
||||||
|
|
|
@ -78,7 +78,7 @@ def:link(attr1, value1, attr2, value2, attr3, value3)
|
||||||
?><?cs set:attrs = ""
|
?><?cs set:attrs = ""
|
||||||
?><?cs /each
|
?><?cs /each
|
||||||
?><?cs each:attrs = Config.UI.LinkAttrs
|
?><?cs each:attrs = Config.UI.LinkAttrs
|
||||||
?><?cs set:Temp[name(attrs)] = attrs
|
?><?cs set:Temp[url_escape(name(attrs))] = url_escape(attrs)
|
||||||
?><?cs /each
|
?><?cs /each
|
||||||
?><?cs if:attr1 != "" ?><?cs set:Temp[attr1] = value1 ?><?cs /if
|
?><?cs if:attr1 != "" ?><?cs set:Temp[attr1] = value1 ?><?cs /if
|
||||||
?><?cs if:attr2 != "" ?><?cs set:Temp[attr2] = value2 ?><?cs /if
|
?><?cs if:attr2 != "" ?><?cs set:Temp[attr2] = value2 ?><?cs /if
|
||||||
|
@ -97,3 +97,4 @@ def:link(attr1, value1, attr2, value2, attr3, value3)
|
||||||
?><?cs /each
|
?><?cs /each
|
||||||
?><?cs /if ?><?cs
|
?><?cs /if ?><?cs
|
||||||
/def ?>
|
/def ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue