put icon on delete button

This commit is contained in:
steinm 2013-01-24 09:24:27 +00:00
parent 8ee0c8600c
commit b105ba7597
4 changed files with 4 additions and 5 deletions

View File

@ -51,7 +51,7 @@ class LetoDMS_View_RemoveDocument extends LetoDMS_Bootstrap_Style {
<p> <p>
<?php printMLText("confirm_rm_document", array ("documentname" => htmlspecialchars($document->getName())));?> <?php printMLText("confirm_rm_document", array ("documentname" => htmlspecialchars($document->getName())));?>
</p> </p>
<p><input type="submit" class="btn" value="<?php printMLText("rm_document");?>"></p> <p><button type="submit" class="btn"><i class="icon-remove"></i> <?php printMLText("rm_document");?></button></p>
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();

View File

@ -51,7 +51,7 @@ class LetoDMS_View_RemoveDocumentFile extends LetoDMS_Bootstrap_Style {
<input type="Hidden" name="documentid" value="<?php echo $document->getID()?>"> <input type="Hidden" name="documentid" value="<?php echo $document->getID()?>">
<input type="Hidden" name="fileid" value="<?php echo $file->getID()?>"> <input type="Hidden" name="fileid" value="<?php echo $file->getID()?>">
<p><?php printMLText("confirm_rm_file", array ("documentname" => htmlspecialchars($document->getName()), "name" => htmlspecialchars($file->getName())));?></p> <p><?php printMLText("confirm_rm_file", array ("documentname" => htmlspecialchars($document->getName()), "name" => htmlspecialchars($file->getName())));?></p>
<input type="submit" class="btn" value="<?php printMLText("rm_file");?>"> <button type="submit" class="btn"><i class="icon-remove"></i> <?php printMLText("rm_file");?></button>
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();

View File

@ -49,7 +49,7 @@ class LetoDMS_View_RemoveEvent extends LetoDMS_Bootstrap_Style {
<?php echo createHiddenFieldWithKey('removeevent'); ?> <?php echo createHiddenFieldWithKey('removeevent'); ?>
<input type="hidden" name="eventid" value="<?php echo intval($event["id"]); ?>"> <input type="hidden" name="eventid" value="<?php echo intval($event["id"]); ?>">
<p><?php printMLText("confirm_rm_event", array ("name" => htmlspecialchars($event["name"])));?></p> <p><?php printMLText("confirm_rm_event", array ("name" => htmlspecialchars($event["name"])));?></p>
<input class="btn" type="submit" value="<?php printMLText("delete");?>"> <button class="btn" type="submit"><i class="icon-remove"></i> <?php printMLText("delete");?></button>
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();

View File

@ -35,7 +35,6 @@ class LetoDMS_View_RemoveFolder extends LetoDMS_Bootstrap_Style {
$dms = $this->params['dms']; $dms = $this->params['dms'];
$user = $this->params['user']; $user = $this->params['user'];
$folder = $this->params['folder']; $folder = $this->params['folder'];
$document = $this->params['document'];
$this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName())))); $this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))));
$this->globalNavigation($folder); $this->globalNavigation($folder);
@ -51,7 +50,7 @@ class LetoDMS_View_RemoveFolder extends LetoDMS_Bootstrap_Style {
<p> <p>
<?php printMLText("confirm_rm_folder", array ("foldername" => htmlspecialchars($folder->getName())));?> <?php printMLText("confirm_rm_folder", array ("foldername" => htmlspecialchars($folder->getName())));?>
</p> </p>
<p><input class="btn" type="submit" value="<?php printMLText("rm_folder");?>"></p> <p><button class="btn" type="submit"><i class="icon-remove"></i> <?php printMLText("rm_folder");?></button></p>
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();