From 3f4661fc579d7c2e949fb5135c93391554256f56 Mon Sep 17 00:00:00 2001 From: mitty Date: Wed, 27 Oct 2010 05:36:14 +0000 Subject: [PATCH] * change fancy line number to 10 * change background color of codes to white * comment out copyright header * change title * comment out explanation of this script * suppress post form on source posted * add links to documents git-svn-id: https://lab.mitty.jp/svn/lab/trunk@76 7d2118f6-f56c-43e7-95a2-4bb3031d96e7 --- genshi/index.php | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/genshi/index.php b/genshi/index.php index 32e6f0c..7817396 100755 --- a/genshi/index.php +++ b/genshi/index.php @@ -58,12 +58,12 @@ if (isset($_POST['submit'])) { $geshi->enable_classes(); // Enable line numbers. We want fancy line numbers, and we want every 5th line number to be fancy - $geshi->enable_line_numbers(GESHI_FANCY_LINE_NUMBERS, 5); + $geshi->enable_line_numbers(GESHI_FANCY_LINE_NUMBERS, 10); // Set the style for the PRE around the code. The line numbers are contained within this box (not // XHTML compliant btw, but if you are liberally minded about these things then you'll appreciate // the reduced source output). - $geshi->set_overall_style('font: normal normal 90% monospace; color: #000066; border: 1px solid #d0d0d0; background-color: #f0f0f0;', false); + $geshi->set_overall_style('font: normal normal 90% monospace; color: #000066; border: 1px solid #d0d0d0; background-color: #ffffff;', false); // Set the style for line numbers. In order to get style for line numbers working, the
  • element // is being styled. This means that the code on the line will also be styled, and most of the time @@ -85,8 +85,8 @@ if (isset($_POST['submit'])) { // Use the header/footer functionality. This puts a div with content within the PRE element, so it is // affected by the styles set by set_overall_style. So if the PRE has a border then the header/footer will // appear inside it. - $geshi->set_header_content('