/** * Aktualisiert * @return bool */ public function update() { $values = array('?', '?', '?', '?', '?', '?', '?', '?', '?', '?'); $params = array($this->getPageName(), $this->getPageUrl(), $this->getPageAdminName(), $this->getPageAdminEmail(), \tools::removeUploadPath($this->getPageButton()), $this->getAffiliateCategory(), $this->getAffiliateAddedTime(), $this->getAffiliateEditedTime(), $this->affiliateIsMarked(), $this->affiliateIsAccpted()); $where = "id = {$this->id}"; return $this->dbconnection->update($this->tabName, $this->fields, $values, $params, $where); }
<?php if (!defined('VIEW')) { die; } $iconPath = tools::removeUploadPath($category->getIconPath()); ?> <form method="post" action=""> <div class="afltr-acp-top-buttons"> <?php if ($editormode == 0) { ?> <a href="#" class="buttons show-upload-dialog" title="<?php language::printLanguageConstant('FILES_UPLOAD_AC_NOTICE'); ?> "><?php language::printLanguageConstant('FILES_UPLOAD'); ?> </a> <?php } ?> <?php if ($editormode == 1) { ?> <a href="#" class="buttons show-integration-dialog"><?php language::printLanguageConstant('CATEGORY_INTEGRATION'); ?> </a> <?php }
<?php if (!defined('VIEW')) { die; } $fields = array('pageButton' => tools::removeUploadPath($affiliate->getPageButton()), 'pageName' => $affiliate->getPageName(), 'pageUrl' => $affiliate->getPageUrl(), 'pageAdminName' => $affiliate->getPageAdminName(), 'pageAdminEmail' => $affiliate->getPageAdminEmail()); ?> <form method="post" action=""> <div class="afltr-acp-top-buttons"> <?php if ($editormode == 0) { ?> <a href="#" class="buttons show-upload-dialog" title="<?php language::printLanguageConstant('FILES_UPLOAD_AC_NOTICE'); ?> "><?php language::printLanguageConstant('FILES_UPLOAD'); ?> </a> <div class="afltr-divider-buttons"></div> <?php } ?> <?php viewHelper::saveButton('submsave'); ?> <?php viewHelper::resetButton('subreset'); ?> </div>
/** * Aktualisiert * @return bool */ public function update() { $values = array('?', '?', '?'); $params = array($this->getName(), \tools::removeUploadPath($this->getIconPath()), $this->isPrivate()); $where = "id = {$this->id}"; return $this->dbconnection->update($this->tabName, $this->fields, $values, $params, $where); }