Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/02/2010, 10:38
Avatar de mackiechan
mackiechan
 
Fecha de Ingreso: junio-2009
Ubicación: Maracay, Venezuela
Mensajes: 51
Antigüedad: 14 años, 10 meses
Puntos: 12
Respuesta: Clase para templates

Hola, ya coloque la nueva clase que publicaste, esta mucho mas completa, pero lamentablemente me sigue dando el mismo problema al hacer el include.

A continuación este es el html final generado:

Código HTML:
 

<form name="form1" method="post" action="index.php">
  <table width="287" border="1">
    <tr>
      <td width="91">Usuario</td>
      <td width="180">
        <input name="usuario" type="text" id="usuario" size="30" maxlength="1000">
      </td>
    </tr>

    <tr>

      <td>password</td>
      <td><input name="password" type="password" id="password" size="30" maxlength="1000"></td>
    </tr>
    <tr>
      <td colspan="2">
      <div align="center">
        <input type="submit" name="button" id="button" value="Login"></div>

      </td>

    </tr>
  </table>
</form>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CMS version 1.0</title>
<script language="JavaScript" type="text/javascript" src="C:/wamp/www/cms/libreria/js/jquery-1.4.1.min.js"></script>

<link href="C:/wamp/www/cms/temas/predeterminado/css/base.css" rel="stylesheet" type="text/css" />
</head>
<body>


<div id="login">

1

</div>


</body>
</html> 
El "1" que aparece es el sitio donde esta la etiqueta {login} la cual es sustituida por este "1" y el contenido que en este caso es el formulario lo envia arriba del html x_x.