-1, 'text' => TEXT_INFO_SELECT_FILE);
for ($i = 0, $n = sizeof($directory_files); $i < $n; $i++) {
$za_lookup[] = array('id' => $i, 'text' => $directory_files[$i]);
}
echo zen_draw_form('new_page', FILENAME_DEFINE_PAGES_EDITOR, '', 'get') . ' ' . zen_draw_pull_down_menu('define_it', $za_lookup, '-1', 'onChange="this.form.submit();"') .
zen_hide_session_id() .
zen_draw_hidden_field('action', 'new_page') . ' ';
?>
';
?>
|
reset();
$messageStack->add(sprintf(ERROR_FILE_NOT_WRITEABLE, $file), 'error');
echo $messageStack->output();
}
?>
' . TEXT_INFO_EDITING . ' ' . $file . ' '; ?> |
Value = $file_contents ;
$oFCKeditor->Width = '700' ;
$oFCKeditor->Height = '450' ;
// $oFCKeditor->Create() ;
$output = $oFCKeditor->CreateHtml() ; echo $output;
} else { // using HTMLAREA or just raw "source"
echo zen_draw_textarea_field('file_contents', 'soft', '100%', '30', $file_contents, (($file_writeable) ? '' : 'readonly') . ' id="file_contents"');
} ?>
|
|
' . zen_image_button('button_reset.gif', IMAGE_RESET) . '' . ' ' . '' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . ''; } else { echo '' . zen_image_button('button_back.gif', IMAGE_BACK) . ''; } ?> |
|
|
|
' . zen_image_button('button_back.gif', IMAGE_BACK) . ''; ?> |
|
read()) {
if (substr($file, strrpos($file, '.')) == $file_extension) {
echo ' ' . $file . ' | ' . "\n";
if (!$left) {
echo ' ' . "\n" .
' ' . "\n";
}
$left = !$left;
}
}
$dir->close();
}
?>
|
|
|