// ----------------------------------------
// Allgemein
// ----------------------------------------
$_LANG['send_desc'] = "Send";
$_LANG['back_desc'] = "Back";
$_LANG['back'] = "Back";
$_LANG['back_to_overview'] = "Back to overview";
$_LANG['no_contents_online'] = "Admin-Info: No contents online or block empty";
$_LANG['page_offline'] = "This page has no contents";
$_LANG['id_not_found'] = "No data found or page offline";
$_LANG['choose'] = "Please select";
$_LANG['std_val_error'] = "Please fill in this field";
$_LANG['std_cxr_val_error'] = "Please choose a value";
$_LANG['online_desc'] = "Set online";
$_LANG['logout'] = "Logout";
$_LANG['mr'] = "Mr.";
$_LANG['mrs'] = "Mrs. / Ms.";
$_LANG['no_dc_downloads'] = "No files available for download.";
$_LANG['cancel'] = "Cancel";
$_LANG['save'] = "Save";
$_LANG['preview'] = "Preview";
$_LANG['edit'] = "Edit";
$_LANG['offline'] = "Offline";
$_LANG['online'] = "Online";
$_LANG['search'] = "Search";
$_LANG['search_results'] = "Found %s Result(s).";
$_LANG['view'] = "View";
$_LANG['date'] = "Date";
$_LANG['stay_logged_in_txt'] = "Stay logged in";
$_LANG['print_page'] = "Print page";
$_LANG['m'] = "Male";
$_LANG['f'] = "Female";
$_LANG['yes'] = "Yes";
$_LANG['no'] = "No";
$_LANG['not_applicable'] = "not applicable";
$_LANG['delete'] = "Delete";
$_LANG['thanks'] = "Thank you.";
$_LANG['agree_terms_cx'] = "Yes, I agree";
$_LANG['agree_terms_desc'] = "Privacy Terms";
$_LANG['agree_terms_error'] = "Please agree to our Privacy Terms";
$_LANG['you_are_here'] = "You are here";
$_LANG['day'] = "Day";
$_LANG['month'] = "Month";
$_LANG['year'] = "Year";
$_LANG['printversion_link'] = "Print version";
$_LANG['module_no_entries_found'] = "Sorry, no entries found.";
$_LANG['user_module_no_entries_found'] = "You haven't saved any entries yet.";
$_LANG['module_x_items'] = "entries per page";
$_LANG['double_send_error'] = "Attention: The form has already been submitted.";
$_LANG['register'] = "Register";
$_LANG['filter'] = "Filter";
$_LANG['chars_left'] = "characters left";
$_LANG['privacy_text'] = "I agree to the privacy terms.";
$_LANG['privacy_please_agree'] = "Please agree to the privacy terms in order to publish your entry.";
$_LANG['next'] = "Next";
$_LANG['prev'] = "Previous";
$_LANG['chg_pwd'] = "Change password";
$_LANG['delete_account'] = "Delete account";
$_LANG['my_account'] = "My Account";
$_LANG['detail'] = "Show";
$_LANG['language'] = "Language";
$_LANG['changes_saved'] = "Changes sucessfully saved!";
$_LANG['upload_file'] = "Upload file";
$_LANG['password_insecure'] = "The password is insecure";
$_LANG['small_caps'] = "Lowercase";
$_LANG['large_caps'] = "Uppercase";
$_LANG['numbers'] = "Numbers";
$_LANG['spec_chars'] = "Special chars";
$_LANG['min_length'] = "Min. length 10 chars";
$_LANG['mail_not_sent'] = "Mail error. Your mail was not sent, please contact the website admin.";
$_LANG['date_1'] = "%d/%m/%Y at %H:%M ";
$_LANG['date_2'] = "%d/%m/%Y %H:%M";
$_LANG['date_3'] = "%d/%m/%Y";
$_LANG['date_4'] = "%A %d/%m/%Y at %H:%M";
$_LANG['date_5'] = "%H:%M";
$_LANG['date_6'] = "%A, %d/%m/%Y at %H:%M";
$_LANG['date_7'] = "%d. %b %y";
$_LANG['date_8'] = "%d/%m %H:%M:%S";
$_LANG['date_9'] = "%d/%m";
$_LANG['date_10'] = "%A %d.%m.";
$_LANG['date_11'] = "%b %Y";
$_LANG['val_masked_date'] = "99.99.9999";
$_LANG['val_masked_time'] = "99:99";
$_LANG['homepage'] = "Home"; //Clickstream
$_LANG['printversion'] = "Print version"; //header Print-Title
$_LANG['download_not_available'] = "Download not available!";
$_LANG['validator_mandatory_fields_hint'] = "
Fields marked with%s are mandatory.
";
$_LANG['validator_mandatory_fields_error'] = "Please fill in all fields correctly:";
$_LANG['validator_captcha_text'] = "Please type in the anti-spam code.
Please note that the code is case-sensitive.";
//Formular / Validator Standard _desc und _error
$_LANG['nick_name_desc'] = 'Nickname';
$_LANG['nick_name_error'] = 'Please provide a nickname';
$_LANG['gender_desc'] = 'Salutation';
$_LANG['gender_error'] = 'Please select your salutation';
$_LANG['salutation_desc'] = 'Salutation';
$_LANG['salutation_error'] = 'Please select salutation';
$_LANG['language_desc'] = 'Language';
$_LANG['language_error'] = 'Please select your language';
$_LANG['first_name_desc'] = 'First name';
$_LANG['first_name_error'] = 'Please enter your first name';
$_LANG['last_name_desc'] = 'Last name';
$_LANG['last_name_error'] = 'Please enter your family name';
$_LANG['name_desc'] = 'Name';
$_LANG['name_error'] = 'Please enter your full name';
$_LANG['street_desc'] = 'Street';
$_LANG['street_error'] = 'Please enter a street name';
$_LANG['province_desc'] = "Province/State";
$_LANG['province_error'] = "Please enter Province/State";
$_LANG['city_desc'] = 'City';
$_LANG['city_error'] = 'Please provide a city';
$_LANG['district_desc'] = 'District';
$_LANG['district_error'] = 'Please provide a district';
$_LANG['zip_desc'] = 'Postal code';
$_LANG['zip_error'] = 'Please provide a postal code';
$_LANG['country_desc'] = 'Country';
$_LANG['country_error'] = 'Please provide a country';
$_LANG['country_iso_desc'] = 'Country';
$_LANG['country_iso_error'] = 'Please provide a country';
$_LANG['telephone_desc'] = 'Telephone';
$_LANG['telephone_error'] = 'Please provide a telephone number';
$_LANG['province_desc'] = "Province/State";
$_LANG['province_error'] = "Please enter Province/State";
$_LANG['title_desc'] = "Academic title";
$_LANG['title_error'] = "Please enter an academic title";
$_LANG['fax_desc'] = 'Fax';
$_LANG['fax_error'] = 'Please provide a fax number';
$_LANG['mobile_desc'] = 'Mobile';
$_LANG['mobile_error'] = 'Please provide a mobile number';
$_LANG['info_desc'] = 'Your message';
$_LANG['info_error'] = '';
$_LANG['email_desc'] = 'E-mail';
$_LANG['email_error'] = 'This mail address is invalid.';
$_LANG['ext_email_desc'] = $_LANG['email_desc'];
$_LANG['ext_email_error'] = $_LANG['email_error'];
$_LANG['company_desc'] = 'Company';
$_LANG['company_error'] = 'Please provide your company';
$_LANG['company_info_desc'] = 'Company description';
$_LANG['company_info_error'] = 'Please provide a description';
$_LANG['position_desc'] = "Position/Job";
$_LANG['homepage_desc'] = "Website";
$_LANG['homepage_error'] = "";
$_LANG['user_groups_desc'] = "Group";
$_LANG['user_groups_error'] = "Please provide a group";
$_LANG['grp'][1] = "xxx";
$_LANG['grp'][2] = "yyy";
$_LANG['grp'][3] = "zzz";
//$_LANG['_desc'] = "";
//$_LANG['_error'] = "";
$_LANG['attachment_1_desc'] = "Attachment";
$_LANG['attachment_1_error'] = "File too large or file type not allowed";
$_LANG['captcha_desc'] = "Spam protection";
$_LANG['captcha_error'] = "Code was wrong. Please try again.";
$_LANG['newsletter_status_checkbox'] = "Subscribe to newsletter"; //gilt auch für User-Daten ändern
$_LANG['password_desc'] = 'Password';
$_LANG['password_error'] = 'Please provide a password';
$_LANG['password_repeat_desc'] = 'Please re-type the password';
$_LANG['password_repeat_error'] = 'The passwords do not match';
$_LANG['password_false'] = 'Wrong password';
//Passwort vergessen
$_LANG['password_changed'] = 'The password has been changed.Back';
$_LANG['old_password_desc'] = 'Old Password';
$_LANG['old_password_error'] = 'Wrong old password';
$_LANG['password_new_desc'] = 'New Password';
$_LANG['password_new_error'] = 'Please provide a new password';
$_LANG['password_repeat_desc'] = 'Repeat new password';
$_LANG['password_repeat_error'] = 'Please repeat new password';
$_LANG['save_new_password_desc'] = 'Change password';
$_LANG['forgot_password'] = 'Forgot your password?';
$_LANG['auth_password_desc'] = 'Password';
$_LANG['auth_username_desc'] = 'E-mail';
$_LANG['auth_password_error'] = 'Sorry, wrong password';
$_LANG['auth_username_error'] = 'Login failure';
$_LANG['login_desc'] = 'Login';
$_LANG['send_password_desc'] = 'Request password';
$_LANG['send_contact_form_desc'] = 'Send';
$_LANG['ext_apprvl_todo'] = "Todo/Unfinished";
// global.fct.php (translateIntMonth)
$_LANG['gf_translateintmonth'][1] = 'January';
$_LANG['gf_translateintmonth'][2] = 'February';
$_LANG['gf_translateintmonth'][3] = 'March';
$_LANG['gf_translateintmonth'][4] = 'April';
$_LANG['gf_translateintmonth'][5] = 'May';
$_LANG['gf_translateintmonth'][6] = 'June';
$_LANG['gf_translateintmonth'][7] = 'July';
$_LANG['gf_translateintmonth'][8] = 'August';
$_LANG['gf_translateintmonth'][9] = 'September';
$_LANG['gf_translateintmonth'][10] = 'October';
$_LANG['gf_translateintmonth'][11] = 'November';
$_LANG['gf_translateintmonth'][12] = 'December';
$_LANG['gf_translateintmonth_short'][1] = 'Jan';
$_LANG['gf_translateintmonth_short'][2] = 'Feb';
$_LANG['gf_translateintmonth_short'][3] = 'Mar';
$_LANG['gf_translateintmonth_short'][4] = 'Apr';
$_LANG['gf_translateintmonth_short'][5] = 'May';
$_LANG['gf_translateintmonth_short'][6] = 'Jun';
$_LANG['gf_translateintmonth_short'][7] = 'Jul';
$_LANG['gf_translateintmonth_short'][8] = 'Aug';
$_LANG['gf_translateintmonth_short'][9] = 'Sep';
$_LANG['gf_translateintmonth_short'][10] = 'Oct';
$_LANG['gf_translateintmonth_short'][11] = 'Nov';
$_LANG['gf_translateintmonth_short'][12] = 'Dec';
// global.fct.php (translateDay)
$_LANG['gf_translateday'][0] = 'Sunday';
$_LANG['gf_translateday'][1] = 'Monday';
$_LANG['gf_translateday'][2] = 'Tuesday';
$_LANG['gf_translateday'][3] = 'Wednesday';
$_LANG['gf_translateday'][4] = 'Thursday';
$_LANG['gf_translateday'][5] = 'Friday';
$_LANG['gf_translateday'][6] = 'Saturday';
// global.fct.php (translateDay SHORT)
$_LANG['gf_translateday_short'][0] = 'Su.';
$_LANG['gf_translateday_short'][1] = 'Mo.';
$_LANG['gf_translateday_short'][2] = 'Tu.';
$_LANG['gf_translateday_short'][3] = 'We.';
$_LANG['gf_translateday_short'][4] = 'Th.';
$_LANG['gf_translateday_short'][5] = 'Fr.';
$_LANG['gf_translateday_short'][6] = 'Sa.';
// Ajax bzw. Javascript Fehlermeldungen
$_LANG['p2j_max_pic_size'] = "Only JPG/GIF/PNG, max. %s allowed";
$_LANG['p2j_file_too_small'] = "The file is too small. Please upload at least %s";
$_LANG['p2j_file_too_big'] = "The file is too large. Please upload max. %s";
$_LANG['p2j_confirm_delete'] = "Do you really want to delete the file?";
$_LANG['p2j_is_uploading_img'] = "The upload for picture #%s is still running. Please be patient until the upload has finished.";
$_LANG['p2j_is_uploading_file'] = "The upload for file #%s is still running. Please be patient until the upload has finished.";
$_LANG['p2j_invalid_file'] = "This file type is not allowed.";
$_LANG['p2j_copy_failed'] = "Error in copying / scaling file.";
// infomail_subscribe.tpl
$_LANG['infomail_subscribe'] = "Order Info mail";
$_LANG['infomail_subscribed'] = "Info mail has been ordered.";
$_LANG['infomail_already_subscribed'] = "The info mail has been already ordered.";
$_LANG['infomail_view_subs'] = "Overview of ordered info mails";
$_LANG['submit_entry'] = "Submit entry";
// external_module_ajax_imgupload.tpl
$_LANG['aiu_headline'] = "Pictures";
$_LANG['aiu_add_image'] = "Add image...";
// external_module_ajax_fileupload.tpl
$_LANG['afu_headline'] = "Files / Downloads";
$_LANG['afu_add_file'] = "Add file...";
// E-Mail
$_LANG['send_mail'] = "Send email";
$_LANG['email_ok'] = "Your email was sent.";
$_LANG['email_error_txt'] = "Your email was not sent. Please try again.";
//REPLY MAIL Fallback
$_LANG['module_reply_mail_subject'] = "Reply to your post on our website";
$_LANG['module_reply_mail_subject_cc'] = "COPY (only information):Query concerning an entry on ".$_SERVER['SERVER_NAME'];
$_LANG['module_reply_mail_thanks'] = "Thank you! Your email was sent.";
$_LANG['module_reply_mail_error'] = "Your email was not sent. Please try again.";
$_LANG['send_reply_form_desc'] = "Send mail";
//AJAX FILE UPLOAD
// Beschriftungen
$_LANG['ajax_filename'] = "File name";
$_LANG['ajax_cancel'] = "Cancel";
$_LANG['ajax_failed'] = "Failed";
$_LANG['ajax_droparea'] = "Move your files in this area to upload";
$_LANG['ajax_upload_file'] = "Upload file";
// Ajax Meldungen (Server)
$_LANG['ajax_error'] = "Error: ";
$_LANG['ajax_no_file_uploaded'] = $_LANG['ajax_error'] . "No file has been uploaded!";
$_LANG['ajax_file_too_big'] = $_LANG['ajax_error'] . "The file is to big. the maximum file size is %s kB";
$_LANG['ajax_file_too_small'] = $_LANG['ajax_error'] . "The file is to small. the minimum file size is %s kB";
$_LANG['ajax_invalid_file'] = $_LANG['ajax_error'] . "This file extension is not allowed , only %s";
$_LANG['ajax_invalid_mime'] = $_LANG['ajax_error'] . "This file has an invalid file format";
// Ajax Meldungen (Client - JS)
$_LANG['ajax_js_file_invalid_ext'] = $_LANG['ajax_error'] . "The file \'{file}\' has an invalid file ending. Only {extensions} is allowed.";
$_LANG['ajax_js_file_too_big'] = $_LANG['ajax_error'] . "The file \'{file}\' is to big. The maximum file size is {sizeLimit}.";
$_LANG['ajax_js_file_too_small'] = $_LANG['ajax_error'] . "The file \'{file}\' is to small. The minimum file size is {minsizeLimit}.";
$_LANG['ajax_js_file_empty'] = $_LANG['ajax_error'] . "The file \'{file}\' has no content.";
$_LANG['ajax_confirm_delete_img'] = "Do you really want to delete the image?";
$_LANG['ajax_confirm_delete_file'] = "Do you really want to delete the image?";
$_LANG["consent_info"] ="This website uses cookies. By using this website you consent to the use of cookies. ";
$_LANG["consent_info_link"] ="Further information";
$_LANG["consent_info_close"] ="Close";
$_LANG["paging_prev"] = "Previous Page";
$_LANG["paging_next"] = "Next Page";
$_LANG["word_distributors"] = "Our Distribution Partners";
$_LANG["word_newsletter_signup"] = "Sign up for Newsletter?";
$_LANG["word_pagenumber"] = "Page";
$_LANG["word_search_placeholder"] = "Your Search Term";
$_LANG["word_imprint"] = "Imprint";
$_LANG["word_sitemap"] = "Sitemap";
$_LANG["word_desktopversion"] = "Desktop Version";
$_LANG["word_mobileversion"] = "Mobile Version";
$_LANG["word_search_input"] = "Search";
$_LANG["more"] = "more";
$_LANG["media"] = "Media";
$_LANG["tag_1"] = "Company";
$_LANG["tag_2"] = "Product Innovation";
$_LANG["tag_9"] = "Events";
$_LANG["privacy_1"] = "Data protection";
$_LANG["privacy_1_cx"] = "I have read the information on data protection.";//"Ich stimme den Datenschutzbestimmungen / AGB zu.";
$_LANG["privacy_1_error"] = "Please agree to our Privacy Terms";
$_LANG["privacy_1_text"] = " ";
$_LANG["privacy_2"] = "Data protection";
$_LANG["privacy_2_cx"] = "I give permission for the storing of the data needed for processing this application/request.";//"Ich stimme den Datenschutzbestimmungen / AGB zu.";
$_LANG["privacy_2_error"] = "Please agree to our Privacy Terms";
$_LANG["privacy_2_text"] = " ";
$_LANG["consent_info_2"] = "[F]Cookie-Settings[/F]
This website uses cookies. Please save your personal settings here. If you give your consent, you can edit or revoke this at any time under cookie settings. Further information is available in our
[F][LK /en/datenschutz/]Data Protection.[/LK][/F]
##
Technically necessary
##
Statistics
##
Komfort
##
Persönliche Einstellungen
##
Confirm all
##
Confirm my selection
##
Confirm only necessary
##
Further Information
##
[F]Technical cookies[/F]
These cookies are absolutely necessary for the functionality of the site and save e.g. your settings made in this dialog box.
[K]user_settings 1 year, permanent - saves the settings selected in this dialog[/K]
[F]Statistics cookies[/F]
We use Yandex.Metrica und Google Analytics. These cookies are used to analyze the website usage from Google and Yandex.
Further information is available in our [F][LK /en/datenschutz/]Data Protection.[/LK][/F]
";
$_LANG["consent_info_close"] = "Close";
$_LANG["consent_info_link"] = "Further Information";
$_LANG["consent_info_hint"] ="Please change Cookie-Settings and reload page to view the contents";
/**
* Datei nimmt aus der Content-Tabelle die Spalte "page_parameters" und interpretiert den Code darin.
* Diese Datei kann von Projekt zu Projekt angepasst werden - je nachdem was an Page-Parametern gewünscht ist.
* Defaultmäßig können hier verschiedene Aktionen passieren
*
*/
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Metadata & Media Lib
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
if($_CONFIG['page_param'] === "metadata")
{
$dbm = new DbMetadata("structure_page", $dbc, "page_parameters");
$arrPageMeta = $dbm->decodeMetadata($arrPage[$PAGE - 1]['page_parameters']);
//Standard-Zuweisung für Smarty: {$page_parameters_metadata_page_1}
if(is_array($arrPageMeta))
foreach($arrPageMeta as $x => $y)
$smarty->assign($x, $y);
/*
* Hintergrundbild über Seitenparameter festlegen. Weitere Anpassung in admin/dynamic_content/content/page_edit/meta_val.inc.php
* Beispiel fürs Template (hier Hintergrundbild Fullscreen mit Backstretch
$.backstretch("{if $BACKGROUND_IMAGE}{$BACKGROUND_IMAGE}{else}/layout/bg.jpg{/if}");
*/
if($_CONFIG['page_param_type'] == "slider_image")
{
$MEDIA_LIB_FOLDER_ID = $_CONFIG['page_param_ml_folder']; // ==> EDIT: admin/dynamic_content/content/page_edit/meta_val.inc.php
//RANDOM FÜR STARTSEITE
if(false and $URL_NOLANG == "/")
{
$sql = "SELECT system_filename from ".$_CONFIG['table_media_lib_files']." WHERE media_lib_structure_fk = $MEDIA_LIB_FOLDER_ID ORDER BY rand() LIMIT 1"." # ".__FILE__." * ".__LINE__;
$dbc->query($sql, false);
$sBackground = $dbc->getColumnResult('system_filename');
$sImgFile = DOCROOT."/media_lib_files/".$sBackground[0];
if(is_file($sImgFile))
{
$smarty->assign("BACKGROUND_IMAGE", "/media_lib_files/".$sBackground[0]);
}
}
//AUSGEWÄHLTE FÜR FOLGESEITE
else
{
$sImgFile = DOCROOT."/media_lib_files/".$arrPageMeta['page_parameters_metadata_page_1'];
if(is_file($sImgFile))
{
$smarty->assign("BACKGROUND_IMAGE", "/media_lib_files/" . $arrPageMeta['page_parameters_metadata_page_1']);
list($w, $h) = getimagesize(DOCROOT . "/media_lib_files/" . $arrPageMeta['page_parameters_metadata_page_1']);
if($h)
{
$smarty->assign("BACKGROUND_IMAGE_CSS_HEIGHT", "");
}
if($h)
{
$smarty->assign("BACKGROUND_IMAGE_HEIGHT_FIRSTSLIDE", $h . "px");
}
if($w)
{
$smarty->assign("BACKGROUND_IMAGE_WIDTH_FIRSTSLIDE", $w . "px");
}
}
//ODER MEHERE BILDER FÜR SLIDESHOW?!
if(is_array($arrPageMeta['page_parameters_metadata_page_2']) and sizeof($arrPageMeta['page_parameters_metadata_page_2']) >= 1)
{
list($w, $h) = getimagesize(DOCROOT."/media_lib_files/".$arrPageMeta['page_parameters_metadata_page_2'][0]);
if($h)
$smarty->assign("BACKGROUND_IMAGE_CSS_HEIGHT", "");
if($h)
$smarty->assign("BACKGROUND_IMAGE_HEIGHT_FIRSTSLIDE", $h."px");
if($w)
$smarty->assign("BACKGROUND_IMAGE_WIDTH_FIRSTSLIDE", $w."px");
$arr = array();
foreach($arrPageMeta['page_parameters_metadata_page_2'] as $x => $y)
{
preg_match('/_([^_]*)$/', pathinfo($y)['filename'], $match);
$end =strtolower(end($match));
if(in_array($end, $LANGUAGES))
{
if($end=="ru"&&$LANG=="ru")
{
$arr[]="/media_lib_files/".$y;
}
elseif($end=="de"&&$LANG=="de")
{
$arr[]="/media_lib_files/".$y;
}
elseif($end=="en"&&$LANG=="en")
{
$arr[]="/media_lib_files/".$y;
}
}
else{
$arr[]="/media_lib_files/".$y;
}
}
//exit;
//Image-Sorter!
if($arrPageMeta['page_parameters_metadata_page_2_sorter'])
{
$a = @explode("&", $arrPageMeta['page_parameters_metadata_page_2_sorter']);
foreach($a as $x=>$y)
$a[$x] = str_replace("sort__page_parameters_metadata_page_2_", "", $y);
}
$smarty->assign("BACKGROUND_IMAGE", $arr);
}
}
//Beispiel für CODE {smarty} in einem Page-Edit Feld zb. {EN}blafoo{/EN}
#$smarty->assign("PAGE_PARAM_CODE", $smarty->fetch('string:'.$arrPageMeta['page_parameters_metadata_page_3']));
//Beispiel normaler Code
#$smarty->assign("PAGE_HEADLINE", formatText($arrPageMeta['page_parameters_metadata_page_3']));
}
//HEADLINE
$nr = 3;
if($LANG == "en") $nr = 4;
if($LANG == "ru") $nr = 5;
if($arrPageMeta['page_parameters_metadata_page_'.$nr])
{
$smarty->assign("MS_HEADLINES", array_map(function($a) { return formatText($a, false); }, explode("\r\n", $arrPageMeta['page_parameters_metadata_page_'.$nr])));
}
}
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//Beispiel: Headline pro Page (ggm) zb. für -Bereich/Slideshow etc.
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
if(false)
{
if($_CONFIG['page_param'] === true)
{
if(is_array($arrPage))
{
$t = trim($arrPage[$PAGE - 1]['page_parameters']);
if($t == "")
$t = $_NAVIGATION[$URL_NOLANG]['menu'];
$smarty->assign("PAGE_HEADLINE", $t);
}
}
}
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//Beispiel: Hintergrundbilder mit HINTERGRUND_A=44 (ID des Media-Lib Eintrags)
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
if(false)
{
if($_CONFIG['page_param'] === true)
{
if(is_array($arrPage))
{
//Zeilenweise Parameter einlesen
foreach(explode("\r\n", $arrPage[$PAGE - 1]['page_parameters']) as $x => $y)
{
list($sParam, $sParValue) = explode("=", $y);
$sParam = trim($sParam);
$sParValue = trim($sParValue);
//HINTERGRUND_A=38
switch($sParam)
{
// =============
// Hintergrund A einfügen
// =============
case "HINTERGRUND_A":
$iImageId = intval($sParValue);
$sql = "SELECT system_filename FROM ".$_CONFIG['table_media_lib_files']." WHERE id = $iImageId LIMIT 1 "." # ".__FILE__." * ".__LINE__;
$dbc->query($sql, false);
$smarty->assign("BACKGROUND_IMAGE_A", $dbc->getFirstRow("system_filename"));
break;
// =============
// =============
// Hintergrund B einfügen
// =============
case "HINTERGRUND_B":
$iImageId = intval($sParValue);
$sql = "SELECT system_filename FROM ".$_CONFIG['table_media_lib_files']." WHERE id = $iImageId LIMIT 1 "." # ".__FILE__." * ".__LINE__;
$dbc->query($sql, false);
$smarty->assign("BACKGROUND_IMAGE_B", $dbc->getFirstRow("system_filename"));
break;
// =============
// =============
// Use Content Array instead of Content in output: margin_or_content.inc.php global VAR
// =============
case "hide_content_ids":
$ARR_HIDE_CONTENT_IDS = explode(",", $sParValue);
break;
}
}
# Hier den Text zur Beschreibung der möglichen Parameter angeben
$smarty->assign("possible_page_parameters", t("Mögliche Seitenparameter").":
HINTERGRUND_A=22 (".t("ID des Bildes").")
");
}
}
}
if($_CONFIG['pages_css_dropdown'])
{
//Derzeit nur metadata_page_style_content
$dbm = new DbMetadata("structure_page", $dbc, "metadata");
$arrPageMetaCSS = $dbm->decodeMetadata($arrPage[$PAGE - 1]['page_parameters']);
if(is_array($arrPageMetaCSS))
foreach($arrPageMetaCSS as $x => $y)
$smarty->assign($x, $y);
}
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//Beispiel Hintergrundbild
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# $sImgFile = DOCROOT."/media_lib_files/".$arrPageMeta['page_parameters_metadata_page_1'];
# if(is_file($sImgFile))
# list($w, $h) = getimagesize($sImgFile);
# $smarty->assign("BCK_W", "width:".$w."px;");
# $smarty->assign("BCK_H", "height:".$h."px;");
# $smarty->assign("BACKGROUND_IMAGE_A", $arrPageMeta['page_parameters_metadata_page_1']);
# $smarty->assign("CLIPSIZE", $arrPageMeta['page_parameters_metadata_page_2']);
# $smarty->assign("CLIPHEADLINE", $arrPageMeta['page_parameters_metadata_page_3']);
# $smarty->assign("CLIPTXT", $arrPageMeta['page_parameters_metadata_page_4']);
$smarty->assign("NO_STANDARD_HEADLINE", $arrPageMeta['page_parameters_metadata_page_6']);
if($arrPageMeta['page_parameters_metadata_page_5'])
{
$txt = $lnk = array();
foreach(explode("\r\n", $arrPageMeta['page_parameters_metadata_page_5']) as $y)
{
$txt[] = trim($y);
$lnk[] = formatText2Url(strtolower(trim($y)));
}
$smarty->assign("ANCHORS_TXT", $txt);
$smarty->assign("ANCHORS_LINKS", $lnk);
}
German Seed Alliance | News | Details