Exemplo n.º 1
0
    echo $fname;
    ?>
</a></td>
			<td>
			<!-- for later: 
				  onclick="window.frames['<?php 
    echo $fname;
    ?>
']
				  .location='<?php 
    echo $fname;
    ?>
'; return false;"
			  -->
			<a href='<?php 
    echo $state->getToggleQuery('sources', $i) . '#' . $rowId . "'>";
    echo "src";
    echo "</a><pre ";
    echo $hasSource ? ">" : " style='display:none'>";
    echo htmlspecialchars(file_get_contents($fname));
    ?>
				</pre>
		    </td>
			<td>
		
			<?php 
    if (file_exists($classFilename)) {
        echo "<a href='" . $state->getToggleQuery('class', $i) . '#' . $rowId . "'>";
        echo $hasClass ? "{$classFilename}" : "class";
        echo "</a><pre ";
        echo $hasClass ? ">" : " style='display:none'>";
Exemplo n.º 2
0
    echo $fname;
    ?>
'>new tab</a></td>
			<td>
			<!-- for later: 
				  onclick="window.frames['<?php 
    echo $fname;
    ?>
']
				  .location='<?php 
    echo $fname;
    ?>
'; return false;"
			  -->
			<a href='<?php 
    echo $state->getToggleQuery('sources', $i) . '#' . $rowId . "'>";
    echo $hasSource ? "hide src" : "show src";
    echo "</a><pre ";
    echo $hasSource ? ">" : " style='display:none'>";
    echo htmlspecialchars(file_get_contents($fname));
    ?>
				</pre>
		    </td>
			<td>
				<a href='<?php 
    echo $state->getToggleQuery('iframes', $i) . '#' . $rowId . "'>";
    echo $iframe ? "hide" : "show";
    echo "</a>";
    if ($iframe) {
        ?>
					<form action="<?php