From mboxrd@z Thu Jan 1 00:00:00 1970 From: kupcevic@sourceware.org Date: 26 Jul 2006 16:55:40 -0000 Subject: [Cluster-devel] conga/luci/plone-custom Makefile README base.c ... Message-ID: <20060726165540.26290.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: kupcevic at sourceware.org 2006-07-26 16:55:37 Added files: luci/plone-custom: Makefile README base.css colophon default_error_message_CUSTOM document_edit_form_TEST dropdown.js_TEST failsafe_login_form footer global_searchbox highlightsearchterms.js_TEST login.js_TEST login_failed login_form login_form_TEST login_form_validate login_initial login_next login_password login_success logo.jpg main_template portlet_login registered Log message: luci/portal_skins/custom directory Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/Makefile.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/README.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/base.css.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/colophon.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/default_error_message_CUSTOM.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/document_edit_form_TEST.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/dropdown.js_TEST.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/failsafe_login_form.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/footer.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/global_searchbox.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/highlightsearchterms.js_TEST.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login.js_TEST.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_failed.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_form.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_form_TEST.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_form_validate.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_initial.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_next.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_password.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_success.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/logo.jpg.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/main_template.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/portlet_login.diff?cvsroot=cluster&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/registered.diff?cvsroot=cluster&r1=NONE&r2=1.1 /cvs/cluster/conga/luci/plone-custom/Makefile,v --> standard output revision 1.1 --- conga/luci/plone-custom/Makefile +++ - 2006-07-26 16:55:37.612213000 +0000 @@ -0,0 +1,15 @@ +LUCI_USER=admin +LUCI_PASS=changeme +LUCI_FTP=luci:8021 +LUCI_HTTP=http://luci:8080/luci + +# import page local page templates to the Luci server +import: + @if test "$(FILES)"; then \ + ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/portal_skins/custom/ $(FILES) ; \ + else \ + find . -follow -maxdepth 1 -type f -not -name Makefile -not -name ".*" -not -name custom.xml -not -name README -print0 | xargs -0 ../load_site.py -u $(LUCI_USER):$(LUCI_PASS) $(LUCI_HTTP)/portal_skins/custom/ ; \ + fi + +export: + @wget -q -r -nH --cut-dirs=3 "ftp://$(LUCI_USER):$(LUCI_PASS)@$(LUCI_FTP)/luci/portal_skins/custom/*" /cvs/cluster/conga/luci/plone-custom/README,v --> standard output revision 1.1 --- conga/luci/plone-custom/README +++ - 2006-07-26 16:55:37.694665000 +0000 @@ -0,0 +1,4 @@ +custom.xml is a backup of whole portal_skins/custom directory, including methods, types and permisions. +Other files are a content of the same dir. + +So, custom.xml is to be restored first, thru ZMI, the rest of files can be pushed using Makefile. /cvs/cluster/conga/luci/plone-custom/base.css,v --> standard output revision 1.1 --- conga/luci/plone-custom/base.css +++ - 2006-07-26 16:55:37.779450000 +0000 @@ -0,0 +1,239 @@ +/* +** Plone style sheet - Base Elements +** +** Style sheet documentation can be found at http://plone.org/documentation +** +** You should preferrably use ploneCustom.css to add your own CSS classes and to +** customize your portal, as these are the base fundaments of Plone, and will +** change and be refined in newer versions. Keeping your changes in +** ploneCustom.css will make it easier to upgrade. +** +** Feel free to use whole or parts of this for your own designs, but give credit +** where credit is due. +** +*/ + +/* (do not remove this :) */ +/* (not this either :) */ + + +body { + font: &dtml-fontBaseSize; ; + background-color: &dtml-backgroundColor;; + color: &dtml-fontColor;; + margin: 0; + padding: 0; +} + +table { + font-size: 100%; +} + +a { + color: &dtml-linkColor;; + background-color: transparent; +} +img { + border: none; + vertical-align: middle; +} +p { + margin: 0 0 0.75em 0; + line-height: 1.5em; +} + +p img { + border: none; + margin: 0; +} + +hr { + border: 0; + height: &dtml-borderWidth;; + color: &dtml-globalBorderColor;; + background-color: &dtml-globalBorderColor;; + margin: 0.5em 0 1em 0; +} + + +h1, h2, h3, h4, h5, h6 { + color: &dtml-fontColor;; + background-color: transparent; + font-family: ; + font-weight: normal; + margin: 0 0 0.25em 0; + border-bottom: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; +} + +h1 a, +h2 a, +h3 a, +h4 a, +h5 a, +h6 a { + color: &dtml-fontColor; ! important; + text-decoration: none; +} + +h1 { + font-size: 160%; +} + +h2 { + font-size: 150%; +} + +h3 { + font-size: 125%; + border-bottom: none; + font-weight: bold; +} + +h4 { + font-size: 110%; + border-bottom: none; + font-weight: bold; +} + +h5 { + font-size: 100%; + border-bottom: none; + font-weight: bold; +} + +h6 { + font-size: &dtml-fontSmallSize;; + border-bottom: none; + font-weight: bold; +} + +ul { + line-height: 1.5em; + margin: 0.5em 0 0 1.5em; + padding: 0; + list-style-image: url(&dtml-portal_url;/bullet.gif); + list-style-type: square; +} + +ol { + line-height: 1.5em; + margin: 0.5em 0 0 2.5em; + padding: 0; + list-style-image: none; +} + +li { + margin-bottom: 0.5em; +} + +dt { + font-weight: bold; +} + +dd { + line-height: 1.5em; + margin-bottom: 1em; +} + +fieldset { + border: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; + margin: 1em 0em 1em 0em; + padding: 0em 1em 1em 1em; + line-height: 1.5em; + width: auto; +} +legend { + background: &dtml-backgroundColor;; + padding: 0.5em; + font-size: 90%; +} + +form { + border: none; + margin: 0; +} + +label { + font-weight: bold; +} + +textarea { + font: 100% Monaco, "Courier New", Courier, monospace; + border: &dtml-borderWidth; solid &dtml-globalBorderColor;; + color: &dtml-inputFontColor;; + background: White url(&dtml-portal_url;/input_background.gif) repeat-x; + width: 100%; +} + +input { + font-family: ; + border: &dtml-borderWidth; solid &dtml-globalBorderColor;; + color: &dtml-inputFontColor;; + vertical-align: middle; + background: White url(&dtml-portal_url;/input_background.gif) repeat-x; +} +select { + border: &dtml-borderWidth; solid &dtml-globalBorderColor;; + color: &dtml-inputFontColor;; + background-color: White; + vertical-align: top; +} +abbr, acronym, .explain { + border-bottom: &dtml-borderWidth; dotted &dtml-fontColor;; + color: &dtml-fontColor;; + background-color: transparent; + cursor: help; +} +q { + font-family: Baskerville, Georgia, serif; + font-style: italic; + font-size: 120%; +} +blockquote { + padding-left: 0.5em; + margin-left: 0; + border-left: 4px solid &dtml-globalBorderColor;; + color: &dtml-discreetColor;; +} +code { + font-family: Monaco, "Courier New", Courier, monospace; + font-size: 120%; + color: &dtml-fontColor;; + background-color: &dtml-globalBackgroundColor;; + padding: 0 0.1em; +} +pre { + font-family: Monaco, "Courier New", Courier, monospace; + font-size: 100%; + padding: 1em; + border: &dtml-borderWidth; &dtml-borderStyle; &dtml-globalBorderColor;; + color: &dtml-fontColor;; + background-color: &dtml-globalBackgroundColor;; + overflow: auto; +} + +ins { + color: green; + text-decoration: none; +} + +del { + color: red; + text-decoration: line-through; +} + +/* Helper element to work with CSS floats */ + +.visualClear { + display: block; + clear: both; +} + +/* Hiding helper elements for old browsers */ + +.netscape4 { + display: none; +} + + +/* */ /cvs/cluster/conga/luci/plone-custom/colophon,v --> standard output revision 1.1 --- conga/luci/plone-custom/colophon +++ - 2006-07-26 16:55:37.866110000 +0000 @@ -0,0 +1,12 @@ + + + + + +
+
+ + + /cvs/cluster/conga/luci/plone-custom/default_error_message_CUSTOM,v --> standard output revision 1.1 --- conga/luci/plone-custom/default_error_message_CUSTOM +++ - 2006-07-26 16:55:37.951052000 +0000 @@ -0,0 +1,5 @@ + + +Sorry, some internal error has occured :( + + /cvs/cluster/conga/luci/plone-custom/document_edit_form_TEST,v --> standard output revision 1.1 --- conga/luci/plone-custom/document_edit_form_TEST +++ - 2006-07-26 16:55:38.271118000 +0000 @@ -0,0 +1,185 @@ + + + + +
+ +

+ Edit + + Item type + +

+ +

+ Fill in the details of this document. +

+ +
+ +
+ + Document Details + +
+ + + +
+ Short Name is part of the item's web address. + For accessibility reasons, do not use spaces, upper case, + underscores, or special characters. +
+ +
Validation error output
+ + + +
+ + + +
+ + + + (Required) + +
Validation error output
+ + + +
+ +
+ + + +
+ A brief description of the item. +
+ + +
+ +
+ + + + +
+ The WYSIWYG code +
+
+ +
+ Format box, if needed +
+ +
+ +
+ + + +
+ Uploaded files will replace the body text entered above. +
+ +
Validation error output
+ + +
+ + +
+ + Object locked + + + + +
+
+ + + +
+ +
+ Get the byline - contains details about author and modification date. +
+ +
+ + + /cvs/cluster/conga/luci/plone-custom/dropdown.js_TEST,v --> standard output revision 1.1 --- conga/luci/plone-custom/dropdown.js_TEST +++ - 2006-07-26 16:55:38.352754000 +0000 @@ -0,0 +1,170 @@ +/* + * This is the code for the dropdown menus. It uses the following markup: + * + *
+ *
+ * + * A Title + *
+ *
+ * + *
+ *
+ * + * When the menu is toggled, then the dl with the class actionMenu will get an + * additional class which switches between 'activated' and 'deactivated'. + * You can use this to style it accordingly, for example: + * + * .actionMenu.activated { + * display: block; + * } + * + * .actionMenu.deactivated { + * display: none; + * } + * + * When you click somewhere else than the menu, then all open menus will be + * deactivated. When you move your mouse over the a-tag of another menu, then + * that one will be activated and all others deactivated. When you click on a + * link inside the actionMenuContent element, then the menu will be closed and + * the link followed. + * + * This file uses functions from register_function.js, cssQuery.js and + * nodeutils.js. + * + */ + +function isActionMenu(node) { + if (hasClassName(node, 'actionMenu')) { + return true; + } + return false; +}; + +function hideAllMenus() { + var menus = cssQuery('dl.actionMenu'); + for (var i=0; i < menus.length; i++) { + replaceClassName(menus[i], 'activated', 'deactivated', true); + } +}; + +function toggleMenuHandler(event) { + if (!event) var event = window.event; // IE compatibility + + // terminate if we hit a non-compliant DOM implementation + // returning true, so the link is still followed + if (!W3CDOM){return true;} + + var container = findContainer(this, isActionMenu); + if (!container) { + return true; + } + + // check if the menu is visible + if (hasClassName(container, 'activated')) { + // it's visible - hide it + replaceClassName(container, 'activated', 'deactivated', true); + } else { + // it's invisible - make it visible + replaceClassName(container, 'deactivated', 'activated', true); + } + + return false; +}; + +function hideMenusHandler(event) { + if (!event) var event = window.event; // IE compatibility + + hideAllMenus(); + + // we want to follow this link + return true; +}; + +function actionMenuDocumentMouseDown(event) { + if (!event) var event = window.event; // IE compatibility + + if (event.target) + targ = event.target; + else if (event.srcElement) + targ = event.srcElement; + + var container = findContainer(targ, isActionMenu); + if (container) { + // targ is part of the menu, so just return and do the default + return true; + } + + hideAllMenus(); + + return true; +}; + +function actionMenuMouseOver(event) { + if (!event) var event = window.event; // IE compatibility + + if (!this.tagName && (this.tagName == 'A' || this.tagName == 'a')) { + return true; + } + + var container = findContainer(this, isActionMenu); + if (!container) { + return true; + } + var menu_id = container.id; + + var switch_menu = false; + // hide all menus + var menus = cssQuery('dl.actionMenu'); + for (var i=0; i < menus.length; i++) { + var menu = menus[i] + // check if the menu is visible + if (hasClassName(menu, 'activated')) { + switch_menu = true; + } + // turn off menu when it's not the current one + if (menu.id != menu_id) { + replaceClassName(menu, 'activated', 'deactivated', true); + } + } + + if (switch_menu) { + var menu = cssQuery('#'+menu_id)[0]; + if (menu) { + replaceClassName(menu, 'deactivated', 'activated', true); + } + } + + return true; +}; + +function initializeMenus() { + // terminate if we hit a non-compliant DOM implementation + if (!W3CDOM) {return false;} + + document.onmousedown = actionMenuDocumentMouseDown; + + hideAllMenus(); + + // add toggle function to header links + var menu_headers = cssQuery('dl.actionMenu > dt.actionMenuHeader > a'); + for (var i=0; i < menu_headers.length; i++) { + var menu_header = menu_headers[i]; + + menu_header.onclick = toggleMenuHandler; + menu_header.onmouseover = actionMenuMouseOver; + } + + // add hide function to all links in the dropdown, so the dropdown closes + // when any link is clicked + var menu_contents = cssQuery('dl.actionMenu > dd.actionMenuContent'); + for (var i=0; i < menu_contents.length; i++) { + menu_contents[i].onclick = hideMenusHandler; + } + + // uncomment to enable sorting of elements + //var nodes = cssQuery('#objectMenu > dd.actionMenuContent li'); + //sortNodes(nodes, getInnerTextFast); +}; + +registerPloneFunction(initializeMenus); /cvs/cluster/conga/luci/plone-custom/failsafe_login_form,v --> standard output revision 1.1 --- conga/luci/plone-custom/failsafe_login_form +++ - 2006-07-26 16:55:38.436151000 +0000 @@ -0,0 +1,152 @@ + + + + + + + + +
+ +

Please log in

+ +

+To access this part of the site, you need to log in with your user name and password. +

+ + + +
+ While cookie authentication is disabled, cookie-based login is not available. +
+ +
+

This site has not yet been initialized.

+

Please login to the server as root and run the command luci_admin init to initialize it. +

+ +
+If you have forgotten your password, you can reset the password by logging in to the server as root and running the command luci_admin password. +
+ + + +
+ +
+ + Account details + + + + + + + + + +
+ + + +
+ Login names are case sensitive, make sure the caps lock key is not enabled. +
+ +
Validation error output
+ + + +
+ +
+ + +
+
+ Case sensitive, make sure caps lock is not enabled. +
+
+ +
Validation error output
+ + +
+ +
+ + + + + +
+ Check this to have your user name filled in automatically when you log in later. +
+ +
+ +
+ + + +
+ +

+ Please log out or exit your browser when you're done. +

+ +
+ +
+
+ + + /cvs/cluster/conga/luci/plone-custom/login_form_TEST,v --> standard output revision 1.1 --- conga/luci/plone-custom/login_form_TEST +++ - 2006-07-26 16:55:39.125829000 +0000 @@ -0,0 +1,178 @@ + + + + + + + + + +
+ +

Please log in

+ +

+To access this part of the site, you need to log in with your user name and password. +

+ +

+ +If you do not have an account here, head over to the + + + + registration form. + +

+ + + +
+ While cookie authentication is disabled, cookie-based login is not available. +
+ +
+ +
+ + Account details + + + + + + + + + +
+ + + +
+ Login names are case sensitive, make sure the caps lock key is not enabled. +
+ +
Validation error output
+ + + +
+ +
+ + + +
+
+ Case sensitive, make sure caps lock is not enabled. +
+
+ If you have forgotten your password, + + click here to retrieve it + . +
+
+ +
Validation error output
+ + +
+ +
+ + + + + +
+ Check this to have your user name filled in automatically when you log in later. +
+ +
+ +
+ + + +
+ +

+ Please log out or exit your browser when you're done. +

+ +
+ +
+
+ + + /cvs/cluster/conga/luci/plone-custom/login_form_validate,v --> standard output revision 1.1 --- conga/luci/plone-custom/login_form_validate +++ - 2006-07-26 16:55:39.210468000 +0000 @@ -0,0 +1,50 @@ +## Controller Validator "login_form_validate" +##bind container=container +##bind context=context +##bind namespace= +##bind script=script +##bind state=state +##bind subpath=traverse_subpath +##parameters= +##title=Validate login +## +LOGIN_FAILED_MESSAGE = 'Login failed' # TODO need a friendlier message here + +request = context.REQUEST +js_enabled = request.get('js_enabled',0) # is javascript enabled? +js_enabled = js_enabled=='1' or js_enabled==1 +cookies_enabled = request.get('cookies_enabled',0) # are cookies enabled? +cookies_enabled = cookies_enabled=='1' or cookies_enabled==1 + +if js_enabled and not cookies_enabled: + # auth cookie won't persist -- erase it so users aren't confused + context.portal_membership.immediateLogout() + state.set(status='enable_cookies', portal_status_message='You must enable cookies before you can log in') + return state + +mt=context.portal_membership +if mt.isAnonymousUser(): + if js_enabled: # javascript is enabled - we can diagnose the failure + auth = getattr(context, 'cookie_authentication', None) # using cookie authentication? + if auth: + user_name = request.get('login_name', None) + password_empty = request.get('pwd_empty', None)=='1' + ac_name = auth.name_cookie + ac_password = auth.pw_cookie + + if not user_name: + # no user name + state.setError(ac_name, 'Please enter your login name.', 'login_name_required') + if password_empty: + state.setError(ac_password, 'Please enter your password.', 'password_required') + verify_login_name = context.portal_properties.site_properties.getProperty('verify_login_name', 0) + if user_name and verify_login_name: + if mt.getMemberById(user_name) is None: + state.setError(ac_name, 'Authentication Error.', 'password_incorrect') + elif not password_empty: + state.setError(ac_password, 'Authentication Error.', 'password_incorrect') + state.set(status='failure', portal_status_message=LOGIN_FAILED_MESSAGE) + else: # no javascript - do low tech login failure + state.set(status='failure_page', portal_status_message=LOGIN_FAILED_MESSAGE) + +return state /cvs/cluster/conga/luci/plone-custom/login_initial,v --> standard output revision 1.1 --- conga/luci/plone-custom/login_initial +++ - 2006-07-26 16:55:39.305913000 +0000 @@ -0,0 +1,13 @@ +## Controller Python Script "login_initial" +##bind container=container +##bind context=context +##bind namespace= +##bind script=script +##bind state=state +##bind subpath=traverse_subpath +##parameters= +##title=Handle a user's initial login +## +# do anything that must be done during a user's initial login here +state.set(status='login_change_password') +return state /cvs/cluster/conga/luci/plone-custom/login_next,v --> standard output revision 1.1 --- conga/luci/plone-custom/login_next +++ - 2006-07-26 16:55:39.392837000 +0000 @@ -0,0 +1,50 @@ +## Controller Python Script "login_next" +##bind container=container +##bind context=context +##bind namespace= +##bind script=script +##bind state=state +##bind subpath=traverse_subpath +##parameters= +##title=login +## +from DateTime import DateTime +import ZTUtils + +REQUEST=context.REQUEST + +membership_tool=context.portal_membership +if membership_tool.isAnonymousUser(): + REQUEST.RESPONSE.expireCookie('__ac', path='/') + return state.set(status='failure', portal_status_message='Login failed') + +came_from = REQUEST.get('came_from', None) +util = context.plone_utils + +# if we weren't called from something that set 'came_from' or if HTTP_REFERER +# is the 'logged_out' page, return the default 'login_success' form +if came_from is not None: + scheme, location, path, parameters, query, fragment = util.urlparse(came_from) + template_id = path.split('/')[-1] + if template_id in ['login', 'login_success', 'login_password', 'login_failed', 'login_form', 'logged_in', 'logged_out', 'registered', 'mail_password', 'mail_password_form', 'join_form', 'require_login', 'member_search_results']: + came_from = '' + # It is probably a good idea in general to filter out urls outside the portal. + # An added bonus: this fixes some problems with a Zope bug that doesn't + # properly unmangle the VirtualHostMonster stuff when setting ACTUAL_URL + if not context.portal_url.isURLInPortal(came_from): + came_from = '' +came_from = '/luci/homebase/' +js_enabled = REQUEST.get('js_enabled','1') != '0' +if came_from and js_enabled: + # If javascript is not enabled, it is possible that cookies are not enabled. + # If cookies aren't enabled, the redirect will log the user out, and confusion + # may arise. Redirect only if we know for sure that cookies are enabled. + + # Add portal_status_message to the query string of the url we came from + query = context.create_query_string(query, portal_status_message='Welcome! You are now logged in.') + came_from = util.urlunparse((scheme, location, path, parameters, query, fragment)) + + REQUEST.RESPONSE.redirect(came_from) + +state.set(came_from=came_from) +return state /cvs/cluster/conga/luci/plone-custom/login_password,v --> standard output revision 1.1 --- conga/luci/plone-custom/login_password +++ - 2006-07-26 16:55:39.508045000 +0000 @@ -0,0 +1,109 @@ + + + + + + + + + + +
+ +

Welcome!

+ +

+ + This is the first time that you've logged in to + here. + + +

+ +

+ Please use the form below to change your password. +

+ +
+ +
+ Password Details + + + + + + +
+ + + +
+ Enter your new password. Minimum 5 characters. +
+ +
Validation error output
+ + +
+ +
+ + + +
+ Re-enter the password. Make sure the passwords are identical. +
+ +
Validation error output
+ + +
+ +
+ +
+ +
+ +
+ +
+ + + + /cvs/cluster/conga/luci/plone-custom/login_success,v --> standard output revision 1.1 --- conga/luci/plone-custom/login_success +++ - 2006-07-26 16:55:39.614976000 +0000 @@ -0,0 +1,74 @@ + + + + + + + + + + + + +
+
+
+ +

You are now logged in

+ +

+ + Continue +

+ +

+ + Continue to the + + portal title + + home page + +

+ +
+

+ You can take fuller advantage of the features of this site + if you enable javascript in your browser. +

+ +

+ Note: If you do not remain logged in after leaving this + page, it is because you need to + + + enable cookies + + + in your browser. +

+
+ +
+
+
+
+
+
+ + + + /cvs/cluster/conga/luci/plone-custom/logo.jpg,v --> standard output revision 1.1 Binary files /cvs/cluster/conga/luci/plone-custom/logo.jpg and - differ co: output error: Broken pipe co aborted /cvs/cluster/conga/luci/plone-custom/main_template,v --> standard output revision 1.1 --- conga/luci/plone-custom/main_template +++ - 2006-07-26 16:55:39.822498000 +0000 @@ -0,0 +1,200 @@ + + + + + + + + + + + + + + + + + + Get the global cache headers located in global_cache_settings. + + + + A slot where you can insert elements in the header from a template + + + + A slot where you can insert CSS in the header from a template + + + + + A slot where you can insert javascript in the header from a template + + + + + +
+ +
+ +
+ Skip to content. + + Skip to navigation + +
+ Site-wide actions (Contact, Sitemap, Help, Style Switcher etc) +
+ +
+ The quicksearch box, normally placed at the top right +
+ + + The portal logo, linked to the portal root + + +
+ The global sections tabs. (Welcome, News etc) +
+
+ +
+ The personal bar. (log in, logout etc...) +
+ +
+ The breadcrumb navigation ("you are here") +
+
+ +
+ + + The wrapper table. It contains the three columns. There's a table-less + alternative in the plone_tableless skin layer that you can use if you + prefer layouts that don't use tables. + + + + + + Start of the left column + + End of the left column + + Start of main content block + + End of main content block + + Start of right column + + End of the right column + + +
+ +
+ + + This instruction gets the portlets (boxes) for the left column. + + +   +
+
+ + +
+ + +
+ The content views (View, Edit, Properties, Workflow) +
+ +
+ The content bar +
+
+ +
+ + + +
+ Portal status message +
+ + + Visual Header + + + + Page body text + + + + + + +
+ +
+ +
+
+
+ + + This instruction gets the portlets (boxes) for the right column. + + +   +
+
+ end column wrapper + +
+ + +
+ + + + + Footer + + + + The colophon area - contains details about the production of + the site. Typically "powered by" buttons, standards, tools used. + + + +
+ + + +
/cvs/cluster/conga/luci/plone-custom/portlet_login,v --> standard output revision 1.1 --- conga/luci/plone-custom/portlet_login +++ - 2006-07-26 16:55:39.907478000 +0000 @@ -0,0 +1,115 @@ + + +
+ +
+ +
+ Log in +
+ +
+
+ + + + + + + + +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + +
+
+
+ +
+ + + + +
+ +
+ Log in +
+ +
+ Cookie authentication is disabled. + Login portlet not available. +
+ +
+ + + +
+ + /cvs/cluster/conga/luci/plone-custom/registered,v --> standard output revision 1.1 --- conga/luci/plone-custom/registered +++ - 2006-07-26 16:55:39.988150000 +0000 @@ -0,0 +1,71 @@ + + + +
+ +
+ Cookie authentication has been disabled. +
+ +
+ +

Welcome!

+ + +

Click the button to log in immediately.

+ + + +
+ + + + + + + + + + + +
+
+ +
+ +
+ +