1
0
Fork 0

Commits vergleichen

..

Keine gemeinsamen Commits. "develop" und "master" haben vollständig unterschiedliche Historien.

19 geänderte Dateien mit 73 neuen und 154 gelöschten Zeilen

1
.gitignore vendored
Datei anzeigen

@ -1 +0,0 @@
/.project

Datei anzeigen

@ -1,9 +1,2 @@
# cl-content-allocation # cl-content-allocation
Content Allocation Plugin for ConLite Content Allocation Plugin for ConLite
This plugin is f used to ad tags to your articles.
History
V 1.0.0
- initial recode to use with CL pluginmanager

Datei anzeigen

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<plugin>
<general active="1">
<plugin_name>ConLite Conten-Allocation</plugin_name>
<plugin_foldername>cl-content-allocation</plugin_foldername>
<uuid>D02CBEF1-45A5-5144-821F-015F6F81EEE0</uuid>
<description>ConLite Content Allocation</description>
<author>ConLite Team</author>
<copyright>ConLite Team</copyright>
<mail>cl-content-allocation@conlite.org</mail>
<website>https://conlite.org</website>
<version>1.0.0</version>
</general>
<requirements php="7.0">
<conlite minversion="2.1.0" />
</requirements>
<conlite>
<areas>
<area menuless="1">content_allocation</area>
<area parent="con" menuless="0">con_contentallocation</area>
</areas>
<actions>
<action area="con_contentallocation">storeallocation</action>
</actions>
<frames>
<frame area="content_allocation" filetype="main" name="cl-content-allocation/includes/include.left_top.php" frameId="1" />
<frame area="content_allocation" filetype="main" name="cl-content-allocation/includes/include.left_bottom.php" frameId="2" />
<frame area="content_allocation" filetype="main" name="cl-content-allocation/includes/include.right_bottom.php" frameId="4" />
<frame area="con_contentallocation" filetype="main" name="cl-content-allocation/includes/include.contentallocation_article.php" frameId="4" />
</frames>
<nav_sub>
<nav area="content_allocation" level="0" navm="extra">cl-content-allocation/xml/;navigation/extra/content_allocation/main</nav>
<nav area="con_contentallocation" level="1" navm="extra">cl-content-allocation/xml/;navigation/contenido/article/content_allocation</nav>
</nav_sub>
</conlite>
</plugin>

Datei anzeigen

