Navigation entre la gestion des répertoires protégé et le browser
This commit is contained in:
		
							parent
							
								
									78c9d1494b
								
							
						
					
					
						commit
						2dc053e569
					
				| 
						 | 
				
			
			@ -95,7 +95,7 @@ for($i=0;$i<count($r);$i++){
 | 
			
		|||
    <table class="tedit">
 | 
			
		||||
      <tr>
 | 
			
		||||
        <th><input type="hidden" name="dir" value="<?php echo $dir ?>" /><?php __("Folder"); ?></th>
 | 
			
		||||
        <td><code><?php echo $dir; ?></code></td>
 | 
			
		||||
        <td><?php echo '<a href="bro_main.php?R='.urlencode($dir).'">'.htmlspecialchars($dir).'</a>'; ?></td>
 | 
			
		||||
      </tr>
 | 
			
		||||
      <tr>
 | 
			
		||||
        <th><label for="user"><?php __("Username"); ?></label></th>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -79,7 +79,7 @@ for($i=0;$i<count($r);$i++){
 | 
			
		|||
		<td>
 | 
			
		||||
<div class="ina"><a href="hta_edit.php?dir=<?php echo $r[$i]?>"><img src="icon/encrypted.png" alt="<?php __("Edit login and passwords"); ?>" /><?php __("Edit login and passwords"); ?></a></div>
 | 
			
		||||
</td>
 | 
			
		||||
		<td><code><?php echo "$r[$i]"?></code></td>
 | 
			
		||||
		<td><?php echo '<a href="bro_main.php?R='.urlencode($r[$i]).'">'.htmlspecialchars($r[$i]).'</a>'; ?></td>
 | 
			
		||||
	</tr>
 | 
			
		||||
    <?php
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -129,7 +129,7 @@ class m_hta {
 | 
			
		|||
    $pattern="/^".preg_quote(ALTERNC_HTML,"/")."\/.\/[^\/]*\/(.*)\/\.htpasswd/";
 | 
			
		||||
      for($i=0;$i<count($sortie);$i++){
 | 
			
		||||
      preg_match($pattern,$sortie[$i],$matches);
 | 
			
		||||
      $tmpm=isset($matches[1])?$matches[1]:'';
 | 
			
		||||
      $tmpm=isset($matches[1])?'/'.$matches[1]:'';
 | 
			
		||||
      $r[$i]=$tmpm."/";
 | 
			
		||||
    }
 | 
			
		||||
    return $r;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue