mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
update icons from font-awesome 3.2.x to 4.7.x
This commit is contained in:
parent
600d14ed88
commit
aa3384f28b
|
@ -36,20 +36,20 @@ class SeedDMS_View_Acl extends SeedDMS_Bootstrap_Style {
|
|||
$('#acostree').tree({
|
||||
autoOpen: 0,
|
||||
saveState: 'acostree<?php echo ($selrole ? $selrole->getID() : ''); ?>',
|
||||
openedIcon: $('<i class="icon-minus-sign"></i>'),
|
||||
closedIcon: $('<i class="icon-plus-sign"></i>'),
|
||||
openedIcon: $('<i class="fa fa-minus-circle"></i>'),
|
||||
closedIcon: $('<i class="fa fa-plus-circle"></i>'),
|
||||
onCreateLi: function(node, $li) {
|
||||
switch(node.permission) {
|
||||
case -1:
|
||||
$li.find('.jqtree-element span:last-child').after('<span style="position: absolute; right:10px;" class="jqtree-remove-permission" data-acoid="'+node.acoid+'" data-aroid="'+node.aroid+'"><i class="icon-minus-sign"></i></span> <span style="position: absolute; right:50px;" class="jqtree-toggle-permission" data-acoid="'+node.acoid+'" data-aroid="'+node.aroid+'"><i class="icon-exchange"></i></span>');
|
||||
$li.find('.jqtree-element span:last-child').after('<span style="position: absolute; right:10px;" class="jqtree-remove-permission" data-acoid="'+node.acoid+'" data-aroid="'+node.aroid+'"><i class="fa fa-minus-circle"></i></span> <span style="position: absolute; right:50px;" class="jqtree-toggle-permission" data-acoid="'+node.acoid+'" data-aroid="'+node.aroid+'"><i class="fa fa-exchange"></i></span>');
|
||||
$li.attr('style', 'background-color:#FDD');
|
||||
break;
|
||||
case 1:
|
||||
$li.find('.jqtree-element span:last-child').after('<span style="position: absolute; right:10px;" class="jqtree-remove-permission" data-acoid="'+node.acoid+'" data-aroid="'+node.aroid+'"><i class="icon-minus-sign"></i></span> <span style="position: absolute; right:50px;" class="jqtree-toggle-permission" data-acoid="'+node.acoid+'" data-aroid="'+node.aroid+'"><i class="icon-exchange"></i></span>');
|
||||
$li.find('.jqtree-element span:last-child').after('<span style="position: absolute; right:10px;" class="jqtree-remove-permission" data-acoid="'+node.acoid+'" data-aroid="'+node.aroid+'"><i class="fa fa-minus-circle"></i></span> <span style="position: absolute; right:50px;" class="jqtree-toggle-permission" data-acoid="'+node.acoid+'" data-aroid="'+node.aroid+'"><i class="fa fa-exchange"></i></span>');
|
||||
$li.attr('style', 'background-color:#DFD');
|
||||
break;
|
||||
default:
|
||||
$li.find('.jqtree-element span:last-child').after('<span style="position: absolute; right:10px;" class="jqtree-add-permission" data-acoid="'+node.acoid+'" data-aroid="'+node.aroid+'"><i class="icon-plus-sign"></i></span>');
|
||||
$li.find('.jqtree-element span:last-child').after('<span style="position: absolute; right:10px;" class="jqtree-add-permission" data-acoid="'+node.acoid+'" data-aroid="'+node.aroid+'"><i class="fa fa-plus-circle"></i></span>');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -152,9 +152,9 @@ $(document).ready( function() {
|
|||
if($accessobject->check_view_access(array('UsrMgr', 'RemoveUser'))) {
|
||||
echo "<div class=\"list-action\">";
|
||||
if($accessobject->check_view_access('UsrMgr'))
|
||||
echo "<a href=\"../out/out.UsrMgr.php?userid=".$currUser->getID()."\"><i class=\"icon-edit\"></i></a> ";
|
||||
echo "<a href=\"../out/out.UsrMgr.php?userid=".$currUser->getID()."\"><i class=\"fa fa-edit\"></i></a> ";
|
||||
if($accessobject->check_view_access('RemoveUser'))
|
||||
echo "<a href=\"../out/out.RemoveUser.php?userid=".$currUser->getID()."\"><i class=\"icon-remove\"></i></a>";
|
||||
echo "<a href=\"../out/out.RemoveUser.php?userid=".$currUser->getID()."\"><i class=\"fa fa-remove\"></i></a>";
|
||||
echo "</div>";
|
||||
}
|
||||
echo "</td>";
|
||||
|
|
|
@ -62,7 +62,7 @@ class SeedDMS_View_AddToTransmittal extends SeedDMS_Bootstrap_Style {
|
|||
</select>
|
||||
</p>
|
||||
|
||||
<p><button type="submit" class="btn"><i class="icon-plus"></i> <?php printMLText("add");?></button></p>
|
||||
<p><button type="submit" class="btn"><i class="fa fa-plus"></i> <?php printMLText("add");?></button></p>
|
||||
|
||||
</form>
|
||||
<?php
|
||||
|
|
|
@ -298,7 +298,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
$content = '';
|
||||
// $content .= " <ul id=\"main-menu-tasks\" class=\"nav pull-right\">\n";
|
||||
// $content .= " <li class=\"dropdown\">\n";
|
||||
$content .= " <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">".getMLText('tasks')." (".count($tasks['review'])."/".count($tasks['approval'])."/".count($tasks['receipt'])."/".count($tasks['revision']).") <i class=\"icon-caret-down\"></i></a>\n";
|
||||
$content .= " <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">".getMLText('tasks')." (".count($tasks['review'])."/".count($tasks['approval'])."/".count($tasks['receipt'])."/".count($tasks['revision']).") <i class=\"fa fa-caret-down\"></i></a>\n";
|
||||
$content .= " <ul class=\"dropdown-menu\" role=\"menu\">\n";
|
||||
if($tasks['review']) {
|
||||
$content .= " <li class=\"dropdown-submenu\">\n";
|
||||
|
@ -2707,8 +2707,8 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
|
|||
if($totalreceipts) {
|
||||
$content .= "
|
||||
<div class=\"progress\">
|
||||
<div class=\"bar bar-success\" style=\"width: ".round($rstat['1']/$totalreceipts*100)."%;\">".($rstat['1'] ? $rstat['1']."/".$totalreceipts : '').($allcomments['1'] ? " ".$this->printPopupBox('<i class="icon-comment"></i>', implode('<br />', formatComment($allcomments['1'])), true) : "")."</div>
|
||||
<div class=\"bar bar-danger\" style=\"width: ".round($rstat['-1']/$totalreceipts*100)."%;\">".($rstat['-1'] ? $rstat['-1']."/".$totalreceipts : '').($allcomments['-1'] ? " ".$this->printPopupBox('<i class="icon-comment"></i>', implode('<br />', formatComment($allcomments['-1'])), true) : "")."</div>
|
||||
<div class=\"bar bar-success\" style=\"width: ".round($rstat['1']/$totalreceipts*100)."%;\">".($rstat['1'] ? $rstat['1']."/".$totalreceipts : '').($allcomments['1'] ? " ".$this->printPopupBox('<i class="fa fa-comment"></i>', implode('<br />', formatComment($allcomments['1'])), true) : "")."</div>
|
||||
<div class=\"bar bar-danger\" style=\"width: ".round($rstat['-1']/$totalreceipts*100)."%;\">".($rstat['-1'] ? $rstat['-1']."/".$totalreceipts : '').($allcomments['-1'] ? " ".$this->printPopupBox('<i class="fa fa-comment"></i>', implode('<br />', formatComment($allcomments['-1'])), true) : "")."</div>
|
||||
</div>";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -193,7 +193,7 @@ $(document).ready(function() {
|
|||
<td class="standardText">
|
||||
<span class="input-append date span12" id="expirationdate" data-date="<?php echo ($expts ? date('Y-m-d', $expts) : ''); ?>" data-date-format="yyyy-mm-dd" data-date-language="<?php echo str_replace('_', '-', $this->params['session']->getLanguage()); ?>">
|
||||
<input class="span3" size="16" name="expdate" type="text" value="<?php echo ($expts ? date('Y-m-d', $expts) : ''); ?>">
|
||||
<span class="add-on"><i class="icon-calendar"></i></span>
|
||||
<span class="add-on"><i class="fa fa-calendar"></i></span>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -64,11 +64,11 @@ $(document).ready( function() {
|
|||
print "<thead>\n<tr>\n";
|
||||
print "<th></th>\n";
|
||||
if($order)
|
||||
print "<th><a data-action=\"".$order."\" data-orderby=\"n\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("name")."</a> ".($orderby == 'n' || $orderby == '' ? ($orderdir == 'desc' ? '<i class="icon-arrow-up"></i>' : '<i class="icon-arrow-down"></i>') : '')." · <a data-action=\"".$order."\" data-orderby=\"u\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("last_update")."</a> ".($orderby == 'u' ? ($orderdir == 'desc' ? '<i class="icon-arrow-up"></i>' : '<i class="icon-arrow-down"></i>') : '')." · <a data-action=\"".$order."\" data-orderby=\"e\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("expires")."</a> ".($orderby == 'e' ? ($orderdir == 'desc' ? '<i class="icon-arrow-up"></i>' : '<i class="icon-arrow-down"></i>') : '')."</th>\n";
|
||||
print "<th><a data-action=\"".$order."\" data-orderby=\"n\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("name")."</a> ".($orderby == 'n' || $orderby == '' ? ($orderdir == 'desc' ? '<i class="fa fa-arrow-up"></i>' : '<i class="fa fa-arrow-down"></i>') : '')." · <a data-action=\"".$order."\" data-orderby=\"u\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("last_update")."</a> ".($orderby == 'u' ? ($orderdir == 'desc' ? '<i class="fa fa-arrow-up"></i>' : '<i class="fa fa-arrow-down"></i>') : '')." · <a data-action=\"".$order."\" data-orderby=\"e\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("expires")."</a> ".($orderby == 'e' ? ($orderdir == 'desc' ? '<i class="fa fa-arrow-up"></i>' : '<i class="fa fa-arrow-down"></i>') : '')."</th>\n";
|
||||
else
|
||||
print "<th>".getMLText("name")."</th>\n";
|
||||
if($order)
|
||||
print "<th><a data-action=\"".$order."\" data-orderby=\"s\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("status")."</a>".($orderby == 's' ? " ".($orderdir == 'desc' ? '<i class="icon-arrow-up"></i>' : '<i class="icon-arrow-down"></i>') : '')."</th>\n";
|
||||
print "<th><a data-action=\"".$order."\" data-orderby=\"s\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("status")."</a>".($orderby == 's' ? " ".($orderdir == 'desc' ? '<i class="fa fa-arrow-up"></i>' : '<i class="fa fa-arrow-down"></i>') : '')."</th>\n";
|
||||
else
|
||||
print "<th>".getMLText("status")."</th>\n";
|
||||
print "<th>".getMLText("action")."</th>\n";
|
||||
|
|
|
@ -44,11 +44,11 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Bootstrap_Style {
|
|||
$orderby = ''; //$this->params['orderby'];
|
||||
$orderdir = ''; //$this->params['orderdir'];
|
||||
|
||||
print "<th><a data-action=\"".$order."\" data-orderby=\"n\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("name")."</a> ".($orderby == 'n' || $orderby == '' ? ($orderdir == 'desc' ? '<i class="icon-arrow-up"></i>' : '<i class="icon-arrow-down"></i>') : '')." · <a data-action=\"".$order."\" data-orderby=\"u\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("last_update")."</a> ".($orderby == 'u' ? ($orderdir == 'desc' ? '<i class="icon-arrow-up"></i>' : '<i class="icon-arrow-down"></i>') : '')." · <a data-action=\"".$order."\" data-orderby=\"e\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("expires")."</a> ".($orderby == 'e' ? ($orderdir == 'desc' ? '<i class="icon-arrow-up"></i>' : '<i class="icon-arrow-down"></i>') : '')."</th>\n";
|
||||
print "<th><a data-action=\"".$order."\" data-orderby=\"n\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("name")."</a> ".($orderby == 'n' || $orderby == '' ? ($orderdir == 'desc' ? '<i class="fa fa-arrow-up"></i>' : '<i class="fa fa-arrow-down"></i>') : '')." · <a data-action=\"".$order."\" data-orderby=\"u\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("last_update")."</a> ".($orderby == 'u' ? ($orderdir == 'desc' ? '<i class="fa fa-arrow-up"></i>' : '<i class="fa fa-arrow-down"></i>') : '')." · <a data-action=\"".$order."\" data-orderby=\"e\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("expires")."</a> ".($orderby == 'e' ? ($orderdir == 'desc' ? '<i class="fa fa-arrow-up"></i>' : '<i class="fa fa-arrow-down"></i>') : '')."</th>\n";
|
||||
} else
|
||||
print "<th>".getMLText("name")."</th>\n";
|
||||
if($order)
|
||||
print "<th><a data-action=\"".$order."\" data-orderby=\"s\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("status")."</a>".($orderby == 's' ? " ".($orderdir == 'desc' ? '<i class="icon-arrow-up"></i>' : '<i class="icon-arrow-down"></i>') : '')."</th>\n";
|
||||
print "<th><a data-action=\"".$order."\" data-orderby=\"s\" data-orderdir=\"".($orderdir == 'desc' ? '' : 'desc')."\">".getMLText("status")."</a>".($orderby == 's' ? " ".($orderdir == 'desc' ? '<i class="fa fa-arrow-up"></i>' : '<i class="fa fa-arrow-down"></i>') : '')."</th>\n";
|
||||
else
|
||||
print "<th>".getMLText("status")."</th>\n";
|
||||
print "<th>".getMLText("action")."</th>\n";
|
||||
|
|
|
@ -52,7 +52,7 @@ class SeedDMS_View_RemoveTransmittal extends SeedDMS_Bootstrap_Style {
|
|||
<?php printMLText("confirm_rm_transmittal", array ("name" => htmlspecialchars($rmtransmittal->getName())));?>
|
||||
</p>
|
||||
|
||||
<p><button type="submit" class="btn"><i class="icon-remove"></i> <?php printMLText("rm_transmittal");?></button></p>
|
||||
<p><button type="submit" class="btn"><i class="fa fa-remove"></i> <?php printMLText("rm_transmittal");?></button></p>
|
||||
|
||||
</form>
|
||||
<?php
|
||||
|
|
|
@ -92,8 +92,8 @@ $(document).ready( function() {
|
|||
echo "<td>";
|
||||
if($accessobject->check_view_access(array('UsrMgr', 'RemoveUser'))) {
|
||||
echo "<div class=\"list-action\">";
|
||||
echo $this->html_link('UsrMgr', array('userid'=>$currUser->getID()), array(), '<i class="icon-edit"></i>', false);
|
||||
echo $this->html_link('RemoveUser', array('userid'=>$currUser->getID()), array(), '<i class="icon-remove"></i>', false);
|
||||
echo $this->html_link('UsrMgr', array('userid'=>$currUser->getID()), array(), '<i class="fa fa-edit"></i>', false);
|
||||
echo $this->html_link('RemoveUser', array('userid'=>$currUser->getID()), array(), '<i class="fa fa-remove"></i>', false);
|
||||
echo "</div>";
|
||||
}
|
||||
echo "</td>";
|
||||
|
@ -117,7 +117,7 @@ $(document).ready( function() {
|
|||
<?php echo createHiddenFieldWithKey('removerole'); ?>
|
||||
<input type="hidden" name="roleid" value="<?php echo $selrole->getID()?>">
|
||||
<input type="hidden" name="action" value="removerole">
|
||||
<button type="submit" class="btn"><i class="icon-remove"></i> <?php echo getMLText("rm_role")?></button>
|
||||
<button type="submit" class="btn"><i class="fa fa-remove"></i> <?php echo getMLText("rm_role")?></button>
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
|
@ -175,7 +175,7 @@ $(document).ready( function() {
|
|||
?>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText($currRole ? "save" : "add_role")?></button></td>
|
||||
<td><button type="submit" class="btn"><i class="fa fa-save"></i> <?php printMLText($currRole ? "save" : "add_role")?></button></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ $(document).ready( function() {
|
|||
msg = $(ev.currentTarget).attr('msg');
|
||||
formtoken = '<?= createFormKey('removetask') ?>';
|
||||
bootbox.dialog(confirmmsg, [{
|
||||
"label" : "<i class='icon-remove'></i> <?= getMLText("rm_task") ?>",
|
||||
"label" : "<i class='fa fa-remove'></i> <?= getMLText("rm_task") ?>",
|
||||
"class" : "btn-danger",
|
||||
"callback": function() {
|
||||
$.post('../op/op.SchedulerTaskMgr.php',
|
||||
|
@ -202,7 +202,7 @@ $(document).ready( function() {
|
|||
<div class="control-group">
|
||||
<label class="control-label" for="login"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary"><i class="icon-save"></i> <?php printMLText("save")?></button>
|
||||
<button type="submit" class="btn btn-primary"><i class="fa fa-save"></i> <?php printMLText("save")?></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -316,7 +316,7 @@ $(document).ready( function() {
|
|||
<div class="control-group">
|
||||
<label class="control-label" for="login"></label>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary"><i class="icon-save"></i> <?php printMLText("save")?></button>
|
||||
<button type="submit" class="btn btn-primary"><i class="fa fa-save"></i> <?php printMLText("save")?></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -371,9 +371,9 @@ $(document).ready( function() {
|
|||
echo "</td>";
|
||||
echo "<td nowrap>";
|
||||
print "<div class=\"list-action\">";
|
||||
print "<a class=\"removetask\" rel=\"".$task->getID()."\" msg=\"".getMLText('remove_task')."\" confirmmsg=\"".htmlspecialchars(getMLText("confirm_rm_task"), ENT_QUOTES)."\" title=\"".getMLText("remove_task")."\"><i class=\"icon-remove\"></i></a>";
|
||||
print "<a class=\"removetask\" rel=\"".$task->getID()."\" msg=\"".getMLText('remove_task')."\" confirmmsg=\"".htmlspecialchars(getMLText("confirm_rm_task"), ENT_QUOTES)."\" title=\"".getMLText("remove_task")."\"><i class=\"fa fa-remove\"></i></a>";
|
||||
if(isset($GLOBALS['SEEDDMS_SCHEDULER']['tasks'][$task->getExtension()])) {
|
||||
print "<a class=\"edittask\" data-action=\"edittask\" data-id=\"".$task->getID()."\" href=\"../out/out.SchedulerTaskMgr.php?action=edittask\" title=\"".getMLText("edit_task")."\"><i class=\"icon-edit\"></i></a>";
|
||||
print "<a class=\"edittask\" data-action=\"edittask\" data-id=\"".$task->getID()."\" href=\"../out/out.SchedulerTaskMgr.php?action=edittask\" title=\"".getMLText("edit_task")."\"><i class=\"fa fa-edit\"></i></a>";
|
||||
}
|
||||
print "</div>";
|
||||
echo "</td>";
|
||||
|
@ -432,9 +432,9 @@ $(document).ready( function() {
|
|||
print "<div class=\"list-action\">";
|
||||
$t = $scheduler->getTasksByExtension($extname, $taskname);
|
||||
if($t) {
|
||||
print "<a class=\"listtasks\" data-extension=\"".$extname."\" data-task=\"".$taskname."\" href=\"../out/out.SchedulerTaskMgr.php?extension=".$extname."&task=".$taskname."\" title=\"".getMLText("list_tasks")."\"><i class=\"icon-list\"></i></a>";
|
||||
print "<a class=\"listtasks\" data-extension=\"".$extname."\" data-task=\"".$taskname."\" href=\"../out/out.SchedulerTaskMgr.php?extension=".$extname."&task=".$taskname."\" title=\"".getMLText("list_tasks")."\"><i class=\"fa fa-list\"></i></a>";
|
||||
}
|
||||
print "<a class=\"addtask\" data-extension=\"".$extname."\" data-task=\"".$taskname."\" href=\"../out/out.SchedulerTaskMgr.php?extension=".$extname."&task=".$taskname."\" title=\"".getMLText("add_task")."\"><i class=\"icon-plus\"></i></a>";
|
||||
print "<a class=\"addtask\" data-extension=\"".$extname."\" data-task=\"".$taskname."\" href=\"../out/out.SchedulerTaskMgr.php?extension=".$extname."&task=".$taskname."\" title=\"".getMLText("add_task")."\"><i class=\"fa fa-plus\"></i></a>";
|
||||
print "</div>";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
|
|
@ -328,7 +328,7 @@ $(document).ready( function() {
|
|||
<td><?= getMLText('content') ?></td><td><label class="checkbox inline"><input id="includecontent" type="checkbox" name="includecontent" value="1"> <?php printMLText("include_content"); ?></label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td><a id="export" class="btn" href="<?= $_SERVER['REQUEST_URI']."&action=export" ?>"><i class="icon-download"></i> Export</a></td>
|
||||
<td></td><td><a id="export" class="btn" href="<?= $_SERVER['REQUEST_URI']."&action=export" ?>"><i class="fa fa-download"></i> Export</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
@ -79,7 +79,7 @@ class SeedDMS_View_SetRevisors extends SeedDMS_Bootstrap_Style {
|
|||
<div class="controls">
|
||||
<span class="input-append date" style="display: inline;" id="revisionstartdate" data-date="<?php echo date('Y-m-d'); ?>" data-date-format="yyyy-mm-dd" data-date-language="<?php echo str_replace('_', '-', $this->params['session']->getLanguage()); ?>">
|
||||
<input class="span4" size="16" name="startdate" type="text" value="<?php if($startdate) echo $startdate; else echo date('Y-m-d'); ?>">
|
||||
<span class="add-on"><i class="icon-calendar"></i></span>
|
||||
<span class="add-on"><i class="fa fa-calendar"></i></span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -282,7 +282,7 @@ div.timeline-event-selected {
|
|||
$this->formSubmit('<i class="fa fa-search"></i> '.getMLText('update'), 'update');
|
||||
?>
|
||||
</form>
|
||||
<a href="out.TimelineFeed.php"><i class="icon-rss"></i> <?php printMLText('subsribe_timelinefeed'); ?></a>
|
||||
<a href="out.TimelineFeed.php"><i class="fa fa-rss"></i> <?php printMLText('subsribe_timelinefeed'); ?></a>
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
echo "<div class=\"ajax\" data-view=\"Timeline\" data-action=\"iteminfo\" ></div>";
|
||||
|
|
|
@ -62,7 +62,7 @@ $(document).ready( function() {
|
|||
protected function printUpdateItemButton($item, $msg, $return=false){ /* {{{ */
|
||||
$itemid = $item->getID();
|
||||
$content = '';
|
||||
$content .= '<a class="update-transmittalitem-btn" transmittal="'.$item->getTransmittal()->getID().'" rel="'.$itemid.'" msg="'.htmlspecialchars($msg, ENT_QUOTES).'" confirmmsg="'.htmlspecialchars(getMLText("confirm_update_transmittalitem"), ENT_QUOTES).'"><i class="icon-refresh"></i></a>';
|
||||
$content .= '<a class="update-transmittalitem-btn" transmittal="'.$item->getTransmittal()->getID().'" rel="'.$itemid.'" msg="'.htmlspecialchars($msg, ENT_QUOTES).'" confirmmsg="'.htmlspecialchars(getMLText("confirm_update_transmittalitem"), ENT_QUOTES).'"><i class="fa fa-refresh"></i></a>';
|
||||
if($return)
|
||||
return $content;
|
||||
else
|
||||
|
@ -80,7 +80,7 @@ $(document).ready( function() {
|
|||
msg = $(ev.currentTarget).attr('msg');
|
||||
formtoken = '".createFormKey('updatetransmittalitem')."';
|
||||
bootbox.dialog(confirmmsg, [{
|
||||
\"label\" : \"<i class='icon-refresh'></i> ".getMLText("update_transmittalitem")."\",
|
||||
\"label\" : \"<i class='fa fa-refresh'></i> ".getMLText("update_transmittalitem")."\",
|
||||
\"class\" : \"btn-danger\",
|
||||
\"callback\": function() {
|
||||
$.ajax('../op/op.TransmittalMgr.php', {
|
||||
|
@ -140,7 +140,7 @@ $(document).ready( function() {
|
|||
protected function printDeleteItemButton($item, $msg, $return=false){ /* {{{ */
|
||||
$itemid = $item->getID();
|
||||
$content = '';
|
||||
$content .= '<a class="delete-transmittalitem-btn" rel="'.$itemid.'" msg="'.htmlspecialchars($msg, ENT_QUOTES).'" confirmmsg="'.htmlspecialchars(getMLText("confirm_rm_transmittalitem"), ENT_QUOTES).'"><i class="icon-remove"></i></a>';
|
||||
$content .= '<a class="delete-transmittalitem-btn" rel="'.$itemid.'" msg="'.htmlspecialchars($msg, ENT_QUOTES).'" confirmmsg="'.htmlspecialchars(getMLText("confirm_rm_transmittalitem"), ENT_QUOTES).'"><i class="fa fa-remove"></i></a>';
|
||||
if($return)
|
||||
return $content;
|
||||
else
|
||||
|
@ -157,7 +157,7 @@ $(document).ready( function() {
|
|||
msg = $(ev.currentTarget).attr('msg');
|
||||
formtoken = '".createFormKey('removetransmittalitem')."';
|
||||
bootbox.dialog(confirmmsg, [{
|
||||
\"label\" : \"<i class='icon-remove'></i> ".getMLText("rm_transmittalitem")."\",
|
||||
\"label\" : \"<i class='fa fa-remove'></i> ".getMLText("rm_transmittalitem")."\",
|
||||
\"class\" : \"btn-danger\",
|
||||
\"callback\": function() {
|
||||
$.ajax('../op/op.TransmittalMgr.php', {
|
||||
|
@ -230,7 +230,7 @@ $(document).ready( function() {
|
|||
?>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><a class="standardText btn" href="../out/out.RemoveTransmittal.php?transmittalid=<?php print $transmittal->getID();?>"><i class="icon-remove"></i> <?php printMLText("rm_transmittal");?></a></td>
|
||||
<td><a class="standardText btn" href="../out/out.RemoveTransmittal.php?transmittalid=<?php print $transmittal->getID();?>"><i class="fa fa-remove"></i> <?php printMLText("rm_transmittal");?></a></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
@ -248,7 +248,7 @@ $(document).ready( function() {
|
|||
?>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText($transmittal ? "save" : "add_transmittal")?></button></td>
|
||||
<td><button type="submit" class="btn"><i class="fa fa-save"></i> <?php printMLText($transmittal ? "save" : "add_transmittal")?></button></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
@ -357,7 +357,7 @@ $(document).ready( function() {
|
|||
print "<td>".count($items)." <em>(".SeedDMS_Core_File::format_filesize($transmittal->getSize()).")</em></td>";
|
||||
print "<td>";
|
||||
print "<div class=\"list-action\">";
|
||||
print "<a class=\"selecttransmittal\" data-transmittalid=\"".$transmittal->getID()."\" href=\"../out/out.TransmittalMgr.php?transmittalid=".$transmittal->getID()."\" title=\"".getMLText("edit_transmittal_props")."\"><i class=\"icon-edit\"></i></a>";
|
||||
print "<a class=\"selecttransmittal\" data-transmittalid=\"".$transmittal->getID()."\" href=\"../out/out.TransmittalMgr.php?transmittalid=".$transmittal->getID()."\" title=\"".getMLText("edit_transmittal_props")."\"><i class=\"fa fa-edit\"></i></a>";
|
||||
print "</div>";
|
||||
print "</td>";
|
||||
print "</tr>\n";
|
||||
|
|
|
@ -1274,7 +1274,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
if (!is_object($required)) {
|
||||
$reqName = getMLText("unknown_user")." '".$r["required"]."'";
|
||||
} else {
|
||||
$reqName = "<i class=\"icon-user\"></i> ".htmlspecialchars($required->getFullName()." (".$required->getLogin().")");
|
||||
$reqName = "<i class=\"fa fa-user\"></i> ".htmlspecialchars($required->getFullName()." (".$required->getLogin().")");
|
||||
if($user->isAdmin()) {
|
||||
if($document->getAccessMode($required) < M_READ || $latestContent->getAccessMode($required) < M_READ)
|
||||
$accesserr = getMLText("access_denied");
|
||||
|
@ -1291,7 +1291,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
$reqName = getMLText("unknown_group")." '".$r["required"]."'";
|
||||
}
|
||||
else {
|
||||
$reqName = "<i class=\"icon-group\"></i> ".htmlspecialchars($required->getName());
|
||||
$reqName = "<i class=\"fa fa-group\"></i> ".htmlspecialchars($required->getName());
|
||||
if($user->isAdmin()) {
|
||||
$grpusers = $required->getUsers();
|
||||
if(!$grpusers)
|
||||
|
@ -1405,7 +1405,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
if (!is_object($required)) {
|
||||
$reqName = getMLText("unknown_user")." '".$r["required"]."'";
|
||||
} else {
|
||||
$reqName = "<i class=\"icon-user\"></i> ".htmlspecialchars($required->getFullName()." (".$required->getLogin().")");
|
||||
$reqName = "<i class=\"fa fa-user\"></i> ".htmlspecialchars($required->getFullName()." (".$required->getLogin().")");
|
||||
if($user->isAdmin()) {
|
||||
if($document->getAccessMode($required) < M_READ || $latestContent->getAccessMode($required) < M_READ)
|
||||
$accesserr = getMLText("access_denied");
|
||||
|
@ -1422,7 +1422,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
$reqName = getMLText("unknown_group")." '".$r["required"]."'";
|
||||
}
|
||||
else {
|
||||
$reqName = "<i class=\"icon-group\"></i> ".htmlspecialchars($required->getName());
|
||||
$reqName = "<i class=\"fa fa-group\"></i> ".htmlspecialchars($required->getName());
|
||||
if($required->isMember($user)/* && ($user->getId() != $owner->getId() || $enableownerrevapp == 1)*/)
|
||||
$is_recipient = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user