@ -103,7 +103,7 @@ class pApiContentAllocationArticle extends pApiTree {
$this->tpl->next(); $this->tpl->next();
} }
$this->tpl->set('s', "CATEGORY", i18n("Category", "cl-content-allocation")); $this->tpl->set('s', "CATEGORY", i18n("Category", "content_allocation"));
if ($return === true) { if ($return === true) {
return $this->tpl->generate($this->template, true); return $this->tpl->generate($this->template, true);

Datei anzeigen

@ -96,7 +96,7 @@ class pApiContentAllocationTreeView extends pApiTree {
controller.focus(); controller.focus();
function fieldCheck() { function fieldCheck() {
if (controller.value == "") { if (controller.value == "") {
alert("' . i18n("Please enter a category name", "cl-content-allocation") . '"); alert("' . i18n("Please enter a category name", "content_allocation") . '");
controller.focus(); controller.focus();
return false; return false;
} }
@ -120,23 +120,23 @@ class pApiContentAllocationTreeView extends pApiTree {
} }
$item['ITEMINDENT'] = $item_tmp['level'] * 15 + 3; $item['ITEMINDENT'] = $item_tmp['level'] * 15 + 3;
$item['ACTION_CREATE'] = '<a href="main.php?contenido=' . $sess->id . '&action=' . $action . '&frame=' . $frame . '&area=' . $area . '&step=add&parentid=' . $item_tmp['idpica_alloc'] . '"><img src="images/folder_new.gif" border="0" title="' . i18n("New category", "cl-content-allocation") . '" alt="' . i18n("New category", "cl-content-allocation") . '" /></a>'; $item['ACTION_CREATE'] = '<a href="main.php?contenido=' . $sess->id . '&action=' . $action . '&frame=' . $frame . '&area=' . $area . '&step=add&parentid=' . $item_tmp['idpica_alloc'] . '"><img src="images/folder_new.gif" border="0" title="' . i18n("New category", "content_allocation") . '" alt="' . i18n("New category", "content_allocation") . '" /></a>';
$item['ACTION_RENAME'] = '<a href="main.php?contenido=' . $sess->id . '&action=' . $action . '&frame=' . $frame . '&area=' . $area . '&step=rename&idpica_alloc=' . $item_tmp['idpica_alloc'] . '"><img src="images/but_todo.gif" width="16" height="16" border="0" alt="' . i18n("Rename category", "cl-content-allocation") . '" title="' . i18n("Rename category", "cl-content-allocation") . '" /></a>'; $item['ACTION_RENAME'] = '<a href="main.php?contenido=' . $sess->id . '&action=' . $action . '&frame=' . $frame . '&area=' . $area . '&step=rename&idpica_alloc=' . $item_tmp['idpica_alloc'] . '"><img src="images/but_todo.gif" width="16" height="16" border="0" alt="' . i18n("Rename category", "content_allocation") . '" title="' . i18n("Rename category", "content_allocation") . '" /></a>';
$item['ACTION_MOVE_UP'] = (count($result) >= 1) ? '<a href="main.php?contenido=' . $sess->id . '&action=' . $action . '&frame=' . $frame . '&area=' . $area . '&step=moveup&idpica_alloc=' . $item_tmp['idpica_alloc'] . '"><img src="images/folder_moveup.gif" border="0" alt="' . i18n("Move category up", "cl-content-allocation") . '" title="' . i18n("Move category up", "cl-content-allocation") . '" /></a>' : '<img src="images/spacer.gif" width="16" height="16" /></a>'; $item['ACTION_MOVE_UP'] = (count($result) >= 1) ? '<a href="main.php?contenido=' . $sess->id . '&action=' . $action . '&frame=' . $frame . '&area=' . $area . '&step=moveup&idpica_alloc=' . $item_tmp['idpica_alloc'] . '"><img src="images/folder_moveup.gif" border="0" alt="' . i18n("Move category up", "content_allocation") . '" title="' . i18n("Move category up", "content_allocation") . '" /></a>' : '<img src="images/spacer.gif" width="16" height="16" /></a>';
$item['ACTION_MOVE_DOWN'] = (count($result) >= 1) ? '<img src="images/folder_movedown.gif" border="0" alt="' . i18n("Move category down", "cl-content-allocation") . '" title="' . i18n("Move category down", "cl-content-allocation") . '" />' : '<img src="images/spacer.gif" width="16" height="16" />'; $item['ACTION_MOVE_DOWN'] = (count($result) >= 1) ? '<img src="images/folder_movedown.gif" border="0" alt="' . i18n("Move category down", "content_allocation") . '" title="' . i18n("Move category down", "content_allocation") . '" />' : '<img src="images/spacer.gif" width="16" height="16" />';
$item['ACTION_MOVE_DOWN'] = ''; $item['ACTION_MOVE_DOWN'] = '';
if ($item_tmp['online'] == 1) { // set offline if ($item_tmp['online'] == 1) { // set offline
$item['ACTION_ONOFFLINE'] = '<a href="main.php?contenido=' . $sess->id . '&action=' . $action . '&frame=' . $frame . '&area=' . $area . '&step=offline&idpica_alloc=' . $item_tmp['idpica_alloc'] . '""><img src="images/online.gif" alt="' . i18n("Set category offline", "cl-content-allocation") . '" title="' . i18n("Set category offline", "cl-content-allocation") . '"></a>'; $item['ACTION_ONOFFLINE'] = '<a href="main.php?contenido=' . $sess->id . '&action=' . $action . '&frame=' . $frame . '&area=' . $area . '&step=offline&idpica_alloc=' . $item_tmp['idpica_alloc'] . '""><img src="images/online.gif" alt="' . i18n("Set category offline", "content_allocation") . '" title="' . i18n("Set category offline", "content_allocation") . '"></a>';
} else { } else {
$item['ACTION_ONOFFLINE'] = '<a href="main.php?contenido=' . $sess->id . '&action=' . $action . '&frame=' . $frame . '&area=' . $area . '&step=online&idpica_alloc=' . $item_tmp['idpica_alloc'] . '""><img src="images/offline.gif" alt="' . i18n("Set category online", "cl-content-allocation") . '" title="' . i18n("Set category online", "cl-content-allocation") . '"></a>'; $item['ACTION_ONOFFLINE'] = '<a href="main.php?contenido=' . $sess->id . '&action=' . $action . '&frame=' . $frame . '&area=' . $area . '&step=online&idpica_alloc=' . $item_tmp['idpica_alloc'] . '""><img src="images/offline.gif" alt="' . i18n("Set category online", "content_allocation") . '" title="' . i18n("Set category online", "content_allocation") . '"></a>';
} }
if ($item_tmp['children']) { if ($item_tmp['children']) {
$item['ACTION_DELETE'] = '<img src="images/delete_inact.gif" border="0" alt="' . i18n("One or more subcategories exist, unable to delete", "cl-content-allocation") . '" title="' . i18n("One or more subcategories exist, unable to delete", "cl-content-allocation") . '">'; $item['ACTION_DELETE'] = '<img src="images/delete_inact.gif" border="0" alt="' . i18n("One or more subcategories exist, unable to delete", "content_allocation") . '" title="' . i18n("One or more subcategories exist, unable to delete", "content_allocation") . '">';
} else { } else {
$item['ACTION_DELETE'] = '<a href="javascript://" onclick="box.confirm(&quot;' . i18n("Delete category", "cl-content-allocation") . '&quot;, &quot;' . i18n("Are you sure to delete the following category", "cl-content-allocation") . ':<br><br><b>' . str_replace("'", "\'", $item_tmp['name']) . '</b>&quot;,&quot;deleteCategory(' . $item_tmp['idpica_alloc'] . ')&quot;);"><img src="images/delete.gif" border="0" alt="' . i18n("Delete category", "cl-content-allocation") . '" title="' . i18n("Delete category", "cl-content-allocation") . '"></a>'; $item['ACTION_DELETE'] = '<a href="javascript://" onclick="box.confirm(&quot;' . i18n("Delete category", "content_allocation") . '&quot;, &quot;' . i18n("Are you sure to delete the following category", "content_allocation") . ':<br><br><b>' . str_replace("'", "\'", $item_tmp['name']) . '</b>&quot;,&quot;deleteCategory(' . $item_tmp['idpica_alloc'] . ')&quot;);"><img src="images/delete.gif" border="0" alt="' . i18n("Delete category", "content_allocation") . '" title="' . i18n("Delete category", "content_allocation") . '"></a>';
} }
array_push($result, $item); array_push($result, $item);
@ -172,7 +172,7 @@ class pApiContentAllocationTreeView extends pApiTree {
controller.focus(); controller.focus();
function fieldCheck() { function fieldCheck() {
if (controller.value == "") { if (controller.value == "") {
alert("' . i18n("Please enter a category name", "cl-content-allocation") . '"); alert("' . i18n("Please enter a category name", "content_allocation") . '");
controller.focus(); controller.focus();
return false; return false;
} }
@ -219,8 +219,8 @@ class pApiContentAllocationTreeView extends pApiTree {
$this->tpl->next(); $this->tpl->next();
} }
$this->tpl->set('s', 'CATEGORY', i18n("Category", "cl-content-allocation")); $this->tpl->set('s', 'CATEGORY', i18n("Category", "content_allocation"));
$this->tpl->set('s', 'ACTIONS', i18n("Actions", "cl-content-allocation")); $this->tpl->set('s', 'ACTIONS', i18n("Actions", "content_allocation"));
if ($return === true) { if ($return === true) {
return $this->tpl->generate($this->template, true); return $this->tpl->generate($this->template, true);

Datei anzeigen

@ -18,7 +18,7 @@ if(!defined('CON_FRAMEWORK')) {
die('Illegal call'); die('Illegal call');
} }
$sAutoloadClassPath = 'conlite/plugins/cl-content-allocation/classes/'; $sAutoloadClassPath = 'conlite/plugins/content_allocation/classes/';
return array( return array(
'pApiContentAllocation' => $sAutoloadClassPath.'class.content_allocation.php', 'pApiContentAllocation' => $sAutoloadClassPath.'class.content_allocation.php',
'pApiContentAllocationArticle' => $sAutoloadClassPath.'class.content_allocation_article.php', 'pApiContentAllocationArticle' => $sAutoloadClassPath.'class.content_allocation_article.php',

Datei anzeigen

@ -32,6 +32,14 @@ if(!defined('CON_FRAMEWORK')) {
die('Illegal call'); die('Illegal call');
} }
// plugin includes
plugin_include('content_allocation', 'classes/class.content_allocation_tree.php');
plugin_include('content_allocation', 'classes/class.content_allocation_treeview.php');
plugin_include('content_allocation', 'classes/class.content_allocation_article.php');
plugin_include('content_allocation', 'classes/class.content_allocation.php');
plugin_include('content_allocation', 'classes/class.content_allocation_complexlist.php');
// plugin_variables // plugin_variables
$cfg['tab']['pica_alloc'] = $cfg['sql']['sqlprefix'].'_pica_alloc'; $cfg['tab']['pica_alloc'] = $cfg['sql']['sqlprefix'].'_pica_alloc';
$cfg['tab']['pica_alloc_con'] = $cfg['sql']['sqlprefix'].'_pica_alloc_con'; $cfg['tab']['pica_alloc_con'] = $cfg['sql']['sqlprefix'].'_pica_alloc_con';
@ -39,18 +47,18 @@ $cfg['tab']['pica_lang'] = $cfg['sql']['sqlprefix'].'_pica_lang';
$cfg['pica']['logpath'] = $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'repository/log/data/'; $cfg['pica']['logpath'] = $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'repository/log/data/';
$cfg['pica']['loglevel'] = 'warn'; $cfg['pica']['loglevel'] = 'warn';
$cfg['pica']['treetemplate'] = $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'cl-content-allocation/templates/template.tree_structure.html'; $cfg['pica']['treetemplate'] = $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'content_allocation/templates/template.tree_structure.html';
$cfg['pica']['treetemplate_article'] = $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'cl-content-allocation/templates/template.tree_article.html'; $cfg['pica']['treetemplate_article'] = $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'content_allocation/templates/template.tree_article.html';
$cfg['pica']['treetemplate_complexlist'] = $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'cl-content-allocation/templates/template.tree_complexlist.html'; $cfg['pica']['treetemplate_complexlist'] = $cfg['path']['contenido'] . $cfg['path']['plugins'] . 'content_allocation/templates/template.tree_complexlist.html';
$cfg['pica']['style_complexlist'] = $cfg['path']['contenido_fullhtml'] . $cfg['path']['plugins'] . 'cl-content-allocation/style/complexlist.css'; $cfg['pica']['style_complexlist'] = $cfg['path']['contenido_fullhtml'] . $cfg['path']['plugins'] . 'content_allocation/style/complexlist.css';
$cfg['pica']['script_complexlist'] = $cfg['path']['contenido_fullhtml'] . $cfg['path']['plugins'] . 'cl-content-allocation/scripts/complexlist.js'; $cfg['pica']['script_complexlist'] = $cfg['path']['contenido_fullhtml'] . $cfg['path']['plugins'] . 'content_allocation/scripts/complexlist.js';
// administration > users > area translations // administration > users > area translations
global $lngAct, $_cecRegistry; global $lngAct, $_cecRegistry;
$lngAct['con_contentallocation']['storeallocation'] = i18n("Store content allocations", "cl-content-allocation"); $lngAct['con_contentallocation']['storeallocation'] = i18n("Store content allocations", "content_allocation");
plugin_include('cl-content-allocation', 'includes/functions.chains.php'); plugin_include('content_allocation', 'includes/functions.chains.php');
$_cecRegistry->addChainFunction("Contenido.Article.RegisterCustomTab", "pica_RegisterCustomTab"); $_cecRegistry->addChainFunction("Contenido.Article.RegisterCustomTab", "pica_RegisterCustomTab");
$_cecRegistry->addChainFunction("Contenido.Article.GetCustomTabProperties", "pica_GetCustomTabProperties"); $_cecRegistry->addChainFunction("Contenido.Article.GetCustomTabProperties", "pica_GetCustomTabProperties");

Datei anzeigen

@ -58,7 +58,7 @@ function pica_RenderArticleAction ($idcat, $idart, $idartlang, $actionkey)
if ($actionkey == "con_contentallocation") if ($actionkey == "con_contentallocation")
{ {
return '<a title="'.i18n("Content Allocation", "cl-content-allocation").'" alt="'. i18n("Content Allocation", "cl-content-allocation").'" href="'.$sess->url('main.php?area=con_contentallocation&action=con_edit&idart='.$idart.'&idartlang='.$idartlang.'&idcat='.$idcat.'&frame=4').'"><img src="plugins/cl-content-allocation/images/call_contentallocation.gif"></a>'; 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 { } else {
return ""; return "";

Datei anzeigen

@ -36,7 +36,7 @@ if (!defined('CON_FRAMEWORK')) {
Contenido_Security::checkRequests(); Contenido_Security::checkRequests();
if (!($perm->have_perm_area_action($area, "storeallocation") || $perm->have_perm_area_action_item($area, "storeallocation", $idcat))) { if (!($perm->have_perm_area_action($area, "storeallocation") || $perm->have_perm_area_action_item($area, "storeallocation", $idcat))) {
$notification->displayNotification("error", i18n("Permission denied", "cl-content-allocation")); $notification->displayNotification("error", i18n("Permission denied", "content_allocation"));
return; return;
} }
@ -89,7 +89,7 @@ $oTree->setChecked($loadedAllocations);
$result = $oTree->renderTree(true); $result = $oTree->renderTree(true);
if ($result == false) { if ($result == false) {
$result = $notification->returnNotification("warning", i18n('There is no Content Allocation tree.', "cl-content-allocation")); $result = $notification->returnNotification("warning", i18n('There is no Content Allocation tree.', "content_allocation"));
} else { } else {
if (!is_object($tpl)) { if (!is_object($tpl)) {
$tpl = new Template; $tpl = new Template;
@ -116,8 +116,8 @@ if ($result == false) {
$tpl->set('s', 'TREE', $result); $tpl->set('s', 'TREE', $result);
$tpl->set('s', 'REMOVE_ALL', i18n("Remove all", "cl-content-allocation")); $tpl->set('s', 'REMOVE_ALL', i18n("Remove all", "content_allocation"));
$tpl->set('s', 'REMOVE', i18n("Remove", "cl-content-allocation")); $tpl->set('s', 'REMOVE', i18n("Remove", "content_allocation"));
$result = $tpl->generate($cfg['pica']['treetemplate_complexlist'], true); $result = $tpl->generate($cfg['pica']['treetemplate_complexlist'], true);

Datei anzeigen

@ -67,7 +67,7 @@ $oTree = new pApiContentAllocationTreeView('f7771624-4874-4745-8b7e-21a49a71a447
// store item // store item
if ($_POST['step'] == 'store') { if ($_POST['step'] == 'store') {
$pNotify = '<div style="width:410px;margin-bottom:20px;">'; $pNotify = '<div style="width:410px;margin-bottom:20px;">';
$sMessage = sprintf(i18n("New Category %s successfully stored!", "cl-content-allocation"), $treeItem['name']); $sMessage = sprintf(i18n("New Category %s successfully stored!", "content_allocation"), $treeItem['name']);
$notification->displayNotification("info", $sMessage); $notification->displayNotification("info", $sMessage);
$pNotify .= '</div>'; $pNotify .= '</div>';
$oTree->storeItem($aPostTreeItem); $oTree->storeItem($aPostTreeItem);
@ -75,7 +75,7 @@ if ($_POST['step'] == 'store') {
// rename item // rename item
if ($_POST['step'] == 'storeRename') { if ($_POST['step'] == 'storeRename') {
$pNotify = '<div style="width:410px;margin-bottom:20px;">'; $pNotify = '<div style="width:410px;margin-bottom:20px;">';
$sMessage = sprintf(i18n("Category %s successfully renamed!", "cl-content-allocation"), $treeItem['name']); $sMessage = sprintf(i18n("Category %s successfully renamed!", "content_allocation"), $treeItem['name']);
$notification->displayNotification("info", $sMessage); $notification->displayNotification("info", $sMessage);
$pNotify .= '</div>'; $pNotify .= '</div>';
$oTree->storeItem($aPostTreeItem); $oTree->storeItem($aPostTreeItem);
@ -87,7 +87,7 @@ if ($_GET['step'] == 'moveup') {
if ($_GET['step'] == 'deleteItem') { // delete item if ($_GET['step'] == 'deleteItem') { // delete item
$pNotify = '<div style="width:410px;margin-bottom:20px;">'; $pNotify = '<div style="width:410px;margin-bottom:20px;">';
$sMessage = i18n("Category successfully deleted!", "cl-content-allocation"); $sMessage = i18n("Category successfully deleted!", "content_allocation");
$notification->displayNotification("info", $sMessage); $notification->displayNotification("info", $sMessage);
$pNotify .= '</div>'; $pNotify .= '</div>';
$oTree->deleteItem($_GET['idpica_alloc']); $oTree->deleteItem($_GET['idpica_alloc']);
@ -116,7 +116,7 @@ if ($_GET['step'] == 'createRoot') { // create new root item
<input type="hidden" name="area" value="' . $area . '" /> <input type="hidden" name="area" value="' . $area . '" />
<input type="hidden" name="step" value="store" /> <input type="hidden" name="step" value="store" />
<input type="hidden" name="treeItemPost[parentid]" value="root" /> <input type="hidden" name="treeItemPost[parentid]" value="root" />
<tr><td colspan="2" class="text_medium">' . i18n("Create new tree", "cl-content-allocation") . '</td></tr> <tr><td colspan="2" class="text_medium">' . i18n("Create new tree", "content_allocation") . '</td></tr>
<tr> <tr>
<td class="text_medium"><input id="itemname" class="text_medium" type="text" name="treeItemPost[name]" value=""></td> <td class="text_medium"><input id="itemname" class="text_medium" type="text" name="treeItemPost[name]" value=""></td>
<td>&nbsp;<a href="main.php?action=' . $action . '&frame=' . $frame . '&area=' . $area . '&contenido=' . $sess->id . '"><img src="images/but_cancel.gif" border="0" /></a> <td>&nbsp;<a href="main.php?action=' . $action . '&frame=' . $frame . '&area=' . $area . '&contenido=' . $sess->id . '"><img src="images/but_cancel.gif" border="0" /></a>
@ -129,7 +129,7 @@ if ($_GET['step'] == 'createRoot') { // create new root item
controller.focus(); controller.focus();
function fieldCheck() { function fieldCheck() {
if (controller.value == "") { if (controller.value == "") {
alert("' . i18n("Please enter a category name.", "cl-content-allocation") . '"); alert("' . i18n("Please enter a category name.", "content_allocation") . '");
controller.focus(); controller.focus();
return false; return false;
} }
@ -139,7 +139,7 @@ if ($_GET['step'] == 'createRoot') { // create new root item
$oDiv->setContent($form); $oDiv->setContent($form);
$sTemp = $oDiv->render(); $sTemp = $oDiv->render();
} else { } else {
$newTree = '<a href="main.php?action=' . $action . '&step=createRoot&frame=' . $frame . '&area=' . $area . '&contenido=' . $sess->id . '"><img src="images/folder_new.gif" border="0" style="vertical-align: middle; margin-right: 5px;">' . i18n("Create new tree", "cl-content-allocation") . '</a><div style="height:10px"></div>'; $newTree = '<a href="main.php?action=' . $action . '&step=createRoot&frame=' . $frame . '&area=' . $area . '&contenido=' . $sess->id . '"><img src="images/folder_new.gif" border="0" style="vertical-align: middle; margin-right: 5px;">' . i18n("Create new tree", "content_allocation") . '</a><div style="height:10px"></div>';
} }
$result = $oTree->renderTree(true); $result = $oTree->renderTree(true);

Datei anzeigen

@ -1,30 +0,0 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Author: oldperl
* Created: 06.05.2021
*/
CREATE TABLE `!PREFIX!ca_alloc` (
`idpica_alloc` int(10) NOT NULL DEFAULT 0,
`parentid` int(10) DEFAULT NULL,
`sortorder` int(10) NOT NULL DEFAULT 0,
PRIMARY KEY (`idpica_alloc`)
);
CREATE TABLE `!PREFIX!ca_alloc_con` (
`idpica_alloc` int(10) NOT NULL DEFAULT 0,
`idartlang` int(10) NOT NULL DEFAULT 0,
PRIMARY KEY (`idpica_alloc`)
);
CREATE TABLE `!PREFIX!ca_lang` (
`idpica_alloc` int(10) NOT NULL DEFAULT 0,
`idlang` int(10) NOT NULL DEFAULT 0,
`name` varchar(255) DEFAULT NULL,
`online` tinyint(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`idpica_alloc`)
);

Datei anzeigen

@ -1,13 +0,0 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Author: oldperl
* Created: 06.05.2021
*/
DROP TABLE IF EXISTS !PREFIX!ca_alloc;
DROP TABLE IF EXISTS !PREFIX!ca_alloc_con;
DROP TABLE IF EXISTS !PREFIX!ca_lang;

12
xml/content_allocation.xml Normale Datei
Datei anzeigen

@ -0,0 +1,12 @@
<xml version="1.0" encoding="UTF-8">
<plugin>
<main>Content Allocation</main>
<content_allocation></content_allocation>
<contenido>
<article>
<content_allocation>Content Allocation</content_allocation>
</article>
</contenido>
</plugin>

Datei anzeigen

@ -1,15 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Contenido XML language file --> <!-- Contenido XML language file -->
<language> <language>
<navigation> <navigation>
<extra> <extra>
<content_allocation> <content_allocation>
<main>Tagging</main> <main>Content Allocation</main>
</content_allocation> </content_allocation>
</extra> </extra>
<contenido> </navigation>
<article>
<content_allocation>Tagging</content_allocation>
</article>
</contenido>
</language> </language>

Datei anzeigen

@ -1,16 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Contenido XML language file --> <!-- Contenido XML language file -->
<language> <language>
<navigation> <navigation>
<extra> <extra>
<content_allocation> <content_allocation>
<main>Tagging</main> <main>Content Allocation</main>
</content_allocation> </content_allocation>
</extra> </extra>
<contenido> </navigation>
<article>
<content_allocation>Tagging</content_allocation>
</article>
</contenido>
</navigation>
</language> </language>

Datei anzeigen

@ -1,16 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Contenido XML language file --> <!-- Contenido XML language file -->
<language> <language>
<navigation> <navigation>
<extra> <extra>
<content_allocation> <content_allocation>
<main>Tagging</main> <main>Content Allocation</main>
</content_allocation> </content_allocation>
</extra> </extra>
<contenido> </navigation>
<article>
<content_allocation>Tagging</content_allocation>
</article>
</contenido>
</navigation>
</language> </language>