Tabla de Contenidos

form.cfg

Tipo

Localización

Descripción

Fichero empleado para especificar asuntos relativos a la presentación concreta de los formularios. En este archivo se definen las siguientes variables:

Ejemplos

<?php

//include_once 'general.cfg';

      $NAVIGATOR="es=Navegador|en=Navigator";

#BOOLEAN VALUE

      $STRUE="t";
      $SFALSE="f";

      $HTMLHEAD='<meta http-equiv="Content-Type" content="text/html; charset="utf-8">'.
      	'<link href="_CONF/CPM/style.css" rel="stylesheet" type="text/css">';
'';


#CLASSES AND STYLES

      $WDGCLASS='widget';
      $WDGNNCLASS='notnull';
      $FCMBWDGCLASS='fcmbwidget';

      $LOGINCLASS='login';
      $NAVIGATORCLASS='navigator';
      $FORMCLASS= 'form';
      $COMBOCLASS='combo';
      $TABLECLASS='table';
      $LISTCLASS='list';
      $GRIDSEPCLASS='gridsep';



#DATA TYPE ALIGN

      $TYPEALIGN["boolean"]="CENTER";
      $TYPEALIGN["integer"]="RIGHT";
      $TYPEALIGN["float"]="RIGHT";
      $TYPEALIGN["char"]="CENTER";
      $TYPEALIGN["string"]="LEFT";
      $TYPEALIGN["date"]="CENTER";
      $TYPEALIGN["time"]="CENTER";
      $TYPEALIGN["datetime"]="CENTER";


# FORM PAGE BODY -------------------------------------------------------------------

      $FORMBODYTAG=array('class','bgcolor','background','text','link','vlink');
      $FORMBODYVAL=array('form','#ebebeb',   '',          '','#00659c','#005989');

#LINES
     
//      $HEAD='<left><a href="menu.php?main=1" TARGET="_top">Menu</a></left>';
//      $TAIL=""; $i=1;


      $NAVIGATOREMPTY='es=Ninguno|en=None';

      $NAVIGATORTABLETAG=array('class','width','border','cellspacing','cellpadding','bgcolor','background');
      $NAVIGATORTABLEVAL=array('navigator',   '240',    '0',        '0',          '4',     '#eeeef6',     '');

      $NAVIGATORLYTTAG=array('width','style');
      $NAVIGATORLYTVAL=array('80%','border:0px solid red');

# FORM TABLE ------------------------------------------------------------------

      $FORMTABLETAG=array('class','width','border','cellspacing','cellpadding','bgcolor','background');
      $FORMTABLEVAL=array('form',   '',    '0',        '0',          '4',     '#eeeef6',     '');

#TABLE TITLE

      $FORMTITLETRTAG=array('bgcolor','background');
      $FORMTITLETRVAL=array('#c5dafe','');

      $FORMTITLETXTPRE= '<FONT color="white" size="-1" face="Sans"><B></I>';
      $FORMTITLETXTPOST='</I></B></FONT>';

      $FORMFIELDTXTPRE= '<FONT color="black" size="-1" face="Sans"><I>';
      $FORMFIELDTXTPOST='</I></FONT>';


#FGRID 
     $TABBTNTBLTAG=array('class','bgcolor','cellpadding');
     $TABBTNTBLVAL=array('tab-buttons','#bbaacc','2');

     $TABBTNTRTAG=array('bgcolor','background');
     $TABBTNTRVAL=array('#c6dbff','');

     $TABBTNLNTAG=array('class');
     $TABBTNLNVAL=array('');

     $TABBODYTRTAG=array('class','bgcolor');
     $TABBODYTRVAL=array('tab-body','#c6dbff');

#TABLE ODD FIELD

      $TBLOFIELDBGCOLOR='#eae8da';

      $TBLOFIELDFNTAG=array('color');
      $TBLOFIELDFNVAL=array('black');


#TABLE EVEN FIELD

      $TBLEFIELDBGCOLOR='#f4f4f4';

      $TBLEFIELDFNTAG=array('color');
      $TBLEFIELDFNVAL=array('brown');


#TABLE NEW FIELD

      $TBLNFIELDTRTAG=array('bgcolor','background');
      $TBLNFIELDTRVAL=array('#ddeeee','');

      $TBLNFIELDFNTAG=array('color');
      $TBLNFIELDFNVAL=array('yellow');

#TABLE SUM FIELD

      $TBLSFIELDTRTAG=array('bgcolor','background');
      $TBLSFIELDTRVAL=array('#ddaaaa','');

      $TBLSFIELDFNTAG=array('color','size','face');
      $TBLSFIELDFNVAL=array('black',  '-1'  ,'sans');

#TABLE HL FIELD

      $TBLHFIELDBGCOLOR='darkgrey';

# TAB

#$TBUTHEAD="<div id=\"imagen_portada\">\n<div id=\"tabs\">\n<ul>\n";
#$TBUTTPL="<li><!--TAB-LINK--><span><!--TAB-NAME--></span></a></li>\n";
#$TBUTTAIL="</ul>\n</div>\n</div><hr STYLE='position:absolute;top:30;width:90%'>";



?>

Notas