Neue Antwort erstellen
Lieber Besucher, herzlich willkommen bei: Comasu. Falls dies dein erster Besuch auf dieser Seite ist, lies bitte die Hilfe durch. Dort wird dir die Bedienung dieser Seite näher erläutert. Darüber hinaus solltest du dich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutze das Registrierungsformular, um dich zu registrieren oder informiere dich ausführlich über den Registrierungsvorgang. Falls du dich bereits zu einem früheren Zeitpunkt registriert hast, kannst du dich hier anmelden.
Achtung! Die letzte Antwort auf dieses Thema liegt mehr als 3 672 Tage zurück. Das Thema ist womöglich bereits veraltet. Erstelle ggf. ein neues Thema.
Boohja
Dienstag, 27. Mai 2014, 10:39
Nochmal zum testen:
Zitat von »"achja?"«
Oder so ähnlich
Boohja
Sonntag, 13. April 2014, 12:19Zitat von »Boohja «
et clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem i
Boohja
Samstag, 29. März 2014, 17:46
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.
So siehts nämlich aus
Und nun normal:
Zitat von »Boohja «
Nummer drei
So siehts nämlich aus
- alpha
- beta
- gamma
Und nun normal:
- alpha
- beta
- gamma
Boohja
Dienstag, 25. März 2014, 14:11Boohja
Dienstag, 25. März 2014, 11:03Boohja
Freitag, 21. März 2014, 19:51
just testing :D
PHP-Quelltext
- 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");
- }
- }
<?php 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");
}
} ?>
Boohja
Montag, 17. März 2014, 20:56
Nummer drei
Thread 2
Thread 2
Boohja
Montag, 17. März 2014, 20:56
Nummer drei
Thread 2
Thread 2
PHP-Quelltext
<?php public static function encrypt($value) {
if (defined('ENCRYPTION_METHOD')) {
switch (ENCRYPTION_METHOD) {
case 'sha1': return sha1($value);
case 'md5': return md5($value);
case 'crc32': return crc32($value);
case 'crypt': return crypt($value);
}
}
return sha1($value);
} ?>