// Wiki.js - implements the Wiki application // ---- Wiki Application ---- FIRSTCLASS.apps.Wiki = function(config) { this._domEl = config.domElement; this._masterDataSource = config.dataSource; this._dataSource = config.dataSource.createSlave({}); this._view = "none"; this._currentRow = null; this._community = config.community; this._config = config; this._commentEl = null; this._commEditor = null; this._firstPageEl = null; this._savePageName = null; var that = this; var html = []; // HTML elements this._offlineEl = document.createElement("div"); // bag for out-of-page things this._summEl = document.createElement("div"); // wiki summary section // summary bar html.push("
");
html.push("
| ");
html.push(""); html.push(" |
"); html.push(" |
"); html.push(" |
"); html.push(" | ");
html.push("
| ");
html.push(""); html.push(" | |||
"); html.push(" | "); html.push(" | "); html.push(" | |||
"); html.push(" | ");
html.push(" | ");
html.push(""); html.push(" | |||
"); html.push(" | ");
html.push("
| ");
html.push(""); html.push(" | |||
"); html.push(" | "); html.push(" | ||||
"); html.push(" | " + FIRSTCLASS.locale.community.wiki.tags + " | ");
html.push(""); html.push(" | |||
" + FIRSTCLASS.locale.community.wiki.contents + " |
"); html.push(" |
| "); html.push(" |
"); // outer cell
html.push("
| "); } } html.push(" |