[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] old/brewer/templates/default/index.tpl, 1.1
From: |
nomail |
Subject: |
[Phpgroupware-cvs] old/brewer/templates/default/index.tpl, 1.1 |
Date: |
Thu, 30 Dec 2004 08:50:59 +0100 |
Update of /old/brewer/templates/default
Added Files:
Branch:
index.tpl
date: 2004/12/30 07:50:59; author: skwashd; state: Exp;
Log Message:
keep a historic record of the app
=====================================================================
<!-- BEGIN index -->
<script>
function do_action(act)
{
flag = 0;
for (i=0; i<document.addshow.elements.length; i++) {
if (document.addshow.elements[i].type == "checkbox") {
if (document.addshow.elements[i].checked) {
flag = 1;
}
}
}
if (flag != 0) {
document.addshow.what.value = act;
document.addshow.submit();
} else {
alert("<?php echo lang('Please select a song first').'.'; ?>");
document.addshow.tofolder.selectedIndex = 0;
}
}
function check_all()
{
for (i=0; i<document.addshow.elements.length; i++) {
if (document.addshow.elements[i].type == "checkbox") {
if (document.addshow.elements[i].checked) {
document.addshow.elements[i].checked = false;
} else {
document.addshow.elements[i].checked = true;
}
}
}
}
</script>
<table border="0" align="center" width="80%">
<tr>
<td align="center">
<form action="{action_url}" method="post">
{cats_link}
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="query" value="{query}">
<input type="hidden" name="start" value="{start}">
</form>
</td>
</tr>
<tr>
<td align="center">{lang_showing}</td>
</tr>
</table>
<table border="0" align="center" width="80%">
<tr>
{next_matchs}
</tr>
</table>
<table border="0" align="center" width="80%">
<tr bgcolor="{th_bg}">
<td> </td>
<td>{lang_title}</td>
<td>{lang_artist}</td>
<td>{lang_year}</td>
<td>{lang_genre}</td>
<td>{lang_request}</td>
<td>{lang_edit}</td>
<td>{lang_view}</td>
<td>{lang_download}</td>
</tr>
<form name="addshow" action="{show_url}" method="post">
{rows}
<tr bgcolor="{tr_color}">
<td bgcolor="{th_bg}" align="center">
<a href="javascript:check_all()"><img src="{check}" border="0"
height="16" width="21" alt="{select_all}"></a>
</td>
<td><input type="submit" name="request" value="{lang_request_mult}"</td>
<td><input type="submit" name="addshow" value="{lang_addshow}"></td>
</tr>
</table>
</form>
<!-- END index -->
<!-- BEGIN row -->
<tr bgcolor="{tr_color}">
<td><input type="checkbox" name="songlist[]" value="{id}"></td>
<td>{title} </td>
<td>{artist} </td>
<td>{year} </td>
<td>{genre} </td>
<td><a href="{request_link}">{lang_request}</a></td>
<td><a href="{edit_link}">{lang_edit}</a></td>
<td><a href="{view_link}">{lang_view}</a></td>
<td><a href="{download_link}">{lang_download}</a></td>
</tr>
<!-- END row -->
<!-- BEGIN footer -->
<table width="80%" align="center">
<tr>
<td align="left">
{requestlist_link}
</td>
<td align="right">
<form action="{show_url}" method="post">
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="start" value="{start}">
<input type="submit" name="Show" value="{lang_show}">
</form>
</td>
<td align="right">
<form action="{import_url}" method="post">
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="start" value="{start}">
<input type="submit" name="Import" value="{lang_import}">
</form>
</td>
<td align="right">
<form action="{scan_url}" method="post">
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="start" value="{start}">
<input type="submit" name="Scan" value="{lang_scan}">
</form>
</td>
<!-- not used
<td align="right">
<form action="{export_url}" method="post">
<input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="start" value="{start}">
<input type="submit" name="Import" value="{lang_export}">
</form>
</td>
-->
</tr>
</table>
<!-- END footer -->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] old/brewer/templates/default/index.tpl, 1.1,
nomail <=