Thread TEst 2
Thread 2
Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen
-
-
Nummer drei
Thread 2 -
Nummer drei
Thread 2
-
just testing
PHP-Quellcode: 15
- public function readParameters() {
- parent::readParameters();
- if (WCF::getUser()->userID || WCF::getSession()->getVar('captchaDone')) {
- $this->useCaptcha = false;
- }
- if(isset($_REQUEST['pshorty'])) {
- $this->project = new Project(null, $_REQUEST['pshorty']);
- $this->project->enter();
- #$this->project->checkPermission('issue.create');
- }
- if(isset($_REQUEST['itemID'])) {
- $this->issue = new IssueEditor($this->project->getId(), intval($_REQUEST['itemID']));
- if(!$this->issue->getId()) throw new NamedUserException("Unbekannte Fall-ID");
- $this->project->checkPermission('issue.edit');
- }
- if(isset($_REQUEST['typeID'])) $this->typeID = intval($_REQUEST['typeID']);
- }
- public function readData() {
- parent::readData();
- if(!count($_POST) && $this->issue) {
- $this->issuename = $this->issue->getName();
- $this->description = $this->issue->description;
- $this->sourcecode = $this->issue->sourcecode;
- $this->statusID = $this->issue->statusID;
- $this->packageID = $this->issue->packageID;
- $this->versionID = $this->issue->versionID;
- $this->releaseVersionID = $this->issue->releaseVersionID;
- $this->typeID = $this->issue->typeID;
- $this->duplicateNr = $this->issue->duplicateNr;
- $this->username = $this->issue->username;
- }
- if($this->project->hasModule('versions')) {
- $result = WCF::getDB()->sendQuery("SELECT versionID, versionString, versionname FROM cd".CD_N."_version WHERE packageID = '".($this->packageID ? $this->packageID : 0)."' AND projectID = '".$this->project->getId()."' ORDER BY versionString ASC");
- while ($row = WCF::getDB()->fetchArray($result)) {
- $this->versionList[] = new Version(null, $row);
- }
- Version::sortVersions($this->versionList);
- }
- $result = WCF::getDB()->sendQuery("SELECT * FROM cd".CD_N."_issue_status WHERE projectID = '".$this->project->getId()."' ORDER BY statusID");
- while ($row = WCF::getDB()->fetchArray($result)) {
- $this->statusList[] = $row;
- }
- $result = WCF::getDB()->sendQuery("SELECT * FROM cd".CD_N."_issue_type WHERE projectID = '".$this->project->getId()."' ORDER BY typeID");
- while ($row = WCF::getDB()->fetchArray($result)) {
- $this->typeList[] = $row;
- }
- $result = WCF::getDB()->sendQuery("SELECT issueID, mynr, subject FROM cd".CD_N."_issue WHERE projectID = '".$this->project->getId()."' ORDER BY mynr DESC");
- while ($row = WCF::getDB()->fetchArray($result)) {
- if($this->issue && $this->issue->getNr() == $row['mynr']) continue;
- $this->issueList[] = $row;
- }
- $this->packageList = Package::getPackages($this->project->getId());
- if($this->typeID === null) {
- if(count($this->typeList) <= 0) $this->typeID = 0;
- else if(count($this->typeList) == 1) $this->typeID = $this->typeList[0]['typeID'];
- else $this->templateName = 'issueType';
- }
- else {
- $this->type = WCF::getDB()->getFirstRow("SELECT * FROM cd".CD_N."_issue_type WHERE typeID = '".$this->typeID."' AND projectID = '".$this->project->getId()."'");
- if(!$this->type) throw new NamedUserException("Unbekannter Falltyp");
- }
- }
-
-
-
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Boohja schrieb:
Nummer drei
So siehts nämlich aus
[ol]
[li]alpha[/li]
[li]beta[/li]
[li]gamma[/li]
[/ol]
Und nun normal:
[ul]
[li]alpha[/li]
[li]beta[/li]
[li]gamma[/li]
[/ul] -
Boohja schrieb:
et clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem i -
Nochmal zum testen:
"achja?" schrieb:
Oder so ähnlich -
loift
-
Teilen
- Facebook 0
- Twitter 0
- Google Plus 0
- Reddit 0