phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] old/ccs/templates/default list.tpl, 1.1 htmlTimeCardF


From: skwashd
Subject: [Phpgroupware-cvs] old/ccs/templates/default list.tpl, 1.1 htmlTimeCardForm.tpl, 1.1 htmlTimeCardDetail.tpl, 1.1 htmlStatusesForm.tpl, 1.1 form.tpl, 1.1 htmlActionsForm.tpl, 1.1 htmlCCSDetail.tpl, 1.1 htmlPersonnelPasswdForm.tpl, 1.1 htmlPersonnelForm.tpl, 1.1 htmlDepartmentsForm.tpl, 1.1
Date: Thu, 5 May 2005 02:56:00 +0200

Update of old/ccs/templates/default

Added Files:
     Branch: MAIN
            list.tpl 
            htmlTimeCardForm.tpl 
            htmlTimeCardDetail.tpl 
            htmlStatusesForm.tpl 
            form.tpl 
            htmlActionsForm.tpl 
            htmlCCSDetail.tpl 
            htmlPersonnelPasswdForm.tpl 
            htmlPersonnelForm.tpl 
            htmlDepartmentsForm.tpl 

Log Message:
cvs clean up

====================================================
Index: list.tpl
<center>
        <table border="0" cellspacing="2" cellpadding="2">
        <tr>
                {WELCOME}
        </tr>
                <table border="0" width="100%">
                <tr>
                        {LEFT}
                        <td align="center"><font face="arial">Some Clever 
Message should go here</font></td>
                        {RIGHT}
                </tr>
                </table>
        <table>
                <!-- BEGIN ccs -->
                <tr bgcolor="{TR_COLOR}">
                <td align="center"><font face="arial" size="2">{ID}</font></td>
                <td align="center"><font face="arial" 
size="2">{SUBJECT}</font></td>
                <td align="center"><font face="arial" 
size="2">{OWNER}</font></td>
                <td align="center"><font face="arial"><a 
href="{VIEW}">view</a></font></td>
        <td align="center"><font face="arial"><a 
href="{EDIT}">edit</a></font></td>
        <td align="center"><font face="arial"><a 
href="{DELETE}">delete</a></font></td>
                </tr>
                <!-- END ccs -->
        </table>
                <tr valign="bottom">
                        <td colspan="5"><form method="post" 
action="{ACTION_URL}"><font face="arial">
                        {HIDDEN_VARS}
                        <input type="submit" name="add" 
value="{ADD_BTN}"></font></form></td>
                </tr>
        </table>
</center>



====================================================
Index: htmlTimeCardForm.tpl
<!-- $Id: htmlTimeCardForm.tpl,v 1.1 2005/05/05 00:56:39 skwashd Exp $ -->

<!-- Calendar -->
<script language="JavaScript">
        var calDateFormat='{VAL_JSDATEFORMAT}';
</script>
<script language="JavaScript" src="js/calendar.js"></script>
<script language="JavaScript" src="js/formchek.js"></script>

<script language="JavaScript">
function validateAndSubmitForm(form)
{
        var actionon = form.elements["actionon"].value;
        if (!(isDate(actionon.substr(calDateFormat.indexOf("yyyy"), 4), 
actionon.substr(calDateFormat.indexOf("MM"), 2), 
actionon.substr(calDateFormat.indexOf("DD"), 2))))
        {
                alert("When did you do it?");
                return;
        }

        c = form.elements["action"];
        if (!isPositiveInteger(c.options[c.selectedIndex].value))
        {
                alert("Just what did you do?!?");
                return;
        }
        c = form.elements["status"];
        if (!isPositiveInteger(c.options[c.selectedIndex].value))
        {
                alert("What is the status after all this?");
                return;
        }

        if (checkString(form.elements["summary"], "summary"))
                form.submit();
}
</script>

