diff --git a/lib/visualpatterns/PatternTableLinks.inc b/lib/visualpatterns/PatternTableLinks.inc deleted file mode 100644 index 1a2b33e..0000000 --- a/lib/visualpatterns/PatternTableLinks.inc +++ /dev/null @@ -1,92 +0,0 @@ -aLinks = $aNewLinks; - $this->aLinksText = $aNewLinksText; - $this->aLinkImages = $aNewLinkImages; - $this->iRows = $iNewRows; - $this->iColumns = $iNewColumns; - $this->iLinkType = $iNewLinkType; - } - - /** - * Build the HTML string used to render the object - * - * @return String of HTML used to render object - */ - function & render() { - global $default; - - $oTemplating = KTTemplating::getSingleton(); - $oTemplate = $oTemplating->loadTemplate("ktcore/standard_links"); - if (count($this->aLinksText)) { - $aMyLinks = array_combine($this->aLinksText, $this->aLinks); - } else { - $aMyLinks = array(); - } - $aTemplateData = array( - "array_size" => count($this->aLinks), - "links" => $aMyLinks, - ); - $sToRender = $oTemplate->render($aTemplateData); - - return $sToRender; - } -} - -?> diff --git a/templates/ktcore/standard_links.smarty b/templates/ktcore/standard_links.smarty deleted file mode 100644 index d1acbad..0000000 --- a/templates/ktcore/standard_links.smarty +++ /dev/null @@ -1,7 +0,0 @@ - -{ foreach from=$links key=k item=v } - - - -{ /foreach } -
{$k}