-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated license texts, added support for tags in calendars
- Loading branch information
Showing
36 changed files
with
310 additions
and
594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,15 @@ | ||
<?php | ||
|
||
/** | ||
* @copyright Helmut Schottmüller <[email protected]> | ||
* @author Helmut Schottmüller <[email protected]> | ||
* @package Frontend | ||
* @license LGPL | ||
* @filesource | ||
* Contao Open Source CMS - tags extension | ||
* | ||
* Copyright (c) 2009-2016 Helmut Schottmüller | ||
* | ||
* @license LGPL-3.0+ | ||
*/ | ||
|
||
namespace Contao; | ||
|
||
if (!defined('TL_ROOT')) die('You can not access this file directly!'); | ||
|
||
/** | ||
* Class ContentHeadline | ||
* | ||
* Front end content element "headline". | ||
* @copyright Helmut Schottmüller <[email protected]> | ||
* @author Helmut Schottmüller <[email protected]> | ||
* @package Controller | ||
*/ | ||
class ContentHeadlineTags extends \ContentHeadline | ||
{ | ||
/** | ||
|
@@ -33,4 +23,3 @@ public function generate() | |
} | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,15 @@ | ||
<?php | ||
|
||
/** | ||
* TYPOlight webCMS | ||
* Copyright (C) 2005 Leo Feyer | ||
* | ||
* This program is free software: you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation, either | ||
* version 2.1 of the License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this program. If not, please visit the Free | ||
* Software Foundation website at http://www.gnu.org/licenses/. | ||
* | ||
* PHP version 5 | ||
* @copyright Helmut Schottmüller 2008 | ||
* @author Helmut Schottmüller <[email protected]> | ||
* @package Backend | ||
* @license LGPL | ||
* @filesource | ||
*/ | ||
|
||
namespace Contao; | ||
|
||
/** | ||
* Class TagField | ||
* Contao Open Source CMS - tags extension | ||
* | ||
* Copyright (c) 2009-2016 Helmut Schottmüller | ||
* | ||
* Provide methods to handle tag input fields. | ||
* @copyright Helmut Schottmüller 2008 | ||
* @author Helmut Schottmüller <[email protected]> | ||
* @package Controller | ||
* @license LGPL-3.0+ | ||
*/ | ||
|
||
class TagField extends \TextField | ||
{ | ||
protected $blnSubmitInput = FALSE; | ||
|
@@ -176,4 +150,3 @@ public function validate() | |
} | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,15 @@ | ||
<?php | ||
|
||
/** | ||
* TYPOlight webCMS | ||
* Copyright (C) 2005 Leo Feyer | ||
* | ||
* This program is free software: you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation, either | ||
* version 2.1 of the License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this program. If not, please visit the Free | ||
* Software Foundation website at http://www.gnu.org/licenses/. | ||
* | ||
* PHP version 5 | ||
* @copyright Helmut Schottmüller 2008-2010 | ||
* @author Helmut Schottmüller <[email protected]> | ||
* @package memberextensions | ||
* @license LGPL | ||
* @filesource | ||
*/ | ||
namespace Contao; | ||
|
||
/** | ||
* Class TagHelper | ||
* Contao Open Source CMS - tags extension | ||
* | ||
* Copyright (c) 2008-2016 Helmut Schottmüller | ||
* | ||
* Helper class for tags | ||
* @copyright Helmut Schottmüller 2008-2010 | ||
* @author Helmut Schottmüller <[email protected]> | ||
* @package Controller | ||
* @license LGPL-3.0+ | ||
*/ | ||
|
||
namespace Contao; | ||
|
||
class TagHelper extends \Backend | ||
{ | ||
/** | ||
|
@@ -48,6 +21,11 @@ public function __construct() | |
$this->import('Database'); | ||
} | ||
|
||
public function getAllEvents($arrEvents, $arrCalendars, $intStart, $intEnd, $caller) | ||
{ | ||
return $arrEvents; | ||
} | ||
|
||
/* | ||
* Cleanup all tags that are associated to no longer existing TYPOlight objects | ||
*/ | ||
|
@@ -334,6 +312,7 @@ public function getTagsAndTaglistForIdAndTable($id, $table, $jumpto) | |
foreach ($tags as $id => $tag) | ||
{ | ||
$strUrl = ampersand($this->generateFrontendUrl($pageArr, $items . '/tag/' . \System::urlencode($tag))); | ||
if (strlen(\Environment::get('queryString'))) $strUrl .= "?" . \Environment::get('queryString'); | ||
$tags[$id] = '<a href="' . $strUrl . '">' . specialchars($tag) . '</a>'; | ||
$taglist[$id] = array( | ||
'url' => $tags[$id], | ||
|
@@ -392,4 +371,3 @@ public function generateNewsFeed() | |
} | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,15 @@ | ||
<?php | ||
|
||
/** | ||
* TYPOlight webCMS | ||
* Copyright (C) 2005 Leo Feyer | ||
* | ||
* This program is free software: you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation, either | ||
* version 2.1 of the License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this program. If not, please visit the Free | ||
* Software Foundation website at http://www.gnu.org/licenses/. | ||
* | ||
* PHP version 5 | ||
* @copyright Helmut Schottmüller 2008 | ||
* @author Helmut Schottmüller <[email protected]> | ||
* @package Backend | ||
* @license LGPL | ||
* @filesource | ||
*/ | ||
|
||
namespace Contao; | ||
|
||
if (!defined('TL_ROOT')) die('You can not access this file directly!'); | ||
|
||
|
||
/** | ||
* Class TagList | ||
* Contao Open Source CMS - tags extension | ||
* | ||
* Provide methods to handle tag input fields. | ||
* @copyright Helmut Schottmüller 2008 | ||
* @author Helmut Schottmüller <[email protected]> | ||
* @package Controller | ||
* Copyright (c) 2008-2016 Helmut Schottmüller | ||
* | ||
* @license LGPL-3.0+ | ||
*/ | ||
|
||
class TagList extends \System | ||
{ | ||
protected $forTable = ""; | ||
|
@@ -527,5 +498,3 @@ public function __get($strKey) | |
} | ||
} | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,13 @@ | ||
<?php if (!defined('TL_ROOT')) die('You can not access this file directly!'); | ||
<?php | ||
|
||
/** | ||
* TYPOlight webCMS | ||
* Copyright (C) 2005 Leo Feyer | ||
* Contao Open Source CMS - tags extension | ||
* | ||
* This program is free software: you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation, either | ||
* version 2.1 of the License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this program. If not, please visit the Free | ||
* Software Foundation website at http://www.gnu.org/licenses/. | ||
* Copyright (c) 2008-2016 Helmut Schottmüller | ||
* | ||
* PHP version 5 | ||
* @copyright Helmut Schottmüller 2008 | ||
* @author Helmut Schottmüller <[email protected]> | ||
* @package Backend | ||
* @license LGPL | ||
* @filesource | ||
* @license LGPL-3.0+ | ||
*/ | ||
|
||
|
||
/** | ||
* Form fields | ||
*/ | ||
|
@@ -59,7 +40,6 @@ | |
$GLOBALS['FE_MOD']['news']['newslist'] = 'ModuleNewsListTags'; | ||
$GLOBALS['FE_MOD']['news']['newsarchive'] = 'ModuleNewsArchiveTags'; | ||
$GLOBALS['FE_MOD']['news']['newsreader'] = 'ModuleNewsReaderTags'; | ||
$GLOBALS['FE_MOD']['events']['calendar'] = 'ModuleCalendarTags'; | ||
$GLOBALS['FE_MOD']['events']['eventlist'] = 'ModuleEventlistTags'; | ||
$GLOBALS['FE_MOD']['events']['eventreader'] = 'ModuleEventReaderTags'; | ||
$GLOBALS['FE_MOD']['faq']['faqlist'] = 'ModuleFaqListTags'; | ||
|
@@ -144,4 +124,3 @@ | |
} | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.