Skip to content

Commit

Permalink
Template typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiemccarthy committed Oct 26, 2006
1 parent e82f061 commit 699a3ce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion plugins/Admin/templates/recent_mods;admin;default
Expand Up @@ -21,7 +21,8 @@ __template__
mod_options.meta_mod_only = 1;
END
%]
[% moddb = Slash.getObject("Slash::" _ constants.m1_pluginname);
[% m1_classname = "Slash::" _ constants.m1_pluginname;
moddb = Slash.getObject(m1_classname);
IF moddb; moddb.dispModCommentLog("global", "", mod_options); END %]

__seclev__
Expand Down
3 changes: 2 additions & 1 deletion themes/slashcode/templates/netIDInfo;users;default
Expand Up @@ -45,7 +45,8 @@ __template__
END;
%]
<p>
[% moddb = Slash.getObject("Slash::" _ constants.m1_pluginname);
[% m1_classname = "Slash::" _ constants.m1_pluginname;
moddb = Slash.getObject(m1_classname);
IF moddb; moddb.dispModCommentLog("b$fieldname", netid, mod_options); END %]
[% IF !constants.m1_admin_show_mods_with_comments %]
<p>
Expand Down
3 changes: 2 additions & 1 deletion themes/slashcode/templates/userInfo;users;default
Expand Up @@ -97,7 +97,8 @@ __template__
mod_options.meta_mod_only = 1;
END;

moddb = Slash.getObject("Slash::" _ constants.m1_pluginname);
m1_classname = "Slash::" _ constants.m1_pluginname;
moddb = Slash.getObject(m1_classname);
IF moddb; moddb.dispModCommentLog('uid', useredit.uid, mod_options); END;

IF !constants.m1_admin_show_mods_with_comments;
Expand Down

0 comments on commit 699a3ce

Please sign in to comment.