예제 #1
0
function CheckForPopupRegistration()
{
    SavePopup(GetHiddenVar(POPUP_NAME_ID));
}
예제 #2
0
파일: about.php 프로젝트: kanbang/Colt
//  General Public License as published by the Free Software Foundation.
//
//  This library is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//  Lesser General Public License for more details.
//
//  You should have received a copy of the GNU Lesser General Public
//  License along with this library; if not, write to the Free Software
//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
//
try {
    include 'resizableadmin.php';
    LoadSessionVars();
    // Register this popup
    SavePopup('AdminAboutBox');
    // Define Local values
    $pageTitle = "About";
    $serverVersion = "?.?";
    $appVersion = SITE_ADMINISTRATOR_VERSION;
    $errorMsg = "";
    // Get Server
    $selectedServerID = "Server";
    $site = new MgSite();
    $site->Open($userInfo);
    $siteServerAddress = $site->GetCurrentSiteAddress();
    GetServerSelection($selectedServerID, $selectedServer);
    $serverRec = GetDataForServer($selectedServer);
    if ($serverRec == NULL) {
        throw new Exception(sprintf($errNotFound, $selectedServer));
    }