[slbackup-commit] CVS update: slbackup-php/templates restore.tpl

finnarne-guest at alioth.debian.org finnarne-guest at alioth.debian.org
Fri Apr 20 06:24:49 UTC 2007


  User: finnarne-guest
  Date: 07/04/20 06:24:49

  Modified:    templates restore.tpl
  Log:
  Now it's possible to browse through deleted folders, and at list show, but not recover, deleted files
  
  Revision  Changes    Path
  1.8       +6 -0      slbackup-php/templates/restore.tpl
  
  Index: restore.tpl
  ===================================================================
  RCS file: /cvsroot/slbackup/slbackup-php/templates/restore.tpl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- restore.tpl	18 Apr 2007 12:00:29 -0000	1.7
  +++ restore.tpl	20 Apr 2007 06:24:49 -0000	1.8
  @@ -36,11 +36,17 @@
   	        <IMG SRC="/icons/back.gif" alt="[DIR]">
   	    {elseif $dir.type == "dir"}
   	        <IMG SRC="/icons/folder.gif" alt="[DIR]">
  +	    {elseif $dir.type == "deldir"}
  +	        <IMG SRC="/icons/folder.gif" alt="[DIR]">
   	    {else}
   	        <IMG SRC="/icons/unknown.gif" alt="[   ]">
   	    {/if}    
   	    {if $dir.type == "file"}
   		<A HREF=index.php?restorefile&client={$client}&file={$dir.sub}&location={$location}>{$dir.name}</A>
  +	    {elseif $dir.type == "delfile"}
  +		<A HREF=index.php?restorefile&client={$client}&file={$dir.sub}&location={$location}>{$dir.name}(deleted)</A>
  +	    {elseif $dir.type == deldir}
  +		<A HREF=index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name} ({t}Deleted{/t})</A>
   	    {else}
   		<A HREF=index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name}</A>
   	    {/if}    
  
  
  



More information about the slbackup-commit mailing list