<p><center>
<table border="0" width="{VAL_OUTERTABLEWIDTH}" cellpadding="2" cellspacing="0" 
bgcolor="{COLOR_DARK}">
<tr><th><font color="{COLOR_LIGHT}">{TXT_TITLE}</font></th></tr>
<tr><td>
        <table border="0" width="100%" cellpadding="2" cellspacing="0" 
bgcolor="{COLOR_LIGHT}">
        <form name="NewAction" method="post" action="index.php">
        {HIDDEN_VARS}
        <tr><td><span class="highlight">{TXT_DATE}:</td>
                <td colspan="3"><input type="text" maxlength="10" size="10" 
name="actionon" value="{VAL_ACTIONON}">
                        <a href="javascript:doNothing()" 
onclick="setDateField(document.NewAction.actionon); top.newWin = 
window.open('calendar.html','cal','dependent=yes,width=210,height=230,screenX=200,screenY=300,titlebar=yes')">
                        <img src="templates/default/images/calendar.gif" 
border="0"></a>
                </td>
                <td><b>{TXT_BY}:</b></td>
                <td>{CMB_ACTIONBY}</td>
        </tr>
        <tr><td><span class="highlight">{TXT_STATUS}:</span></td>
                <td colspan="3">{CMB_STATUS}</td>
                <td><span class="highlight">{TXT_ACTION}:</span></td>
                <td>{CMB_ACTION}</td>
        </tr>

        <tr><td><span class="highlight">{TXT_SUMMARY}:</span></td>
                <td colspan="5"><input type="text" name="summary" size="50" 
maxlength="100" value="{VAL_SUMMARY}"></td>
        </tr>
        <tr><td valign="top"><b>{TXT_DESCRIPTION}:</b></td>
                <td colspan="5"><textarea name="description" rows="4" cols="50" 
wrap valign="top">{VAL_DESCRIPTION}</textarea></td>
        </tr>
        <tr><td colspan="6" align="center">
                        <input type="button" value="{BTN_SAVE}" 
onclick="validateAndSubmitForm(this.form);">
                        &nbsp;&nbsp;&nbsp;
                        <input type="reset" value="{BTN_RESET}">
                </td>
        </tr>
        <tr><td colspan="6"><span 
class="highlight">{TXT_HIGHLIGHTEDNOTE}</span></td></tr>
<!-- BEGIN modify -->
        <tr><td colspan="6"><span 
class="highlight">{TXT_MODIFYNOTE}</span></td></tr>
<!-- END modify -->
<!-- BEGIN batch -->
        <tr><td colspan="6"><span 
class="highlight">{TXT_ATTRIBUTENOTE}</span></td></tr>
<!-- END batch -->
        </form>
        </table>
</td></tr>
</table>
</center>

====================================================
Index: htmlTimeCardDetail.tpl
<!-- $Id: htmlTimeCardDetail.tpl,v 1.1 2005/05/05 00:56:39 skwashd Exp $ -->
<tr>
        <td><b><span class="highlight">{TXT_TITLE}</span></b></td>
<!-- BEGIN nodelete -->
        <th align="right"><font color="{COLOR_LIGHT}">{LNK_OPTIONS}</font></th>
<!-- END nodelete -->
<!-- BEGIN delete -->
        <td align="right">
                <form method="post" action="index.php">
                <input type="hidden" name="menuAction" 
value="ccs.boTimecards.dbdelete">
                <input type="hidden" name="id" VALUE="{VAL_TIMECARDID}">
                <input type="submit" value="{BTN_DELETE}">
                <input type="button" value="{BTN_CANCEL}" 
onclick="history.back();">
                </form>
        </td>
<!-- END delete -->
</tr>
<tr><td colspan="2">
        <table width="100%" border="0" cellpadding="2" cellspacing="2" 
