4 files modified
1 files added
| | |
| | | $this->tpl->setVar('theme',$_SESSION["s"]["theme"]);
|
| | | $this->tpl->setVar('phpsessid',session_id());
|
| | | $this->tpl->setVar('html_content_encoding',$conf["html_content_encoding"]);
|
| | | if($conf["logo"] != '' && @is_file($conf["logo"])){
|
| | | $this->tpl->setVar('logo', '<img src="'.$conf["logo"].'" border="0" alt="">');
|
| | | } else {
|
| | | $this->tpl->setVar('logo', ' ');
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | |
| | |
|
| | | $conf["theme"] = 'default';
|
| | | $conf["html_content_encoding"] = 'text/html; charset=iso-8859-1';
|
| | | $conf["logo"] = 'themes/default/images/mydns_config_logo.png';
|
| | |
|
| | | /*
|
| | | Default Language
|
| | |
| | | function onSubmit() {
|
| | | global $app, $conf;
|
| | |
|
| | | if($app->tform->getCurrentTab() == 'rr'){
|
| | | parent::onSubmit();
|
| | | return true;
|
| | | }
|
| | |
|
| | | if($this->dataRecord['id'] > 0){
|
| | | if(!$app->tform->checkPerm($this->dataRecord['id'],'u')) $app->error($app->tform->wordbook['error_no_permission']);
|
| | | } else {
|
| | |
| | | <body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onload="breakout()">
|
| | | <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
|
| | | <tr bgcolor="#496FA8">
|
| | | <td height="30" colspan="2" align="center" valign="top" background="themes/{tmpl_var name="theme"}/images/bg_nav_1.jpg"> </td>
|
| | | <td height="30" colspan="2" align="right" valign="top" background="themes/{tmpl_var name="theme"}/images/bg_nav_1.jpg"><tmpl_var name="logo"></td>
|
| | | </tr>
|
| | | <tr bgcolor="#FFFFFF">
|
| | | <td height="1" colspan="2" align="center" valign="bottom"><img src="themes/{tmpl_var name="theme"}/images/x.gif" width="1" height="1"></td>
|