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
22d59a61ed
commit
6ae0eb38d9
|
@ -47,7 +47,7 @@ class SeedDMS_View_RemoveFolder extends SeedDMS_Theme_Style {
|
||||||
<input type="Hidden" name="folderid" value="<?php print $folder->getID();?>">
|
<input type="Hidden" name="folderid" value="<?php print $folder->getID();?>">
|
||||||
<input type="Hidden" name="showtree" value="<?php echo showtree();?>">
|
<input type="Hidden" name="showtree" value="<?php echo showtree();?>">
|
||||||
<?php echo createHiddenFieldWithKey('removefolder'); ?>
|
<?php echo createHiddenFieldWithKey('removefolder'); ?>
|
||||||
<p><button class="btn btn-danger" type="submit"><i class="fa fa-remove"></i> <?php printMLText("rm_folder");?></button></p>
|
<p><?php $this->formSubmit("<i class=\"fa fa-remove\"></i> " . getMLText('rm_folder'), '', '', 'danger'); ?></p>
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
$this->contentEnd();
|
$this->contentEnd();
|
||||||
|
|
|
@ -48,7 +48,7 @@ class SeedDMS_View_RemoveFolderFiles extends SeedDMS_Bootstrap_Style {
|
||||||
<?php echo createHiddenFieldWithKey('removefolderfiles'); ?>
|
<?php echo createHiddenFieldWithKey('removefolderfiles'); ?>
|
||||||
<input type="hidden" name="folderid" value="<?php echo $folder->getID()?>">
|
<input type="hidden" name="folderid" value="<?php echo $folder->getID()?>">
|
||||||
<p><?php printMLText("confirm_rm_folder_files", array ("foldername" => htmlspecialchars($folder->getName())));?></p>
|
<p><?php printMLText("confirm_rm_folder_files", array ("foldername" => htmlspecialchars($folder->getName())));?></p>
|
||||||
<input class="btn" type="submit" value="<?php printMLText("accept");?>">
|
<?php $this->formSubmit(getMLText('accept'),'','',"neutral"); ?>
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user