phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] old/img/templates/default header.tpl, 1.1 form.tpl, 1


From: skwashd
Subject: [Phpgroupware-cvs] old/img/templates/default header.tpl, 1.1 form.tpl, 1.1 edit.tpl, 1.1 delete.tpl, 1.1 list.tpl, 1.1 manip.tpl, 1.1 preference_colspan.tpl, 1.1 preference_acl_row.tpl, 1.1 preference_acl.tpl, 1.1 config.tpl, 1.1 preferences.tpl, 1.1 thumbnails.tpl, 1.1 view.tpl, 1.1
Date: Thu, 5 May 2005 02:56:00 +0200

Update of old/img/templates/default

Added Files:
     Branch: MAIN
            header.tpl 
            form.tpl 
            edit.tpl 
            delete.tpl 
            list.tpl 
            manip.tpl 
            preference_colspan.tpl 
            preference_acl_row.tpl 
            preference_acl.tpl 
            config.tpl 
            preferences.tpl 
            thumbnails.tpl 
            view.tpl 

Log Message:
cvs clean up

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

<p>
        <center>
                <table border="0" width=30% cellpadding="2" cellspacing="2">
                        <tr>
                                <td align="center" bgcolor="{bg_color}"><font 
face="{font}"><b>
                                        <a 
href="{link_categories}">{lang_categories}</a>
                                        &nbsp;
                                        &nbsp;
                                        <a 
href="{link_notes}">{lang_notes}</a></b></font></td>
                        </tr>
                </table>
        </center>

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

<!-- BEGIN form -->

<center>
        <form action="{actionurl}" method="POST">
        {hidden_vars}
        <table border="0" width="60%" cellspacing="2" cellpadding="2">
                <tr>
                        <td align="center" bgcolor="#c9c9c9"><font 
face="{font}"><b>{lang_action}:&nbsp;{name}</b></font></td>
                </tr>
                <tr>
                        <td align="center"><font 
face="{font}">{message}</font></td>
                </tr>
                <tr>
                        <td align="center"><font face="{font}"><select 
name="new_cat"><option 
value="">{lang_choose}</option>{main_cat_list}</select></font></td>
                </tr>
                <tr>
                        <td align="center"><font face="{font}" 
size="{font_size}"><textarea cols="60" rows="10" name="note" 
wrap="virtual">{note}</textarea></font></td>
                </tr>
                <tr>
                        <td align="center"><font 
face="{font}">{lang_access}:</font>&nbsp;&nbsp;{access}</td>
                </tr>
        </table>

<!-- BEGIN add -->

        <table width="40%" border="0" cellspacing="2" cellpadding="2">
                <tr valign="bottom">
                        <td height="50" align="center">
                                {hidden_vars}
                                <font face="{font}"><input type="submit" 
name="addnote" value="{lang_add}"></font></td>
                        <td height="50" align="center">
                                <font face="{font}"><input type="reset" 
name="reset" value="{lang_reset}"></font></form></td>
                        <td height="50" align="center" valign="middle">
                                {hidden_vars}
                                <font face="{font}"><a 
href="{done_action}">{lang_done}</a></font></td>
                </tr>
        </table>
</center>

<!-- END add -->

<!-- BEGIN edit -->

        <table width="40%" border="0" cellspacing="2" cellpadding="2">
                <tr valign="bottom">
                        <td height="50" align="center">
                                {hidden_vars}
                                <font face="{font}"><input type="submit" 
name="editnote" value="{lang_edit}"></font>
                                </form></td>
                        <td height="50" align="center">
                                {hidden_vars}
                                <font face="{font}">{delete}</font></td>
                        <td height="50" align="center" valign="middle">
                                {hidden_vars}
                                <font face="{font}"><a 
href="{done_action}">{lang_done}</a></font></td>
                </tr>
        </table>
</center>

<!-- END edit -->

<!-- END form -->

====================================================
Index: edit.tpl
<!-- BEGIN header -->
<script language="JavaScript" TYPE="text/javascript">
  var phpgwimg;
  function openwindow(url,w,h)
  {
    if (phpgwimg)
    {
      if (phpgwimg.closed)
      {
        phpgwimg.stop;
        phpgwimg.close;
      }
    }
    phpgwimg = window.open(url, 
"phpgwimg","width="+w+",height="+h+",location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=yes,status=no");
    if (phpgwimg.opener == null)
    {
      phpgwimg.opener = window;
    }
  }
