Testing dphighlight plugin for tinymce
Posted by:
Administrator on April 15, 2011 04:37:23 AM +00:00 (1282 Reads)
Plugin ...
Ok, here is some xhtml - need to escape entities .. there is an option, good :)
public static function init($args = NULL, $whattoload = NULL)
{
// @TODO: handle things with multiple connections passed in args
// We would need to also dissociate the caching to not mix several configs. We can then use eventually the scope for the connection index.
if (!self::$__initDone || $args !== NULL) {
// Configuration init needs to be done first
if (!class_exists('xarDB')) sys::import('xarigami.xarAdodb');
$tables = xarDB::getTables();
self::$__moduleUserVarsTable = $tables['module_uservars'];
self::$__dbConn = xarDB::getConn();
self::$__initDone = TRUE;
// self::$__useDbCache = xarSystemVars::get(null,'DB.UseADODBCache');
}
}
<xar:comment>License: GPL http://www.gnu.org/copyleft/gpl.html</xar:comment>
<xar:comment>This is a generic display template for any DD object. You can use a specific template for one particular object in this directory as showdisplay-[objectname].xd, and/or use templates in your own [module]/xartemplates/objects directory by specifying the tplmodule="..." argument in the xar:data-display BL tag or showDisplay() method call.</xar:comment>
<xar:if condition="!empty($isprimary) and xarModIsHooked('categories',$modname,$itemtype)">
<xar:template file="catnavigation" />
</xar:if>
<xar:comment>The layout could be set directly or through inheritance (for example in the modify prop screen)</xar:comment>
<xar:if condition="empty<xar:foreach in="$properties" key="$name" value="$property">
<div class="xar-form-input-wrapper">
<xar:data-label property="$properties[$name]" label="id" />
<xar:data-output property="$properties[$name]" />
</div>
</xar:foreach>
<xar:elseif condition="$layout eq 'vertical_table'" />($layout) or $layout eq 'default' or $layout eq 'list' or $layout eq 'dynamic'">
Updated: 03 Jan 12 15:37
Ratings
Note: Comments are owned by the poster. We are not responsible for their content.
#1 Administrator
#2 Administrator