本文整理汇总了PHP中ToollBar::SetBoton方法的典型用法代码示例。如果您正苦于以下问题:PHP ToollBar::SetBoton方法的具体用法?PHP ToollBar::SetBoton怎么用?PHP ToollBar::SetBoton使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ToollBar
的用法示例。
在下文中一共展示了ToollBar::SetBoton方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: utf8_encode
<div style="float:left; padding-left: 20px; heigth:150px; width: 250px;">
<input type="text" id="txtTipoUnidadMedida" name="txtTipoUnidadMedida" value="<?php
echo utf8_encode($arrayDatosUnidad[0][1]);
?>
" style=" font-size: 16px; width:240px;"/>
</div>
<br><br><br><br>
<div style="float:left; padding-left: 100px">
<?php
$toolbar1 = new ToollBar();
$toolbar2 = new ToollBar();
?>
<?php
$toolbar1->SetBoton("grabarTipoUnidadMedida", "Guardar", "btn", "onclick,onkeypress", "grabarTipoUnidadMedida()", $_SESSION['path_principal'] . "imagen/icono/grabar.png", "", "", 1);
$toolbar1->Mostrar();
?>
</div>
<div style="float:left; padding-left: 15px;">
<?php
$toolbar2->SetBoton("cerrarMantenimientoTipoUnidadMedida()", "Cerrar ", "btn", "onclick,onkeypress", "cerrarMantenimientoTipoUnidadMedida()", $_SESSION['path_principal'] . "imagen/icono/cerrar1.gif", "", "", 1);
$toolbar2->Mostrar();
?>
</div>
<br><br>
示例2: ToollBar
if ($numeroDatos == $contador) {
$cadena .= "</tbody>\n </table>";
$cadena .= "</fieldset>";
}
$idGrupoAuxiliar = $idGrupo;
$idDatoAuxiliar = $idDato;
}
echo $cadena;
?>
<fieldset>
<legend>Procesar</legend>
Observaciones:
<br/>
<textarea id="textObservacion<?php
echo $idProcesarPuntoControl;
?>
" style="width: 300px; height: 100px;"></textarea>
<input type="hidden" id="numeroCampos" value='<?php
echo $contadorItems;
?>
' />
<?php
$toolbar1 = new ToollBar();
$toolbar1->SetBoton("terminarProceso", "Terminar Proceso", "btn", "onclick,onkeypress", "terminarProceso({$idProcesarPuntoControl},'{$funcionCerrar}')", $_SESSION['path_principal'] . "imagen/icono/kopeteavailable.png", "", "", 1);
$toolbar1->Mostrar();
?>
</fieldset>
示例3:
</option>
<?php
}
?>
</select>
</td></tr>
</table>
</fieldset>
<div id="divEmpresas" style="width:510px;height:auto">
<input id="hidIdAreaSede" name="hidIdAreaSede" value="" type="hidden"/>
<div id="divTablaAreaSede" style="margin-left: 10px; width: 490px; height: 200px; display: none;">
</div>
</div><br>
<div align="center" style="width: 200px">
<?php
if (isset($_SESSION["permiso_formulario_servicio"][218]["ASIG_AREA_CCOSTO"]) && $_SESSION["permiso_formulario_servicio"][218]["ASIG_AREA_CCOSTO"] == 1) {
$toolbar1->SetBoton("AsignarCeCeSedeEmAr", "Asignar Área a Centro Costo", "btn", "onclick,onkeypress", "grabarCeCeSedeEmpresaArea()", $_SESSION['path_principal'] . "imagen/icono/agt_action_success.png", "", "", 1);
$toolbar1->Mostrar();
}
?>
</div>
</fieldset>
<div id="divSedeAreaCentroCosto" style="width:510px;height:100px;" >
</div><br>
</div>
</div>
</div>
</div>
示例4:
$toolbar1_2->SetBoton("Editar1", "Editar", "btn", "onclick,onkeypress", "postEditarCampo()", $_SESSION['path_principal'] . "imagen/icono/editar.png", "", "", 1);
$toolbar1_2->Mostrar();
?>
</div>
<div id="divAgregar1" style="display:none; width: 80px; float:right;">
<?php
$toolbar1_3->SetBoton("Agregar1", "Agregar", "btn", "onclick,onkeypress", "agregaMasCampo('tbl_doc',++kk)", $_SESSION['path_principal'] . "imagen/icono/nuevo_item.png", "", "", 1);
$toolbar1_3->Mostrar();
?>
</div>
<div id="divActualizar1" style="display:none; width: 100px; float:left;" >
<?php
$toolbar1_4->SetBoton("Actualizar1", "Actualizar", "btn", "onclick,onkeypress", "grabarCampo('formNuevoCampo','modificar')", $_SESSION['path_principal'] . "imagen/icono/grabar.png", "", "", 1);
$toolbar1_4->Mostrar();
?>
</div>
<div id="divRestaurar1" style="display:none; width: 100px; float:right;">
<?php
$toolbar1_5->SetBoton("Restaurar1", "Restaurar", "btn", "onclick,onkeypress", "restaurarCampo()", $_SESSION['path_principal'] . "imagen/icono/undo.png", "", "", 1);
$toolbar1_5->Mostrar();
?>
</div>
</td>
</tr>
</table>
</div>
<br>
</fieldset>
</div>
</div>
示例5: ActionTesoreria
<div class="titleform">
<h1>Generacion de Ordenes</h1>
</div>
<?php
require_once "../../ccontrol/control/ActionTesoreria.php";
$o_ActionTesoreria = new ActionTesoreria();
require_once "../../ccontrol/control/ActionPersona.php";
$o_ActionPersona = new ActionPersona();
$toolbar3 = new ToollBar("left");
$toolbar3->SetBoton("IMPRIMIR", "SALIR", "btn", "onclick,onkeypress", "imprimirRecibo('34030340186016')", $_SESSION['path_principal'] . "imagen/icono/salir.gif");
$toolbar4 = new ToollBar("left");
$toolbar4->SetBoton("CANELAR", "CANCELAR", "btn", "onclick,onkeypress", "cancelarOrdenesSeleccionadas()", $_SESSION['path_principal'] . "imagen/icono/button_cancel.png");
$toolbar5 = new ToollBar("left");
$toolbar5->SetBoton("AGREGAR", "AGREGAR", "btn", "onclick,onkeypress", "agregarOrdenes()", $_SESSION['path_principal'] . "imagen/icono/nuevo.png");
?>
<div style="float:left; width:420px; height:620px; padding-top: 35px; padding-left: 35px; padding-right: 35px; background-color: white;" >
<div style=" width:400px; float:inherit">
<?php
$arrayParametros['funcion'] = 'setOrdenesPersona';
$arrayParametros['fnuevo'] = 'setOrdenesPersona';
$arrayParametros['alto'] = '150px';
$arrayParametros['nroOrden'] = true;
$arrayParametros['codigo'] = true;
$arrayParametros['documento'] = true;
$arrayParametros['apellidoPaterno'] = true;
$arrayParametros['apellidoMaterno'] = true;
$arrayParametros['nombre'] = true;
$arrayParametros['bbuscar'] = true;
$arrayParametros['blimpiar'] = true;
$arrayParametros['bnuevo'] = true;
$arrayParametros['editar'] = 'editar';
示例6:
</table>
</div>
<input id="hCodigoSubArea" type="hidden">
<!-- <input id="hCodigoEmpleado">-->
<input id="hCodigoEmpleado" type="hidden">
<div id="Div_ContenidoEmpleadoSubAreas" style="width:100%;height: 92%;">
<div style="width:100%;height: 42%;">
<table width="100%">
<tr>
<td>
<div style="width:100%;">
<div id="Div_titleTablaSubAreas" align="center" style="width:100%;">
<div style="float: left; width: 30%">
<?php
if (isset($_SESSION["permiso_formulario_servicio"][226]["AGREGAR_SUBAREA"]) && $_SESSION["permiso_formulario_servicio"][226]["AGREGAR_SUBAREA"] == 1) {
$toolbarx->SetBoton("btnAgregarSubAreas", "Agregar Sub Areas", "btn", "onclick,onkeypress", "agregarSubAreas()", "../../../imagen/icono/apply.png", "", "", true);
$toolbarx->Mostrar();
}
?>
</div>
<div style="float: right; width: 50%"><h1 align="left">Sub-áreas</h1></div>
</div>
<div style="clear: both"></div>
<div id="Div_TablaSubAreas" style="width:530px;height:220px;"></div>
</div>
</td>
<td width="5"></td>
<td>
<div style="width:100%;">
<div id="Div_titleTablaEmpleadosAreas" align="center" style="width:100%;">
<h1>Empleados del área</h1>
示例7: ToollBar
}
$toolbar->SetBoton("grabarContrato", "grabar", "btn", "onclick,onkeypress", "grabarContrato()", "../../../imagen/icono/grabar.png", "", "", $grabar);
$toolbar->Mostrar();
?>
</td>
<td>
<?php
$toolbar1 = new ToollBar("Center");
if (isset($_SESSION["permiso_formulario_servicio"][121]["ANULAR_CONTRATO"]) && $_SESSION["permiso_formulario_servicio"][121]["ANULAR_CONTRATO"] == 1) {
} else {
$anular = 0;
}
$toolbar1->SetBoton("AnularContrato", "Anular", "btn", "onclick,onkeypress", "anularContrato()", "../../../imagen/icono/nosecurity.png", "", "", $anular);
$toolbar1->Mostrar();
?>
</td>
<td>
<?php
$toolbar1 = new ToollBar("Center");
$toolbar1->SetBoton("grabarAnularContrato", "Confirmar Anulación", "btn", "onclick,onkeypress", "confirmarAnulación()", "../../../imagen/icono/nosecurity.png", "", "", false);
$toolbar1->Mostrar();
?>
</td>
</tr>
</table>
</div>
示例8: ToollBar
<!-- <td align="center">
<a href="javascript:PacienteGuardarHospitalizacion();">
<img border="0" title="Buscar" alt="" src="../../../imagen/btn/b_grabar__on.gif"/></a>
</td>-->
<td>
<?php
$toolbar3 = new ToollBar("left");
$toolbar3->SetBoton("GRABAR", "GRABAR", "btn", "onclick,onkeypress", "PacienteGuardarHospitalizacion()", $_SESSION['path_principal'] . "imagen/icono/grabar.png");
$toolbar3->Mostrar();
?>
</td>
<td>
<?php
$toolbar3 = new ToollBar("left");
$toolbar3->SetBoton("ELIMINAR", "SALIR", "btn", "onclick,onkeypress", "cerrarPaciente()", $_SESSION['path_principal'] . "imagen/icono/salir.gif");
$toolbar3->Mostrar();
?>
</td>
<!-- <td>-->
<!-- <a href="javascript:cerrarPaciente();">
<img border="0" title="Buscar" alt="" src="../../../imagen/icono/salir.gif"/></a>
</td>-->
</tr>
</table>
</td>
</tr>
</table>
</fieldset>
示例9: ToollBar
<?php
}
?>
</select>
</td>
</tr>
</table></fieldset>
</td>
</tr>
<tr>
<td align="center" colspan="3"><br><div style="width: 100px;" align="center">
<?php
if (isset($_SESSION["permiso_formulario_servicio"][232]["REFRESCAR_HORARIO_EMP"]) && $_SESSION["permiso_formulario_servicio"][232]["REFRESCAR_HORARIO_EMP"] == 1) {
$toolbarx = new ToollBar("right");
$toolbarx->SetBoton("Reporte", "Reporte", "btn", "onclick,onkeypress", "reportePerActElimInsert()", $_SESSION['path_principal'] . "imagen/icono/reload3.png", "", "", 1);
$toolbarx->Mostrar();
}
?>
</div>
</td>
</tr>
<tr align="center">
<td align="center">
<div id="div_reporteActElimInsert" style="width:800px;height: 400px;" align="center" ></div>
</td>
</tr>
</table>
</div>
</div>
示例10:
</div>
<div style="clear: both;height: 10px"></div>
<div id="fila2" style="height:30px; width:400px">
<div id="cell21" style="float:left; width:150px;">Código de Barras:</div>
<div id="cell22" style="float:left; width:250px;">
<input type="text" value="" name="txtCodigoBarras" id="txtCodigoBarras" style="width:180px;" onkeypress="verificarProcesarPacientePuntoControl('enter',event)" >
</div>
</div>
<div id="fila3" style="height:30px; width:400px">
<table border="0">
<tr>
<td>
<?php
$toolbar1->SetBoton("procesar", "Procesar", "btn", "onclick,onkeypress", "verificarProcesarPacientePuntoControl('click','')", $_SESSION['path_principal'] . "imagen/icono/Drawer-Open.png", "", "", 1);
$toolbar1->Mostrar();
?>
</td>
<td>
<?php
$toolbar2->SetBoton("cancelar", "Cancelar", "btn", "onclick,onkeypress", "cancelarProcesarPuntoControl()", $_SESSION['path_principal'] . "imagen/icono/agt_action_fail.png", "", "", 1);
$toolbar2->Mostrar();
?>
</td>
</tr>
</table>
</div>
</div>
</fieldset>
</div>
示例11: ToollBar
</fieldset>
</div>
<div id="tab7" style="float:left;border:0px solid #000000;width:100%;height:408px;padding:0px;overflow:auto;margin:1px;display: none;">
<?php
require_once "citas_personas.php";
?>
</div>
<div id="tab5" style="float:left;width:112%;height:40px;">
<table width="90%" border="0" cellpadding="0" cellspacing="1" style="font-size:11px">
<tr>
<td colspan="3">
<div id="toolbar" style="padding-left:230px;">
<?php
$toolbar = new ToollBar();
if (isset($_SESSION["permiso_formulario_servicio"][110]["EDITAR_PAC"]) && $_SESSION["permiso_formulario_servicio"][110]["EDITAR_PAC"] == 1) {
$toolbar->SetBoton("EDITAR", "Editar", "btn", "onclick,onkeypress", "editar_persona()", "../../../imagen/icono/editar.png", "", "", $btnhabil);
}
if (isset($_SESSION["permiso_formulario_servicio"][110]["GUARDAR_PAC"]) && $_SESSION["permiso_formulario_servicio"][110]["GUARDAR_PAC"] == 1) {
$toolbar->SetBoton("GRABAR", "Guardar", "btn", "onclick,onkeypress", "guardar_persona()", "../../../imagen/icono/grabar.png", "", "", $btndeshabil);
}
if (isset($_SESSION["permiso_formulario_servicio"][110]["REST_PAC"]) && $_SESSION["permiso_formulario_servicio"][110]["REST_PAC"] == 1) {
$toolbar->SetBoton("RESTAURAR", "Restaurar", "btn", "onclick,onkeypress", "restauraCambios()", "../../../imagen/icono/undo.png", "", "", $accion == 'inserted' ? 0 : $btndeshabil);
}
if (isset($_SESSION["permiso_formulario_servicio"][110]["IMPRIMIR_HC"]) && $_SESSION["permiso_formulario_servicio"][110]["IMPRIMIR_HC"] == 1) {
$toolbar->SetBoton("IMPRIMIRHC", "Imprimir HC", "btn", "onclick,onkeypress", "mostrarHistoriaClinica()", "../../../imagen/icono/printer.png", "", "", 1);
}
if (isset($_SESSION["permiso_formulario_servicio"][110]["CONSULTAR_HC"]) && $_SESSION["permiso_formulario_servicio"][110]["CONSULTAR_HC"] == 1) {
$toolbar->SetBoton("CONSULTARHC", "Consultar HC", "btn", "onclick,onkeypress", "mostrarVentanaHistoriaClinica()", "../../../imagen/icono/historial.png", "", "", 1);
}
$toolbar->Mostrar();
?>
示例12: ToollBar
</select>
</td>
</tr>
<tr>
<td align="left" style="font-family: verdana;font-size: 12px;">Nomenclatura</td>
<td><input style="font-family: verdana;font-size: 12px;width: 100px;height: 22px;" type="text" name="nomenclatura" id="nomenclatura" class="texto_combo" size="8"/></td>
</tr>
</table>
</form>
</fieldset>
<br/>
<fieldset>
<legend>Nomenclaturas ya utilizadas</legend>
<div id="divreporteDescripcion" style="font-family: verdana;font-size: 12px;overflow:auto;border:1px solid;height: 50px;width:445px;">
</div>
</fieldset>
<p> </p>
<center>
<fieldset style="border: 0px;">
<?php
if ($_SESSION["permiso_formulario_servicio"][206]["GRABAR_TURNO"] == 1) {
$toolbar = new ToollBar("center");
$toolbar->SetBoton("GRABAR", "GRABAR", "btn", "onclick,onkeypress", "validarManteTurno()", $_SESSION['path_principal'] . "imagen/icono/grabar.png");
$toolbar->Mostrar();
}
?>
</fieldset>
</center>
示例13: ToollBar
<div style="height:450px; width:25px; float:left">
</div>
<?php
$toolbar1 = new ToollBar();
?>
<?php
$toolbar2 = new ToollBar();
?>
<div style="width:900px; height:20px;float:left"></div>
<div style="width:50px; height:20px;float:left"></div>
<div style="width:380px; height:20px;float:left;">
<div style="float:inherit; padding-left:150 ">
<?php
$toolbar1->SetBoton("popadTipoUnidaMedida", "Agregar", "btn", "onclick,onkeypress", "popadTipoUnidaMedida()", $_SESSION['path_principal'] . "imagen/icono/nuevo.png", "", "", 1);
$toolbar1->Mostrar();
?>
</div>
</div>
<div style="width:40px; height:20px;float:left"></div>
<div style="width:380px; height:20px;float:left">
<div style="float:inherit; padding-left:150 ">
<?php
$toolbar2->SetBoton("agregarUnidadMedida", "Agregar", "btn", "onclick,onkeypress", "popadUnidaMedida()", $_SESSION['path_principal'] . "imagen/icono/nuevo.png", "", "", 1);
$toolbar2->Mostrar();
?>
</div>
</div>
<div style="width:50px; height:20px;float:inherit"><input type="text" id="txtNumeroEscondido" name="txtNumeroEscondido" style=" display:none ; width:20px;" value=""></div>
</div>
示例14: ToollBar
<?php
require_once "../../../pholivo/Html.php";
$toolbar = new ToollBar("left");
//$toolbar->SetBoton("PROFESIONAL","Profesional","btn","onclick,onkeypress","cargar_profesional",$_SESSION['path_principal']."imagen/icono/add_user2.png");
$toolbar->SetBoton("BUSCAR", "Buscar", "btn", "onclick,onkeypress", "myajax.Link('../../ccontrol/control.php?p1=cro_busca_profesional&p2='+document.getElementById('campo').value,'busca_tipo')", "../../../imagen/icono/add_user2.png");
?>
<html>
<head>
<!-- ================ ISIAJAX - ISIXML ====================== -->
<script language="javascript" src="../../../javascript/isiAJAX.js"></script>
<script language="javascript" src="../../../javascript/isiXML.js"></script>
</head>
<div id="VentanaTransparente">
<div class="overlay_absolute"></div>
<div id="cargador" style="z-index:2000">
<table width="100" height="40" border="0">
<tr valign="middle">
<td>
Por Favor Espere </td>
<td>
<img src="../../../imagen/inicio/cargando.gif" border="0" title="CARGANDO"/><a href="#" id="hider2"></a></td>
</tr>
</table>
</div>
</div>
<body onLoad="myajax = new isiAJAX('Contenido', 'VentanaTransparente');">
<fieldset>
<legend>BUSQUEDA DE MEDICOS</legend>
<div id="toolbar_interior" style="width:95%; height:40px;">
<table>
示例15:
" id="<?php
echo $comboSucursal[$i][0];
?>
" value=0 onclick="if(this.checked){this.value=1}else{this.value=0;}" onchange="cargarIdSucursal('<?php
echo $comboSucursal[$i][0];
?>
',this.value)"/><?php
echo utf8_encode($comboSucursal[$i][14]);
?>
<br>
<?php
}
?>
</form>
<?php
$toolbar9->SetBoton("btnSeleccionaTodasSucurles", "Seleccionar Todas", "btn", "onclick,onkeypress", "opcionCkbSucursales(1)", $_SESSION['path_principal'] . "imagen/icono/op_atendido.gif", "", "", 1);
$toolbar9->SetBoton("btnLimpiaCkbSucursales", "Limpiar", "btn", "onclick,onkeypress", "opcionCkbSucursales(0)", $_SESSION['path_principal'] . "imagen/icono/limpiar.png", "", "", 1);
$toolbar9->Mostrar();
?>
</div>
</fieldset>
</div>
</div>
<!-- NUEVA AREA CATALOGO -->
<div id="divNuevaAreaCatalogo" style=" float:right;width:65%; height:100px;">
<fieldset style="margin:1px;width:98%;height:auto;padding: 0px; font-size:14px">
<legend style="margin-left: 2%">Información de Áreas</legend>
<div id ="divTreeExamenFisico" style=" float:left;width:100%; height:150px; margin-left:10% " align="center">
<br>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">