</script>
<center>
<form action="{actionurl}" method="POST" ENCTYPE="multipart/form-data">
<table border="0" width="640" cellspacing="2" cellpadding="2">
  <tr>
    <td align="center" bgcolor="#c9c9c9"><b>{title}:&nbsp;{name}</b></td>
  </tr>
  <tr>
    <td align="center">{message}</td>
  </tr>
  <tr>
   <td align="center"><select name="fcat_id"><option 
value="">{lang_category}</option>{category_list}</select></td>
  </tr>
</table>
<!-- END header -->

<!-- BEGIN form -->
<table border="0" width="640" cellspacing="2" cellpadding="2">
  <tr bgcolor="{row_on}">
    <td>{lang_img_name}</td>
    <td colspan="3"><input size="30" name="entry[img_name]" 
value="{img_name}"></td>
  </tr>
  <tr bgcolor="{row_off}">
    <td>{lang_img_title}</td>
    <td colspan="3"><input size="30" name="entry[img_title]" 
value="{img_title}"></td>
  </tr>
  <tr bgcolor="{row_on}">
    <td>{lang_img_des}</td>
    <td colspan="3"><textarea cols="50" rows="5" name="entry[img_des]" 
wrap="virtual">{img_des}</textarea></td>
  </tr>
  <tr bgcolor="{row_off}">
    <td>{lang_img_file}</td><td>{picture}&nbsp;{detailstr}</td><td 
colspan="2">{lang_img_thumb}&nbsp;&nbsp;{img_link}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_on}">
    <td>{lang_load_new}</td>
    <td colspan="3"><input name="img_file" TYPE="file" 
size="40">&nbsp;*.gif,*.jpg,*.png,*.bmp</td>
  </tr>
  <tr bgcolor="{row_off}">
    <td>{lang_img_access}&nbsp;</td>
    <td colspan="3">{img_access}&nbsp;</td>
  </tr>
</table>
<!-- END form -->

<!-- BEGIN add_footer -->
  <table width="40%" border="0" cellspacing="2" cellpadding="2">
    <tr valign="bottom">
      <td height="50" align="center"><input type="submit" name="submit" 
value="{lang_add}"></td>
      <td height="50" align="center"><input type="reset" name="reset" 
value="{lang_reset}"></form></td>
      <td height="50" align="center" valign="middle"><a 
href="{cancel_url}">{lang_cancel}</a></td>
    </tr>
  </table>
</center>
<!-- END add_footer -->

<!-- BEGIN edit_footer -->
  <table width="40%" border="0" cellspacing="2" cellpadding="2">
    <tr valign="bottom">
      <td height="50" align="center">
        <input type="hidden" name="entry[img_id]" value="{img_id}">
        <input type="submit" name="submit" value="{lang_edit}">
      </form></td>
      <td height="50" align="center">
      <form action="{editurl}" method="POST">
        <input type="hidden" name="picture" value="{picture}">
        <input type="hidden" name="img_id" value="{image_id}">
        <input type="submit" name="editimage" value="{lang_edit_image}">
      </form></td>
      <td height="50" align="center">{delete}</td>
      <td height="50" align="center" valign="middle"><a 
href="{cancel_url}">{lang_cancel}</a></td>
    </tr>
  </table>
</center>
<!-- END edit_footer -->

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

<br><br><br>

<center>
  <table border="0" width="50%" cellpadding="2" cellspacing="2">
    <form method="POST" action="{action_url}">
    <tr>
      <td align="center"><font face="{font}">{deleteheader}</font></td>
    </tr>
    <tr>
      <td>
        <table border="0" width="30%" align="center">
          <tr>
            <td align="center"><a href="{yeslink}">{lang_yes}</a></td>
            <td align="center"><a href="{nolink}">{lang_no}</a></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</center>

====================================================
Index: list.tpl
<!-- BEGIN header -->
<center>
  <table width="640" border="0" cellspacing="2" cellpadding="2">
    <tr>
      <td colspan="5" align="center" 
bgcolor="#c9c9c9"><b>{title}:&nbsp;{name}<b/></td>
    </tr>
    <tr>
      <td colspan="5" align=left>
        <table border="0" width="100%">
          <tr>
          {left}
          <td align="center">{search_message}&nbsp;</td>
          {right}
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
       <form action="{cat_action}" name="form" method="POST">
       {lang_category}&nbsp;&nbsp;<select name="fcat_id" 
