Changeset 2914 for alternc/trunk/bureau/admin/bro_main.php
- Timestamp:
- 03/28/11 14:00:33 (2 years ago)
- File:
-
- 1 edited
-
alternc/trunk/bureau/admin/bro_main.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/admin/bro_main.php
r2900 r2914 66 66 $p=$bro->GetPrefs(); 67 67 if ($p["createfile"]==1) { 68 $ file=$nomfich;68 $editfile=$nomfich; 69 69 include("bro_editor.php"); 70 70 exit(); … … 86 86 <input type="hidden" name="R" value="<?php echo $R?>" /> 87 87 <p class="error"><?php __("WARNING: Confirm the deletion of this files"); ?></p> 88 <?php foreach($_REQUEST["d"] as $ file){ ?>89 <p><?php echo stripslashes($ file); ?></p>90 <input type="hidden" name="d[]" value="<?php echo htmlentities(stripslashes($ file)); ?>" />88 <?php foreach($_REQUEST["d"] as $editfile){ ?> 89 <p><?php echo stripslashes($editfile); ?></p> 90 <input type="hidden" name="d[]" value="<?php echo htmlentities(stripslashes($editfile)); ?>" /> 91 91 <?php } ?> 92 92 <blockquote> … … 323 323 } 324 324 echo "<td><a href=\""; 325 echo "bro_editor.php? file=".urlencode($c[$i]["name"])."&R=".urlencode($R);325 echo "bro_editor.php?editfile=".urlencode($c[$i]["name"])."&R=".urlencode($R); 326 326 echo "\">".htmlentities($c[$i]["name"])."</a></td>\n"; 327 327 echo " <td>".format_size($c[$i]["size"])."</td>"; … … 377 377 if ($c[$i]["type"]) { 378 378 echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td><td><a href=\""; 379 echo "bro_editor.php? file=".urlencode($c[$i]["name"])."&R=".urlencode($R);379 echo "bro_editor.php?editfile=".urlencode($c[$i]["name"])."&R=".urlencode($R); 380 380 echo "\">".htmlentities($c[$i]["name"])."</a></td>\n"; 381 381 echo " <td>".format_size($c[$i]["size"])."</td><td>"; … … 407 407 if ($c[$i]["type"]) { 408 408 echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\""; 409 echo "bro_editor.php? file=".urlencode($c[$i]["name"])."&R=".urlencode($R);409 echo "bro_editor.php?editfile=".urlencode($c[$i]["name"])."&R=".urlencode($R); 410 410 echo "\">".htmlentities($c[$i]["name"])."</a></td>\n"; 411 411 echo " <td>".format_size($c[$i]["size"])."</td><td>"; … … 444 444 if ($c[$i]["type"]) { 445 445 echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\""; 446 echo "bro_editor.php? file=".urlencode($c[$i]["name"])."&R=".urlencode($R);446 echo "bro_editor.php?editfile=".urlencode($c[$i]["name"])."&R=".urlencode($R); 447 447 echo "\">".htmlentities($c[$i]["name"])."</a></td>\n"; 448 448 echo " <td>".format_size($c[$i]["size"])."</td><td>"; … … 474 474 if ($c[$i]["type"]) { 475 475 echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\""; 476 echo "bro_editor.php? file=".urlencode($c[$i]["name"])."&R=".urlencode($R);476 echo "bro_editor.php?editfile=".urlencode($c[$i]["name"])."&R=".urlencode($R); 477 477 echo "\">".htmlentities($c[$i]["name"])."</a></td>\n"; 478 478 echo " <td>".format_size($c[$i]["size"])."</td><td>"; … … 505 505 if ($c[$i]["type"]) { 506 506 echo " <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\""; 507 echo "bro_editor.php? file=".urlencode($c[$i]["name"])."&R=".urlencode($R);507 echo "bro_editor.php?editfile=".urlencode($c[$i]["name"])."&R=".urlencode($R); 508 508 echo "\">".htmlentities($c[$i]["name"])."</a></td>\n"; 509 509 echo " <td>".format_size($c[$i]["size"])."</td><td>";
Note: See TracChangeset
for help on using the changeset viewer.
