Changeset 1086 for trunk/newpage.cgi
- Timestamp:
- 06/17/07 03:15:31 (18 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
. (modified) (1 prop)
-
newpage.cgi (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
trunk/newpage.cgi
r1045 r1086 31 31 32 32 sub show_form { 33 my %tt_vars = (34 not_editable => 1,35 not_deletable => 1,36 deter_robots => 1,37 disallowed_chars => \@badchars,38 pagename => $pagename,39 );40 if ($config->enable_common_categories || $config->enable_common_locales) {41 $tt_vars{common_catloc} = 1;42 $tt_vars{common_categories} = $config->enable_common_categories;43 $tt_vars{common_locales} = $config->enable_common_locales;44 $tt_vars{catloc_link} = $config->script_url . $config->script_name45 . "?id=";46 }47 33 print OpenGuides::Template->output( wiki => $wiki, 48 34 config => $config, 49 35 template => "newpage.tt", 50 vars => \%tt_vars, 36 vars => { 37 not_editable => 1, 38 not_deletable => 1, 39 deter_robots => 1, 40 disallowed_chars => \@badchars, 41 pagename => $pagename } 51 42 ); 52 43 }
