Show
Ignore:
Timestamp:
01/22/12 07:44:23 (1 year ago)
Author:
mbrevda
Message:

fix some hebrew translation, make paging a destination, remove test code from login.php, offer less privlaged browsers a better experience, update module publishers

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.10/amp_conf/htdocs/admin/i18n/he_IL/LC_MESSAGES/amp.po

    r12485 r13247  
    11721172 
    11731173msgid "Trunks" 
    1174 msgstr "מכנסי שחיה
     1174msgstr "ט׹נקים
    11751175 
    11761176msgid "General Settings" 
  • freepbx/branches/2.10/amp_conf/htdocs/admin/views/footer.php

    r13159 r13247  
    119119$html .= '<script type="text/javascript" src="assets/js/progress-polyfill.min.js"></script>'; 
    120120$html .= '<![endif]-->'; 
     121 
     122//offer google chrome frame for the richest experience 
     123if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false) { 
     124  $html .= <<<END 
     125  <!--[if IE]> 
     126    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> 
     127    <script> 
     128      !$.cookie('skip_cf_check') //skip check if skip_cf_check cookie is active 
     129        && CFInstall  //make sure CFInstall is loaded  
     130        && !!window.attachEvent //attachEvent is ie only, should never fire in other browsers 
     131        && window.attachEvent("onload", function() { 
     132         CFInstall.check({ 
     133          preventPrompt: true, 
     134          onmissing: function() { 
     135            $('<div></div>') 
     136              .html('Unfortunately, some features may not work correctly in your ' 
     137                + 'current browser. We suggest that you activate Chrome Frame, ' 
     138                + 'which will offer you the richest posible experience. ') 
     139              .dialog({ 
     140                title: 'Activate Chrome Frame', 
     141                resizable: false, 
     142                modal: true, 
     143                position: ['center', 'center'], 
     144                close: function (e) { 
     145                  $.cookie('skip_cf_check', 'true'); 
     146                  $(e.target).dialog("destroy").remove(); 
     147                }, 
     148                buttons: [ 
     149                  { 
     150                    text: 'Activate', 
     151                    click: function() { 
     152                        window.location = 'http://www.google.com/chromeframe/?redirect=true'; 
     153                    } 
     154 
     155                  }, 
     156                  { 
     157                    text: fpbx.msg.framework.cancel, 
     158                    click: function() { 
     159                        //set cookie to prevent prompting again in this session 
     160                        $.cookie('skip_cf_check', 'true'); 
     161                        $(this).dialog("destroy").remove(); 
     162                      } 
     163                  } 
     164                  ] 
     165              }); 
     166          } 
     167        }); 
     168 
     169      }); 
     170  </script> 
     171  <![endif]--> 
     172END; 
     173} 
     174 
    121175echo $html; 
    122176?> 
  • freepbx/branches/2.10/amp_conf/htdocs/admin/views/login.php

    r12992 r13247  
    2626    . session_id() 
    2727    . '</div>'; 
     28 
    2829/*$html .= '<script type="text/javascript">'; 
    2930$html .= '$(document).ready(function(){