onChange="this.form.submit();"><option 
value="">{lang_all}</option>{category_list}</select>
        <noscript>&nbsp;<input type="submit" name="submit" 
value="{lang_submit}"></noscript></form>
      </td>
      <td colspan="5" align="right">
        <form method="post" action={actionurl}>
        {hidden_vars}
        <input type="text" name="query" value="{query}">&nbsp;<input 
type="submit" name="submit" value="{lang_search}">
        </form></td>
    </tr>
    <tr bgcolor="{th_bg}">
      <td>{lang_name}</td>
      <td>{lang_title}</td>
      <td align="center">{lang_view}</a></td>
      <td align="center">{lang_edit}</a></td>
      <td align="center">{lang_delete}</a></td>
    </tr>
<!-- END header -->

<!-- BEGIN list_item -->
    <tr bgcolor="{tr_color}">
      <td>{img_name}&nbsp;</td>
      <td>{img_title}&nbsp;</td>
      <td align="center"><a href="{view}">{lang_view}</a></td>
      <td align="center"><a href="{edit}">{lang_edit}</a></td>
      <td align="center"><a href="{delete}">{lang_delete}</a></td>
    </tr>
<!-- END list_item -->

<!-- BEGIN footer -->
{rows}
    <tr valign="bottom">
      <td colspan="4"><form method="post" action="{addurl}">
        {hidden_vars}
        <input type="submit" name="add" value="{lang_add}"></form></td>
      <td><a href="{thumbnail_link}">{lang_thumbnail}</a></td>
    </tr>
  </table>
</center>
<!-- END footer -->

====================================================
Index: manip.tpl
<script language="JavaScript" TYPE="text/javascript">
  var phpgwimg;
  function openwindow(url,w,h)
  {
    if (phpgwimg)
    {
      if (phpgwimg.closed)
      {
        phpgwimg.stop;
        phpgwimg.close;
      }
    }
    phpgwimg = window.open(url, 
"phpgwimg","width="+w+",height="+h+",location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=yes,status=no");
    if (phpgwimg.opener == null)
    {
      phpgwimg.opener = window;
    }
  }
</script>
<center>
<table>
<tr>
<td>
 <form method="post" action="{actionurl}" ENCTYPE="multipart/form-data">
 <table>
  <tr>
   <td colspan="4">{message}&nbsp;</td>
  </tr>
  <tr>
   <td colspan="4">{lang_original}:&nbsp;{oldfile}&nbsp;</td>
  </tr>
  <tr>
  <tr>
   <td colspan="4">{lang_current}:&nbsp;{picfile}&nbsp;{detailstr}&nbsp;</td>
  </tr>

  <tr>
   <td><input type="hidden" name="oldfile"   value="{oldfile}"></td>
   <td><input type="hidden" name="picture"   value="{picfile}"></td>
   <td><input type="hidden" name="img_id"    value="{img_id}"></td>
   <td><input type="hidden" name="thumbnail" value="{thumb}"></td>
  </tr>

  <tr>
   <td colspan="3">{lang_load_new}:&nbsp;<input name="picturefile" TYPE="file" 
size="40">&nbsp;*.gif,*.jpg,*.png,*.bmp</td>
   <td>&nbsp;</td>
  </tr>

  <tr>
   <td>{lang_convert_to}:</td>
   <td>
    <select name="conTo">
{convert_rows}
    </select>
   </td>
   <td><input type="submit" name="convert" value="{lang_convert}"></td>
  </tr>

  <tr>
   <td>{lang_rotate}:</td>
   <td><select name="angle">
{rotate_rows}
    </select></td>
   <td><input type="submit" name="rotate" value="{lang_rotate}"></td>
  </tr>

  <tr>
   <td>{lang_resize}:</td>
   <td>{lang_target_width}&nbsp;<input name="dstW" 
size="6">&nbsp;{lang_target_height}&nbsp;<input name="dstH" size="6"></td>
   <td><input type="submit" name="resize" value="{lang_resize}"></td>
  </tr>

  <tr>
   <td colspan="2">&nbsp;</td>
   <td><input type="submit" name="save" value="{lang_save}"></td>
   </form>
  </tr>

  <tr>
   <form method="post" action="{cancelurl}">
   <td colspan="2">&nbsp;</td>
   <td><input type="submit" name="back" value="{lang_cancel}"></td>
   </form>
  </tr>

  <tr>
   <td colspan="4">{lang_thumb}:&nbsp;
    <a href="javascript:openwindow('{picurl}','{imgwidth}','{imgheight}')"><img 
