manager/actions/mutate_content.dynamic.php 1 location
|
@@ 65-67 (lines=3) @@
|
| 62 |
|
} |
| 63 |
|
|
| 64 |
|
// check to see if resource isn't locked |
| 65 |
|
if($lockedEl = $modx->elementIsLocked(7, $id)) { |
| 66 |
|
$modx->webAlertAndQuit(sprintf($_lang['lock_msg'], $lockedEl['username'], $_lang['resource'])); |
| 67 |
|
} |
| 68 |
|
// end check for lock |
| 69 |
|
|
| 70 |
|
// Lock resource for other users to edit |
manager/actions/mutate_module.dynamic.php 1 location
|
@@ 34-36 (lines=3) @@
|
| 31 |
|
|
| 32 |
|
|
| 33 |
|
// check to see the module editor isn't locked
|
| 34 |
|
if($lockedEl = $modx->elementIsLocked(6, $id)) {
|
| 35 |
|
$modx->webAlertAndQuit(sprintf($_lang['lock_msg'], $lockedEl['username'], $_lang['module']));
|
| 36 |
|
}
|
| 37 |
|
// end check for lock
|
| 38 |
|
|
| 39 |
|
// Lock snippet for other users to edit
|