renaming a few things to make them make more sense
This commit is contained in:
parent
6874a5f2f9
commit
dc31239623
64 changed files with 2 additions and 2 deletions
|
|
@ -261,7 +261,7 @@ sub updateDatabaseLinksAndSQLReport {
|
||||||
sub updateTemplates {
|
sub updateTemplates {
|
||||||
print "\tUpdating base templates for XHTML compliance, and a cleaner look.\n" unless ($quiet);
|
print "\tUpdating base templates for XHTML compliance, and a cleaner look.\n" unless ($quiet);
|
||||||
$session->db->write("alter table template add column headBlock text");
|
$session->db->write("alter table template add column headBlock text");
|
||||||
opendir(DIR,"templates-6.9.0");
|
opendir(DIR,"templates-6.99.0");
|
||||||
my @files = readdir(DIR);
|
my @files = readdir(DIR);
|
||||||
closedir(DIR);
|
closedir(DIR);
|
||||||
my $importNode = WebGUI::Asset->getImportNode($session);
|
my $importNode = WebGUI::Asset->getImportNode($session);
|
||||||
|
|
@ -275,7 +275,7 @@ sub updateTemplates {
|
||||||
$folder->commit;
|
$folder->commit;
|
||||||
foreach my $file (@files) {
|
foreach my $file (@files) {
|
||||||
next unless ($file =~ /\.tmpl$/);
|
next unless ($file =~ /\.tmpl$/);
|
||||||
open(FILE,"<templates-6.9.0/".$file);
|
open(FILE,"<templates-6.99.0/".$file);
|
||||||
my $first = 1;
|
my $first = 1;
|
||||||
my $create = 0;
|
my $create = 0;
|
||||||
my $head = 0;
|
my $head = 0;
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 582 B After Width: | Height: | Size: 582 B |
Loading…
Add table
Add a link
Reference in a new issue