|
Revision 12982, 1.0 kB
(checked in by hartym, 5 years ago)
|
[1.2] added alt attributes to web debug toolbar icons to be xhtml valid
|
- Property svn:mime-type set to
text/x-php
- Property svn:eol-style set to
native
- Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
class sfWebDebugPanelCache extends sfWebDebugPanel |
|---|
| 21 |
{ |
|---|
| 22 |
public function getTitle() |
|---|
| 23 |
{ |
|---|
| 24 |
return '<img src="'.$this->webDebug->getOption('image_root_path').'/reload.png" alt="Reload" />'; |
|---|
| 25 |
} |
|---|
| 26 |
|
|---|
| 27 |
public function getTitleUrl() |
|---|
| 28 |
{ |
|---|
| 29 |
return $_SERVER['PHP_SELF'].((strpos($_SERVER['PHP_SELF'], '_sf_ignore_cache') === false) ? '?_sf_ignore_cache=1' : ''); |
|---|
| 30 |
} |
|---|
| 31 |
|
|---|
| 32 |
public function getPanelTitle() |
|---|
| 33 |
{ |
|---|
| 34 |
return 'reload and ignore cache'; |
|---|
| 35 |
} |
|---|
| 36 |
|
|---|
| 37 |
public function getPanelContent() |
|---|
| 38 |
{ |
|---|
| 39 |
} |
|---|
| 40 |
} |
|---|
| 41 |
|
|---|