Project

General

Profile

« Previous | Next » 

Revision 871

Added by thorn about 16 years ago

added config for section anchor.
ATTN: add "INSERT INTO TABLE_PREFIX.'settings' (name,value,extra) VALUES ('sec_anchor', 'wb_', '')" to upgrade-script.

View differences:

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&auml; 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&#345;ejm. soubory po nahr&aacute;n&iacute;';
389 389
$TEXT['APP_NAME'] = 'N&aacute;zev aplikace';
390 390
$TEXT['SESSION_IDENTIFIER'] = 'Identifik&aacute;tor session';
391
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text';
391 392
$TEXT['BACKUP'] = 'Z&aacute;lohov&aacute;n&iacute;';
392 393
$TEXT['RESTORE'] = 'Obnova ze z&aacute;lohy';
393 394
$TEXT['BACKUP_DATABASE'] = 'Z&aacute;lohovat datab&aacute;zi';
trunk/wb/languages/SE.php
388 388
$TEXT['RENAME_FILES_ON_UPLOAD'] = '&Auml;ndra filnamn vid uppladdning';
389 389
$TEXT['APP_NAME'] = 'Namn p&aring; applikation';
390 390
$TEXT['SESSION_IDENTIFIER'] = 'Sessionsidentifierare';
391
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text';
391 392
$TEXT['BACKUP'] = 'Backup';
392 393
$TEXT['RESTORE'] = '&Aring;terst&auml;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&oacute;n';
390 390
$TEXT['SESSION_IDENTIFIER'] = 'Identificador de Sesi&oacute;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&eacute;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&#324; nazwy plik&oacute;w przy za&#322;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&oacute;&#263;';
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&scaron;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&scaron;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;&atilde;o';
390 390
$TEXT['SESSION_IDENTIFIER'] = 'Identificador de Sess&atilde;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&oslash;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&uuml;klenen dosyan&yacute;n ad&yacute;n&yacute; de&eth;i&thorn;tir';
389 389
$TEXT['APP_NAME'] = 'Application Ad&yacute;';
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&eth;i y&uuml;kle';
393 394
$TEXT['BACKUP_DATABASE'] = 'Database Yedekle';
trunk/wb/languages/RU.php
388 388
$TEXT['RENAME_FILES_ON_UPLOAD'] = '&#1055;&#1077;&#1088;&#1077;&#1080;&#1084;&#1077;&#1085;&#1086;&#1074;&#1072;&#1090;&#1100; &#1092;&#1072;&#1081;&#1083; &#1087;&#1088;&#1080; &#1079;&#1072;&#1075;&#1088;&#1091;&#1079;&#1082;&#1077;';
389 389
$TEXT['APP_NAME'] = '&#1048;&#1084;&#1103; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1103;';
390 390
$TEXT['SESSION_IDENTIFIER'] = '&#1048;&#1076;&#1077;&#1085;&#1090;&#1080;&#1092;&#1080;&#1082;&#1072;&#1090;&#1086;&#1088; &#1089;&#1077;&#1089;&#1089;&#1080;&#1080;';
391
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text';
391 392
$TEXT['BACKUP'] = '&#1056;&#1077;&#1079;&#1077;&#1088;&#1074;&#1085;&#1086;&#1077; &#1082;&#1086;&#1087;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1080;&#1077;';
392 393
$TEXT['RESTORE'] = '&#1042;&#1086;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1083;&#1077;&#1085;&#1080;&#1077;';
393 394
$TEXT['BACKUP_DATABASE'] = '&#1056;&#1077;&#1079;&#1077;&#1088;&#1074;&#1085;&#1086;&#1077; &#1082;&#1086;&#1087;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1080;&#1077; &#1073;&#1072;&#1079;&#1099; &#1076;&#1072;&#1085;&#1085;&#1099;&#1093;';
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'] = '&#1055;&#1088;&#1077;&#1080;&#1084;&#1077;&#1085;&#1091;&#1074;&#1072;&#1081; &#1092;&#1072;&#1081;&#1083;&#1086;&#1074;&#1077;&#1090;&#1077; &#1087;&#1088;&#1080; &#1082;&#1072;&#1095;&#1074;&#1072;&#1085;&#1077;';
389 389
$TEXT['APP_NAME'] = '&#1048;&#1084;&#1077; &#1085;&#1072; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#1090;&#1086;';
390 390
$TEXT['SESSION_IDENTIFIER'] = '&#1048;&#1076;&#1077;&#1085;&#1090;&#1080;&#1092;&#1080;&#1082;&#1072;&#1090;&#1086;&#1088; &#1089;&#1077;&#1089;&#1080;&#1103;';
391
$TEXT['SEC_ANCHOR'] = 'Section-Anchor text';
391 392
$TEXT['BACKUP'] = '&#1056;&#1077;&#1079;&#1077;&#1088;&#1074;&#1085;&#1086; &#1082;&#1086;&#1087;&#1080;&#1077;';
392 393
$TEXT['RESTORE'] = '&#1042;&#1098;&#1079;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1080;';
393 394
$TEXT['BACKUP_DATABASE'] = '&#1056;&#1077;&#1079;&#1077;&#1088;&#1074;&#1085;&#1086; &#1082;&#1086;&#1087;&#1080;&#1077; &#1085;&#1072; &#1073;&#1072;&#1079;&#1072;&#1090;&#1072; &#1076;&#1072;&#1085;&#1085;&#1080;';

Also available in: Unified diff