removed PBtmpl0000000000000003 because it's no longer needed or used
This commit is contained in:
parent
93ba627dd9
commit
9f6a13e022
5 changed files with 11 additions and 13 deletions
|
|
@ -57,6 +57,13 @@ save you many hours of grief.
|
|||
Test::Deep
|
||||
Test::MockObject
|
||||
|
||||
* The content in the import node has had inappropriate privileges
|
||||
since it was created. We're resetting the privileges to be
|
||||
viewable by everyone and editable by the turn admin on
|
||||
group. If this is not what you want for your site, or for
|
||||
segments of the content in your import node, you'll need
|
||||
to change it after the upgrade.
|
||||
|
||||
|
||||
6.8.4
|
||||
--------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -407,6 +407,10 @@ sub updateDatabaseLinksAndSQLReport {
|
|||
sub updateTemplates {
|
||||
print "\tUpdating base templates for XHTML compliance, and a cleaner look.\n" unless ($quiet);
|
||||
$session->db->write("alter table template add column headBlock text");
|
||||
my $template = WebGUI::Asset->new($session, "PBtmpl0000000000000003", "WebGUI::Asset::Template");
|
||||
if (defined $template) {
|
||||
$template->trash;
|
||||
}
|
||||
opendir(DIR,"templates-6.99.0");
|
||||
my @files = readdir(DIR);
|
||||
closedir(DIR);
|
||||
|
|
|
|||
|
|
@ -114,13 +114,6 @@ sub duplicate {
|
|||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub getBox {
|
||||
my $self = shift;
|
||||
my $var = {};
|
||||
return $self->processTemplate($var,"PBtmpl0000000000000003");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getEditForm ()
|
||||
|
|
|
|||
|
|
@ -154,7 +154,6 @@ sub view {
|
|||
my $children = $self->getLineage(["children"],{returnObjects=>1,includeOnlyClasses=>["WebGUI::Asset::File","WebGUI::Asset::File::Image"]});
|
||||
foreach my $child (@{$children}) {
|
||||
if (ref $child eq "WebGUI::Asset::File") {
|
||||
$var{"attachment.box"} = $child->getBox;
|
||||
$var{"attachment.icon"} = $child->getFileIconUrl;
|
||||
$var{"attachment.url"} = $child->getFileUrl;
|
||||
$var{"attachment.name"} = $child->get("filename");
|
||||
|
|
|
|||
|
|
@ -136,11 +136,6 @@ The first three sentences in the description. A sentence is determined by counti
|
|||
The first four sentences in the description. A sentence is determined by counting the periods found in the text.
|
||||
<p>
|
||||
|
||||
|
||||
<b>attachment.box</b><br/>
|
||||
Outputs a standard WebGUI attachment box including icon, filename, and attachment indicator.
|
||||
<p/>
|
||||
|
||||
<b>attachment.icon</b><br/>
|
||||
The URL to the icon image for this attachment type.
|
||||
<p/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue