mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
c52abe7198
|
@ -232,6 +232,7 @@
|
|||
- log reason for notification
|
||||
- add list of notification services
|
||||
- clicking on the file selection button no longer submits the form in firefox
|
||||
- fix clear clipboard link in menu
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.25
|
||||
|
|
|
@ -78,7 +78,7 @@ class SeedDMS_View_Clipboard extends SeedDMS_Theme_Style {
|
|||
}
|
||||
// $content .= " <li><a href=\"../op/op.ClearClipboard.php?refferer=".urlencode($this->params['refferer'])."\">".getMLText("clear_clipboard")."</a><a class=\"ajax-click\" data-href=\"../op/op.Ajax.php\" data-param1=\"command=clearclipboard\">kkk</a> </li>\n";
|
||||
// $content .= " <li><a class=\"ajax-click\" data-href=\"../op/op.Ajax.php\" data-param1=\"command=clearclipboard\">".getMLText("clear_clipboard")."</a></li>\n";
|
||||
$subitems[] = array('label'=>getMLText('clear_clipboard'), 'attributes'=>array(array('class', 'ajax-click'), array('data-href', $this->params['settings']->_httpRoot.'op/op.Ajax.php'), array('data-param1', 'command=clearclipboard')));
|
||||
$subitems[] = array('label'=>getMLText('clear_clipboard'), 'class'=>'ajax-click', 'attributes'=>array(array('data-href', $this->params['settings']->_httpRoot.'op/op.Ajax.php'), array('data-param1', 'command=clearclipboard')));
|
||||
if($this->hasHook('clipboardMenuItems'))
|
||||
$subitems = $this->callHook('clipboardMenuItems', $clipboard, $subitems);
|
||||
/*
|
||||
|
|
|
@ -85,8 +85,8 @@ $(document).ready( function() {
|
|||
foreach($managers as $manager)
|
||||
if($manager->getId() == $member->getId())
|
||||
echo ", ".getMLText("manager");
|
||||
if($ismanager) {
|
||||
echo ' <a href="../op/op.GroupView.php?action=del&groupid='.$group->getId().'&userid='.$member->getId().'" class="btn btn-mini"><i class="fa fa-remove"></i> '.getMLText("rm_user").'</a>';
|
||||
if($ismanager && $member->getId() != $user->getId()) {
|
||||
echo ' <a href="../op/op.GroupView.php?action=del&groupid='.$group->getId().'&userid='.$member->getId().'" class="btn btn-mini btn-sm"><i class="fa fa-remove"></i> '.getMLText("rm_user").'</a>';
|
||||
}
|
||||
echo "</li>";
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ $(document).ready( function() {
|
|||
echo "<li>".getMLText("add_user_to_group").":";
|
||||
echo "<form id=\"form\" action=\"../op/op.GroupView.php\">";
|
||||
echo "<input type=\"hidden\" name=\"action\" value=\"add\" /><input type=\"hidden\" name=\"groupid\" value=\"".$group->getId()."\" />";
|
||||
echo "<select id=\"selector\" name=\"userid\" _onChange=\"javascript: submit();\">";
|
||||
echo "<select id=\"selector\" name=\"userid\" class=\"chzn-select\">";
|
||||
echo "<option value=\"\"></option>";
|
||||
foreach($allUsers as $u) {
|
||||
if(!$u->isAdmin() && !$u->isGuest() && !in_array($u->getId(), $memberids))
|
||||
|
|
|
@ -111,7 +111,7 @@ class SeedDMS_View_Info extends SeedDMS_Theme_Style {
|
|||
echo "<th>".getMLText("name");
|
||||
echo "</th>\n";
|
||||
echo "</tr>\n</thead>\n<tbody>\n";
|
||||
$requiredext = array('zip', 'xml', 'xsl', 'json', 'intl', 'fileinfo', 'mbstring', 'curl');
|
||||
$requiredext = array('zip', 'xml', 'xsl', 'json', 'intl', 'fileinfo', 'mbstring', 'curl', 'sqlite');
|
||||
foreach(array_diff($requiredext, $phpextensions) as $extname)
|
||||
echo "<tr><td>".$extname."</td><td>"."</td></tr>\n";
|
||||
echo "</tbody>\n</table>\n";
|
||||
|
|
Loading…
Reference in New Issue
Block a user