From: Thomas Mudrunka Date: Sat, 28 Jul 2012 23:38:51 +0000 (+0200) Subject: Vylepseni zamku X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=7f1203c4b619b9ece292aa38fbf0d264c1291de7;p=mirrors%2FSokoMan.git Vylepseni zamku --- diff --git a/assistants/lock.inc.php b/assistants/lock.inc.php index c042ee9..b943864 100644 --- a/assistants/lock.inc.php +++ b/assistants/lock.inc.php @@ -7,7 +7,7 @@ switch($SUBPATH[0]) { $user=$this->db->auth->get_user_id(); $username=$this->db->auth->get_username_by_id($user); echo $this->html->form("$URL/2", 'POST', array( - array('reason',$username,'textarea',false,'autofocus','reason:'), + array('reason',"$username: ",'textarea',false,'autofocus','reason:'), array('lock','lock','submit') )); } else { diff --git a/index.php b/index.php index 3200b84..3c078e9 100755 --- a/index.php +++ b/index.php @@ -421,6 +421,7 @@ EOF; 'status_id' => 'status_name', 'item_author' => 'item_author_backend', 'item_customer' => 'item_customer', + 'lock_id' => 'lock_name', ); foreach($table as $id => $row) {