Редакция 279 | Редакция 286 | К новейшей редакции | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 279 | Редакция 282 | ||
---|---|---|---|
Строка 41... | Строка 41... | ||
41 | break; |
41 | break; |
42 | }
|
42 | }
|
43 | 43 | ||
44 | $header = "<div id='head'><div class='title'>".$core->getSetting('codename',$db)." Admin Panel</div><div class='smalltitle'>version: ".$core->getSetting('version',$db)."</div></div>"; |
44 | $header = "<div id='head'><div class='title'>".$core->getSetting('codename',$db)." Admin Panel</div><div class='smalltitle'>version: ".$core->getSetting('version',$db)."</div></div>"; |
45 | 45 | ||
46 | $login = "<div id='login'>"._("You are logged as").": <b>admin</b> <a class='dashed' href='./signout.php' style='color:red;'>["._("exit")."]</a></div>"; |
46 | $login = "<div id='login'>"._("You are logged as").": <b>".$login."</b> <a class='dashed' href='./signout.php' style='color:red;'>["._("exit")."]</a></div>"; |
47 | 47 | ||
48 | 48 | ||
49 | $menu_title = array ( _("Management"), _("References"), _("Preferences") ); |
49 | $menu_title = array ( _("Management"), _("References"), _("Preferences") ); |
50 | $menu_item = array ( |
50 | $menu_item = array ( |
51 | 1 => array ( "title" => $menu_title[1], "item" => _("Distributives") ), |
51 | 1 => array ( "title" => $menu_title[1], "item" => _("Distributives") ), |
Строка 893... | Строка 893... | ||
893 | // Управление темами
|
893 | // Управление темами
|
894 | $display = "<div class='modulename'>".$menu_item[$mode]["title"]." :: <a href='admin.php?mode=".$mode."'>".$menu_item[$mode]["item"]."</a></div>"; |
894 | $display = "<div class='modulename'>".$menu_item[$mode]["title"]." :: <a href='admin.php?mode=".$mode."'>".$menu_item[$mode]["item"]."</a></div>"; |
895 | if (isset($_GET['chtheme'])){ |
895 | if (isset($_GET['chtheme'])){ |
896 | $chtheme = $secure->wrapStr($_GET["chtheme"]); |
896 | $chtheme = $secure->wrapStr($_GET["chtheme"]); |
897 | $chicon = $secure->wrapStr($_GET["chicon"]); |
897 | $chicon = $secure->wrapStr($_GET["chicon"]); |
898 | $theme->SetTheme($chtheme,$db); |
898 | $theme->setTheme($chtheme,$chicon,$db); |
899 | $theme->setIcon($chicon,$db); |
- | |
900 | $display.='<p style="color:red;">Тема измененна</p>'; |
899 | $display.='<p style="color:red;">Тема измененна</p>'; |
901 | }
|
900 | }
|
902 | $themename = $theme->getThemeName($core,$db); |
901 | $themename = $theme->getThemeName($core,$db); |
903 | $iconsname = $theme->getIconSetName($core,$db); |
902 | $iconsname = $theme->getIconSetName($core,$db); |
904 | 903 |