bug fixes
This commit is contained in:
parent
0026b1e73f
commit
0dd6b7b660
12 changed files with 1151 additions and 219 deletions
|
|
@ -1,5 +1,14 @@
|
|||
6.7.4
|
||||
- fix [ 1279861 ] POD errors in 6.7.3
|
||||
- Fixed the default assets icon.
|
||||
- Made further alterations to the page layout templates to make them work
|
||||
better in IE.
|
||||
- Added a date caching switch to the config file so people don't have to use
|
||||
the new date caching system if they don't want to.
|
||||
- Added an IP based limiter to the debug option, and for that reason
|
||||
eliminated the unlikely, though potentially dangerous debug=1 URL option.
|
||||
- Added a performance indicator debug option to the settings.
|
||||
|
||||
|
||||
6.7.3
|
||||
- User search now includes user alias.
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
832
docs/upgrades/upgrade_6.7.3-6.7.4.pl
Normal file
832
docs/upgrades/upgrade_6.7.3-6.7.4.pl
Normal file
|
|
@ -0,0 +1,832 @@
|
|||
use lib "../../lib";
|
||||
use strict;
|
||||
use Getopt::Long;
|
||||
use WebGUI::Session;
|
||||
use WebGUI::SQL;
|
||||
use WebGUI::Asset;
|
||||
|
||||
my $toVersion = "6.7.4";
|
||||
my $configFile;
|
||||
my $quiet;
|
||||
|
||||
start();
|
||||
|
||||
updatePageTemplates();
|
||||
addDebug();
|
||||
|
||||
finish();
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
sub addDebug {
|
||||
print "\tAdding more debug options.\n" unless ($quiet);
|
||||
WebGUI::SQL->write("insert into settings values ('debugIp','')");
|
||||
WebGUI::SQL->write("insert into settings values ('showPerformanceIndicators','0')");
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub updatePageTemplates {
|
||||
print "\tMaking page templates float better in IE.\n" unless ($quiet);
|
||||
# news
|
||||
my $template = <<END;
|
||||
<a href="<tmpl_var assetId>"></a>
|
||||
<tmpl_if showAdmin>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
^RawHeadTags(<style type="text/css">
|
||||
.firstColumn {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
.secondColumn {
|
||||
float: left;
|
||||
width: auto;
|
||||
max-width: 50%;
|
||||
}
|
||||
.endFloat {
|
||||
clear: both;
|
||||
}
|
||||
</style>);
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h1><tmpl_var title></h1>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<p><tmpl_var description></p>
|
||||
</tmpl_if>
|
||||
|
||||
<!-- begin position 1 -->
|
||||
<div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position1" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
<tmpl_loop position1_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
|
||||
<!-- end position 1 -->
|
||||
|
||||
<div class="endFloat"> </div>
|
||||
|
||||
<!-- begin position 2 -->
|
||||
<div class="firstColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position2" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position2_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 2 -->
|
||||
|
||||
<!-- begin position 3 -->
|
||||
<div class="firstColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position3" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position3_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div> </div>
|
||||
<!-- end position 3 -->
|
||||
|
||||
<div class="endFloat"> </div>
|
||||
|
||||
|
||||
<!-- begin position 4 -->
|
||||
<div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position4" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position4_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
<!-- end position 4 -->
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<table><tr id="blank" class="hidden"><td><div><div class="empty"> </div></div></td></tr></table>
|
||||
<tmpl_var dragger.init>
|
||||
</tmpl_if>
|
||||
|
||||
END
|
||||
WebGUI::Asset->new("PBtmpl0000000000000094","WebGUI::Asset::Template")->addRevision({template=>$template})->commit;
|
||||
|
||||
# side by side
|
||||
$template = <<END;
|
||||
<a href="<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
^RawHeadTags(<style type="text/css">
|
||||
.firstColumn {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
.secondColumn {
|
||||
float: left;
|
||||
width: auto;
|
||||
max-width: 50%;
|
||||
}
|
||||
.endFloat {
|
||||
clear: both;
|
||||
}
|
||||
</style>);
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h1><tmpl_var title></h1>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<p><tmpl_var description></p>
|
||||
</tmpl_if>
|
||||
|
||||
|
||||
<!-- begin position 1 -->
|
||||
<div class="firstColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position1" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position1_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 1 -->
|
||||
|
||||
<!-- begin position 2 -->
|
||||
<div class="secondColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position2" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position2_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 2 -->
|
||||
|
||||
<div class="endFloat"> </div>
|
||||
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<table><tr id="blank" class="hidden"><td><div><div class="empty"> </div></div></td></tr></table>
|
||||
<tmpl_var dragger.init>
|
||||
</tmpl_if>
|
||||
|
||||
END
|
||||
WebGUI::Asset->new("PBtmpl0000000000000135","WebGUI::Asset::Template")->addRevision({template=>$template})->commit;
|
||||
|
||||
# left column
|
||||
$template = <<END;
|
||||
<a href="<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
^RawHeadTags(<style type="text/css">
|
||||
.firstColumn {
|
||||
float: left;
|
||||
width: 33%;
|
||||
}
|
||||
.secondColumn {
|
||||
float: left;
|
||||
width: auto;
|
||||
max-width: 65%;
|
||||
}
|
||||
.endFloat {
|
||||
clear: both;
|
||||
}
|
||||
</style>);
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h1><tmpl_var title></h1>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<p><tmpl_var description></p>
|
||||
</tmpl_if>
|
||||
|
||||
|
||||
<!-- begin position 1 -->
|
||||
<div class="firstColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position1" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position1_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 1 -->
|
||||
|
||||
<!-- begin position 2 -->
|
||||
<div class="secondColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position2" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position2_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 2 -->
|
||||
|
||||
<div class="endFloat"> </div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<table><tr id="blank" class="hidden"><td><div><div class="empty"> </div></div></td></tr></table>
|
||||
<tmpl_var dragger.init>
|
||||
</tmpl_if>
|
||||
|
||||
END
|
||||
WebGUI::Asset->new("PBtmpl0000000000000125","WebGUI::Asset::Template")->addRevision({template=>$template})->commit;
|
||||
|
||||
# right column
|
||||
$template = <<END;
|
||||
<a href="<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
^RawHeadTags(<style type="text/css">
|
||||
.firstColumn {
|
||||
float: left;
|
||||
width: 65%;
|
||||
}
|
||||
.secondColumn {
|
||||
float: left;
|
||||
width: auto;
|
||||
max-width: 33%;
|
||||
}
|
||||
.endFloat {
|
||||
clear: both;
|
||||
}
|
||||
</style>);
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h1><tmpl_var title></h1>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<p><tmpl_var description></p>
|
||||
</tmpl_if>
|
||||
|
||||
<!-- begin position 1 -->
|
||||
<div class="firstColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position1" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position1_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 1 -->
|
||||
|
||||
<!-- begin position 2 -->
|
||||
<div class="secondColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position2" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position2_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 2 -->
|
||||
|
||||
<div class="endFloat"> </div>
|
||||
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<table><tr id="blank" class="hidden"><td><div><div class="empty"> </div></div></td></tr></table>
|
||||
<tmpl_var dragger.init>
|
||||
</tmpl_if>
|
||||
|
||||
END
|
||||
WebGUI::Asset->new("PBtmpl0000000000000131","WebGUI::Asset::Template")->addRevision({template=>$template})->commit;
|
||||
|
||||
# one over three
|
||||
$template = <<END;
|
||||
<a href="<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
^RawHeadTags(<style type="text/css">
|
||||
.firstColumn {
|
||||
float: left;
|
||||
width: 33%;
|
||||
}
|
||||
.secondColumn {
|
||||
float: left;
|
||||
width: 33%;
|
||||
}
|
||||
.thirdColumn {
|
||||
float: left;
|
||||
width: auto;
|
||||
max-width: 33%;
|
||||
}
|
||||
.endFloat {
|
||||
clear: both;
|
||||
}
|
||||
</style>);
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h1><tmpl_var title></h1>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<p><tmpl_var description></p>
|
||||
</tmpl_if>
|
||||
|
||||
<!-- begin position 1 -->
|
||||
<div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position1" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position1_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
<!-- end position 1 -->
|
||||
|
||||
<div class="endFloat"> </div>
|
||||
|
||||
<!-- begin position 2 -->
|
||||
<div class="firstColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position2" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position2_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 2 -->
|
||||
|
||||
<!-- begin position 3 -->
|
||||
<div class="secondColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position3" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position3_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 3 -->
|
||||
|
||||
|
||||
<!-- begin position 4 -->
|
||||
<div class="secondColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position4" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position4_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 4 -->
|
||||
|
||||
|
||||
<div class="endFloat"> </div>
|
||||
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<table><tr id="blank" class="hidden"><td><div><div class="empty"> </div></div></td></tr></table>
|
||||
<tmpl_var dragger.init>
|
||||
</tmpl_if>
|
||||
|
||||
END
|
||||
WebGUI::Asset->new("PBtmpl0000000000000109","WebGUI::Asset::Template")->addRevision({template=>$template})->commit;
|
||||
|
||||
# three over one
|
||||
$template = <<END;
|
||||
<a href="<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
^RawHeadTags(<style type="text/css">
|
||||
.firstColumn {
|
||||
float: left;
|
||||
width: 33%;
|
||||
}
|
||||
.secondColumn {
|
||||
float: left;
|
||||
width: 33%;
|
||||
}
|
||||
.thirdColumn {
|
||||
float: left;
|
||||
width: auto;
|
||||
max-width: 33%;
|
||||
}
|
||||
.endFloat {
|
||||
clear: both;
|
||||
}
|
||||
</style>);
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h1><tmpl_var title></h1>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<p><tmpl_var description></p>
|
||||
</tmpl_if>
|
||||
|
||||
<!-- begin position 1 -->
|
||||
<div class="firstColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position1" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position1_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 1 -->
|
||||
|
||||
|
||||
<!-- begin position 2 -->
|
||||
<div class="secondColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position2" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position2_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 2 -->
|
||||
|
||||
<!-- begin position 3 -->
|
||||
<div class="thirdColumn"><div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position3" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position3_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div></div>
|
||||
<!-- end position 3 -->
|
||||
|
||||
|
||||
<div class="endFloat"> </div>
|
||||
|
||||
<!-- begin position 4 -->
|
||||
<div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position4" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position4_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
<!-- end position 4 -->
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<table><tr id="blank" class="hidden"><td><div><div class="empty"> </div></div></td></tr></table>
|
||||
<tmpl_var dragger.init>
|
||||
</tmpl_if>
|
||||
|
||||
END
|
||||
WebGUI::Asset->new("PBtmpl0000000000000118","WebGUI::Asset::Template")->addRevision({template=>$template})->commit;
|
||||
|
||||
# three over one
|
||||
$template = <<END;
|
||||
<a href="<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h1><tmpl_var title></h1>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<p><tmpl_var description></p>
|
||||
</tmpl_if>
|
||||
|
||||
<div class="layoutColumnPadding">
|
||||
<tmpl_if showAdmin>
|
||||
<table border="0" id="position1" class="content"><tbody>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop position1_loop>
|
||||
<tmpl_if showAdmin>
|
||||
<tr id="td<tmpl_var id>">
|
||||
<td><div id="td<tmpl_var id>_div" class="dragable">
|
||||
</tmpl_if>
|
||||
|
||||
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
<tmpl_if showAdmin>
|
||||
<table><tr id="blank" class="hidden"><td><div><div class="empty"> </div></div></td></tr></table>
|
||||
<tmpl_var dragger.init>
|
||||
</tmpl_if>
|
||||
END
|
||||
WebGUI::Asset->new("PBtmpl0000000000000054","WebGUI::Asset::Template")->addRevision({template=>$template})->commit;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
sub start {
|
||||
$|=1; #disable output buffering
|
||||
GetOptions(
|
||||
'configFile=s'=>\$configFile,
|
||||
'quiet'=>\$quiet
|
||||
);
|
||||
WebGUI::Session::open("../..",$configFile);
|
||||
WebGUI::Session::refreshUserInfo(3);
|
||||
WebGUI::SQL->write("insert into webguiVersion values (".quote($toVersion).",'upgrade',".time().")");
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub finish {
|
||||
WebGUI::Session::close();
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue