CONTRIB-2232 preparations for git migration
authorPetr Skoda <info@skodak.org>
Sun, 1 Aug 2010 12:15:46 +0000 (12:15 +0000)
committerPetr Skoda <info@skodak.org>
Sun, 1 Aug 2010 12:15:46 +0000 (12:15 +0000)
42 files changed:
backuplib.php
book_print.css
coursefiles.php
db/access.php
db/mysql.php
db/postgres7.php
db/upgrade.php
delete.php
edit.php
edit_form.php
generateimscp.php
import.php
import_form.php
index.php
lang/be_utf8/book.php
lang/ca_utf8/book.php
lang/cs_utf8/book.php
lang/de_utf8/book.php
lang/en_utf8/book.php
lang/es_utf8/book.php
lang/fi_utf8/book.php
lang/fr_utf8/book.php
lang/id_utf8/book.php
lang/it_utf8/book.php
lang/ja_utf8/book.php
lang/nl_utf8/book.php
lang/pl_utf8/book.php
lang/pt_br_utf8/book.php
lang/sk_utf8/book.php
lang/sv_utf8/book.php
lib.php
mod_form.php
move.php
print.php
restorelib.php
settings.php
show.php
styles.php
teacheraccess.php
toc.php
version.php
view.php

index 85fc7d7..b6da903 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: backuplib.php,v 1.1 2006/03/12 18:39:59 skodak Exp $
+<?PHP
     //This php script contains all the stuff to backup/restore
     //book mods
 
          return $info;
     }
 
-?>
index 6fe10d6..57574ed 100644 (file)
@@ -1,4 +1,3 @@
-/* $Id: book_print.css,v 1.1 2006/03/12 18:39:59 skodak Exp $ */
 
 h1, h2, h3, h4, h5, h6 {
     margin-left: 0px;
index 5864e6d..8d84521 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id: coursefiles.php,v 1.3 2008/08/13 23:21:13 skodak Exp $
+<?php
 
 //  Manage all uploaded files in a course file area
 
@@ -912,5 +912,3 @@ function displaydir ($wdir) {
     //echo "<hr width=\"640\" align=\"center\" noshade=\"noshade\" size=\"1\" />";
 
 }
-
-?>
index 30dd484..be2f89c 100644 (file)
@@ -66,5 +66,3 @@ $mod_book_capabilities = array(
     ),
 
 );
-
-?>
index f426543..ff6c7fc 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: mysql.php,v 1.1 2006/03/12 18:40:01 skodak Exp $
+<?PHP
 
 function book_upgrade($oldversion) {
 /// This function does anything necessary to upgrade
@@ -32,5 +32,3 @@ function book_upgrade($oldversion) {
     }
     return true;
 }