src="{thumb}" border="1" align="middle" alt="{img_file} 
{detailstr}"></a>&nbsp;{detailstr}
   </td>
  </tr>

 </table>
</td>
</tr>
</table>
</center>

====================================================
Index: preference_colspan.tpl
<tr bgcolor="{bg_color}">
        <td>{string}</td>
        <td align="center">{lang_read}</td>
        <td align="center">{lang_add}</td>
        <td align="center">{lang_edit}</td>
        <td align="center">{lang_delete}</td>
        <td align="center">{lang_private}</td>
</tr>

====================================================
Index: preference_acl_row.tpl
<!-- $Id: preference_acl_row.tpl,v 1.1 2005/05/05 00:56:39 skwashd Exp $ -->
        <tr bgcolor="{row_color}">
                <td>{user}</td>
                <td align="center"><input type="checkbox" name="{read}" 
value="Y"{read_selected}></td>
                <td align="center"><input type="checkbox" name="{add}" 
value="Y"{add_selected}></td>
                <td align="center"><input type="checkbox" name="{edit}" 
value="Y"{edit_selected}></td>
                <td align="center"><input type="checkbox" name="{delete}" 
value="Y"{delete_selected}></td>
                <td align="center"><input type="checkbox" name="{private}" 
value="Y"{private_selected}></td>
        </tr>

====================================================
Index: preference_acl.tpl
{errors}
{title}
<table border="0" align="center" width="70%">
        <tr>
        {nml}
                <td width="40%">
                <div align="center">
                <form method="POST" action="{action_url}">
                {common_hidden_vars}
                <input type="text" name="query" value="{search_value}">
                <input type="submit" name="search" value="{search}">
                </form>
                </div>
                </td>
        {nmr}
        </tr>
</table>
<form method="POST" action="{action_url}">
<table border="0" align="center" width="50%">
        {row}
</table>
{common_hidden_vars_form}
<input type="hidden" name="processed" value="{processed}">
<center><input type="submit" name="submit" value="{submit_lang}"></center>
</form>

====================================================
Index: config.tpl
<!-- BEGIN header -->
<form method="POST" action="{action_url}">
<table border="0" align="center">
   <tr bgcolor="{th_bg}">
    <td colspan="2"><font color="{th_text}">&nbsp;<b>{title}</b></font></td>
   </tr>
<!-- END header -->
<!-- BEGIN body -->
   <tr bgcolor="{row_on}">
    <td colspan="2">&nbsp;</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td colspan="2">&nbsp;<b>{lang_img}</b></font></td>
   </tr>
   <tr bgcolor="{row_on}">
    <td>{lang_Convert_Command}:</td>
        <td><input name="newsettings[convert_cmd]" value="{value_convert_cmd}" 
size="30"></td>
   </tr>
   <tr bgcolor="{row_off}">
    <td>{lang_GD_Version}:</td>
        <td><input name="newsettings[gd_version]" value="{value_gd_version}" 
size="10"></td>
   </tr>
<!-- END body -->
<!-- BEGIN footer -->
  <tr bgcolor="{th_bg}">
    <td colspan="2">
&nbsp;
    </td>
  </tr>
  <tr>
    <td colspan="2" align="center">
      <input type="submit" name="submit" value="{lang_submit}">
      <input type="submit" name="cancel" value="{lang_cancel}">
    </td>
  </tr>
</table>
</form>
<!-- END footer -->

====================================================
Index: preferences.tpl
<!-- $Id: preferences.tpl,v 1.1 2005/05/05 00:56:39 skwashd Exp $ -->
<br><br>
<center>
        <form method="POST" name="prefs_form" action="{actionurl}">
        <table width="70%" border="0" cellspacing="2" cellpadding="2">
                <tr>
                        <td colspan="2" bgcolor="#c0c0c0" align="center"><font 
face="{font}"><b>{lang_action}</b></font></td>
                </tr>
                <tr>
                        <td align="right"><font 
face="{font}">{lang_select_font}:</font></td>
                        <td><font face="{font}" size="{font_size}"><select 
name="notes_font">{notes_font}</select></font></td>
                </tr>
                <tr>
                        <td align="right"><font 
face="{font}">{lang_select_size}:</font></td>
                        <td><font face="{font}" size="{font_size}"><select 
