Last change
on this file since 183 was
141,
checked in by scdev, 18 years ago
|
Q - Changed <strong> to <em> in raiseMsg() calls.
|
File size:
957 bytes
|
Rev | Line | |
---|
[42] | 1 | <?php |
---|
[137] | 2 | if (!is_a($lock, 'Lock')) { |
---|
[1] | 3 | return null; |
---|
| 4 | } |
---|
| 5 | ?> |
---|
| 6 | <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> |
---|
[136] | 7 | <?php $app->printHiddenSession() ?> |
---|
[1] | 8 | <input type="hidden" name="lock_id" value="<?php echo $lock->getID(); ?>" /> |
---|
| 9 | |
---|
| 10 | <p><?php |
---|
[141] | 11 | printf(_("The record %s is currently being edited by %s (%d minutes elapsed). You cannot modify the record while it is locked by another user."), |
---|
[42] | 12 | $lock->getTitle(), |
---|
| 13 | $lock->getEditor(), |
---|
[1] | 14 | date('i', $lock->getSecondsElapsed() + 60) |
---|
| 15 | ); |
---|
| 16 | ?></p> |
---|
| 17 | |
---|
| 18 | <?php if ($lock->getSecondsElapsed() > $lock->timeout) { ?> |
---|
| 19 | <p><?php printf(_("You can force unlock the record if you believe the editing session has expired. You might want to confirm with before doing this."), $lock->getEditor()) ?></p> |
---|
[28] | 20 | <input type="submit" name="unlock" value="<?php echo _("Unlock"); ?>" /> |
---|
[1] | 21 | <?php } ?> |
---|
| 22 | |
---|
[28] | 23 | <input type="submit" name="cancel" value="<?php echo _("Cancel"); ?>" /> |
---|
[1] | 24 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.