-
-?>
index ef34d1e..e0dc846 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: postgres7.php,v 1.1 2006/03/12 18:40:01 skodak Exp $
+<?PHP
 
 function book_upgrade($oldversion) {
 // This function does anything necessary to upgrade
@@ -61,5 +61,3 @@ function book_upgrade($oldversion) {
 
     return true;
 }
-
-?>
index 7229726..a0eea5e 100644 (file)
@@ -1,6 +1,6 @@
-<?php  //$Id: upgrade.php,v 1.4 2007/09/24 19:15:39 stronk7 Exp $
+<?php
 
-// This file keeps track of upgrades to 
+// This file keeps track of upgrades to
 // the assignment module
 //
 // Sometimes, changes between versions involve
@@ -23,8 +23,8 @@ function xmldb_book_upgrade($oldversion=0) {
 
     $result = true;
 
-/// And upgrade begins here. For each one, you'll need one 
-/// block of code similar to the next one. Please, delete 
+/// And upgrade begins here. For each one, you'll need one
+/// block of code similar to the next one. Please, delete
 /// this comment lines once this file start handling proper
 /// upgrade code.
 
@@ -41,5 +41,3 @@ function xmldb_book_upgrade($oldversion=0) {
 
     return $result;
 }
-
-?>
index 860a5c8..74e57c7 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: delete.php,v 1.3 2008/03/25 20:19:49 poltawski Exp $
+<?PHP
 
 require('teacheraccess.php'); //page only for teachers
 $confirm = optional_param('confirm', 0, PARAM_BOOL);
@@ -53,4 +53,3 @@ if ($confirm) {  // the operation was confirmed.
 
 print_footer($course);
 
-?>
index 23573fe..2eb36a9 100644 (file)
--- a/edit.php
+++ b/edit.php
@@ -1,4 +1,4 @@
-<?PHP // $Id: edit.php,v 1.4 2008/08/13 23:21:14 skodak Exp $
+<?PHP
 
 require_once('../../config.php');
 require_once('lib.php');
@@ -87,7 +87,7 @@ if ($mform->is_cancelled()) {
         $sql = "UPDATE {$CFG->prefix}book_chapters
                    SET pagenum = pagenum + 1
                  WHERE bookid = $book->id AND pagenum >= $data->pagenum";
-        execute_sql($sql, false);  
+        execute_sql($sql, false);
 
         if (!$data->id = insert_record('book_chapters', addslashes_recursive($data))) {
             error('Could not insert a new chapter');
@@ -121,5 +121,3 @@ print_heading_with_help($pageheading, 'edit', 'book', $icon);
 $mform->display();
 
 print_footer($course);
-
-?>
index 5562d58..0efb8f5 100644 (file)
@@ -1,4 +1,4 @@
-<?php  //$Id: edit_form.php,v 1.1 2008/08/13 23:21:14 skodak Exp $
+<?php
 
 require_once($CFG->libdir.'/formslib.php');
 
@@ -49,5 +49,3 @@ class book_chapter_edit_form extends moodleform {
         }
     }
 }
-
-?>
index 293eb08..47f0fc2 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: generateimscp.php,v 1.3 2008/08/13 23:21:14 skodak Exp $
+<?PHP
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -252,5 +252,3 @@ function chapter2html($chapter, $courseid, $bookid) {
 
     return $object;
 }
-
-?>
index 2bb800e..bcc48f8 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: import.php,v 1.5 2008/08/13 23:21:13 skodak Exp $
+<?PHP
 
 require('../../config.php');
 require_once('lib.php');
@@ -139,4 +139,3 @@ $mform->display();
 
 print_footer($course);
 
-?>
index aa83c41..74f2a3c 100644 (file)
@@ -1,4 +1,4 @@
-<?php  //$Id: import_form.php,v 1.1 2008/08/13 23:21:14 skodak Exp $
+<?php
 
 require_once($CFG->libdir.'/formslib.php');
 
@@ -59,5 +59,3 @@ class book_import_form extends moodleform {
         return $errors;
     }
 }
-
-?>
index be48a50..9bb5925 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,4 +1,4 @@
-<?PHP // $Id: index.php,v 1.3 2008/03/25 20:19:49 poltawski Exp $
+<?PHP
 
 /// This page lists all the instances of book in a particular course
 
@@ -99,5 +99,3 @@ echo '<br />';
 print_table($table);
 
 print_footer($course);
-
-?>
index 7b1ce6b..47c1774 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.1 2006/03/12 18:40:03 skodak Exp $ 
+<?PHP
       // book.php - created with Moodle 1.4.4 (2004083140)
 
 
@@ -39,4 +39,3 @@ $string['toc'] = 'Змест';
 $string['tocwidth'] = 'Вызначыць шырыню зместу для ўсіх падручнікаў';
 $string['top'] = 'наверх';
 
-?>
index 794fec8..217b5ad 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.1 2006/03/12 18:40:03 skodak Exp $
+<?PHP
 
 $string['modulename'] = 'Llibre';
 $string['modulenameplural'] = 'Llibres';
@@ -45,5 +45,3 @@ $string['relinking'] = 'S\'està reenllaçant';
 $string['importinfo'] = 'Importa el directori o el fitxer HTML seleccionat.<br />Els capítols estan ordenats alfabèticament pel nom del fitxer.';
 $string['maindirectory'] = 'Directori principal';
 $string['fileordir'] = 'Fitxer o directori';
-
-?>
index 01a57ba..2a42824 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.1 2006/03/12 18:40:03 skodak Exp $ 
+<?PHP
       // book.php - created with Moodle 1.3.3 + (2004052503)
 
 
@@ -38,5 +38,3 @@ $string['subchapter'] = 'Podkapitola';
 $string['toc'] = 'Obsah';
 $string['tocwidth'] = 'Vyberte šířku obsahu pro všechny knihy.';
 $string['top'] = 'začátek';
-
-?>
index 2491576..59db5bf 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.2 2008/07/22 15:16:26 skodak Exp $
+<?PHP
 
 $string['modulename'] = 'Buch';
 $string['modulenameplural'] = 'Bücher';
@@ -46,4 +46,3 @@ $string['importinfo'] = 'Importiert die gewählten HTML Dateien oder Ordner.<br
 $string['maindirectory'] = 'Hauptordner';
 $string['fileordir'] = 'Datei oder Ordner';
 
-?>
index 3ccc6da..7a4a1dc 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.5 2008/08/13 23:21:14 skodak Exp $
+<?PHP
 
 $string['modulename'] = 'Book';
 $string['modulenameplural'] = 'Books';
@@ -56,4 +56,3 @@ $string['book:import'] = 'Import chapters';
 $string['book:print'] = 'Print book';
 $string['book:exportimscp'] = 'Export book as IMS content package';
 
-?>
index fe5e4b4..c499113 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.1 2006/03/12 18:40:03 skodak Exp $
+<?PHP
       // book.php - created with Moodle 1.3 (2004052500)
       // book.php - Translated to Spanish by Juan Luis Martinez from Dominican Republic (fernluichi@hotmail.com)
 
@@ -28,5 +28,3 @@ $string['subchapter'] = 'Subcápitulo';
 $string['toc'] = 'Tabla de Contenido';
 $string['tocwidth'] = 'Seleciona el Ancho de la Tabla de Contenidos de Todos los Libros.';
 $string['top'] = 'arriba';
-
-?>
index 70678be..f1e1097 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.1 2006/03/12 18:40:03 skodak Exp $ 
+<?PHP
       // book.php - created with Moodle 1.5 unstable development (2004092000)
 
 
@@ -39,5 +39,3 @@ $string['thislanguage'] = 'Suomi';
 $string['toc'] = 'Sisällysluettelo';
 $string['tocwidth'] = 'Valitse kaikkien kirjojen sisällysluetteloiden leveys.';
 $string['top'] = 'Alkuun';
-
-?>
index c4ce5ee..54b604a 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id: book.php,v 1.1 2006/03/12 18:40:05 skodak Exp $
+<?php
 
 $string['modulename'] = 'Livre';
 $string['modulenameplural'] = 'Livre';
@@ -42,5 +42,3 @@ $string['maindirectory'] = 'Dossier principal';
 $string['selectdir'] = 'Choisir le dossier du cours';
 
 $string['relinking'] = 'Mise à jour des liens';
-
-?>
\ No newline at end of file
index a858d9c..1be9d96 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.1 2006/03/12 18:40:05 skodak Exp $
+<?PHP
 
 $string['modulename'] = 'Buku';
 $string['modulenameplural'] = 'Buku-buku';
@@ -43,7 +43,3 @@ $string['maindirectory'] = 'Direktori utama';
 $string['chooseafileordir'] = 'Pilih sebuah file atau direktori';
 
 $string['relinking'] = 'Relinking';
-
-
-
-?>
index e96d2a8..ead1c74 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.3 2007/07/03 11:42:29 andreabix Exp $ 
+<?PHP
       // book.php - created with Moodle 1.7.1+ (2006101010)
 
 
@@ -38,5 +38,3 @@ $string['subchapter'] = 'Paragrafo';
 $string['toc'] = 'Sommario';
 $string['tocwidth'] = 'Larghezza in pixel del Sommario per tutti i Libri.';
 $string['top'] = 'Ritorna su';
-
-?>
index 68bd61e..240c56d 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.1 2006/03/12 18:40:04 skodak Exp $
+<?PHP
 
 $string['modulename'] = 'ブック';
 $string['modulenameplural'] = 'ブック';
@@ -44,5 +44,3 @@ $string['relinking'] = 'リンクの再作成中';
 $string['importinfo'] = '選択したHTMLもしくはディレクトリのインポート<br />各章はファイル名順にソートされます。';
 $string['maindirectory'] = 'メインディレクトリ';
 $string['fileordir'] = 'ファイルもしくはディレクトリ';
-
-?>
index 481f4b9..d3496fe 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.1 2006/03/12 18:40:04 skodak Exp $ 
+<?PHP
       // book.php - created with Moodle 1.5 development (2004082300)
 
 
@@ -38,4 +38,3 @@ $string['toc'] = 'Inhoudstafel';
 $string['tocwidth'] = 'Kies de breedte van de inhoudstafel voor alle boeken.';
 $string['top'] = 'boven';
 
-?>
index 9c05949..d62e1ab 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.1 2006/03/12 18:40:04 skodak Exp $ 
+<?PHP
       // book.php - created with Moodle 1.5 UNSTABLE DEVELOPMENT (2005031000)
 
 
@@ -39,4 +39,3 @@ $string['toc'] = 'Spis treści';
 $string['tocwidth'] = 'Ustaw szrokość spisu treści dla wszystkich książek';
 $string['top'] = 'Góra';
 
-?>
index d097dbf..62e89f1 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.1 2006/03/12 18:40:02 skodak Exp $
+<?PHP
 
 $string['modulename'] = 'Livro';
 $string['modulenameplural'] = 'Livros';
@@ -44,5 +44,3 @@ $string['relinking'] = 'Re-linkando';
 $string['importinfo'] = 'Importar o arquivo HTML ou diretório selecionados.<br />Os capítulos são ordenados alfabeticamente usando os nomes dos arquivos.';
 $string['maindirectory'] = 'Diretório principal';
 $string['fileordir'] = 'Arquivo ou diretório';
-
-?>
index 9e23f49..cafefc6 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.1 2006/03/12 18:40:00 skodak Exp $ 
+<?PHP
       // book.php - created with Moodle 1.3.3 + (2004052503)
 
 
@@ -38,5 +38,3 @@ $string['subchapter'] = 'Podkapitola';
 $string['toc'] = 'Obsah';
 $string['tocwidth'] = 'Vyberte šírku obsahu pre všetky knihy.';
 $string['top'] = 'začiatok';
-
-?>
index 0acd53f..8652fd7 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: book.php,v 1.1 2006/03/12 18:40:04 skodak Exp $ 
+<?PHP
       // book.php - created with Moodle 1.4 (2004083100)
 
 
@@ -39,4 +39,3 @@ $string['toc'] = 'Innehållsförteckning';
 $string['tocwidth'] = 'Välj en bredd på innehållsförteckningen som gäller alla böcker.';
 $string['top'] = 'Upp';
 
-?>
diff --git a/lib.php b/lib.php
index 1879931..ac378ed 100644 (file)
--- a/lib.php
+++ b/lib.php
@@ -1,4 +1,4 @@
-<?PHP // $Id: lib.php,v 1.6 2008/08/13 23:21:14 skodak Exp $
+<?PHP
 
 define('NUM_NONE',     '0');
 define('NUM_NUMBERS',  '1');
@@ -446,5 +446,3 @@ function book_relink($id, $bookid, $courseid) {
         }
     }
 }