name="notes_font_size">{notes_font_size}</select></font></td>
                </tr>
                <tr valign="bottom">
                        <td height="50"><font face="{font}">
                        <input type="submit" name="submit" 
value="{lang_edit}"></font>
                        </form></td>
                        <td>&nbsp;</td>
                </tr>
        </table>
</center>

====================================================
Index: thumbnails.tpl
<!-- BEGIN header -->
<center>
  <table width="640" border="0" cellspacing="2" cellpadding="2">
    <tr>
      <td colspan="5" align="center" 
bgcolor="#c9c9c9"><b>{title}:&nbsp;{name}<b/></td>
    </tr>
    <tr>
      <td colspan="5" align=left>
        <table border="0" width="100%">
          <tr>
          {left}
          <td align="center">{search_message}&nbsp;</td>
          {right}
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
       <form action="{cat_action}" name="form" method="POST">
       {lang_category}&nbsp;&nbsp;<select name="fcat_id" 
onChange="this.form.submit();"><option 
value="">{lang_all}</option>{category_list}</select>
        <noscript>&nbsp;<input type="submit" name="submit" 
value="{lang_submit}"></noscript></form>
      </td>
      <td colspan="5" align="right">
        <form method="post" action={actionurl}>
        {hidden_vars}
        <input type="text" name="query" value="{query}">&nbsp;<input 
type="submit" name="submit" value="{lang_search}">
        </form></td>
    </tr>
<!-- END header -->

<!-- BEGIN col -->
<td valign="top"><a href="{view}"><img src="{img_thumb}" 
alt="{img_name}"></a></td>
<!-- END col -->

<!-- BEGIN row -->
 <tr>
 {cols}
 </tr>
<!-- END row -->

<!-- BEGIN footer -->
{rows}
    <tr valign="bottom">
      <td colspan="4"><form method="post" action="{addurl}">
        {hidden_vars}
        <input type="submit" name="add" value="{lang_add}"></form></td>
      <td><a href="{list_link}">{lang_list}</a></td>
    </tr>
  </table>
</center>
<!-- END footer -->

====================================================
Index: view.tpl
<!-- BEGIN header -->
<script language="JavaScript" TYPE="text/javascript">
  var phpgwimg;
  function openwindow(url,w,h)
  {
    if (phpgwimg)
    {
      if (phpgwimg.closed)
      {
        phpgwimg.stop;
        phpgwimg.close;
      }
    }
    phpgwimg = window.open(url, 
"phpgwimg","width="+w+",height="+h+",location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=yes,status=no");
    if (phpgwimg.opener == null)
    {
      phpgwimg.opener = window;
    }
  }
</script>
<center>
<table border="0" width="640" cellspacing="2" cellpadding="2">
  <tr>
    <td align="center" bgcolor="#c9c9c9"><b>{title}:&nbsp;{name}</b></td>
  </tr>
</table>
<table border="0" width="640" cellspacing="0" cellpadding="0">
<!-- END header -->

<!-- BEGIN form -->
  <tr bgcolor="{row_on}">
    <td>{lang_img_owner}:</td><td colspan="2">{img_owner}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_off}">
    <td>{lang_img_name}:</td><td colspan="2">{img_name}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_on}">
    <td>{lang_img_title}:</td><td colspan="2">{img_title}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_off}">
   <td>{lang_img_cat}:</td><td colspan="2">{img_cat}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_on}">
   <td>{lang_img_des}:</td><td colspan="2">{img_des}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_off}">
          <td>{lang_img_file}:</td><td colspan="2">{img_file}&nbsp;</td>
  </tr>
  <tr bgcolor="{row_on}">
   <td>{lang_img_thumb}:</td><td colspan="2"><a 
href="javascript:openwindow('{imglink}','{imgwidth}','{imgheight}')"><img 
src="{img_thumb}" border="1" align="middle">&nbsp;</a></td>
  </tr>
<!-- END form -->

<!-- BEGIN footer -->
  <tr valign="bottom">
   <td colspan="3" align="center">
  <form method="post" action="{actionurl}">
    <input type="hidden" name="img_id" value="{img_id}">
    <input type="submit" name="edit" value="{lang_edit}">&nbsp;
  </form>
  <form method="post" action="{cancel_url}">
    <input type="submit" name="cancel" value="{lang_cancel}">
   </td>
  </tr>
  </form>
</table>
</center>
<!-- END footer -->






reply via email to

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