2007-10-10 19:15:47 +04:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* This file is part of Web Instant Messenger project.
|
|
|
|
*
|
2008-05-05 20:57:46 +04:00
|
|
|
* Copyright (c) 2005-2008 Internet Services Ltd.
|
2007-10-10 19:15:47 +04:00
|
|
|
* All rights reserved. This program and the accompanying materials
|
|
|
|
* are made available under the terms of the Eclipse Public License v1.0
|
|
|
|
* which accompanies this distribution, and is available at
|
|
|
|
* http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
*
|
|
|
|
* Contributors:
|
|
|
|
* Evgeny Gryaznov - initial API and implementation
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-30 15:13:04 +03:00
|
|
|
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $webimroot ?>/styles.css" />
|
2007-10-10 19:15:47 +04:00
|
|
|
|
|
|
|
|
2007-10-30 15:13:04 +03:00
|
|
|
<link rel="shortcut icon" href="<?php echo $webimroot ?>/images/favicon.ico" type="image/x-icon"/>
|
2007-10-10 19:15:47 +04:00
|
|
|
<title>
|
2008-05-06 15:08:21 +04:00
|
|
|
<?php echo getlocal("app.title") ?> - <?php echo getlocal("page.gen_button.title") ?>
|
2007-10-10 19:15:47 +04:00
|
|
|
</title>
|
|
|
|
|
2008-05-06 15:08:21 +04:00
|
|
|
<meta http-equiv="keywords" content="<?php echo getlocal("page.main_layout.meta_keyword") ?>">
|
|
|
|
<meta http-equiv="description" content="<?php echo getlocal("page.main_layout.meta_description") ?>">
|
2007-10-10 19:15:47 +04:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body bgcolor="#FFFFFF" text="#000000" link="#2971C1" vlink="#2971C1" alink="#2971C1">
|
|
|
|
|
|
|
|
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td valign="top" class="text">
|
|
|
|
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="left" valign="top">
|
2008-05-06 15:08:21 +04:00
|
|
|
<h1><?php echo getlocal("page.gen_button.title") ?></h1>
|
|
|
|
</td><td align="right" class="text" valign="top"><table cellspacing="0" cellpadding="0" border="0"><tr><td class="textform"><?php echo getlocal2("menu.operator",array($page['operator'])) ?></td><td class="textform"><img src='<?php echo $webimroot ?>/images/topdiv.gif' width="25" height="15" border="0" alt="|" /></td><td class="textform"><a href="<?php echo $webimroot ?>/operator/index.php" title="<?php echo getlocal("menu.main") ?>"><?php echo getlocal("menu.main") ?></a></td></tr></table></td></tr></table>
|
2007-10-10 19:15:47 +04:00
|
|
|
|
|
|
|
|
2008-05-06 15:08:21 +04:00
|
|
|
<?php echo getlocal("page.gen_button.intro") ?>
|
2007-10-10 19:15:47 +04:00
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
|
2007-10-30 15:13:04 +03:00
|
|
|
<form name="buttonCodeForm" method="get" action="<?php echo $webimroot ?>/operator/getcode.php">
|
|
|
|
<table cellspacing='0' cellpadding='0' border='0'><tr><td background='<?php echo $webimroot ?>/images/loginbg.gif'><table cellspacing='0' cellpadding='0' border='0'><tr><td><img src='<?php echo $webimroot ?>/images/logincrnlt.gif' width='16' height='16' border='0' alt=''></td><td></td><td><img src='<?php echo $webimroot ?>/images/logincrnrt.gif' width='16' height='16' border='0' alt=''></td></tr><tr><td></td><td align='center'><table border='0' cellspacing='0' cellpadding='0'>
|
2007-10-10 19:15:47 +04:00
|
|
|
<tr>
|
2008-05-06 15:08:21 +04:00
|
|
|
<td colspan="3" class="formauth"><?php echo getlocal("page.gen_button.choose_image") ?></td>
|
2007-10-10 19:15:47 +04:00
|
|
|
</tr>
|
|
|
|
<tr><td colspan="3" height="2"></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="3">
|
|
|
|
<select name="image" onchange="this.form.submit();"><?php foreach($page['availableImages'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("image") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr><td colspan="3" height="5"></td></tr>
|
|
|
|
<tr>
|
2008-05-06 15:08:21 +04:00
|
|
|
<td colspan="3" class="formauth"><?php echo getlocal("page.gen_button.choose_locale") ?></td>
|
2007-10-10 19:15:47 +04:00
|
|
|
</tr>
|
|
|
|
<tr><td colspan="3" height="2"></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="3">
|
|
|
|
<select name="lang" onchange="this.form.submit();"><?php foreach($page['availableLocales'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("lang") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr><td colspan="3" height="5"></td></tr>
|
|
|
|
<tr>
|
2008-05-06 15:08:21 +04:00
|
|
|
<td colspan="3" class="formauth"><?php echo getlocal("page.gen_button.include_site_name") ?></td>
|
2007-10-10 19:15:47 +04:00
|
|
|
</tr>
|
|
|
|
<tr><td colspan="3" height="2"></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="3">
|
|
|
|
<input type="checkbox" name="hostname" value="on"<?php echo form_value_cb('hostname') ? " checked=\"checked\"" : "" ?> onchange="this.form.submit();"/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php if( $page['formhostname'] ) { ?>
|
|
|
|
<tr><td colspan="3" height="5"></td></tr>
|
|
|
|
<tr>
|
2008-05-06 15:08:21 +04:00
|
|
|
<td colspan="3" class="formauth"><?php echo getlocal("page.gen_button.secure_links") ?></td>
|
2007-10-10 19:15:47 +04:00
|
|
|
</tr>
|
|
|
|
<tr><td colspan="3" height="2"></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="3">
|
|
|
|
<input type="checkbox" name="secure" value="on"<?php echo form_value_cb('secure') ? " checked=\"checked\"" : "" ?> onchange="this.form.submit();"/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php } ?>
|
|
|
|
<tr><td colspan="3" height="5"></td></tr>
|
|
|
|
<tr>
|
2008-05-06 15:08:21 +04:00
|
|
|
<td class="formauth"><?php echo getlocal("page.gen_button.code") ?></td>
|
2007-10-30 15:13:04 +03:00
|
|
|
<td width="10"><img src="<?php echo $webimroot ?>/images/free.gif" width="10" height="1" border="0" alt=""></td>
|
2007-10-10 19:15:47 +04:00
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
<tr><td colspan="3" height="2"></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td><textarea cols="60" rows="15"><?php echo $page['buttonCode'] ?></textarea></td>
|
|
|
|
<td></td>
|
2008-05-06 15:08:21 +04:00
|
|
|
<td class="formauth" valign="top" nowrap><span class="formdescr"><?php echo getlocal("page.gen_button.code.description") ?></span></td>
|
2007-10-10 19:15:47 +04:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="3" height="10"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2008-05-06 15:08:21 +04:00
|
|
|
<td class="formauth"><?php echo getlocal("page.gen_button.sample") ?></td>
|
2007-10-10 19:15:47 +04:00
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="3" height="2"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><?php echo $page['buttonCode'] ?></td>
|
|
|
|
<td></td>
|
|
|
|
<td class="formauth" valign="top" nowrap><span class="formdescr"></span></td>
|
|
|
|
</tr>
|
2007-10-30 15:13:04 +03:00
|
|
|
</table></td><td></td></tr><tr><td><img src='<?php echo $webimroot ?>/images/logincrnlb.gif' width='16' height='16' border='0' alt=''></td><td></td><td><img src='<?php echo $webimroot ?>/images/logincrnrb.gif' width='16' height='16' border='0' alt=''></td></tr></table></td></tr></table>
|
2007-10-10 19:15:47 +04:00
|
|
|
</form>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|