-
-?>
index ab33c80..ac5634c 100644 (file)
@@ -41,4 +41,3 @@ class mod_book_mod_form extends moodleform_mod {
 
 
 }
-?>
\ No newline at end of file
index 76e3e9e..42c6563 100644 (file)
--- a/move.php
+++ b/move.php
@@ -1,4 +1,4 @@
-<?PHP // $Id: move.php,v 1.2 2006/11/21 19:26:36 skodak Exp $
+<?PHP
 
 require('teacheraccess.php'); //page only for teachers
 $up  = optional_param('up', 0, PARAM_BOOL);
@@ -145,4 +145,3 @@ book_check_structure($book->id);
 redirect('view.php?id='.$cm->id.'&chapterid='.$chapter->id);
 die;
 
-?>
index 011acd6..954bf4f 100644 (file)
--- a/print.php
+++ b/print.php
@@ -1,4 +1,4 @@
-<?PHP // $Id: print.php,v 1.3 2008/08/13 23:21:14 skodak Exp $
+<?PHP
 
 require_once('../../config.php');
 require_once('lib.php');
@@ -163,4 +163,3 @@ if ($chapter) {
     echo '</body> </html>';
 }
 
-?>
index 5408ae4..ad9164c 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: restorelib.php,v 1.3 2008/08/13 23:21:13 skodak Exp $
+<?PHP
     //This php script contains all the stuff to backup/restore
     //book mods
 
 
         return $status;
     }
