Changeset 1119
- Timestamp:
- Apr 6, 2016, 5:55:13 PM (5 years ago)
- Location:
- pmb4.2/trunk/fuentes/pmb
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pmb4.2/trunk/fuentes/pmb/admin/misc/alter_vLlxTrusty.inc.php
r1111 r1119 5 5 // $Id: alter_vLlxTrusty.inc.php, migración BD a v5.19 (Lliurex 16.05 Xenial desde v.5.14 (Lliurex 15.05 Trusty) 6 6 7 echo "HOLA"; 7 8 8 if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access"); 9 9 … … 16 16 // case "v5.14": 17 17 // 5 actualizaciones desde trusty (v5.14) a xenial (v5.19) 18 $increment=100/ 5;18 $increment=100/6; 19 19 $action=$increment; 20 20 echo "<table ><tr><th>".$msg['admin_misc_action']."</th><th>".$msg['admin_misc_resultat']."</th></tr>"; … … 696 696 $rqt = "update parametres set valeur_param='".$action."' where type_param='pmb' and sstype_param='bdd_version' " ; 697 697 $res = pmb_mysql_query($rqt, $dbh) ; 698 echo "<strong><font color='#FF0000'>".$msg[1807]. $action." !</font></strong><br />";698 echo "<strong><font color='#FF0000'>".$msg[1807]." ".number_format($action, 2, ',', '.')."%</font></strong><br />"; 699 699 $action=$action+$increment; 700 700 //echo form_relance ("v5.15"); 701 701 702 //break; 703 704 705 // case "v5.15": 702 //break; 706 703 echo "<table ><tr><th>".$msg['admin_misc_action']."</th><th>".$msg['admin_misc_resultat']."</th></tr>"; 707 // +-------------------------------------------------+ 708 709 // +-------------------------------------------------+ 704 // +-------------------------------------------------+ 710 705 // AB - Paramètre de modification du workflow d'une demande 711 706 if (pmb_mysql_num_rows(pmb_mysql_query("select 1 from parametres where type_param= 'demandes' and sstype_param='init_workflow' "))==0){ … … 981 976 $rqt = "update parametres set valeur_param='".$action."' where type_param='pmb' and sstype_param='bdd_version' " ; 982 977 $res = pmb_mysql_query($rqt, $dbh) ; 983 echo "<strong><font color='#FF0000'>".$msg[1807]. $action." !</font></strong><br />";.978 echo "<strong><font color='#FF0000'>".$msg[1807]." ".number_format($action, 2, ',', '.')."%</font></strong><br />"; 984 979 $action=$action+$increment; 985 //echo form_relance ("v5.16");986 //break;987 988 // case "v5.16":989 echo "<table ><tr><th>".$msg['admin_misc_action']."</th><th>".$msg['admin_misc_resultat']."</th></tr>";990 // +-------------------------------------------------+980 // echo form_relance ("v5.16"); 981 // break; 982 983 //case "v5.16": 984 echo "<table ><tr><th>".$msg['admin_misc_action']."</th><th>".$msg['admin_misc_resultat']."</th></tr>"; 985 // +-------------------------------------------------+ 991 986 992 987 // AR indexons correctement SKOS - Table de mots … … 1365 1360 $rqt = "update parametres set valeur_param='".$action."' where type_param='pmb' and sstype_param='bdd_version' " ; 1366 1361 $res = pmb_mysql_query($rqt, $dbh) ; 1367 echo "<strong><font color='#FF0000'>".$msg[1807]. $action." !</font></strong><br />";1362 echo "<strong><font color='#FF0000'>".$msg[1807]." ".number_format($action, 2, ',', '.')."%</font></strong><br />"; 1368 1363 $action=$action+$increment; 1369 1364 //echo form_relance ("v5.17"); 1370 1365 //break; 1371 1366 1372 // case "v5.17":1373 echo "<table ><tr><th>".$msg['admin_misc_action']."</th><th>".$msg['admin_misc_resultat']."</th></tr>";1374 // +-------------------------------------------------+1367 //case "v5.17": 1368 echo "<table ><tr><th>".$msg['admin_misc_action']."</th><th>".$msg['admin_misc_resultat']."</th></tr>"; 1369 // +-------------------------------------------------+ 1375 1370 1376 1371 // NG - Ajout paramètre pour activer la géolocalisation … … 1758 1753 $rqt = "update parametres set valeur_param='".$action."' where type_param='pmb' and sstype_param='bdd_version' " ; 1759 1754 $res = pmb_mysql_query($rqt, $dbh) ; 1760 echo "<strong><font color='#FF0000'>".$msg[1807]. $action." !</font></strong><br />";1755 echo "<strong><font color='#FF0000'>".$msg[1807]." ".number_format($action, 2, ',', '.')."%</font></strong><br />"; 1761 1756 $action=$action+$increment; 1762 1757 //echo form_relance ("v5.18"); 1763 1758 //break; 1764 1759 1765 // case "v5.18":1766 echo "<table ><tr><th>".$msg['admin_misc_action']."</th><th>".$msg['admin_misc_resultat']."</th></tr>";1767 // +-------------------------------------------------+1760 //case "v5.18": 1761 echo "<table ><tr><th>".$msg['admin_misc_action']."</th><th>".$msg['admin_misc_resultat']."</th></tr>"; 1762 // +-------------------------------------------------+ 1768 1763 1769 1764 //MB - Ajout index sur le nom des fichiers numériques pour accélérer la recherche … … 2210 2205 $rqt = "update parametres set valeur_param='".$action."' where type_param='pmb' and sstype_param='bdd_version' " ; 2211 2206 $res = pmb_mysql_query($rqt, $dbh) ; 2212 echo "<strong><font color='#FF0000'>".$msg[1807]. $action." !</font></strong><br />";2213 2207 echo "<strong><font color='#FF0000'>".$msg[1807]." ".number_format($action, 2, ',', '.')."%</font></strong><br />"; 2208 $action=$action+$increment; 2214 2209 //echo form_relance ("v5.19"); 2215 2210 //break; 2216 2211 2217 // case "v5.19":2218 echo "<table ><tr><th>".$msg['admin_misc_action']."</th><th>".$msg['admin_misc_resultat']."</th></tr>";2219 // +-------------------------------------------------+2212 //case "v5.19": 2213 echo "<table ><tr><th>".$msg['admin_misc_action']."</th><th>".$msg['admin_misc_resultat']."</th></tr>"; 2214 // +-------------------------------------------------+ 2220 2215 2221 2216 //DG - Code Javascript d'analyse d'audience -
pmb4.2/trunk/fuentes/pmb/copia_seg_importa.php
r828 r1119 68 68 $version_pmb_bdd = $data['valeur_param']; 69 69 echo " versió: ".$version_pmb_bdd; 70 if ($version_pmb_bdd == "v4.47"){ 70 //--------------------------------- LLIUREX 06/04/2016----------------- 71 switch ($version_pmb_bdd){ 72 case 'v4.47':{ 71 73 //cambiamos la versión para que el proceso de actualización sea más rápido 72 74 $rqt = "update parametres set valeur_param='vLlxNemo' where type_param='pmb' and sstype_param='bdd_version' "; … … 80 82 81 83 echo "<SCRIPT>alert(\"".$msg[close_session]." ".$msg[database_update]."\");</SCRIPT>"; 84 echo("<SCRIPT LANGUAGE='JavaScript'> window.alert($msg[close_session])</SCRIPT>"); 85 echo("<SCRIPT LANGUAGE='JavaScript'> window.location = \"$base_path/\"</SCRIPT>"); 86 break; 82 87 } 83 else echo("<SCRIPT LANGUAGE='JavaScript'> window.alert($msg[close_session])</SCRIPT>"); 84 echo("<SCRIPT LANGUAGE='JavaScript'> window.location = \"$base_path/\"</SCRIPT>"); 88 case 'v5.14':{ 89 //cambiamos la versión para que el proceso de actualización sea más rápido 90 $rqt = "update parametres set valeur_param='vLlxTrusty' where type_param='pmb' and sstype_param='bdd_version' "; 91 $res = mysql_query($rqt, $dbh); 92 echo "<SCRIPT>alert(\"".$msg[close_session]." ".$msg[database_update]."\");</SCRIPT>"; 93 echo("<SCRIPT LANGUAGE='JavaScript'> window.alert($msg[close_session])</SCRIPT>"); 94 echo("<SCRIPT LANGUAGE='JavaScript'> window.location = \"$base_path/\"</SCRIPT>"); 95 break; 96 97 } 98 default:{ 99 echo("<SCRIPT LANGUAGE='JavaScript'> window.alert($msg[close_session])</SCRIPT>"); 100 echo("<SCRIPT LANGUAGE='JavaScript'> window.location = \"$base_path/\"</SCRIPT>"); 85 101 // -------------------------------- LLIUREX 102 break; 103 } 86 104 } 105 //----------------------------------- FIN LLIUREX 06/04/2016----------------------------------- 106 } 87 107 break; 88 108 } -
pmb4.2/trunk/fuentes/pmb/includes/messages/es_ES.xml
r962 r1119 7981 7981 <entry code="copia_seg_b">Copia de seguridad (LliureX)</entry> 7982 7982 <entry code="copia_seg_d">Importa copia de seguredad (LliureX)</entry> 7983 <entry code="actualizacion_ok">La actualización se ha completado correctamente</entry> 7984 <entry code="db_patched">La base de datos ha sido modificada</entry> 7983 7985 <entry code="convert_CSV_TO_PMB_XML"><![CDATA[<br><h4><u>Notes sobre la conversió CSV a PMB xml UNIMARC</u></h4><p style="text-align: left;">Per a poder realitzar la importació de dades a partir d'un fitxer de text amb separadors (CSV), podeu utilitzar la <a href="./../../doc/CSV_TO_PMB_xml_UNIMARC.ods.tar.gz">plantilla següent </a>en format ODS (full de càlcul d'OpenOffice) i emplenar-la seguint les <a href=# onclick="window.open('./../../doc/CSV_TO_PMB_xml_UNIMARC.va.pdf', 'documentation', 'width=600,height=700,toolbar=0,menubar=0,dependent=0,resizable=1,alwaysRaised=1'); return false;" >instruccions següents</a>.</p]]></entry> 7984 7986 <entry code="sauv_title_lliurex">Importa/Exporta la base de dades completa</entry> -
pmb4.2/trunk/fuentes/pmb/includes/messages/va_ES.xml
r962 r1119 7976 7976 <entry code="copia_seg_b">Còpia de seguretat (LliureX)</entry> 7977 7977 <entry code="copia_seg_d">Importa còpia de seguredad (LliureX)</entry> 7978 <entry code="actualizacion_ok">L'actualització ha finalitzat correctament</entry> 7979 <entry code="db_patched">La base de dades s'ha modificat</entry> 7978 7980 <entry code="convert_CSV_TO_PMB_XML"><![CDATA[<br><h4><u>Notes sobre la conversió CSV a PMB xml UNIMARC</u></h4><p style="text-align: left;">Per a poder realitzar la importació de dades a partir d'un fitxer de text amb separadors (CSV), podeu utilitzar la <a href="./../../doc/CSV_TO_PMB_xml_UNIMARC.ods.tar.gz">plantilla següent </a>en format ODS (full de càlcul d'OpenOffice) i emplenar-la seguint els <a href=# onclick="window.open('./../../doc/CSV_TO_PMB_xml_UNIMARC.va.pdf', 'documentation', 'width=600,height=700,toolbar=0,menubar=0,dependent=0,resizable=1,alwaysRaised=1'); return false;" >instruccions següents</a>.</p]]></entry> 7979 7981 <entry code="sauv_title_lliurex">Importa/Exporta la base de dades completa</entry>
Note: See TracChangeset
for help on using the changeset viewer.