update koha as cms commands
authorNicole C. Engard <nengard@gmail.com>
Wed, 16 Sep 2015 17:47:36 +0000 (12:47 -0500)
committerNicole C. Engard <nengard@gmail.com>
Wed, 16 Sep 2015 17:48:04 +0000 (12:48 -0500)
en/manual.xml

index 7c7aba9..a662578 100644 (file)
@@ -47466,9 +47466,9 @@ Items :
         </listitem>
         <listitem>
           <para>Add these lines: </para>
-          <programlisting>        my $page = "page_" . $cgi->param('p');            # go for "p" value in URL and do the concatenation
+          <programlisting>        my $page = "page_" . $input->param('p');          # go for "p" value in URL and do the concatenation
         my $preference = C4::Context->preference($page);  # Go for preference  
-        $template->{VARS}->{'page_test'} = $preference    # pass variable to template pages.tt</programlisting>
+        $template->{VARS}->{'page_test'} = $preference;   # pass variable to template pages.tt</programlisting>
         </listitem>
 
         <listitem>