| @@ 302-309 (lines=8) @@ | ||
| 299 | return $this->LinkWithSearch(CMSMain::singleton()->Link('listview')); |
|
| 300 | } |
|
| 301 | ||
| 302 | public function LinkPageEdit($id = null) |
|
| 303 | { |
|
| 304 | if (!$id) { |
|
| 305 | $id = $this->currentPageID(); |
|
| 306 | } |
|
| 307 | return $this->LinkWithSearch( |
|
| 308 | Controller::join_links(CMSPageEditController::singleton()->Link('show'), $id) |
|
| 309 | ); |
|
| 310 | } |
|
| 311 | ||
| 312 | public function LinkPageSettings() |
|
| @@ 312-320 (lines=9) @@ | ||
| 309 | ); |
|
| 310 | } |
|
| 311 | ||
| 312 | public function LinkPageSettings() |
|
| 313 | { |
|
| 314 | if ($id = $this->currentPageID()) { |
|
| 315 | return $this->LinkWithSearch( |
|
| 316 | Controller::join_links(CMSPageSettingsController::singleton()->Link('show'), $id) |
|
| 317 | ); |
|
| 318 | } else { |
|
| 319 | return null; |
|
| 320 | } |
|
| 321 | } |
|
| 322 | ||
| 323 | public function LinkPageHistory() |
|
| @@ 323-331 (lines=9) @@ | ||
| 320 | } |
|
| 321 | } |
|
| 322 | ||
| 323 | public function LinkPageHistory() |
|
| 324 | { |
|
| 325 | if ($id = $this->currentPageID()) { |
|
| 326 | return $this->LinkWithSearch( |
|
| 327 | Controller::join_links(CMSPageHistoryController::singleton()->Link('show'), $id) |
|
| 328 | ); |
|
| 329 | } else { |
|
| 330 | return null; |
|
| 331 | } |
|
| 332 | } |
|
| 333 | ||
| 334 | public function LinkWithSearch($link) |
|