[geeklog-cvs] MVCnPHP/contactmanager/views/templates ShowContacts.html,NONE,1.1

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Fri Jul 18 17:23:44 EDT 2003


Update of /usr/cvs/geeklog/MVCnPHP/contactmanager/views/templates
In directory internal.geeklog.net:/tmp/cvs-serv24184

Added Files:
	ShowContacts.html 
Log Message:
Sample HTML_Template_Flexy template for ShowContacts view.


--- NEW FILE: ShowContacts.html ---
<?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en" lang="en">
  <head>
    <title>{pageTitle}</title>
  </head>
  <body>
    <h2>Contact Manager Administration: Contact Listing</h2>
    <br />
    <p>NOTE: This page uses PEAR::HTML_Template_Flexy<br />
    <font color="red">{mvcMessage}</font></p>
    <p>To edit a contact select the 'edit' link.  To add a new contact simply click the 'new contact' link below</p>
    <form method="post" action="{formAction}">
        Search: 
        <input type="hidden" name="cmd" value="search" />
        <input type="text" name="q" value="{oldQuery}"> <INPUT type="submit" value="Go!" />
        <table border="1" width="100%">
            <tr><th> </th><th>Name</th><th>Email</th><th>Home</th><th>Work</th><th>Mobile</th></tr>
            <tr foreach="contacts,baseUrl,contactId,name,email,home,work,mobile">
                <td>[<a href="{baseUrl}/?cmd=edit&id={contactId}">Edit</a>]</td><td>{name}</td><td>{email} </td><td>{home} </td><td>{work} </td><td>{mobile} </td>
            <tr>
        </table>
        <p>[<a href="{baseUrl}/?cmd=edit">New Contact</a>]
             [<a href="{baseUrl}/">Show All</a>]</p>
    </form>
  </body>
</html>




More information about the geeklog-cvs mailing list