chenl
2018-12-18 68f970d2bb50efaded07720b9a0fc41db8882adf
data/tpl/web/default/user/login.tpl.php
@@ -1,11 +1,13 @@
<?php defined('IN_IA') or exit('Access Denied');?><?php (!empty($this) && $this instanceof WeModuleSite || 0) ? (include $this->template('common/header-base', TEMPLATE_INCLUDEPATH)) : (include template('common/header-base', TEMPLATE_INCLUDEPATH));?>
<div class="system-login" <?php  if(!empty($_W['setting']['copyright']['background_img']) && function_exists('to_global_media')) { ?> style="background-image:url('<?php  echo to_global_media($_W['setting']['copyright']['background_img']);?>')" <?php  } else { ?> style="background-image: url('./resource/images/bg-login.png');" <?php  } ?>>
<div class="system-login" <?php  if(!empty($_W['setting']['copyright']['background_img']) && function_exists('to_global_media')) { ?> style="background-image:url('<?php  echo to_global_media($_W['setting']['copyright']['background_img']);?>')" <?php  } else { ?> style="background-image: url('./resource/images/bg-login5.png');" height="700px" <?php  } ?>>
   <div class="head">
      <!-- 2018-12-18 删除微擎logo chenlei start -->
      <a href="/" class="logo-version">
         <img src="<?php  if(!empty($_W['setting']['copyright']['flogo']) && function_exists('to_global_media')) { ?><?php  echo to_global_media($_W['setting']['copyright']['flogo'])?><?php  } else { ?>./resource/images/logo/logo.png<?php  } ?>" class="logo">
         <!-- <img src="<?php  if(!empty($_W['setting']['copyright']['flogo']) && function_exists('to_global_media')) { ?><?php  echo to_global_media($_W['setting']['copyright']['flogo'])?><?php  } else { ?>./resource/images/logo/logo.png<?php  } ?>" class="logo"> -->
         <span class="version hidden"><?php echo IMS_VERSION;?></span>
      </a>
      <!-- 2018-12-18 删除微擎logo chenlei end -->
      <?php  if(!empty($_W['setting']['copyright']['showhomepage'])) { ?>
      <a href="<?php  echo url('account/welcome')?>" class="pull-right">首页</a>
      <?php  } ?>
@@ -30,7 +32,9 @@
         <div class="form-inline" style="margin-bottom: 15px;">
            <div class="pull-right">
               <a href="<?php  echo url('user/find-password');?>" target="_blank" class="color-default"></a>
               <!-- 2018-12-18 添加忘记密码 chenlei start -->
               <a href="<?php  echo url('user/find-password');?>" target="_blank" class="color-default">忘记密码?</a>
               <!-- 2018-12-18 添加忘记密码 chenlei end -->
            </div>
            <div class="checkbox">
               <input type="checkbox" value="true" id="rember" name="rember">
@@ -40,14 +44,16 @@
         <div class="login-submit text-center">
            <input type="submit" id="submit" name="submit" value="登录" class="btn btn-primary btn-block" />
            <div class="text-right">
               <!-- 2018-12-18 添加手机注册 chenlei start -->
               <?php  if(!$_W['siteclose'] && $setting['register']['open']) { ?>
                  <?php  if(empty($_GPC['login_type']) || $_GPC['login_type'] == 'system') { ?>
                  <?php  if(empty($_W['setting']['copyright']['mobile_status'])) { ?>
                  <a href="<?php  echo url('user/register');?>" class="color-default">立即注册</a>
                  <?php  } ?>
                  <?php  if($_GPC['login_type'] == 'mobile') { ?>
                  <?php  if(!empty($_W['setting']['copyright']['mobile_status'])) { ?>
                  <a href="<?php  echo url('user/register', array('register_type' => 'mobile'))?>" class="color-default">立即注册</a>
                  <?php  } ?>
               <?php  } ?>
               <!-- 2018-12-18 添加手机注册 chenlei end -->
            </div>
            <input name="token" value="<?php  echo $_W['token'];?>" type="hidden" />
         </div>