mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
put icon on delete button
made forms inline
This commit is contained in:
parent
67fdb064b2
commit
c2bf260fd5
|
@ -91,10 +91,10 @@ function showKeywords(selectObj) {
|
|||
|
||||
<table class="table-condensed"><tr>
|
||||
<td id="keywords0" style="display : none;">
|
||||
<form action="../op/op.DefaultKeywords.php" method="post">
|
||||
<form class="form-inline" action="../op/op.DefaultKeywords.php" method="post">
|
||||
<?php echo createHiddenFieldWithKey('addcategory'); ?>
|
||||
<input type="Hidden" name="action" value="addcategory">
|
||||
<?php printMLText("name");?> : <input type="text" name="name">
|
||||
<?php printMLText("name");?>: <input type="text" name="name">
|
||||
<input type="submit" class="btn" value="<?php printMLText("new_default_keyword_category"); ?>">
|
||||
</form>
|
||||
</td>
|
||||
|
@ -114,7 +114,7 @@ function showKeywords(selectObj) {
|
|||
<?php echo createHiddenFieldWithKey('removecategory'); ?>
|
||||
<input type="Hidden" name="action" value="removecategory">
|
||||
<input type="Hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<input value="<?php printMLText("rm_default_keyword_category");?>" type="submit" class="btn" title="<?php echo getMLText("delete")?>">
|
||||
<button type="submit" class="btn" title="<?php echo getMLText("delete")?>"><i class="icon-remove"></i> <?php printMLText("rm_default_keyword_category");?></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -146,15 +146,15 @@ function showKeywords(selectObj) {
|
|||
<input type="Hidden" name="keywordsid" value="<?php echo $list["id"]?>">
|
||||
<input type="Hidden" name="action" value="editkeywords">
|
||||
<input name="keywords" type="text" value="<?php echo htmlspecialchars($list["keywords"]) ?>">
|
||||
<input name="action" value="editkeywords" type="Image" src="images/save.gif" class="btn" title="<?php echo getMLText("save")?>" style="border: 0px;">
|
||||
<button class="btn" title="<?php echo getMLText("save")?>"><i class="icon-download-alt"></i> <?php echo getMLText("save")?></button>
|
||||
<!-- <input name="action" value="removekeywords" type="Image" src="images/del.gif" title="<?php echo getMLText("delete")?>" border="0"> -->
|
||||
</form>
|
||||
<form style="display: inline-block;" method="post" action="../op/op.DefaultKeywords.php" >
|
||||
<?php echo createHiddenFieldWithKey('removekeywords'); ?>
|
||||
<input type="Hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<input type="Hidden" name="keywordsid" value="<?php echo $list["id"]?>">
|
||||
<input type="Hidden" name="action" value="removekeywords">
|
||||
<input name="action" value="removekeywords" type="Image" src="images/del.gif" class="btn" title="<?php echo getMLText("delete")?>" style="border: 0px;">
|
||||
<input type="hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<input type="hidden" name="keywordsid" value="<?php echo $list["id"]?>">
|
||||
<input type="hidden" name="action" value="removekeywords">
|
||||
<button class="btn" title="<?php echo getMLText("delete")?>"><i class="icon-remove"></i> <?php echo getMLText("delete")?></button>
|
||||
</form>
|
||||
<br>
|
||||
<?php } ?>
|
||||
|
|
|
@ -99,7 +99,7 @@ function checkForm()
|
|||
}
|
||||
?>
|
||||
</select>
|
||||
<input type="submit" class="btn" value="<?php printMLText("save")?>">
|
||||
<button type="submit" class="btn"><i class="icon-download-alt"></i> <?php printMLText("save")?></button>
|
||||
</form>
|
||||
<?php
|
||||
|
||||
|
@ -147,19 +147,21 @@ function checkForm()
|
|||
<input type="Hidden" name="documentid" value="<?php print $document->getId();?>">
|
||||
<input type="Hidden" name="action" value="setdefault">
|
||||
<?php $this->printAccessModeSelection($document->getDefaultAccess()); ?>
|
||||
<input type="submit" class="btn" value="<?php printMLText("save");?>">
|
||||
<button type="submit" class="btn"><i class="icon-download-alt"></i> <?php printMLText("save")?></button>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
|
||||
$this->contentSubHeading(getMLText("edit_existing_access"));
|
||||
|
||||
/* memorize users with access rights */
|
||||
$memusers = array();
|
||||
/* memorize groups with access rights */
|
||||
$memgroups = array();
|
||||
if (count($accessList["users"]) != 0 || count($accessList["groups"]) != 0) {
|
||||
|
||||
print "<table class=\"table-condensed\">";
|
||||
|
||||
/* memorїze users with access rights */
|
||||
$memusers = array();
|
||||
foreach ($accessList["users"] as $userAccess) {
|
||||
$userObj = $userAccess->getUser();
|
||||
$memusers[] = $userObj->getID();
|
||||
|
@ -190,8 +192,6 @@ function checkForm()
|
|||
print "</tr>\n";
|
||||
}
|
||||
|
||||
/* memorize groups with access rights */
|
||||
$memgroups = array();
|
||||
foreach ($accessList["groups"] as $groupAccess) {
|
||||
$groupObj = $groupAccess->getGroup();
|
||||
$memgroups[] = $groupObj->getID();
|
||||
|
|
Loading…
Reference in New Issue
Block a user