mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
a2645a4f16
|
@ -35,7 +35,7 @@ class SeedDMS_View_DocumentAccess extends SeedDMS_Theme_Style {
|
|||
} /* }}} */
|
||||
|
||||
function getAccessModeSelection($defMode) { /* {{{ */
|
||||
$content = "<select name=\"mode\">\n";
|
||||
$content = "<select name=\"mode\" class=\"form-control\">\n";
|
||||
$content .= "\t<option value=\"".M_NONE."\"" . (($defMode == M_NONE) ? " selected" : "") . ">" . getMLText("access_mode_none") . "</option>\n";
|
||||
$content .= "\t<option value=\"".M_READ."\"" . (($defMode == M_READ) ? " selected" : "") . ">" . getMLText("access_mode_read") . "</option>\n";
|
||||
$content .= "\t<option value=\"".M_READWRITE."\"" . (($defMode == M_READWRITE) ? " selected" : "") . ">" . getMLText("access_mode_readwrite") . "</option>\n";
|
||||
|
|
|
@ -162,7 +162,7 @@ $(document).ready( function() {
|
|||
print "<input type=\"hidden\" name=\"action\" value=\"delnotify\">\n";
|
||||
print "<input type=\"hidden\" name=\"userid\" value=\"".$userNotify->getID()."\">\n";
|
||||
print "<td>";
|
||||
print "<button type=\"submit\" class=\"btn btn-mini\"><i class=\"fa fa-remove\"></i> ".getMLText("delete")."</button>";
|
||||
print "<button type=\"submit\" class=\"btn btn-danger btn-mini btn-sm\"><i class=\"fa fa-remove\"></i> ".getMLText("delete")."</button>";
|
||||
print "</td>";
|
||||
print "</form>\n";
|
||||
}else print "<td></td>";
|
||||
|
@ -179,7 +179,7 @@ $(document).ready( function() {
|
|||
print "<input type=\"hidden\" name=\"action\" value=\"delnotify\">\n";
|
||||
print "<input type=\"hidden\" name=\"groupid\" value=\"".$groupNotify->getID()."\">\n";
|
||||
print "<td>";
|
||||
print "<button type=\"submit\" class=\"btn btn-mini\"><i class=\"fa fa-remove\"></i> ".getMLText("delete")."</button>";
|
||||
print "<button type=\"submit\" class=\"btn btn-danger btn-mini btn-sm\"><i class=\"fa fa-remove\"></i> ".getMLText("delete")."</button>";
|
||||
print "</td>";
|
||||
print "</form>\n";
|
||||
}else print "<td></td>";
|
||||
|
|
|
@ -162,7 +162,7 @@ $(document).ready(function() {
|
|||
print "<input type=\"Hidden\" name=\"action\" value=\"delnotify\">\n";
|
||||
print "<input type=\"Hidden\" name=\"userid\" value=\"".$userNotify->getID()."\">\n";
|
||||
print "<td>";
|
||||
print "<button type=\"submit\" class=\"btn btn-mini\"><i class=\"fa fa-remove\"></i> ".getMLText("delete")."</button>";
|
||||
print "<button type=\"submit\" class=\"btn btn-danger btn-mini btn-sm\"><i class=\"fa fa-remove\"></i> ".getMLText("delete")."</button>";
|
||||
print "</td>";
|
||||
print "</form>\n";
|
||||
}else print "<td></td>";
|
||||
|
@ -179,7 +179,7 @@ $(document).ready(function() {
|
|||
print "<input type=\"Hidden\" name=\"action\" value=\"delnotify\">\n";
|
||||
print "<input type=\"Hidden\" name=\"groupid\" value=\"".$groupNotify->getID()."\">\n";
|
||||
print "<td>";
|
||||
print "<button type=\"submit\" class=\"btn btn-mini\"><i class=\"fa fa-remove\"></i> ".getMLText("delete")."</button>";
|
||||
print "<button type=\"submit\" class=\"btn btn-danger btn-mini btn-sm\"><i class=\"fa fa-remove\"></i> ".getMLText("delete")."</button>";
|
||||
print "</td>";
|
||||
print "</form>\n";
|
||||
}else print "<td></td>";
|
||||
|
|
|
@ -224,6 +224,8 @@ $(document).ready( function() {
|
|||
|
||||
/* Document chooser */
|
||||
$("[id^=choosedocsearch]").typeahead({ /* {{{ */
|
||||
menu: '<div class="typeahead dropdown-menu"></div>',
|
||||
item: '<li><a class="dropdown-item" href="#"></a></li>',
|
||||
minLength: 3,
|
||||
source: function(query, process) {
|
||||
// console.log(this.options);
|
||||
|
@ -252,6 +254,8 @@ $(document).ready( function() {
|
|||
|
||||
/* Folder chooser */
|
||||
$("[id^=choosefoldersearch]").typeahead({ /* {{{ */
|
||||
menu: '<div class="typeahead dropdown-menu"></div>',
|
||||
item: '<li><a class="dropdown-item" href="#"></a></li>',
|
||||
minLength: 3,
|
||||
source: function(query, process) {
|
||||
// console.log(this.options);
|
||||
|
|
Loading…
Reference in New Issue
Block a user