Changeset 534 for trunk/services
- Timestamp:
- Jul 27, 2015 7:56:08 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/services/templates/lock.ihtml
r497 r534 23 23 ); ?> 24 24 </p> 25 <?php if ($lock->getSecondsElapsed() >= $lock->getParam('timeout')) { ?>26 <p class="sc-msg-notice"><?php printf(_("You can forcibly unlock the record if you believe the editing session has expired. You might want to confirm with %s before doing this."), $lock->getEditor()) ?></p>27 <div class="sc-msg-notice">28 <?php29 HTML::printButtons(array(30 array('name' => 'unlock', 'value' => _("Unlock"), 'class' => 'small button alert', 'accesskey' => 'u'),31 array('name' => 'cancel', 'value' => _("Cancel"), 'class' => 'small button secondary', 'accesskey' => 'c'),32 ));33 ?>34 </div>35 <?php } else { ?>36 <div class="sc-msg-notice">37 <?php38 HTML::printButtons(array(39 array('name' => 'cancel', 'value' => _("Cancel"), 'class' => 'small button secondary', 'accesskey' => 'c'),40 ));41 ?>42 </div>43 <?php } ?>44 25 </div> 45 26 </div> 27 <?php if ($lock->getSecondsElapsed() >= $lock->getParam('timeout')) { ?> 28 <div id="sc-msg" class="sc-msg row"> 29 <div class="large-12 columns"> 30 <p class="sc-msg-notice"><?php printf(_("You can forcibly unlock the record if you believe the editing session has expired. You might want to confirm with %s before doing this."), $lock->getEditor()) ?></p> 31 </div> 32 </div> 33 <div class="row sc-submit-buttons"> 34 <div class="large-12 columns"> 35 <?php 36 HTML::printButtons(array( 37 array('name' => 'unlock', 'value' => _("Unlock"), 'class' => 'small button alert', 'accesskey' => 'u'), 38 array('name' => 'cancel', 'value' => _("Cancel"), 'class' => 'small button secondary', 'accesskey' => 'c'), 39 )); 40 ?> 41 </div> 42 </div> 43 <?php } else { ?> 44 <div class="row sc-submit-buttons"> 45 <div class="large-12 columns"> 46 <?php 47 HTML::printButtons(array( 48 array('name' => 'cancel', 'value' => _("Cancel"), 'class' => 'small button secondary', 'accesskey' => 'c'), 49 )); 50 ?> 51 </div> 52 </div> 53 <?php } ?> 46 54 </form> 47 55 </main>
Note: See TracChangeset
for help on using the changeset viewer.