bgcolor="{COLOR_LIGHT}">
        <tr><td>
                <b>{TXT_STATUS}:</b> {VAL_STATUS}<br>
                <b>{TXT_VERSION}:</b> {VAL_REVISION}<br>
                </td>
                <td>
                <b>{TXT_ACTION}:</b> {VAL_ACTION}<br>
                <b>{TXT_HOURS}:</b> {VAL_HOURS}
                </td>
        </tr>
        <tr><td colspan="2">
                <b>{TXT_DESCRIPTION}:</b> {VAL_DESCRIPTION}
        </td></tr>
        </table>
</td></tr>

====================================================
Index: htmlStatusesForm.tpl
<!-- $Id: htmlStatusesForm.tpl,v 1.1 2005/05/05 00:56:39 skwashd Exp $ -->
<script language="JavaScript" src="js/formchek.js"></script>
<script language="JavaScript">
function validateAndSubmitForm(form)
{
        if (checkString(form.elements["short"], "short description") && 
checkString(form.elements["name"], "name"))
                form.submit();
}
</script>
<center>
<table cellpadding="2" cellspacing="0" style="background-color: {COLOR_DARK};">
        <tr><th><font style="color: 
{COLOR_LIGHT};">{TXT_FUNCTION}</font></th></tr>
        <tr><td>
                <table width="100%" cellpadding="2" cellspacing="0" 
style="background-color: {COLOR_LIGHT};">
                        <form method="post" action="index.php">
                        {HIDDEN_VARS}
                        <tr>
                                <td><span 
class="highlight">{TXT_ACTIVE}:</span></td>
                                <td>{CMB_ACTIVE}</td>
                        </tr>
                        <tr>
                                <td><span 
class="highlight">{TXT_SHORT}:</span></td>
                                <td><input type="text" size="25" maxlength="25" 
name="short" value="{VAL_SHORT}"></td>
                        </tr>
                        <tr>
                                <td><span 
class="highlight">{TXT_NAME}:</span></td>
                                <td><input type="text" size="50" maxlength="50" 
name="name" value="{VAL_NAME}"></td>
                        </tr>
                        <tr>
                                <td colspan="2" align="center">
                                        <input type="button" 
onclick="validateAndSubmitForm(this.form);" value="{BTN_OK}">
                                        <input type="reset" value="{BTN_RESET}">
                                </td>
                        </tr>
                        <tr>
                                <td colspan="2"><span 
class="highlight">{TXT_HIGHLIGHTEDNOTE}</span></td>
                        </tr>
                        <tr>
                                <td colspan="2"><span 
class="highlight">{TXT_ATTRIBUTESNOTE}</span></td>
                        </tr>
                        </form>
                </table>
        </td></tr>
</table>
</center>

====================================================
Index: form.tpl
<!-- $Id -->

<!--Calendar stuff -->
<script language="JavaScript">
        var calDateFormat="{VAL_JSDATEFORMAT}";
</script>
<script language="JavaScript" src="js/calendar.js"></script>
<script language="JavaScript" src="js/formchek.js"></script>


        <center>
        {FORM_TITLE}
        </center>


        <table border="1" width="80%" cellspacing="1" cellpadding="1">
        <FORM NAME='frmccs' METHOD=post ACTION="{ACTION_URL}">
        <tr>
                <td width="60%" align=center><font size=3>ID: <b>{ID}</b>
       </td>
        <tr>
                <td width="60%" ><b>Complaint Summary:</b></td>
                <td><input type="text" size="75%" name="subject" 
value="{SUBJECT}"></td>
        </tr>
        <tr>
                <td width="20%" > <b> Complaint Detail:</b></td>
                <td width="75%"><textarea rows="10" name="detail" cols="65" 
wrap="virtual">{DETAIL}</textarea></td>
        </tr>

        </table>
        <tr valign="bottom">
                {HIDDEN_VARS}
                <input type="submit" name="save" 
value="{SAVE_BTN}"></font></form></td>
        </tr>
        </FORM>


====================================================
Index: htmlActionsForm.tpl
<!-- $Id: htmlActionsForm.tpl,v 1.1 2005/05/05 00:56:39 skwashd Exp $ -->
<script language="JavaScript" src="js/formchek.js"></script>
<script language="JavaScript">
function validateAndSubmitForm(form)
{
        if (checkString(form.elements["short"], "short description") && 
checkString(form.elements["name"], "name"))
                form.submit();
}
</script>
<center>
<table cellpadding="2" border="0" cellspacing="0" style="background-color: 
{COLOR_DARK};">
        <tr><th><font style="color: 
{COLOR_LIGHT};">{TXT_FUNCTION}</font></th></tr>
        <tr><td>
                <table width="100%" border="0" cellpadding="2" cellspacing="0" 
style="background-color: {COLOR_LIGHT};">
                        <form method="post" action="index.php">
                        {HIDDEN_VARS}
                        <tr>
                                <td><span 
class="highlight">{TXT_ACTIVE}:</span></td>
                                <td>{CMB_ACTIVE}</td>
                        </tr>
                        <tr>
                                <td><span 
class="highlight">{TXT_SHORT}:</span></td>
                                <td><input type="text" size="25" maxlength="25" 
name="short" value="{VAL_SHORT}"></td>
                        </tr>
                        <tr>
                                <td><span 
class="highlight">{TXT_NAME}:</span></td>
                                <td><input type="text" size="50" maxlength="50" 
name="name" value="{VAL_NAME}"></td>
                        </tr>
                        <tr>
                                <td colspan="2" align="center">
                                        <input type="button" 
onclick="validateAndSubmitForm(this.form);" value="{BTN_OK}">
                                        <input type="reset" value="{BTN_RESET}">
                                </td>
                        </tr>
                        <tr>
                                <td colspan="2"><span 
class="highlight">{TXT_HIGHLIGHTEDNOTE}</span></td>
                        </tr>
                        <tr>
                                <td colspan="2"><span 
class="highlight">{TXT_ATTRIBUTESNOTE}</span></td>
                        </tr>
                        </form>
                </table>
        </td></tr>
</table>
</center>

====================================================
Index: htmlCCSDetail.tpl
<p><center>
<table border="0" style="background-color: {COLOR_DARK};" cellpadding="2" 
cellspacing="0">
        <tr>
                <td><span class="light"><b>{TXT_DETAILTITLE}</b></span></td>
                <td align="right" nowrap>
<!-- BEGIN delete -->
                <font color="{COLOR_LIGHT}">
                <form method="post" action="{ACTION_URL}">
                        <input type="hidden" name="ccs" value="{ID}">
                        <input type="hidden" name="menuAction" 
value="ccs.boCCS.dbdelete">
                        <input type="submit" value="Delete">
                        <input type="button" value="Cancel" 
onclick="history.back();">
                </form>
                </font>
<!-- END delete -->
<!-- BEGIN action -->
                <font color="{COLOR_LIGHT}">
                <form method="post" action="{ACTION_URL}">
                        <input type="hidden" name="ccs" value="{VAL_ID}">
                        {CMB_ACTION}
                        <input type="submit" value="{TXT_GO}">
                </form>
                </font>
<!-- END action -->
                </td>
        </tr>
        <tr>
                <td colspan="2">
                        <table width="100%" border="0" cellpadding="2" 
cellspacing="2" style="background-color: {COLOR_DARK};">
                                <tr>
                                        <td style="background-color: 
{COLOR_LIGHT};">
                                        <b>Id:</b> {VAL_ID}<br>
                                        <b>Owner:</b> {VAL_OWNER}<br>
                                        </td>
                                        <td style="background-color: 
{COLOR_LIGHT};">
                                        <b>Opened On:</b> {VAL_OPENEDON}<br>
                                </tr>
                                <tr>
                                        <td style="background-color: 
{COLOR_LIGHT};">
                                        <b>Status:</b> {VAL_STATUS}<br>



                                </tr>

                                <tr>
                                        <td style="background-color: 
{COLOR_LIGHT};" colspan="2">
                                        <b>Subject:</b> {VAL_SUBJECT}
                                        </td>
                                </tr>


                                <tr>
                                        <td style="background-color: 
{COLOR_LIGHT};" colspan="2">
                                        <b>Detail:</b> {VAL_DETAIL}

                                        </td>

                        </table>
                </td>
        </tr>
{VAL_TIMECARDS}
</table>
</center>

