Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
9da8ea22
Commit
9da8ea22
authored
Aug 01, 2010
by
Petr Skoda
Browse files
CONTRIB-2232 preparations for git migration
parent
b58b82c3
Changes
42
Hide whitespace changes
Inline
Side-by-side
backuplib.php
View file @
9da8ea22
<?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
...
...
@@ -154,4 +154,3 @@
return
$info
;
}
?>
book_print.css
View file @
9da8ea22
/* $Id: book_print.css,v 1.1 2006/03/12 18:39:59 skodak Exp $ */
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
margin-left
:
0px
;
...
...
coursefiles.php
View file @
9da8ea22
<?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\" />";
}
?>
db/access.php
View file @
9da8ea22
...
...
@@ -66,5 +66,3 @@ $mod_book_capabilities = array(
),
);
?>
db/mysql.php
View file @
9da8ea22
<?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
;
}
?>
db/postgres7.php
View file @
9da8ea22
<?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
;
}
?>
db/upgrade.php
View file @
9da8ea22
<?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
;
}
?>
delete.php
View file @
9da8ea22
<?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
);
?>
edit.php
View file @
9da8ea22
<?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
);
?>
edit_form.php
View file @
9da8ea22
<?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 {
}
}
}
?>
generateimscp.php
View file @
9da8ea22
<?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
;
}
?>
import.php
View file @
9da8ea22
<?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
);
?>
import_form.php
View file @
9da8ea22
<?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.php
View file @
9da8ea22
<?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
);
?>
lang/be_utf8/book.php
View file @
9da8ea22
<?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'
]
=
'наверх'
;
?>
lang/ca_utf8/book.php
View file @
9da8ea22
<?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'
;
?>
lang/cs_utf8/book.php
View file @
9da8ea22
<?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'
;
?>
lang/de_utf8/book.php
View file @
9da8ea22
<?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'
;
?>
lang/en_utf8/book.php
View file @
9da8ea22
<?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'
;
?>
lang/es_utf8/book.php
View file @
9da8ea22
<?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'
;
?>
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment