[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: news_admin/templates/default admin_form.tpl,1.1.
From: |
Michael Totschnig <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: news_admin/templates/default admin_form.tpl,1.1.2.1.2.1,1.1.2.1.2.2 write.tpl,1.1.2.1,1.1.2.2 |
Date: |
Sat, 28 Jun 2003 00:33:49 -0400 |
Update of /cvsroot/phpgroupware/news_admin/templates/default
In directory subversions:/tmp/cvs-serv10181/templates/default
Modified Files:
Tag: Version-0_9_16-branch
admin_form.tpl write.tpl
Log Message:
restrict visibility of news item with start and end date
make news_date again the exact timestamp of the creation date
Index: admin_form.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/templates/default/admin_form.tpl,v
retrieving revision 1.1.2.1.2.1
retrieving revision 1.1.2.1.2.2
diff -C2 -r1.1.2.1.2.1 -r1.1.2.1.2.2
*** admin_form.tpl 31 May 2003 08:18:21 -0000 1.1.2.1.2.1
--- admin_form.tpl 28 Jun 2003 04:33:47 -0000 1.1.2.1.2.2
***************
*** 1,7 ****
- <!-- BEGIN form -->
-
<center>{errors}</center>
! <form method="POST" action="{form_action}">
<input type="hidden" name="news[id]" value="{value_id}">
<table width="75%" align="center" cellspacing="0" style="{ border: 1px
solid #000000; }">
--- 1,5 ----
<center>{errors}</center>
! <form method="POST" name="admin" action="{form_action}">
<input type="hidden" name="news[id]" value="{value_id}">
<table width="75%" align="center" cellspacing="0" style="{ border: 1px
solid #000000; }">
***************
*** 31,44 ****
<tr class="row_on">
! <td>{label_status} </td>
! <td>{value_status} </td>
! </tr>
!
! <tr class="row_off">
! <td>{label_date} </td>
<td>
! {value_date_d}
! {value_date_m}
! {value_date_y}
</td>
</tr>
--- 29,48 ----
<tr class="row_on">
! <td>{label_visible} </td>
<td>
! <select id="from" onChange="toggle()" name="from">
! {select_from}
! </select>
! <span id="visible">{value_begin_d}
! {value_begin_m}
! {value_begin_y}
! <select id="until" onChange="toggle()" name="until">
! {select_until}
! </select>
! <span id="end">{value_end_d}
! {value_end_m}
! {value_end_y}
! </span>
! </span>
</td>
</tr>
***************
*** 53,55 ****
</form>
<br>
! <!-- END form -->
--- 57,84 ----
</form>
<br>
! <script language="Javascript">
! // <!-- start Javascript
! function toggle()
! {
! myspan = document.getElementById('visible')
! if (document.getElementById('from').value == '0.5')
! {
! myspan.style.display = 'inline';
! }
! else
! {
! myspan.style.display = 'none';
! }
! myspan = document.getElementById('end')
! if (document.getElementById('until').value == '0.5')
! {
! myspan.style.display = 'inline';
! }
! else
! {
! myspan.style.display = 'none';
! }
! }
! toggle();
! // end Javascript -->
! </script>
\ No newline at end of file
Index: write.tpl
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/templates/default/write.tpl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** write.tpl 23 Jun 2003 19:20:52 -0000 1.1.2.1
--- write.tpl 28 Jun 2003 04:33:47 -0000 1.1.2.2
***************
*** 15,19 ****
<td width="12%">{header_date}</td>
<td>{header_subject}</td>
! <td width="5%" align="center">{header_status}</td>
<td width="5%" align="center">{header_view}</td>
<td width="5%" align="center">{header_edit}</td>
--- 15,19 ----
<td width="12%">{header_date}</td>
<td>{header_subject}</td>
! <td width="15%" align="center">{header_status}</td>
<td width="5%" align="center">{header_view}</td>
<td width="5%" align="center">{header_edit}</td>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: news_admin/templates/default admin_form.tpl,1.1.2.1.2.1,1.1.2.1.2.2 write.tpl,1.1.2.1,1.1.2.2,
Michael Totschnig <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: news_admin/setup default_records.inc.php,1.2,1.2.4.1 setup.inc.php,1.5.4.3,1.5.4.4tables_current.inc.php,1.3.4.2,1.3.4.3 tables_update.inc.php,1.1.4.2,1.1.4.3
- Next by Date:
[Phpgroupware-cvs] CVS: news_admin/inc class.bo.inc.php,1.1.2.2,1.1.2.3 class.so.inc.php,1.1.2.2,1.1.2.3 class.ui.inc.php,1.1.2.2,1.1.2.3
- Previous by thread:
[Phpgroupware-cvs] CVS: news_admin/setup default_records.inc.php,1.2,1.2.4.1 setup.inc.php,1.5.4.3,1.5.4.4tables_current.inc.php,1.3.4.2,1.3.4.3 tables_update.inc.php,1.1.4.2,1.1.4.3
- Next by thread:
[Phpgroupware-cvs] CVS: news_admin/inc class.bo.inc.php,1.1.2.2,1.1.2.3 class.so.inc.php,1.1.2.2,1.1.2.3 class.ui.inc.php,1.1.2.2,1.1.2.3
- Index(es):