mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
0bc0a09bf4
- application/extensions file system permission now is 775 - application/logs file system permission now is 775 - Added extensions directory in application/: config, controllers, helpers, hooks, libraries, models, views and widgets - Added view views/extensions/manage.php - Added controller controllers/system/extensions/Manager.php - Added library ExtensionsLib to manage extensions - Added model models/system/Extensions_model.php - Moved code related to print out info from MigrationLib to EPrintfLib
66 lines
2.4 KiB
PHP
66 lines
2.4 KiB
PHP
<?php
|
|
require_once('../../config/vilesci.config.inc.php');
|
|
require_once('../../include/functions.inc.php');
|
|
?>
|
|
|
|
|
|
function reloadRessourceTasks()
|
|
{
|
|
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
|
var tree=document.getElementById('tree-projektmenue');
|
|
|
|
// Wenn auf die Ueberschrift geklickt wird, soll nix passieren
|
|
if(tree.currentIndex==-1)
|
|
return;
|
|
|
|
var projekt_kurzbz=getTreeCellText(tree, "treecol-projektmenue-projekt_kurzbz", tree.currentIndex);
|
|
var path = '<?php echo APP_ROOT; ?>content/projekt/ressourcenauslastung.php?typ=task&projekt_kurzbz='+projekt_kurzbz+'&'+gettimestamp();
|
|
|
|
document.getElementById('iframe-ressource-projekttask').setAttribute('src',path);
|
|
}
|
|
|
|
function reloadRessourcePhasen()
|
|
{
|
|
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
|
var tree=document.getElementById('tree-projektmenue');
|
|
|
|
// Wenn auf die Ueberschrift geklickt wird, soll nix passieren
|
|
if(tree.currentIndex==-1)
|
|
return;
|
|
|
|
var projekt_kurzbz=getTreeCellText(tree, "treecol-projektmenue-projekt_kurzbz", tree.currentIndex);
|
|
var path = '<?php echo APP_ROOT; ?>content/projekt/ressourcenauslastung.php?typ=phase&projekt_kurzbz='+projekt_kurzbz+'&'+gettimestamp();
|
|
|
|
document.getElementById('iframe-ressource-projektphase').setAttribute('src',path);
|
|
}
|
|
|
|
function RessourcePrintTask()
|
|
{
|
|
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
|
var tree=document.getElementById('tree-projektmenue');
|
|
|
|
// Wenn auf die Ueberschrift geklickt wird, soll nix passieren
|
|
if(tree.currentIndex==-1)
|
|
return;
|
|
|
|
var projekt_kurzbz=getTreeCellText(tree, "treecol-projektmenue-projekt_kurzbz", tree.currentIndex);
|
|
var path = '<?php echo APP_ROOT; ?>content/projekt/ressourcenauslastung.php?typ=task&projekt_kurzbz='+projekt_kurzbz+'&'+gettimestamp();
|
|
|
|
var foo = window.open(path);
|
|
foo.print();
|
|
}
|
|
|
|
function RessourcePrintPhasen()
|
|
{
|
|
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
|
var tree=document.getElementById('tree-projektmenue');
|
|
|
|
// Wenn auf die Ueberschrift geklickt wird, soll nix passieren
|
|
if(tree.currentIndex==-1)
|
|
return;
|
|
|
|
var projekt_kurzbz=getTreeCellText(tree, "treecol-projektmenue-projekt_kurzbz", tree.currentIndex);
|
|
var path = '<?php echo APP_ROOT; ?>content/projekt/ressourcenauslastung.php?typ=phase&projekt_kurzbz='+projekt_kurzbz+'&'+gettimestamp();
|
|
var foo = window.open(path);
|
|
foo.print();
|
|
}
|