====================================================
Index: htmlPersonnelPasswdForm.tpl
<p><center>
<table border="0" style="background-color: {COLOR_DARK};" cellspacing="0" 
cellpadding="2">
        <tr>
                <th><font style="color: {COLOR_LIGHT};">{TXT_CHGPWD}</font></th>
        </tr>
        <tr><td>
                <table width="100%" border="0" style="background-color: 
{COLOR_LIGHT};" cellspacing="0" cellpadding="2">
                        <form method="post" action="index.php">
                        {HIDDEN_VARS}
                                <tr>
<!-- BEGIN notsa -->
                                        <td>{TXT_CURRPWD}:</td>
                                        <td><input type="password" size="15" 
name="original"></td>
<!-- END notsa -->
<!-- BEGIN sa -->
                                        <td>{TXT_USER}:</td>
                                        <td>{CMB_USERID}</td>
<!-- END sa -->
                                </tr>
                                <tr>
                                        <td>{TXT_NEWPWD}:</td>
                                        <td><input type="password" size="15" 
name="new"></td>
                                </tr>
                                <tr>
                                        <td>{TXT_CONFIRMPWD}:</td>
                                        <td><input type="password" size="15" 
name="confirm"></td>
                                </tr>
                                <tr>
                                        <td colspan="2" align="center">
                                                <input type="submit" 
value="{BTN_CHANGE}">
                                                <input type="reset" 
value="{BTN_CLEAR}">
                                        </td>
                                </tr>
                        </form>
                </table>
        </td></tr>
</table>
</center>

====================================================
Index: htmlPersonnelForm.tpl
<!-- $Id: htmlPersonnelForm.tpl,v 1.1 2005/05/05 00:56:39 skwashd Exp $ -->
<script language="JavaScript" src="js/formchek.js"></script>
<script language="JavaScript">
function validateAndSubmitForm(form)
{
        if (!checkString(form.elements["short"], "login"))
                return;


        var c = form.elements["reportto"];
        if (!isPositiveInteger(c.options[c.selectedIndex].value))
        {
                alert("Who does this person report to?");
                return;
        }
        c = form.elements["department"];
        if (!isPositiveInteger(c.options[c.selectedIndex].value))
        {
                alert("Surely this person belongs in a department somewhere!");
                return;
        }
        if (!isPositiveInteger(form.elements["security"].value))
        {
                alert("What permissions are to be granted?");
                form.elements["security"].value = "";
                form.elements["security"].focus();
                return;
        }

        form.submit();
}
</script>
<center>
<table cellpadding="2" cellspacing="0" style="background-color: {COLOR_DARK};">
        <tr><th><font style="color: 
{COLOR_LIGHT};">{TXT_FUNCTION}</font></th></tr>
        <tr><td>
                <table width="100%" cellpadding="2" cellspacing="0" 
style="background-color: {COLOR_LIGHT};">
                        <form method="post" action="index.php">
                        {HIDDEN_VARS}
                        <tr>
                                <td><span 
class="highlight">{TXT_LOGIN}:</span></td>
                                <td><input type="text" maxlength="10" size="10" 
name="short" value="{VAL_SHORT}"></td>
                                <td><span 
class="highlight">{TXT_ACTIVE}:</span></td>
                                <td>{CMB_ACTIVE}</td>
                        </tr>

                        <tr>
                                <td><span 
class="highlight">{TXT_REPORTTO}:</span></td>
                                <td>{CMB_REPORTTO}</td>
                                <td><span 
class="highlight">{TXT_DEPARTMENT}:</span></td>
                                <td>{CMB_DEPARTMENT}</td>
                        </tr>
