public function registerAssets()
 {
     parent::registerAssets();
     PeThemeAsset::addScript("framework/js/admin/jquery.theme.field.items.js", array("pe_theme_utils", "jquery-ui-sortable", "json2"), "pe_theme_field_items");
     wp_enqueue_script("pe_theme_field_items");
     // prototype.js alters JSON2 behaviour, it shouldn't be loaded in our admin page anyway but
     // if other plugins are forcing it in all wordpress admin pages, we get rid of it here.
     wp_deregister_script("prototype");
     if (!self::$icon) {
         // we need icon field assets to be enqueued, this is done only once
         // by storing the object into a static class variable
         self::$icon = new PeThemeFormElementIcon(null, null, $null);
         self::$icon->registerAssets();
     }
 }
 protected function addTemplateValues(&$data)
 {
     parent::addTemplateValues($data);
     $data["[UPCLASS]"] = "";
 }