mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
use formSubmit() instead of plain html for submit button
This commit is contained in:
parent
8a01102cf5
commit
aeb0e4f1de
|
@ -698,7 +698,7 @@ $(document).ready(function() {
|
|||
<?php echo createHiddenFieldWithKey('cancelcheckout'); ?>
|
||||
<input type="hidden" name="documentid" value="<?php print $document->getID(); ?>">
|
||||
<input type="hidden" name="confirm" value="1">
|
||||
<input type="submit" class="btn btn-danger" value="<?php printMLText("cancel_checkout"); ?>">
|
||||
<?php $this->formSubmit(getMLText('cancel_checkout'),'','','danger');?>
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ class SeedDMS_View_RemoveTransmittal extends SeedDMS_Theme_Style {
|
|||
<input type="hidden" name="action" value="removetransmittal">
|
||||
<?php echo createHiddenFieldWithKey('removetransmittal'); ?>
|
||||
|
||||
<p><button type="submit" class="btn btn-danger"><i class="fa fa-remove"></i> <?php printMLText("rm_transmittal");?></button></p>
|
||||
<p><?php $this->formSubmit('<i class="fa fa-remove"></i> '.getMLText('rm_transmittal'),'','','danger');?></p>
|
||||
|
||||
</form>
|
||||
<?php
|
||||
|
|
|
@ -117,7 +117,7 @@ $(document).ready( function() {
|
|||
<?php echo createHiddenFieldWithKey('removerole'); ?>
|
||||
<input type="hidden" name="roleid" value="<?php echo $selrole->getID()?>">
|
||||
<input type="hidden" name="action" value="removerole">
|
||||
<button type="submit" class="btn"><i class="fa fa-remove"></i> <?php echo getMLText("rm_role")?></button>
|
||||
<?php $this->formSubmit('<i class="fa fa-remove"></i> '.getMLText('rm_role'),'','','neutral');?>
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
|
|
|
@ -282,7 +282,7 @@ $(document).ready( function() {
|
|||
<div class="control-group">
|
||||
<label class="control-label" for="login"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary"><i class="fa fa-save"></i> <?php printMLText("save")?></button>
|
||||
<?php $this->formSubmit('<i class="fa fa-save"></i> '.getMLText('save'),'','','primary');?>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -469,7 +469,7 @@ $(document).ready( function() {
|
|||
<div class="control-group">
|
||||
<label class="control-label" for="login"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary"><i class="fa fa-save"></i> <?php printMLText("save")?></button>
|
||||
<?php $this->formSubmit('<i class="fa fa-save"></i> '.getMLText('save'),'','','primary');?>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue
Block a user