| @@ 316-323 (lines=8) @@ | ||
| 313 | return $this->LinkWithSearch(CMSMain::singleton()->Link('listview')); |
|
| 314 | } |
|
| 315 | ||
| 316 | public function LinkPageEdit($id = null) |
|
| 317 | { |
|
| 318 | if (!$id) { |
|
| 319 | $id = $this->currentPageID(); |
|
| 320 | } |
|
| 321 | return $this->LinkWithSearch( |
|
| 322 | Controller::join_links(CMSPageEditController::singleton()->Link('show'), $id) |
|
| 323 | ); |
|
| 324 | } |
|
| 325 | ||
| 326 | public function LinkPageSettings() |
|
| @@ 326-334 (lines=9) @@ | ||
| 323 | ); |
|
| 324 | } |
|
| 325 | ||
| 326 | public function LinkPageSettings() |
|
| 327 | { |
|
| 328 | if ($id = $this->currentPageID()) { |
|
| 329 | return $this->LinkWithSearch( |
|
| 330 | Controller::join_links(CMSPageSettingsController::singleton()->Link('show'), $id) |
|
| 331 | ); |
|
| 332 | } else { |
|
| 333 | return null; |
|
| 334 | } |
|
| 335 | } |
|
| 336 | ||
| 337 | public function LinkPageHistory() |
|
| @@ 337-345 (lines=9) @@ | ||
| 334 | } |
|
| 335 | } |
|
| 336 | ||
| 337 | public function LinkPageHistory() |
|
| 338 | { |
|
| 339 | if ($id = $this->currentPageID()) { |
|
| 340 | return $this->LinkWithSearch( |
|
| 341 | Controller::join_links(CMSPageHistoryController::singleton()->Link('show'), $id) |
|
| 342 | ); |
|
| 343 | } else { |
|
| 344 | return null; |
|
| 345 | } |
|
| 346 | } |
|
| 347 | ||
| 348 | public function LinkWithSearch($link) |
|