Changeset 215 for trunk/lib


Ignore:
Timestamp:
Oct 1, 2006, 9:16:08 AM (17 years ago)
Author:
Peter Johansson
Message:

added copyright statement in generated css file, and an acknowledgement to Trac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/html_utility.cc

    r212 r215  
    9595  {
    9696    std::ofstream s(str.c_str());
     97    s << "<-- svndigest.css generated by " << PACKAGE_STRING << "\n"
     98
     99      << "Copyright (C) 2006 Peter Johansson\n\n"
     100      << "This file is part of svndigest, "
     101      << "http://lev.thep.lu.se/trac/svndigest\n\n"
     102
     103      << "svndigest is free software; you can redistribute it and/or "
     104      << "modify it\n"
     105      << "under the terms of the GNU General Public License as published by\n"
     106      << "the Free Software Foundation; either version 2 of the License, or\n"
     107      << "(at your option) any later version.\n\n"
     108
     109      << "svndigest is distributed in the hope that it will be useful, but\n"
     110      << "WITHOUT ANY WARRANTY; without even the implied warranty of\n"
     111      << "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n"
     112      << "General Public License for more details.\n\n"
     113
     114      << "You should have received a copy of the GNU General Public License\n"
     115      << "along with this program; if not, write to the Free Software\n"
     116      << "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA\n"
     117      << "02111-1307, USA.\n\n"
     118
     119      << "This file was initially ispired by the cascading style sheet\n"
     120      << "within the Trac open source project (http://trac.edgewall.org/)\n"
     121      << "Copyright (C) 2003-2006 Edgewall Software\n"
     122      << "All rights reserved.\n\n"
     123
     124      << "Redistribution and use in source and binary forms, with or without\n"
     125      << "modification, are permitted provided that the following conditions\n"
     126      << "are met:\n\n"
     127     
     128      << "1. Redistributions of source code must retain the above copyright\n"
     129      << "   notice, this list of conditions and the following disclaimer.\n"
     130      << "2. Redistributions in binary form must reproduce the above "
     131      << "copyright\n"
     132      << "   notice, this list of conditions and the following disclaimer in\n"
     133      << "   the documentation and/or other materials provided with the\n"
     134      << "   distribution.\n"
     135      << "3. The name of the author may not be used to endorse or promote\n"
     136      << "   products derived from this software without specific prior\n"
     137      << "   written permission.\n\n"
     138     
     139      << "THIS SOFTWARE IS PROVIDED BY THE AUTHOR `AS IS'' AND ANY EXPRESS\n"
     140      << "OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n"
     141      << "WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n"
     142      << "ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\n"
     143      << "DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n"
     144      << "DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n"
     145      << "GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n"
     146      << "INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n"
     147      << "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n"
     148      << "NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n"
     149      << "SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n";
     150
     151
    97152    s << "body {\n";
    98153    s << " background: #fff; \n";
Note: See TracChangeset for help on using the changeset viewer.