<!-- BEGIN add -->
                        <tr>
                                <td><span 
class="highlight">{TXT_SECLVL}:</span></td>
                                <td><input type="text" maxlength="2" size="2" 
name="security" value="{VAL_SECURITY}"></td>
                        </tr>

<!-- END add -->
<!-- BEGIN edit -->
                        <tr>
                                <td><span 
class="highlight">{TXT_SECLVL}:</span></td>
                                <td><input type="text" maxlength="2" size="2" 
name="security" value="{VAL_SECURITY}"></td>
                        </tr>
<!-- END edit -->
                        <tr>
                                <td colspan="4" align="center">
                                        <input type="button" 
onclick="validateAndSubmitForm(this.form);" value="{BTN_SAVE}">
                                        <input type="reset" value="{BTN_RESET}">
                                </td>
                        </tr>
                        <tr>
                                <td colspan="4"><span 
class="highlight">{TXT_HIGHLIGHTEDNOTE}</span></td>
                        </tr>
                        </form>
                </table>
        </td></tr>
</table>
<p>
<table cellpadding="2" cellspacing="0" style="background-color: {COLOR_DARK};">
        <tr>
                <th><font style="color: {COLOR_LIGHT};">{TXT_SECLVL}</font></th>
        </tr>
        <tr><td>
                <table border="0" width="100%" cellspacing="2" cellpadding="2">
                        <tr>
                                <th style="background-color: 
{COLOR_LIGHT};">{TXT_MINLVL}</th>
                                <th style="background-color: 
{COLOR_LIGHT};">{TXT_TODOTHIS}</th>
                        </tr>
<!-- BEGIN list -->
                        <tr>
                                <td style="background-color: 
{COLOR_LIGHT};">{TXT_LVL}</th>
                                <td style="background-color: 
{COLOR_LIGHT};">{TXT_DESC}</th>
                        </tr>
<!-- END list -->
                </table>
        </td></tr>
</table>
</center>

====================================================
Index: htmlDepartmentsForm.tpl
<!-- $Id: htmlDepartmentsForm.tpl,v 1.1 2005/05/05 00:56:39 skwashd Exp $ -->
<script language="JavaScript" src="js/formchek.js"></script>
<script language="JavaScript">
function validateAndSubmitForm(form)
{
        if (checkString(form.elements["short"], "short description") && 
checkString(form.elements["name"], "name"))
                form.submit();
}
</script>
<center>
<table border="0" cellpadding="2" cellspacing="0" style="background-color: 
{COLOR_DARK};">
        <tr><th><font style="color: 
{COLOR_LIGHT};">{TXT_FUNCTION}</font></th></tr>
        <tr><td>
                <table border="0" width="100%" cellpadding="2" cellspacing="0" 
style="background-color: {COLOR_LIGHT};">
                        <form method="post" action="index.php">
                        {HIDDEN_VARS}
                        <tr>
                                <td><span 
class="highlight">{TXT_ACTIVE}:</span></td>
                                <td>{CMB_ACTIVE}</td>
                        </tr>
                        <tr>
                                <td><span 
class="highlight">{TXT_SHORT}:</span></td>
                                <td><input type="text" size="25" maxlength="25" 
name="short" value="{VAL_SHORT}"></td>
                        </tr>
                        <tr>
                                <td><span 
class="highlight">{TXT_NAME}:</span></td>
                                <td><input type="text" size="50" maxlength="50" 
name="name" value="{VAL_NAME}"></td>
                        </tr>
                        <tr>
                                <td colspan="2" align="center">
                                        <input type="button" 
onclick="validateAndSubmitForm(this.form);" value="{BTN_OK}">
                                        <input type="reset" value="{BTN_RESET}">
                                </td>
                        </tr>
                        <tr>
                                <td colspan="2"><span 
class="highlight">{TXT_HIGHLIGHTEDNOTE}</span></td>
                        </tr>
                        </form>
                </table>
        </td></tr>
</table>
</center>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]