|
From: | Michael Totschnig <address@hidden> |
Subject: | [Phpgroupware-cvs] CVS: sitemgr/templates/default listsites.tpl,NONE,1.1 site_form.tpl,NONE,1.1 sitemgr_header.tpl,1.3,1.4 header_footer_theme.tpl,1.1.1.1,NONEsite_format_manager.tpl,1.2,NONE |
Date: | Wed, 21 May 2003 22:36:56 -0400 |
Update of /cvsroot/phpgroupware/sitemgr/templates/default In directory subversions:/tmp/cvs-serv6703/templates/default Modified Files: sitemgr_header.tpl Added Files: listsites.tpl site_form.tpl Removed Files: header_footer_theme.tpl site_format_manager.tpl Log Message: make sitemgr capable of editing multiple sites --- NEW FILE --- <center> <table border="0" cellspacing="2" cellpadding="2"> <tr> <td colspan="6" align="center" bgcolor="#c9c9c9"><b>{title_sites}<b/></td> </tr> <tr> <td colspan="6" align="left"> <table border="0" width="100%"> <tr> {left} <td align="center">{lang_showing}</td> {right} </tr> </table> </td> </tr> <tr> <td> </td> <td colspan="6" align="right"> <form method="post" action="{actionurl}"> <input type="text" name="query"> <input type="submit" name="search" value="{lang_search}"></form></td> </tr> <tr bgcolor="{th_bg}"> <td bgcolor="{th_bg}">{sort_name}</td> <td bgcolor="{th_bg}">{sort_url}</td> <td bgcolor="{th_bg}" align="center">{lang_edit}</td> <td bgcolor="{th_bg}" align="center">{lang_delete}</td> </tr> <!-- BEGIN site_list --> <tr bgcolor="{tr_color}"> <td>{site_name}</td> <td>{site_url}</td> <td align="center"><a href="{edit}">{lang_edit_entry}</a></td> <td align="center"><a href="{delete}">{lang_delete_entry}</a></td> </tr> <!-- END site_list --> <!-- BEGIN add --> </form> <tr valign="bottom"> <td><form method="POST" action="{add_action}"> <input type="submit" name="add" value="{lang_add}"></form></td> </form></td> <td><form method="POST" action="{doneurl}"> <input type="submit" name="done" value="{lang_done}"> </form></td> </tr> <!-- END add --> </table> </center> --- NEW FILE --- <!-- BEGIN form --> <center> {message} <form name="form" action="{actionurl}" method="POST"> <input type="hidden" name="site_id" value="{site_id}"> <table border="0" width="80%" cellspacing="2" cellpadding="2"> <tr bgcolor="{th}"> <td colspan="2" align="center"><b>{title_sites}<b/></td> </tr> <tr bgcolor="{row_on}"> <td>{lang_name}:<br><input name="site[name]" size="50" value="{site_name}"></td> <td width="50%" valign="middle"><i>{note_name}</i></td> </tr> <tr bgcolor="{row_off}"> <td>{lang_sitedir}:<br><input name="site[dir]" size="50" value="{site_dir}"></td> <td width="50%" valign="middle"><i>{note_dir}</i></td> </tr> <tr bgcolor="{row_on}"> <td>{lang_siteurl}:<br><input name="site[url]" size="50" value="{site_url}"></td> <td width="50%" valign="middle"><i>{note_url}</i></td> </tr> <tr bgcolor="{row_off}"> <td>{lang_anonuser}:<br><input name="site[anonuser]" size="50" value="{site_anonuser}"></td> <td width="50%" valign="middle"><i>{note_anonuser}</i></td> </tr> <tr bgcolor="{row_on}"> <td>{lang_anonpasswd}:<br><input name="site[anonpasswd]" size="50" value="{site_anonpasswd}"></td> <td width="50%" valign="middle"><i>{note_anonpasswd}</i></td> </tr> <tr bgcolor="{row_off}"> <td>{lang_adminlist}:<br><select name="site[adminlist][]" multiple="multiple" size="5">{site_adminlist}</select></td> <td width="50%" valign="middle"><i>{note_adminlist}</i></td> </tr> <!-- BEGIN add --> <tr> <td nowrap> <input type="submit" name="save" value="{lang_add}"> <input type="submit" name="done" value="{lang_done}"> </td> <td align="right"> <input type="reset" name="reset" value="{lang_reset}"> </td> </tr> <!-- END add --> <!-- BEGIN edit --> <tr> <td nowrap> <input type="submit" name="save" value="{lang_save}"> <input type="submit" name="done" value="{lang_done}"> </td> <td align="right"> <input type="submit" name="delete" value="{lang_delete}"> </td> </tr> <!-- END edit --> </table> </form> </center> <!-- END form --> Index: sitemgr_header.tpl =================================================================== RCS file: /cvsroot/phpgroupware/sitemgr/templates/default/sitemgr_header.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** sitemgr_header.tpl 5 Dec 2002 22:15:04 -0000 1.3 --- sitemgr_header.tpl 22 May 2003 02:36:54 -0000 1.4 *************** *** 3,6 **** --- 3,9 ---- <b><u>{sitemgr_administration}</u></b> <br> + <table border="0"> + <tr><td>{lang_sitename}</td><td>{sitename}</td></tr> + </table> <!-- --> [ *************** *** 10,14 **** <a href='{sitemgr-site}' target='_blank'>{view_site}</a> </i> ! ] <hr> <br> --- 13,20 ---- <a href='{sitemgr-site}' target='_blank'>{view_site}</a> </i> ! <!-- BEGIN switch --> ! | <form name="siteselect" method="POST" style="display:inline" action="{mainmenu}"><select name="siteswitch" onChange="this.form.submit()">{sitelist}</select></form> ! <!-- END switch --> ! ] <hr> <br> --- header_footer_theme.tpl DELETED --- --- site_format_manager.tpl DELETED ---
[Prev in Thread] | Current Thread | [Next in Thread] |