motion/motion-3.2.12-motionbrowser.patch

98 lines
3.2 KiB
Diff

diff -Nru mb/affquota.php motion/affquota.php
--- mb/affquota.php 2006-04-28 14:13:21.000000000 +0200
+++ motion/affquota.php 2010-08-24 02:19:12.000000000 +0200
@@ -1,4 +1,4 @@
-<?
+<?php
include("config.inc");
$ratio=strtr($_GET['ratio'],",",".");
header("Content-type: image/png");
diff -Nru mb/en motion/en
--- mb/en 2006-04-28 14:13:10.000000000 +0200
+++ motion/en 2010-08-24 02:26:38.000000000 +0200
@@ -1,4 +1,4 @@
-<?
+<?php
$err_upd_size="Error while updating file size...";
$err_sel_size="Problem selecting database...";
$err_req_quota="Error while selecting quotas...";
diff -Nru mb/fr motion/fr
--- mb/fr 2006-04-28 14:13:10.000000000 +0200
+++ motion/fr 2010-08-24 02:26:48.000000000 +0200
@@ -1,4 +1,4 @@
-<?
+<?php
$err_upd_size="Erreur lors de la mise à jour de la taille des fichiers...";
$err_sel_size="Problème lors de la sélection de la base de données...";
$err_req_quota="Problème lors de la requête de quotas";
diff -Nru mb/index.php motion/index.php
--- mb/index.php 2006-04-28 14:13:21.000000000 +0200
+++ motion/index.php 2010-08-24 02:46:58.000000000 +0200
@@ -466,7 +466,7 @@
// collapse the timeline table
for (i = 2; i < <?php echo $row_count; ?>; i += 2) ToggleRowVisibility(i);
-<?
+<?php
if ($ratio > .9)
echo 'alert("'.$space1.$datadisque.$low_space.' ")';
?>
diff -Nru mb/it motion/it
--- mb/it 1970-01-01 01:00:00.000000000 +0100
+++ motion/it 2010-08-24 02:30:09.000000000 +0200
@@ -0,0 +1,34 @@
+<?php
+$err_upd_size="Errore durrante l'aggiornamento della dimensione del file...";
+$err_sel_size="Problema nella selezione del database...";
+$err_req_quota="Errore durante la selezione delle quote...";
+$err_sel_data="Problema di connessione...";
+$err_req_dele="Problema durante la connessione al database...";
+$err_sel_file="Query 0 fallita :";
+$err_sel_que1="Query 1 fallita :";
+$err_sel_que2="Query 2 fallita :";
+$err_del_file="ERRORE cancellando il file: ";
+$err_del_req="Query di cancellazione fallita";
+$java_confirm_delete="Sei sicuro di voler eliminare gli eventi selezionati ?";
+$java_select_delete="Devi selezionare almeno un evento da cancellare !";
+$erase_selection="Cancella la selezione";
+$config_motion="Configura Motion";
+$config_credits=">Carlos Ladeira (c) 2006";
+$config_title="MotionBrowser 1.01";
+$config_mailto="mailto:caladeira@gmail.com";
+$config_mailname="caladeira@gmail.com";
+$camera_name="Camera";
+$see_camera="Guarda come webcam ";
+$no_events="Non ci sono eventi nel giorno selezionato !";
+$vol1_quota="Volume ";
+$vol2_quota=" pieno al ";
+$space1="Spazio su disco nel volume ";
+$low_space=" è molto basso...";
+$events="eventi";
+$today="oggi";
+$all="Tutto";
+$nothing="Niente";
+$bytes="B";
+$megabytes="Mb";
+$hours="h";
+?>
diff -Nru mb/index.php mb/index.php
--- mb/index.php 2006-04-28 14:13:21.000000000 +0200
+++ motion/index.php 2010-08-24 03:39:35.579002528 +0200
@@ -141,14 +141,14 @@
// if there are one or more events to delete ...
if (todelete) {
- if (confirm("<?echo $java_confirm_delete;?>")) {
+ if (confirm("<?php echo $java_confirm_delete;?>")) {
frm.todelete.value = todelete;
return true;
}
else return false;
}
else {
- alert("<?echo "$java_select_delete";?>");
+ alert("<?php echo "$java_select_delete";?>");
return false;
}
}