Changeset 819 for pmb4.2/trunk/fuentes
- Timestamp:
- Mar 9, 2016, 6:23:51 PM (5 years ago)
- Location:
- pmb4.2/trunk/fuentes/pmb
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
pmb4.2/trunk/fuentes/pmb/catalog/catalog.inc.php
r815 r819 45 45 46 46 switch($categ) { 47 //-------------LLIUREX 09/03/2016---------------------------- 48 case 'tejuelo': 49 include('./tejuelo.php'); 50 break; 51 case 'tejuelo2': 52 include('./tejuelo2.php'); 53 break; 54 case 'tejuelo3': 55 include('./tejuelo3.php'); 56 break; 57 //-----------------------FIN LLIUREX 09/03/2016 ----------------- 58 47 59 case 'update': 48 60 include('./catalog/notices/update_notice.inc.php'); -
pmb4.2/trunk/fuentes/pmb/circ/main.inc.php
r815 r819 221 221 } 222 222 break; 223 224 // -----------------LLIUREX 09/03/2016-------------------- 225 case 'carnetsUsuarios': 226 include("./circ/frmListado-carnets.php"); 227 break; 228 case 'carnetsUsuariosMigrados': 229 include("./circ/frmListado-carnets-NIA.php"); 230 break; 231 //-----------------FIN LLIUREX 09/03/2016------------------ 232 233 223 234 case 'retour': 224 235 echo window_title($database_window_title.$msg["5"]." : ".$msg["14"]); -
pmb4.2/trunk/fuentes/pmb/circ/visu_ex.inc.php
r815 r819 5 5 // $Id: visu_ex.inc.php,v 1.28 2015-04-03 11:16:23 jpermanne Exp $ 6 6 7 // -------------- LLIUREX 09/03/2016------------------------------ 8 // ya no és necesario comprobar ceros 9 function f_rellena_ceros($as_dato) { 10 if(strlen($as_dato)>0 && strlen($as_dato)<9){ 11 for($i=strlen($as_dato); $i<9; $i++) 12 $as_dato="0".$as_dato;} 13 14 return $as_dato; 15 } 16 //-------------- FIN LLIUREX 09/03/2016--------- 17 7 18 if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access"); 8 19 … … 11 22 get_cb_expl($msg[375], $msg[661], $msg[circ_tit_form_cb_expl], './circ.php?categ=visu_ex', 1); 12 23 if($form_cb_expl){ 13 $query = "select expl_id, expl_notice, pret_flag, pret_idempr from docs_statut, exemplaires left join pret on pret_idexpl=expl_id where expl_cb='$form_cb_expl' and expl_statut=idstatut "; 24 // ------------------- LLIUREX 09/03/2016 ------------------- 25 //cambiamos el comodin por defecto 26 if($form_cb_expl=='*') $form_cb_expl='%'; 27 //sustituimos por like para obtener valores aproximados 28 $query = "select expl_id, expl_notice, pret_flag, pret_idempr from docs_statut, exemplaires left join pret on pret_idexpl=expl_id where expl_cb='%$form_cb_expl' and expl_statut=idstatut "; 29 //--------------FIN LLIUREX 09/03/2016 ---------------- 14 30 $result = pmb_mysql_query($query, $dbh); 31 32 //-------------- LLIUREX 09/03/2016--------------------- 33 // ya no és necesario comprobar ceros 34 if(!pmb_mysql_num_rows($result)) { 35 //$form_cb_expl=f_rellena_ceros($form_cb_expl); 36 $query = "select expl_id, expl_notice, pret_flag, pret_idempr from docs_statut, exemplaires left join pret on pret_idexpl=expl_id where expl_cb like '$form_cb_expl' and expl_statut=idstatut "; 37 $result = pmb_mysql_query($query, $dbh); 38 } 39 // -------------- FIN LLIUREX 09/03/2016-------------- 15 40 if(!pmb_mysql_num_rows($result)) { 16 41 // exemplaire inconnu -
pmb4.2/trunk/fuentes/pmb/includes/gen_code/gen_code_exemplaire.php
r815 r819 12 12 if(($cb = pmb_mysql_fetch_object($query))) 13 13 $code_exemplaire= $cb->cb; 14 else $code_exemplaire = "GEN000000"; 15 } else $code_exemplaire = "GEN000000"; 14 // -------------------------- LLIUREX 09/03/2016 ----------------- 15 // original $code_exemplaire = "GEN000000" 16 17 else $code_exemplaire = "000000000"; 18 } else $code_exemplaire = "000000000"; 19 20 // -------------------------- FIN LLIUREX 09/03/2016 -------------- 16 21 return $code_exemplaire; 17 22 } 18 23 19 24 function gen_code_exemplaire($notice_id,$bull_id,$code_exemplaire) { 20 if(preg_match("/(\D*)([0-9]*)/",$code_exemplaire,$matches)){ 25 // -------------------------- LLIUREX 09/03/2016 ----------------- 26 /*if(preg_match("/(\D*)([0-9]*)/",$code_exemplaire,$matches)){ 21 27 $len = strlen($matches[2]); 22 28 $matches[2]++; 23 29 $code_exemplaire=$matches[1].str_pad($matches[2],$len,"0",STR_PAD_LEFT); 24 } else{ 30 } else{*/ 31 // -------------------------- FIN LLIUREX 09/03/2016 -------------- 32 25 33 $code_exemplaire++; 34 // -------------------------- LLIUREX 09/03/2016 ----------------- 35 36 if(strlen($code_exemplaire)>0 && strlen($code_exemplaire)<9){ 37 for($i=strlen($code_exemplaire); $i<9; $i++) 38 39 $code_exemplaire="0".$code_exemplaire; 26 40 } 41 42 // -------------------------- FIN LLIUREX 09/03/2016 -------------- 27 43 return $code_exemplaire; 28 44 } -
pmb4.2/trunk/fuentes/pmb/includes/marc_tables/es_ES/lang.xml
r815 r819 376 376 <entry code="uzb">Uzbek</entry> 377 377 <entry code="vai">Vao</entry> 378 <!---------------LLIUREX 09/03/2016 --------------------- --> 379 <entry code="va">Valencià</entry> 380 <!-------------FIN LLIUREX 09/03/2016--------------------- --> 378 381 <entry code="ven">Venda</entry> 379 382 <entry code="vie">Vietnamita</entry> -
pmb4.2/trunk/fuentes/pmb/includes/messages/languages.xml
r815 r819 13 13 <entry code="de_DE">Deutsch</entry> 14 14 <entry code="es_ES">Español</entry> 15 16 <!---------------LLIUREX 09/03/2016 -------------------------- --> 17 <entry code="va_ES">Valencià</entry> 18 <!---------------FIN LLIUREX 09/03/2016 ---------------------- --> 19 15 20 <!-- pas suffisamment traduit 16 21 <entry code="en_US">English (US)</entry> -
pmb4.2/trunk/fuentes/pmb/includes/section_param/es_ES.xml
r815 r819 20 20 <section name="pdfsug">Opciones de formato de las listas de sugerencias</section> 21 21 <section name="mel">Opciones de formato de los correos electrónicas de sugerencias</section> 22 <section name="categories">Options pour les categories</section> 23 <section name="thesaurus">Options pour les thésaurus</section> 24 <section name="classement">Options pour les plans de classement</section> 25 <section name="transferts">Options générales des transferts</section> 26 <section name="pdfrel">Options de mise en page des relances</section> 27 <section name="search">Options pour les recherches</section> 28 <section name="concepts">Options pour les concepts</section> 29 <section name="map">Options pour le géoréférencement</section> 22 <!--------------------LLIUREX 09/03/2016---------------------- --> <section name="categories">Opciones para las categorías</section> 23 <section name="thesaurus">Opciones para los tesauros</section> 24 <section name="classement">Opciones para los planes de clasificación</section> 25 <section name="transferts">Opciones generales para las transferencias</section> 26 <section name="pdfrel">Opciones de diseño para los recordatorios</section> 27 <section name="search">Opciones para las búsquedas</section> 28 <section name="concepts">Opciones para los conceptos</section> 29 <section name="map">Opciones para la georeferencia</section> 30 <!-------------------- FIN LLIUREX 09/03/2016----------------- --> 30 31 </pmbsections> -
pmb4.2/trunk/fuentes/pmb/includes/templates/admin.tpl.php
r815 r819 310 310 </a> 311 311 </span>"; 312 313 //-------------------- LLIUREX 09/03/2016------------------ 314 // A\F1adimos importar usuarios GESCEN/ ITACA 315 $admin_menu_empr .= " 316 <span".ongletSelect("categ=empr&sub=imple")."> 317 <a title='$msg[import_lec_alt]' href='./admin.php?categ=empr&sub=imple&action='> 318 $msg[import_lec_biblio] 319 </a> 320 </span> 321 <!-- A\F1adimos importar desde ITACA --> 322 <span".ongletSelect("categ=empr&sub=itaca")."> 323 <a title='$msg[import_usu_from_itaca_b]' href='./admin.php?categ=empr&sub=itaca&action='> 324 $msg[import_usu_from_itaca_b] 325 </a> 326 </span> 327 <!--A\F1adimos exportar fichero --> 328 <span".ongletSelect("categ=empr&sub=export")."> 329 <a title='$msg[usur_exp_b]' href='./admin.php?categ=empr&sub=export&action='> 330 $msg[usur_exp_b] 331 </a> 332 </span>"; 333 //----------------- FIN LLIUREX 09/03/2016------------- 334 312 335 $admin_menu_empr .= " 313 336 <span".ongletSelect("categ=empr&sub=parperso")."> … … 316 339 </a> 317 340 </span> 341 342 //-------------------- LLIUREX 09/03/2016------------------ 343 <span".ongletSelect("categ=empr&sub=migration")."> 344 <a title='$msg[usur_migr_menu]' href='./admin.php?categ=empr&sub=migration&action='> 345 $msg[usur_migr_menu] 346 </a> 347 </span> 348 //----------------- FIN LLIUREX 09/03/2016------------- 318 349 </div>"; 319 350 … … 354 385 </a> 355 386 </span> 387 388 //-------------------- LLIUREX 09/03/2016------------------ 389 // Añadimos importar registros de REBECA ---------------- 390 <span".ongletSelect("categ=import&sub=import_reb")."> 391 <a href='./admin.php?categ=import&sub=import_reb&action='> 392 ".$msg["import_reb"]." 393 </a> 394 </span> 395 //----------------- FIN LLIUREX 09/03/2016------------- 396 356 397 <span".ongletSelect("categ=import&sub=import_skos")."> 357 398 <a href='./admin.php?categ=import&sub=import_skos&action='> … … 456 497 </a> 457 498 </span> 499 //-------------------- LLIUREX 09/03/2016------------------ 500 <span".ongletSelect("categ=tradu")."> 501 <a title='$msg[tradu_tablas]' href='./admin.php?categ=misc&sub=tradu'> 502 $msg[tradu_tablas] 503 </a> 504 </span> 505 //----------------- FIN LLIUREX 09/03/2016------------- 506 458 507 </div> 459 508 "; … … 500 549 </a> 501 550 </span> 551 //-------------------- LLIUREX 09/03/2016------------------ 552 // ---Copias de seguridad de lliurex 553 <span".ongletSelect("categ=sauvegarde&sub=lliurexp")."> 554 <a title='$msg[copia_seg_a]' href='./admin.php?categ=sauvegarde&sub=lliurexp'> 555 $msg[copia_seg_b] 556 </a> 557 </span> 558 <span".ongletSelect("categ=sauvegarde&sub=lliureimp")."> 559 <a title='$msg[copia_seg_c]' href='./admin.php?categ=sauvegarde&sub=lliureximp'> 560 $msg[copia_seg_d] 561 </a> 562 </span> 563 //----------------- FIN LLIUREX 09/03/2016------------- 564 565 502 566 </div> 503 567 "; -
pmb4.2/trunk/fuentes/pmb/includes/templates/catalog.tpl.php
r815 r819 38 38 <ul> 39 39 <li><a href='./catalog.php?categ=create'>$msg[270]</a></li>"; 40 // -------------------- LLIUREX 09/03/2016 -------------------- 41 $catalog_menu .= "<li><a href='./catalog.php?categ=tejuelo'>$msg[tejuelo2]</a></li>"; 42 $catalog_menu .= "<li><a href='./catalog.php?categ=tejuelo2'>$msg[tejuelo2_cat]</a></li>"; 43 $catalog_menu .= "<li><a href='./catalog.php?categ=tejuelo3'>$msg[tejuelo2_cdu]</a></li>"; 44 // -------------------- FIN LLIUREX 09/03/2016 ---------------- 40 45 if ($opac_avis_allow) $catalog_menu .= "<li><a href='./catalog.php?categ=avis'>$msg[menu_gestion_avis]</a></li>"; 41 46 if ($opac_allow_add_tag) $catalog_menu .= "<li><a href='./catalog.php?categ=tags'>$msg[menu_gestion_tags]</a></li>";
Note: See TracChangeset
for help on using the changeset viewer.