Erstmals vorneweg – ich hab die Modifikation mit der Tippübersicht für mich gemacht und auch noch nicht alles durchgetestet, daher ohne Gewähr.
Macht am Besten vorher einfach eine Kopie von allen Dateien die ihr bearbeitet.
Ich hab aus der alten mobilen Version die Tippübersicht (tipps.php) auf die neue angepasst und bin wie folgt vorgegangen:
Folgende Zeilen habe ich in /mobile/include/functions.mobile.php am Ende vor ?> hinzugefügt:
- function WappenMobileKlein ($short_name, $name, $id, $pfad, $size, $link = TRUE) { $pfad = $pfad.$id.'.gif'; $image = ($link ? '' : '') .'<img src="../'. $pfad .'" border="0" alt="Wappen von '. $short_name .'"' .' title="Wappen von '. $name .'" width="'. $size .'" height="'. $size .'" style="vertical-align:middle;">' .($link ? '' : ''); return $image; }
Dadurch wird dann in der Tippübersicht (tippskomplett.php) die Wappen aus der bulitipp-Installation angezeigt.
Dann hab ich die /mobile/css/custom.css wie folgt ergänzt:
- .sysMsg{ margin:-55px 0 47px -4px; padding:5px 5px 5px 5px; border:1px solid #333333; text-align:center; font-weight:bold; color:#FFFFFF; background-color:#ff6600; float:none;}.sysMsg a, .sysMsg a:active, .sysMsg a:visited, .sysMsg a:hover{ color:#FFFFFF; text-decoration:underline;}.jumpTo{ font-size:1.0em; font-family: "Century Gothic", Verdana, Arial, Helvetica, Sans-Serif; color:#000088; font-weight:bold; background-color:#F4F1E6; margin:auto;}.table_content{ width:100%; -moz-border-radius:5px 5px 5px 5px; background-color: whitesmoke; border-radius:.6em;}.table_end{ width:100%; -moz-border-radius:5px 5px 5px 5px; background-color:#92D050; color:#92D050; border-radius:.6em;}.tipp_td{ text-align:center; background-color:#92d050;}.tipp_name{ text-align:left; font-size: 70%; background-color:#92d050;}.tipp_result{ border-bottom:2px solid #cococo; border-collapse: collapse; border: 1px solid #ABABCC; color:#000; font-size:80%;}.tipp_result2{ border-bottom:2px solid #C0D1DD; background-color:#FFFF00; white-space:nowrap; border-collapse: collapse; border: 1px solid #ABABCC; color: red; font-size:80%;}.tipp_result3{ border-bottom:2px solid #cococo; border-collapse: collapse; color:#000; font-size:80%;}.news th { -moz-border-radius:5px 5px 5px 5px; background-color:#92D050; font-size:1.1em; text-align:left; white-space:nowrap; color:#ffffff;}.news_th{ text-align:right; background-color:#C0D1DD;}.tipp_finished{ font-size: 12px; font-family: "Century Gothic", Verdana, Arial, Helvetica, Sans-Serif; text-align: center; color: #000000; font-weight: bold; white-space:nowrap;}.tipp_hz_finished{ font-size: 9px; font-family: "Century Gothic", Verdana, Arial, Helvetica, Sans-Serif; text-align: center; color: #000000; font-weight: normal; white-space:nowrap;}.tipp_not_started{ font-size: 12px; font-family: "Century Gothic", Verdana, Arial, Helvetica, Sans-Serif; text-align: center; color: #FF0000; font-weight: bold; white-space:nowrap;}.tipp_hz_live{ font-size: 9px; font-family: "Century Gothic", Verdana, Arial, Helvetica, Sans-Serif; text-align: center; color: #0000FF; font-weight: bold; white-space:nowrap;}.tipp_live{ font-size: 12px; font-family: "Century Gothic", Verdana, Arial, Helvetica, Sans-Serif; text-align: center; color: #0000FF; font-weight: bold; white-space:nowrap;}
Jetzt nur noch das Menü anpassen in der /mobile/index.php und /mobile/content/index.php.
Bei der /mobile/index.php unter der Zeile
- <li><a href="<?php echo $_SERVER['PHP_SELF']; ?>?site=tipps"">Tippübersicht</a></li>
habe ich folgende Zeile eingefügt:
- <li><a href="<?php echo $_SERVER['PHP_SELF']; ?>?site=tippskomplett"">Tippübersicht alle</a></li>
und bei der /mobile/content/index.php unter der Zeile
- <li><a href="#/about/history">Tippübersicht</a></li>
habe ich folgende Zeile eingefügt:
- <li><a href="<?php echo $_SERVER['PHP_SELF']; ?>?site=tippskomplett"">Tippübersicht alle</a></li>
Danach einfach die anhängende tippskomplett.php in /mobile/content/ hochladen.
Das hab ich bei mir so schnell eingebaut, weil ich diese Tippübersicht auch besser finde als die aus der neuen mobilen Version. Allerdings hab ich noch nicht getestet ob die live-Ansicht – also wenn die Spiele laufen – korrekt ist. Aber für mich passt das erst mal so… Quasi quick&dirty. Ich hoffe ich hab nichts vergessen!