Skip to content

Commit

Permalink
Item11072: add view template defaults for more tools in System
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/AutoTemplatePlugin@12383 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Aug 25, 2011
1 parent 33b4a80 commit d1a5ffb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion data/System/AutoTemplatePlugin.txt
Expand Up @@ -151,11 +151,12 @@ The following settings can be defined in configure
* Set SHORTDESCRIPTION = Automatically sets VIEW_TEMPLATE and EDIT_TEMPLATE
-->
| Plugin Author: | Foswiki:Main.MichaelDaum |
| Copyright: | © 2008-2010, Oliver Krüger, Michael Daum |
| Copyright: | © 2008-2011, Oliver Krüger, Michael Daum |
| License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) |
| Release: | %$RELEASE% |
| Version: | %$VERSION% |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
| 25 Aug 2011: | added more default views for tools in the System web |
| 05 Apr 2011: | added VIEW_TEMPLATE_RULES, EDIT_TEMPLATE_RULES preference variables |
| 09 Nov 2010: | added defaults to ease templating !ChangePassword, !SiteChanges, !WebIndex |
| 12 Feb 2010: | fixed order rules are matched against the web.topic name |
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/AutoTemplatePlugin.pm
Expand Up @@ -15,7 +15,7 @@ use strict;
use warnings;

our $VERSION = '$Rev: 5221 $';
our $RELEASE = '2.00';
our $RELEASE = '2.01';
our $SHORTDESCRIPTION = 'Automatically sets VIEW_TEMPLATE and EDIT_TEMPLATE';
our $NO_PREFS_IN_TOPIC = 1;
our $debug;
Expand Down
2 changes: 2 additions & 0 deletions lib/Foswiki/Plugins/AutoTemplatePlugin/Config.spec
Expand Up @@ -27,6 +27,8 @@ $Foswiki::cfg{Plugins}{AutoTemplatePlugin}{Mode} = 'rules, exist';
# patterns in the given order. The first matching pattern determines the concrete view template.
$Foswiki::cfg{Plugins}{AutoTemplatePlugin}{ViewTemplateRules} = {
'ChangePassword' => 'ChangePasswordView',
'ResetPassword' => 'ResetPasswordView',
'ChangeEmailAddress' => 'ChangeEmailAddressView',
'UserRegistration' => 'UserRegistrationView',
'WebAtom' => 'WebAtomView',
'WebChanges' => 'WebChangesView',
Expand Down

0 comments on commit d1a5ffb

Please sign in to comment.