From bba84cc9d361ed4862d4ed51e3dec9e0d1aa49e9 Mon Sep 17 00:00:00 2001 From: fredyrivera Date: Thu, 9 Feb 2017 09:02:50 -0500 Subject: [PATCH] =?UTF-8?q?Ahora=20se=20pueden=20quitar=20formularios=20de?= =?UTF-8?q?l=20portal,=20el=20aviso=20de=20atribuci=C3=B3n=20solo=20se=20c?= =?UTF-8?q?opia=20al=20portapapeles=20cuando=20el=20usuario=20no=20est?= =?UTF-8?q?=C3=A1=20logueado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 23 +++++++++-------------- milfs/funciones/funciones.php | 22 +++++++++++++++++++--- 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/index.php b/index.php index 6b0e712..b89ce3f 100755 --- a/index.php +++ b/index.php @@ -17,7 +17,7 @@ if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');} - + @@ -288,8 +288,8 @@ if ($variable !=''){ $mapa Powered by MILFS
-

Comparte nuestra aplicación

-

Descarga una aplicación para leer este código +

Comparte nuestra aplicación

+

Descarga una aplicación para leer este código

@@ -675,13 +675,13 @@ $menu_lateral = " - + - + @@ -703,7 +703,7 @@ document.oncopy = addLink; -¿ Necesitas ayuda para apoyarnos ? +¿ Necesitas ayuda para apoyarnos ?
--> $identificador"; @@ -802,18 +802,13 @@ document.oncopy = addLink; if(isset($_REQUEST['asistento'])) { echo asistente_aplicaciones("",'','',''); }else { - echo "Quiero crear una campaña "; + echo "Quiero crear una campaña "; } ?> - +
diff --git a/milfs/funciones/funciones.php b/milfs/funciones/funciones.php index ee2b062..da4ac63 100644 --- a/milfs/funciones/funciones.php +++ b/milfs/funciones/funciones.php @@ -3574,6 +3574,7 @@ if (mysqli_num_rows($sql)!='0'){ $imagen = buscar_imagen($row['id'],'','',''); $geo = buscar_campo_tipo($row['id'],"14"); $ultimo_mapa = remplacetas('form_datos','form_id',$row['id'],'contenido'," id_campo = '$geo[0]'") ; + $mostrar = remplacetas('form_parametrizacion','campo',$row['id'],'descripcion'," tabla='form_id' AND opcion='mostrar_portal'") ; if($ultimo_mapa[0] !="") { $campos = explode(" ",$ultimo_mapa[0]); $lat = $campos['0']; @@ -3612,6 +3613,7 @@ if (mysqli_num_rows($sql)!='0'){

$descripcion_limpia

"; // if ( $fila%2==0){ + if($mostrar[0] !="0") { $linea .= "
@@ -3634,6 +3636,7 @@ if (mysqli_num_rows($sql)!='0'){
"; + }else {$linea .="";} /* }else{ $linea .= " @@ -11359,6 +11362,7 @@ if (mysqli_num_rows($sql)!='0' ){ $geo = buscar_campo_tipo($id,"14"); $email_envio = remplacetas('form_parametrizacion','campo',"$row[id]",'descripcion'," tabla='form_id' and opcion = 'email'") ; $mensaje_envio = remplacetas('form_parametrizacion','campo',"$row[id]",'descripcion'," tabla='form_id' and opcion = 'mensaje_envio'") ; + $mostrar = remplacetas('form_parametrizacion','campo',$row['id'],'descripcion'," tabla='form_id' AND opcion='mostrar_portal'") ; if($geo[0] !='') { $mapa= "
  • Mapa
  • ";}else {$mapa='';} if($i % $divider==0) { @@ -11393,15 +11397,27 @@ $item .= "
    +

    $nombre_formulario[0]

    Importar (Experimental) Llenar - +
    Consultar
    -

    $nombre_formulario[0]

    - + +
      +
    • +
      + NO + + SIMostrar en el portal +
      + + +
    +