|
|
 |
| Kategorie: |
PHPKIT 1.6.03 |
| Autor: |
Uwe |
| Datum: |
08.02.2007 |
| Gelesen: |
4120x |
| Drucken: |
 |
|
|
|
|
|
|
|
|
|
Mit dieser kleinen Veränderung ist es möglich bei der 1.6.1 die Seitenzugriffe im Adminbereich automatisch aktualisieren zu lassen. (Mit An / Aus Funktion)
Mit 1.6.03 müsste es ebenso funktionieren, ist aber ungetestet.
(Dauer ca. 2 Min.)
1. Kopiere Deine admin/templates/record.htm und benenne die Kopie record_auto.htm und lade sie ebenfalls in das Verzeichnis admin/templates/ hoch.
2. Kopiere Deine admin/record.php und benenne die Kopie record_auto.php und lade sie
ebenfalls in das Verzeichnis admin/ hoch.
3. admin/templates/record.htm
Suche:
| code: | <tr>
<td class="heads" colspan="2">Seitenzugriffe</td>
</tr> |
|
Ersetze mit:
| code: | <tr>
<td class="heads" width="50%">Seitenzugriffe</td>
<td class="heads" width="50%">
<p align="right">Automatische Aktualisierung <a href="/admin/admin.php?path=record_auto.php">AN</a>
/ AUS</td>
</tr> |
|
4. admin/templates/record_auto.htm
Füge ÜBER:
| code: | <table class=standard cellspacing=1 cellpadding=4 width="100%"> |
|
folgendes ein:
| code: | <meta http-equiv="refresh" content="3"> |
|
(Die Zahl 3 beschreibt die Aktualisierungsrate in Sekunden und kann beliebig geändert werden)
Suche:
| code: | <tr>
<td class="heads" colspan="2">Seitenzugriffe</td>
</tr> |
|
Ersetze mit:
| code: | <tr>
<td class="heads" width="50%">Seitenzugriffe</td>
<td class="heads" width="50%">
<p align="right">Automatische Aktualisierung AN / <a href="/admin/admin.php?path=record.php">AUS</a></td>
</tr> |
|
5. admin/record_auto.php
Suche:
| code: | eval ("\$site_body.= \"".templateinclude("record")."\";"); |
|
Ersetze mit:
| code: | eval ("\$site_body.= \"".templateinclude("record_auto")."\";"); |
|
Fertig. |
|
|
|
|
|