瀏覽代碼

Détails IE10, token

Alexandre Alapetite 12 年之前
父節點
當前提交
8a011f00f9
共有 2 個文件被更改,包括 5 次插入0 次删除
  1. 2 0
      app/views/configure/users.phtml
  2. 3 0
      p/index.html

+ 2 - 0
app/views/configure/users.phtml

@@ -68,6 +68,7 @@
 			</div>
 		</div>
 
+		<?php if (Minz_Configuration::canLogIn()) { ?>
 		<div class="form-group">
 			<label class="group-name" for="token"><?php echo Minz_Translate::t('auth_token'); ?></label>
 			<?php $token = $this->conf->token; ?>
@@ -77,6 +78,7 @@
 				<?php echo FreshRSS_Themes::icon('help'); ?> <?php echo Minz_Translate::t('explain_token', Minz_Url::display(null, 'html', true), $token); ?>
 			</div>
 		</div>
+		<?php } ?>
 
 		<div class="form-group form-actions">
 			<div class="group-controls">

+ 3 - 0
p/index.html

@@ -22,6 +22,9 @@ h1 a {
 	color: #0062BE;
 	text-decoration: none;
 }
+img {
+	border: 0;
+}
 </style>
 </head>