* Invision Power Services * IP.Board v3.1.4 * Admin CP global skin templates * Last Updated: $Date: 2010-09-29 20:23:38 -0400 (Wed, 29 Sep 2010) $ * * * @author $Author: bfarber $ * @copyright (c) 2001 - 2009 Invision Power Services, Inc. * @license http://www.invisionpower.com/community/board/license.html * @package IP.Board * @link http://www.invisionpower.com * @version $Rev: 6925 $ * @since 3.0.0 * */ class cp_skin_global extends output { /** * Prevent our main destructor being called by this class * * @access public * @return void */ public function __destruct() { } /** * Done screen * * @access public * @param string Page title * @param string Link text * @param string Link url * @param string URL to redirect to * @return string HTML */ public function doneScreenView( $title, $link_text="", $link_url="", $redirect="" ) { $IPBHTML = ""; //--starthtml--// $IPBHTML .= <<
{$title}
   
{$link_text}
{$this->lang->words['gl_gotohome']}
HTML; //--endhtml--// return $IPBHTML; } /** * Editor template for ACP * * @access public * @param string From field name * @param string Initial content for the editor * @param string Path to the images * @param integer Whether RTE is enabled (1) or not (0) * @param string Editor id * @param string Emoticon data * @return string HTML */ public function ips_editor($form_field="",$initial_content="",$images_path="",$rte_mode=0,$editor_id='ed-0',$smilies='') { $IPBHTML = ""; //--starthtml--// $this->settings['extraJsModules'] .= ",editor"; $bbcodes = IPSLib::fetchBbcodeAsJson(); $show_sidebar = IPSCookie::get('emoticon_sidebar'); $show_sidebar_class = $show_sidebar && $this->settings['_remove_emoticons'] == 0 ? 'with_sidebar' : ''; $show_sidebar_style = $show_sidebar && $this->settings['_remove_emoticons'] == 0 ? '' : "style='display:none'"; $show_sidebar_link = $show_sidebar && $this->settings['_remove_emoticons'] == 0 ? 'true' : 'false'; $IPBHTML .= <<
EOF; if( $this->settings['_remove_emoticons'] == 0 ) { $IPBHTML .= <<

{$this->lang->words[{$this->lang->words['emoticons_template_title']}

EOF; } $IPBHTML .= <<