[dev] low priority skeleton patch

W. David Betts david at populus.com
Mon Dec 8 12:23:24 PST 2003


This patch updates skeleton/templates/common-header.inc to follow the Control
Structures section of docs/CODING_STANDARDS.

--david

Index: templates/common-header.inc
===================================================================
RCS file: /repository/skeleton/templates/common-header.inc,v
retrieving revision 1.8
diff -r1.8 common-header.inc
16c16
< if (!empty($title)) $page_title .= ' :: ' . $title;
---
> if (!empty($title)) { $page_title .= ' :: ' . $title; }
25c25,31
< <body<?php if (Util::nonInputVar('js_onLoad')) echo ' onload="' . $js_onLoad .
'"'; if (Util::nonInputVar('bodyClass')) echo ' class="' . $bodyClass . '"' ?>>
---
> <body<?php
> if (Util::nonInputVar('js_onLoad')) {
>       echo ' onload="' . $js_onLoad . '"';
> }
> if (Util::nonInputVar('bodyClass')) {
>       echo ' class="' . $bodyClass . '"';
> } ?>>

_________________
W. David Betts
Lead Software Engineer
POPULUS
www.populus.com
_________________

Confidentiality Statement:

This e-mail message and any attachment(s) are confidential and may contain
proprietary information that may not be disclosed without express permission.
If you have received this message in error or are not the intended recipient,
please immediately notify the sender by replying to this message and then please
delete this message and any attachment(s).  Any use, dissemination,
distribution, or reproduction by unintended recipients is not authorized. Thank
you.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: skeleton.patch
Type: application/octet-stream
Size: 699 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031208/3a56f29d/skeleton.obj


More information about the dev mailing list