信呼v2.5.3版本
This commit is contained in:
@@ -3,10 +3,15 @@ class indexClassAction extends Action{
|
||||
|
||||
public $homestylebool = false;
|
||||
|
||||
|
||||
|
||||
public function defaultAction()
|
||||
{
|
||||
if(strlen(getconfig('randkey'))!=26)exit('配置文件randkey不正确,请重新设置为:'.$this->jm->getRandkey().'');
|
||||
|
||||
$notuserids = getconfig('notuserids');
|
||||
$this->pannouser();
|
||||
|
||||
$homestyle = getconfig('homestyle');
|
||||
if($homestyle>=1 && !$this->homestylebool){
|
||||
$temshot = $this->getsession('homestyle');
|
||||
@@ -247,6 +252,7 @@ class indexClassAction extends Action{
|
||||
*/
|
||||
public function getshtmlAction()
|
||||
{
|
||||
$this->pannouser();
|
||||
$surl = $this->jm->base64decode($this->get('surl'));
|
||||
$num = $this->get('num');
|
||||
$menuname = $this->jm->base64decode($this->get('menuname'));
|
||||
|
||||
@@ -90,6 +90,15 @@ function initbody(){
|
||||
history.pushState(null, null, document.URL);
|
||||
});
|
||||
}catch(e){}
|
||||
|
||||
/*
|
||||
var o1 = $('#index-navbar-center');
|
||||
var hei = $('#index-navbar-left').width()+$('#index-navbar-right').width();
|
||||
var wid = winWb()-hei;
|
||||
if(o1.width()>wid){
|
||||
o1.css({width:''+(wid-30)+'px',height:''+$('#index-navbar-right').height()+'px'});
|
||||
$('#index-navbar-right').prepend('<li><a href="javascript:;" onclick="openmobile()"><i class="icon-chevron-down"></i></a></li>');
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ echo 'body{--main-color:'.$maincolor.'}';
|
||||
<div id="topheaderid">
|
||||
<nav class="navbar navbar-<?=$da['styledev']?> navbar-static-top" id="navtopheader" style="margin:0px;z-index:0">
|
||||
<div>
|
||||
<div class="navbar-header">
|
||||
<div class="navbar-header" id="index-navbar-left">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse">
|
||||
<span class="sr-only">Toggle</span>
|
||||
<span class="icon-bar"></span>
|
||||
@@ -67,7 +67,7 @@ echo 'body{--main-color:'.$maincolor.'}';
|
||||
</a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse" id="app-navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<ul class="nav navbar-nav" id="index-navbar-center" style="overflow:hidden;">
|
||||
<?php foreach($da['topmenu'] as $k=>$rs){
|
||||
$str = '<li pmenuid="'.$rs['id'].'" title="'.$rs['name'].'" icon="'.$rs['icons'].'"><a>';
|
||||
if($rs['icons'])$str.='<i class="icon-'.$rs['icons'].'"></i> ';
|
||||
@@ -76,7 +76,7 @@ echo 'body{--main-color:'.$maincolor.'}';
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<ul class="nav navbar-nav navbar-right" id="index-navbar-right">
|
||||
<?php
|
||||
if(getconfig('mobile_show',true))echo '<li><a href="javascript:;" onclick="openmobile()"><i class="icon-tablet"></i> 手机版</a></li>';
|
||||
if(getconfig('reim_show', true))echo '<li><a href="javascript:;" onclick="openreim(this)"><span title="REIM即时通信"><i class="icon-comments-alt"></i> REIM <font class="badge red" id="reim_stotal" style="font-size:12px;background:red;color:white"></font></span></a></li>';
|
||||
|
||||
Reference in New Issue
Block a user