Revision 871
Added by thorn about 16 years ago
trunk/CHANGELOG | ||
---|---|---|
13 | 13 |
------------------------------------- 2.7.1 ------------------------------------- |
14 | 14 |
01-Nov-2008 Thomas Hornik |
15 | 15 |
! improved ext_charset to work with latin1,cp1252,cp1251,latin2,hebrew,greek,latin5,latin7,utf8 |
16 |
+ added config for section anchor. ATTN: add "INSERT INTO TABLE_PREFIX.'settings' (name,value,extra) VALUES ('sec_anchor', 'wb_', '')" to upgrade-script. |
|
16 | 17 |
29-Oct-2008 Thomas Hornik |
17 | 18 |
# News: total number of news wasn't calculated correctly |
18 | 19 |
! Captcha: removed IFRAME for Calculation-as-text captcha |
trunk/wb/admin/settings/index.php | ||
---|---|---|
560 | 560 |
'TEXT_RENAME_FILES_ON_UPLOAD' => $TEXT['RENAME_FILES_ON_UPLOAD'], |
561 | 561 |
'TEXT_APP_NAME' => $TEXT['APP_NAME'], |
562 | 562 |
'TEXT_SESSION_IDENTIFIER' => $TEXT['SESSION_IDENTIFIER'], |
563 |
'TEXT_SEC_ANCHOR' => $TEXT['SEC_ANCHOR'], |
|
563 | 564 |
'TEXT_SERVER_OPERATING_SYSTEM' => $TEXT['SERVER_OPERATING_SYSTEM'], |
564 | 565 |
'TEXT_LINUX_UNIX_BASED' => $TEXT['LINUX_UNIX_BASED'], |
565 | 566 |
'TEXT_WINDOWS' => $TEXT['WINDOWS'], |
trunk/wb/admin/settings/template.html | ||
---|---|---|
602 | 602 |
<input type="text" name="app_name" value="{APP_NAME}" /> |
603 | 603 |
</td> |
604 | 604 |
</tr> |
605 |
<tr class="advanced"> |
|
606 |
<td class="setting_name">{TEXT_SEC_ANCHOR}:</td> |
|
607 |
<td class="setting_value" colspan="2"> |
|
608 |
<input type="text" name="sec_anchor" value="{SEC_ANCHOR}" /> |
|
609 |
</td> |
|
610 |
</tr> |
|
605 | 611 |
<!-- BASIC MAILER SETTINGS --> |
606 | 612 |
<tr> |
607 | 613 |
<td colspan="3" style="padding-top: 10px;"> |
trunk/wb/framework/frontend.functions.php | ||
---|---|---|
211 | 211 |
} |
212 | 212 |
$section_id = $section['section_id']; |
213 | 213 |
$module = $section['module']; |
214 |
// make a anchor for every section. This is for the search_extension |
|
215 |
echo "<a id=\"wb_section_$section_id\" name=\"wb_section_$section_id\"></a>"; |
|
214 |
// make a anchor for every section. |
|
215 |
if(defined('SEC_ANCHOR') && SEC_ANCHOR!='') { |
|
216 |
echo '<a class="section_anchor" id="'.SEC_ANCHOR.$section_id.'" name="'.SEC_ANCHOR.$section_id.'"></a>'; |
|
217 |
} |
|
216 | 218 |
// highlights searchresults |
217 | 219 |
if (isset($_GET['searchresult']) AND is_numeric($_GET['searchresult']) AND !isset($_GET['nohighlight'])) { |
218 | 220 |
if (isset($_GET['sstring']) AND !empty($_GET['sstring']) ){ |
trunk/wb/install/save.php | ||
---|---|---|
454 | 454 |
." ('er_level', '')," |
455 | 455 |
." ('default_language', '$default_language')," |
456 | 456 |
." ('app_name', 'wb_$session_rand')," |
457 |
." ('sec_anchor', 'wb_')," |
|
457 | 458 |
." ('default_timezone', '$default_timezone')," |
458 | 459 |
." ('default_date_format', 'M d Y')," |
459 | 460 |
." ('default_time_format', 'g:i A')," |
trunk/wb/languages/FI.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Nimeä ladatut'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Sovelluksen nimi'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Tunniste'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Varmuuskopioi'; |
392 | 393 |
$TEXT['RESTORE'] = 'Palauta'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Varmista tietokanta'; |
trunk/wb/languages/EN.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Rename Files On Upload'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Application Name'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Session Identifier'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Backup'; |
392 | 393 |
$TEXT['RESTORE'] = 'Restore'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Backup Database'; |
trunk/wb/languages/CS.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Přejm. soubory po nahrání'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Název aplikace'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Identifikátor session'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Zálohování'; |
392 | 393 |
$TEXT['RESTORE'] = 'Obnova ze zálohy'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Zálohovat databázi'; |
trunk/wb/languages/SE.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Ändra filnamn vid uppladdning'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Namn på applikation'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Sessionsidentifierare'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Backup'; |
392 | 393 |
$TEXT['RESTORE'] = 'Återställ'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Backup av databas'; |
trunk/wb/languages/ES.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Renombrar los ficheros en la subida'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Nombre de aplicación'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Identificador de Sesión'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Copia de seguridad'; |
392 | 393 |
$TEXT['RESTORE'] = 'Restaurar'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Base de datos de seguridad'; |
trunk/wb/languages/FR.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Renommer les fichiers au chargement'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Nom de lapplication'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Identifiant de session'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Sauvegarde'; |
392 | 393 |
$TEXT['RESTORE'] = 'Restaurer'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Sauvegarde de la base de données'; |
trunk/wb/languages/ET.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Rename Files On Upload'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Application Name'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Session Identifier'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Backup'; |
392 | 393 |
$TEXT['RESTORE'] = 'Restore'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Backup Database'; |
trunk/wb/languages/HR.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Izmjeni fileove kod ponovnog upisa'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Ime aplikacije'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Session Identifier'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Backup'; |
392 | 393 |
$TEXT['RESTORE'] = 'Povrati'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Backup baze podataka'; |
trunk/wb/languages/NL.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Bestanden hernoemen bij uploaden'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Applicatienaam'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Sessie-identificatie'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Backup maken'; |
392 | 393 |
$TEXT['RESTORE'] = 'Backup terugzetten'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Database-backup maken'; |
trunk/wb/languages/PL.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Zmień nazwy plików przy załadowywaniu'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Nazwa aplikacju'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Identyfikator sesji'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Kopia zapasowa'; |
392 | 393 |
$TEXT['RESTORE'] = 'Przywróć'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Kopia zapasowa bazy danych'; |
trunk/wb/languages/HU.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Rename Files On Upload'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Application Name'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Session Identifier'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Backup'; |
392 | 393 |
$TEXT['RESTORE'] = 'Restore'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Backup Database'; |
trunk/wb/languages/IT.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Rinomina i Files per il Caricamento'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Nome Applicazione'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Identificazione della sessione'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Backup'; |
392 | 393 |
$TEXT['RESTORE'] = 'Restore'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Backup del Database'; |
trunk/wb/languages/NO.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Gi filer nytt navn etter opplastningen'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Applikasjonsnavn'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Sesjons id-navn'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Sikkerhetskopiere'; |
392 | 393 |
$TEXT['RESTORE'] = 'Gjenopprett'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Sikkerhetskopiere database'; |
trunk/wb/languages/LV.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Datnes, kuram augšupieladejot jamaina nosaukumi'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Programmas nosaukums'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Sesijas identifikators'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Dublešana'; |
392 | 393 |
$TEXT['RESTORE'] = 'Atjaunot'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Dublet datu bazi'; |
trunk/wb/languages/CA.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Rename Files On Upload'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Application Name'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Session Identifier'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Backup'; |
392 | 393 |
$TEXT['RESTORE'] = 'Restore'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Backup Database'; |
trunk/wb/languages/PT.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Renomear Arquivos ao Enviar'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Nome da Aplica&ccdil;ão'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Identificador de Sessão'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Backup'; |
392 | 393 |
$TEXT['RESTORE'] = 'Restaurar'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Backup do Banco de Dados'; |
trunk/wb/languages/DA.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Omdøb filer under opload'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Applikationsnavn'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Sessions-ID'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Backup'; |
392 | 393 |
$TEXT['RESTORE'] = 'Gendannelse'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Backup af database'; |
trunk/wb/languages/TR.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Yüklenen dosyanýn adýný deðiþtir'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Application Adý'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Session Identifier'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Yedek Al'; |
392 | 393 |
$TEXT['RESTORE'] = 'Yedeði yükle'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Database Yedekle'; |
trunk/wb/languages/RU.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Переименовать файл при загрузке'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Имя приложения'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Идентификатор сессии'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Резервное копирование'; |
392 | 393 |
$TEXT['RESTORE'] = 'Востановление'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Резервное копирование базы данных'; |
trunk/wb/languages/DE.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Datei nach Hochladen umbenennen'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Verwaltungswerkzeuge'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Sitzungs ID'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Abschnitts-Anker Text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Sichern'; |
392 | 393 |
$TEXT['RESTORE'] = 'Wiederherstellen'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Datenbank sichern'; |
trunk/wb/languages/BG.php | ||
---|---|---|
388 | 388 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Преименувай файловете при качване'; |
389 | 389 |
$TEXT['APP_NAME'] = 'Име на приложението'; |
390 | 390 |
$TEXT['SESSION_IDENTIFIER'] = 'Идентификатор сесия'; |
391 |
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text'; |
|
391 | 392 |
$TEXT['BACKUP'] = 'Резервно копие'; |
392 | 393 |
$TEXT['RESTORE'] = 'Възстанови'; |
393 | 394 |
$TEXT['BACKUP_DATABASE'] = 'Резервно копие на базата данни'; |
Also available in: Unified diff
added config for section anchor.
ATTN: add "INSERT INTO TABLE_PREFIX.'settings' (name,value,extra) VALUES ('sec_anchor', 'wb_', '')" to upgrade-script.