php FCKeditor_IsCompatibleBrowser类(方法)实例源码

下面列出了php FCKeditor_IsCompatibleBrowser 类(方法)源码代码实例,从而了解它的用法。

作者:Kraian    项目:kraiany_site_docke   
function CreateHtml()
 {
     global $smarty;
     $this->HtmlMeat = htmlspecialchars($this->Meat);
     if (FCKeditor_IsCompatibleBrowser()) {
         if (isset($_GET['fcksource']) && $_GET['fcksource'] == "true") {
             $this->File = 'fckeditor.original.html';
         }
         $this->ConfigString = $this->GetConfigFieldString();
         $this->id = preg_replace('/[^a-zA-Z0-9]/', '', $this->InstanceName);
         $this->LinkFile = $this->BasePath . 'editor/' . $this->File . '?InstanceName=' . $this->id . '&Toolbar=' . $this->ToolbarSet . '&' . $this->ConfigString;
         $this->Compat = true;
     }
     $smarty->assign('fck', $this);
     return $smarty->fetch('fck-edit.tpl');
 }

作者:Maxlande    项目:shix   
/**
  * Returns true if browser is compatible with FCKeditor.
  *
  * @return boolean
  */
 function IsCompatible()
 {
     return FCKeditor_IsCompatibleBrowser();
 }

作者:HaakonM    项目:porticoestat   
/**
  * Checks if HTMLarea (or an other richtext editor) is availible for the used browser
  *
  * @return boolean
  */
 static function htmlarea_availible()
 {
     require_once PHPGW_INCLUDE_ROOT . '/felamimail/js/fckeditor/fckeditor.php';
     // use FCKeditor's own check
     return FCKeditor_IsCompatibleBrowser();
     return false;
 }


问题


面经


文章

微信
公众号

扫码关注公众号