[PEPr] Comment on HTML::HTML_SimpleCalendar
| From: | Alan Knowles | Date: | Thu, 24 Nov 2005 01:36:52 +0000 |
| Subject: | [PEPr] Comment on HTML::HTML_SimpleCalendar | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-40492@lists.php.net to get a copy of this message | ||
Alan Knowles (http://pear.php.net/user/alan_k) has commented on the proposal for
HTML::HTML_SimpleCalendar.
Comment:
It would be best to remove all the HTML / javascript/ css
from the class, and create a simple HTML file, to do the rendering eg.
include "HTML/Calendar/Views/Standard.php";
in there just do pure html with php variable included ar required
<th><?=htmlspecialchars($this->todaypretty);?></th>
just fix your class name in the CSS, (eg. HTML_Calendar_View_Standard)- if
people want to mess around different Css names etc, they can create
different views.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=322
--
Sent by PEPr, the automatic proposal system at http://pear.php.net