Exemple #1
0
 function Editor_EditForm($formname = '')
 {
     $this->Editor_ExecAction($formname);
     editor_draw_menu($this->GetClassName());
     $f = editor_get_function($this->GetClassName());
     if ($f != '') {
         $this->{$f}($formname);
     }
 }
Exemple #2
0
<?php

/**
 * Gate - Wiki engine and web-interface for WebTester Server
 *
 * Service edtitor form
 *
 * Copyright (c) 2008-2009 Sergey I. Sharybin <*****@*****.**>
 *
 * This program can be distributed under the terms of the GNU GPL.
 * See the file COPYING.
 */
if ($PHP_SELF != '') {
    print 'HACKERS?';
    die;
}
global $id;
$c = manage_spawn_service($id);
print '<div id="snavigator"><a href=".">Сервисы</a>' . $c->GetName() . '</div>';
editor_draw_menu();
$c->Editor_ManageEditForm();