Index: trunk/admin/help/credits.php =================================================================== diff -u -r13 -r65 --- trunk/admin/help/credits.php (.../credits.php) (revision 13) +++ trunk/admin/help/credits.php (.../credits.php) (revision 65) @@ -93,71 +93,7 @@ //require_once ($pathtolocal."admin/include/navmenu.php"); require_once($pathtoroot.$admin."/browse/toolbar.php"); require_once($pathtoroot.$admin."/listview/listview.php"); -/* -$m = GetModuleArray(); -foreach($m as $key=>$value) -{ - $path = $pathtoroot. $value."admin/include/parser.php"; - if(file_exists($path)) - { - include_once($path); - } -} -unset($objEditCat); - -$objEditCat = new clsCatList(); -$objEditCat->SourceTable = $objSession->GetEditTable("Category"); - -//Multiedit init -$en = (int)$_GET["en"]; -$objEditCat->Query_Item("SELECT * FROM ".$objEditCat->SourceTable); -$itemcount=$objEditCat->NumItems(); -$c = $objEditCat->GetItemByIndex($en); - -unset($objEditItems); - -$objEditItems = new clsRelationshipList(); -$objEditItems->SourceTable = $objSession->GetEditTable("Relationship"); - -if(isset($_POST["itemlist"])) -{ - if(is_array($_POST["itemlist"])) - { - $RelationId = $_POST["itemlist"][0]; - } - else - { - $RelationId = $_POST["itemlist"]; - } - - $Rel = new clsRelationship(); - $Rel->tablename = $objEditItems->SourceTable; - $Rel->LoadExpanded($RelationId); - $action = "m_edit_relation"; -} -else -{ - $Rel = new clsRelationship(); - $Rel->Set("SourceType","1"); - $Rel->Set("SourceId",$c->Get("ResourceId")); - $Rel->Set("TargetId",$_POST["TargetId"]); - $Rel->Set("TargetType",$_POST["TargetType"]); - $Rel->Set("Type","0"); - $Rel->Set("Enabled","1"); - $action = "m_add_relation"; -} - -$item = $Rel->GetTargetItemData(); - -$envar = "env=" . BuildEnv() . "&en=$en"; - - -$section = 'in-portal:editcategory_relation'; -*/ - - - $ado = GetADODBConnection(); $title = "In-Portal ".language("la_Credits_Title"); /* page header */ @@ -167,19 +103,41 @@ $title + - - - - - - + - + END; @@ -193,18 +151,34 @@ } ?> - -"> + +">
-








+











In-Portal

- + +
+
+
+ +

+
+ '; + include $inc_path.'legal_warning.txt'; + ?> +
+
+

" onclick="window.close()">