diff --git a/cis/ampel.php b/cis/ampel.php index 9434d3fb7..2f80092d5 100644 --- a/cis/ampel.php +++ b/cis/ampel.php @@ -88,7 +88,7 @@ if(is_user_logged_in()) obj.style.height = obj.contentWindow.document.body.scrollHeight + \'px\'; } - var html_content = \'\'; + var html_content = \'\'; $("#ampel_div").html(html_content); }); '; @@ -100,15 +100,13 @@ if(is_user_logged_in()) top: 20%; left: 10%; right: 10%; - width: 80%; - height: 45%; + width: 70%; + height: 50%; scrolling: no; z-index: 1003; background-color: #fefefe; margin: auto; text-align: center; - /*padding-top: 20px;*/ - /*border: 3px solid black;*/ -webkit-box-shadow: 0px 0px 0px 2000px rgba(0,0,0,0.47); -moz-box-shadow: 0px 0px 0px 2000px rgba(0,0,0,0.47); box-shadow: 0px 0px 0px 2000px rgba(0,0,0,0.47); @@ -124,6 +122,10 @@ if(is_user_logged_in()) font-size: 150%; height: 50px; width: 100%; + background-color: white; + border: none; + /*border-top: 4px solid black;*/ + /*border-bottom: 4px solid black;*/ } '; } diff --git a/cis/private/tools/ampelverwaltung.php b/cis/private/tools/ampelverwaltung.php index ab86f6142..20c91b8b5 100644 --- a/cis/private/tools/ampelverwaltung.php +++ b/cis/private/tools/ampelverwaltung.php @@ -328,29 +328,36 @@ function typeWrite(span){ },randInt+4500); } -$(document).ready(function(){ - typeWrite('sancho_ampel_text'); -}); -
+
' . $p->t('tools/ampelsystem') . ''; - //title in popup for mandatory ampeln + //***************************************** AROUSE SANCHO for mandatory ampeln if ($is_popup) - echo '

' . $p->t('tools/ampelPopupTitel'). '


'; + { + //sancho message if mandatory ampeln exist + if (count($user_ampel_arr) > 0) + { + echo ' +
+ sancho_verpflichtende_ampeln +
+



'; + } + } ?> -
+
1) - $ovdue_txt = 'ich habe ' . count($user_ampel_arr) . ' Nachrichten entdeckt, die verpflichtend zu bestätigen sind.'; - if (count($user_ampel_arr) > 0) - { - echo ' -
-
- sancho_ampel_ueberfaellig -
-
-

-
-
-



'; - } - } //***************************************** COLLAPSED PANELS WITH AMPELN $cnt = 1; //counter to set iterative id's @@ -418,7 +402,17 @@ $(document).ready(function(){
'; - + } + elseif ($cnt_active != 0 && !$is_popup) + { + echo ' +
+
+ +
+
'; } //fill panel with ampeln @@ -435,6 +429,7 @@ $(document).ready(function(){
@@ -492,8 +487,6 @@ $(document).ready(function(){
- -
phrasen['tools/ampelBitteBestaetigen']='Bitte bestätigen Sie diese jetzt $this->phrasen['tools/ampelAbgelaufenTitel']='Abgelaufene oder bereits bestätigte Ampeln'; $this->phrasen['tools/ampelAbgelaufenTxt']='Sie können diese Ampeln weiterhin lesen, aber nicht mehr bestätigen.'; $this->phrasen['tools/ampelBestaetigtAbgelaufen']='Bereits bestätigt oder abgelaufen'; +$this->phrasen['tools/ampelAktuelleAmpeln']='Aktuelle Ampeln'; $this->phrasen['tools/ampelKeineAktuellen']='Keine aktuellen Ampeln'; $this->phrasen['tools/ampelKeineAktuellenTxt']='Sie haben zur Zeit keine aktuellen Ampeln.'; $this->phrasen['tools/ampelClose']='Jetzt nicht'; diff --git a/locale/en-US/tools.php b/locale/en-US/tools.php index 33e95efdc..276c72bbb 100644 --- a/locale/en-US/tools.php +++ b/locale/en-US/tools.php @@ -59,6 +59,7 @@ $this->phrasen['tools/ampelBitteBestaetigen']='Please confirm now!'; $this->phrasen['tools/ampelAbgelaufenTitel']='Notifications expired or confirmed'; $this->phrasen['tools/ampelAbgelaufenTxt']='Notifications can still be read, but not confirmed anymore.'; $this->phrasen['tools/ampelBestaetigtAbgelaufen']='Almost confirmed or expired'; +$this->phrasen['tools/ampelAktuelleAmpeln']='Actual notifications'; $this->phrasen['tools/ampelKeineAktuellen']='No current notifications.'; $this->phrasen['tools/ampelKeineAktuellenTxt']='You currently do not have any notifications.'; diff --git a/skin/images/sancho/sancho_header_du_hast_verpflichtende_ampeln.jpg b/skin/images/sancho/sancho_header_du_hast_verpflichtende_ampeln.jpg new file mode 100644 index 000000000..5ee6ca180 Binary files /dev/null and b/skin/images/sancho/sancho_header_du_hast_verpflichtende_ampeln.jpg differ