init files
Dieser Commit ist enthalten in:
Ursprung
46f679b77f
Commit
691c2ffaf0
29 geänderte Dateien mit 2654 neuen und 0 gelöschten Zeilen
67
includes/functions.chains.php
Normale Datei
67
includes/functions.chains.php
Normale Datei
|
|
@ -0,0 +1,67 @@
|
|||
<?php
|
||||
/**
|
||||
* Project:
|
||||
* Contenido Content Management System
|
||||
*
|
||||
* Description:
|
||||
* Chains for Content Allocation
|
||||
*
|
||||
* Requirements:
|
||||
* @con_php_req 5.0
|
||||
*
|
||||
*
|
||||
* @package Contenido Backend plugins
|
||||
* @version 1.0.1
|
||||
* @author unknown
|
||||
* @copyright four for business AG <www.4fb.de>
|
||||
* @license http://www.contenido.org/license/LIZENZ.txt
|
||||
* @link http://www.4fb.de
|
||||
* @link http://www.contenido.org
|
||||
* @since file available since contenido release <= 4.6
|
||||
*
|
||||
* {@internal
|
||||
* created unknown
|
||||
* modified 2008-07-02, Frederic Schneider, add security fix
|
||||
*
|
||||
* $Id: functions.chains.php 128 2019-07-03 11:58:28Z oldperl $:
|
||||
* }}
|
||||
*
|
||||
*/
|
||||
|
||||
if(!defined('CON_FRAMEWORK')) {
|
||||
die('Illegal call');
|
||||
}
|
||||
|
||||
function pica_RegisterCustomTab ()
|
||||
{
|
||||
return array("con_contentallocation");
|
||||
}
|
||||
|
||||
function pica_GetCustomTabProperties ($sIntName)
|
||||
{
|
||||
if ($sIntName == "con_contentallocation")
|
||||
{
|
||||
return array("con_contentallocation", "con_edit", "");
|
||||
}
|
||||
}
|
||||
|
||||
function pica_ArticleListActions ($aActions)
|
||||
{
|
||||
$aTmpActions["con_contentallocation"] = "con_contentallocation";
|
||||
|
||||
return $aTmpActions + $aActions;
|
||||
}
|
||||
|
||||
function pica_RenderArticleAction ($idcat, $idart, $idartlang, $actionkey)
|
||||
{
|
||||
global $sess;
|
||||
|
||||
if ($actionkey == "con_contentallocation")
|
||||
{
|
||||
return '<a title="'.i18n("Content Allocation", "content_allocation").'" alt="'. i18n("Content Allocation", "content_allocation").'" href="'.$sess->url('main.php?area=con_contentallocation&action=con_edit&idart='.$idart.'&idartlang='.$idartlang.'&idcat='.$idcat.'&frame=4').'"><img src="plugins/content_allocation/images/call_contentallocation.gif"></a>';
|
||||
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
?>
|
||||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren