Ejemplo n.º 1
0
<?php

if (!defined('KIRBY')) {
    die('Direct access is not allowed');
}
if ($panel->action != 'edit-file') {
    return;
}
$action = action::editFile();
$file = data::fileByFilename();
$form = new fileform($settings, $file);
if (!$file) {
    go(showurl('files'));
}
?>
<div class="overlay edit-file">

  <form method="post">

    <?php 
growl($action);
?>

    <fieldset>
      <h3><?php 
echo l::get('files.edit.title');
?>
</h3>
      
      <div class="field">
        <label><?php