瀏覽代碼

Merge branch 'master' of biuro.biall-net.pl:plabudda/se

Piotr Labudda 10 年之前
父節點
當前提交
50ea04be82
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      SE/procesy5.php

+ 4 - 4
SE/procesy5.php

@@ -2087,8 +2087,9 @@ function tree_callback__show_item_from_CRM_PROCES( &$r, &$tree ) {
 			}
 		}
 		//if ($bold) echo "***";
-		if ($tree->get_param('editable')) echo App::link("Z+", "index.php?MENU_INIT=PROCES_ADD_ZASOB&procesID=".$r->ID, array('title'=>'Dodaj', 'class'=>'btn-p5'));
-
+		if ($tree->get_param('editable')) { echo App::link("Z+", "index.php?MENU_INIT=PROCES_ADD_ZASOB&procesID=".$r->ID, array('title'=>'Dodaj', 'class'=>'btn-p5'));
+			echo App::link("↵+", "index.php?MENU_INIT=VIEWTABLE_AJAX&ZASOB_ID=".$tree->get_param('ProcesTblId')."&ff_PARENT_ID=".$r->ID."#CREATE", array('class'=>'btn-p5', 'title'=>'Dodaj dziecko', 'onclick'=>null));
+		}
 		$opis_before = ''; $opis_after = '';
 		$tbl = 'CRM_PROCES';
 		if ($tree->get_param('filtr_img')) {
@@ -2586,8 +2587,7 @@ echo'<pre style="max-height:200px;overflow:auto;border:1px solid red;">zasoby_id
 				// permy z $zasob->CW_TYP
 			}
 		}
-
-		echo'</dd>';
+				echo'</dd>';
 	}
 
 	echo'</dl>'."\n";