<h1>{lang}wcf.acp.updateServer.list{/lang}</h1>
</header>
-{if $deletedPackageUpdateServerID}
- <p class="success">{lang}wcf.acp.updateServer.delete.success{/lang}</p>
-{/if}
-
<div class="contentNavigation">
{pages print=true assign=pagesLinks controller="PackageUpdateServerList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}
<dd>
<div id="synonymList" class="editableItemList"></div>
<input id="synonyms" type="text" value="" class="long" />
- {if $errorField == 'synonyms'}
- <small class="innerError">
- {if $errorType == 'duplicate'}
- {lang}wcf.acp.tag.error.synonym.duplicate{/lang}
- {/if}
- </small>
- {/if}
</dd>
</dl>
<?php
namespace wcf\acp\page;
use wcf\page\SortablePage;
-use wcf\system\WCF;
/**
* Shows information about available update package servers.
*/
public $objectListClassName = 'wcf\data\package\update\server\PackageUpdateServerList';
- /**
- * id of a package update server that has just been deleted
- * @var integer
- */
- public $deletedPackageUpdateServerID = 0;
-
- /**
- * @see \wcf\page\IPage::readParameters()
- */
- public function readParameters() {
- parent::readParameters();
-
- if (isset($_REQUEST['deletedPackageUpdateServerID'])) $this->deletedPackageUpdateServerID = intval($_REQUEST['deletedPackageUpdateServerID']);
- }
-
/**
* @see \wcf\page\MultipleLinkPage::readObjects()
*/
parent::readObjects();
}
-
- /**
- * @see \wcf\page\IPage::assignVariables()
- */
- public function assignVariables() {
- parent::assignVariables();
-
- WCF::getTPL()->assign(array(
- 'deletedPackageUpdateServerID' => $this->deletedPackageUpdateServerID
- ));
- }
}