Added the RootTab, RandomSnippet, RandomImage, CanEditText, If, Spacer, SpecificDropMenu, TopDropMenu, LastModified, PreviousDropMenu, and SI (scaled image) macros.
This commit is contained in:
parent
ff6a6e45ea
commit
6d234e929d
15 changed files with 564 additions and 6 deletions
|
|
@ -30,6 +30,7 @@ Contributing Developers..............Peter Beardsley / Appropriate Solutions
|
|||
Ben Simpson
|
||||
Jeff Szpak / Plain Black
|
||||
Sean Tu / WDI
|
||||
Madsen Wikholm
|
||||
|
||||
Contributing Translators.............AGOFER Ltda.
|
||||
Natalia Almazova
|
||||
|
|
|
|||
35
docs/upgrades/upgrade_5.2.5-5.3.0.pl
Normal file
35
docs/upgrades/upgrade_5.2.5-5.3.0.pl
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
use lib "../../lib";
|
||||
use Getopt::Long;
|
||||
use Parse::PlainConfig;
|
||||
use strict;
|
||||
use WebGUI::Utility;
|
||||
|
||||
|
||||
my $configFile;
|
||||
my $quiet;
|
||||
|
||||
GetOptions(
|
||||
'configFile=s'=>\$configFile,
|
||||
'quiet'=>\$quiet
|
||||
);
|
||||
|
||||
print "\tUpdating config file.\n" unless ($quiet);
|
||||
|
||||
my $pathToConfig = '../../etc/'.$configFile;
|
||||
my $conf = Parse::PlainConfig->new('DELIM' => '=', 'FILE' => $pathToConfig);
|
||||
my $macros = $conf->get("macros");
|
||||
$macros->{RootTab} = "RootTab";
|
||||
$macros->{RandomSnippet} = "RandomSnippet";
|
||||
$macros->{RandomImage} = "RandomImage";
|
||||
$macros->{CanEditText} = "CanEditText";
|
||||
$macros->{If} = "If";
|
||||
$macros->{Spacer} = "Spacer";
|
||||
$macros->{SpecificDropMenu} = "SpecificDropMenu";
|
||||
$macros->{LastModified} = "LastModified";
|
||||
$macros->{PreviousDropMenu} = "PreviousDropMenu";
|
||||
$macros->{TopDropMenu} = "TopDropMenu";
|
||||
$macros->{SI} = "SI_scaledImage";
|
||||
$conf->set("macros"=>$macros);
|
||||
$conf->write;
|
||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue