浏览代码

Remove deprecations

Mark Scherer 10 年之前
父节点
当前提交
115dad166a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      View/Qlogin/admin_index.ctp

+ 2 - 2
View/Qlogin/admin_index.ctp

@@ -24,9 +24,9 @@
 
 <div class="actions">
 	<ul>
-		<li><?php echo $this->Html->link(__d('tools', 'Reset %s', __d('tools', 'Qlogins')), ['action' => 'reset'], [], __d('tools', 'Sure?'));?></li>
+		<li><?php echo $this->Html->link(__d('tools', 'Reset %s', __d('tools', 'Qlogins')), ['action' => 'reset'], ['confirm' => __d('tools', 'Sure?')]);?></li>
 	<?php if (false) { ?>
 		<li><?php echo $this->Html->link(__d('tools', 'List %s', __d('tools', 'Qlogins')), ['action' => 'listing']);?></li>
 	<?php } ?>
 	</ul>
-</div>
+</div>