Daniele Cacace
|
Thursday 02 December 2010 3:34:29 am
I have the same problem. In html i see: <<span class="start-tag">script</span><span class="attribute-name"> type</span>=<span class="attribute-value">"text/javascript"</span>>
(function() {
var icons = { 'eng-GB': '/share/icons/flags/eng-GB.gif', 'ger-DE': '/share/icons/flags/ger-DE.gif', 'ita-IT': '/share/icons/flags/ita-IT.gif'};
var vcols = { ezcontentnavigationpart : 'checkbox;crank;name;hidden_status_string;published_date;priority'.split(';'),
ezmedianavigationpart : 'checkbox;crank;thumbnail;name;hidden_status_string;class_name'.split(';'),
ezusernavigationpart : 'checkbox;crank;name;creator;published_date'.split(';')};
var confObj = {
sortKey: "priority",
dataSourceURL: "/assofumi_admin/ezjscore/call/ezjscnode::subtree::2",
rowsPrPage: 25,
sortOrder: 1,
defaultShownColumns: vcols,
navigationPart: "ezcontentnavigationpart",
cookieName: "eZSubitemColumns",
cookieSecure: false,
cookieDomain: "test.assofumi.it",
languagesString: "[ { locale: 'ita-IT', name: 'Italiano' } ]",
classesString: "[ { classID: '2', name: 'Article' }, { classID: '42', name: 'Article (main-page)' }, { classID: '43', name: 'Article (sub-page)' }, { classID: '81', name: 'Azienda' }, { classID: '72', name: 'Banner' }, { classID: '44', name: 'Blog' }, { classID: '45', name: 'Blog post' }, { classID: '79', name: 'CJW Newsletter Article' }, { classID: '78', name: 'CJW Newsletter Edition' }, { classID: '77', name: 'CJW Newsletter List' }, { classID: '75', name: 'CJW Newsletter Root' }, { classID: '76', name: 'CJW Newsletter System' }, { classID: '13', name: 'Comment' }, { classID: '82', name: 'Contatto' }, { classID: '49', name: 'Documentation page' }, { classID: '70', name: 'Event' }, { classID: '71', name: 'Event calendar' }, { classID: '47', name: 'Feedback form' }, { classID: '57', name: 'File' }, { classID: '58', name: 'Flash' }, { classID: '59', name: 'Flash recorder' }, { classID: '1', name: 'Folder' }, { classID: '67', name: 'Forum' }, { classID: '69', name: 'Forum reply' }, { classID: '68', name: 'Forum topic' }, { classID: '73', name: 'Forums' }, { classID: '65', name: 'Gallery' }, { classID: '5', name: 'Image' }, { classID: '50', name: 'Infobox' }, { classID: '11', name: 'Link' }, { classID: '51', name: 'Multicalendar' }, { classID: '52', name: 'Poll' }, { classID: '46', name: 'Product' }, { classID: '16', name: 'Quicktime' }, { classID: '62', name: 'Quicktime' }, { classID: '17', name: 'Real video' }, { classID: '64', name: 'Real video' }, { classID: '80', name: 'Richiesta utenza' }, { classID: '74', name: 'Silverlight' }, { classID: '60', name: 'Video/Flash Player' }, { classID: '18', name: 'Windows media' }, { classID: '63', name: 'Windows media' } ]",
flagIcons: icons
}
var labelsObj = {
DATA_TABLE: {
msg_loading: "Caricamento..."
},
DATA_TABLE_COLS: {
thumbnail: "Icona",
name: "Nome",
visibility: "Visibilità",
type: "Tipo",
modifier: "Modificato da",
modified: "Modificato il",
published: "Pubblicato",
section: "Sezione",
translations: "Traduzioni",
priority: "Priorità",
nodeid: "ID Nodo",
objectid: "ID Oggetto",
noderemoteid: "Id remoto del nodo",
objectremoteid: "Id remoto dell\047oggetto"
},
TABLE_OPTIONS: {
header: "Opzioni tabella",
header_noipp: "Numero elementi per pagina:",
header_vtc: "Colonne tabella visibili:"
},
ACTION_BUTTONS: {
select: "Seleziona",
select_sav: "Seleziona visibili",
select_sn: "Deseleziona",
create_new: "Crea nuovo/a",
more_actions: "Altre azioni",
more_actions_rs: "Elimina selezionati",
more_actions_ms: "Sposta selezionati",
more_actions_no: "Usa i checkboxes per selezionare uno o più elementi.",
table_options: "Opzioni tabella",
first_page: "« primo",
previous_page: "‹ prec",
next_page: "succ ›",
last_page: "ultimo »"
}
};
var createGroups = [
"Content"
,
"CJW Newsletter"
,
"Setup"
,
"Media"
,
"Users"
];
var createOptions = [
[
{ text: "Article", value: 2 }
, { text: "Article (main-page)", value: 42 }
, { text: "Article (sub-page)", value: 43 }
, { text: "Azienda", value: 81 }
, { text: "Banner", value: 72 }
, { text: "Blog", value: 44 }
, { text: "Blog post", value: 45 }
, { text: "Comment", value: 13 }
, { text: "Contatto", value: 82 }
, { text: "Documentation page", value: 49 }
, { text: "Event", value: 70 }
, { text: "Event calendar", value: 71 }
, { text: "Feedback form", value: 47 }
, { text: "Folder", value: 1 }
, { text: "Forum", value: 67 }
, { text: "Forum reply", value: 69 }
, { text: "Forum topic", value: 68 }
, { text: "Forums", value: 73 }
, { text: "Gallery", value: 65 }
, { text: "Infobox", value: 50 }
, { text: "Link", value: 11 }
, { text: "Multicalendar", value: 51 }
, { text: "Poll", value: 52 }
, { text: "Product", value: 46 }
, { text: "Richiesta utenza", value: 80 }
]
,
[
{ text: "CJW Newsletter Article", value: 79 }
, { text: "CJW Newsletter Edition", value: 78 }
, { text: "CJW Newsletter List", value: 77 }
, { text: "CJW Newsletter Root", value: 75 }
, { text: "CJW Newsletter System", value: 76 }
]
,
[
{ text: "Common ini settings", value: 14 }
, { text: "Template look", value: 15 }
]
,
[
{ text: "File", value: 57 }
, { text: "Flash", value: 58 }
, { text: "Flash recorder", value: 59 }
, { text: "Image", value: 5 }
, { text: "Quicktime", value: 16 }
, { text: "Quicktime", value: 62 }
, { text: "Real video", value: 17 }
, { text: "Real video", value: 64 }
, { text: "Silverlight", value: 74 }
, { text: "Video/Flash Player", value: 60 }
, { text: "Windows media", value: 18 }
, { text: "Windows media", value: 63 }
]
,
[
{ text: "User", value: 4 }
, { text: "User group", value: 3 }
]
];
YUILoader.require(['datatable', 'button', 'container', 'cookie']);
YUILoader.onSuccess = function() {
sortableSubitems.init(confObj, labelsObj, createGroups, createOptions);
};
var options = [];
YUILoader.insert(options, 'js');
})();
</<span class="end-tag">script</span>>
<<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">"action-controls-container"</span>>
<<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">"action-controls"</span>></<span class="end-tag">div</span>>
<<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">"tpg"</span>></<span class="end-tag">div</span>>
</<span class="end-tag">div</span>>
<<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">"content-sub-items-list" </span><span class="attribute-name">class</span>=<span class="attribute-value">"content-navigation-childlist"</span>></<span class="end-tag">div</span>>
<<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">"bpg"</span>></<span class="end-tag">div</span>>
<<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">"to-dialog-container"</span>></<span class="end-tag">div</span>>
|