From 423443f412e9bbb7d1f365ed067e62ffdb4ecd12 Mon Sep 17 00:00:00 2001 From: nbm Date: Mon, 5 Dec 2005 14:34:33 +0000 Subject: [PATCH] No more users of PatternTableLinks --- lib/visualpatterns/PatternTableLinks.inc | 92 -------------------------------------------------------------------------------------------- templates/ktcore/standard_links.smarty | 7 ------- 2 files changed, 0 insertions(+), 99 deletions(-) delete mode 100644 lib/visualpatterns/PatternTableLinks.inc delete mode 100644 templates/ktcore/standard_links.smarty 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}
-- libgit2 0.21.4