-
-
-?>
index 2686f30..2e4c8b8 100644 (file)
@@ -1,4 +1,4 @@
-<?php  //$Id: settings.php,v 1.2 2008/03/25 20:19:49 poltawski Exp $
+<?php
 
 $choices = array('140'=>'140', '160'=>'160', '180'=>'180', '200'=>'200',
                                      '220'=>'220', '240'=>'240', '260'=>'260', '280'=>'280', '300'=>'300');
@@ -6,6 +6,3 @@ $choices = array('140'=>'140', '160'=>'160', '180'=>'180', '200'=>'200',
 
 $settings->add(new admin_setting_configselect('book_tocwidth', get_string('book_tocwidth', 'book'),
                    get_string('tocwidth', 'book'), '180', $choices));
-
-
-?>
index ce99d9c..e0ad56c 100644 (file)
--- a/show.php
+++ b/show.php
@@ -1,4 +1,4 @@
-<?PHP // $Id: show.php,v 1.4 2008/08/17 13:04:56 skodak Exp $
+<?PHP
 
 require('teacheraccess.php'); //page only for teachers
 
@@ -34,5 +34,3 @@ add_to_log($course->id, 'book', 'update', 'view.php?id='.$cm->id, $book->id, $cm
 book_check_structure($book->id);
 redirect('view.php?id='.$cm->id.'&chapterid='.$chapter->id);
 die;
-
-?>
index 8eaa921..9327c87 100644 (file)
@@ -1,4 +1,3 @@
-/* $Id: styles.php,v 1.1 2008/08/13 23:21:13 skodak Exp $*/
 /* later should be defined in themes*/
 
 
@@ -44,7 +43,7 @@ img.bigicon {
 #mod-book-view div.faq {
   font-size: 0.7em;
 }
+
 /* == TOC styles == */
 
 /* toc style NONE */
index 4a333bb..7d6ee53 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: teacheraccess.php,v 1.3 2008/08/13 23:21:14 skodak Exp $
+<?PHP
 
 ///standard routine to allow only teachers in
 ///check of $id and $chapterid parameters
@@ -40,5 +40,3 @@ if ($chapter->bookid != $book->id) {//chapter id not in this book!!!!
 //check all variables
 unset($id);
 unset($chapterid);
-
-?>
diff --git a/toc.php b/toc.php
index a49c201..977d74c 100644 (file)
--- a/toc.php
+++ b/toc.php
@@ -1,4 +1,4 @@
-<?PHP // $Id: toc.php,v 1.4 2008/08/13 23:21:14 skodak Exp $
+<?PHP
 
 defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.');
 
@@ -186,4 +186,3 @@ $toc .= '</div>';
 
 $toc = str_replace('<ul></ul>', '', $toc); //cleanup of invalid structures
 
-?>
index 2f91ca0..3619421 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP // $Id: version.php,v 1.5 2008/08/13 23:21:13 skodak Exp $
+<?PHP
 
 /////////////////////////////////////////////////////////////////////////////////
 ///  Called by moodle_needs_upgrading() and /admin/index.php
@@ -9,5 +9,3 @@ $module->requires = 2007101512;  // Requires this Moodle version
 $module->cron     = 0;           // Period for cron to check this module (secs)
 
 $release = "1.5beta";             // User-friendly version number
-
-?>
index 1dc7893..ce4cf37 100644 (file)
--- a/view.php
+++ b/view.php
@@ -1,4 +1,4 @@
-<?PHP // $Id: view.php,v 1.6 2008/08/13 23:21:14 skodak Exp $
+<?PHP
 
 require('../../config.php');
 require_once('lib.php');
@@ -244,5 +244,3 @@ $generateimscp = ($allowexport) ? '<a title="'.get_string('generateimscp', 'book
 
 <?php
 print_footer($course);
-
-?>