text
stringlengths
2
1.04M
meta
dict
classdef mexInterface_AlgDirICP_StdICP_Mesh < handle % MATLAB class wrapper to an underlying C++ class properties (SetAccess = private) h; % Handle to the underlying C++ class instance end methods %% Constructor - Create a new C++ class instance function this = mexInterface_AlgDirICP_StdICP_Mesh() this.h = mexAlgDirICP_StdICP_Mesh('new'); end %% Destructor - Destroy the C++ class instance function delete(this) mexAlgDirICP_StdICP_Mesh('delete', this.h); end %% Initialize Algorithm % inputs: % V ~ target vertices Nv x 3 % T,Tn ~ target triangles and triangle normals Nt x 3 % Xp ~ source points Ns x 3 % Xn ~ source normals Ns x 3 function Initialize(this, V,T,Tn, Xp,Xn) % convert triangles to C++ indexing (base-0) and to integer data type Tcpp = int32(T - ones(size(T))); % // Expected Input: % // cmd % // class handle % // mesh % // V ~ 3D vertex positions (3 x Nv double) % // T ~ triangle vertex indices (3 x Nt integer) % // N ~ 3D triangle normals (3 x Nt double) % // sample points (3 x Ns double) % // sample normals (3 x Ns double) % // mexAlgDirICP_StdICP_Mesh('Initialize',this.h,... V',Tcpp',Tn',... Xp',Xn'); end %% Set Samples % inputs: % Xp ~ source points Ns x 3 % Xn ~ source normals Ns x 3 function SetSamples(this, Xp,Xn ) % // Expected Input: % // cmd % // class handle % // sample points (3 x Ns double) % // sample normals (3 x Ns double) % // mexAlgDirICP_StdICP_Mesh('SetSamples',this.h,... Xp',Xn' ); end %% ICP: Initialize Parameters % inputs: % F0 ~ initial registration guess (4 x 4 double) function ICP_InitializeParameters(this, F0) % // Expected Input: % // cmd % // class handle % // Freg ~ [R,t] (3 x 4 double) mexAlgDirICP_StdICP_Mesh('ICP_InitializeParameters',this.h, F0(1:3,:)); end %% ICP: Compute Matches % computes matches and post-match parameters % % outputs: % Yp ~ match positions N x 3 % Yn ~ match orientations N x 3 function [Yp, Yn] = ICP_ComputeMatches(this) % // Expected Input: % // cmd % // class handle % // % // Output: % // SampleMatchPts ~ matches for 3D sample pts (3 x numPts double) [optional] [Yp, Yn] = mexAlgDirICP_StdICP_Mesh('ICP_ComputeMatches', this.h); Yp = Yp'; Yn = Yn'; end %% ICP: Register Matches % registers matches and computes post-registration parameters % % outputs: % F ~ registration parameters function [F] = ICP_RegisterMatches(this) % // Expected Input: % // cmd % // class handle % // % // Output: % // Freg ~ [R,t] (3 x 4 double) (Y = Freg * X) % // Freg = mexAlgDirICP_StdICP_Mesh('ICP_RegisterMatches', this.h); F = getFrm3(Freg(1:3,1:3),Freg(1:3,4)); end function fval = ICP_EvaluateErrorFunction( this ) % // Expected Input: % // cmd % // class handle % // % // Output: % // fval ~ value of error function (double) % // fval = mexAlgDirICP_StdICP_Mesh('ICP_EvaluateErrorFunction', this.h); end function bTerminate = ICP_Terminate( this ) % // Expected Input: % // cmd % // class handle % // % // Output: % // bTerminate ~ boolean specifying algorithm-specific termination (logical scalar) % // bTerminate = mexAlgDirICP_StdICP_Mesh('ICP_Terminate', this.h); end end end
{ "content_hash": "8cafc38d2af9eefb3f04996d328b1c91", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 95, "avg_line_length": 30.68217054263566, "alnum_prop": 0.527033855482567, "repo_name": "sbillin/IMLP", "id": "7708e87f8829c4b5f978c9d01006720f365ee11d", "size": "3958", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "cisstICP/matlabICP/m/mexInterface_AlgDirICP_StdICP_Mesh.m", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "C", "bytes": "349580" }, { "name": "C++", "bytes": "656011" }, { "name": "M", "bytes": "14364" }, { "name": "Matlab", "bytes": "2664674" }, { "name": "Shell", "bytes": "3068" } ], "symlink_target": "" }
package xworker.swt.editor; import org.eclipse.swt.browser.Browser; import org.eclipse.swt.browser.ProgressEvent; import org.eclipse.swt.browser.ProgressListener; import org.eclipse.swt.browser.StatusTextEvent; import org.eclipse.swt.browser.StatusTextListener; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.widgets.Shell; import xworker.swt.util.UtilBrowserListener; import xworker.swt.util.UtilSwt; public class ToolTipStatusListener implements StatusTextListener, ProgressListener, UtilBrowserListener{ Shell shell; public ToolTipStatusListener(Shell shell){ this.shell = shell; } public void changed(StatusTextEvent event) { //Browser browser = (Browser) event.getSource(); //System.out.println(event.text); handleBrowserMessage(event.text); } public void changed(ProgressEvent event) { //event.widget.execute("window.status=getDivSize()"); } public void completed(ProgressEvent event) { //println "completed"; ((Browser) event.widget).execute("getContents()"); } @Override public boolean handleBrowserMessage(String message) { if(message != null && message.startsWith("html_edit_content")){ //取编辑器内容的值 //System.out.println("tooltip text=" + event.text); String content = message.substring(message.indexOf(":") + 1, message.length()); //System.out.println(content); String[] sizes = content.split(":"); int width = Integer.parseInt(sizes[1]) + 20; if(width < 420){ //width = 420; } int height = Integer.parseInt(sizes[0]); if(height < 10){ height = 10; } try{ Point size = shell.getSize(); Rectangle area = shell.getClientArea(); int bx = size.x - area.width; int by = size.y - area.height; width = width + bx; height = height + 3 + by; width = UtilSwt.getInt(width); height = UtilSwt.getInt(height); shell.setSize(width , height); }catch(Exception e){ shell.setSize(420, 300); } shell.setVisible(true); return true; } return false; } }
{ "content_hash": "2efe5947a81e7d7f42aab49a85b71b5e", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 104, "avg_line_length": 34.08108108108108, "alnum_prop": 0.5713719270420301, "repo_name": "x-meta/xworker", "id": "aaadc5ffd2ff54d628f5ccacf6976304273a85a4", "size": "3300", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "xworker_swt/src/main/java/xworker/swt/editor/ToolTipStatusListener.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Batchfile", "bytes": "13302" }, { "name": "CSS", "bytes": "608135" }, { "name": "Fluent", "bytes": "1420" }, { "name": "FreeMarker", "bytes": "245430" }, { "name": "Groovy", "bytes": "2259" }, { "name": "HTML", "bytes": "228023" }, { "name": "Java", "bytes": "12283468" }, { "name": "JavaScript", "bytes": "804030" }, { "name": "Lex", "bytes": "5606489" }, { "name": "PHP", "bytes": "2232" }, { "name": "Python", "bytes": "572" }, { "name": "Ruby", "bytes": "302" }, { "name": "SCSS", "bytes": "16447" }, { "name": "Shell", "bytes": "13983" } ], "symlink_target": "" }
package org.kuali.kfs.module.bc.util; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.apache.commons.lang.StringUtils; import org.kuali.kfs.module.bc.BCConstants; import org.kuali.kfs.module.bc.businessobject.BudgetConstructionRequestMove; import org.kuali.rice.core.api.util.type.KualiInteger; /** * This class contains methods to help parse budget construction import request files * */ public class ImportRequestFileParsingHelper { /** * Parses line and creates BudgetConstructionRequestMove object. * * @param lineToParse * @param fieldSeperator * @param textDelimiter * @return the BudgetConstructionRequestMove or null if there was an error parsing the line */ public static BudgetConstructionRequestMove parseLine(String lineToParse, String fieldSeperator, String textDelimiter, boolean isAnnual) { List<String> attributes = new ArrayList<String>(); BudgetConstructionRequestMove budgetConstructionRequestMove = new BudgetConstructionRequestMove(); int expectedNumberOfSeparators = isAnnual ? 5 : 16; lineToParse = lineToParse.trim(); //check if line is in correct format if (!isLineCorrectlyFormatted(lineToParse, fieldSeperator, textDelimiter, isAnnual)) return null; if (textDelimiter.equalsIgnoreCase(BCConstants.RequestImportTextFieldDelimiter.NOTHING.getDelimiter())) { attributes.addAll(Arrays.asList(lineToParse.split(isFieldSeparatorSpecialCharacter(fieldSeperator) ? "\\" + fieldSeperator : fieldSeperator))); } else if ( getEscapedFieldSeparatorCount(lineToParse, fieldSeperator, textDelimiter, isAnnual) == 0) { lineToParse = StringUtils.remove(lineToParse, textDelimiter); attributes.addAll(Arrays.asList(lineToParse.split(isFieldSeparatorSpecialCharacter(fieldSeperator) ? "\\" + fieldSeperator : fieldSeperator))); } else { int firstIndexOfTextDelimiter = 0; int nextIndexOfTextDelimiter = lineToParse.indexOf(textDelimiter, firstIndexOfTextDelimiter + 1); int expectedNumberOfTextDelimiters = 10; for (int i = 0; i < expectedNumberOfTextDelimiters/2; i++) { attributes.add(lineToParse.substring(firstIndexOfTextDelimiter, nextIndexOfTextDelimiter).replaceAll(textDelimiter, "")); firstIndexOfTextDelimiter = lineToParse.indexOf(textDelimiter, nextIndexOfTextDelimiter + 1); nextIndexOfTextDelimiter = lineToParse.indexOf(textDelimiter, firstIndexOfTextDelimiter + 1); } String remainingNonStringValuesToParse = lineToParse.substring(lineToParse.lastIndexOf(textDelimiter + 1)); attributes.addAll(Arrays.asList(remainingNonStringValuesToParse.split(isFieldSeparatorSpecialCharacter(fieldSeperator) ? "\\" + fieldSeperator : fieldSeperator))); } budgetConstructionRequestMove.setChartOfAccountsCode(attributes.get(0)); budgetConstructionRequestMove.setAccountNumber(attributes.get(1)); budgetConstructionRequestMove.setSubAccountNumber(attributes.get(2)); budgetConstructionRequestMove.setFinancialObjectCode(attributes.get(3)); budgetConstructionRequestMove.setFinancialSubObjectCode(attributes.get(4)); try { if (isAnnual) { budgetConstructionRequestMove.setAccountLineAnnualBalanceAmount(new KualiInteger(Integer.parseInt(attributes.get(5)))); } else { budgetConstructionRequestMove.setFinancialDocumentMonth1LineAmount(new KualiInteger(Integer.parseInt(attributes.get(5)))); budgetConstructionRequestMove.setFinancialDocumentMonth2LineAmount(new KualiInteger(Integer.parseInt(attributes.get(6)))); budgetConstructionRequestMove.setFinancialDocumentMonth3LineAmount(new KualiInteger(Integer.parseInt(attributes.get(7)))); budgetConstructionRequestMove.setFinancialDocumentMonth4LineAmount(new KualiInteger(Integer.parseInt(attributes.get(8)))); budgetConstructionRequestMove.setFinancialDocumentMonth5LineAmount(new KualiInteger(Integer.parseInt(attributes.get(9)))); budgetConstructionRequestMove.setFinancialDocumentMonth6LineAmount(new KualiInteger(Integer.parseInt(attributes.get(10)))); budgetConstructionRequestMove.setFinancialDocumentMonth7LineAmount(new KualiInteger(Integer.parseInt(attributes.get(11)))); budgetConstructionRequestMove.setFinancialDocumentMonth8LineAmount(new KualiInteger(Integer.parseInt(attributes.get(12)))); budgetConstructionRequestMove.setFinancialDocumentMonth9LineAmount(new KualiInteger(Integer.parseInt(attributes.get(13)))); budgetConstructionRequestMove.setFinancialDocumentMonth10LineAmount(new KualiInteger(Integer.parseInt(attributes.get(14)))); budgetConstructionRequestMove.setFinancialDocumentMonth11LineAmount(new KualiInteger(Integer.parseInt(attributes.get(15)))); budgetConstructionRequestMove.setFinancialDocumentMonth12LineAmount(new KualiInteger(Integer.parseInt(attributes.get(16)))); } } catch (NumberFormatException e) { return null; } return budgetConstructionRequestMove; } /** * Checks for the correct number of field separators and text delimiters on line (either annual or monthly file). Does not check if the correct field separator and text delimiter are being used (form level validation should do this) * * @param lineToParse * @param fieldSeperator * @param textDelimiter * @param isAnnual * @return */ public static boolean isLineCorrectlyFormatted(String lineToParse, String fieldSeperator, String textDelimiter, boolean isAnnual) { int fieldSeparatorCount = StringUtils.countMatches(lineToParse, fieldSeperator); int expectedNumberOfSeparators = isAnnual ? 5 : 16; if (textDelimiter.equalsIgnoreCase(BCConstants.RequestImportTextFieldDelimiter.NOTHING.getDelimiter())) { if (isAnnual) { if (fieldSeparatorCount != 5) { return false; } } else { if (fieldSeparatorCount != 16) { return false; } } } else if (StringUtils.countMatches(lineToParse, textDelimiter) != 10) { return false; } else if ( getEscapedFieldSeparatorCount(lineToParse, fieldSeperator, textDelimiter, isAnnual) == -1 || ( fieldSeparatorCount - getEscapedFieldSeparatorCount(lineToParse, fieldSeperator, textDelimiter, isAnnual) != expectedNumberOfSeparators ) ) { return false; } return true; } /** * Checks if a line of an annual file contains an escaped field separator (convience method to aid in file parsing) * Will not work correctly if text delimiters are not correctly placed in lineToParse (method does not check file formatting) * * @param lineToParse * @param fieldSeperator * @param textDelimiter * @return number of escaped separators or -1 if file is incorrectly formatted */ private static int getEscapedFieldSeparatorCount(String lineToParse, String fieldSeperator, String textDelimiter, boolean isAnnual) { int firstIndexOfTextDelimiter = 0; int nextIndexOfTextDelimiter = lineToParse.indexOf(textDelimiter, firstIndexOfTextDelimiter + 1); int expectedNumberOfSeparators = isAnnual ? 5 : 16; int expectedTextDelimitersCount = 10; int actualNumberOfTextDelimiters = StringUtils.countMatches(lineToParse, textDelimiter); int totalSeparatorsInLineToParse = StringUtils.countMatches(lineToParse, fieldSeperator); int escapedSeparatorsCount = 0; //line does not use text delimiters if (textDelimiter.equalsIgnoreCase(BCConstants.RequestImportTextFieldDelimiter.NOTHING.getDelimiter())) return 0; //line does not contain escaped field separators if (totalSeparatorsInLineToParse == expectedNumberOfSeparators) return 0; //line is incorrectly formatted if ( actualNumberOfTextDelimiters != expectedTextDelimitersCount) return -1; for (int i = 0; i < expectedTextDelimitersCount/2; i++) { String escapedString = lineToParse.substring(firstIndexOfTextDelimiter, nextIndexOfTextDelimiter); escapedSeparatorsCount += StringUtils.countMatches(escapedString, fieldSeperator); firstIndexOfTextDelimiter = lineToParse.indexOf(textDelimiter, nextIndexOfTextDelimiter + 1); nextIndexOfTextDelimiter = lineToParse.indexOf(textDelimiter, firstIndexOfTextDelimiter + 1); } return escapedSeparatorsCount; } /** * Determines if the field delimiter is a regular expression special character * * @param delimiter * @return true if special character */ private static boolean isFieldSeparatorSpecialCharacter(String delimiter) { if (delimiter.equals(".")) return true; if (delimiter.equals("[")) return true; if (delimiter.equals("\\")) return true; if (delimiter.equals("*")) return true; if (delimiter.equals("^")) return true; if (delimiter.equals("$")) return true; return false; } // private static ImportRequestLine createImportRequestLine(boolean isAnnual, int lineNumber) { // ImportRequestLine line = isAnnual ? new ImportRequestAnnualLine(lineNumber) : new ImportRequestMonthlyLine(lineNumber); // // return line; // } }
{ "content_hash": "b00f344f09625b9ca196f2e1324b7163", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 256, "avg_line_length": 53.90760869565217, "alnum_prop": 0.7023893537655006, "repo_name": "Ariah-Group/Finance", "id": "6a9ea4a8a7723f788b8dec140da58ba4ce951667", "size": "10537", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "af_webapp/src/main/java/org/kuali/kfs/module/bc/util/ImportRequestFileParsingHelper.java", "mode": "33188", "license": "apache-2.0", "language": [], "symlink_target": "" }
Welcome to python-quilt's documentation! ======================================== .. toctree:: :maxdepth: 2 quilt cli Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search`
{ "content_hash": "3b03600036871f28a59f5149c17a7f50", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 40, "avg_line_length": 13.117647058823529, "alnum_prop": 0.47085201793721976, "repo_name": "vadmium/python-quilt", "id": "0a38bdede3aa6c049dfb3a87ee6f1926b6319464", "size": "223", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "doc/index.rst", "mode": "33188", "license": "mit", "language": [ { "name": "Python", "bytes": "119197" } ], "symlink_target": "" }
#include "config.h" #include "platform/graphics/gpu/AcceleratedImageBufferSurface.h" #include "public/platform/Platform.h" #include "public/platform/WebGraphicsContext3DProvider.h" #include "third_party/skia/include/core/SkCanvas.h" #include "third_party/skia/include/core/SkDevice.h" #include "third_party/skia/include/gpu/GrRenderTarget.h" #include "third_party/skia/include/gpu/GrTexture.h" #include "wtf/PassOwnPtr.h" #include "wtf/RefPtr.h" namespace blink { AcceleratedImageBufferSurface::AcceleratedImageBufferSurface(const IntSize& size, OpacityMode opacityMode) : ImageBufferSurface(size, opacityMode) { m_contextProvider = adoptPtr(Platform::current()->createSharedOffscreenGraphicsContext3DProvider()); if (!m_contextProvider) return; GrContext* grContext = m_contextProvider->grContext(); if (!grContext) return; SkAlphaType alphaType = (Opaque == opacityMode) ? kOpaque_SkAlphaType : kPremul_SkAlphaType; SkImageInfo info = SkImageInfo::MakeN32(size.width(), size.height(), alphaType); SkSurfaceProps disableLCDProps(0, kUnknown_SkPixelGeometry); m_surface = adoptPtr(SkSurface::NewRenderTarget(grContext, SkSurface::kYes_Budgeted, info, 0 /* sampleCount */, Opaque == opacityMode ? nullptr : &disableLCDProps)); if (!m_surface.get()) return; clear(); } PassRefPtr<SkImage> AcceleratedImageBufferSurface::newImageSnapshot(AccelerationHint) { return adoptRef(m_surface->newImageSnapshot()); } Platform3DObject AcceleratedImageBufferSurface::getBackingTextureHandleForOverwrite() { if (!m_surface) return 0; return m_surface->getTextureHandle(SkSurface::kDiscardWrite_TextureHandleAccess); } } // namespace blink
{ "content_hash": "661f48fea4ad69ed4b2b4eaf53a4ac52", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 115, "avg_line_length": 35.285714285714285, "alnum_prop": 0.7536148062463852, "repo_name": "Bysmyyr/chromium-crosswalk", "id": "54e1e20806e5aa9c31969e5849b434b734cc7e65", "size": "3292", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp", "mode": "33188", "license": "bsd-3-clause", "language": [], "symlink_target": "" }
FROM balenalib/nanopi-neo-air-fedora:33-build # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 RUN dnf install -y \ python3-pip \ python3-dbus \ && dnf clean all # install "virtualenv", since the vast majority of users of this image will want it RUN pip3 install -U --no-cache-dir --ignore-installed pip setuptools \ && pip3 install --no-cache-dir virtualenv RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo $'As of January 1st, 2020, Python 2 was end-of-life, we will change the latest tag for Balenalib Python base image to Python 3.x and drop support for Python 2 soon. So after 1st July, 2020, all the balenalib Python latest tag will point to the latest Python 3 version and no changes, or fixes will be made to balenalib Python 2 base image. If you are using Python 2 for your application, please upgrade to Python 3 before 1st July.' > /.balena/messages/python-deprecation-warning CMD ["echo","'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https://balena.io/docs"] RUN curl -SLO "https://raw.githubusercontent.com/balena-io-library/base-images/8accad6af708fca7271c5c65f18a86782e19f877/scripts/assets/tests/[email protected]" \ && echo "Running test-stack@python" \ && chmod +x [email protected] \ && bash [email protected] \ && rm -rf [email protected] RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo $'Here are a few details about this Docker image (For more information please visit https://www.balena.io/docs/reference/base-images/base-images/): \nArchitecture: ARM v7 \nOS: Fedora 33 \nVariant: build variant \nDefault variable(s): UDEV=off \nThe following software stack is preinstalled: \nPython v3.8.12, Pip v21.3.1, Setuptools v60.5.4 \nExtra features: \n- Easy way to install packages with `install_packages <package-name>` command \n- Run anywhere with cross-build feature (for ARM only) \n- Keep the container idling with `balena-idle` command \n- Show base image details with `balena-info` command' > /.balena/messages/image-info RUN echo $'#!/bin/sh.real\nbalena-info\nrm -f /bin/sh\ncp /bin/sh.real /bin/sh\n/bin/sh "$@"' > /bin/sh-shim \ && chmod +x /bin/sh-shim \ && cp /bin/sh /bin/sh.real \ && mv /bin/sh-shim /bin/sh
{ "content_hash": "1a51e9e3da33983971d13d2790318c2b", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 708, "avg_line_length": 78.09677419354838, "alnum_prop": 0.7335811648079306, "repo_name": "resin-io-library/base-images", "id": "bc3bcfc001b0b48d0a4fbf5d30716be8d8a938ec", "size": "2442", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "balena-base-images/python/nanopi-neo-air/fedora/33/3.8.12/build/Dockerfile", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Dockerfile", "bytes": "71234697" }, { "name": "JavaScript", "bytes": "13096" }, { "name": "Shell", "bytes": "12051936" }, { "name": "Smarty", "bytes": "59789" } ], "symlink_target": "" }
var Promise = require('bluebird'); var oada_error = require('oada-error').OADAError; var error_codes = require('oada-error').codes; var singleton = null; module.exports = function(config) { if(singleton) return singleton; var driver = config.libs.auth.datastores.tokens(); var log = config.libs.log().child({ module: 'scopes' }); var _Scopes = { // Given an HTTP request, figure out if the token has permission to perform the requested action. // If not, return the error function that needs to be run from oada-errors checkRequest: function(req) { return Promise.try(function() { var token = _Scopes.parseTokenFromRequest(req); if (!token) { throw new oada_error('No Authorization Token Given', error_codes.UNAUTHORIZED, 'No valid authorization header is present'); } return driver.findByToken(token); }).then(function(val) { // For now, all valid tokens can do everything: if (!val) { throw new oada_error('Token is not authorized', error_codes.UNAUTHORIZED, 'Token is not authorized to execute this request'); } return true; // if we didn't throw, then request is valid. }); }, parseTokenFromRequest: function(req) { var bearer = req.headers.authorization; if (typeof bearer !== 'string') return null; return bearer.trim().replace(/^bearer +/i,''); }, }; singleton = _Scopes; return singleton; };
{ "content_hash": "be70c862103db6110be61691e910661f", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 135, "avg_line_length": 33.61363636363637, "alnum_prop": 0.6436781609195402, "repo_name": "OADA/oada-api-server", "id": "fcdb91bc83d96faafc20e5d95d417d4bab7f44b3", "size": "1479", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "lib/scopes.js", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Dockerfile", "bytes": "1025" }, { "name": "JavaScript", "bytes": "173698" }, { "name": "Shell", "bytes": "330" } ], "symlink_target": "" }
package speech_to_text import ( "strings" watson "github.com/maxl28/watson-developer-cloud" "github.com/fatih/structs" "strconv" "net/http" "errors" "io" ) // Watson Speech-To-Text default endpoint URL. const SpeechToTextAPI string = "https://stream.watsonplatform.net/speech-to-text/api" // Available options for this Watson module type SpeechToTextOptions struct { // Endpoint URL to use Url string } // ToDo: Write documentation type RecognizeParameters struct { // The identifier of the session to be used. Session_id string // The audio to be transcribed in the format specified by the content_type parameter. Audio io.Reader // The MIME type of the audio: // - audio/flac // - audio/l16 (Also specify the rate and channels; for example, audio/l16; rate=48000; channels=2. Ensure that the rate matches the rate at which the audio is captured.) // - audio/wav // - audio/ogg;codecs=opus Content_type string // The identifier of the model to be used for the recognition request: // - ar-AR_BroadbandModel // - en-UK_BroadbandModel // - en-UK_NarrowbandModel // - en-US_BroadbandModel (the default) // - en-US_NarrowbandModel // - es-ES_BroadbandModel // - es-ES_NarrowbandModel // - ja-JP_BroadbandModel // - ja-JP_NarrowbandModel // - pt-BR_BroadbandModel // - pt-BR_NarrowbandModel // - zh-CN_BroadbandModel // - zh-CN_NarrowbandModel Model string // Indicates whether multiple final results that represent consecutive phrases separated by long pauses are returned. // If true, such phrases are returned; if false (the default), recognition ends after the first "end of speech" incident is detected. Continuous bool // The time in seconds after which, if only silence (no speech) is detected in submitted audio, // the connection is closed with a 400 response code and with session_closed set to true. // The default is 30 seconds. Useful for stopping audio submission from a live microphone when a user simply walks away. Use -1 for infinity. Inactivity_timeout int // A list of keywords to spot in the audio. Each keyword string can include one or more tokens. // Omit the parameter or specify an empty array if you do not need to spot keywords. Keywords []string // A confidence value that is the lower bound for spotting a keyword. A word is considered to match a keyword if its confidence is greater than or equal to the threshold. // Specify a probability between 0 and 1 inclusive. No keyword spotting is performed if you omit the parameter or specify the default value (null). // If you specify a threshold, you must also specify one or more keywords. Keywords_threshold float64 // The maximum number of alternative transcripts to be returned. By default, a single transcription is returned. Max_alternatives int // A confidence value that is the lower bound for identifying a hypothesis as a possible word alternative (also known as "Confusion Networks"). // An alternative word is considered if its confidence is greater than or equal to the threshold. Specify a probability between 0 and 1 inclusive. // No alternative words are computed if you omit the parameter or specify the default value (null). Word_alternatives_threshold float64 // Indicates whether a confidence measure in the range of 0 to 1 is to be returned for each word. The default is false. Word_confidence bool // Indicates whether time alignment is returned for each word. The default is false. Timestamps bool } type SpeechRecognitionResult struct{ Results map[string] interface{} Result_index int } // A client for the IBM Watson Speech-To-Text API endpoint. type SpeechToText struct { // The Watson client used to authenticate our request. Watson watson.Watson Options SpeechToTextOptions } // Create a new Speech-To-Text client instance. func New(watson watson.Watson, options SpeechToTextOptions) SpeechToText { // Check if a custom URL is set and use default if not. if (len(options.Url) < 1) { options.Url = SpeechToTextAPI } return SpeechToText{watson, options} } // Perform a call to the Speech-To-Text API's recognize method. func (stt *SpeechToText) Recognize(parameters RecognizeParameters) (*http.Response, error) { if (structs.IsZero(parameters)) { return nil, errors.New("Given parameter object was empty") } r, _ := http.NewRequest("POST", stt.getEndpointUrl("recognize", parameters.Session_id), parameters.Audio) values := r.URL.Query() values.Add("model", parameters.Model) values.Add("max_alternatives", strconv.Itoa(parameters.Max_alternatives)) values.Add("word_confidence", strconv.FormatBool(parameters.Word_confidence)) values.Add("keywords", `"` + strings.Join(parameters.Keywords, ",") + `"`) values.Add("keywords_threshold", strconv.FormatFloat(parameters.Keywords_threshold, 'f', 1, 64)) r.URL.RawQuery = values.Encode() r.Header.Add("content-type", parameters.Content_type) return http.DefaultClient.Do(stt.Watson.SignRequest(r)) } // Generate the endpoint URL we want to use. func (stt *SpeechToText) getEndpointUrl(action string, session_id string) string { var params []string // Prepare the URL components with or without a session ID. if (!stt.Watson.Options.Use_unauthenticated && len(session_id) > 0) { params = []string{ stt.Options.Url, stt.Watson.Options.Version, "sessions", session_id, action, } } else { params = []string{ stt.Options.Url, stt.Watson.Options.Version, action, } } return strings.Join(params, "/") }
{ "content_hash": "9359c57d53d88f6f2af6c5c85e1b8961", "timestamp": "", "source": "github", "line_count": 153, "max_line_length": 171, "avg_line_length": 35.88235294117647, "alnum_prop": 0.7459016393442623, "repo_name": "maxl28/watson-developer-cloud", "id": "5524a4818a192049f7bcd5725e965b702d3fc719", "size": "5490", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "speech-to-text/speech_to_text.go", "mode": "33188", "license": "mit", "language": [ { "name": "Go", "bytes": "6461" } ], "symlink_target": "" }
package com.microsoft.azure.management.network.v2018_12_01.implementation; import java.util.List; import com.microsoft.azure.management.network.v2018_12_01.ExpressRouteCrossConnectionRoutesTableSummary; import com.fasterxml.jackson.annotation.JsonProperty; /** * Response for ListRoutesTable associated with the Express Route Cross * Connections. */ public class ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner { /** * A list of the routes table. */ @JsonProperty(value = "value") private List<ExpressRouteCrossConnectionRoutesTableSummary> value; /** * The URL to get the next set of results. */ @JsonProperty(value = "nextLink", access = JsonProperty.Access.WRITE_ONLY) private String nextLink; /** * Get a list of the routes table. * * @return the value value */ public List<ExpressRouteCrossConnectionRoutesTableSummary> value() { return this.value; } /** * Set a list of the routes table. * * @param value the value value to set * @return the ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner object itself. */ public ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner withValue(List<ExpressRouteCrossConnectionRoutesTableSummary> value) { this.value = value; return this; } /** * Get the URL to get the next set of results. * * @return the nextLink value */ public String nextLink() { return this.nextLink; } }
{ "content_hash": "2ea5aaa0840884ea1fe6deb80f11fe5a", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 143, "avg_line_length": 28.054545454545455, "alnum_prop": 0.6986390149060272, "repo_name": "navalev/azure-sdk-for-java", "id": "ab246e1c617fe1c35be98089a771942b2f46001f", "size": "1773", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "sdk/network/mgmt-v2018_12_01/src/main/java/com/microsoft/azure/management/network/v2018_12_01/implementation/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java", "mode": "33188", "license": "mit", "language": [ { "name": "Batchfile", "bytes": "7230" }, { "name": "CSS", "bytes": "5411" }, { "name": "Groovy", "bytes": "1570436" }, { "name": "HTML", "bytes": "29221" }, { "name": "Java", "bytes": "250218562" }, { "name": "JavaScript", "bytes": "15605" }, { "name": "PowerShell", "bytes": "30924" }, { "name": "Python", "bytes": "42119" }, { "name": "Shell", "bytes": "1408" } ], "symlink_target": "" }
class Profile; namespace badging { // A BadgeManagerDelegate is responsible for updating the UI in response to a // badge change. class BadgeManagerDelegate { public: explicit BadgeManagerDelegate(Profile* profile, BadgeManager* badge_manager) : profile_(profile), badge_manager_(badge_manager) {} virtual ~BadgeManagerDelegate() = default; // Called when the badge for |app_id| has changed. virtual void OnAppBadgeUpdated(const web_app::AppId& app_id) = 0; protected: Profile* profile() { return profile_; } BadgeManager* badge_manager() { return badge_manager_; } private: // The profile the badge manager delegate is associated with. Profile* profile_; // The badge manager that owns this delegate. BadgeManager* badge_manager_; DISALLOW_COPY_AND_ASSIGN(BadgeManagerDelegate); }; } // namespace badging #endif // CHROME_BROWSER_BADGING_BADGE_MANAGER_DELEGATE_H_
{ "content_hash": "d0482c33ad735c3988285245519dd0f9", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 78, "avg_line_length": 28.34375, "alnum_prop": 0.7353914002205072, "repo_name": "endlessm/chromium-browser", "id": "3c6d293b154e4c4e26b7dcde112e0c4f505da76b", "size": "1355", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "chrome/browser/badging/badge_manager_delegate.h", "mode": "33188", "license": "bsd-3-clause", "language": [], "symlink_target": "" }
import type {Node} from 'react'; import {ImageBackground, StyleSheet, Text, useColorScheme} from 'react-native'; import React from 'react'; import Colors from './Colors'; import HermesBadge from './HermesBadge'; const Header = (): Node => { const isDarkMode = useColorScheme() === 'dark'; return ( <ImageBackground accessibilityRole="image" testID="new-app-screen-header" source={require('./logo.png')} style={[ styles.background, { backgroundColor: isDarkMode ? Colors.darker : Colors.lighter, }, ]} imageStyle={styles.logo}> <HermesBadge /> <Text style={[ styles.text, { color: isDarkMode ? Colors.white : Colors.black, }, ]}> Welcome to {'\n'} React Native </Text> </ImageBackground> ); }; const styles = StyleSheet.create({ background: { paddingBottom: 40, paddingTop: 96, paddingHorizontal: 32, }, logo: { opacity: 0.2, overflow: 'visible', resizeMode: 'cover', /* * These negative margins allow the image to be offset similarly across screen sizes and component sizes. * * The source logo.png image is 512x512px, so as such, these margins attempt to be relative to the * source image's size. */ marginLeft: -128, marginBottom: -192, }, text: { fontSize: 40, fontWeight: '700', textAlign: 'center', }, }); export default Header;
{ "content_hash": "dc08e22d51435fcbb51fc28a9985a400", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 109, "avg_line_length": 23.2, "alnum_prop": 0.5881962864721485, "repo_name": "janicduplessis/react-native", "id": "490746601aa9d6140f586d45f0d1ca005c422088", "size": "1734", "binary": false, "copies": "2", "ref": "refs/heads/main", "path": "Libraries/NewAppScreen/components/Header.js", "mode": "33188", "license": "mit", "language": [ { "name": "Assembly", "bytes": "14919" }, { "name": "Batchfile", "bytes": "289" }, { "name": "C", "bytes": "19108" }, { "name": "C++", "bytes": "3493194" }, { "name": "CMake", "bytes": "70538" }, { "name": "HTML", "bytes": "1473" }, { "name": "Java", "bytes": "3737129" }, { "name": "JavaScript", "bytes": "6796801" }, { "name": "Kotlin", "bytes": "177656" }, { "name": "Makefile", "bytes": "7871" }, { "name": "Objective-C", "bytes": "1625993" }, { "name": "Objective-C++", "bytes": "1203679" }, { "name": "Ruby", "bytes": "274453" }, { "name": "Shell", "bytes": "99437" }, { "name": "Starlark", "bytes": "428986" }, { "name": "XSLT", "bytes": "2244" } ], "symlink_target": "" }
package rayo.ui.actions; import javax.swing.KeyStroke; import rayo.ui.editors.AbstractTextEditor; public class SelectAllAction extends TextEditorAction { private static final long serialVersionUID = 1L; public SelectAllAction() { super("Select All"); putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke("control A")); } @Override protected void actionPefformed(AbstractTextEditor editor) { editor.getTextArea().selectAll(); } }
{ "content_hash": "a86fb99398518033b8304961a6fb8dd5", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 65, "avg_line_length": 22.15, "alnum_prop": 0.7742663656884876, "repo_name": "boniatillo-com/rayo", "id": "4af52d4bd19421e3ac4f430de7b76ebaf4cadfbf", "size": "443", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/rayo/src/rayo/ui/actions/SelectAllAction.java", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "49" }, { "name": "HTML", "bytes": "167" }, { "name": "Java", "bytes": "280135" }, { "name": "JavaScript", "bytes": "157832" } ], "symlink_target": "" }
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context="com.example.lj.redwine.activity.SalesDescActivity"> <include layout="@layout/topbar_back_text" android:layout_width="match_parent" android:layout_height="55dp"/> <android.support.v4.widget.SwipeRefreshLayout android:id="@+id/red_wine_refresh_layout" android:layout_width="match_parent" android:layout_height="wrap_content"> <com.example.lj.redwine.custom_widget.recyclerView.RefreshRecyclerView android:id="@+id/red_wine_list_view" android:layout_width="match_parent" android:layout_height="match_parent" /> </android.support.v4.widget.SwipeRefreshLayout> </LinearLayout>
{ "content_hash": "5bfd93110901aa7a26880a9e42f1de08", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 78, "avg_line_length": 48.3, "alnum_prop": 0.6966873706004141, "repo_name": "ljlj5lj/redwine_client", "id": "a05a5737cc2da567689e4d82c293cdff694d4af6", "size": "966", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "app/src/main/res/layout/activity_sales_desc.xml", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "HTML", "bytes": "154" }, { "name": "Java", "bytes": "586524" } ], "symlink_target": "" }
// Copyright (C) 2008 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package com.google.gerrit.sshd.commands; import com.google.common.collect.Lists; import com.google.gerrit.extensions.registration.DynamicSet; import com.google.gerrit.reviewdb.server.ReviewDb; import com.google.gerrit.server.git.ChangeCache; import com.google.gerrit.server.git.TagCache; import com.google.gerrit.server.git.TransferConfig; import com.google.gerrit.server.git.UploadPackMetricsHook; import com.google.gerrit.server.git.VisibleRefFilter; import com.google.gerrit.server.git.validators.UploadValidationException; import com.google.gerrit.server.git.validators.UploadValidators; import com.google.gerrit.sshd.AbstractGitCommand; import com.google.gerrit.sshd.SshSession; import com.google.inject.Inject; import com.google.inject.Provider; import org.eclipse.jgit.transport.PreUploadHook; import org.eclipse.jgit.transport.PreUploadHookChain; import org.eclipse.jgit.transport.UploadPack; import java.io.IOException; import java.util.List; /** Publishes Git repositories over SSH using the Git upload-pack protocol. */ final class Upload extends AbstractGitCommand { @Inject private Provider<ReviewDb> db; @Inject private TransferConfig config; @Inject private TagCache tagCache; @Inject private ChangeCache changeCache; @Inject private DynamicSet<PreUploadHook> preUploadHooks; @Inject private UploadValidators.Factory uploadValidatorsFactory; @Inject private SshSession session; @Inject private UploadPackMetricsHook uploadMetrics; @Override protected void runImpl() throws IOException, Failure { if (!projectControl.canRunUploadPack()) { throw new Failure(1, "fatal: upload-pack not permitted on this server"); } final UploadPack up = new UploadPack(repo); if (!projectControl.allRefsAreVisible()) { up.setAdvertiseRefsHook(new VisibleRefFilter(tagCache, changeCache, repo, projectControl, db.get(), true)); } up.setPackConfig(config.getPackConfig()); up.setTimeout(config.getTimeout()); up.setPostUploadHook(uploadMetrics); List<PreUploadHook> allPreUploadHooks = Lists.newArrayList(preUploadHooks); allPreUploadHooks.add(uploadValidatorsFactory.create(project, repo, session.getRemoteAddressAsString())); up.setPreUploadHook(PreUploadHookChain.newChain(allPreUploadHooks)); try { up.upload(in, out, err); session.setPeerAgent(up.getPeerUserAgent()); } catch (UploadValidationException e) { // UploadValidationException is used by the UploadValidators to // stop the uploadPack. We do not want this exception to go beyond this // point otherwise it would print a stacktrace in the logs and return an // internal server error to the client. if (!e.isOutput()) { up.sendMessage(e.getMessage()); } } } }
{ "content_hash": "26788ce2b87ec0d7a3eb37dfc5d5cd1f", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 80, "avg_line_length": 35.27835051546392, "alnum_prop": 0.7600818234950322, "repo_name": "renchaorevee/gerrit", "id": "d278f4b46789a5c4e90867b6e5cf16b30093f073", "size": "3422", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/Upload.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "51722" }, { "name": "GAP", "bytes": "4119" }, { "name": "Go", "bytes": "5340" }, { "name": "Groff", "bytes": "28221" }, { "name": "HTML", "bytes": "133302" }, { "name": "Java", "bytes": "9550546" }, { "name": "JavaScript", "bytes": "13140" }, { "name": "Makefile", "bytes": "1313" }, { "name": "PLpgSQL", "bytes": "4202" }, { "name": "Perl", "bytes": "9943" }, { "name": "Prolog", "bytes": "17904" }, { "name": "Python", "bytes": "14027" }, { "name": "Shell", "bytes": "47718" } ], "symlink_target": "" }
<?php declare(strict_types=1); namespace Imbo\Image\Identifier\Generator; use Imbo\Model\Image; class RandomString implements GeneratorInterface { private int $stringLength; /** * Class constructor * * @param int $length The length of the randomly generated string */ public function __construct(int $length = 12) { $this->stringLength = $length; } public function generate(Image $image): string { $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_-'; $charsLen = strlen($chars); $key = ''; for ($i = 0; $i < $this->stringLength; $i++) { $key .= $chars[mt_rand(0, $charsLen - 1)]; } return $key; } public function isDeterministic(): bool { return false; } }
{ "content_hash": "63e40accd93dbef9a642a7ceaf0c438c", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 84, "avg_line_length": 22.37837837837838, "alnum_prop": 0.5954106280193237, "repo_name": "imbo/imbo", "id": "de3012973e3c122584f7e91d759cd5f3c6806981", "size": "828", "binary": false, "copies": "1", "ref": "refs/heads/main", "path": "src/Image/Identifier/Generator/RandomString.php", "mode": "33188", "license": "mit", "language": [ { "name": "Gherkin", "bytes": "165063" }, { "name": "PHP", "bytes": "1162691" }, { "name": "Shell", "bytes": "1062" } ], "symlink_target": "" }
package com.tom.factory.tileentity; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumFacing; import com.tom.recipes.handler.MachineCraftingHandler; import com.tom.recipes.handler.MachineCraftingHandler.ItemStackChecker; public class TileEntitySteamCrusher extends TileEntitySteamMachine { private static final int[] SLOTS = new int[]{0, 1, 2}; public static final int MAX_PROCESS_TIME = 500; @Override public int getSizeInventory() { return 3; } @Override public String getName() { return "steamCrusher"; } @Override public int[] getSlotsForFace(EnumFacing side) { return SLOTS; } @Override public boolean canInsertItem(int index, ItemStack itemStackIn, EnumFacing direction) { return index == 0; } @Override public boolean canExtractItem(int index, ItemStack stack, EnumFacing direction) { return index == 1; } @Override public int getSteamUsage() { return 10; } @Override public void checkItems() { ItemStackChecker s = MachineCraftingHandler.getCrusherOutput(inv.getStackInSlot(0), 0); checkItems(s, 1, MAX_PROCESS_TIME, 0, -1); } @Override public void finish() { addItemsAndSetProgress(1); } }
{ "content_hash": "f1a67449712619e95a977b942ee10878", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 89, "avg_line_length": 22.07547169811321, "alnum_prop": 0.7495726495726496, "repo_name": "tom5454/Toms-Mod", "id": "8768be556f68578c8b58a2311eaab0346aa036fa", "size": "1170", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/main/java/com/tom/factory/tileentity/TileEntitySteamCrusher.java", "mode": "33188", "license": "mit", "language": [ { "name": "Java", "bytes": "3439325" } ], "symlink_target": "" }
// // JPSDisplayLink.h // JPSDisplayLink // // Created by JP Simard on 1/12/2014. // Copyright (c) 2014 JP Simard. All rights reserved. // #import <Foundation/Foundation.h> typedef void (^JPSDisplayLinkBlock)(CGFloat progress); @interface JPSDisplayLink : NSObject /** Deprecated to fall in line with Apple's suggested best practices for method declarations with blocks https://developer.apple.com/library/ios/documentation/cocoa/conceptual/ProgrammingWithObjectiveC/WorkingwithBlocks/WorkingwithBlocks.html */ + (void)runDisplayLinkBlock:(JPSDisplayLinkBlock)block duration:(CFTimeInterval)duration __attribute__((deprecated)); /** This block is called multiple times. The CGFloat progress is between 0.0 and 1.0 based on the percentage of the total duration that has elapsed since the begininning of execution. */ + (void)runDisplayLinkWithDuration:(CFTimeInterval)duration block:(JPSDisplayLinkBlock)block; @end
{ "content_hash": "31cd3c01039d6e739e1b4be205c73548", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 138, "avg_line_length": 30.096774193548388, "alnum_prop": 0.7834941050375134, "repo_name": "jpsim/JPSDisplayLink", "id": "40a2e0084a0dfea1bf4c1f0a932bc959c913970b", "size": "933", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "JPSDisplayLink/JPSDisplayLink.h", "mode": "33188", "license": "mit", "language": [ { "name": "Objective-C", "bytes": "5279" }, { "name": "Ruby", "bytes": "721" } ], "symlink_target": "" }
package index // index/ReaderUtil.java /* Returns index of the searcher/reader for document n in the slice used to construct this searcher/reader. */ func SubIndex(n int, leaves []*AtomicReaderContext) int { // find searcher/reader for doc n: size := len(leaves) lo, hi := 0, size-1 // bi-search starts array, for first element less thann, return its index for lo <= hi { mid := (lo + hi) >> 1 midValue := leaves[mid].DocBase if n < midValue { hi = mid - 1 } else if n > midValue { lo = mid + 1 } else { // found a match for mid+1 < size && leaves[mid+1].DocBase == midValue { mid++ // scan to last match } return mid } } return hi }
{ "content_hash": "920ff100cd28bb2efcb745b273e5cc09", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 74, "avg_line_length": 23.24137931034483, "alnum_prop": 0.6364985163204748, "repo_name": "ccxxcc/golucene", "id": "451a2714dfb3f9b1574b1f23367cb00a6ca4bdb1", "size": "674", "binary": false, "copies": "4", "ref": "refs/heads/master", "path": "core/index/readerUtil.go", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Go", "bytes": "1755137" }, { "name": "Shell", "bytes": "2463" } ], "symlink_target": "" }
const TruffleError = require("@truffle/error"); const checkPluginConfig = ({ plugins }) => { if (!plugins) { throw new TruffleError( "\nError: No plugins detected in the configuration file.\n" ); } if (!Array.isArray(plugins) || plugins.length === 0) { throw new TruffleError("\nError: Plugins configured incorrectly.\n"); } }; module.exports = { checkPluginConfig };
{ "content_hash": "6aefe137be91db862ea576eec91eac36", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 73, "avg_line_length": 23.470588235294116, "alnum_prop": 0.6516290726817042, "repo_name": "ConsenSys/truffle", "id": "1659869bf914224c32942ee6e45cb73344dc1832", "size": "399", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "packages/core/lib/commands/run/checkPluginConfig.js", "mode": "33188", "license": "mit", "language": [ { "name": "JavaScript", "bytes": "125921" } ], "symlink_target": "" }
<?xml version="1.0" encoding="utf-8"?> <resources> <color name="orange_theme_color">#ffbb33</color> </resources>
{ "content_hash": "89ca94a9ba351a5486f1652156d38fb7", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 52, "avg_line_length": 29.25, "alnum_prop": 0.6666666666666666, "repo_name": "dst-hackathon/socialradar-android", "id": "8b58fc2cbbe5c4d631e13f4bd98af071ca449a18", "size": "117", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "hackathon2014/app/src/main/res/values/orange_theme.xml", "mode": "33188", "license": "mit", "language": [ { "name": "Groovy", "bytes": "1556" }, { "name": "Java", "bytes": "80889" } ], "symlink_target": "" }
namespace gpopt { using namespace gpos; //--------------------------------------------------------------------------- // @class: // CPartitionPropagationSpec // // @doc: // Partition Propagation specification // //--------------------------------------------------------------------------- class CPartitionPropagationSpec : public CPropSpec { private: // unresolved partitions map CPartIndexMap *m_ppim; // filter expressions indexed by the part index id CPartFilterMap *m_ppfm; // check if given part index id needs to be enforced on top of the given expression BOOL FRequiresPartitionPropagation ( IMemoryPool *pmp, CExpression *pexpr, CExpressionHandle &exprhdl, ULONG ulPartIndexId ) const; // private copy ctor CPartitionPropagationSpec(const CPartitionPropagationSpec&); // split the partition elimination predicates over the various levels // as well as the residual predicate void SplitPartPredicates ( IMemoryPool *pmp, CExpression *pexprScalar, DrgDrgPcr *pdrgpdrgpcrKeys, HMUlExpr *phmulexprEqFilter, HMUlExpr *phmulexprFilter, CExpression **ppexprResidual ); // return a residual filter given an array of predicates and a bitset // indicating which predicates have already been used CExpression *PexprResidualFilter ( IMemoryPool *pmp, DrgPexpr *pdrgpexpr, CBitSet *pbsUsed ); // return an array of predicates on the given partitioning key given // an array of predicates on all keys DrgPexpr *PdrgpexprPredicatesOnKey ( IMemoryPool *pmp, DrgPexpr *pdrgpexpr, CColRef *pcr, CColRefSet *pcrsKeys, CBitSet **ppbs ); // return a colrefset containing all the part keys CColRefSet *PcrsKeys(IMemoryPool *pmp, DrgDrgPcr *pdrgpdrgpcrKeys); // return the filter expression for the given Scan Id CExpression *PexprFilter(IMemoryPool *pmp, ULONG ulScanId); public: // ctor CPartitionPropagationSpec(CPartIndexMap *ppim, CPartFilterMap *ppfm); // dtor virtual ~CPartitionPropagationSpec(); // accessor of part index map CPartIndexMap *Ppim() const { return m_ppim; } // accessor of part filter map CPartFilterMap *Ppfm() const { return m_ppfm; } // append enforcers to dynamic array for the given plan properties virtual void AppendEnforcers(IMemoryPool *pmp, CExpressionHandle &exprhdl, CReqdPropPlan *prpp, DrgPexpr *pdrgpexpr, CExpression *pexpr); // hash function virtual ULONG UlHash() const; // extract columns used by the rewindability spec virtual CColRefSet *PcrsUsed ( IMemoryPool *pmp ) const { // return an empty set return GPOS_NEW(pmp) CColRefSet(pmp); } // property type virtual EPropSpecType Epst() const { return EpstPartPropagation; } // equality function BOOL FMatch(const CPartitionPropagationSpec *ppps) const; // is partition propagation required BOOL FPartPropagationReqd() const { return m_ppim->FContainsUnresolvedZeroPropagators(); } // print IOstream &OsPrint(IOstream &os) const; }; // class CPartitionPropagationSpec } #endif // !GPOPT_CPartitionPropagationSpec_H // EOF
{ "content_hash": "6e01474e68d068bde4ea21436c070876", "timestamp": "", "source": "github", "line_count": 142, "max_line_length": 132, "avg_line_length": 23.14788732394366, "alnum_prop": 0.6607849102525098, "repo_name": "PengJi/gporca-comments", "id": "0a6af2c1a751b7e2b8cd8f3801f3c141a14514f9", "size": "3903", "binary": false, "copies": "1", "ref": "refs/heads/comments", "path": "libgpopt/include/gpopt/base/CPartitionPropagationSpec.h", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "C", "bytes": "36220" }, { "name": "C++", "bytes": "9938687" }, { "name": "CMake", "bytes": "121401" }, { "name": "Makefile", "bytes": "32166" }, { "name": "PLSQL", "bytes": "7716" }, { "name": "PLpgSQL", "bytes": "5718" }, { "name": "Perl", "bytes": "2546" }, { "name": "Python", "bytes": "5623" }, { "name": "Shell", "bytes": "14535" } ], "symlink_target": "" }
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2010 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_enabled="false" android:color="@color/vpi__bright_foreground_disabled_holo_dark"/> <item android:state_window_focused="false" android:color="@color/vpi__bright_foreground_holo_dark"/> <item android:state_pressed="true" android:color="@color/vpi__bright_foreground_holo_dark"/> <item android:state_selected="true" android:color="@color/vpi__bright_foreground_holo_dark"/> <!--item android:state_activated="true" android:color="@color/vpi__bright_foreground_holo_dark"/--> <item android:color="@color/vpi__bright_foreground_holo_dark"/> <!-- not selected --> </selector> <!-- From: file:/Volumes/MAC/Users/Jackrex/GitHub/GitHubAndroid/AndroidCacheFoundation/UiLibs/Android-ViewPagerIndicator/res/color/vpi__dark_theme.xml -->
{ "content_hash": "518f3849aa47b9d173c85c4bcaa3f09b", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 154, "avg_line_length": 60.48, "alnum_prop": 0.7281746031746031, "repo_name": "jackrex/AndroidCacheFoundation", "id": "303adb42aaa6bf4fd839a08c4709212513410032", "size": "1512", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "UiLibs/Android-ViewPagerIndicator/build/bundles/debug/res/color/vpi__dark_theme.xml", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "317990" } ], "symlink_target": "" }
theme : name : bootstrap-3 --- {% include abtsetup.html %}
{ "content_hash": "31c78d7cf6810466667db592b17c4e5c", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 27, "avg_line_length": 15.25, "alnum_prop": 0.6229508196721312, "repo_name": "Ali-Baba-Tajine/Ali-Baba-Tajine-Jekyll01", "id": "e17cca1801aac54c2555c8b60f3b8f92dc457de6", "size": "65", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "_layouts/default.html", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "6792349" }, { "name": "JavaScript", "bytes": "1622544" }, { "name": "PHP", "bytes": "92" }, { "name": "Ruby", "bytes": "35893" }, { "name": "Shell", "bytes": "1506" } ], "symlink_target": "" }
<?php namespace Apitude\Core\Provider; use Apitude\Core\Commands\Entities\ListCommand; use Apitude\Core\Commands\Entities\TypesCommand; use Knp\Provider\ConsoleServiceProvider; use Silex\Application; use Silex\ServiceProviderInterface; class CommandServiceProvider implements ServiceProviderInterface { /** * Registers services on the given app. * * This method should only be used to configure services and parameters. * It should not get services. * @param Application $app */ public function register(Application $app) { if (php_sapi_name() === 'cli') { $app['console.configure'] = $app->share(function () { return []; }); $app['console.prerun'] = $app->share(function () { return []; }); $app['console.postrun'] = $app->share(function () { return []; }); $app->register(new ConsoleServiceProvider, [ 'console.name' => 'Apitude', 'console.version' => '1.0.0', 'console.project_directory' => APP_PATH, ]); $app['base_commands'] = $app->share(function() { return [ TypesCommand::class, ListCommand::class, ]; }); } } /** * Bootstraps the application. * * This method is called after all services are registered * and should be used for "dynamic" configuration (whenever * a service must be requested). * @param Application $app */ public function boot(Application $app) { // nope. } }
{ "content_hash": "40996e60f60d48b1f557285719e86685", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 76, "avg_line_length": 28.35, "alnum_prop": 0.544973544973545, "repo_name": "apitude/apitude", "id": "cfee165eb5a919b4d43464565aa51cd5c7b325d5", "size": "1701", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/Provider/CommandServiceProvider.php", "mode": "33188", "license": "mit", "language": [ { "name": "PHP", "bytes": "250702" } ], "symlink_target": "" }
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "31ff0171297129c14f3d423f648387e0", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "f7cf0efad87df1c703a1a509fc848a0d83730e19", "size": "183", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "life/Chromista/Ochrophyta/Phaeophyceae/Fucales/Cystoseiraceae/Myagropsis/Myagropsis myagroides/ Syn. Fucus sisymbryoides/README.md", "mode": "33188", "license": "apache-2.0", "language": [], "symlink_target": "" }
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="android.kid.com.tabtest" > <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme" > <activity android:name=".MainActivity" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>
{ "content_hash": "1f72c9a3de2d36f9a7967b1e309c50cc", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 76, "avg_line_length": 33.35, "alnum_prop": 0.6101949025487257, "repo_name": "li5ch/Android_Blog_Code_Demo", "id": "a01864027493a2c1d3e96b86dfd683b44a816167", "size": "667", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "app/src/main/AndroidManifest.xml", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "12500" } ], "symlink_target": "" }
package org.terasology.world.propagation.light; import org.terasology.math.Side; import org.terasology.math.geom.Vector3i; import org.terasology.world.block.Block; import org.terasology.world.chunks.ChunkConstants; import org.terasology.world.chunks.LitChunk; import org.terasology.world.propagation.BatchPropagator; import org.terasology.world.propagation.PropagationRules; import org.terasology.world.propagation.SingleChunkView; import org.terasology.world.propagation.StandardBatchPropagator; /** * For doing an initial lighting sweep during chunk generation - bound to the chunk and assumed blank slate * * @author Immortius */ public final class InternalLightProcessor { private static final PropagationRules LIGHT_RULES = new LightPropagationRules(); private static final PropagationRules SUNLIGHT_REGEN_RULES = new SunlightRegenPropagationRules(); private InternalLightProcessor() { } public static void generateInternalLighting(LitChunk chunk) { populateSunlightRegen(chunk); populateSunlight(chunk); populateLight(chunk); } private static void populateLight(LitChunk chunk) { BatchPropagator lightPropagator = new StandardBatchPropagator(LIGHT_RULES, new SingleChunkView(LIGHT_RULES, chunk)); for (int x = 0; x < ChunkConstants.SIZE_X; x++) { for (int z = 0; z < ChunkConstants.SIZE_Z; z++) { for (int y = 0; y < ChunkConstants.SIZE_Y; y++) { Block block = chunk.getBlock(x, y, z); if (block.getLuminance() > 0) { chunk.setLight(x, y, z, block.getLuminance()); lightPropagator.propagateFrom(new Vector3i(x, y, z), block.getLuminance()); } } } } lightPropagator.process(); } private static void populateSunlight(LitChunk chunk) { PropagationRules sunlightRules = new SunlightPropagationRules(chunk); BatchPropagator lightPropagator = new StandardBatchPropagator(sunlightRules, new SingleChunkView(sunlightRules, chunk)); for (int x = 0; x < ChunkConstants.SIZE_X; x++) { for (int z = 0; z < ChunkConstants.SIZE_Z; z++) { for (int y = 0; y < ChunkConstants.MAX_SUNLIGHT; ++y) { Vector3i pos = new Vector3i(x, y, z); Block block = chunk.getBlock(x, y, z); byte light = sunlightRules.getFixedValue(block, pos); if (light > 0) { chunk.setSunlight(x, y, z, light); lightPropagator.propagateFrom(pos, light); } } } } lightPropagator.process(); } private static void populateSunlightRegen(LitChunk chunk) { int top = ChunkConstants.SIZE_Y - 1; for (int x = 0; x < ChunkConstants.SIZE_X; x++) { for (int z = 0; z < ChunkConstants.SIZE_Z; z++) { int y = top; byte regen = 0; Block lastBlock = chunk.getBlock(x, y, z); for (y -= 1; y >= 0; y--) { Block block = chunk.getBlock(x, y, z); if (SUNLIGHT_REGEN_RULES.canSpreadOutOf(lastBlock, Side.BOTTOM) && SUNLIGHT_REGEN_RULES.canSpreadInto(block, Side.TOP)) { regen = SUNLIGHT_REGEN_RULES.propagateValue(regen, Side.BOTTOM, lastBlock); chunk.setSunlightRegen(x, y, z, regen); } else { regen = 0; } lastBlock = block; } } } } /*private static void spreadSunlightInternal(ChunkImpl chunk, int x, int y, int z, Block block) { byte lightValue = chunk.getSunlight(x, y, z); if (lightValue <= 1) { return; } if (y > 0 && SUNLIGHT_RULES.canSpreadOutOf(block, Side.BOTTOM)) { Block adjBlock = chunk.getBlock(x, y - 1, z); if (chunk.getSunlight(x, y - 1, z) < lightValue - 1 && SUNLIGHT_RULES.canSpreadInto(adjBlock, Side.TOP)) { chunk.setSunlight(x, y - 1, z, (byte) (lightValue - 1)); spreadSunlightInternal(chunk, x, y - 1, z, adjBlock); } } if (y < ChunkConstants.SIZE_Y && lightValue < ChunkConstants.MAX_LIGHT && SUNLIGHT_RULES.canSpreadOutOf(block, Side.TOP)) { Block adjBlock = chunk.getBlock(x, y + 1, z); if (chunk.getSunlight(x, y + 1, z) < lightValue - 1 && SUNLIGHT_RULES.canSpreadInto(adjBlock, Side.BOTTOM)) { chunk.setSunlight(x, y + 1, z, (byte) (lightValue - 1)); spreadSunlightInternal(chunk, x, y + 1, z, adjBlock); } } for (Side adjDir : Side.horizontalSides()) { int adjX = x + adjDir.getVector3i().x; int adjZ = z + adjDir.getVector3i().z; if (chunk.isInBounds(adjX, y, adjZ) && SUNLIGHT_RULES.canSpreadOutOf(block, adjDir)) { byte adjLightValue = chunk.getSunlight(adjX, y, adjZ); Block adjBlock = chunk.getBlock(adjX, y, adjZ); if (adjLightValue < lightValue - 1 && SUNLIGHT_RULES.canSpreadInto(adjBlock, adjDir.reverse())) { chunk.setSunlight(adjX, y, adjZ, (byte) (lightValue - 1)); spreadSunlightInternal(chunk, adjX, y, adjZ, adjBlock); } } } } */ }
{ "content_hash": "1baccfdac817243ca2b79f422e135699", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 141, "avg_line_length": 43.203125, "alnum_prop": 0.574502712477396, "repo_name": "Ciclop/Terasology", "id": "97cca5c54d1ce9b9e658b9f63152c6be48edf7f5", "size": "6126", "binary": false, "copies": "10", "ref": "refs/heads/master", "path": "engine/src/main/java/org/terasology/world/propagation/light/InternalLightProcessor.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Batchfile", "bytes": "3245" }, { "name": "GLSL", "bytes": "109450" }, { "name": "Groovy", "bytes": "1996" }, { "name": "Java", "bytes": "6142349" }, { "name": "Protocol Buffer", "bytes": "9493" }, { "name": "Shell", "bytes": "9442" } ], "symlink_target": "" }
package org.apache.isis.viewer.bdd.common.fixtures.perform; import org.apache.isis.core.metamodel.adapter.ObjectAdapter; import org.apache.isis.core.metamodel.consent.Consent; import org.apache.isis.core.metamodel.facets.properties.modify.PropertyClearFacet; import org.apache.isis.core.metamodel.spec.feature.ObjectMember; import org.apache.isis.core.metamodel.spec.feature.OneToOneAssociation; import org.apache.isis.viewer.bdd.common.CellBinding; import org.apache.isis.viewer.bdd.common.ScenarioBoundValueException; public class ClearProperty extends PerformAbstractTypeParams { private ObjectAdapter result; public ClearProperty(final Perform.Mode mode) { super("clear property", Type.PROPERTY, NumParameters.ZERO, mode); } @Override public void doHandle(final PerformContext performContext) throws ScenarioBoundValueException { final ObjectAdapter onAdapter = performContext.getOnAdapter(); final ObjectMember nakedObjectMember = performContext.getObjectMember(); final OneToOneAssociation otoa = (OneToOneAssociation) nakedObjectMember; // set final PropertyClearFacet clearFacet = otoa.getFacet(PropertyClearFacet.class); final CellBinding thatItBinding = performContext.getPeer().getThatItBinding(); if (clearFacet == null) { throw ScenarioBoundValueException.current(thatItBinding, "(cannot clear)"); } // validate setting to null final Consent validConsent = otoa.isAssociationValid(onAdapter, null); if (validConsent.isVetoed()) { throw ScenarioBoundValueException.current(thatItBinding, validConsent.getReason()); } clearFacet.clearProperty(onAdapter); } @Override public ObjectAdapter getResult() { return result; } }
{ "content_hash": "b5f30d664fe304fef7ae0d1a915734df", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 98, "avg_line_length": 36.52, "alnum_prop": 0.7437020810514786, "repo_name": "peridotperiod/isis", "id": "2568d425b669bfc900adaefd2d8ffdd4805a1cc7", "size": "2651", "binary": false, "copies": "3", "ref": "refs/heads/master", "path": "mothballed/component/viewer/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/fixtures/perform/ClearProperty.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "169398" }, { "name": "Cucumber", "bytes": "8162" }, { "name": "Groovy", "bytes": "28126" }, { "name": "HTML", "bytes": "601123" }, { "name": "Java", "bytes": "18098201" }, { "name": "JavaScript", "bytes": "118425" }, { "name": "Shell", "bytes": "12793" }, { "name": "XSLT", "bytes": "72290" } ], "symlink_target": "" }
package expression import ( "github.com/pingcap/errors" "github.com/pingcap/tidb/sessionctx" "github.com/pingcap/tidb/util/chunk" ) type columnEvaluator struct { inputIdxToOutputIdxes map[int][]int } // run evaluates "Column" expressions. // NOTE: It should be called after all the other expressions are evaluated // since it will change the content of the input Chunk. func (e *columnEvaluator) run(ctx sessionctx.Context, input, output *chunk.Chunk) { for inputIdx, outputIdxes := range e.inputIdxToOutputIdxes { output.SwapColumn(outputIdxes[0], input, inputIdx) for i, length := 1, len(outputIdxes); i < length; i++ { output.MakeRef(outputIdxes[0], outputIdxes[i]) } } } type defaultEvaluator struct { outputIdxes []int exprs []Expression vectorizable bool } func (e *defaultEvaluator) run(ctx sessionctx.Context, input, output *chunk.Chunk) error { iter := chunk.NewIterator4Chunk(input) if e.vectorizable { for i := range e.outputIdxes { err := evalOneColumn(ctx, e.exprs[i], iter, output, e.outputIdxes[i]) if err != nil { return errors.Trace(err) } } return nil } for row := iter.Begin(); row != iter.End(); row = iter.Next() { for i := range e.outputIdxes { err := evalOneCell(ctx, e.exprs[i], row, output, e.outputIdxes[i]) if err != nil { return errors.Trace(err) } } } return nil } // EvaluatorSuite is responsible for the evaluation of a list of expressions. // It separates them to "column" and "other" expressions and evaluates "other" // expressions before "column" expressions. type EvaluatorSuite struct { *columnEvaluator // Evaluator for column expressions. *defaultEvaluator // Evaluator for other expressions. } // NewEvaluatorSuite creates an EvaluatorSuite to evaluate all the exprs. // avoidColumnEvaluator can be removed after column pool is supported. func NewEvaluatorSuite(exprs []Expression, avoidColumnEvaluator bool) *EvaluatorSuite { e := &EvaluatorSuite{} for i := 0; i < len(exprs); i++ { if col, isCol := exprs[i].(*Column); isCol && !avoidColumnEvaluator { if e.columnEvaluator == nil { e.columnEvaluator = &columnEvaluator{inputIdxToOutputIdxes: make(map[int][]int)} } inputIdx, outputIdx := col.Index, i e.columnEvaluator.inputIdxToOutputIdxes[inputIdx] = append(e.columnEvaluator.inputIdxToOutputIdxes[inputIdx], outputIdx) continue } if e.defaultEvaluator == nil { e.defaultEvaluator = &defaultEvaluator{ outputIdxes: make([]int, 0, len(exprs)), exprs: make([]Expression, 0, len(exprs)), } } e.defaultEvaluator.exprs = append(e.defaultEvaluator.exprs, exprs[i]) e.defaultEvaluator.outputIdxes = append(e.defaultEvaluator.outputIdxes, i) } if e.defaultEvaluator != nil { e.defaultEvaluator.vectorizable = Vectorizable(e.defaultEvaluator.exprs) } return e } // Vectorizable checks whether this EvaluatorSuite can use vectorizd execution mode. func (e *EvaluatorSuite) Vectorizable() bool { return e.defaultEvaluator == nil || e.defaultEvaluator.vectorizable } // Run evaluates all the expressions hold by this EvaluatorSuite. // NOTE: "defaultEvaluator" must be evaluated before "columnEvaluator". func (e *EvaluatorSuite) Run(ctx sessionctx.Context, input, output *chunk.Chunk) error { if e.defaultEvaluator != nil { err := e.defaultEvaluator.run(ctx, input, output) if err != nil { return errors.Trace(err) } } if e.columnEvaluator != nil { e.columnEvaluator.run(ctx, input, output) } return nil }
{ "content_hash": "2e7f931c4b31ff18130d82844407450e", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 123, "avg_line_length": 31.56756756756757, "alnum_prop": 0.718892694063927, "repo_name": "tiancaiamao/tidb", "id": "4b6e1fa42ca816e56ce24981f4ff50f87bebf191", "size": "4019", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "expression/evaluator.go", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Dockerfile", "bytes": "359" }, { "name": "Go", "bytes": "7405246" }, { "name": "Makefile", "bytes": "5662" }, { "name": "Shell", "bytes": "11048" } ], "symlink_target": "" }
@interface SCDGRSA : NSObject // return base64 encoded string + (NSString *)encryptString:(NSString *)str publicKey:(NSString *)pubKey; + (NSString *)encryptToString:(NSData *)data publicKey:(NSString *)pubKey; // return raw data + (NSData *)encryptToData:(NSString *)str publicKey:(NSString *)pubKey; + (NSData *)encryptData:(NSData *)data publicKey:(NSString *)pubKey; // return base64 encoded string // enc with private key NOT working YET! //+ (NSString *)encryptString:(NSString *)str privateKey:(NSString *)privKey; // return raw data //+ (NSData *)encryptData:(NSData *)data privateKey:(NSString *)privKey; // decrypt base64 encoded string, convert result to string(not base64 encoded) + (NSString *)decryptString:(NSString *)str publicKey:(NSString *)pubKey; + (NSData *)decryptData:(NSData *)data publicKey:(NSString *)pubKey; + (NSString *)decryptString:(NSString *)str privateKey:(NSString *)privKey; + (NSData *)decryptData:(NSData *)data privateKey:(NSString *)privKey; @end
{ "content_hash": "35493985a07c6077ee66ea279cce16d8", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 78, "avg_line_length": 45.09090909090909, "alnum_prop": 0.7389112903225806, "repo_name": "jidibingren/customcontrol", "id": "67e336a070fabc9ca949f51b7b330d93f68716da", "size": "1141", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "control/SCDGRSA.h", "mode": "33188", "license": "mit", "language": [ { "name": "C++", "bytes": "99881" }, { "name": "Objective-C", "bytes": "94416" }, { "name": "Objective-C++", "bytes": "22032" }, { "name": "Ruby", "bytes": "2377" } ], "symlink_target": "" }
package org.elasticsearch.cluster.metadata; import org.elasticsearch.ElasticsearchParseException; import org.elasticsearch.action.support.IndicesOptions; import org.elasticsearch.cluster.ClusterName; import org.elasticsearch.cluster.ClusterState; import org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.Context; import org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.DateMathExpressionResolver; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.test.ESTestCase; import org.joda.time.DateTime; import org.joda.time.DateTimeZone; import org.joda.time.format.DateTimeFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.equalTo; import static org.joda.time.DateTimeZone.UTC; public class DateMathExpressionResolverTests extends ESTestCase { private final DateMathExpressionResolver expressionResolver = new DateMathExpressionResolver(Settings.EMPTY); private final Context context = new Context( ClusterState.builder(new ClusterName("_name")).build(), IndicesOptions.strictExpand() ); public void testNormal() throws Exception { int numIndexExpressions = randomIntBetween(1, 9); List<String> indexExpressions = new ArrayList<>(numIndexExpressions); for (int i = 0; i < numIndexExpressions; i++) { indexExpressions.add(randomAlphaOfLength(10)); } List<String> result = expressionResolver.resolve(context, indexExpressions); assertThat(result.size(), equalTo(indexExpressions.size())); for (int i = 0; i < indexExpressions.size(); i++) { assertThat(result.get(i), equalTo(indexExpressions.get(i))); } } public void testExpression() throws Exception { List<String> indexExpressions = Arrays.asList("<.marvel-{now}>", "<.watch_history-{now}>", "<logstash-{now}>"); List<String> result = expressionResolver.resolve(context, indexExpressions); assertThat(result.size(), equalTo(3)); assertThat(result.get(0), equalTo(".marvel-" + DateTimeFormat.forPattern("YYYY.MM.dd").print(new DateTime(context.getStartTime(), UTC)))); assertThat(result.get(1), equalTo(".watch_history-" + DateTimeFormat.forPattern("YYYY.MM.dd").print(new DateTime(context.getStartTime(), UTC)))); assertThat(result.get(2), equalTo("logstash-" + DateTimeFormat.forPattern("YYYY.MM.dd").print(new DateTime(context.getStartTime(), UTC)))); } public void testEmpty() throws Exception { List<String> result = expressionResolver.resolve(context, Collections.<String>emptyList()); assertThat(result.size(), equalTo(0)); } public void testExpression_Static() throws Exception { List<String> result = expressionResolver.resolve(context, Arrays.asList("<.marvel-test>")); assertThat(result.size(), equalTo(1)); assertThat(result.get(0), equalTo(".marvel-test")); } public void testExpression_MultiParts() throws Exception { List<String> result = expressionResolver.resolve(context, Arrays.asList("<.text1-{now/d}-text2-{now/M}>")); assertThat(result.size(), equalTo(1)); assertThat(result.get(0), equalTo(".text1-" + DateTimeFormat.forPattern("YYYY.MM.dd").print(new DateTime(context.getStartTime(), UTC)) + "-text2-" + DateTimeFormat.forPattern("YYYY.MM.dd").print(new DateTime(context.getStartTime(), UTC).withDayOfMonth(1)))); } public void testExpression_CustomFormat() throws Exception { List<String> results = expressionResolver.resolve(context, Arrays.asList("<.marvel-{now/d{YYYY.MM.dd}}>")); assertThat(results.size(), equalTo(1)); assertThat(results.get(0), equalTo(".marvel-" + DateTimeFormat.forPattern("YYYY.MM.dd").print(new DateTime(context.getStartTime(), UTC)))); } public void testExpression_EscapeStatic() throws Exception { List<String> result = expressionResolver.resolve(context, Arrays.asList("<.mar\\{v\\}el-{now/d}>")); assertThat(result.size(), equalTo(1)); assertThat(result.get(0), equalTo(".mar{v}el-" + DateTimeFormat.forPattern("YYYY.MM.dd").print(new DateTime(context.getStartTime(), UTC)))); } public void testExpression_EscapeDateFormat() throws Exception { List<String> result = expressionResolver.resolve(context, Arrays.asList("<.marvel-{now/d{'\\{year\\}'YYYY}}>")); assertThat(result.size(), equalTo(1)); assertThat(result.get(0), equalTo(".marvel-" + DateTimeFormat.forPattern("'{year}'YYYY").print(new DateTime(context.getStartTime(), UTC)))); } public void testExpression_MixedArray() throws Exception { List<String> result = expressionResolver.resolve(context, Arrays.asList( "name1", "<.marvel-{now/d}>", "name2", "<.logstash-{now/M{YYYY.MM}}>" )); assertThat(result.size(), equalTo(4)); assertThat(result.get(0), equalTo("name1")); assertThat(result.get(1), equalTo(".marvel-" + DateTimeFormat.forPattern("YYYY.MM.dd").print(new DateTime(context.getStartTime(), UTC)))); assertThat(result.get(2), equalTo("name2")); assertThat(result.get(3), equalTo(".logstash-" + DateTimeFormat.forPattern("YYYY.MM").print(new DateTime(context.getStartTime(), UTC).withDayOfMonth(1)))); } public void testExpression_CustomTimeZoneInSetting() throws Exception { DateTimeZone timeZone; int hoursOffset; int minutesOffset = 0; if (randomBoolean()) { hoursOffset = randomIntBetween(-12, 14); timeZone = DateTimeZone.forOffsetHours(hoursOffset); } else { hoursOffset = randomIntBetween(-11, 13); minutesOffset = randomIntBetween(0, 59); timeZone = DateTimeZone.forOffsetHoursMinutes(hoursOffset, minutesOffset); } DateTime now; if (hoursOffset >= 0) { // rounding to next day 00:00 now = DateTime.now(UTC).plusHours(hoursOffset).plusMinutes(minutesOffset) .withHourOfDay(0).withMinuteOfHour(0).withSecondOfMinute(0); } else { // rounding to today 00:00 now = DateTime.now(UTC).withHourOfDay(0).withMinuteOfHour(0).withSecondOfMinute(0); } Settings settings = Settings.builder() .put("date_math_expression_resolver.default_time_zone", timeZone.getID()) .build(); DateMathExpressionResolver expressionResolver = new DateMathExpressionResolver(settings); Context context = new Context(this.context.getState(), this.context.getOptions(), now.getMillis()); List<String> results = expressionResolver.resolve(context, Arrays.asList("<.marvel-{now/d{YYYY.MM.dd}}>")); assertThat(results.size(), equalTo(1)); logger.info("timezone: [{}], now [{}], name: [{}]", timeZone, now, results.get(0)); assertThat(results.get(0), equalTo(".marvel-" + DateTimeFormat.forPattern("YYYY.MM.dd").print(now.withZone(timeZone)))); } public void testExpression_CustomTimeZoneInIndexName() throws Exception { DateTimeZone timeZone; int hoursOffset; int minutesOffset = 0; if (randomBoolean()) { hoursOffset = randomIntBetween(-12, 14); timeZone = DateTimeZone.forOffsetHours(hoursOffset); } else { hoursOffset = randomIntBetween(-11, 13); minutesOffset = randomIntBetween(0, 59); timeZone = DateTimeZone.forOffsetHoursMinutes(hoursOffset, minutesOffset); } DateTime now; if (hoursOffset >= 0) { // rounding to next day 00:00 now = DateTime.now(UTC).plusHours(hoursOffset).plusMinutes(minutesOffset) .withHourOfDay(0).withMinuteOfHour(0).withSecondOfMinute(0); } else { // rounding to today 00:00 now = DateTime.now(UTC).withHourOfDay(0).withMinuteOfHour(0).withSecondOfMinute(0); } Context context = new Context(this.context.getState(), this.context.getOptions(), now.getMillis()); List<String> results = expressionResolver.resolve(context, Arrays.asList("<.marvel-{now/d{YYYY.MM.dd|" + timeZone.getID() + "}}>")); assertThat(results.size(), equalTo(1)); logger.info("timezone: [{}], now [{}], name: [{}]", timeZone, now, results.get(0)); assertThat(results.get(0), equalTo(".marvel-" + DateTimeFormat.forPattern("YYYY.MM.dd").print(now.withZone(timeZone)))); } public void testExpressionInvalidUnescaped() throws Exception { Exception e = expectThrows(ElasticsearchParseException.class, () -> expressionResolver.resolve(context, Arrays.asList("<.mar}vel-{now/d}>"))); assertThat(e.getMessage(), containsString("invalid dynamic name expression")); assertThat(e.getMessage(), containsString("invalid character at position [")); } public void testExpressionInvalidDateMathFormat() throws Exception { Exception e = expectThrows(ElasticsearchParseException.class, () -> expressionResolver.resolve(context, Arrays.asList("<.marvel-{now/d{}>"))); assertThat(e.getMessage(), containsString("invalid dynamic name expression")); assertThat(e.getMessage(), containsString("date math placeholder is open ended")); } public void testExpressionInvalidEmptyDateMathFormat() throws Exception { Exception e = expectThrows(ElasticsearchParseException.class, () -> expressionResolver.resolve(context, Arrays.asList("<.marvel-{now/d{}}>"))); assertThat(e.getMessage(), containsString("invalid dynamic name expression")); assertThat(e.getMessage(), containsString("missing date format")); } public void testExpressionInvalidOpenEnded() throws Exception { Exception e = expectThrows(ElasticsearchParseException.class, () -> expressionResolver.resolve(context, Arrays.asList("<.marvel-{now/d>"))); assertThat(e.getMessage(), containsString("invalid dynamic name expression")); assertThat(e.getMessage(), containsString("date math placeholder is open ended")); } }
{ "content_hash": "f12551b56ab4189d9ba5cc5956619355", "timestamp": "", "source": "github", "line_count": 201, "max_line_length": 131, "avg_line_length": 52.02985074626866, "alnum_prop": 0.6681965959074393, "repo_name": "strapdata/elassandra", "id": "455d28444dacc45734beb05f82dec2b22b7e1154", "size": "11246", "binary": false, "copies": "2", "ref": "refs/heads/v6.8.4-strapdata", "path": "server/src/test/java/org/elasticsearch/cluster/metadata/DateMathExpressionResolverTests.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "ANTLR", "bytes": "10298" }, { "name": "Batchfile", "bytes": "124" }, { "name": "Emacs Lisp", "bytes": "3341" }, { "name": "FreeMarker", "bytes": "45" }, { "name": "Groovy", "bytes": "383497" }, { "name": "HTML", "bytes": "2186" }, { "name": "Java", "bytes": "54992093" }, { "name": "Perl", "bytes": "12512" }, { "name": "PowerShell", "bytes": "19551" }, { "name": "Python", "bytes": "19852" }, { "name": "Shell", "bytes": "106694" } ], "symlink_target": "" }
package wiki.chenxun.ace.core.base.annotations; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @Description: Created by chenxun on 2017/4/8. */ @Target({ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface Put { }
{ "content_hash": "6deeb7254d3e7038e2b87795288d4043", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 48, "avg_line_length": 25.75, "alnum_prop": 0.7961165048543689, "repo_name": "ChenXun1989/ace", "id": "0ba420c1a4de50aea8bc2c7092a27f84c011c0eb", "size": "412", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "ace-core/src/main/java/wiki/chenxun/ace/core/base/annotations/Put.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "HTML", "bytes": "10389" }, { "name": "Java", "bytes": "111532" }, { "name": "JavaScript", "bytes": "574" } ], "symlink_target": "" }
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_1329 { }
{ "content_hash": "3dff627739d7c1491f2cf2b797c48c18", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 52, "avg_line_length": 21.571428571428573, "alnum_prop": 0.8079470198675497, "repo_name": "lesaint/experimenting-annotation-processing", "id": "41c1ba6224441d2e4db9d4f64c6bc88b01d1bf22", "size": "151", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_1329.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "1909421" }, { "name": "Shell", "bytes": "1605" } ], "symlink_target": "" }
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008-2017. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of */ /* the project. */ /*----------------------------------------------------------------------------*/ package edu.wpi.first.wpilibj; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.URL; import java.util.Arrays; import java.util.Enumeration; import java.util.jar.Manifest; import org.opencv.core.Core; import edu.wpi.first.wpilibj.hal.FRCNetComm.tInstances; import edu.wpi.first.wpilibj.hal.FRCNetComm.tResourceType; import edu.wpi.first.wpilibj.hal.HAL; import edu.wpi.first.wpilibj.internal.HardwareHLUsageReporting; import edu.wpi.first.wpilibj.internal.HardwareTimer; import edu.wpi.first.wpilibj.networktables.NetworkTable; import edu.wpi.first.wpilibj.util.WPILibVersion; /** * Implement a Robot Program framework. The RobotBase class is intended to be subclassed by a user * creating a robot program. Overridden autonomous() and operatorControl() methods are called at the * appropriate time as the match proceeds. In the current implementation, the Autonomous code will * run to completion before the OperatorControl code could start. In the future the Autonomous code * might be spawned as a task, then killed at the end of the Autonomous period. */ public abstract class RobotBase { /** * The VxWorks priority that robot code should work at (so Java code should run at). */ public static final int ROBOT_TASK_PRIORITY = 101; /** * The ID of the main Java thread. */ // This is usually 1, but it is best to make sure public static final long MAIN_THREAD_ID = Thread.currentThread().getId(); protected final DriverStation m_ds; /** * Constructor for a generic robot program. User code should be placed in the constructor that * runs before the Autonomous or Operator Control period starts. The constructor will run to * completion before Autonomous is entered. * * <p>This must be used to ensure that the communications code starts. In the future it would be * nice * to put this code into it's own task that loads on boot so ensure that it runs. */ protected RobotBase() { // TODO: StartCAPI(); // TODO: See if the next line is necessary // Resource.RestartProgram(); NetworkTable.setNetworkIdentity("Robot"); NetworkTable.setPersistentFilename("/home/lvuser/networktables.ini"); NetworkTable.setServerMode();// must be before b m_ds = DriverStation.getInstance(); NetworkTable.getTable(""); // forces network tables to initialize NetworkTable.getTable("LiveWindow").getSubTable("~STATUS~").putBoolean("LW Enabled", false); } /** * Free the resources for a RobotBase class. */ public void free() { } /** * @return If the robot is running in simulation. */ public static boolean isSimulation() { return false; } /** * @return If the robot is running in the real world. */ public static boolean isReal() { return true; } /** * Determine if the Robot is currently disabled. * * @return True if the Robot is currently disabled by the field controls. */ public boolean isDisabled() { return m_ds.isDisabled(); } /** * Determine if the Robot is currently enabled. * * @return True if the Robot is currently enabled by the field controls. */ public boolean isEnabled() { return m_ds.isEnabled(); } /** * Determine if the robot is currently in Autonomous mode as determined by the field * controls. * * @return True if the robot is currently operating Autonomously. */ public boolean isAutonomous() { return m_ds.isAutonomous(); } /** * Determine if the robot is currently in Test mode as determined by the driver * station. * * @return True if the robot is currently operating in Test mode. */ public boolean isTest() { return m_ds.isTest(); } /** * Determine if the robot is currently in Operator Control mode as determined by the field * controls. * * @return True if the robot is currently operating in Tele-Op mode. */ public boolean isOperatorControl() { return m_ds.isOperatorControl(); } /** * Indicates if new data is available from the driver station. * * @return Has new data arrived over the network since the last time this function was called? */ public boolean isNewDataAvailable() { return m_ds.isNewControlData(); } /** * Provide an alternate "main loop" via startCompetition(). */ public abstract void startCompetition(); @SuppressWarnings("JavadocMethod") public static boolean getBooleanProperty(String name, boolean defaultValue) { String propVal = System.getProperty(name); if (propVal == null) { return defaultValue; } if (propVal.equalsIgnoreCase("false")) { return false; } else if (propVal.equalsIgnoreCase("true")) { return true; } else { throw new IllegalStateException(propVal); } } /** * Common initialization for all robot programs. */ public static void initializeHardwareConfiguration() { int rv = HAL.initialize(0); assert rv == 1; // Set some implementations so that the static methods work properly Timer.SetImplementation(new HardwareTimer()); HLUsageReporting.SetImplementation(new HardwareHLUsageReporting()); RobotState.SetImplementation(DriverStation.getInstance()); // Load opencv try { System.loadLibrary(Core.NATIVE_LIBRARY_NAME); } catch (UnsatisfiedLinkError ex) { System.out.println("OpenCV Native Libraries could not be loaded."); System.out.println("Please try redeploying, or reimage your roboRIO and try again."); ex.printStackTrace(); } } /** * Starting point for the applications. */ @SuppressWarnings("PMD.UnusedFormalParameter") public static void main(String... args) { initializeHardwareConfiguration(); HAL.report(tResourceType.kResourceType_Language, tInstances.kLanguage_Java); String robotName = ""; Enumeration<URL> resources = null; try { resources = RobotBase.class.getClassLoader().getResources("META-INF/MANIFEST.MF"); } catch (IOException ex) { ex.printStackTrace(); } while (resources != null && resources.hasMoreElements()) { try { Manifest manifest = new Manifest(resources.nextElement().openStream()); robotName = manifest.getMainAttributes().getValue("Robot-Class"); } catch (IOException ex) { ex.printStackTrace(); } } RobotBase robot; try { robot = (RobotBase) Class.forName(robotName).newInstance(); } catch (Throwable throwable) { DriverStation.reportError("ERROR Unhandled exception instantiating robot " + robotName + " " + throwable.toString() + " at " + Arrays.toString(throwable.getStackTrace()), false); System.err.println("WARNING: Robots don't quit!"); System.err.println("ERROR: Could not instantiate robot " + robotName + "!"); System.exit(1); return; } try { final File file = new File("/tmp/frc_versions/FRC_Lib_Version.ini"); if (file.exists()) { file.delete(); } file.createNewFile(); try (FileOutputStream output = new FileOutputStream(file)) { output.write("Java ".getBytes()); output.write(WPILibVersion.Version.getBytes()); } } catch (IOException ex) { ex.printStackTrace(); } boolean errorOnExit = false; try { System.out.println("********** Robot program starting **********"); robot.startCompetition(); } catch (Throwable throwable) { DriverStation.reportError( "ERROR Unhandled exception: " + throwable.toString() + " at " + Arrays.toString(throwable.getStackTrace()), false); errorOnExit = true; } finally { // startCompetition never returns unless exception occurs.... System.err.println("WARNING: Robots don't quit!"); if (errorOnExit) { System.err .println("---> The startCompetition() method (or methods called by it) should have " + "handled the exception above."); } else { System.err.println("---> Unexpected return from startCompetition() method."); } } System.exit(1); } }
{ "content_hash": "781b989d063e55033f397865ef91902f", "timestamp": "", "source": "github", "line_count": 266, "max_line_length": 100, "avg_line_length": 32.56390977443609, "alnum_prop": 0.6577003001616255, "repo_name": "robotdotnet/allwpilib", "id": "6461909c366baccce116a8fe67199bd5c4df1c21", "size": "8662", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "wpilibj/src/athena/java/edu/wpi/first/wpilibj/RobotBase.java", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "Batchfile", "bytes": "2770" }, { "name": "C", "bytes": "262792" }, { "name": "C++", "bytes": "3136780" }, { "name": "CMake", "bytes": "6062" }, { "name": "Groff", "bytes": "475" }, { "name": "HTML", "bytes": "1202" }, { "name": "Java", "bytes": "1212656" }, { "name": "Objective-C", "bytes": "2324" }, { "name": "Protocol Buffer", "bytes": "1083" }, { "name": "Python", "bytes": "6374" }, { "name": "Shell", "bytes": "26608" } ], "symlink_target": "" }
var ANY: any; var BOOLEAN: boolean; var NUMBER: number; var STRING: string; var OBJECT: Object; var resultIsString: string; //The second operand is string ANY, STRING; BOOLEAN, STRING; NUMBER, STRING; STRING, STRING; OBJECT, STRING; //Return type is string var resultIsString1 = (ANY, STRING); var resultIsString2 = (BOOLEAN, STRING); var resultIsString3 = (NUMBER, STRING); var resultIsString4 = (STRING, STRING); var resultIsString5 = (OBJECT, STRING); //Literal and expression null, STRING; ANY = new Date(), STRING; true, ""; BOOLEAN == undefined, ""; ["a", "b"], NUMBER.toString(); OBJECT = new Object, STRING + "string"; var resultIsString6 = (null, STRING); var resultIsString7 = (ANY = new Date(), STRING); var resultIsString8 = (true, ""); var resultIsString9 = (BOOLEAN == undefined, ""); var resultIsString10 = (["a", "b"], NUMBER.toString()); var resultIsString11 = (new Object, STRING + "string"); //// [commaOperatorWithSecondOperandStringType.js] var ANY; var BOOLEAN; var NUMBER; var STRING; var OBJECT; var resultIsString; ANY, STRING; BOOLEAN, STRING; NUMBER, STRING; STRING, STRING; OBJECT, STRING; var resultIsString1 = (ANY, STRING); var resultIsString2 = (BOOLEAN, STRING); var resultIsString3 = (NUMBER, STRING); var resultIsString4 = (STRING, STRING); var resultIsString5 = (OBJECT, STRING); null, STRING; ANY = new Date(), STRING; true, ""; BOOLEAN == undefined, ""; ["a", "b"], NUMBER.toString(); OBJECT = new Object, STRING + "string"; var resultIsString6 = (null, STRING); var resultIsString7 = (ANY = new Date(), STRING); var resultIsString8 = (true, ""); var resultIsString9 = (BOOLEAN == undefined, ""); var resultIsString10 = (["a", "b"], NUMBER.toString()); var resultIsString11 = (new Object, STRING + "string");
{ "content_hash": "e23144a8ce61063ca0d44e20a0d4fd14", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 55, "avg_line_length": 26.64179104477612, "alnum_prop": 0.6913165266106442, "repo_name": "ivogabe/TypeScript", "id": "78d2f882418b2f3447f29363e780372103a233a1", "size": "1837", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "tests/baselines/reference/commaOperatorWithSecondOperandStringType.js", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "JavaScript", "bytes": "7714706" }, { "name": "Shell", "bytes": "232" }, { "name": "TypeScript", "bytes": "6840268" } ], "symlink_target": "" }
package main import ( "flag" "fmt" "log" "os" "path/filepath" "sync" "github.com/BurntSushi/toml" docker "github.com/fsouza/go-dockerclient" "github.com/jwilder/docker-gen" ) type stringslice []string var ( buildVersion string version bool watch bool wait string notifyCmd string notifyOutput bool notifySigHUPContainerID string onlyExposed bool onlyPublished bool includeStopped bool configFiles stringslice configs dockergen.ConfigFile interval int keepBlankLines bool endpoint string tlsCert string tlsKey string tlsCaCert string tlsVerify bool tlsCertPath string wg sync.WaitGroup ) func (strings *stringslice) String() string { return "[]" } func (strings *stringslice) Set(value string) error { // TODO: Throw an error for duplicate `dest` *strings = append(*strings, value) return nil } func usage() { println(`Usage: docker-gen [options] template [dest] Generate files from docker container meta-data Options:`) flag.PrintDefaults() println(` Arguments: template - path to a template to generate dest - path to a write the template. If not specfied, STDOUT is used`) println(` Environment Variables: DOCKER_HOST - default value for -endpoint DOCKER_CERT_PATH - directory path containing key.pem, cert.pem and ca.pem DOCKER_TLS_VERIFY - enable client TLS verification `) println(`For more information, see https://github.com/jwilder/docker-gen`) } func loadConfig(file string) error { _, err := toml.DecodeFile(file, &configs) if err != nil { return err } return nil } func initFlags() { certPath := filepath.Join(os.Getenv("DOCKER_CERT_PATH")) if certPath == "" { certPath = filepath.Join(os.Getenv("HOME"), ".docker") } flag.BoolVar(&version, "version", false, "show version") flag.BoolVar(&watch, "watch", false, "watch for container changes") flag.StringVar(&wait, "wait", "", "minimum and maximum durations to wait (e.g. \"500ms:2s\") before triggering generate") flag.BoolVar(&onlyExposed, "only-exposed", false, "only include containers with exposed ports") flag.BoolVar(&onlyPublished, "only-published", false, "only include containers with published ports (implies -only-exposed)") flag.BoolVar(&includeStopped, "include-stopped", false, "include stopped containers") flag.BoolVar(&notifyOutput, "notify-output", false, "log the output(stdout/stderr) of notify command") flag.StringVar(&notifyCmd, "notify", "", "run command after template is regenerated (e.g `restart xyz`)") flag.StringVar(&notifySigHUPContainerID, "notify-sighup", "", "send HUP signal to container. Equivalent to `docker kill -s HUP container-ID`") flag.Var(&configFiles, "config", "config files with template directives. Config files will be merged if this option is specified multiple times.") flag.IntVar(&interval, "interval", 0, "notify command interval (secs)") flag.BoolVar(&keepBlankLines, "keep-blank-lines", false, "keep blank lines in the output file") flag.StringVar(&endpoint, "endpoint", "", "docker api endpoint (tcp|unix://..). Default unix:///var/run/docker.sock") flag.StringVar(&tlsCert, "tlscert", filepath.Join(certPath, "cert.pem"), "path to TLS client certificate file") flag.StringVar(&tlsKey, "tlskey", filepath.Join(certPath, "key.pem"), "path to TLS client key file") flag.StringVar(&tlsCaCert, "tlscacert", filepath.Join(certPath, "ca.pem"), "path to TLS CA certificate file") flag.BoolVar(&tlsVerify, "tlsverify", os.Getenv("DOCKER_TLS_VERIFY") != "", "verify docker daemon's TLS certicate") flag.Usage = usage flag.Parse() } func main() { initFlags() if version { fmt.Println(buildVersion) return } if flag.NArg() < 1 && len(configFiles) == 0 { usage() os.Exit(1) } if len(configFiles) > 0 { for _, configFile := range configFiles { err := loadConfig(configFile) if err != nil { log.Fatalf("error loading config %s: %s\n", configFile, err) } } } else { w, err := dockergen.ParseWait(wait) if err != nil { log.Fatalf("error parsing wait interval: %s\n", err) } config := dockergen.Config{ Template: flag.Arg(0), Dest: flag.Arg(1), Watch: watch, Wait: w, NotifyCmd: notifyCmd, NotifyOutput: notifyOutput, NotifyContainers: make(map[string]docker.Signal), OnlyExposed: onlyExposed, OnlyPublished: onlyPublished, IncludeStopped: includeStopped, Interval: interval, KeepBlankLines: keepBlankLines, } if notifySigHUPContainerID != "" { config.NotifyContainers[notifySigHUPContainerID] = docker.SIGHUP } configs = dockergen.ConfigFile{ Config: []dockergen.Config{config}} } all := true for _, config := range configs.Config { if config.IncludeStopped { all = true } } generator, err := dockergen.NewGenerator(dockergen.GeneratorConfig{ Endpoint: endpoint, TLSKey: tlsKey, TLSCert: tlsCert, TLSCACert: tlsCaCert, TLSVerify: tlsVerify, All: all, ConfigFile: configs, }) if err != nil { log.Fatalf("error creating generator: %v", err) } if err := generator.Generate(); err != nil { log.Fatalf("error running generate: %v", err) } }
{ "content_hash": "3d3de0d16c034cadd016b7fe7e024f6c", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 147, "avg_line_length": 29.775956284153004, "alnum_prop": 0.6634244815562489, "repo_name": "baptistedonaux/docker-gen", "id": "b3fde3830f434213f0ea0a53fcd21149742df2e1", "size": "5449", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "cmd/docker-gen/main.go", "mode": "33188", "license": "mit", "language": [ { "name": "Go", "bytes": "77587" }, { "name": "Makefile", "bytes": "2200" } ], "symlink_target": "" }
import Component from '../../src/component.js'; export class SectionEmpty extends Component {} export class SectionOne extends Component {} export class SectionOneOne extends Component { constructor(...args) { super(...args); this.el.innerHTML = '${this.counter += 1}'; this.scope.counter = 0; } } export class SectionTwo extends Component { constructor(...args) { super(...args); this.el.innerHTML = '${this.html}'; this.scope.html = '0'; } }
{ "content_hash": "f73bf6bf31dbc5b6017c5a526b39757d", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 47, "avg_line_length": 21.818181818181817, "alnum_prop": 0.65625, "repo_name": "ortexx/akili", "id": "4e1b5cfe205bed27acd60192d97baa437f454c25", "size": "480", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "test/app/sections.js", "mode": "33188", "license": "mit", "language": [ { "name": "JavaScript", "bytes": "303843" } ], "symlink_target": "" }
package de.ahus1.lottery.adapter.dropwizard.resource; import de.ahus1.keycloak.dropwizard.User; import de.ahus1.lottery.domain.DrawingService; import io.dropwizard.auth.Auth; import javax.annotation.security.RolesAllowed; import javax.validation.Valid; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; @Path("/draw") public class DrawRessource { @POST @Produces(MediaType.APPLICATION_JSON) @RolesAllowed("user") public DrawResponse draw(@Valid DrawRequest input, @Auth User user) { return new DrawResponse(DrawingService.drawNumbers(input.getDate())); } }
{ "content_hash": "10ca839fa632fa9483b9a7764c349f96", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 77, "avg_line_length": 27.25, "alnum_prop": 0.764525993883792, "repo_name": "ahus1/keycloak-dropwizard-integration", "id": "5f1dde2a44aa9713efc6cb983bb5c832c2a74455", "size": "654", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "keycloak-dropwizard-bearermodule/src/main/java/de/ahus1/lottery/adapter/dropwizard/resource/DrawRessource.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Batchfile", "bytes": "934" }, { "name": "Dockerfile", "bytes": "519" }, { "name": "FreeMarker", "bytes": "3008" }, { "name": "HTML", "bytes": "1218" }, { "name": "Java", "bytes": "98258" }, { "name": "JavaScript", "bytes": "3548" }, { "name": "Ruby", "bytes": "287" }, { "name": "Shell", "bytes": "1644" } ], "symlink_target": "" }
FROM gcr.io/oss-fuzz-base/base-builder@sha256:111d6b9d3a52bd3392602c71dc8936c628607a7a9bc86d381db7586f9b1e840f RUN apt-get update && apt-get install -y make autoconf automake libtool zip wget python RUN git clone https://github.com/wolfssl/wolfssl --depth 1 $SRC/wolfssl RUN git clone --depth 1 https://github.com/wolfSSL/wolfssh.git RUN git clone --depth 1 https://github.com/guidovranken/fuzzing-headers.git RUN git clone --depth 1 https://github.com/guidovranken/wolf-ssl-ssh-fuzzers RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz RUN git clone --depth 1 https://github.com/randombit/botan.git RUN git clone --depth 1 https://github.com/google/wycheproof.git RUN wget https://boostorg.jfrog.io/artifactory/main/release/1.74.0/source/boost_1_74_0.tar.bz2 RUN git clone https://github.com/wolfssl/oss-fuzz-targets --depth 1 $SRC/fuzz-targets # Retrieve corpora from other projects RUN wget https://storage.googleapis.com/pub/gsutil.tar.gz -O $SRC/gsutil.tar.gz RUN tar zxf $SRC/gsutil.tar.gz ENV PATH="${PATH}:$SRC/gsutil" RUN gsutil cp gs://bearssl-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/bearssl_cryptofuzz-bearssl/public.zip $SRC/corpus_bearssl.zip RUN gsutil cp gs://nettle-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/nettle_cryptofuzz-nettle-with-mini-gmp/public.zip $SRC/corpus_nettle.zip RUN gsutil cp gs://libecc-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/libecc_cryptofuzz-libecc/public.zip $SRC/corpus_libecc.zip RUN gsutil cp gs://relic-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/relic_cryptofuzz-relic/public.zip $SRC/corpus_relic.zip RUN gsutil cp gs://cryptofuzz-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/cryptofuzz_cryptofuzz-openssl/public.zip $SRC/corpus_cryptofuzz-openssl.zip RUN gsutil cp gs://cryptofuzz-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/cryptofuzz_cryptofuzz-boringssl/public.zip $SRC/corpus_cryptofuzz-boringssl.zip RUN gsutil cp gs://cryptofuzz-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/cryptofuzz_cryptofuzz-nss/public.zip $SRC/corpus_cryptofuzz-nss.zip RUN gsutil cp gs://bitcoin-core-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/bitcoin-core_cryptofuzz-bitcoin-cryptography-w2-p2/public.zip $SRC/corpus_bitcoin-core-w2-p2.zip RUN gsutil cp gs://bitcoin-core-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/bitcoin-core_cryptofuzz-bitcoin-cryptography-w15-p4/public.zip $SRC/corpus_bitcoin-core-w15-p4.zip RUN gsutil cp gs://bitcoin-core-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/bitcoin-core_cryptofuzz-bitcoin-cryptography-w20-p8/public.zip $SRC/corpus_bitcoin-core-w20-p8.zip RUN gsutil cp gs://num-bigint-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/num-bigint_cryptofuzz/public.zip $SRC/corpus_num-bigint.zip RUN gsutil cp gs://wolfssl-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/wolfssl_cryptofuzz-sp-math-all/public.zip $SRC/corpus_wolfssl_sp-math-all.zip RUN gsutil cp gs://wolfssl-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/wolfssl_cryptofuzz-sp-math-all-8bit/public.zip $SRC/corpus_wolfssl_sp-math-all-8bit.zip RUN gsutil cp gs://wolfssl-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/wolfssl_cryptofuzz-sp-math/public.zip $SRC/corpus_wolfssl_sp-math.zip RUN gsutil cp gs://wolfssl-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/wolfssl_cryptofuzz-disable-fastmath/public.zip $SRC/corpus_wolfssl_disable-fastmath.zip # Botan corpora, which require a special import procedure RUN gsutil cp gs://botan-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/botan_ecc_p256/public.zip $SRC/corpus_botan_ecc_p256.zip RUN gsutil cp gs://botan-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/botan_ecc_p384/public.zip $SRC/corpus_botan_ecc_p384.zip RUN gsutil cp gs://botan-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/botan_ecc_p521/public.zip $SRC/corpus_botan_ecc_p521.zip RUN gsutil cp gs://botan-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/botan_ecc_bp256/public.zip $SRC/corpus_botan_ecc_bp256.zip # OpenSSL/LibreSSL corpora, which require a special import procedure RUN gsutil cp gs://openssl-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/openssl_bignum/public.zip $SRC/corpus_openssl_expmod.zip RUN gsutil cp gs://libressl-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/libressl_bignum/public.zip $SRC/corpus_libressl_expmod.zip WORKDIR wolfssl COPY build.sh $SRC/ # This is to fix Fuzz Introspector build by using LLVM old pass manager # re https://github.com/ossf/fuzz-introspector/issues/305 ENV OLD_LLVMPASS 1
{ "content_hash": "aff37c2633520a40a4086ed8306736e1", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 187, "avg_line_length": 94.71428571428571, "alnum_prop": 0.8157724628312863, "repo_name": "skia-dev/oss-fuzz", "id": "a08f99746858341761eb8bfae854b6b26c89edbe", "size": "5395", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "projects/wolfssl/Dockerfile", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "C", "bytes": "553498" }, { "name": "C++", "bytes": "412656" }, { "name": "CMake", "bytes": "1635" }, { "name": "Dockerfile", "bytes": "874184" }, { "name": "Go", "bytes": "67217" }, { "name": "HTML", "bytes": "13787" }, { "name": "Java", "bytes": "551460" }, { "name": "JavaScript", "bytes": "2508" }, { "name": "Makefile", "bytes": "13162" }, { "name": "Python", "bytes": "969565" }, { "name": "Ruby", "bytes": "1827" }, { "name": "Rust", "bytes": "8384" }, { "name": "Shell", "bytes": "1356613" }, { "name": "Starlark", "bytes": "5471" }, { "name": "Swift", "bytes": "1363" } ], "symlink_target": "" }
package info.kimjihyok.ripplelibrary.renderer; import android.graphics.Canvas; /** * Created by jkimab on 2017. 8. 30.. */ public abstract class Renderer { public void render(Canvas canvas, int x, int y, int buttonRadius, int rippleRadius, int rippleBackgroundRadius) { } public abstract void changeColor(int color); }
{ "content_hash": "ed11efbf06e51767e89025747affde03", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 115, "avg_line_length": 20.8125, "alnum_prop": 0.7417417417417418, "repo_name": "wotomas/VoiceRipple", "id": "0fd9ca116ac9aec302730a15dc02d268fd8169ef", "size": "333", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "ripplelibrary/src/main/java/info/kimjihyok/ripplelibrary/renderer/Renderer.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "25594" }, { "name": "Shell", "bytes": "1384" } ], "symlink_target": "" }
namespace hector_nav_msgs { static const char GETROBOTTRAJECTORY[] = "hector_nav_msgs/GetRobotTrajectory"; class GetRobotTrajectoryRequest : public ros::Msg { public: virtual int serialize(unsigned char *outbuffer) const { int offset = 0; return offset; } virtual int deserialize(unsigned char *inbuffer) { int offset = 0; return offset; } const char * getType(){ return GETROBOTTRAJECTORY; }; const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; }; }; class GetRobotTrajectoryResponse : public ros::Msg { public: nav_msgs::Path trajectory; virtual int serialize(unsigned char *outbuffer) const { int offset = 0; offset += this->trajectory.serialize(outbuffer + offset); return offset; } virtual int deserialize(unsigned char *inbuffer) { int offset = 0; offset += this->trajectory.deserialize(inbuffer + offset); return offset; } const char * getType(){ return GETROBOTTRAJECTORY; }; const char * getMD5(){ return "c7bd40129c5786fc26351edbd33b8d33"; }; }; class GetRobotTrajectory { public: typedef GetRobotTrajectoryRequest Request; typedef GetRobotTrajectoryResponse Response; }; } #endif
{ "content_hash": "08ac4f42975933f5bf5709d59adc373c", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 78, "avg_line_length": 22.103448275862068, "alnum_prop": 0.6653666146645866, "repo_name": "davidx3601/ric", "id": "32152bd8535e2acddbc47a0fa7620416dace8d89", "size": "1475", "binary": false, "copies": "5", "ref": "refs/heads/indigo-devel", "path": "ric_mc/Arduino/libraries/ros_lib/hector_nav_msgs/GetRobotTrajectory.h", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "Arduino", "bytes": "142621" }, { "name": "C", "bytes": "39802" }, { "name": "C#", "bytes": "316699" }, { "name": "C++", "bytes": "2200002" }, { "name": "CMake", "bytes": "12171" }, { "name": "Objective-C", "bytes": "2102" }, { "name": "Processing", "bytes": "20189" }, { "name": "Python", "bytes": "26731" }, { "name": "Shell", "bytes": "1961" } ], "symlink_target": "" }
<resources> <!-- Default screen margins, per the Android Design guidelines. --> <integer name="ean_size">13</integer> <integer name="ean_width">8</integer> <dimen name="head_line">24sp</dimen> <dimen name="small_fontsize">12sp</dimen> <!-- Per the design guidelines, navigation drawers should be between 240dp and 320dp: https://developer.android.com/design/patterns/navigation-drawer.html --> <dimen name="navigation_drawer_width">240dp</dimen> <!-- Default screen margins, per the Android Design guidelines. --> <dimen name="activity_horizontal_margin">16dp</dimen> <dimen name="activity_vertical_margin">16dp</dimen> <dimen name="app_bar_height">180dp</dimen> <dimen name="fab_margin">16dp</dimen> <dimen name="spacing_large">50dp</dimen> </resources>
{ "content_hash": "a47346a8d446c0a8af446b8d9ef79420", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 89, "avg_line_length": 48.05882352941177, "alnum_prop": 0.6878824969400245, "repo_name": "surengrig/SuperDuo", "id": "ca7077408a9c499b242b1b46596f3b4da4cb1735", "size": "817", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "alexandria/app/src/main/res/values/dimens.xml", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "168739" } ], "symlink_target": "" }
using namespace vgui; struct PanelItem_t { PanelItem_t() : m_EditLabel(NULL) {} Panel *m_EditLabel; TextEntry *m_EditPanel; ComboBox *m_pCombo; Button *m_EditButton; char m_szName[64]; int m_iType; }; class CSmallTextEntry : public TextEntry { DECLARE_CLASS_SIMPLE( CSmallTextEntry, TextEntry ); public: CSmallTextEntry( Panel *parent, char const *panelName ) : BaseClass( parent, panelName ) { } virtual void ApplySchemeSettings( IScheme *scheme ) { BaseClass::ApplySchemeSettings( scheme ); SetFont( scheme->GetFont( "DefaultVerySmall" ) ); } }; //----------------------------------------------------------------------------- // Purpose: Holds a list of all the edit fields for the currently selected panel //----------------------------------------------------------------------------- class BuildModeDialog::PanelList { public: CUtlVector<PanelItem_t> m_PanelList; void AddItem( Panel *label, TextEntry *edit, ComboBox *combo, Button *button, const char *name, int type ) { PanelItem_t item; item.m_EditLabel = label; item.m_EditPanel = edit; Q_strncpy(item.m_szName, name, sizeof(item.m_szName)); item.m_iType = type; item.m_pCombo = combo; item.m_EditButton = button; m_PanelList.AddToTail( item ); } void RemoveAll( void ) { for ( int i = 0; i < m_PanelList.Size(); i++ ) { PanelItem_t *item = &m_PanelList[i]; delete item->m_EditLabel; delete item->m_EditPanel; delete item->m_EditButton; } m_PanelList.RemoveAll(); m_pControls->RemoveAll(); } KeyValues *m_pResourceData; PanelListPanel *m_pControls; }; //----------------------------------------------------------------------------- // Purpose: Dialog for adding localized strings //----------------------------------------------------------------------------- class BuildModeLocalizedStringEditDialog : public Frame { DECLARE_CLASS_SIMPLE(BuildModeLocalizedStringEditDialog, Frame); public: #pragma warning( disable : 4355 ) BuildModeLocalizedStringEditDialog() : Frame(this, NULL) { m_pTokenEntry = new TextEntry(this, NULL); m_pValueEntry = new TextEntry(this, NULL); m_pFileCombo = new ComboBox(this, NULL, 12, false); m_pOKButton = new Button(this, NULL, "OK"); m_pCancelButton = new Button(this, NULL, "Cancel"); m_pCancelButton->SetCommand("Close"); m_pOKButton->SetCommand("OK"); // add the files to the combo for (int i = 0; i < g_pVGuiLocalize->GetLocalizationFileCount(); i++) { m_pFileCombo->AddItem(g_pVGuiLocalize->GetLocalizationFileName(i), NULL); } } #pragma warning( default : 4355 ) virtual void DoModal(const char *token) { input()->SetAppModalSurface(GetVPanel()); // setup data m_pTokenEntry->SetText(token); // lookup the value StringIndex_t val = g_pVGuiLocalize->FindIndex(token); if (val != INVALID_LOCALIZE_STRING_INDEX) { m_pValueEntry->SetText(g_pVGuiLocalize->GetValueByIndex(val)); // set the place in the file combo m_pFileCombo->SetText(g_pVGuiLocalize->GetFileNameByIndex(val)); } else { m_pValueEntry->SetText(""); } } private: virtual void PerformLayout() { } virtual void OnClose() { input()->SetAppModalSurface(NULL); BaseClass::OnClose(); //PostActionSignal(new KeyValues("Command" } virtual void OnCommand(const char *command) { if (!stricmp(command, "OK")) { //!! apply changes } else { BaseClass::OnCommand(command); } } vgui::TextEntry *m_pTokenEntry; vgui::TextEntry *m_pValueEntry; vgui::ComboBox *m_pFileCombo; vgui::Button *m_pOKButton; vgui::Button *m_pCancelButton; }; class CBuildModeDialogMgr { public: void Add( BuildModeDialog *pDlg ); void Remove( BuildModeDialog *pDlg ); int Count() const; private: CUtlVector< BuildModeDialog * > m_vecBuildDialogs; }; static CBuildModeDialogMgr g_BuildModeDialogMgr; void CBuildModeDialogMgr::Add( BuildModeDialog *pDlg ) { if ( m_vecBuildDialogs.Find( pDlg ) == m_vecBuildDialogs.InvalidIndex() ) { m_vecBuildDialogs.AddToTail( pDlg ); } } void CBuildModeDialogMgr::Remove( BuildModeDialog *pDlg ) { m_vecBuildDialogs.FindAndRemove( pDlg ); } int CBuildModeDialogMgr::Count() const { return m_vecBuildDialogs.Count(); } int GetBuildModeDialogCount() { return g_BuildModeDialogMgr.Count(); } //----------------------------------------------------------------------------- // Purpose: Constructor //----------------------------------------------------------------------------- BuildModeDialog::BuildModeDialog(BuildGroup *buildGroup) : Frame(buildGroup->GetContextPanel(), "BuildModeDialog") { SetMinimumSize(300, 256); SetSize(300, 420); m_pCurrentPanel = NULL; m_pEditableParents = NULL; m_pEditableChildren = NULL; m_pNextChild = NULL; m_pPrevChild = NULL; m_pBuildGroup = buildGroup; _undoSettings = NULL; _copySettings = NULL; _autoUpdate = false; MakePopup(); SetTitle("VGUI Build Mode Editor", true); CreateControls(); LoadUserConfig("BuildModeDialog"); g_BuildModeDialogMgr.Add( this ); } //----------------------------------------------------------------------------- // Purpose: Destructor //----------------------------------------------------------------------------- BuildModeDialog::~BuildModeDialog() { g_BuildModeDialogMgr.Remove( this ); m_pPanelList->m_pResourceData->deleteThis(); m_pPanelList->m_pControls->DeleteAllItems(); if (_undoSettings) _undoSettings->deleteThis(); if (_copySettings) _copySettings->deleteThis(); } //----------------------------------------------------------------------------- // Purpose: makes sure build mode has been shut down properly //----------------------------------------------------------------------------- void BuildModeDialog::OnClose() { if (m_pBuildGroup->IsEnabled()) { m_pBuildGroup->SetEnabled(false); } else { BaseClass::OnClose(); MarkForDeletion(); } } class CBuildModeNavCombo : public ComboBox { DECLARE_CLASS_SIMPLE( CBuildModeNavCombo, ComboBox ); public: CBuildModeNavCombo(Panel *parent, const char *panelName, int numLines, bool allowEdit, bool getParents, Panel *context ) : BaseClass( parent, panelName, numLines, allowEdit ), m_bParents( getParents ) { m_hContext = context; } virtual void OnShowMenu(Menu *menu) { menu->DeleteAllItems(); if ( !m_hContext.Get() ) return; if ( m_bParents ) { Panel *p = m_hContext->GetParent(); while ( p ) { EditablePanel *ep = dynamic_cast < EditablePanel * >( p ); if ( ep && ep->GetBuildGroup() ) { KeyValues *kv = new KeyValues( "Panel" ); kv->SetPtr( "ptr", p ); char const *text = ep->GetName() ? ep->GetName() : "unnamed"; menu->AddMenuItem( text, new KeyValues("SetText", "text", text), GetParent(), kv ); } p = p->GetParent(); } } else { int i; int c = m_hContext->GetChildCount(); for ( i = 0; i < c; ++i ) { EditablePanel *ep = dynamic_cast < EditablePanel * >( m_hContext->GetChild( i ) ); if ( ep && ep->IsVisible() && ep->GetBuildGroup() ) { KeyValues *kv = new KeyValues( "Panel" ); kv->SetPtr( "ptr", ep ); char const *text = ep->GetName() ? ep->GetName() : "unnamed"; menu->AddMenuItem( text, new KeyValues("SetText", "text", text), GetParent(), kv ); } } } } private: bool m_bParents; vgui::PHandle m_hContext; }; //----------------------------------------------------------------------------- // Purpose: Creates the build mode editing controls //----------------------------------------------------------------------------- void BuildModeDialog::CreateControls() { int i; m_pPanelList = new PanelList; m_pPanelList->m_pResourceData = new KeyValues( "BuildDialog" ); m_pPanelList->m_pControls = new PanelListPanel(this, "BuildModeControls"); // file to edit combo box is first m_pFileSelectionCombo = new ComboBox(this, "FileSelectionCombo", 10, false); for ( i = 0; i < m_pBuildGroup->GetRegisteredControlSettingsFileCount(); i++) { m_pFileSelectionCombo->AddItem(m_pBuildGroup->GetRegisteredControlSettingsFileByIndex(i), NULL); } if (m_pFileSelectionCombo->GetItemCount() < 2) { m_pFileSelectionCombo->SetEnabled(false); } int buttonH = 18; // status info at top of dialog m_pStatusLabel = new Label(this, "StatusLabel", "[nothing currently selected]"); m_pStatusLabel->SetTextColorState(Label::CS_DULL); m_pStatusLabel->SetTall( buttonH ); m_pDivider = new Divider(this, "Divider"); // drop-down combo box for adding new controls m_pAddNewControlCombo = new ComboBox(this, NULL, 30, false); m_pAddNewControlCombo->SetSize(116, buttonH); m_pAddNewControlCombo->SetOpenDirection(Menu::DOWN); m_pEditableParents = new CBuildModeNavCombo( this, NULL, 15, false, true, m_pBuildGroup->GetContextPanel() ); m_pEditableParents->SetSize(116, buttonH); m_pEditableParents->SetOpenDirection(Menu::DOWN); m_pEditableChildren = new CBuildModeNavCombo( this, NULL, 15, false, false, m_pBuildGroup->GetContextPanel() ); m_pEditableChildren->SetSize(116, buttonH); m_pEditableChildren->SetOpenDirection(Menu::DOWN); m_pNextChild = new Button( this, "NextChild", "Next", this ); m_pNextChild->SetCommand( new KeyValues( "OnChangeChild", "direction", 1 ) ); m_pPrevChild = new Button( this, "PrevChild", "Prev", this ); m_pPrevChild->SetCommand( new KeyValues( "OnChangeChild", "direction", -1 ) ); // controls that can be added // this list comes from controls EditablePanel can create by name. int defaultItem = m_pAddNewControlCombo->AddItem("None", NULL); CUtlVector< char const * > names; CBuildFactoryHelper::GetFactoryNames( names ); // Sort the names CUtlRBTree< char const *, int > sorted( 0, 0, StringLessThan ); for ( i = 0; i < names.Count(); ++i ) { sorted.Insert( names[ i ] ); } for ( i = sorted.FirstInorder(); i != sorted.InvalidIndex(); i = sorted.NextInorder( i ) ) { m_pAddNewControlCombo->AddItem( sorted[ i ], NULL ); } m_pAddNewControlCombo->ActivateItem(defaultItem); m_pExitButton = new Button(this, "ExitButton", "&Exit"); m_pExitButton->SetSize(64, buttonH); m_pSaveButton = new Button(this, "SaveButton", "&Save"); m_pSaveButton->SetSize(64, buttonH); m_pApplyButton = new Button(this, "ApplyButton", "&Apply"); m_pApplyButton->SetSize(64, buttonH); m_pReloadLocalization = new Button( this, "Localization", "&Reload Localization" ); m_pReloadLocalization->SetSize( 100, buttonH ); m_pExitButton->SetCommand("Exit"); m_pSaveButton->SetCommand("Save"); m_pApplyButton->SetCommand("Apply"); m_pReloadLocalization->SetCommand( new KeyValues( "ReloadLocalization" ) ); m_pDeleteButton = new Button(this, "DeletePanelButton", "Delete"); m_pDeleteButton->SetSize(64, buttonH); m_pDeleteButton->SetCommand("DeletePanel"); m_pVarsButton = new MenuButton(this, "VarsButton", "Variables"); m_pVarsButton->SetSize(72, buttonH); m_pVarsButton->SetOpenDirection(Menu::UP); // iterate the vars KeyValues *vars = m_pBuildGroup->GetDialogVariables(); if (vars && vars->GetFirstSubKey()) { // create the menu m_pVarsButton->SetEnabled(true); Menu *menu = new Menu(m_pVarsButton, "VarsMenu"); // set all the variables to be copied to the clipboard when selected for (KeyValues *kv = vars->GetFirstSubKey(); kv != NULL; kv = kv->GetNextKey()) { char buf[32]; _snprintf(buf, sizeof(buf), "%%%s%%", kv->GetName()); menu->AddMenuItem(kv->GetName(), new KeyValues("SetClipboardText", "text", buf), this); } m_pVarsButton->SetMenu(menu); } else { // no variables m_pVarsButton->SetEnabled(false); } m_pApplyButton->SetTabPosition(1); m_pPanelList->m_pControls->SetTabPosition(2); m_pVarsButton->SetTabPosition(3); m_pDeleteButton->SetTabPosition(4); m_pAddNewControlCombo->SetTabPosition(5); m_pSaveButton->SetTabPosition(6); m_pExitButton->SetTabPosition(7); m_pEditableParents->SetTabPosition( 8 ); m_pEditableChildren->SetTabPosition( 9 ); m_pPrevChild->SetTabPosition( 10 ); m_pNextChild->SetTabPosition( 11 ); m_pReloadLocalization->SetTabPosition( 12 ); } void BuildModeDialog::ApplySchemeSettings( IScheme *pScheme ) { BaseClass::ApplySchemeSettings( pScheme ); HFont font = pScheme->GetFont( "DefaultVerySmall" ); m_pStatusLabel->SetFont( font ); m_pReloadLocalization->SetFont( font ); m_pExitButton->SetFont( font ); m_pSaveButton->SetFont( font ); m_pApplyButton->SetFont( font ); m_pAddNewControlCombo->SetFont( font ); m_pEditableParents->SetFont( font ); m_pEditableChildren->SetFont( font ); m_pDeleteButton->SetFont( font ); m_pVarsButton->SetFont( font ); m_pPrevChild->SetFont( font ); m_pNextChild->SetFont( font ); } //----------------------------------------------------------------------------- // Purpose: lays out controls //----------------------------------------------------------------------------- void BuildModeDialog::PerformLayout() { BaseClass::PerformLayout(); // layout parameters const int BORDER_GAP = 16, YGAP_SMALL = 4, YGAP_LARGE = 8, TITLE_HEIGHT = 24, BOTTOM_CONTROLS_HEIGHT = 145, XGAP = 6; int wide, tall; GetSize(wide, tall); int xpos = BORDER_GAP; int ypos = BORDER_GAP + TITLE_HEIGHT; // controls from top down // selection combo m_pFileSelectionCombo->SetBounds(xpos, ypos, wide - (BORDER_GAP * 2), m_pStatusLabel->GetTall()); ypos += (m_pStatusLabel->GetTall() + YGAP_SMALL); // status m_pStatusLabel->SetBounds(xpos, ypos, wide - (BORDER_GAP * 2), m_pStatusLabel->GetTall()); ypos += (m_pStatusLabel->GetTall() + YGAP_SMALL); // center control m_pPanelList->m_pControls->SetPos(xpos, ypos); m_pPanelList->m_pControls->SetSize(wide - (BORDER_GAP * 2), tall - (ypos + BOTTOM_CONTROLS_HEIGHT)); // controls from bottom-right ypos = tall - BORDER_GAP; xpos = BORDER_GAP + m_pVarsButton->GetWide() + m_pDeleteButton->GetWide() + m_pAddNewControlCombo->GetWide() + (XGAP * 2); // bottom row of buttons ypos -= m_pApplyButton->GetTall(); xpos -= m_pApplyButton->GetWide(); m_pApplyButton->SetPos(xpos, ypos); xpos -= m_pExitButton->GetWide(); xpos -= XGAP; m_pExitButton->SetPos(xpos, ypos); xpos -= m_pSaveButton->GetWide(); xpos -= XGAP; m_pSaveButton->SetPos(xpos, ypos); // divider xpos = BORDER_GAP; ypos -= (YGAP_LARGE + m_pDivider->GetTall()); m_pDivider->SetBounds(xpos, ypos, wide - (xpos + BORDER_GAP), 2); ypos -= (YGAP_LARGE + m_pVarsButton->GetTall()); xpos = BORDER_GAP; m_pEditableParents->SetPos( xpos, ypos ); m_pEditableChildren->SetPos( xpos + 150, ypos ); ypos -= (YGAP_LARGE + 18 ); xpos = BORDER_GAP; m_pReloadLocalization->SetPos( xpos, ypos ); xpos += ( XGAP ) + m_pReloadLocalization->GetWide(); m_pPrevChild->SetPos( xpos, ypos ); m_pPrevChild->SetSize( 64, m_pReloadLocalization->GetTall() ); xpos += ( XGAP ) + m_pPrevChild->GetWide(); m_pNextChild->SetPos( xpos, ypos ); m_pNextChild->SetSize( 64, m_pReloadLocalization->GetTall() ); ypos -= (YGAP_LARGE + m_pVarsButton->GetTall()); xpos = BORDER_GAP; // edit buttons m_pVarsButton->SetPos(xpos, ypos); xpos += (XGAP + m_pVarsButton->GetWide()); m_pDeleteButton->SetPos(xpos, ypos); xpos += (XGAP + m_pDeleteButton->GetWide()); m_pAddNewControlCombo->SetPos(xpos, ypos); } //----------------------------------------------------------------------------- // Purpose: Deletes all the controls from the panel //----------------------------------------------------------------------------- void BuildModeDialog::RemoveAllControls( void ) { // free the array m_pPanelList->RemoveAll(); } //----------------------------------------------------------------------------- // Purpose: simple helper function to get a token from a string // Input : char **string - pointer to the string pointer, which will be incremented // Output : const char * - pointer to the token //----------------------------------------------------------------------------- const char *ParseTokenFromString( const char **string ) { static char buf[128]; buf[0] = 0; // find the first alnum character const char *tok = *string; while ( !V_isalnum(*tok) && *tok != 0 ) { tok++; } // read in all the alnum characters int pos = 0; while ( V_isalnum(tok[pos]) ) { buf[pos] = tok[pos]; pos++; } // null terminate the token buf[pos] = 0; // update the main string pointer *string = &(tok[pos]); // return a pointer to the static buffer return buf; } void BuildModeDialog::OnTextKillFocus() { if ( !m_pCurrentPanel ) return; ApplyDataToControls(); } //----------------------------------------------------------------------------- // Purpose: sets up the current control to edit //----------------------------------------------------------------------------- void BuildModeDialog::SetActiveControl(Panel *controlToEdit) { if (m_pCurrentPanel == controlToEdit) { // it's already set, so just update the property data and quit if (m_pCurrentPanel) { UpdateControlData(m_pCurrentPanel); } return; } // reset the data m_pCurrentPanel = controlToEdit; RemoveAllControls(); m_pPanelList->m_pControls->MoveScrollBarToTop(); if (!m_pCurrentPanel) { m_pStatusLabel->SetText("[nothing currently selected]"); m_pStatusLabel->SetTextColorState(Label::CS_DULL); RemoveAllControls(); return; } // get the control description string const char *controlDesc = m_pCurrentPanel->GetDescription(); // parse out the control description int tabPosition = 1; while (1) { const char *dataType = ParseTokenFromString(&controlDesc); // finish when we have no more tokens if (*dataType == 0) break; // default the data type to a string int datat = TYPE_STRING; if (!stricmp(dataType, "int")) { datat = TYPE_STRING; //!! just for now } else if (!stricmp(dataType, "alignment")) { datat = TYPE_ALIGNMENT; } else if (!stricmp(dataType, "autoresize")) { datat = TYPE_AUTORESIZE; } else if (!stricmp(dataType, "corner")) { datat = TYPE_CORNER; } else if (!stricmp(dataType, "localize")) { datat = TYPE_LOCALIZEDSTRING; } // get the field name const char *fieldName = ParseTokenFromString(&controlDesc); int itemHeight = 18; // build a control & label Label *label = new Label(this, NULL, fieldName); label->SetSize(96, itemHeight); label->SetContentAlignment(Label::a_east); TextEntry *edit = NULL; ComboBox *editCombo = NULL; Button *editButton = NULL; if (datat == TYPE_ALIGNMENT) { // drop-down combo box editCombo = new ComboBox(this, NULL, 9, false); editCombo->AddItem("north-west", NULL); editCombo->AddItem("north", NULL); editCombo->AddItem("north-east", NULL); editCombo->AddItem("west", NULL); editCombo->AddItem("center", NULL); editCombo->AddItem("east", NULL); editCombo->AddItem("south-west", NULL); editCombo->AddItem("south", NULL); editCombo->AddItem("south-east", NULL); edit = editCombo; } else if (datat == TYPE_AUTORESIZE) { // drop-down combo box editCombo = new ComboBox(this, NULL, 4, false); editCombo->AddItem( "0 - no auto-resize", NULL); editCombo->AddItem( "1 - resize right", NULL); editCombo->AddItem( "2 - resize down", NULL); editCombo->AddItem( "3 - down & right", NULL); edit = editCombo; } else if (datat == TYPE_CORNER) { // drop-down combo box editCombo = new ComboBox(this, NULL, 4, false); editCombo->AddItem("0 - top-left", NULL); editCombo->AddItem("1 - top-right", NULL); editCombo->AddItem("2 - bottom-left", NULL); editCombo->AddItem("3 - bottom-right", NULL); edit = editCombo; } else if (datat == TYPE_LOCALIZEDSTRING) { editButton = new Button(this, NULL, "..."); editButton->SetParent(this); editButton->AddActionSignalTarget(this); editButton->SetTabPosition(tabPosition++); editButton->SetTall( itemHeight ); label->SetAssociatedControl(editButton); } else { // normal string edit edit = new CSmallTextEntry(this, NULL); } if (edit) { edit->SetTall( itemHeight ); edit->SetParent(this); edit->AddActionSignalTarget(this); edit->SetTabPosition(tabPosition++); label->SetAssociatedControl(edit); } HFont smallFont = scheme()->GetIScheme( GetScheme() )->GetFont( "DefaultVerySmall" ); if ( label ) { label->SetFont( smallFont ); } if ( edit ) { edit->SetFont( smallFont ); } if ( editCombo ) { editCombo->SetFont( smallFont ); } if ( editButton ) { editButton->SetFont( smallFont ); } // add to our control list m_pPanelList->AddItem(label, edit, editCombo, editButton, fieldName, datat); if ( edit ) { m_pPanelList->m_pControls->AddItem(label, edit); } else { m_pPanelList->m_pControls->AddItem(label, editButton); } } // check and see if the current panel is a Label // iterate through the class hierarchy if ( controlToEdit->IsBuildModeDeletable() ) { m_pDeleteButton->SetEnabled(true); } else { m_pDeleteButton->SetEnabled(false); } // update the property data in the dialog UpdateControlData(m_pCurrentPanel); // set our title if ( m_pBuildGroup->GetResourceName() ) { m_pFileSelectionCombo->SetText(m_pBuildGroup->GetResourceName()); } else { m_pFileSelectionCombo->SetText("[ no resource file associated with dialog ]"); } m_pApplyButton->SetEnabled(false); InvalidateLayout(); Repaint(); } //----------------------------------------------------------------------------- // Purpose: Updates the edit fields with information about the control //----------------------------------------------------------------------------- void BuildModeDialog::UpdateControlData(Panel *control) { KeyValues *dat = m_pPanelList->m_pResourceData->FindKey( control->GetName(), true ); control->GetSettings( dat ); // apply the settings to the edit panels for ( int i = 0; i < m_pPanelList->m_PanelList.Size(); i++ ) { const char *name = m_pPanelList->m_PanelList[i].m_szName; const char *datstring = dat->GetString( name, "" ); UpdateEditControl(m_pPanelList->m_PanelList[i], datstring); } char statusText[512]; Q_snprintf(statusText, sizeof(statusText), "%s: \'%s\'", control->GetClassName(), control->GetName()); m_pStatusLabel->SetText(statusText); m_pStatusLabel->SetTextColorState(Label::CS_NORMAL); } //----------------------------------------------------------------------------- // Purpose: Updates the data in a single edit control //----------------------------------------------------------------------------- void BuildModeDialog::UpdateEditControl(PanelItem_t &panelItem, const char *datstring) { switch (panelItem.m_iType) { case TYPE_AUTORESIZE: case TYPE_CORNER: { int dat = atoi(datstring); panelItem.m_pCombo->ActivateItemByRow(dat); } break; case TYPE_LOCALIZEDSTRING: { panelItem.m_EditButton->SetText(datstring); } break; default: { wchar_t unicode[512]; g_pVGuiLocalize->ConvertANSIToUnicode(datstring, unicode, sizeof(unicode)); panelItem.m_EditPanel->SetText(unicode); } break; } } //----------------------------------------------------------------------------- // Purpose: Called when one of the buttons is pressed //----------------------------------------------------------------------------- void BuildModeDialog::OnCommand(const char *command) { if (!stricmp(command, "Save")) { // apply the current data and save it to disk ApplyDataToControls(); if (m_pBuildGroup->SaveControlSettings()) { // disable save button until another change has been made m_pSaveButton->SetEnabled(false); } } else if (!stricmp(command, "Exit")) { // exit build mode ExitBuildMode(); } else if (!stricmp(command, "Apply")) { // apply data to controls ApplyDataToControls(); } else if (!stricmp(command, "DeletePanel")) { OnDeletePanel(); } else if (!stricmp(command, "RevertToSaved")) { RevertToSaved(); } else if (!stricmp(command, "ShowHelp")) { ShowHelp(); } else { BaseClass::OnCommand(command); } } //----------------------------------------------------------------------------- // Purpose: Deletes a panel from the buildgroup //----------------------------------------------------------------------------- void BuildModeDialog::OnDeletePanel() { if (!m_pCurrentPanel->IsBuildModeEditable()) { return; } m_pBuildGroup->RemoveSettings(); SetActiveControl(m_pBuildGroup->GetCurrentPanel()); _undoSettings->deleteThis(); _undoSettings = NULL; m_pSaveButton->SetEnabled(true); } //----------------------------------------------------------------------------- // Purpose: Applies the current settings to the build controls //----------------------------------------------------------------------------- void BuildModeDialog::ApplyDataToControls() { // don't apply if the panel is not editable if ( !m_pCurrentPanel->IsBuildModeEditable()) { UpdateControlData( m_pCurrentPanel ); return; // return success, since we are behaving as expected. } char fieldName[512]; if (m_pPanelList->m_PanelList[0].m_EditPanel) { m_pPanelList->m_PanelList[0].m_EditPanel->GetText(fieldName, sizeof(fieldName)); } else { m_pPanelList->m_PanelList[0].m_EditButton->GetText(fieldName, sizeof(fieldName)); } // check to see if any buildgroup panels have this name Panel *panel = m_pBuildGroup->FieldNameTaken(fieldName); if (panel) { if (panel != m_pCurrentPanel)// make sure name is taken by some other panel not this one { char messageString[255]; Q_snprintf(messageString, sizeof( messageString ), "Fieldname is not unique: %s\nRename it and try again.", fieldName); MessageBox *errorBox = new MessageBox("Cannot Apply", messageString); errorBox->DoModal(); UpdateControlData(m_pCurrentPanel); m_pApplyButton->SetEnabled(false); return; } } // create a section to store settings // m_pPanelList->m_pResourceData->getSection( m_pCurrentPanel->GetName(), true ); KeyValues *dat = new KeyValues( m_pCurrentPanel->GetName() ); // loop through the textedit filling in settings for ( int i = 0; i < m_pPanelList->m_PanelList.Size(); i++ ) { const char *name = m_pPanelList->m_PanelList[i].m_szName; char buf[512]; if (m_pPanelList->m_PanelList[i].m_EditPanel) { m_pPanelList->m_PanelList[i].m_EditPanel->GetText(buf, sizeof(buf)); } else { m_pPanelList->m_PanelList[i].m_EditButton->GetText(buf, sizeof(buf)); } switch (m_pPanelList->m_PanelList[i].m_iType) { case TYPE_CORNER: case TYPE_AUTORESIZE: // the integer value is assumed to be the first part of the string for these items dat->SetInt(name, atoi(buf)); break; default: dat->SetString(name, buf); break; } } // dat is built, hand it back to the control m_pCurrentPanel->ApplySettings( dat ); if ( m_pBuildGroup->GetContextPanel() ) { m_pBuildGroup->GetContextPanel()->Repaint(); } m_pApplyButton->SetEnabled(false); m_pSaveButton->SetEnabled(true); } //----------------------------------------------------------------------------- // Purpose: Store the settings of the current panel in a KeyValues //----------------------------------------------------------------------------- void BuildModeDialog::StoreUndoSettings() { // don't save if the planel is not editable if ( !m_pCurrentPanel->IsBuildModeEditable()) { if (_undoSettings) _undoSettings->deleteThis(); _undoSettings = NULL; return; } if (_undoSettings) { _undoSettings->deleteThis(); _undoSettings = NULL; } _undoSettings = StoreSettings(); } //----------------------------------------------------------------------------- // Purpose: Revert to the stored the settings of the current panel in a keyValues //----------------------------------------------------------------------------- void BuildModeDialog::DoUndo() { if ( _undoSettings ) { m_pCurrentPanel->ApplySettings( _undoSettings ); UpdateControlData(m_pCurrentPanel); _undoSettings->deleteThis(); _undoSettings = NULL; } m_pSaveButton->SetEnabled(true); } //----------------------------------------------------------------------------- // Purpose: Copy the settings of the current panel into a keyValues //----------------------------------------------------------------------------- void BuildModeDialog::DoCopy() { if (_copySettings) { _copySettings->deleteThis(); _copySettings = NULL; } _copySettings = StoreSettings(); Q_strncpy (_copyClassName, m_pCurrentPanel->GetClassName(), sizeof( _copyClassName ) ); } //----------------------------------------------------------------------------- // Purpose: Create a new Panel with the _copySettings applied //----------------------------------------------------------------------------- void BuildModeDialog::DoPaste() { // Make a new control located where you had the mouse int x, y; input()->GetCursorPos(x, y); m_pBuildGroup->GetContextPanel()->ScreenToLocal(x,y); Panel *newPanel = OnNewControl(_copyClassName, x, y); if (newPanel) { newPanel->ApplySettings(_copySettings); newPanel->SetPos(x, y); char name[255]; m_pBuildGroup->GetNewFieldName(name, sizeof(name), newPanel); newPanel->SetName(name); } } //----------------------------------------------------------------------------- // Purpose: Store the settings of the current panel in a keyValues //----------------------------------------------------------------------------- KeyValues *BuildModeDialog::StoreSettings() { KeyValues *storedSettings; storedSettings = new KeyValues( m_pCurrentPanel->GetName() ); // loop through the textedit filling in settings for ( int i = 0; i < m_pPanelList->m_PanelList.Size(); i++ ) { const char *name = m_pPanelList->m_PanelList[i].m_szName; char buf[512]; if (m_pPanelList->m_PanelList[i].m_EditPanel) { m_pPanelList->m_PanelList[i].m_EditPanel->GetText(buf, sizeof(buf)); } else { m_pPanelList->m_PanelList[i].m_EditButton->GetText(buf, sizeof(buf)); } switch (m_pPanelList->m_PanelList[i].m_iType) { case TYPE_CORNER: case TYPE_AUTORESIZE: // the integer value is assumed to be the first part of the string for these items storedSettings->SetInt(name, atoi(buf)); break; default: storedSettings->SetString(name, buf); break; } } return storedSettings; } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void BuildModeDialog::OnKeyCodeTyped(KeyCode code) { if (code == KEY_ENTER) // if someone hits return apply the changes { ApplyDataToControls(); } else { Frame::OnKeyCodeTyped(code); } } //----------------------------------------------------------------------------- // Purpose: Checks to see if any text has changed //----------------------------------------------------------------------------- void BuildModeDialog::OnTextChanged( Panel *panel ) { if (panel == m_pFileSelectionCombo) { // reload file if it's changed char newFile[512]; m_pFileSelectionCombo->GetText(newFile, sizeof(newFile)); if (stricmp(newFile, m_pBuildGroup->GetResourceName()) != 0) { // file has changed, reload SetActiveControl(NULL); m_pBuildGroup->ChangeControlSettingsFile(newFile); } return; } if (panel == m_pAddNewControlCombo) { char buf[40]; m_pAddNewControlCombo->GetText(buf, 40); if (stricmp(buf, "None") != 0) { OnNewControl(buf); // reset box back to None m_pAddNewControlCombo->ActivateItemByRow( 0 ); } } if ( panel == m_pEditableChildren ) { KeyValues *kv = m_pEditableChildren->GetActiveItemUserData(); if ( kv ) { EditablePanel *ep = reinterpret_cast< EditablePanel * >( kv->GetPtr( "ptr" ) ); if ( ep ) { ep->ActivateBuildMode(); } } } if ( panel == m_pEditableParents ) { KeyValues *kv = m_pEditableParents->GetActiveItemUserData(); if ( kv ) { EditablePanel *ep = reinterpret_cast< EditablePanel * >( kv->GetPtr( "ptr" ) ); if ( ep ) { ep->ActivateBuildMode(); } } } if (m_pCurrentPanel && m_pCurrentPanel->IsBuildModeEditable()) { m_pApplyButton->SetEnabled(true); } if (_autoUpdate) { ApplyDataToControls(); } } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void BuildModeDialog::ExitBuildMode( void ) { // make sure rulers are off if (m_pBuildGroup->HasRulersOn()) { m_pBuildGroup->ToggleRulerDisplay(); } m_pBuildGroup->SetEnabled(false); } //----------------------------------------------------------------------------- // Purpose: Create a new control in the context panel //----------------------------------------------------------------------------- Panel *BuildModeDialog::OnNewControl( const char *name, int x, int y) { // returns NULL on failure Panel *newPanel = m_pBuildGroup->NewControl(name, x, y); if (newPanel) { // call mouse commands to simulate selecting the new // panel. This will set everything up correctly in the buildGroup. m_pBuildGroup->MousePressed(MOUSE_LEFT, newPanel); m_pBuildGroup->MouseReleased(MOUSE_LEFT, newPanel); } m_pSaveButton->SetEnabled(true); return newPanel; } //----------------------------------------------------------------------------- // Purpose: enable the save button, useful when buildgroup needs to Activate it. //----------------------------------------------------------------------------- void BuildModeDialog::EnableSaveButton() { m_pSaveButton->SetEnabled(true); } //----------------------------------------------------------------------------- // Purpose: Revert to the saved settings in the .res file //----------------------------------------------------------------------------- void BuildModeDialog::RevertToSaved() { // hide the dialog as reloading will destroy it surface()->SetPanelVisible(this->GetVPanel(), false); m_pBuildGroup->ReloadControlSettings(); } //----------------------------------------------------------------------------- // Purpose: Display some information about the editor //----------------------------------------------------------------------------- void BuildModeDialog::ShowHelp() { char helpText[]= "In the Build Mode Dialog Window:\n" "Delete button - deletes the currently selected panel if it is deletable.\n" "Apply button - applies changes to the Context Panel.\n" "Save button - saves all settings to file. \n" "Revert to saved- reloads the last saved file.\n" "Auto Update - any changes apply instantly.\n" "Typing Enter in any text field applies changes.\n" "New Control menu - creates a new panel in the upper left corner.\n\n" "In the Context Panel:\n" "After selecting and moving a panel Ctrl-z will undo the move.\n" "Shift clicking panels allows multiple panels to be selected into a group.\n" "Ctrl-c copies the settings of the last selected panel.\n" "Ctrl-v creates a new panel with the copied settings at the location of the mouse pointer.\n" "Arrow keys slowly move panels, holding shift + arrow will slowly resize it.\n" "Holding right mouse button down opens a dropdown panel creation menu.\n" " Panel will be created where the menu was opened.\n" "Delete key deletes the currently selected panel if it is deletable.\n" " Does nothing to multiple selections."; MessageBox *helpDlg = new MessageBox ("Build Mode Help", helpText, this); helpDlg->AddActionSignalTarget(this); helpDlg->DoModal(); } void BuildModeDialog::ShutdownBuildMode() { m_pBuildGroup->SetEnabled(false); } void BuildModeDialog::OnPanelMoved() { m_pApplyButton->SetEnabled(true); } //----------------------------------------------------------------------------- // Purpose: message handles thats sets the text in the clipboard //----------------------------------------------------------------------------- void BuildModeDialog::OnSetClipboardText(const char *text) { system()->SetClipboardText(text, strlen(text)); } void BuildModeDialog::OnCreateNewControl( char const *text ) { if ( !Q_stricmp( text, "None" ) ) return; OnNewControl( text, m_nClick[ 0 ], m_nClick[ 1 ] ); } void BuildModeDialog::OnShowNewControlMenu() { if ( !m_pBuildGroup ) return; int i; input()->GetCursorPos( m_nClick[ 0 ], m_nClick[ 1 ] ); m_pBuildGroup->GetContextPanel()->ScreenToLocal( m_nClick[ 0 ], m_nClick[ 1 ] ); if ( m_hContextMenu ) delete m_hContextMenu.Get(); m_hContextMenu = new Menu( this, "NewControls" ); // Show popup menu m_hContextMenu->AddMenuItem( "None", "None", new KeyValues( "CreateNewControl", "text", "None" ), this ); CUtlVector< char const * > names; CBuildFactoryHelper::GetFactoryNames( names ); // Sort the names CUtlRBTree< char const *, int > sorted( 0, 0, StringLessThan ); for ( i = 0; i < names.Count(); ++i ) { sorted.Insert( names[ i ] ); } for ( i = sorted.FirstInorder(); i != sorted.InvalidIndex(); i = sorted.NextInorder( i ) ) { m_hContextMenu->AddMenuItem( sorted[ i ], sorted[ i ], new KeyValues( "CreateNewControl", "text", sorted[ i ] ), this ); } Menu::PlaceContextMenu( this, m_hContextMenu ); } void BuildModeDialog::OnReloadLocalization() { // reload localization files g_pVGuiLocalize->ReloadLocalizationFiles( ); } bool BuildModeDialog::IsBuildGroupEnabled() { // Don't ever edit the actual build dialog!!! return false; } void BuildModeDialog::OnChangeChild( int direction ) { Assert( direction == 1 || direction == -1 ); if ( !m_pBuildGroup ) return; Panel *current = m_pCurrentPanel; Panel *context = m_pBuildGroup->GetContextPanel(); if ( !current || current == context ) { current = NULL; if ( context->GetChildCount() > 0 ) { current = context->GetChild( 0 ); } } else { int i; // Move in direction requested int children = context->GetChildCount(); for ( i = 0; i < children; ++i ) { Panel *child = context->GetChild( i ); if ( child == current ) { break; } } if ( i < children ) { for ( int offset = 1; offset < children; ++offset ) { int test = ( i + ( direction * offset ) ) % children; if ( test < 0 ) test += children; if ( test == i ) continue; Panel *check = context->GetChild( test ); BuildModeDialog *bm = dynamic_cast< BuildModeDialog * >( check ); if ( bm ) continue; current = check; break; } } } if ( !current ) { return; } SetActiveControl( current ); }
{ "content_hash": "9b706257edc6f5d882910588b82c8824", "timestamp": "", "source": "github", "line_count": 1405, "max_line_length": 124, "avg_line_length": 27.259074733096085, "alnum_prop": 0.6068826862320165, "repo_name": "BerntA/tfo-code", "id": "c743c2026a37cd7a05fe4ceae97b6d62fe4f2cc0", "size": "39316", "binary": false, "copies": "5", "ref": "refs/heads/master", "path": "vgui2/vgui_controls/BuildModeDialog.cpp", "mode": "33188", "license": "mit", "language": [ { "name": "Assembly", "bytes": "238" }, { "name": "Batchfile", "bytes": "9897" }, { "name": "C", "bytes": "1255315" }, { "name": "C++", "bytes": "39642849" }, { "name": "GLSL", "bytes": "126492" }, { "name": "Makefile", "bytes": "28908" }, { "name": "Objective-C", "bytes": "72895" }, { "name": "Objective-C++", "bytes": "369" }, { "name": "Perl", "bytes": "93035" }, { "name": "Perl 6", "bytes": "1820" }, { "name": "Shell", "bytes": "1362" } ], "symlink_target": "" }
package io.fabric8.partition.internal.profile; import io.fabric8.api.Container; import io.fabric8.api.FabricException; import io.fabric8.api.FabricService; import io.fabric8.api.Profile; import io.fabric8.api.ProfileBuilder; import io.fabric8.api.ProfileService; import io.fabric8.api.Version; import io.fabric8.api.jcip.GuardedBy; import io.fabric8.api.jcip.ThreadSafe; import io.fabric8.api.scr.AbstractComponent; import io.fabric8.api.scr.Configurer; import io.fabric8.api.scr.ValidatingReference; import io.fabric8.partition.TaskContext; import io.fabric8.partition.WorkItem; import io.fabric8.partition.Worker; import io.fabric8.service.LockService; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import java.util.HashMap; import java.util.Map; import java.util.Properties; import java.util.Set; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.apache.curator.framework.recipes.locks.InterProcessLock; import org.apache.felix.scr.annotations.Component; import org.apache.felix.scr.annotations.Deactivate; import org.apache.felix.scr.annotations.Property; import org.apache.felix.scr.annotations.Reference; import org.apache.felix.scr.annotations.Service; import org.mvel2.ParserContext; import org.mvel2.templates.CompiledTemplate; import org.mvel2.templates.TemplateCompiler; import org.mvel2.templates.TemplateRuntime; import org.osgi.service.component.annotations.Activate; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.common.base.Predicates; import com.google.common.collect.HashMultimap; import com.google.common.collect.Iterables; import com.google.common.collect.Multimaps; import com.google.common.collect.SetMultimap; @ThreadSafe @Component(name = "io.fabric8.partition.worker.profile", label = "Fabric8 Profile Partition Worker", metatype = false) @Service(Worker.class) @org.apache.felix.scr.annotations.Properties( @Property(name = "type", value = ProfileTemplateWorker.TYPE) ) public final class ProfileTemplateWorker extends AbstractComponent implements Worker { private static final Logger LOGGER = LoggerFactory.getLogger(ProfileTemplateWorker.class); private static final String ID = "id"; public static final String TYPE = "profile-template"; private static final String NAME_VARIABLE_FORMAT = "__%s__"; private static final String PROPERTIES_SUFFIX = ".properties"; private static final String PROFILE_WORKER_LOCK = "/fabric/registry/locks/partionworker"; public static final String TEMPLATE_PROFILE_PROPERTY_NAME = "templateProfile"; @Property(name = "name", label = "Container Name", description = "The name of the container", value = "${runtime.id}", propertyPrivate = true) private String name; @Reference private Configurer configurer; @Reference(referenceInterface = FabricService.class) private final ValidatingReference<FabricService> fabricService = new ValidatingReference<FabricService>(); @Reference(referenceInterface = LockService.class) private final ValidatingReference<LockService> lockService = new ValidatingReference<LockService>(); @GuardedBy("this") private final Map<Key, CompiledTemplate> templates = new HashMap<Key, CompiledTemplate>(); @GuardedBy("this") private final SetMultimap<TaskContext, WorkItem> assignedWorkItems = Multimaps.synchronizedSetMultimap(HashMultimap.<TaskContext, WorkItem>create()); @GuardedBy("this") private final ParserContext parserContext = new ParserContext(); private final ExecutorService executorService = Executors.newSingleThreadExecutor(); private InterProcessLock lock; @Activate void activate(Map<String,?> configuration) throws Exception { configurer.configure(configuration, this); lock = lockService.get().getLock(PROFILE_WORKER_LOCK); activateComponent(); } @Deactivate void deactivate() { destroyInternal(); deactivateComponent(); } private synchronized void destroyInternal() { stopAll(); } @Override public String getType() { assertValid(); return TYPE; } @Override public synchronized void assign(TaskContext context, Set<WorkItem> workItems) { assertValid(); validateTaskContext(context); executorService.submit(new AssignTask(context, workItems)); } @Override public synchronized void release(TaskContext context, Set<WorkItem> workItems) { assertValid(); validateTaskContext(context); executorService.submit(new ReleaseTask(context, workItems)); } @Override public void stop(TaskContext context) { ProfileService profileService = fabricService.get().adapt(ProfileService.class); Container current = fabricService.get().getCurrentContainer(); Version version = current.getVersion(); String profileId = context.getConfiguration().get(TEMPLATE_PROFILE_PROPERTY_NAME) + "-" + name; if (version.hasProfile(profileId)) { String versionId = version.getId(); profileService.deleteProfile(fabricService.get(), versionId, profileId, true); } } @Override public synchronized void stopAll() { for (TaskContext context : assignedWorkItems.keySet()) { stop(context); } templates.clear(); } private void validateTaskContext(TaskContext context) { if (context == null) { throw new IllegalArgumentException("Task context cannot be null"); } else if (context.getConfiguration() == null || context.getConfiguration().isEmpty()) { throw new IllegalArgumentException("Task context configuration cannot be null"); } else if (!context.getConfiguration().containsKey(TEMPLATE_PROFILE_PROPERTY_NAME)) { throw new IllegalArgumentException("Task context configuration: Missing required property: " + TEMPLATE_PROFILE_PROPERTY_NAME); } } private void manageProfile(TaskContext context) { ProfileService profileService = fabricService.get().adapt(ProfileService.class); Container current = fabricService.get().getCurrentContainer(); ProfileData profileData = createProfileData(context); String profileId = context.getConfiguration().get(TEMPLATE_PROFILE_PROPERTY_NAME) + "-" + name; Version version = current.getVersion(); String versionId = version.getId(); // [TODO] Revisit lock in ProfileTemplateWorker try { if (lock.acquire(60, TimeUnit.SECONDS)) { if (profileData.isEmpty()) { if (version.hasProfile(profileId)) { profileService.deleteProfile(fabricService.get(), versionId, profileId, true); } return; } Profile managedProfile; if (version.hasProfile(profileId)) { Profile profile = profileService.getRequiredProfile(versionId, profileId); ProfileBuilder builder = ProfileBuilder.Factory.createFrom(profile); builder.setFileConfigurations(profileData.getFiles()); managedProfile = profileService.updateProfile(builder.getProfile()); } else { ProfileBuilder builder = ProfileBuilder.Factory.create(versionId, profileId); builder.setFileConfigurations(profileData.getFiles()); managedProfile = profileService.createProfile(builder.getProfile()); } current.addProfiles(managedProfile); } else { throw new TimeoutException("Timed out waiting for lock"); } } catch (Exception e) { LOGGER.error("Error managing work items.", e); } finally { releaseLock(); } } /** * Creates a representation of the profile based on the assigned item for the specified {@linkTaskContext}. * @param context * @return */ private ProfileData createProfileData(TaskContext context) { ProfileData profileData = new ProfileData(); Set<WorkItem> workItems = assignedWorkItems.get(context); if (workItems.isEmpty()) { return profileData; } Container current = fabricService.get().getCurrentContainer(); Version version = current.getVersion(); String templateProfileName = String.valueOf(context.getConfiguration().get(TEMPLATE_PROFILE_PROPERTY_NAME)); Profile templateProfile = version.getRequiredProfile(templateProfileName); Set<String> allFiles = templateProfile.getFileConfigurations().keySet(); Iterable<String> mvelFiles = Iterables.filter(allFiles, MvelPredicate.INSTANCE); Iterable<String> plainFiles = Iterables.filter(allFiles, Predicates.not(MvelPredicate.INSTANCE)); for (String mvelFile : mvelFiles) { Key key = new Key(templateProfile.getId(), mvelFile); synchronized (templates) { CompiledTemplate template = templates.get(key); if (template == null) { template = TemplateCompiler.compileTemplate(new String(templateProfile.getFileConfigurations().get(mvelFile)), parserContext); templates.put(key, template); } } } for (WorkItem workItem : workItems) { Map<String, WorkItem> data = new HashMap<String, WorkItem>(); data.put(WorkItem.ITEM, workItem); //Render templates for (String fileTemplate : mvelFiles) { String file = renderTemplateName(fileTemplate, workItem); Key key = new Key(templateProfile.getId(), fileTemplate); try { String renderedTemplate = TemplateRuntime.execute(templates.get(key), parserContext, data).toString(); updateProfileData(file, renderedTemplate, profileData); } catch (Exception ex) { LOGGER.warn("Failed to render {}. Ignoring.", fileTemplate); } } //Copy plain files. for (String file : plainFiles) { String content = new String(templateProfile.getFileConfigurations().get(file)); updateProfileData(file, content, profileData); } } return profileData; } private void releaseLock() { try { if (lock.isAcquiredInThisProcess()) { lock.release(); } } catch (Exception e) { throw FabricException.launderThrowable(e); } } private static void updateProfileData(String file, String data, ProfileData profileData) { if (file.endsWith(PROPERTIES_SUFFIX)) { String pid = file.substring(0, file.length() - PROPERTIES_SUFFIX.length()); Properties old = new Properties(); if (profileData.getConfigs().containsKey(pid)) { old.putAll(profileData.getConfigs().get(pid)); } Properties merged = mergeProperties(data, old); profileData.addPid(pid, toMap(merged)); profileData.addFile(file, toString(merged).getBytes()); } else { profileData.addFile(file, data.getBytes()); } } private String renderTemplateName(String name, WorkItem workItem) { for (Map.Entry<String, String> entry : workItem.getData().entrySet()) { name = name.replaceAll(String.format(NAME_VARIABLE_FORMAT, WorkItem.ITEM_DATA_PREFIX + entry.getKey()), entry.getValue()); } return name.substring(0, name.lastIndexOf(".")); } private static Properties mergeProperties(Properties left, Properties right) { Properties props = new Properties(); for (String key : left.stringPropertyNames()) { props.put(key, left.getProperty(key)); } for (String key : right.stringPropertyNames()) { props.put(key, right.getProperty(key)); } return props; } private static Properties mergeProperties(String left, Properties right) { Properties p = new Properties(); try { p.load(new StringReader(left)); } catch (IOException e) { throw FabricException.launderThrowable(e); } return mergeProperties(p, right); } private static Map<String, String> toMap(Properties properties) { Map<String, String> map = new HashMap<String, String>(); for (String key : properties.stringPropertyNames()) { map.put(key, properties.getProperty(key)); } return map; } private static String toString(Properties properties) { StringWriter writer = new StringWriter(); try { properties.store(writer, ""); } catch (IOException e) { throw FabricException.launderThrowable(e); } return writer.toString(); } void bindFabricService(FabricService fabricService) { this.fabricService.bind(fabricService); } void unbindFabricService(FabricService fabricService) { this.fabricService.unbind(fabricService); } void bindLockService(LockService lockService) { this.lockService.bind(lockService); } void unbindLockService(LockService lockService) { this.lockService.unbind(lockService); } private static class Key { private final String profile; private final String configName; private Key(String profile, String configName) { this.profile = profile; this.configName = configName; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Key that = (Key) o; if (configName != null ? !configName.equals(that.configName) : that.configName != null) return false; if (profile != null ? !profile.equals(that.profile) : that.profile != null) return false; return true; } @Override public int hashCode() { int result = profile != null ? profile.hashCode() : 0; result = 31 * result + (configName != null ? configName.hashCode() : 0); return result; } } private static class ProfileData { private final Map<String, byte[]> files = new HashMap<String, byte[]>(); private final Map<String, Map<String, String>> configs = new HashMap<String, Map<String, String>>(); public Map<String, byte[]> getFiles() { return files; } public Map<String, Map<String, String>> getConfigs() { return configs; } public void addFile(String file, byte[] content) { files.put(file, content); } public void addPid(String pid, Map<String, String> config) { configs.put(pid, config); } public boolean isEmpty() { return files.isEmpty() && configs.isEmpty(); } } private class AssignTask implements Runnable { private final TaskContext context; private final Set<WorkItem> items; private AssignTask(TaskContext context, Set<WorkItem> items) { this.context = context; this.items = items; } @Override public void run() { try { if (items.isEmpty()) { return; } assignedWorkItems.putAll(context, items); manageProfile(context); } catch (Exception ex) { LOGGER.debug("Error assigning items.", ex); } } } private class ReleaseTask implements Runnable { private final TaskContext context; private final Set<WorkItem> items; private ReleaseTask(TaskContext context, Set<WorkItem> items) { this.context = context; this.items = items; } @Override public void run() { try { if (items.isEmpty()) { return; } for (WorkItem workItem : items) { assignedWorkItems.remove(context, workItem); } manageProfile(context); } catch (Exception ex) { LOGGER.debug("Error releasing items.", ex); } } } }
{ "content_hash": "69c1e45218d2abe6c2fe516c18f44810", "timestamp": "", "source": "github", "line_count": 447, "max_line_length": 153, "avg_line_length": 37.6331096196868, "alnum_prop": 0.6384496492688146, "repo_name": "hekonsek/fabric8", "id": "0c62a3880e6e0697b84937732836c4acc7274bdf", "size": "17460", "binary": false, "copies": "5", "ref": "refs/heads/master", "path": "sandbox/fabric/fabric-partition/src/main/java/io/fabric8/partition/internal/profile/ProfileTemplateWorker.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Batchfile", "bytes": "7910" }, { "name": "CSS", "bytes": "56290" }, { "name": "Groff", "bytes": "78280" }, { "name": "HTML", "bytes": "186523" }, { "name": "Java", "bytes": "11708101" }, { "name": "JavaScript", "bytes": "1909792" }, { "name": "Nginx", "bytes": "1321" }, { "name": "Protocol Buffer", "bytes": "899" }, { "name": "Ruby", "bytes": "4708" }, { "name": "Scala", "bytes": "5260" }, { "name": "Shell", "bytes": "75857" }, { "name": "XSLT", "bytes": "23668" } ], "symlink_target": "" }
<?php namespace League\Glide\Manipulators; use Mockery; use PHPUnit\Framework\TestCase; class ContrastTest extends TestCase { private $manipulator; public function setUp(): void { $this->manipulator = new Contrast(); } public function tearDown(): void { Mockery::close(); } public function testCreateInstance() { $this->assertInstanceOf('League\Glide\Manipulators\Contrast', $this->manipulator); } public function testRun() { $image = Mockery::mock('Intervention\Image\Image', function ($mock) { $mock->shouldReceive('contrast')->with('50')->once(); }); $this->assertInstanceOf( 'Intervention\Image\Image', $this->manipulator->setParams(['con' => 50])->run($image) ); } public function testGetPixelate() { $this->assertSame(50, $this->manipulator->setParams(['con' => '50'])->getContrast()); $this->assertSame(50, $this->manipulator->setParams(['con' => 50])->getContrast()); $this->assertSame(null, $this->manipulator->setParams(['con' => null])->getContrast()); $this->assertSame(null, $this->manipulator->setParams(['con' => '101'])->getContrast()); $this->assertSame(null, $this->manipulator->setParams(['con' => '-101'])->getContrast()); $this->assertSame(null, $this->manipulator->setParams(['con' => 'a'])->getContrast()); } }
{ "content_hash": "4e6400339063a45ade549d323a7fe10c", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 97, "avg_line_length": 30.145833333333332, "alnum_prop": 0.5998617829993089, "repo_name": "thephpleague/glide", "id": "724a38ccaf2d635f68d2e539c67a3235e7d4e4af", "size": "1447", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "tests/Manipulators/ContrastTest.php", "mode": "33188", "license": "mit", "language": [ { "name": "PHP", "bytes": "175752" } ], "symlink_target": "" }
class RequestHandler { private: static TorrentMap torMap; static UserMap usrMap; static Database *db; static std::unordered_set<std::string> bannedIPs; static std::list<std::string> clientWhitelist; static LeechStatus leechStatus; static std::string announce(const Request*, const std::string&, bool); static std::string getPeers(Peers*, int, bool, bool); static std::string scrape(const std::forward_list<std::string>*); static std::string update(const Request*, const std::forward_list<std::string>*); static void changePasskey(const Request*); static void addTorrent(const Request*, const std::string&); static void deleteTorrent(const std::string&); static void updateTorrent(const Request*, const std::string&); static void addUser(const Request*); static void updateUser(const Request*); static void removeUser(const Request*); static void removeUsers(const Request*); static void addBan(const Request*); static void removeBan(const Request*); static void addWhitelist(const Request*); static void editWhitelist(const Request*); static void removeWhitelist(const Request*); static void addIPRestriction(const Request*); static void removeIPRestriction(const Request*); static void addToken(const Request*, const std::string&); static void removeToken(const Request*, const std::string&); static void setLeechStatus(const Request*); public: static void init(); static std::string handle(std::string, std::string, bool); static User* getUser(const std::string&); static void stop(); static void clearTorrentPeers(ev::timer&, int); static void flushSqlRecords(ev::timer&, int); };
{ "content_hash": "34f3f622735d8a16e66e3fe07ee82089", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 83, "avg_line_length": 43.526315789473685, "alnum_prop": 0.74546553808948, "repo_name": "JUX84/liquid", "id": "1cbdf193732c3b91deae7b71bab40012667455c4", "size": "1741", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "inc/handler/requestHandler.hpp", "mode": "33188", "license": "mit", "language": [ { "name": "C++", "bytes": "82126" }, { "name": "CMake", "bytes": "4992" } ], "symlink_target": "" }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>org.apache.commons.math3.filter (Apache Commons Math 3.6.1 API)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="org.apache.commons.math3.filter (Apache Commons Math 3.6.1 API)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li class="navBarCell1Rev">Package</li> <li>Class</li> <li><a href="package-use.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/commons/math3/exception/util/package-summary.html">Prev Package</a></li> <li><a href="../../../../../org/apache/commons/math3/fitting/package-summary.html">Next Package</a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/commons/math3/filter/package-summary.html" target="_top">Frames</a></li> <li><a href="package-summary.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h1 title="Package" class="title">Package&nbsp;org.apache.commons.math3.filter</h1> <div class="docSummary"> <div class="block">Implementations of common discrete-time linear filters.</div> </div> <p>See:&nbsp;<a href="#package_description">Description</a></p> </div> <div class="contentContainer"> <ul class="blockList"> <li class="blockList"> <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation"> <caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Interface</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/commons/math3/filter/MeasurementModel.html" title="interface in org.apache.commons.math3.filter">MeasurementModel</a></td> <td class="colLast"> <div class="block">Defines the measurement model for the use with a <a href="../../../../../org/apache/commons/math3/filter/KalmanFilter.html" title="class in org.apache.commons.math3.filter"><code>KalmanFilter</code></a>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/commons/math3/filter/ProcessModel.html" title="interface in org.apache.commons.math3.filter">ProcessModel</a></td> <td class="colLast"> <div class="block">Defines the process dynamics model for the use with a <a href="../../../../../org/apache/commons/math3/filter/KalmanFilter.html" title="class in org.apache.commons.math3.filter"><code>KalmanFilter</code></a>.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"> <table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> <caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Class</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/commons/math3/filter/DefaultMeasurementModel.html" title="class in org.apache.commons.math3.filter">DefaultMeasurementModel</a></td> <td class="colLast"> <div class="block">Default implementation of a <a href="../../../../../org/apache/commons/math3/filter/MeasurementModel.html" title="interface in org.apache.commons.math3.filter"><code>MeasurementModel</code></a> for the use with a <a href="../../../../../org/apache/commons/math3/filter/KalmanFilter.html" title="class in org.apache.commons.math3.filter"><code>KalmanFilter</code></a>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/commons/math3/filter/DefaultProcessModel.html" title="class in org.apache.commons.math3.filter">DefaultProcessModel</a></td> <td class="colLast"> <div class="block">Default implementation of a <a href="../../../../../org/apache/commons/math3/filter/ProcessModel.html" title="interface in org.apache.commons.math3.filter"><code>ProcessModel</code></a> for the use with a <a href="../../../../../org/apache/commons/math3/filter/KalmanFilter.html" title="class in org.apache.commons.math3.filter"><code>KalmanFilter</code></a>.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/commons/math3/filter/KalmanFilter.html" title="class in org.apache.commons.math3.filter">KalmanFilter</a></td> <td class="colLast"> <div class="block">Implementation of a Kalman filter to estimate the state <i>x<sub>k</sub></i> of a discrete-time controlled process that is governed by the linear stochastic difference equation:</div> </td> </tr> </tbody> </table> </li> </ul> <a name="package_description"> <!-- --> </a> <h2 title="Package org.apache.commons.math3.filter Description">Package org.apache.commons.math3.filter Description</h2> <div class="block">Implementations of common discrete-time linear filters.</div> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li class="navBarCell1Rev">Package</li> <li>Class</li> <li><a href="package-use.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage"><em><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></em></div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/commons/math3/exception/util/package-summary.html">Prev Package</a></li> <li><a href="../../../../../org/apache/commons/math3/fitting/package-summary.html">Next Package</a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/commons/math3/filter/package-summary.html" target="_top">Frames</a></li> <li><a href="package-summary.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2003&#x2013;2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> </body> </html>
{ "content_hash": "defb470062ee674acab3c38f19b9f4fc", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 392, "avg_line_length": 46.295081967213115, "alnum_prop": 0.6624173748819642, "repo_name": "paridhika/XMPP_Parking", "id": "fd550c6335b872a2b1716dde21b0c9ea0dfae6fa", "size": "8472", "binary": false, "copies": "8", "ref": "refs/heads/master", "path": "Smack-master/Jars/commons-math3-3.6.1/docs/apidocs/org/apache/commons/math3/filter/package-summary.html", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Batchfile", "bytes": "7690" }, { "name": "C", "bytes": "3814" }, { "name": "CSS", "bytes": "762513" }, { "name": "Groff", "bytes": "5245078" }, { "name": "HTML", "bytes": "49197186" }, { "name": "Java", "bytes": "26205517" }, { "name": "JavaScript", "bytes": "6526390" }, { "name": "Makefile", "bytes": "851" }, { "name": "Objective-C", "bytes": "6879" }, { "name": "PLSQL", "bytes": "1526" }, { "name": "Shell", "bytes": "49899" } ], "symlink_target": "" }
package org.lwjgl.llvm; import javax.annotation.*; import org.lwjgl.system.*; import static org.lwjgl.system.MemoryUtil.*; /** * Instances of this class may be passed to the {@link LLVMCore#LLVMContextSetDiagnosticHandler ContextSetDiagnosticHandler} method. * * <h3>Type</h3> * * <pre><code> * void (*{@link #invoke}) ( * LLVMDiagnosticInfoRef DiagnosticInfo, * void *DiagnosticContext * )</code></pre> */ public abstract class LLVMDiagnosticHandler extends Callback implements LLVMDiagnosticHandlerI { /** * Creates a {@code LLVMDiagnosticHandler} instance from the specified function pointer. * * @return the new {@code LLVMDiagnosticHandler} */ public static LLVMDiagnosticHandler create(long functionPointer) { LLVMDiagnosticHandlerI instance = Callback.get(functionPointer); return instance instanceof LLVMDiagnosticHandler ? (LLVMDiagnosticHandler)instance : new Container(functionPointer, instance); } /** Like {@link #create(long) create}, but returns {@code null} if {@code functionPointer} is {@code NULL}. */ @Nullable public static LLVMDiagnosticHandler createSafe(long functionPointer) { return functionPointer == NULL ? null : create(functionPointer); } /** Creates a {@code LLVMDiagnosticHandler} instance that delegates to the specified {@code LLVMDiagnosticHandlerI} instance. */ public static LLVMDiagnosticHandler create(LLVMDiagnosticHandlerI instance) { return instance instanceof LLVMDiagnosticHandler ? (LLVMDiagnosticHandler)instance : new Container(instance.address(), instance); } protected LLVMDiagnosticHandler() { super(CIF); } LLVMDiagnosticHandler(long functionPointer) { super(functionPointer); } private static final class Container extends LLVMDiagnosticHandler { private final LLVMDiagnosticHandlerI delegate; Container(long functionPointer, LLVMDiagnosticHandlerI delegate) { super(functionPointer); this.delegate = delegate; } @Override public void invoke(long DiagnosticInfo, long DiagnosticContext) { delegate.invoke(DiagnosticInfo, DiagnosticContext); } } }
{ "content_hash": "d38b8b7787378920ac6066f5c1f5e1b9", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 132, "avg_line_length": 31.916666666666668, "alnum_prop": 0.6953872932985204, "repo_name": "LWJGL-CI/lwjgl3", "id": "3616568f8fa678935a91bce8d5d2827f0882b690", "size": "2432", "binary": false, "copies": "4", "ref": "refs/heads/master", "path": "modules/lwjgl/llvm/src/generated/java/org/lwjgl/llvm/LLVMDiagnosticHandler.java", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "Assembly", "bytes": "14340" }, { "name": "C", "bytes": "12209141" }, { "name": "C++", "bytes": "1982042" }, { "name": "GLSL", "bytes": "1703" }, { "name": "Java", "bytes": "75846044" }, { "name": "Kotlin", "bytes": "19636482" }, { "name": "Objective-C", "bytes": "14684" }, { "name": "Objective-C++", "bytes": "2004" } ], "symlink_target": "" }
/* To get this list of colors inject jQuery at http://www.google.com/design/spec/style/color.html#color-color-palette Then, run this script to get the list. (function() { var colors = {}, main = {}; $(".color-group").each(function() { var color = $(this).find(".name").text().trim().toLowerCase().replace(" ", "-"); colors[color] = {}; $(this).find(".color").not(".main-color").each(function() { var shade = $(this).find(".shade").text().trim(), hex = $(this).find(".hex").text().trim(); colors[color][shade] = hex; }); main[color] = color + "-" + $(this).find(".main-color .shade").text().trim(); }); var LESS = ""; $.each(colors, function(name, shades) { LESS += "\n\n"; $.each(shades, function(shade, hex) { LESS += "@" + name + "-" + shade + ": " + hex + ";\n"; }); if (main[name]) { LESS += "@" + name + ": " + main[name] + ";\n"; } }); console.log(LESS); })(); */ /* ANIMATION */ /* SHADOWS */ /* Shadows (from mdl http://www.getmdl.io/) */ body { background-color: #EEEEEE; } body.inverse { background: #333333; } body.inverse, body.inverse .form-control { color: rgba(255, 255, 255, 0.84); } body.inverse .modal, body.inverse .panel-default, body.inverse .card, body.inverse .modal .form-control, body.inverse .panel-default .form-control, body.inverse .card .form-control { background-color: initial; color: initial; } body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 { font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif; font-weight: 300; } h5, h6 { font-weight: 400; } a, a:hover, a:focus { color: #009688; } a .material-icons, a:hover .material-icons, a:focus .material-icons { vertical-align: middle; } .form-horizontal .radio, .form-horizontal .checkbox, .form-horizontal .radio-inline, .form-horizontal .checkbox-inline { padding-top: 0; } .form-horizontal .radio { margin-bottom: 10px; } .form-horizontal label { text-align: right; } .form-horizontal label.control-label { margin: 0; } body .container .well.well-sm, body .container-fluid .well.well-sm { padding: 10px; } body .container .well.well-lg, body .container-fluid .well.well-lg { padding: 26px; } body .container .well, body .container-fluid .well, body .container .jumbotron, body .container-fluid .jumbotron { background-color: #fff; padding: 19px; margin-bottom: 20px; -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); border-radius: 2px; border: 0; } body .container .well p, body .container-fluid .well p, body .container .jumbotron p, body .container-fluid .jumbotron p { font-weight: 300; } body .container .well, body .container-fluid .well, body .container .jumbotron, body .container-fluid .jumbotron, body .container .well-default, body .container-fluid .well-default, body .container .jumbotron-default, body .container-fluid .jumbotron-default { background-color: #ffffff; } body .container .well-inverse, body .container-fluid .well-inverse, body .container .jumbotron-inverse, body .container-fluid .jumbotron-inverse { background-color: #3f51b5; } body .container .well-primary, body .container-fluid .well-primary, body .container .jumbotron-primary, body .container-fluid .jumbotron-primary { background-color: #009688; } body .container .well-success, body .container-fluid .well-success, body .container .jumbotron-success, body .container-fluid .jumbotron-success { background-color: #4caf50; } body .container .well-info, body .container-fluid .well-info, body .container .jumbotron-info, body .container-fluid .jumbotron-info { background-color: #03a9f4; } body .container .well-warning, body .container-fluid .well-warning, body .container .jumbotron-warning, body .container-fluid .jumbotron-warning { background-color: #ff5722; } body .container .well-danger, body .container-fluid .well-danger, body .container .jumbotron-danger, body .container-fluid .jumbotron-danger { background-color: #f44336; } .btn, .input-group-btn .btn { border: none; border-radius: 2px; position: relative; padding: 8px 30px; margin: 10px 1px; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0; will-change: box-shadow, transform; -webkit-transition: -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1); -o-transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1); transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1); outline: 0; cursor: pointer; text-decoration: none; background: transparent; } .btn::-moz-focus-inner, .input-group-btn .btn::-moz-focus-inner { border: 0; } .btn:not(.btn-raised), .input-group-btn .btn:not(.btn-raised) { -webkit-box-shadow: none; box-shadow: none; } .btn:not(.btn-raised), .input-group-btn .btn:not(.btn-raised), .btn:not(.btn-raised).btn-default, .input-group-btn .btn:not(.btn-raised).btn-default { color: rgba(0, 0, 0, 0.87); } .btn:not(.btn-raised).btn-inverse, .input-group-btn .btn:not(.btn-raised).btn-inverse { color: #3f51b5; } .btn:not(.btn-raised).btn-primary, .input-group-btn .btn:not(.btn-raised).btn-primary { color: #009688; } .btn:not(.btn-raised).btn-success, .input-group-btn .btn:not(.btn-raised).btn-success { color: #4caf50; } .btn:not(.btn-raised).btn-info, .input-group-btn .btn:not(.btn-raised).btn-info { color: #03a9f4; } .btn:not(.btn-raised).btn-warning, .input-group-btn .btn:not(.btn-raised).btn-warning { color: #ff5722; } .btn:not(.btn-raised).btn-danger, .input-group-btn .btn:not(.btn-raised).btn-danger { color: #f44336; } .btn:not(.btn-raised):not(.btn-link):hover, .input-group-btn .btn:not(.btn-raised):not(.btn-link):hover, .btn:not(.btn-raised):not(.btn-link):focus, .input-group-btn .btn:not(.btn-raised):not(.btn-link):focus { background-color: rgba(153, 153, 153, 0.2); } .theme-dark .btn:not(.btn-raised):not(.btn-link):hover, .theme-dark .input-group-btn .btn:not(.btn-raised):not(.btn-link):hover, .theme-dark .btn:not(.btn-raised):not(.btn-link):focus, .theme-dark .input-group-btn .btn:not(.btn-raised):not(.btn-link):focus { background-color: rgba(204, 204, 204, 0.15); } .btn.btn-raised, .input-group-btn .btn.btn-raised, .btn.btn-fab, .input-group-btn .btn.btn-fab, .btn-group-raised .btn, .btn-group-raised .input-group-btn .btn, .btn.btn-raised.btn-default, .input-group-btn .btn.btn-raised.btn-default, .btn.btn-fab.btn-default, .input-group-btn .btn.btn-fab.btn-default, .btn-group-raised .btn.btn-default, .btn-group-raised .input-group-btn .btn.btn-default { background-color: #EEEEEE; color: rgba(0, 0, 0, 0.87); } .btn.btn-raised.btn-inverse, .input-group-btn .btn.btn-raised.btn-inverse, .btn.btn-fab.btn-inverse, .input-group-btn .btn.btn-fab.btn-inverse, .btn-group-raised .btn.btn-inverse, .btn-group-raised .input-group-btn .btn.btn-inverse { background-color: #3f51b5; color: #ffffff; } .btn.btn-raised.btn-primary, .input-group-btn .btn.btn-raised.btn-primary, .btn.btn-fab.btn-primary, .input-group-btn .btn.btn-fab.btn-primary, .btn-group-raised .btn.btn-primary, .btn-group-raised .input-group-btn .btn.btn-primary { background-color: #009688; color: rgba(255, 255, 255, 0.84); } .btn.btn-raised.btn-success, .input-group-btn .btn.btn-raised.btn-success, .btn.btn-fab.btn-success, .input-group-btn .btn.btn-fab.btn-success, .btn-group-raised .btn.btn-success, .btn-group-raised .input-group-btn .btn.btn-success { background-color: #4caf50; color: rgba(255, 255, 255, 0.84); } .btn.btn-raised.btn-info, .input-group-btn .btn.btn-raised.btn-info, .btn.btn-fab.btn-info, .input-group-btn .btn.btn-fab.btn-info, .btn-group-raised .btn.btn-info, .btn-group-raised .input-group-btn .btn.btn-info { background-color: #03a9f4; color: rgba(255, 255, 255, 0.84); } .btn.btn-raised.btn-warning, .input-group-btn .btn.btn-raised.btn-warning, .btn.btn-fab.btn-warning, .input-group-btn .btn.btn-fab.btn-warning, .btn-group-raised .btn.btn-warning, .btn-group-raised .input-group-btn .btn.btn-warning { background-color: #ff5722; color: rgba(255, 255, 255, 0.84); } .btn.btn-raised.btn-danger, .input-group-btn .btn.btn-raised.btn-danger, .btn.btn-fab.btn-danger, .input-group-btn .btn.btn-fab.btn-danger, .btn-group-raised .btn.btn-danger, .btn-group-raised .input-group-btn .btn.btn-danger { background-color: #f44336; color: rgba(255, 255, 255, 0.84); } .btn.btn-raised:not(.btn-link), .input-group-btn .btn.btn-raised:not(.btn-link), .btn-group-raised .btn:not(.btn-link), .btn-group-raised .input-group-btn .btn:not(.btn-link) { -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); } .btn.btn-raised:not(.btn-link):hover, .input-group-btn .btn.btn-raised:not(.btn-link):hover, .btn-group-raised .btn:not(.btn-link):hover, .btn-group-raised .input-group-btn .btn:not(.btn-link):hover, .btn.btn-raised:not(.btn-link):focus, .input-group-btn .btn.btn-raised:not(.btn-link):focus, .btn-group-raised .btn:not(.btn-link):focus, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus, .btn.btn-raised:not(.btn-link).active, .input-group-btn .btn.btn-raised:not(.btn-link).active, .btn-group-raised .btn:not(.btn-link).active, .btn-group-raised .input-group-btn .btn:not(.btn-link).active, .btn.btn-raised:not(.btn-link):active, .input-group-btn .btn.btn-raised:not(.btn-link):active, .btn-group-raised .btn:not(.btn-link):active, .btn-group-raised .input-group-btn .btn:not(.btn-link):active { outline: 0; } .btn.btn-raised:not(.btn-link):hover, .input-group-btn .btn.btn-raised:not(.btn-link):hover, .btn-group-raised .btn:not(.btn-link):hover, .btn-group-raised .input-group-btn .btn:not(.btn-link):hover, .btn.btn-raised:not(.btn-link):focus, .input-group-btn .btn.btn-raised:not(.btn-link):focus, .btn-group-raised .btn:not(.btn-link):focus, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus, .btn.btn-raised:not(.btn-link).active, .input-group-btn .btn.btn-raised:not(.btn-link).active, .btn-group-raised .btn:not(.btn-link).active, .btn-group-raised .input-group-btn .btn:not(.btn-link).active, .btn.btn-raised:not(.btn-link):active, .input-group-btn .btn.btn-raised:not(.btn-link):active, .btn-group-raised .btn:not(.btn-link):active, .btn-group-raised .input-group-btn .btn:not(.btn-link):active, .btn.btn-raised:not(.btn-link):hover.btn-default, .input-group-btn .btn.btn-raised:not(.btn-link):hover.btn-default, .btn-group-raised .btn:not(.btn-link):hover.btn-default, .btn-group-raised .input-group-btn .btn:not(.btn-link):hover.btn-default, .btn.btn-raised:not(.btn-link):focus.btn-default, .input-group-btn .btn.btn-raised:not(.btn-link):focus.btn-default, .btn-group-raised .btn:not(.btn-link):focus.btn-default, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus.btn-default, .btn.btn-raised:not(.btn-link).active.btn-default, .input-group-btn .btn.btn-raised:not(.btn-link).active.btn-default, .btn-group-raised .btn:not(.btn-link).active.btn-default, .btn-group-raised .input-group-btn .btn:not(.btn-link).active.btn-default, .btn.btn-raised:not(.btn-link):active.btn-default, .input-group-btn .btn.btn-raised:not(.btn-link):active.btn-default, .btn-group-raised .btn:not(.btn-link):active.btn-default, .btn-group-raised .input-group-btn .btn:not(.btn-link):active.btn-default { background-color: #e4e4e4; } .btn.btn-raised:not(.btn-link):hover.btn-inverse, .input-group-btn .btn.btn-raised:not(.btn-link):hover.btn-inverse, .btn-group-raised .btn:not(.btn-link):hover.btn-inverse, .btn-group-raised .input-group-btn .btn:not(.btn-link):hover.btn-inverse, .btn.btn-raised:not(.btn-link):focus.btn-inverse, .input-group-btn .btn.btn-raised:not(.btn-link):focus.btn-inverse, .btn-group-raised .btn:not(.btn-link):focus.btn-inverse, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus.btn-inverse, .btn.btn-raised:not(.btn-link).active.btn-inverse, .input-group-btn .btn.btn-raised:not(.btn-link).active.btn-inverse, .btn-group-raised .btn:not(.btn-link).active.btn-inverse, .btn-group-raised .input-group-btn .btn:not(.btn-link).active.btn-inverse, .btn.btn-raised:not(.btn-link):active.btn-inverse, .input-group-btn .btn.btn-raised:not(.btn-link):active.btn-inverse, .btn-group-raised .btn:not(.btn-link):active.btn-inverse, .btn-group-raised .input-group-btn .btn:not(.btn-link):active.btn-inverse { background-color: #495bc0; } .btn.btn-raised:not(.btn-link):hover.btn-primary, .input-group-btn .btn.btn-raised:not(.btn-link):hover.btn-primary, .btn-group-raised .btn:not(.btn-link):hover.btn-primary, .btn-group-raised .input-group-btn .btn:not(.btn-link):hover.btn-primary, .btn.btn-raised:not(.btn-link):focus.btn-primary, .input-group-btn .btn.btn-raised:not(.btn-link):focus.btn-primary, .btn-group-raised .btn:not(.btn-link):focus.btn-primary, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus.btn-primary, .btn.btn-raised:not(.btn-link).active.btn-primary, .input-group-btn .btn.btn-raised:not(.btn-link).active.btn-primary, .btn-group-raised .btn:not(.btn-link).active.btn-primary, .btn-group-raised .input-group-btn .btn:not(.btn-link).active.btn-primary, .btn.btn-raised:not(.btn-link):active.btn-primary, .input-group-btn .btn.btn-raised:not(.btn-link):active.btn-primary, .btn-group-raised .btn:not(.btn-link):active.btn-primary, .btn-group-raised .input-group-btn .btn:not(.btn-link):active.btn-primary { background-color: #00aa9a; } .btn.btn-raised:not(.btn-link):hover.btn-success, .input-group-btn .btn.btn-raised:not(.btn-link):hover.btn-success, .btn-group-raised .btn:not(.btn-link):hover.btn-success, .btn-group-raised .input-group-btn .btn:not(.btn-link):hover.btn-success, .btn.btn-raised:not(.btn-link):focus.btn-success, .input-group-btn .btn.btn-raised:not(.btn-link):focus.btn-success, .btn-group-raised .btn:not(.btn-link):focus.btn-success, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus.btn-success, .btn.btn-raised:not(.btn-link).active.btn-success, .input-group-btn .btn.btn-raised:not(.btn-link).active.btn-success, .btn-group-raised .btn:not(.btn-link).active.btn-success, .btn-group-raised .input-group-btn .btn:not(.btn-link).active.btn-success, .btn.btn-raised:not(.btn-link):active.btn-success, .input-group-btn .btn.btn-raised:not(.btn-link):active.btn-success, .btn-group-raised .btn:not(.btn-link):active.btn-success, .btn-group-raised .input-group-btn .btn:not(.btn-link):active.btn-success { background-color: #59b75c; } .btn.btn-raised:not(.btn-link):hover.btn-info, .input-group-btn .btn.btn-raised:not(.btn-link):hover.btn-info, .btn-group-raised .btn:not(.btn-link):hover.btn-info, .btn-group-raised .input-group-btn .btn:not(.btn-link):hover.btn-info, .btn.btn-raised:not(.btn-link):focus.btn-info, .input-group-btn .btn.btn-raised:not(.btn-link):focus.btn-info, .btn-group-raised .btn:not(.btn-link):focus.btn-info, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus.btn-info, .btn.btn-raised:not(.btn-link).active.btn-info, .input-group-btn .btn.btn-raised:not(.btn-link).active.btn-info, .btn-group-raised .btn:not(.btn-link).active.btn-info, .btn-group-raised .input-group-btn .btn:not(.btn-link).active.btn-info, .btn.btn-raised:not(.btn-link):active.btn-info, .input-group-btn .btn.btn-raised:not(.btn-link):active.btn-info, .btn-group-raised .btn:not(.btn-link):active.btn-info, .btn-group-raised .input-group-btn .btn:not(.btn-link):active.btn-info { background-color: #0fb2fc; } .btn.btn-raised:not(.btn-link):hover.btn-warning, .input-group-btn .btn.btn-raised:not(.btn-link):hover.btn-warning, .btn-group-raised .btn:not(.btn-link):hover.btn-warning, .btn-group-raised .input-group-btn .btn:not(.btn-link):hover.btn-warning, .btn.btn-raised:not(.btn-link):focus.btn-warning, .input-group-btn .btn.btn-raised:not(.btn-link):focus.btn-warning, .btn-group-raised .btn:not(.btn-link):focus.btn-warning, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus.btn-warning, .btn.btn-raised:not(.btn-link).active.btn-warning, .input-group-btn .btn.btn-raised:not(.btn-link).active.btn-warning, .btn-group-raised .btn:not(.btn-link).active.btn-warning, .btn-group-raised .input-group-btn .btn:not(.btn-link).active.btn-warning, .btn.btn-raised:not(.btn-link):active.btn-warning, .input-group-btn .btn.btn-raised:not(.btn-link):active.btn-warning, .btn-group-raised .btn:not(.btn-link):active.btn-warning, .btn-group-raised .input-group-btn .btn:not(.btn-link):active.btn-warning { background-color: #ff6736; } .btn.btn-raised:not(.btn-link):hover.btn-danger, .input-group-btn .btn.btn-raised:not(.btn-link):hover.btn-danger, .btn-group-raised .btn:not(.btn-link):hover.btn-danger, .btn-group-raised .input-group-btn .btn:not(.btn-link):hover.btn-danger, .btn.btn-raised:not(.btn-link):focus.btn-danger, .input-group-btn .btn.btn-raised:not(.btn-link):focus.btn-danger, .btn-group-raised .btn:not(.btn-link):focus.btn-danger, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus.btn-danger, .btn.btn-raised:not(.btn-link).active.btn-danger, .input-group-btn .btn.btn-raised:not(.btn-link).active.btn-danger, .btn-group-raised .btn:not(.btn-link).active.btn-danger, .btn-group-raised .input-group-btn .btn:not(.btn-link).active.btn-danger, .btn.btn-raised:not(.btn-link):active.btn-danger, .input-group-btn .btn.btn-raised:not(.btn-link):active.btn-danger, .btn-group-raised .btn:not(.btn-link):active.btn-danger, .btn-group-raised .input-group-btn .btn:not(.btn-link):active.btn-danger { background-color: #f55549; } .btn.btn-raised:not(.btn-link).active, .input-group-btn .btn.btn-raised:not(.btn-link).active, .btn-group-raised .btn:not(.btn-link).active, .btn-group-raised .input-group-btn .btn:not(.btn-link).active, .btn.btn-raised:not(.btn-link):active, .input-group-btn .btn.btn-raised:not(.btn-link):active, .btn-group-raised .btn:not(.btn-link):active, .btn-group-raised .input-group-btn .btn:not(.btn-link):active, .btn.btn-raised:not(.btn-link).active:hover, .input-group-btn .btn.btn-raised:not(.btn-link).active:hover, .btn-group-raised .btn:not(.btn-link).active:hover, .btn-group-raised .input-group-btn .btn:not(.btn-link).active:hover, .btn.btn-raised:not(.btn-link):active:hover, .input-group-btn .btn.btn-raised:not(.btn-link):active:hover, .btn-group-raised .btn:not(.btn-link):active:hover, .btn-group-raised .input-group-btn .btn:not(.btn-link):active:hover { -webkit-box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2); box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2); } .btn.btn-raised:not(.btn-link):focus, .input-group-btn .btn.btn-raised:not(.btn-link):focus, .btn-group-raised .btn:not(.btn-link):focus, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus, .btn.btn-raised:not(.btn-link):focus.active, .input-group-btn .btn.btn-raised:not(.btn-link):focus.active, .btn-group-raised .btn:not(.btn-link):focus.active, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus.active, .btn.btn-raised:not(.btn-link):focus:active, .input-group-btn .btn.btn-raised:not(.btn-link):focus:active, .btn-group-raised .btn:not(.btn-link):focus:active, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus:active, .btn.btn-raised:not(.btn-link):focus:hover, .input-group-btn .btn.btn-raised:not(.btn-link):focus:hover, .btn-group-raised .btn:not(.btn-link):focus:hover, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus:hover, .btn.btn-raised:not(.btn-link):focus.active:hover, .input-group-btn .btn.btn-raised:not(.btn-link):focus.active:hover, .btn-group-raised .btn:not(.btn-link):focus.active:hover, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus.active:hover, .btn.btn-raised:not(.btn-link):focus:active:hover, .input-group-btn .btn.btn-raised:not(.btn-link):focus:active:hover, .btn-group-raised .btn:not(.btn-link):focus:active:hover, .btn-group-raised .input-group-btn .btn:not(.btn-link):focus:active:hover { -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.36); box-shadow: 0 0 8px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.36); } .btn.btn-fab, .input-group-btn .btn.btn-fab { border-radius: 50%; font-size: 24px; height: 56px; margin: auto; min-width: 56px; width: 56px; padding: 0; overflow: hidden; -webkit-box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24); box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24); position: relative; line-height: normal; } .btn.btn-fab .ripple-container, .input-group-btn .btn.btn-fab .ripple-container { border-radius: 50%; } .btn.btn-fab.btn-fab-mini, .input-group-btn .btn.btn-fab.btn-fab-mini, .btn-group-sm .btn.btn-fab, .btn-group-sm .input-group-btn .btn.btn-fab { height: 40px; min-width: 40px; width: 40px; } .btn.btn-fab.btn-fab-mini.material-icons, .input-group-btn .btn.btn-fab.btn-fab-mini.material-icons, .btn-group-sm .btn.btn-fab.material-icons, .btn-group-sm .input-group-btn .btn.btn-fab.material-icons { top: 0px; left: 0px; } .btn.btn-fab i.material-icons, .input-group-btn .btn.btn-fab i.material-icons { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-12px, -12px); -ms-transform: translate(-12px, -12px); -o-transform: translate(-12px, -12px); transform: translate(-12px, -12px); line-height: 24px; width: 24px; } .btn i.material-icons, .input-group-btn .btn i.material-icons { vertical-align: middle; } .btn.btn-lg, .input-group-btn .btn.btn-lg, .btn-group-lg .btn, .btn-group-lg .input-group-btn .btn { font-size: 16px; } .btn.btn-sm, .input-group-btn .btn.btn-sm, .btn-group-sm .btn, .btn-group-sm .input-group-btn .btn { padding: 5px 20px; font-size: 12px; } .btn.btn-xs, .input-group-btn .btn.btn-xs, .btn-group-xs .btn, .btn-group-xs .input-group-btn .btn { padding: 4px 15px; font-size: 10px; } fieldset[disabled][disabled] .btn, fieldset[disabled][disabled] .input-group-btn .btn, fieldset[disabled][disabled] .btn-group, fieldset[disabled][disabled] .btn-group-vertical, .btn.disabled, .input-group-btn .btn.disabled, .btn-group.disabled, .btn-group-vertical.disabled, .btn:disabled, .input-group-btn .btn:disabled, .btn-group:disabled, .btn-group-vertical:disabled, .btn[disabled][disabled], .input-group-btn .btn[disabled][disabled], .btn-group[disabled][disabled], .btn-group-vertical[disabled][disabled] { color: rgba(0, 0, 0, 0.26); background: transparent; } .theme-dark fieldset[disabled][disabled] .btn, .theme-dark fieldset[disabled][disabled] .input-group-btn .btn, .theme-dark fieldset[disabled][disabled] .btn-group, .theme-dark fieldset[disabled][disabled] .btn-group-vertical, .theme-dark .btn.disabled, .theme-dark .input-group-btn .btn.disabled, .theme-dark .btn-group.disabled, .theme-dark .btn-group-vertical.disabled, .theme-dark .btn:disabled, .theme-dark .input-group-btn .btn:disabled, .theme-dark .btn-group:disabled, .theme-dark .btn-group-vertical:disabled, .theme-dark .btn[disabled][disabled], .theme-dark .input-group-btn .btn[disabled][disabled], .theme-dark .btn-group[disabled][disabled], .theme-dark .btn-group-vertical[disabled][disabled] { color: rgba(255, 255, 255, 0.3); } fieldset[disabled][disabled] .btn.btn-raised, fieldset[disabled][disabled] .input-group-btn .btn.btn-raised, fieldset[disabled][disabled] .btn-group.btn-raised, fieldset[disabled][disabled] .btn-group-vertical.btn-raised, .btn.disabled.btn-raised, .input-group-btn .btn.disabled.btn-raised, .btn-group.disabled.btn-raised, .btn-group-vertical.disabled.btn-raised, .btn:disabled.btn-raised, .input-group-btn .btn:disabled.btn-raised, .btn-group:disabled.btn-raised, .btn-group-vertical:disabled.btn-raised, .btn[disabled][disabled].btn-raised, .input-group-btn .btn[disabled][disabled].btn-raised, .btn-group[disabled][disabled].btn-raised, .btn-group-vertical[disabled][disabled].btn-raised, fieldset[disabled][disabled] .btn.btn-group-raised, fieldset[disabled][disabled] .input-group-btn .btn.btn-group-raised, fieldset[disabled][disabled] .btn-group.btn-group-raised, fieldset[disabled][disabled] .btn-group-vertical.btn-group-raised, .btn.disabled.btn-group-raised, .input-group-btn .btn.disabled.btn-group-raised, .btn-group.disabled.btn-group-raised, .btn-group-vertical.disabled.btn-group-raised, .btn:disabled.btn-group-raised, .input-group-btn .btn:disabled.btn-group-raised, .btn-group:disabled.btn-group-raised, .btn-group-vertical:disabled.btn-group-raised, .btn[disabled][disabled].btn-group-raised, .input-group-btn .btn[disabled][disabled].btn-group-raised, .btn-group[disabled][disabled].btn-group-raised, .btn-group-vertical[disabled][disabled].btn-group-raised, fieldset[disabled][disabled] .btn.btn-raised.active, fieldset[disabled][disabled] .input-group-btn .btn.btn-raised.active, fieldset[disabled][disabled] .btn-group.btn-raised.active, fieldset[disabled][disabled] .btn-group-vertical.btn-raised.active, .btn.disabled.btn-raised.active, .input-group-btn .btn.disabled.btn-raised.active, .btn-group.disabled.btn-raised.active, .btn-group-vertical.disabled.btn-raised.active, .btn:disabled.btn-raised.active, .input-group-btn .btn:disabled.btn-raised.active, .btn-group:disabled.btn-raised.active, .btn-group-vertical:disabled.btn-raised.active, .btn[disabled][disabled].btn-raised.active, .input-group-btn .btn[disabled][disabled].btn-raised.active, .btn-group[disabled][disabled].btn-raised.active, .btn-group-vertical[disabled][disabled].btn-raised.active, fieldset[disabled][disabled] .btn.btn-group-raised.active, fieldset[disabled][disabled] .input-group-btn .btn.btn-group-raised.active, fieldset[disabled][disabled] .btn-group.btn-group-raised.active, fieldset[disabled][disabled] .btn-group-vertical.btn-group-raised.active, .btn.disabled.btn-group-raised.active, .input-group-btn .btn.disabled.btn-group-raised.active, .btn-group.disabled.btn-group-raised.active, .btn-group-vertical.disabled.btn-group-raised.active, .btn:disabled.btn-group-raised.active, .input-group-btn .btn:disabled.btn-group-raised.active, .btn-group:disabled.btn-group-raised.active, .btn-group-vertical:disabled.btn-group-raised.active, .btn[disabled][disabled].btn-group-raised.active, .input-group-btn .btn[disabled][disabled].btn-group-raised.active, .btn-group[disabled][disabled].btn-group-raised.active, .btn-group-vertical[disabled][disabled].btn-group-raised.active, fieldset[disabled][disabled] .btn.btn-raised:active, fieldset[disabled][disabled] .input-group-btn .btn.btn-raised:active, fieldset[disabled][disabled] .btn-group.btn-raised:active, fieldset[disabled][disabled] .btn-group-vertical.btn-raised:active, .btn.disabled.btn-raised:active, .input-group-btn .btn.disabled.btn-raised:active, .btn-group.disabled.btn-raised:active, .btn-group-vertical.disabled.btn-raised:active, .btn:disabled.btn-raised:active, .input-group-btn .btn:disabled.btn-raised:active, .btn-group:disabled.btn-raised:active, .btn-group-vertical:disabled.btn-raised:active, .btn[disabled][disabled].btn-raised:active, .input-group-btn .btn[disabled][disabled].btn-raised:active, .btn-group[disabled][disabled].btn-raised:active, .btn-group-vertical[disabled][disabled].btn-raised:active, fieldset[disabled][disabled] .btn.btn-group-raised:active, fieldset[disabled][disabled] .input-group-btn .btn.btn-group-raised:active, fieldset[disabled][disabled] .btn-group.btn-group-raised:active, fieldset[disabled][disabled] .btn-group-vertical.btn-group-raised:active, .btn.disabled.btn-group-raised:active, .input-group-btn .btn.disabled.btn-group-raised:active, .btn-group.disabled.btn-group-raised:active, .btn-group-vertical.disabled.btn-group-raised:active, .btn:disabled.btn-group-raised:active, .input-group-btn .btn:disabled.btn-group-raised:active, .btn-group:disabled.btn-group-raised:active, .btn-group-vertical:disabled.btn-group-raised:active, .btn[disabled][disabled].btn-group-raised:active, .input-group-btn .btn[disabled][disabled].btn-group-raised:active, .btn-group[disabled][disabled].btn-group-raised:active, .btn-group-vertical[disabled][disabled].btn-group-raised:active, fieldset[disabled][disabled] .btn.btn-raised:focus:not(:active), fieldset[disabled][disabled] .input-group-btn .btn.btn-raised:focus:not(:active), fieldset[disabled][disabled] .btn-group.btn-raised:focus:not(:active), fieldset[disabled][disabled] .btn-group-vertical.btn-raised:focus:not(:active), .btn.disabled.btn-raised:focus:not(:active), .input-group-btn .btn.disabled.btn-raised:focus:not(:active), .btn-group.disabled.btn-raised:focus:not(:active), .btn-group-vertical.disabled.btn-raised:focus:not(:active), .btn:disabled.btn-raised:focus:not(:active), .input-group-btn .btn:disabled.btn-raised:focus:not(:active), .btn-group:disabled.btn-raised:focus:not(:active), .btn-group-vertical:disabled.btn-raised:focus:not(:active), .btn[disabled][disabled].btn-raised:focus:not(:active), .input-group-btn .btn[disabled][disabled].btn-raised:focus:not(:active), .btn-group[disabled][disabled].btn-raised:focus:not(:active), .btn-group-vertical[disabled][disabled].btn-raised:focus:not(:active), fieldset[disabled][disabled] .btn.btn-group-raised:focus:not(:active), fieldset[disabled][disabled] .input-group-btn .btn.btn-group-raised:focus:not(:active), fieldset[disabled][disabled] .btn-group.btn-group-raised:focus:not(:active), fieldset[disabled][disabled] .btn-group-vertical.btn-group-raised:focus:not(:active), .btn.disabled.btn-group-raised:focus:not(:active), .input-group-btn .btn.disabled.btn-group-raised:focus:not(:active), .btn-group.disabled.btn-group-raised:focus:not(:active), .btn-group-vertical.disabled.btn-group-raised:focus:not(:active), .btn:disabled.btn-group-raised:focus:not(:active), .input-group-btn .btn:disabled.btn-group-raised:focus:not(:active), .btn-group:disabled.btn-group-raised:focus:not(:active), .btn-group-vertical:disabled.btn-group-raised:focus:not(:active), .btn[disabled][disabled].btn-group-raised:focus:not(:active), .input-group-btn .btn[disabled][disabled].btn-group-raised:focus:not(:active), .btn-group[disabled][disabled].btn-group-raised:focus:not(:active), .btn-group-vertical[disabled][disabled].btn-group-raised:focus:not(:active) { -webkit-box-shadow: none; box-shadow: none; } .btn-group, .btn-group-vertical { position: relative; margin: 10px 1px; } .btn-group.open > .dropdown-toggle.btn, .btn-group-vertical.open > .dropdown-toggle.btn, .btn-group.open > .dropdown-toggle.btn.btn-default, .btn-group-vertical.open > .dropdown-toggle.btn.btn-default { background-color: #EEEEEE; } .btn-group.open > .dropdown-toggle.btn.btn-inverse, .btn-group-vertical.open > .dropdown-toggle.btn.btn-inverse { background-color: #3f51b5; } .btn-group.open > .dropdown-toggle.btn.btn-primary, .btn-group-vertical.open > .dropdown-toggle.btn.btn-primary { background-color: #009688; } .btn-group.open > .dropdown-toggle.btn.btn-success, .btn-group-vertical.open > .dropdown-toggle.btn.btn-success { background-color: #4caf50; } .btn-group.open > .dropdown-toggle.btn.btn-info, .btn-group-vertical.open > .dropdown-toggle.btn.btn-info { background-color: #03a9f4; } .btn-group.open > .dropdown-toggle.btn.btn-warning, .btn-group-vertical.open > .dropdown-toggle.btn.btn-warning { background-color: #ff5722; } .btn-group.open > .dropdown-toggle.btn.btn-danger, .btn-group-vertical.open > .dropdown-toggle.btn.btn-danger { background-color: #f44336; } .btn-group .dropdown-menu, .btn-group-vertical .dropdown-menu { border-radius: 0 0 2px 2px; } .btn-group.btn-group-raised, .btn-group-vertical.btn-group-raised { -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); } .btn-group .btn + .btn, .btn-group-vertical .btn + .btn, .btn-group .btn, .btn-group-vertical .btn, .btn-group .btn:active, .btn-group-vertical .btn:active, .btn-group .btn-group, .btn-group-vertical .btn-group { margin: 0; } .checkbox label, label.checkbox-inline { cursor: pointer; padding-left: 0; color: rgba(0, 0, 0, 0.26); } .form-group.is-focused .checkbox label, .form-group.is-focused label.checkbox-inline { color: rgba(0, 0, 0, 0.26); } .form-group.is-focused .checkbox label:hover, .form-group.is-focused label.checkbox-inline:hover, .form-group.is-focused .checkbox label:focus, .form-group.is-focused label.checkbox-inline:focus { color: rgba(0, 0, 0, .54); } fieldset[disabled] .form-group.is-focused .checkbox label, fieldset[disabled] .form-group.is-focused label.checkbox-inline { color: rgba(0, 0, 0, 0.26); } .checkbox input[type=checkbox], label.checkbox-inline input[type=checkbox] { opacity: 0; position: absolute; margin: 0; z-index: -1; width: 0; height: 0; overflow: hidden; left: 0; pointer-events: none; } .checkbox .checkbox-material, label.checkbox-inline .checkbox-material { vertical-align: middle; position: relative; top: 3px; } .checkbox .checkbox-material:before, label.checkbox-inline .checkbox-material:before { display: block; position: absolute; top: -5px; left: 0; content: ""; background-color: rgba(0, 0, 0, 0.84); height: 20px; width: 20px; border-radius: 100%; z-index: 1; opacity: 0; margin: 0; -webkit-transform: scale3d(2.3, 2.3, 1); transform: scale3d(2.3, 2.3, 1); } .checkbox .checkbox-material .check, label.checkbox-inline .checkbox-material .check { position: relative; display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(0, 0, 0, .54); border-radius: 2px; overflow: hidden; z-index: 1; } .checkbox .checkbox-material .check:before, label.checkbox-inline .checkbox-material .check:before { position: absolute; content: ""; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); display: block; margin-top: -4px; margin-left: 6px; width: 0; height: 0; -webkit-box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0 inset; box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0 inset; } .checkbox input[type=checkbox]:focus + .checkbox-material .check:after, label.checkbox-inline input[type=checkbox]:focus + .checkbox-material .check:after { opacity: 0.2; } .checkbox input[type=checkbox]:focus:checked + .checkbox-material:before, label.checkbox-inline input[type=checkbox]:focus:checked + .checkbox-material:before { -webkit-animation: rippleOn 500ms; -o-animation: rippleOn 500ms; animation: rippleOn 500ms; } .checkbox input[type=checkbox]:focus:checked + .checkbox-material .check:before, label.checkbox-inline input[type=checkbox]:focus:checked + .checkbox-material .check:before { -webkit-animation: checkbox-on 0.3s forwards; -o-animation: checkbox-on 0.3s forwards; animation: checkbox-on 0.3s forwards; } .checkbox input[type=checkbox]:focus:checked + .checkbox-material .check:after, label.checkbox-inline input[type=checkbox]:focus:checked + .checkbox-material .check:after { -webkit-animation: rippleOn 500ms forwards; -o-animation: rippleOn 500ms forwards; animation: rippleOn 500ms forwards; } .checkbox input[type=checkbox]:focus:not(:checked) + .checkbox-material:before, label.checkbox-inline input[type=checkbox]:focus:not(:checked) + .checkbox-material:before { -webkit-animation: rippleOff 500ms; -o-animation: rippleOff 500ms; animation: rippleOff 500ms; } .checkbox input[type=checkbox]:focus:not(:checked) + .checkbox-material .check:before, label.checkbox-inline input[type=checkbox]:focus:not(:checked) + .checkbox-material .check:before { -webkit-animation: checkbox-off 0.3s forwards; -o-animation: checkbox-off 0.3s forwards; animation: checkbox-off 0.3s forwards; } .checkbox input[type=checkbox]:focus:not(:checked) + .checkbox-material .check:after, label.checkbox-inline input[type=checkbox]:focus:not(:checked) + .checkbox-material .check:after { -webkit-animation: rippleOff 500ms forwards; -o-animation: rippleOff 500ms forwards; animation: rippleOff 500ms forwards; } .checkbox input[type=checkbox]:checked + .checkbox-material .check, label.checkbox-inline input[type=checkbox]:checked + .checkbox-material .check { color: #009688; border-color: #009688; } .checkbox input[type=checkbox]:checked + .checkbox-material .check:before, label.checkbox-inline input[type=checkbox]:checked + .checkbox-material .check:before { color: #009688; -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px; } fieldset[disabled] .checkbox, fieldset[disabled] label.checkbox-inline, fieldset[disabled] .checkbox input[type=checkbox], fieldset[disabled] label.checkbox-inline input[type=checkbox], .checkbox input[type=checkbox][disabled]:not(:checked) ~ .checkbox-material .check:before, label.checkbox-inline input[type=checkbox][disabled]:not(:checked) ~ .checkbox-material .check:before, .checkbox input[type=checkbox][disabled]:not(:checked) ~ .checkbox-material .check, label.checkbox-inline input[type=checkbox][disabled]:not(:checked) ~ .checkbox-material .check, .checkbox input[type=checkbox][disabled] + .circle, label.checkbox-inline input[type=checkbox][disabled] + .circle { opacity: 0.5; } .checkbox input[type=checkbox][disabled] + .checkbox-material .check:after, label.checkbox-inline input[type=checkbox][disabled] + .checkbox-material .check:after { background-color: rgba(0, 0, 0, 0.87); -webkit-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); } @-webkit-keyframes checkbox-on { 0% { -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px; } 50% { -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px 2px 0 11px; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px 2px 0 11px; } 100% { -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px; } } @-o-keyframes checkbox-on { 0% { box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px; } 50% { box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px 2px 0 11px; } 100% { box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px; } } @keyframes checkbox-on { 0% { -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px; } 50% { -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px 2px 0 11px; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px 2px 0 11px; } 100% { -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px; } } @-webkit-keyframes checkbox-off { 0% { -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset; } 25% { -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset; } 50% { -webkit-transform: rotate(45deg); transform: rotate(45deg); margin-top: -4px; margin-left: 6px; width: 0; height: 0; -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px, 0 0 0 0 inset; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px, 0 0 0 0 inset; } 51% { -webkit-transform: rotate(0deg); transform: rotate(0deg); margin-top: -2px; margin-left: -2px; width: 20px; height: 20px; -webkit-box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0 0 10px inset; box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0 0 10px inset; } 100% { -webkit-transform: rotate(0deg); transform: rotate(0deg); margin-top: -2px; margin-left: -2px; width: 20px; height: 20px; -webkit-box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0 0 0 inset; box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0 0 0 inset; } } @-o-keyframes checkbox-off { 0% { box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset; } 25% { box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset; } 50% { -o-transform: rotate(45deg); transform: rotate(45deg); margin-top: -4px; margin-left: 6px; width: 0; height: 0; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px, 0 0 0 0 inset; } 51% { -o-transform: rotate(0deg); transform: rotate(0deg); margin-top: -2px; margin-left: -2px; width: 20px; height: 20px; box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0 0 10px inset; } 100% { -o-transform: rotate(0deg); transform: rotate(0deg); margin-top: -2px; margin-left: -2px; width: 20px; height: 20px; box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0 0 0 inset; } } @keyframes checkbox-off { 0% { -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset; } 25% { -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset; } 50% { -webkit-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); margin-top: -4px; margin-left: 6px; width: 0; height: 0; -webkit-box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px, 0 0 0 0 inset; box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px, 0 0 0 0 inset; } 51% { -webkit-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); margin-top: -2px; margin-left: -2px; width: 20px; height: 20px; -webkit-box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0 0 10px inset; box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0 0 10px inset; } 100% { -webkit-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); margin-top: -2px; margin-left: -2px; width: 20px; height: 20px; -webkit-box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0 0 0 inset; box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0 0 0 inset; } } @-webkit-keyframes rippleOn { 0% { opacity: 0; } 50% { opacity: 0.2; } 100% { opacity: 0; } } @-o-keyframes rippleOn { 0% { opacity: 0; } 50% { opacity: 0.2; } 100% { opacity: 0; } } @keyframes rippleOn { 0% { opacity: 0; } 50% { opacity: 0.2; } 100% { opacity: 0; } } @-webkit-keyframes rippleOff { 0% { opacity: 0; } 50% { opacity: 0.2; } 100% { opacity: 0; } } @-o-keyframes rippleOff { 0% { opacity: 0; } 50% { opacity: 0.2; } 100% { opacity: 0; } } @keyframes rippleOff { 0% { opacity: 0; } 50% { opacity: 0.2; } 100% { opacity: 0; } } .togglebutton { vertical-align: middle; } .togglebutton, .togglebutton label, .togglebutton input, .togglebutton .toggle { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .togglebutton label { cursor: pointer; color: rgba(0, 0, 0, 0.26); } .form-group.is-focused .togglebutton label { color: rgba(0, 0, 0, 0.26); } .form-group.is-focused .togglebutton label:hover, .form-group.is-focused .togglebutton label:focus { color: rgba(0, 0, 0, .54); } fieldset[disabled] .form-group.is-focused .togglebutton label { color: rgba(0, 0, 0, 0.26); } .togglebutton label input[type=checkbox] { opacity: 0; width: 0; height: 0; } .togglebutton label .toggle { text-align: left; } .togglebutton label .toggle, .togglebutton label input[type=checkbox][disabled] + .toggle { content: ""; display: inline-block; width: 30px; height: 15px; background-color: rgba(80, 80, 80, 0.7); border-radius: 15px; margin-right: 15px; -webkit-transition: background 0.3s ease; -o-transition: background 0.3s ease; transition: background 0.3s ease; vertical-align: middle; } .togglebutton label .toggle:after { content: ""; display: inline-block; width: 20px; height: 20px; background-color: #F1F1F1; border-radius: 20px; position: relative; -webkit-box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4); box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4); left: -5px; top: -2px; -webkit-transition: left 0.3s ease, background 0.3s ease, -webkit-box-shadow 0.1s ease; -o-transition: left 0.3s ease, background 0.3s ease, box-shadow 0.1s ease; transition: left 0.3s ease, background 0.3s ease, box-shadow 0.1s ease; } .togglebutton label input[type=checkbox][disabled] + .toggle:after, .togglebutton label input[type=checkbox][disabled]:checked + .toggle:after { background-color: #BDBDBD; } .togglebutton label input[type=checkbox] + .toggle:active:after, .togglebutton label input[type=checkbox][disabled] + .toggle:active:after { -webkit-box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(0, 0, 0, 0.1); } .togglebutton label input[type=checkbox]:checked + .toggle:after { left: 15px; } .togglebutton label input[type=checkbox]:checked + .toggle { background-color: rgba(0, 150, 136, 0.5); } .togglebutton label input[type=checkbox]:checked + .toggle:after { background-color: #009688; } .togglebutton label input[type=checkbox]:checked + .toggle:active:after { -webkit-box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(0, 150, 136, 0.1); box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(0, 150, 136, 0.1); } .radio label, label.radio-inline { cursor: pointer; padding-left: 45px; position: relative; color: rgba(0, 0, 0, 0.26); } .form-group.is-focused .radio label, .form-group.is-focused label.radio-inline { color: rgba(0, 0, 0, 0.26); } .form-group.is-focused .radio label:hover, .form-group.is-focused label.radio-inline:hover, .form-group.is-focused .radio label:focus, .form-group.is-focused label.radio-inline:focus { color: rgba(0, 0, 0, .54); } fieldset[disabled] .form-group.is-focused .radio label, fieldset[disabled] .form-group.is-focused label.radio-inline { color: rgba(0, 0, 0, 0.26); } .radio span, label.radio-inline span { display: block; position: absolute; left: 10px; top: 2px; -webkit-transition-duration: 0.2s; -o-transition-duration: 0.2s; transition-duration: 0.2s; } .radio .circle, label.radio-inline .circle { border: 2px solid rgba(0, 0, 0, .54); height: 15px; width: 15px; border-radius: 100%; } .radio .check, label.radio-inline .check { height: 15px; width: 15px; border-radius: 100%; background-color: #009688; -webkit-transform: scale3d(0, 0, 0); transform: scale3d(0, 0, 0); } .radio .check:after, label.radio-inline .check:after { display: block; position: absolute; content: ""; background-color: rgba(0, 0, 0, 0.87); left: -18px; top: -18px; height: 50px; width: 50px; border-radius: 100%; z-index: 1; opacity: 0; margin: 0; -webkit-transform: scale3d(1.5, 1.5, 1); transform: scale3d(1.5, 1.5, 1); } .radio input[type=radio]:focus:not(:checked) ~ .check:after, label.radio-inline input[type=radio]:focus:not(:checked) ~ .check:after { -webkit-animation: rippleOff 500ms; -o-animation: rippleOff 500ms; animation: rippleOff 500ms; } .radio input[type=radio]:focus:checked ~ .check:after, label.radio-inline input[type=radio]:focus:checked ~ .check:after { -webkit-animation: rippleOn 500ms; -o-animation: rippleOn 500ms; animation: rippleOn 500ms; } .radio input[type=radio], label.radio-inline input[type=radio] { opacity: 0; height: 0; width: 0; overflow: hidden; } .radio input[type=radio]:checked ~ .check, label.radio-inline input[type=radio]:checked ~ .check, .radio input[type=radio]:checked ~ .circle, label.radio-inline input[type=radio]:checked ~ .circle { opacity: 1; } .radio input[type=radio]:checked ~ .check, label.radio-inline input[type=radio]:checked ~ .check { background-color: #009688; } .radio input[type=radio]:checked ~ .circle, label.radio-inline input[type=radio]:checked ~ .circle { border-color: #009688; } .radio input[type=radio]:checked ~ .check, label.radio-inline input[type=radio]:checked ~ .check { -webkit-transform: scale3d(0.55, 0.55, 1); transform: scale3d(0.55, 0.55, 1); } .radio input[type=radio][disabled] ~ .check, label.radio-inline input[type=radio][disabled] ~ .check, .radio input[type=radio][disabled] ~ .circle, label.radio-inline input[type=radio][disabled] ~ .circle { opacity: 0.26; } .radio input[type=radio][disabled] ~ .check, label.radio-inline input[type=radio][disabled] ~ .check { background-color: #000000; } .radio input[type=radio][disabled] ~ .circle, label.radio-inline input[type=radio][disabled] ~ .circle { border-color: #000000; } .theme-dark .radio input[type=radio][disabled] ~ .check, .theme-dark label.radio-inline input[type=radio][disabled] ~ .check, .theme-dark .radio input[type=radio][disabled] ~ .circle, .theme-dark label.radio-inline input[type=radio][disabled] ~ .circle { opacity: 0.3; } .theme-dark .radio input[type=radio][disabled] ~ .check, .theme-dark label.radio-inline input[type=radio][disabled] ~ .check { background-color: #ffffff; } .theme-dark .radio input[type=radio][disabled] ~ .circle, .theme-dark label.radio-inline input[type=radio][disabled] ~ .circle { border-color: #ffffff; } @keyframes rippleOn { 0% { opacity: 0; } 50% { opacity: 0.2; } 100% { opacity: 0; } } @keyframes rippleOff { 0% { opacity: 0; } 50% { opacity: 0.2; } 100% { opacity: 0; } } legend { margin-bottom: 22px; font-size: 24px; } output { padding-top: 8px; font-size: 16px; line-height: 1.42857143; } .form-control { height: 38px; padding: 7px 0; font-size: 16px; line-height: 1.42857143; } @media screen and (-webkit-min-device-pixel-ratio: 0) { input[type="date"].form-control, input[type="time"].form-control, input[type="datetime-local"].form-control, input[type="month"].form-control { line-height: 38px; } input[type="date"].input-sm, input[type="time"].input-sm, input[type="datetime-local"].input-sm, input[type="month"].input-sm, .input-group-sm input[type="date"], .input-group-sm input[type="time"], .input-group-sm input[type="datetime-local"], .input-group-sm input[type="month"] { line-height: 24px; } input[type="date"].input-lg, input[type="time"].input-lg, input[type="datetime-local"].input-lg, input[type="month"].input-lg, .input-group-lg input[type="date"], .input-group-lg input[type="time"], .input-group-lg input[type="datetime-local"], .input-group-lg input[type="month"] { line-height: 44px; } } .radio label, .checkbox label { min-height: 22px; } .form-control-static { padding-top: 8px; padding-bottom: 8px; min-height: 38px; } .input-sm .input-sm { height: 24px; padding: 3px 0; font-size: 11px; line-height: 1.5; border-radius: 0; } .input-sm select.input-sm { height: 24px; line-height: 24px; } .input-sm textarea.input-sm, .input-sm select[multiple].input-sm { height: auto; } .form-group-sm .form-control { height: 24px; padding: 3px 0; font-size: 11px; line-height: 1.5; } .form-group-sm select.form-control { height: 24px; line-height: 24px; } .form-group-sm textarea.form-control, .form-group-sm select[multiple].form-control { height: auto; } .form-group-sm .form-control-static { height: 24px; min-height: 33px; padding: 4px 0; font-size: 11px; line-height: 1.5; } .input-lg .input-lg { height: 44px; padding: 9px 0; font-size: 18px; line-height: 1.3333333; border-radius: 0; } .input-lg select.input-lg { height: 44px; line-height: 44px; } .input-lg textarea.input-lg, .input-lg select[multiple].input-lg { height: auto; } .form-group-lg .form-control { height: 44px; padding: 9px 0; font-size: 18px; line-height: 1.3333333; } .form-group-lg select.form-control { height: 44px; line-height: 44px; } .form-group-lg textarea.form-control, .form-group-lg select[multiple].form-control { height: auto; } .form-group-lg .form-control-static { height: 44px; min-height: 40px; padding: 10px 0; font-size: 18px; line-height: 1.3333333; } .form-horizontal .radio, .form-horizontal .checkbox, .form-horizontal .radio-inline, .form-horizontal .checkbox-inline { padding-top: 8px; } .form-horizontal .radio, .form-horizontal .checkbox { min-height: 30px; } @media (min-width: 768px) { .form-horizontal .control-label { padding-top: 8px; } } @media (min-width: 768px) { .form-horizontal .form-group-lg .control-label { padding-top: 12.9999997px; font-size: 18px; } } @media (min-width: 768px) { .form-horizontal .form-group-sm .control-label { padding-top: 4px; font-size: 11px; } } .label { border-radius: 1px; padding: .3em .6em; } .label, .label.label-default { background-color: #9e9e9e; } .label.label-inverse { background-color: #3f51b5; } .label.label-primary { background-color: #009688; } .label.label-success { background-color: #4caf50; } .label.label-info { background-color: #03a9f4; } .label.label-warning { background-color: #ff5722; } .label.label-danger { background-color: #f44336; } .form-control, .form-group .form-control { border: 0; background-image: -webkit-gradient(linear, left top, left bottom, from(#009688), to(#009688)), -webkit-gradient(linear, left top, left bottom, from(#D2D2D2), to(#D2D2D2)); background-image: -webkit-linear-gradient(#009688, #009688), -webkit-linear-gradient(#D2D2D2, #D2D2D2); background-image: -o-linear-gradient(#009688, #009688), -o-linear-gradient(#D2D2D2, #D2D2D2); background-image: linear-gradient(#009688, #009688), linear-gradient(#D2D2D2, #D2D2D2); -webkit-background-size: 0 2px, 100% 1px; background-size: 0 2px, 100% 1px; background-repeat: no-repeat; background-position: center bottom, center -webkit-calc(100% - 1px); background-position: center bottom, center calc(100% - 1px); background-color: rgba(0, 0, 0, 0); -webkit-transition: background 0s ease-out; -o-transition: background 0s ease-out; transition: background 0s ease-out; float: none; -webkit-box-shadow: none; box-shadow: none; border-radius: 0; } .form-control::-moz-placeholder, .form-group .form-control::-moz-placeholder { color: #BDBDBD; font-weight: 400; } .form-control:-ms-input-placeholder, .form-group .form-control:-ms-input-placeholder { color: #BDBDBD; font-weight: 400; } .form-control::-webkit-input-placeholder, .form-group .form-control::-webkit-input-placeholder { color: #BDBDBD; font-weight: 400; } .form-control[readonly], .form-group .form-control[readonly], .form-control[disabled], .form-group .form-control[disabled], fieldset[disabled] .form-control, fieldset[disabled] .form-group .form-control { background-color: rgba(0, 0, 0, 0); } .form-control[disabled], .form-group .form-control[disabled], fieldset[disabled] .form-control, fieldset[disabled] .form-group .form-control { background-image: none; border-bottom: 1px dotted #D2D2D2; } .form-group { position: relative; } .form-group.label-static label.control-label, .form-group.label-placeholder label.control-label, .form-group.label-floating label.control-label { position: absolute; pointer-events: none; -webkit-transition: 0.3s ease all; -o-transition: 0.3s ease all; transition: 0.3s ease all; } .form-group.label-floating label.control-label { will-change: left, top, contents; } .form-group.label-placeholder:not(.is-empty) label.control-label { display: none; } .form-group .help-block { position: absolute; display: none; } .form-group.is-focused .form-control { outline: none; background-image: -webkit-gradient(linear, left top, left bottom, from(#009688), to(#009688)), -webkit-gradient(linear, left top, left bottom, from(#D2D2D2), to(#D2D2D2)); background-image: -webkit-linear-gradient(#009688, #009688), -webkit-linear-gradient(#D2D2D2, #D2D2D2); background-image: -o-linear-gradient(#009688, #009688), -o-linear-gradient(#D2D2D2, #D2D2D2); background-image: linear-gradient(#009688, #009688), linear-gradient(#D2D2D2, #D2D2D2); -webkit-background-size: 100% 2px, 100% 1px; background-size: 100% 2px, 100% 1px; -webkit-box-shadow: none; box-shadow: none; -webkit-transition-duration: 0.3s; -o-transition-duration: 0.3s; transition-duration: 0.3s; } .form-group.is-focused .form-control .material-input:after { background-color: #009688; } .form-group.is-focused label, .form-group.is-focused label.control-label { color: #009688; } .form-group.is-focused.label-placeholder label, .form-group.is-focused.label-placeholder label.control-label { color: #BDBDBD; } .form-group.is-focused .help-block { display: block; } .form-group.has-warning .form-control { -webkit-box-shadow: none; box-shadow: none; } .form-group.has-warning.is-focused .form-control { background-image: -webkit-gradient(linear, left top, left bottom, from(#ff5722), to(#ff5722)), -webkit-gradient(linear, left top, left bottom, from(#D2D2D2), to(#D2D2D2)); background-image: -webkit-linear-gradient(#ff5722, #ff5722), -webkit-linear-gradient(#D2D2D2, #D2D2D2); background-image: -o-linear-gradient(#ff5722, #ff5722), -o-linear-gradient(#D2D2D2, #D2D2D2); background-image: linear-gradient(#ff5722, #ff5722), linear-gradient(#D2D2D2, #D2D2D2); } .form-group.has-warning label.control-label, .form-group.has-warning .help-block { color: #ff5722; } .form-group.has-error .form-control { -webkit-box-shadow: none; box-shadow: none; } .form-group.has-error.is-focused .form-control { background-image: -webkit-gradient(linear, left top, left bottom, from(#f44336), to(#f44336)), -webkit-gradient(linear, left top, left bottom, from(#D2D2D2), to(#D2D2D2)); background-image: -webkit-linear-gradient(#f44336, #f44336), -webkit-linear-gradient(#D2D2D2, #D2D2D2); background-image: -o-linear-gradient(#f44336, #f44336), -o-linear-gradient(#D2D2D2, #D2D2D2); background-image: linear-gradient(#f44336, #f44336), linear-gradient(#D2D2D2, #D2D2D2); } .form-group.has-error label.control-label, .form-group.has-error .help-block { color: #f44336; } .form-group.has-success .form-control { -webkit-box-shadow: none; box-shadow: none; } .form-group.has-success.is-focused .form-control { background-image: -webkit-gradient(linear, left top, left bottom, from(#4caf50), to(#4caf50)), -webkit-gradient(linear, left top, left bottom, from(#D2D2D2), to(#D2D2D2)); background-image: -webkit-linear-gradient(#4caf50, #4caf50), -webkit-linear-gradient(#D2D2D2, #D2D2D2); background-image: -o-linear-gradient(#4caf50, #4caf50), -o-linear-gradient(#D2D2D2, #D2D2D2); background-image: linear-gradient(#4caf50, #4caf50), linear-gradient(#D2D2D2, #D2D2D2); } .form-group.has-success label.control-label, .form-group.has-success .help-block { color: #4caf50; } .form-group.has-info .form-control { -webkit-box-shadow: none; box-shadow: none; } .form-group.has-info.is-focused .form-control { background-image: -webkit-gradient(linear, left top, left bottom, from(#03a9f4), to(#03a9f4)), -webkit-gradient(linear, left top, left bottom, from(#D2D2D2), to(#D2D2D2)); background-image: -webkit-linear-gradient(#03a9f4, #03a9f4), -webkit-linear-gradient(#D2D2D2, #D2D2D2); background-image: -o-linear-gradient(#03a9f4, #03a9f4), -o-linear-gradient(#D2D2D2, #D2D2D2); background-image: linear-gradient(#03a9f4, #03a9f4), linear-gradient(#D2D2D2, #D2D2D2); } .form-group.has-info label.control-label, .form-group.has-info .help-block { color: #03a9f4; } .form-group textarea { resize: none; } .form-group textarea ~ .form-control-highlight { margin-top: -11px; } .form-group select { -webkit-appearance: none; -moz-appearance: none; appearance: none; } .form-group select ~ .material-input:after { display: none; } .form-control { margin-bottom: 7px; } .form-control::-moz-placeholder { font-size: 16px; line-height: 1.42857143; color: #BDBDBD; font-weight: 400; } .form-control:-ms-input-placeholder { font-size: 16px; line-height: 1.42857143; color: #BDBDBD; font-weight: 400; } .form-control::-webkit-input-placeholder { font-size: 16px; line-height: 1.42857143; color: #BDBDBD; font-weight: 400; } .checkbox label, .radio label, label { font-size: 16px; line-height: 1.42857143; color: #BDBDBD; font-weight: 400; } label.control-label { font-size: 12px; line-height: 1.07142857; font-weight: 400; margin: 16px 0 0 0; } .help-block { margin-top: 0; font-size: 12px; } .form-group { padding-bottom: 7px; margin: 28px 0 0 0; } .form-group .form-control { margin-bottom: 7px; } .form-group .form-control::-moz-placeholder { font-size: 16px; line-height: 1.42857143; color: #BDBDBD; font-weight: 400; } .form-group .form-control:-ms-input-placeholder { font-size: 16px; line-height: 1.42857143; color: #BDBDBD; font-weight: 400; } .form-group .form-control::-webkit-input-placeholder { font-size: 16px; line-height: 1.42857143; color: #BDBDBD; font-weight: 400; } .form-group .checkbox label, .form-group .radio label, .form-group label { font-size: 16px; line-height: 1.42857143; color: #BDBDBD; font-weight: 400; } .form-group label.control-label { font-size: 12px; line-height: 1.07142857; font-weight: 400; margin: 16px 0 0 0; } .form-group .help-block { margin-top: 0; font-size: 12px; } .form-group.label-floating label.control-label, .form-group.label-placeholder label.control-label { top: -7px; font-size: 16px; line-height: 1.42857143; } .form-group.label-static label.control-label, .form-group.label-floating.is-focused label.control-label, .form-group.label-floating:not(.is-empty) label.control-label { top: -30px; left: 0; font-size: 12px; line-height: 1.07142857; } .form-group.label-floating input.form-control:-webkit-autofill ~ label.control-label label.control-label { top: -30px; left: 0; font-size: 12px; line-height: 1.07142857; } .form-group.form-group-sm { padding-bottom: 3px; margin: 21px 0 0 0; } .form-group.form-group-sm .form-control { margin-bottom: 3px; } .form-group.form-group-sm .form-control::-moz-placeholder { font-size: 11px; line-height: 1.5; color: #BDBDBD; font-weight: 400; } .form-group.form-group-sm .form-control:-ms-input-placeholder { font-size: 11px; line-height: 1.5; color: #BDBDBD; font-weight: 400; } .form-group.form-group-sm .form-control::-webkit-input-placeholder { font-size: 11px; line-height: 1.5; color: #BDBDBD; font-weight: 400; } .form-group.form-group-sm .checkbox label, .form-group.form-group-sm .radio label, .form-group.form-group-sm label { font-size: 11px; line-height: 1.5; color: #BDBDBD; font-weight: 400; } .form-group.form-group-sm label.control-label { font-size: 9px; line-height: 1.125; font-weight: 400; margin: 16px 0 0 0; } .form-group.form-group-sm .help-block { margin-top: 0; font-size: 9px; } .form-group.form-group-sm.label-floating label.control-label, .form-group.form-group-sm.label-placeholder label.control-label { top: -11px; font-size: 11px; line-height: 1.5; } .form-group.form-group-sm.label-static label.control-label, .form-group.form-group-sm.label-floating.is-focused label.control-label, .form-group.form-group-sm.label-floating:not(.is-empty) label.control-label { top: -25px; left: 0; font-size: 9px; line-height: 1.125; } .form-group.form-group-sm.label-floating input.form-control:-webkit-autofill ~ label.control-label label.control-label { top: -25px; left: 0; font-size: 9px; line-height: 1.125; } .form-group.form-group-lg { padding-bottom: 9px; margin: 30px 0 0 0; } .form-group.form-group-lg .form-control { margin-bottom: 9px; } .form-group.form-group-lg .form-control::-moz-placeholder { font-size: 18px; line-height: 1.3333333; color: #BDBDBD; font-weight: 400; } .form-group.form-group-lg .form-control:-ms-input-placeholder { font-size: 18px; line-height: 1.3333333; color: #BDBDBD; font-weight: 400; } .form-group.form-group-lg .form-control::-webkit-input-placeholder { font-size: 18px; line-height: 1.3333333; color: #BDBDBD; font-weight: 400; } .form-group.form-group-lg .checkbox label, .form-group.form-group-lg .radio label, .form-group.form-group-lg label { font-size: 18px; line-height: 1.3333333; color: #BDBDBD; font-weight: 400; } .form-group.form-group-lg label.control-label { font-size: 14px; line-height: 0.99999998; font-weight: 400; margin: 16px 0 0 0; } .form-group.form-group-lg .help-block { margin-top: 0; font-size: 14px; } .form-group.form-group-lg.label-floating label.control-label, .form-group.form-group-lg.label-placeholder label.control-label { top: -5px; font-size: 18px; line-height: 1.3333333; } .form-group.form-group-lg.label-static label.control-label, .form-group.form-group-lg.label-floating.is-focused label.control-label, .form-group.form-group-lg.label-floating:not(.is-empty) label.control-label { top: -32px; left: 0; font-size: 14px; line-height: 0.99999998; } .form-group.form-group-lg.label-floating input.form-control:-webkit-autofill ~ label.control-label label.control-label { top: -32px; left: 0; font-size: 14px; line-height: 0.99999998; } select.form-control { border: 0; -webkit-box-shadow: none; box-shadow: none; border-radius: 0; } .form-group.is-focused select.form-control { -webkit-box-shadow: none; box-shadow: none; border-color: #D2D2D2; } select.form-control[multiple], .form-group.is-focused select.form-control[multiple] { height: 85px; } .input-group-btn .btn { margin: 0 0 7px 0; } .form-group.form-group-sm .input-group-btn .btn { margin: 0 0 3px 0; } .form-group.form-group-lg .input-group-btn .btn { margin: 0 0 9px 0; } .input-group .input-group-btn { padding: 0 12px; } .input-group .input-group-addon { border: 0; background: transparent; } .form-group input[type=file] { opacity: 0; position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 100; } legend { border-bottom: 0; } .list-group { border-radius: 0; } .list-group .list-group-item { background-color: transparent; overflow: hidden; border: 0; border-radius: 0; padding: 0 16px; } .list-group .list-group-item.baseline { border-bottom: 1px solid #cecece; } .list-group .list-group-item.baseline:last-child { border-bottom: none; } .list-group .list-group-item .row-picture, .list-group .list-group-item .row-action-primary { display: inline-block; padding-right: 16px; } .list-group .list-group-item .row-picture img, .list-group .list-group-item .row-action-primary img, .list-group .list-group-item .row-picture i, .list-group .list-group-item .row-action-primary i, .list-group .list-group-item .row-picture label, .list-group .list-group-item .row-action-primary label { display: block; width: 56px; height: 56px; } .list-group .list-group-item .row-picture img, .list-group .list-group-item .row-action-primary img { background: rgba(0, 0, 0, 0.1); padding: 1px; } .list-group .list-group-item .row-picture img.circle, .list-group .list-group-item .row-action-primary img.circle { border-radius: 100%; } .list-group .list-group-item .row-picture i, .list-group .list-group-item .row-action-primary i { background: rgba(0, 0, 0, 0.25); border-radius: 100%; text-align: center; line-height: 56px; font-size: 20px; color: white; } .list-group .list-group-item .row-picture label, .list-group .list-group-item .row-action-primary label { margin-left: 7px; margin-right: -7px; margin-top: 5px; margin-bottom: -5px; } .list-group .list-group-item .row-picture label .checkbox-material, .list-group .list-group-item .row-action-primary label .checkbox-material { left: -10px; } .list-group .list-group-item .row-content { display: inline-block; width: -webkit-calc(100% - 92px); width: calc(100% - 92px); min-height: 66px; } .list-group .list-group-item .row-content .action-secondary { position: absolute; right: 16px; top: 16px; } .list-group .list-group-item .row-content .action-secondary i { font-size: 20px; color: rgba(0, 0, 0, 0.25); cursor: pointer; } .list-group .list-group-item .row-content .action-secondary ~ * { max-width: -webkit-calc(100% - 30px); max-width: calc(100% - 30px); } .list-group .list-group-item .row-content .least-content { position: absolute; right: 16px; top: 0; color: rgba(0, 0, 0, 0.54); font-size: 14px; } .list-group .list-group-item .list-group-item-heading { color: rgba(0, 0, 0, 0.77); font-size: 20px; line-height: 29px; } .list-group .list-group-item.active:hover, .list-group .list-group-item.active:focus { background: rgba(0, 0, 0, 0.15); outline: 10px solid rgba(0, 0, 0, 0.15); } .list-group .list-group-item.active .list-group-item-heading, .list-group .list-group-item.active .list-group-item-text { color: rgba(0, 0, 0, 0.87); } .list-group .list-group-separator { clear: both; overflow: hidden; margin-top: 10px; margin-bottom: 10px; } .list-group .list-group-separator:before { content: ""; width: -webkit-calc(100% - 90px); width: calc(100% - 90px); border-bottom: 1px solid rgba(0, 0, 0, 0.1); float: right; } .navbar { background-color: #009688; border: 0; border-radius: 0; } .navbar .navbar-brand { position: relative; height: 60px; line-height: 30px; color: inherit; } .navbar .navbar-brand:hover, .navbar .navbar-brand:focus { color: inherit; background-color: transparent; } .navbar .navbar-text { color: inherit; margin-top: 20px; margin-bottom: 20px; } .navbar .navbar-nav > li > a { color: inherit; padding-top: 20px; padding-bottom: 20px; } .navbar .navbar-nav > li > a:hover, .navbar .navbar-nav > li > a:focus { color: inherit; background-color: transparent; } .navbar .navbar-nav > .active > a, .navbar .navbar-nav > .active > a:hover, .navbar .navbar-nav > .active > a:focus { color: inherit; background-color: rgba(255, 255, 255, 0.1); } .navbar .navbar-nav > .disabled > a, .navbar .navbar-nav > .disabled > a:hover, .navbar .navbar-nav > .disabled > a:focus { color: inherit; background-color: transparent; opacity: 0.9; } .navbar .navbar-toggle { border: 0; } .navbar .navbar-toggle:hover, .navbar .navbar-toggle:focus { background-color: transparent; } .navbar .navbar-toggle .icon-bar { background-color: inherit; border: 1px solid; } .navbar .navbar-default .navbar-toggle, .navbar .navbar-inverse .navbar-toggle { border-color: transparent; } .navbar .navbar-collapse, .navbar .navbar-form { border-color: rgba(0, 0, 0, 0.1); } .navbar .navbar-nav > .open > a, .navbar .navbar-nav > .open > a:hover, .navbar .navbar-nav > .open > a:focus { background-color: transparent; color: inherit; } @media (max-width: 767px) { .navbar .navbar-nav .navbar-text { color: inherit; margin-top: 15px; margin-bottom: 15px; } .navbar .navbar-nav .open .dropdown-menu > .dropdown-header { border: 0; color: inherit; } .navbar .navbar-nav .open .dropdown-menu .divider { border-bottom: 1px solid; opacity: 0.08; } .navbar .navbar-nav .open .dropdown-menu > li > a { color: inherit; } .navbar .navbar-nav .open .dropdown-menu > li > a:hover, .navbar .navbar-nav .open .dropdown-menu > li > a:focus { color: inherit; background-color: transparent; } .navbar .navbar-nav .open .dropdown-menu > .active > a, .navbar .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar .navbar-nav .open .dropdown-menu > .active > a:focus { color: inherit; background-color: transparent; } .navbar .navbar-nav .open .dropdown-menu > .disabled > a, .navbar .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: inherit; background-color: transparent; } } .navbar .navbar-link { color: inherit; } .navbar .navbar-link:hover { color: inherit; } .navbar .btn-link { color: inherit; } .navbar .btn-link:hover, .navbar .btn-link:focus { color: inherit; } .navbar .btn-link[disabled]:hover, fieldset[disabled] .navbar .btn-link:hover, .navbar .btn-link[disabled]:focus, fieldset[disabled] .navbar .btn-link:focus { color: inherit; } .navbar .navbar-form { margin-top: 16px; } .navbar .navbar-form .form-group { margin: 0; padding: 0; } .navbar .navbar-form .form-group .material-input:before, .navbar .navbar-form .form-group.is-focused .material-input:after { background-color: inherit; } .navbar .navbar-form .form-group .form-control, .navbar .navbar-form .form-control { border-color: inherit; color: inherit; padding: 0; margin: 0; height: 28px; font-size: 14px; line-height: 1.42857143; } .navbar, .navbar.navbar-default { background-color: #009688; color: rgba(255, 255, 255, 0.84); } .navbar .navbar-form .form-group input.form-control::-moz-placeholder, .navbar.navbar-default .navbar-form .form-group input.form-control::-moz-placeholder, .navbar .navbar-form input.form-control::-moz-placeholder, .navbar.navbar-default .navbar-form input.form-control::-moz-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar .navbar-form .form-group input.form-control:-ms-input-placeholder, .navbar.navbar-default .navbar-form .form-group input.form-control:-ms-input-placeholder, .navbar .navbar-form input.form-control:-ms-input-placeholder, .navbar.navbar-default .navbar-form input.form-control:-ms-input-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar .navbar-form .form-group input.form-control::-webkit-input-placeholder, .navbar.navbar-default .navbar-form .form-group input.form-control::-webkit-input-placeholder, .navbar .navbar-form input.form-control::-webkit-input-placeholder, .navbar.navbar-default .navbar-form input.form-control::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar .dropdown-menu, .navbar.navbar-default .dropdown-menu { border-radius: 2px; } .navbar .dropdown-menu li > a, .navbar.navbar-default .dropdown-menu li > a { font-size: 16px; padding: 13px 16px; } .navbar .dropdown-menu li > a:hover, .navbar.navbar-default .dropdown-menu li > a:hover, .navbar .dropdown-menu li > a:focus, .navbar.navbar-default .dropdown-menu li > a:focus { color: #009688; background-color: #eeeeee; } .navbar .dropdown-menu .active > a, .navbar.navbar-default .dropdown-menu .active > a { background-color: #009688; color: rgba(255, 255, 255, 0.84); } .navbar .dropdown-menu .active > a:hover, .navbar.navbar-default .dropdown-menu .active > a:hover, .navbar .dropdown-menu .active > a:focus, .navbar.navbar-default .dropdown-menu .active > a:focus { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-inverse { background-color: #3f51b5; color: #ffffff; } .navbar.navbar-inverse .navbar-form .form-group input.form-control::-moz-placeholder, .navbar.navbar-inverse .navbar-form input.form-control::-moz-placeholder { color: #ffffff; } .navbar.navbar-inverse .navbar-form .form-group input.form-control:-ms-input-placeholder, .navbar.navbar-inverse .navbar-form input.form-control:-ms-input-placeholder { color: #ffffff; } .navbar.navbar-inverse .navbar-form .form-group input.form-control::-webkit-input-placeholder, .navbar.navbar-inverse .navbar-form input.form-control::-webkit-input-placeholder { color: #ffffff; } .navbar.navbar-inverse .dropdown-menu { border-radius: 2px; } .navbar.navbar-inverse .dropdown-menu li > a { font-size: 16px; padding: 13px 16px; } .navbar.navbar-inverse .dropdown-menu li > a:hover, .navbar.navbar-inverse .dropdown-menu li > a:focus { color: #3f51b5; background-color: #eeeeee; } .navbar.navbar-inverse .dropdown-menu .active > a { background-color: #3f51b5; color: #ffffff; } .navbar.navbar-inverse .dropdown-menu .active > a:hover, .navbar.navbar-inverse .dropdown-menu .active > a:focus { color: #ffffff; } .navbar.navbar-primary { background-color: #009688; color: rgba(255, 255, 255, 0.84); } .navbar.navbar-primary .navbar-form .form-group input.form-control::-moz-placeholder, .navbar.navbar-primary .navbar-form input.form-control::-moz-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-primary .navbar-form .form-group input.form-control:-ms-input-placeholder, .navbar.navbar-primary .navbar-form input.form-control:-ms-input-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-primary .navbar-form .form-group input.form-control::-webkit-input-placeholder, .navbar.navbar-primary .navbar-form input.form-control::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-primary .dropdown-menu { border-radius: 2px; } .navbar.navbar-primary .dropdown-menu li > a { font-size: 16px; padding: 13px 16px; } .navbar.navbar-primary .dropdown-menu li > a:hover, .navbar.navbar-primary .dropdown-menu li > a:focus { color: #009688; background-color: #eeeeee; } .navbar.navbar-primary .dropdown-menu .active > a { background-color: #009688; color: rgba(255, 255, 255, 0.84); } .navbar.navbar-primary .dropdown-menu .active > a:hover, .navbar.navbar-primary .dropdown-menu .active > a:focus { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-success { background-color: #4caf50; color: rgba(255, 255, 255, 0.84); } .navbar.navbar-success .navbar-form .form-group input.form-control::-moz-placeholder, .navbar.navbar-success .navbar-form input.form-control::-moz-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-success .navbar-form .form-group input.form-control:-ms-input-placeholder, .navbar.navbar-success .navbar-form input.form-control:-ms-input-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-success .navbar-form .form-group input.form-control::-webkit-input-placeholder, .navbar.navbar-success .navbar-form input.form-control::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-success .dropdown-menu { border-radius: 2px; } .navbar.navbar-success .dropdown-menu li > a { font-size: 16px; padding: 13px 16px; } .navbar.navbar-success .dropdown-menu li > a:hover, .navbar.navbar-success .dropdown-menu li > a:focus { color: #4caf50; background-color: #eeeeee; } .navbar.navbar-success .dropdown-menu .active > a { background-color: #4caf50; color: rgba(255, 255, 255, 0.84); } .navbar.navbar-success .dropdown-menu .active > a:hover, .navbar.navbar-success .dropdown-menu .active > a:focus { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-info { background-color: #03a9f4; color: rgba(255, 255, 255, 0.84); } .navbar.navbar-info .navbar-form .form-group input.form-control::-moz-placeholder, .navbar.navbar-info .navbar-form input.form-control::-moz-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-info .navbar-form .form-group input.form-control:-ms-input-placeholder, .navbar.navbar-info .navbar-form input.form-control:-ms-input-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-info .navbar-form .form-group input.form-control::-webkit-input-placeholder, .navbar.navbar-info .navbar-form input.form-control::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-info .dropdown-menu { border-radius: 2px; } .navbar.navbar-info .dropdown-menu li > a { font-size: 16px; padding: 13px 16px; } .navbar.navbar-info .dropdown-menu li > a:hover, .navbar.navbar-info .dropdown-menu li > a:focus { color: #03a9f4; background-color: #eeeeee; } .navbar.navbar-info .dropdown-menu .active > a { background-color: #03a9f4; color: rgba(255, 255, 255, 0.84); } .navbar.navbar-info .dropdown-menu .active > a:hover, .navbar.navbar-info .dropdown-menu .active > a:focus { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-warning { background-color: #ff5722; color: rgba(255, 255, 255, 0.84); } .navbar.navbar-warning .navbar-form .form-group input.form-control::-moz-placeholder, .navbar.navbar-warning .navbar-form input.form-control::-moz-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-warning .navbar-form .form-group input.form-control:-ms-input-placeholder, .navbar.navbar-warning .navbar-form input.form-control:-ms-input-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-warning .navbar-form .form-group input.form-control::-webkit-input-placeholder, .navbar.navbar-warning .navbar-form input.form-control::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-warning .dropdown-menu { border-radius: 2px; } .navbar.navbar-warning .dropdown-menu li > a { font-size: 16px; padding: 13px 16px; } .navbar.navbar-warning .dropdown-menu li > a:hover, .navbar.navbar-warning .dropdown-menu li > a:focus { color: #ff5722; background-color: #eeeeee; } .navbar.navbar-warning .dropdown-menu .active > a { background-color: #ff5722; color: rgba(255, 255, 255, 0.84); } .navbar.navbar-warning .dropdown-menu .active > a:hover, .navbar.navbar-warning .dropdown-menu .active > a:focus { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-danger { background-color: #f44336; color: rgba(255, 255, 255, 0.84); } .navbar.navbar-danger .navbar-form .form-group input.form-control::-moz-placeholder, .navbar.navbar-danger .navbar-form input.form-control::-moz-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-danger .navbar-form .form-group input.form-control:-ms-input-placeholder, .navbar.navbar-danger .navbar-form input.form-control:-ms-input-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-danger .navbar-form .form-group input.form-control::-webkit-input-placeholder, .navbar.navbar-danger .navbar-form input.form-control::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.84); } .navbar.navbar-danger .dropdown-menu { border-radius: 2px; } .navbar.navbar-danger .dropdown-menu li > a { font-size: 16px; padding: 13px 16px; } .navbar.navbar-danger .dropdown-menu li > a:hover, .navbar.navbar-danger .dropdown-menu li > a:focus { color: #f44336; background-color: #eeeeee; } .navbar.navbar-danger .dropdown-menu .active > a { background-color: #f44336; color: rgba(255, 255, 255, 0.84); } .navbar.navbar-danger .dropdown-menu .active > a:hover, .navbar.navbar-danger .dropdown-menu .active > a:focus { color: rgba(255, 255, 255, 0.84); } .navbar-inverse { background-color: #3f51b5; } @media (max-width: 1199px) { .navbar .navbar-brand { height: 50px; padding: 10px 15px; } .navbar .navbar-form { margin-top: 10px; } .navbar .navbar-nav > li > a { padding-top: 15px; padding-bottom: 15px; } } .dropdown-menu { border: 0; -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); } .dropdown-menu .divider { background-color: rgba(0, 0, 0, 0.12); } .dropdown-menu li { overflow: hidden; position: relative; } .dropdown-menu li a:hover { background-color: transparent; color: #009688; } .alert { border: 0; border-radius: 0; } .alert, .alert.alert-default { background-color: rgba(255, 255, 255, 0.84); color: rgba(255, 255, 255, 0.84); } .alert a, .alert.alert-default a, .alert .alert-link, .alert.alert-default .alert-link { color: rgba(255, 255, 255, 0.84); } .alert.alert-inverse { background-color: #3f51b5; color: #ffffff; } .alert.alert-inverse a, .alert.alert-inverse .alert-link { color: #ffffff; } .alert.alert-primary { background-color: #009688; color: rgba(255, 255, 255, 0.84); } .alert.alert-primary a, .alert.alert-primary .alert-link { color: rgba(255, 255, 255, 0.84); } .alert.alert-success { background-color: #4caf50; color: rgba(255, 255, 255, 0.84); } .alert.alert-success a, .alert.alert-success .alert-link { color: rgba(255, 255, 255, 0.84); } .alert.alert-info { background-color: #03a9f4; color: rgba(255, 255, 255, 0.84); } .alert.alert-info a, .alert.alert-info .alert-link { color: rgba(255, 255, 255, 0.84); } .alert.alert-warning { background-color: #ff5722; color: rgba(255, 255, 255, 0.84); } .alert.alert-warning a, .alert.alert-warning .alert-link { color: rgba(255, 255, 255, 0.84); } .alert.alert-danger { background-color: #f44336; color: rgba(255, 255, 255, 0.84); } .alert.alert-danger a, .alert.alert-danger .alert-link { color: rgba(255, 255, 255, 0.84); } .alert-info, .alert-danger, .alert-warning, .alert-success { color: rgba(255, 255, 255, 0.84); } .alert-default a, .alert-default .alert-link { color: rgba(0, 0, 0, 0.87); } .progress { height: 4px; border-radius: 0; -webkit-box-shadow: none; box-shadow: none; background: #c8c8c8; } .progress .progress-bar { -webkit-box-shadow: none; box-shadow: none; } .progress .progress-bar, .progress .progress-bar.progress-bar-default { background-color: #009688; } .progress .progress-bar.progress-bar-inverse { background-color: #3f51b5; } .progress .progress-bar.progress-bar-primary { background-color: #009688; } .progress .progress-bar.progress-bar-success { background-color: #4caf50; } .progress .progress-bar.progress-bar-info { background-color: #03a9f4; } .progress .progress-bar.progress-bar-warning { background-color: #ff5722; } .progress .progress-bar.progress-bar-danger { background-color: #f44336; } .text-warning { color: #ff5722; } .text-primary { color: #009688; } .text-danger { color: #f44336; } .text-success { color: #4caf50; } .text-info { color: #03a9f4; } .nav-tabs { background: #009688; } .nav-tabs > li > a { color: #FFFFFF; border: 0; margin: 0; } .nav-tabs > li > a:hover { background-color: transparent; border: 0; } .nav-tabs > li > a, .nav-tabs > li > a:hover, .nav-tabs > li > a:focus { background-color: transparent !important; border: 0 !important; color: #FFFFFF !important; font-weight: 500; } .nav-tabs > li.disabled > a, .nav-tabs > li.disabled > a:hover { color: rgba(255, 255, 255, 0.5); } .popover, .tooltip-inner { color: #ececec; line-height: 1em; background: rgba(101, 101, 101, 0.9); border: none; border-radius: 2px; -webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12); box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12); } .tooltip, .tooltip.in { opacity: 1; } .popover .arrow, .tooltip .arrow, .popover .tooltip-arrow, .tooltip .tooltip-arrow { display: none; } .card { /***** Make height equal to width (http://stackoverflow.com/a/6615994) ****/ display: inline-block; position: relative; width: 100%; /**************************************************************************/ border-radius: 2px; color: rgba(0, 0, 0, 0.87); background: #fff; -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } .card .card-height-indicator { margin-top: 100%; } .card .card-content { position: absolute; top: 0; bottom: 0; left: 0; right: 0; } .card .card-image { height: 60%; position: relative; overflow: hidden; } .card .card-image img { width: 100%; height: 100%; border-top-left-radius: 2px; border-top-right-radius: 2px; pointer-events: none; } .card .card-image .card-image-headline { position: absolute; bottom: 16px; left: 18px; color: #fff; font-size: 2em; } .card .card-body { height: 30%; padding: 18px; } .card .card-footer { height: 10%; padding: 18px; } .card .card-footer button, .card .card-footer a { margin: 0 !important; position: relative; bottom: 25px; width: auto; } .card .card-footer button:first-child, .card .card-footer a:first-child { left: -15px; } .modal-content { -webkit-box-shadow: 0 27px 24px 0 rgba(0, 0, 0, 0.2), 0 40px 77px 0 rgba(0, 0, 0, 0.22); box-shadow: 0 27px 24px 0 rgba(0, 0, 0, 0.2), 0 40px 77px 0 rgba(0, 0, 0, 0.22); border-radius: 2px; border: none; } .modal-content .modal-header { border-bottom: none; padding-top: 24px; padding-right: 24px; padding-bottom: 0; padding-left: 24px; } .modal-content .modal-body { padding-top: 24px; padding-right: 24px; padding-bottom: 16px; padding-left: 24px; } .modal-content .modal-footer { border-top: none; padding: 7px; } .modal-content .modal-footer button { margin: 0; padding-left: 16px; padding-right: 16px; width: auto; } .modal-content .modal-footer button.pull-left { padding-left: 5px; padding-right: 5px; position: relative; left: -5px; } .modal-content .modal-footer button + button { margin-bottom: 16px; } .modal-content .modal-body + .modal-footer { padding-top: 0; } .modal-backdrop { background: rgba(0, 0, 0, 0.3); } .panel { border-radius: 2px; border: 0; -webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12); box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12); } .panel > .panel-heading, .panel.panel-default > .panel-heading { background-color: #eeeeee; } .panel.panel-inverse > .panel-heading { background-color: #3f51b5; } .panel.panel-primary > .panel-heading { background-color: #009688; } .panel.panel-success > .panel-heading { background-color: #4caf50; } .panel.panel-info > .panel-heading { background-color: #03a9f4; } .panel.panel-warning > .panel-heading { background-color: #ff5722; } .panel.panel-danger > .panel-heading { background-color: #f44336; } [class*="panel-"] > .panel-heading { color: rgba(255, 255, 255, 0.84); border: 0; } .panel-default > .panel-heading, .panel:not([class*="panel-"]) > .panel-heading { color: rgba(0, 0, 0, 0.87); } .panel-footer { background-color: #eeeeee; } hr.on-dark { color: #1a1a1a; } hr.on-light { color: #ffffff; } @media (-webkit-min-device-pixel-ratio: 0.75), (min--moz-device-pixel-ratio: 0.75), (-o-device-pixel-ratio: 3/4), (min-device-pixel-ratio: 0.75), (-o-min-device-pixel-ratio: 3/4), (min-resolution: 0.75dppx), (-webkit-min-device-pixel-ratio: 1.25), (-o-min-device-pixel-ratio: 5/4), (min-resolution: 120dpi) { hr { height: 0.75px; } } @media (-webkit-min-device-pixel-ratio: 1), (min--moz-device-pixel-ratio: 1), (-o-device-pixel-ratio: 1), (min-device-pixel-ratio: 1), (-o-min-device-pixel-ratio: 1/1), (min-resolution: 1dppx), (-webkit-min-device-pixel-ratio: 1.6666666666666667), (-o-min-device-pixel-ratio: 5/3), (min-resolution: 160dpi) { hr { height: 1px; } } @media (-webkit-min-device-pixel-ratio: 1.33), (min--moz-device-pixel-ratio: 1.33), (-o-device-pixel-ratio: 133/100), (min-device-pixel-ratio: 1.33), (-o-min-device-pixel-ratio: 133/100), (min-resolution: 1.33dppx), (-webkit-min-device-pixel-ratio: 2.21875), (-o-min-device-pixel-ratio: 71/32), (min-resolution: 213dpi) { hr { height: 1.333px; } } @media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-device-pixel-ratio: 3/2), (min-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 2.5), (-o-min-device-pixel-ratio: 5/2), (min-resolution: 240dpi) { hr { height: 1.5px; } } @media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (-o-device-pixel-ratio: 2/1), (min-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1), (min-resolution: 2dppx), (-webkit-min-device-pixel-ratio: 3.9583333333333335), (-o-min-device-pixel-ratio: 95/24), (min-resolution: 380dpi) { hr { height: 2px; } } @media (-webkit-min-device-pixel-ratio: 3), (min--moz-device-pixel-ratio: 3), (-o-device-pixel-ratio: 3/1), (min-device-pixel-ratio: 3), (-o-min-device-pixel-ratio: 3/1), (min-resolution: 3dppx), (-webkit-min-device-pixel-ratio: 5), (-o-min-device-pixel-ratio: 5/1), (min-resolution: 480dpi) { hr { height: 3px; } } @media (-webkit-min-device-pixel-ratio: 4), (min--moz-device-pixel-ratio: 4), (-o-device-pixel-ratio: 4/1), (min-device-pixel-ratio: 3), (-o-min-device-pixel-ratio: 4/1), (min-resolution: 4dppx), (-webkit-min-device-pixel-ratio: 6.666666666666667), (-o-min-device-pixel-ratio: 20/3), (min-resolution: 640dpi) { hr { height: 4px; } } * { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); -webkit-tap-highlight-color: transparent; } *:focus { outline: 0; } .snackbar { background-color: #323232; color: rgba(255, 255, 255, 0.84); font-size: 14px; border-radius: 2px; -webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12); box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12); height: 0; -webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, padding 0s linear 0.2s, height 0s linear 0.2s; -o-transition: -o-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, padding 0s linear 0.2s, height 0s linear 0.2s; transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, padding 0s linear 0.2s, height 0s linear 0.2s; -webkit-transform: translateY(200%); -ms-transform: translateY(200%); -o-transform: translateY(200%); transform: translateY(200%); } .snackbar.snackbar-opened { padding: 14px 15px; margin-bottom: 20px; height: auto; -webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, height 0s linear 0.2s; -o-transition: -o-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, height 0s linear 0.2s; transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, height 0s linear 0.2s; -webkit-transform: none; -ms-transform: none; -o-transform: none; transform: none; } .snackbar.toast { border-radius: 200px; } .noUi-target, .noUi-target * { -webkit-touch-callout: none; -ms-touch-action: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .noUi-base { width: 100%; height: 100%; position: relative; } .noUi-origin { position: absolute; right: 0; top: 0; left: 0; bottom: 0; } .noUi-handle { position: relative; z-index: 1; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .noUi-stacking .noUi-handle { z-index: 10; } .noUi-state-tap .noUi-origin { -webkit-transition: left 0.3s, top 0.3s; -o-transition: left 0.3s, top 0.3s; transition: left 0.3s, top 0.3s; } .noUi-state-drag * { cursor: inherit !important; } .noUi-horizontal { height: 10px; } .noUi-handle { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 12px; height: 12px; left: -10px; top: -5px; cursor: ew-resize; border-radius: 100%; -webkit-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; border: 1px solid; } .noUi-vertical .noUi-handle { margin-left: 5px; cursor: ns-resize; } .noUi-horizontal.noUi-extended { padding: 0 15px; } .noUi-horizontal.noUi-extended .noUi-origin { right: -15px; } .noUi-background { height: 2px; margin: 20px 0; } .noUi-origin { margin: 0; border-radius: 0; height: 2px; background: #c8c8c8; } .noUi-origin[style^="left: 0"] .noUi-handle { background-color: #fff; border: 2px solid #c8c8c8; } .noUi-origin[style^="left: 0"] .noUi-handle.noUi-active { border-width: 1px; } .noUi-target { border-radius: 2px; } .noUi-horizontal { height: 2px; margin: 15px 0; } .noUi-vertical { height: 100%; width: 2px; margin: 0 15px; display: inline-block; } .noUi-handle.noUi-active { -webkit-transform: scale3d(2.5, 2.5, 1); transform: scale3d(2.5, 2.5, 1); } [disabled].noUi-slider { opacity: 0.5; } [disabled] .noUi-handle { cursor: not-allowed; } .slider { background: #c8c8c8; } .slider.noUi-connect, .slider.slider-default.noUi-connect { background-color: #009688; } .slider.slider-inverse.noUi-connect { background-color: #3f51b5; } .slider.slider-primary.noUi-connect { background-color: #009688; } .slider.slider-success.noUi-connect { background-color: #4caf50; } .slider.slider-info.noUi-connect { background-color: #03a9f4; } .slider.slider-warning.noUi-connect { background-color: #ff5722; } .slider.slider-danger.noUi-connect { background-color: #f44336; } .slider .noUi-connect, .slider.slider-default .noUi-connect { background-color: #009688; } .slider.slider-inverse .noUi-connect { background-color: #3f51b5; } .slider.slider-primary .noUi-connect { background-color: #009688; } .slider.slider-success .noUi-connect { background-color: #4caf50; } .slider.slider-info .noUi-connect { background-color: #03a9f4; } .slider.slider-warning .noUi-connect { background-color: #ff5722; } .slider.slider-danger .noUi-connect { background-color: #f44336; } .slider .noUi-handle, .slider.slider-default .noUi-handle { background-color: #009688; } .slider.slider-inverse .noUi-handle { background-color: #3f51b5; } .slider.slider-primary .noUi-handle { background-color: #009688; } .slider.slider-success .noUi-handle { background-color: #4caf50; } .slider.slider-info .noUi-handle { background-color: #03a9f4; } .slider.slider-warning .noUi-handle { background-color: #ff5722; } .slider.slider-danger .noUi-handle { background-color: #f44336; } .slider .noUi-handle, .slider.slider-default .noUi-handle { border-color: #009688; } .slider.slider-inverse .noUi-handle { border-color: #3f51b5; } .slider.slider-primary .noUi-handle { border-color: #009688; } .slider.slider-success .noUi-handle { border-color: #4caf50; } .slider.slider-info .noUi-handle { border-color: #03a9f4; } .slider.slider-warning .noUi-handle { border-color: #ff5722; } .slider.slider-danger .noUi-handle { border-color: #f44336; } .selectize-control.single, .selectize-control.multi { padding: 0; } .selectize-control.single .selectize-input, .selectize-control.multi .selectize-input, .selectize-control.single .selectize-input.input-active, .selectize-control.multi .selectize-input.input-active { cursor: text; background: transparent; -webkit-box-shadow: none; box-shadow: none; border: 0; padding: 0; height: 100%; font-size: 14px; line-height: 30px; } .selectize-control.single .selectize-input .has-items, .selectize-control.multi .selectize-input .has-items, .selectize-control.single .selectize-input.input-active .has-items, .selectize-control.multi .selectize-input.input-active .has-items { padding: 0; } .selectize-control.single .selectize-input:after, .selectize-control.multi .selectize-input:after, .selectize-control.single .selectize-input.input-active:after, .selectize-control.multi .selectize-input.input-active:after { right: 5px; position: absolute; font-size: 25px; content: "\e5c5"; font-family: 'Material Icons'; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .selectize-control.single .selectize-input input, .selectize-control.multi .selectize-input input, .selectize-control.single .selectize-input.input-active input, .selectize-control.multi .selectize-input.input-active input { font-size: 14px; outline: 0; border: 0; background: transparent; } .selectize-control.single .selectize-input.label-floating-fix input, .selectize-control.multi .selectize-input.label-floating-fix input, .selectize-control.single .selectize-input.input-active.label-floating-fix input, .selectize-control.multi .selectize-input.input-active.label-floating-fix input { opacity: 0; } .selectize-control.single .selectize-input > div, .selectize-control.multi .selectize-input > div, .selectize-control.single .selectize-input.input-active > div, .selectize-control.multi .selectize-input.input-active > div, .selectize-control.single .selectize-input > .item, .selectize-control.multi .selectize-input > .item, .selectize-control.single .selectize-input.input-active > .item, .selectize-control.multi .selectize-input.input-active > .item { display: inline-block; margin: 0 8px 3px 0; padding: 0; background: transparent; border: 0; } .selectize-control.single .selectize-input > div:after, .selectize-control.multi .selectize-input > div:after, .selectize-control.single .selectize-input.input-active > div:after, .selectize-control.multi .selectize-input.input-active > div:after, .selectize-control.single .selectize-input > .item:after, .selectize-control.multi .selectize-input > .item:after, .selectize-control.single .selectize-input.input-active > .item:after, .selectize-control.multi .selectize-input.input-active > .item:after { content: ","; } .selectize-control.single .selectize-input > div:last-of-type:after, .selectize-control.multi .selectize-input > div:last-of-type:after, .selectize-control.single .selectize-input.input-active > div:last-of-type:after, .selectize-control.multi .selectize-input.input-active > div:last-of-type:after, .selectize-control.single .selectize-input > .item:last-of-type:after, .selectize-control.multi .selectize-input > .item:last-of-type:after, .selectize-control.single .selectize-input.input-active > .item:last-of-type:after, .selectize-control.multi .selectize-input.input-active > .item:last-of-type:after { content: ""; } .selectize-control.single .selectize-input > div.active, .selectize-control.multi .selectize-input > div.active, .selectize-control.single .selectize-input.input-active > div.active, .selectize-control.multi .selectize-input.input-active > div.active, .selectize-control.single .selectize-input > .item.active, .selectize-control.multi .selectize-input > .item.active, .selectize-control.single .selectize-input.input-active > .item.active, .selectize-control.multi .selectize-input.input-active > .item.active { font-weight: bold; background: transparent; border: 0; } .selectize-control.single .selectize-dropdown, .selectize-control.multi .selectize-dropdown { position: absolute; z-index: 1000; border: 0; width: 100% !important; left: 0 !important; height: auto; background-color: #FFF; -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); border-radius: 2px; padding: 0; margin-top: 3px; } .selectize-control.single .selectize-dropdown .active, .selectize-control.multi .selectize-dropdown .active { background-color: inherit; } .selectize-control.single .selectize-dropdown .highlight, .selectize-control.multi .selectize-dropdown .highlight { background-color: #d5d8ff; } .selectize-control.single .selectize-dropdown .selected, .selectize-control.multi .selectize-dropdown .selected, .selectize-control.single .selectize-dropdown .selected.active, .selectize-control.multi .selectize-dropdown .selected.active { background-color: #EEEEEE; } .selectize-control.single .selectize-dropdown [data-selectable], .selectize-control.multi .selectize-dropdown [data-selectable], .selectize-control.single .selectize-dropdown .optgroup-header, .selectize-control.multi .selectize-dropdown .optgroup-header { padding: 10px 20px; cursor: pointer; } .selectize-control.single .dropdown-active ~ .selectize-dropdown, .selectize-control.multi .dropdown-active ~ .selectize-dropdown { display: block; } .dropdownjs::after { right: 5px; top: 3px; font-size: 25px; position: absolute; font-family: 'Material Icons'; font-style: normal; font-weight: 400; content: "\e5c5"; pointer-events: none; color: #757575; } /*# sourceMappingURL=bootstrap-material-design.css.map */
{ "content_hash": "ea418837ca3341a9e30a6fe2f4b30dcd", "timestamp": "", "source": "github", "line_count": 3954, "max_line_length": 321, "avg_line_length": 28.0257966616085, "alnum_prop": 0.6702672947461512, "repo_name": "liucloo/liuclblog", "id": "22c2c3f87d7f21fdffc7768653349357e316b56e", "size": "110814", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "blog/static/bootstrap/css/bootstrap-material-design.css", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "13996" }, { "name": "HTML", "bytes": "99780" }, { "name": "JavaScript", "bytes": "58646" }, { "name": "Nginx", "bytes": "1161" }, { "name": "PLpgSQL", "bytes": "9467" }, { "name": "Python", "bytes": "63089" }, { "name": "Shell", "bytes": "44" } ], "symlink_target": "" }
package org.apache.hadoop.hive.ql.exec.mr; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import java.util.Properties; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import org.apache.hadoop.fs.ContentSummary; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.FileUtil; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.common.io.CachingPrintStream; import org.apache.hadoop.hive.common.metrics.common.Metrics; import org.apache.hadoop.hive.common.metrics.common.MetricsConstant; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.ql.Context; import org.apache.hadoop.hive.ql.MapRedStats; import org.apache.hadoop.hive.ql.exec.Operator; import org.apache.hadoop.hive.ql.exec.SerializationUtilities; import org.apache.hadoop.hive.ql.exec.Utilities; import org.apache.hadoop.hive.ql.plan.MapWork; import org.apache.hadoop.hive.ql.plan.MapredWork; import org.apache.hadoop.hive.ql.plan.OperatorDesc; import org.apache.hadoop.hive.ql.plan.ReduceWork; import org.apache.hadoop.hive.ql.session.SessionState; import org.apache.hadoop.hive.ql.session.SessionState.ResourceType; import org.apache.hadoop.hive.shims.ShimLoader; import org.apache.hadoop.hive.shims.Utils; import org.apache.hive.common.util.StreamPrinter; import org.apache.hadoop.mapred.RunningJob; import com.google.common.annotations.VisibleForTesting; import org.json.JSONException; import static org.apache.hadoop.security.UserGroupInformation.AuthenticationMethod.PROXY; /** * Extension of ExecDriver: * - can optionally spawn a map-reduce task from a separate jvm * - will make last minute adjustments to map-reduce job parameters, viz: * * estimating number of reducers * * estimating whether job should run locally **/ public class MapRedTask extends ExecDriver implements Serializable { private static final long serialVersionUID = 1L; static final String HADOOP_MEM_KEY = "HADOOP_HEAPSIZE"; static final String HADOOP_OPTS_KEY = "HADOOP_OPTS"; static final String HADOOP_CLIENT_OPTS = "HADOOP_CLIENT_OPTS"; static final String HIVE_DEBUG_RECURSIVE = "HIVE_DEBUG_RECURSIVE"; static final String HIVE_MAIN_CLIENT_DEBUG_OPTS = "HIVE_MAIN_CLIENT_DEBUG_OPTS"; static final String HIVE_CHILD_CLIENT_DEBUG_OPTS = "HIVE_CHILD_CLIENT_DEBUG_OPTS"; static final String[] HIVE_SYS_PROP = {"build.dir", "build.dir.hive", "hive.query.id"}; static final String HADOOP_PROXY_USER = "HADOOP_PROXY_USER"; private transient ContentSummary inputSummary = null; private transient boolean runningViaChild = false; private transient long totalInputFileSize; private transient long totalInputNumFiles; private Process executor; public MapRedTask() { super(); } @Override public int execute() { boolean ctxCreated = false; Context ctx = context; try { if (ctx == null) { ctx = new Context(conf); ctxCreated = true; } // estimate number of reducers setNumberOfReducers(); // auto-determine local mode if allowed if (!ctx.isLocalOnlyExecutionMode() && conf.getBoolVar(HiveConf.ConfVars.LOCALMODEAUTO)) { if (inputSummary == null) { inputSummary = Utilities.getInputSummary(ctx, work.getMapWork(), null); } // set the values of totalInputFileSize and totalInputNumFiles, estimating them // if percentage block sampling is being used double samplePercentage = Utilities.getHighestSamplePercentage(work.getMapWork()); totalInputFileSize = Utilities.getTotalInputFileSize(inputSummary, work.getMapWork(), samplePercentage); totalInputNumFiles = Utilities.getTotalInputNumFiles(inputSummary, work.getMapWork(), samplePercentage); // at this point the number of reducers is precisely defined in the plan int numReducers = work.getReduceWork() == null ? 0 : work.getReduceWork().getNumReduceTasks(); if (LOG.isDebugEnabled()) { LOG.debug("Task: " + getId() + ", Summary: " + totalInputFileSize + "," + totalInputNumFiles + "," + numReducers); } String reason = MapRedTask.isEligibleForLocalMode(conf, numReducers, totalInputFileSize, totalInputNumFiles); if (reason == null) { // clone configuration before modifying it on per-task basis cloneConf(); ShimLoader.getHadoopShims().setJobLauncherRpcAddress(conf, "local"); console.printInfo("Selecting local mode for task: " + getId()); this.setLocalMode(true); } else { console.printInfo("Cannot run job locally: " + reason); this.setLocalMode(false); } } runningViaChild = conf.getBoolVar(HiveConf.ConfVars.SUBMITVIACHILD); if (!runningViaChild) { // since we are running the mapred task in the same jvm, we should update the job conf // in ExecDriver as well to have proper local properties. if (this.isLocalMode()) { // save the original job tracker ctx.setOriginalTracker(ShimLoader.getHadoopShims().getJobLauncherRpcAddress(job)); // change it to local ShimLoader.getHadoopShims().setJobLauncherRpcAddress(job, "local"); } // we are not running this mapred task via child jvm // so directly invoke ExecDriver int ret = super.execute(); // restore the previous properties for framework name, RM address etc. if (this.isLocalMode()) { // restore the local job tracker back to original ctx.restoreOriginalTracker(); } return ret; } // we need to edit the configuration to setup cmdline. clone it first cloneConf(); // propagate input format if necessary super.setInputAttributes(conf); // enable assertion String hadoopExec = conf.getVar(HiveConf.ConfVars.HADOOPBIN); String hiveJar = conf.getJar(); String libJars = super.getResource(conf, ResourceType.JAR); String libJarsOption = StringUtils.isEmpty(libJars) ? " " : " -libjars " + libJars + " "; // Generate the hiveConfArgs after potentially adding the jars String hiveConfArgs = generateCmdLine(conf, ctx); // write out the plan to a local file Path planPath = new Path(ctx.getLocalTmpPath(), "plan.xml"); MapredWork plan = getWork(); LOG.info("Generating plan file " + planPath.toString()); OutputStream out = null; try { out = FileSystem.getLocal(conf).create(planPath); SerializationUtilities.serializePlan(plan, out); out.close(); out = null; } finally { IOUtils.closeQuietly(out); } String isSilent = "true".equalsIgnoreCase(System .getProperty("test.silent")) ? "-nolog" : ""; String jarCmd = hiveJar + " " + ExecDriver.class.getName() + libJarsOption; String cmdLine = hadoopExec + " jar " + jarCmd + " -plan " + planPath.toString() + " " + isSilent + " " + hiveConfArgs; String workDir = (new File(".")).getCanonicalPath(); String files = super.getResource(conf, ResourceType.FILE); if (!files.isEmpty()) { cmdLine = cmdLine + " -files " + files; workDir = ctx.getLocalTmpPath().toUri().getPath(); if (! (new File(workDir)).mkdir()) { throw new IOException ("Cannot create tmp working dir: " + workDir); } for (String f: StringUtils.split(files, ',')) { Path p = new Path(f); String target = p.toUri().getPath(); String link = workDir + Path.SEPARATOR + p.getName(); if (FileUtil.symLink(target, link) != 0) { throw new IOException ("Cannot link to added file: " + target + " from: " + link); } } } LOG.info("Executing: " + cmdLine); // Inherit Java system variables String hadoopOpts; StringBuilder sb = new StringBuilder(); Properties p = System.getProperties(); for (String element : HIVE_SYS_PROP) { if (p.containsKey(element)) { sb.append(" -D" + element + "=" + p.getProperty(element)); } } hadoopOpts = sb.toString(); // Inherit the environment variables String[] env; Map<String, String> variables = new HashMap<String, String>(System.getenv()); // The user can specify the hadoop memory if (ShimLoader.getHadoopShims().isLocalMode(conf)) { // if we are running in local mode - then the amount of memory used // by the child jvm can no longer default to the memory used by the // parent jvm int hadoopMem = conf.getIntVar(HiveConf.ConfVars.HIVEHADOOPMAXMEM); if (hadoopMem == 0) { // remove env var that would default child jvm to use parent's memory // as default. child jvm would use default memory for a hadoop client variables.remove(HADOOP_MEM_KEY); } else { // user specified the memory for local mode hadoop run variables.put(HADOOP_MEM_KEY, String.valueOf(hadoopMem)); } } else { // nothing to do - we are not running in local mode - only submitting // the job via a child process. in this case it's appropriate that the // child jvm use the same memory as the parent jvm } if (variables.containsKey(HADOOP_OPTS_KEY)) { variables.put(HADOOP_OPTS_KEY, variables.get(HADOOP_OPTS_KEY) + hadoopOpts); } else { variables.put(HADOOP_OPTS_KEY, hadoopOpts); } if(variables.containsKey(HIVE_DEBUG_RECURSIVE)) { configureDebugVariablesForChildJVM(variables); } if (PROXY == Utils.getUGI().getAuthenticationMethod()) { variables.put(HADOOP_PROXY_USER, Utils.getUGI().getShortUserName()); } env = new String[variables.size()]; int pos = 0; for (Map.Entry<String, String> entry : variables.entrySet()) { String name = entry.getKey(); String value = entry.getValue(); env[pos++] = name + "=" + value; } // Run ExecDriver in another JVM executor = spawn(cmdLine, workDir, env); CachingPrintStream errPrintStream = new CachingPrintStream(SessionState.getConsole().getChildErrStream()); StreamPrinter outPrinter = new StreamPrinter( executor.getInputStream(), null, SessionState.getConsole().getChildOutStream()); StreamPrinter errPrinter = new StreamPrinter( executor.getErrorStream(), null, errPrintStream); outPrinter.start(); errPrinter.start(); int exitVal = jobExecHelper.progressLocal(executor, getId()); // wait for stream threads to finish outPrinter.join(); errPrinter.join(); if (exitVal != 0) { LOG.error("Execution failed with exit status: " + exitVal); if (SessionState.get() != null) { SessionState.get().addLocalMapRedErrors(getId(), errPrintStream.getOutput()); } } else { LOG.info("Execution completed successfully"); } return exitVal; } catch (Exception e) { LOG.error("Got exception", e); return (1); } finally { try { // creating the context can create a bunch of files. So make // sure to clear it out if (ctxCreated) { ctx.clear(); } } catch (Exception e) { LOG.error("Exception: ", e); } } } @VisibleForTesting Process spawn(String cmdLine, String workDir, String[] env) throws IOException { return Runtime.getRuntime().exec(cmdLine, env, new File(workDir)); } static void configureDebugVariablesForChildJVM(Map<String, String> environmentVariables) { // this method contains various asserts to warn if environment variables are in a buggy state assert environmentVariables.containsKey(HADOOP_CLIENT_OPTS) && environmentVariables.get(HADOOP_CLIENT_OPTS) != null : HADOOP_CLIENT_OPTS + " environment variable must be set when JVM in debug mode"; String hadoopClientOpts = environmentVariables.get(HADOOP_CLIENT_OPTS); assert environmentVariables.containsKey(HIVE_MAIN_CLIENT_DEBUG_OPTS) && environmentVariables.get(HIVE_MAIN_CLIENT_DEBUG_OPTS) != null : HIVE_MAIN_CLIENT_DEBUG_OPTS + " environment variable must be set when JVM in debug mode"; assert hadoopClientOpts.contains(environmentVariables.get(HIVE_MAIN_CLIENT_DEBUG_OPTS)) : HADOOP_CLIENT_OPTS + " environment variable must contain debugging parameters, when JVM in debugging mode"; assert "y".equals(environmentVariables.get(HIVE_DEBUG_RECURSIVE)) || "n".equals(environmentVariables.get(HIVE_DEBUG_RECURSIVE)) : HIVE_DEBUG_RECURSIVE + " environment variable must be set to \"y\" or \"n\" when debugging"; if (environmentVariables.get(HIVE_DEBUG_RECURSIVE).equals("y")) { // HADOOP_CLIENT_OPTS is appended to HADOOP_OPTS in HADOOP.sh, so we should remove the old // HADOOP_CLIENT_OPTS which might have the main debug options from current HADOOP_OPTS. A new // HADOOP_CLIENT_OPTS is created with child JVM debug options, and it will be appended to // HADOOP_OPTS agina when HADOOP.sh is executed for the child process. assert environmentVariables.containsKey(HADOOP_OPTS_KEY) && environmentVariables.get(HADOOP_OPTS_KEY) != null: HADOOP_OPTS_KEY + " environment variable must have been set."; environmentVariables.put(HADOOP_OPTS_KEY, environmentVariables.get(HADOOP_OPTS_KEY) .replace(environmentVariables.get(HADOOP_CLIENT_OPTS), "")); // swap debug options in HADOOP_CLIENT_OPTS to those that the child JVM should have assert environmentVariables.containsKey(HIVE_CHILD_CLIENT_DEBUG_OPTS) && environmentVariables.get(HIVE_CHILD_CLIENT_DEBUG_OPTS) != null : HIVE_CHILD_CLIENT_DEBUG_OPTS + " environment variable must be set when JVM in debug mode"; String newHadoopClientOpts = hadoopClientOpts.replace( environmentVariables.get(HIVE_MAIN_CLIENT_DEBUG_OPTS), environmentVariables.get(HIVE_CHILD_CLIENT_DEBUG_OPTS)); environmentVariables.put(HADOOP_CLIENT_OPTS, newHadoopClientOpts); } else { // remove from HADOOP_CLIENT_OPTS any debug related options String newHadoopClientOpts = hadoopClientOpts.replace( environmentVariables.get(HIVE_MAIN_CLIENT_DEBUG_OPTS), "").trim(); if (newHadoopClientOpts.isEmpty()) { environmentVariables.remove(HADOOP_CLIENT_OPTS); } else { environmentVariables.put(HADOOP_CLIENT_OPTS, newHadoopClientOpts); } } // child JVM won't need to change debug parameters when creating it's own children environmentVariables.remove(HIVE_DEBUG_RECURSIVE); } @Override public boolean mapStarted() { boolean b = super.mapStarted(); return runningViaChild ? done() : b; } @Override public boolean reduceStarted() { boolean b = super.reduceStarted(); return runningViaChild ? done() : b; } @Override public boolean mapDone() { boolean b = super.mapDone(); return runningViaChild ? done() : b; } @Override public boolean reduceDone() { boolean b = super.reduceDone(); return runningViaChild ? done() : b; } @Override public void updateTaskMetrics(Metrics metrics) { metrics.incrementCounter(MetricsConstant.HIVE_MR_TASKS); } /** * Set the number of reducers for the mapred work. */ private void setNumberOfReducers() throws IOException { ReduceWork rWork = work.getReduceWork(); // this is a temporary hack to fix things that are not fixed in the compiler Integer numReducersFromWork = rWork == null ? 0 : rWork.getNumReduceTasks(); if (rWork == null) { console .printInfo("Number of reduce tasks is set to 0 since there's no reduce operator"); } else { if (numReducersFromWork >= 0) { console.printInfo("Number of reduce tasks determined at compile time: " + rWork.getNumReduceTasks()); } else if (job.getNumReduceTasks() > 0) { int reducers = job.getNumReduceTasks(); rWork.setNumReduceTasks(reducers); console .printInfo("Number of reduce tasks not specified. Defaulting to jobconf value of: " + reducers); } else { if (inputSummary == null) { inputSummary = Utilities.getInputSummary(context, work.getMapWork(), null); } int reducers = Utilities.estimateNumberOfReducers(conf, inputSummary, work.getMapWork(), work.isFinalMapRed()); rWork.setNumReduceTasks(reducers); console .printInfo("Number of reduce tasks not specified. Estimated from input data size: " + reducers); } console .printInfo("In order to change the average load for a reducer (in bytes):"); console.printInfo(" set " + HiveConf.ConfVars.BYTESPERREDUCER.varname + "=<number>"); console.printInfo("In order to limit the maximum number of reducers:"); console.printInfo(" set " + HiveConf.ConfVars.MAXREDUCERS.varname + "=<number>"); console.printInfo("In order to set a constant number of reducers:"); console.printInfo(" set " + HiveConf.ConfVars.HADOOPNUMREDUCERS + "=<number>"); } } /** * Find out if a job can be run in local mode based on it's characteristics * * @param conf Hive Configuration * @param numReducers total number of reducers for this job * @param inputLength the size of the input * @param inputFileCount the number of files of input * @return String null if job is eligible for local mode, reason otherwise */ public static String isEligibleForLocalMode(HiveConf conf, int numReducers, long inputLength, long inputFileCount) { long maxBytes = conf.getLongVar(HiveConf.ConfVars.LOCALMODEMAXBYTES); long maxInputFiles = conf.getIntVar(HiveConf.ConfVars.LOCALMODEMAXINPUTFILES); // check for max input size if (inputLength > maxBytes) { return "Input Size (= " + inputLength + ") is larger than " + HiveConf.ConfVars.LOCALMODEMAXBYTES.varname + " (= " + maxBytes + ")"; } // ideally we would like to do this check based on the number of splits // in the absence of an easy way to get the number of splits - do this // based on the total number of files (pessimistically assumming that // splits are equal to number of files in worst case) if (inputFileCount > maxInputFiles) { return "Number of Input Files (= " + inputFileCount + ") is larger than " + HiveConf.ConfVars.LOCALMODEMAXINPUTFILES.varname + "(= " + maxInputFiles + ")"; } // since local mode only runs with 1 reducers - make sure that the // the number of reducers (set by user or inferred) is <=1 if (numReducers > 1) { return "Number of reducers (= " + numReducers + ") is more than 1"; } return null; } @Override public Operator<? extends OperatorDesc> getReducer(MapWork mapWork) { if (getWork().getMapWork() == mapWork) { return getWork().getReduceWork() == null ? null : getWork().getReduceWork().getReducer(); } return null; } public void updateWebUiStats(MapRedStats mapRedStats, RunningJob rj) { if (queryDisplay != null && conf.getBoolVar(HiveConf.ConfVars.HIVE_SERVER2_WEBUI_SHOW_STATS) && conf.getBoolVar(HiveConf.ConfVars.HIVE_SERVER2_WEBUI_SHOW_GRAPH) && conf.getBoolVar(HiveConf.ConfVars.HIVE_SERVER2_WEBUI_EXPLAIN_OUTPUT)) { try { queryDisplay.updateTaskStatistics(mapRedStats, rj, getId()); } catch (IOException | JSONException e) { LOG.error("Failed to update web UI stats", e); } } } @Override public void shutdown() { super.shutdown(); if (executor != null) { executor.destroy(); executor = null; } } }
{ "content_hash": "1cc7c1370f7d4844f3c30bde272b8e93", "timestamp": "", "source": "github", "line_count": 522, "max_line_length": 112, "avg_line_length": 39.00574712643678, "alnum_prop": 0.6603310249987722, "repo_name": "lirui-apache/hive", "id": "48aaf42268aaba5a37ea75f7672f1a622cd43321", "size": "21166", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapRedTask.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "ANTLR", "bytes": "54376" }, { "name": "Batchfile", "bytes": "845" }, { "name": "C", "bytes": "28218" }, { "name": "C++", "bytes": "45308" }, { "name": "CSS", "bytes": "5157" }, { "name": "GAP", "bytes": "179818" }, { "name": "HTML", "bytes": "58711" }, { "name": "HiveQL", "bytes": "7568849" }, { "name": "Java", "bytes": "52828789" }, { "name": "JavaScript", "bytes": "43855" }, { "name": "M4", "bytes": "2276" }, { "name": "PHP", "bytes": "148097" }, { "name": "PLSQL", "bytes": "5261" }, { "name": "PLpgSQL", "bytes": "302587" }, { "name": "Perl", "bytes": "319842" }, { "name": "PigLatin", "bytes": "12333" }, { "name": "Python", "bytes": "408633" }, { "name": "Roff", "bytes": "5379" }, { "name": "SQLPL", "bytes": "409" }, { "name": "Shell", "bytes": "299497" }, { "name": "TSQL", "bytes": "2556735" }, { "name": "Thrift", "bytes": "144783" }, { "name": "XSLT", "bytes": "20199" }, { "name": "q", "bytes": "320552" } ], "symlink_target": "" }
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Chapter 9.  The DbMpoolFile Handle</title> <link rel="stylesheet" href="apiReference.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> <link rel="start" href="index.html" title="Berkeley DB C++ API Reference" /> <link rel="up" href="index.html" title="Berkeley DB C++ API Reference" /> <link rel="prev" href="logcompare.html" title="DbEnv::log_compare()" /> <link rel="next" href="dbget_mpf.html" title="Db::get_mpf()" /> </head> <body> <div xmlns="" class="navheader"> <div class="libver"> <p>Library Version 11.2.5.3</p> </div> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">Chapter 9.  The DbMpoolFile Handle </th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="logcompare.html">Prev</a> </td> <th width="60%" align="center"> </th> <td width="20%" align="right"> <a accesskey="n" href="dbget_mpf.html">Next</a></td> </tr> </table> <hr /> </div> <div class="chapter" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h2 class="title"><a id="memp"></a>Chapter 9.  The DbMpoolFile Handle </h2> </div> </div> </div> <pre class="programlisting">#include &lt;db_cxx.h&gt; class DbMpoolFile { public: DB_MPOOLFILE *DbMpoolFile::get_DB_MPOOLFILE(); const DB_MPOOLFILE *DbMpoolFile::get_const_DB_MPOOLFILE() const; ... }; </pre> <p> The memory pool interfaces for the Berkeley DB database environment are methods of the <a class="link" href="env.html" title="Chapter 5.  The DbEnv Handle">DbEnv</a> handle. The <a class="link" href="env.html" title="Chapter 5.  The DbEnv Handle">DbEnv</a> memory pool methods and the <code class="classname">DB_MPOOLFILE</code> class provide general-purpose, page-oriented buffer management of files. Although designed to work with the other <a class="link" href="db.html" title="Chapter 2.  The Db Handle">Db</a>classes, they are also useful for more general purposes. The memory pools are referred to in this document as simply <span class="emphasis"><em>the cache</em></span>. </p> <p> The cache may be shared between processes. The cache is usually filled by pages from one or more files. Pages in the cache are replaced in LRU (least-recently-used) order, with each new page replacing the page that has been unused the longest. Pages retrieved from the cache using <a class="xref" href="mempfget.html" title="DbMpoolFile::get()">DbMpoolFile::get()</a> are <span class="emphasis"><em>pinned</em></span> in the cache until they are returned to the control of the cache using the <a class="xref" href="mempput.html" title="DbMpoolFile::put()">DbMpoolFile::put()</a> method. </p> <p> The <code class="classname">DbMpoolFile</code> object is the handle for a file in the cache. The handle is not free-threaded. Once the <a class="xref" href="mempfclose.html" title="DbMpoolFile::close()">DbMpoolFile::close()</a> method is called, the handle may not be accessed again, regardless of that method's return. </p> <div class="sect1" lang="en" xml:lang="en"> <div class="titlepage"> <div> <div> <h2 class="title" style="clear: both"><a id="memplist"></a>Memory Pools and Related Methods</h2> </div> </div> </div> <div class="navtable"> <table border="1" width="80%"> <thead> <tr> <th>Memory Pools and Related Methods</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td> <a class="xref" href="dbmemory.html" title="DbMemoryException">DbMemoryException</a> </td> <td>Exception class for insufficient memory</td> </tr> <tr> <td> <a class="xref" href="dbget_mpf.html" title="Db::get_mpf()">Db::get_mpf()</a> </td> <td>Return the DbMpoolFile for a Db</td> </tr> <tr> <td> <a class="xref" href="mempstat.html" title="DbEnv::memp_stat()">DbEnv::memp_stat()</a> </td> <td>Return cache statistics</td> </tr> <tr> <td> <a class="xref" href="mempstat_print.html" title="DbEnv::memp_stat_print()">DbEnv::memp_stat_print()</a> </td> <td>Print cache statistics</td> </tr> <tr> <td> <a class="xref" href="mempsync.html" title="DbEnv::memp_sync()">DbEnv::memp_sync()</a> </td> <td>Flush all pages from the cache</td> </tr> <tr> <td> <a class="xref" href="memptrickle.html" title="DbEnv::memp_trickle()">DbEnv::memp_trickle()</a> </td> <td>Flush some pages from the cache</td> </tr> <tr> <td colspan="2"> <span class="bold"> <strong>Memory Pool Configuration</strong> </span> </td> </tr> <tr> <td> <a class="xref" href="mempregister.html" title="DbEnv::memp_register()">DbEnv::memp_register()</a> </td> <td>Register a custom file type</td> </tr> <tr> <td><a class="xref" href="envset_cache_max.html" title="DbEnv::set_cache_max()">DbEnv::set_cache_max()</a>, <a class="xref" href="envget_cache_max.html" title="DbEnv::get_cache_max()">DbEnv::get_cache_max()</a></td> <td>Set/get the maximum cache size</td> </tr> <tr> <td><a class="xref" href="envset_cachesize.html" title="DbEnv::set_cachesize()">DbEnv::set_cachesize()</a>, <a class="xref" href="envget_cachesize.html" title="DbEnv::get_cachesize()">DbEnv::get_cachesize()</a></td> <td>Set/get the environment cache size</td> </tr> <tr> <td><a class="xref" href="mempset_mp_max_openfd.html" title="DbEnv::set_mp_max_openfd()">DbEnv::set_mp_max_openfd()</a>, <a class="xref" href="mempget_mp_max_openfd.html" title="DbEnv::get_mp_max_openfd()">DbEnv::get_mp_max_openfd()</a></td> <td>Set/get the maximum number of open file descriptors</td> </tr> <tr> <td><a class="xref" href="mempset_mp_max_write.html" title="DbEnv::set_mp_max_write()">DbEnv::set_mp_max_write()</a>, <a class="xref" href="mempget_mp_max_write.html" title="DbEnv::get_mp_max_write()">DbEnv::get_mp_max_write()</a></td> <td>Set/get the maximum number of sequential disk writes</td> </tr> <tr> <td><a class="xref" href="envset_mp_mmapsize.html" title="DbEnv::set_mp_mmapsize()">DbEnv::set_mp_mmapsize()</a>, <a class="xref" href="envget_mp_mmapsize.html" title="DbEnv::get_mp_mmapsize()">DbEnv::get_mp_mmapsize()</a></td> <td>Set/get maximum file size to memory map when opened read-only</td> </tr> <tr> <td><a class="xref" href="envset_mp_mtxcount.html" title="DbEnv::set_mp_mtxcount()">DbEnv::set_mp_mtxcount()</a>, <a class="xref" href="envget_mp_mtxcount.html" title="DbEnv::get_mp_mtxcount()">DbEnv::get_mp_mtxcount()</a></td> <td>Set/get the number of mutexes allocated to the hash table</td> </tr> <tr> <td><a class="xref" href="envset_mp_pagesize.html" title="DbEnv::set_mp_pagesize()">DbEnv::set_mp_pagesize()</a>, <a class="xref" href="envget_mp_pagesize.html" title="DbEnv::get_mp_pagesize()">DbEnv::get_mp_pagesize()</a></td> <td>Set/get page size to configure the buffer pool</td> </tr> <tr> <td><a class="xref" href="envset_mp_tablesize.html" title="DbEnv::set_mp_tablesize()">DbEnv::set_mp_tablesize()</a>, <a class="xref" href="envget_mp_tablesize.html" title="DbEnv::get_mp_tablesize()">DbEnv::get_mp_tablesize()</a></td> <td>Set/get the hash table size</td> </tr> <tr> <td colspan="2"> <span class="bold"> <strong>Memory Pool Files</strong> </span> </td> </tr> <tr> <td> <a class="xref" href="mempfcreate.html" title="DbEnv::memp_fcreate()">DbEnv::memp_fcreate()</a> </td> <td>Create a memory pool file handle</td> </tr> <tr> <td> <a class="xref" href="mempfclose.html" title="DbMpoolFile::close()">DbMpoolFile::close()</a> </td> <td>Close a file in the cache</td> </tr> <tr> <td> <a class="xref" href="mempfget.html" title="DbMpoolFile::get()">DbMpoolFile::get()</a> </td> <td>Get page from a file in the cache</td> </tr> <tr> <td> <a class="xref" href="mempfopen.html" title="DbMpoolFile::open()">DbMpoolFile::open()</a> </td> <td>Open a file in the cache</td> </tr> <tr> <td> <a class="xref" href="mempput.html" title="DbMpoolFile::put()">DbMpoolFile::put()</a> </td> <td>Return a page to the cache</td> </tr> <tr> <td> <a class="xref" href="mempfsync.html" title="DbMpoolFile::sync()">DbMpoolFile::sync()</a> </td> <td>Flush pages from a file from the cache</td> </tr> <tr> <td colspan="2"> <span class="bold"> <strong>Memory Pool File Configuration</strong> </span> </td> </tr> <tr> <td><a class="xref" href="mempset_clear_len.html" title="DbMpoolFile::set_clear_len()">DbMpoolFile::set_clear_len()</a>, <a class="xref" href="mempget_clear_len.html" title="DbMpoolFile::get_clear_len()">DbMpoolFile::get_clear_len()</a></td> <td>Set/get number of bytes to clear when creating a new page</td> </tr> <tr> <td><a class="xref" href="mempset_fileid.html" title="DbMpoolFile::set_fileid()">DbMpoolFile::set_fileid()</a>, <a class="xref" href="mempget_fileid.html" title="DbMpoolFile::get_fileid()">DbMpoolFile::get_fileid()</a></td> <td>Set/get file unique identifier</td> </tr> <tr> <td><a class="xref" href="mempset_flags.html" title="DbMpoolFile::set_flags()">DbMpoolFile::set_flags()</a>, <a class="xref" href="mempget_flags.html" title="DbMpoolFile::get_flags()">DbMpoolFile::get_flags()</a></td> <td>Set/get file options</td> </tr> <tr> <td><a class="xref" href="mempset_ftype.html" title="DbMpoolFile::set_ftype()">DbMpoolFile::set_ftype()</a>, <a class="xref" href="mempget_ftype.html" title="DbMpoolFile::get_ftype()">DbMpoolFile::get_ftype()</a></td> <td>Set/get file type</td> </tr> <tr> <td><a class="xref" href="mempset_lsn_offset.html" title="DbMpoolFile::set_lsn_offset()">DbMpoolFile::set_lsn_offset()</a>, <a class="xref" href="mempget_lsn_offset.html" title="DbMpoolFile::get_lsn_offset()">DbMpoolFile::get_lsn_offset()</a></td> <td>Set/get file log-sequence-number offset</td> </tr> <tr> <td><a class="xref" href="mempset_maxsize.html" title="DbMpoolFile::set_maxsize()">DbMpoolFile::set_maxsize()</a>, <a class="xref" href="mempget_maxsize.html" title="DbMpoolFile::get_maxsize()">DbMpoolFile::get_maxsize()</a></td> <td>Set/get maximum file size</td> </tr> <tr> <td><a class="xref" href="mempset_pgcookie.html" title="DbMpoolFile::set_pgcookie()">DbMpoolFile::set_pgcookie()</a>, <a class="xref" href="mempget_pgcookie.html" title="DbMpoolFile::get_pgcookie()">DbMpoolFile::get_pgcookie()</a></td> <td>Set/get file cookie for pgin/pgout</td> </tr> <tr> <td><a class="xref" href="mempset_priority.html" title="DbMpoolFile::set_priority()">DbMpoolFile::set_priority()</a>, <a class="xref" href="mempget_priority.html" title="DbMpoolFile::get_priority()">DbMpoolFile::get_priority()</a></td> <td>Set/get cache file priority</td> </tr> </tbody> </table> </div> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="logcompare.html">Prev</a> </td> <td width="20%" align="center"> </td> <td width="40%" align="right"> <a accesskey="n" href="dbget_mpf.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top">DbEnv::log_compare() </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top"> Db::get_mpf()</td> </tr> </table> </div> </body> </html>
{ "content_hash": "ffad62c5d36d1fe1becc5aa44c3fd14d", "timestamp": "", "source": "github", "line_count": 278, "max_line_length": 263, "avg_line_length": 52.388489208633096, "alnum_prop": 0.52073606152156, "repo_name": "iadix/iadixcoin", "id": "4a53586b304263981bb9a60eea779382253f2f34", "size": "14584", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "db-5.3.28.NC/docs/api_reference/CXX/memp.html", "mode": "33188", "license": "mit", "language": [ { "name": "ASP", "bytes": "21896" }, { "name": "Assembly", "bytes": "52315" }, { "name": "Awk", "bytes": "14973" }, { "name": "Batchfile", "bytes": "192" }, { "name": "C", "bytes": "20479063" }, { "name": "C#", "bytes": "2168773" }, { "name": "C++", "bytes": "3655123" }, { "name": "CSS", "bytes": "75032" }, { "name": "DTrace", "bytes": "22240" }, { "name": "Erlang", "bytes": "22675" }, { "name": "Groff", "bytes": "19516" }, { "name": "HTML", "bytes": "58797564" }, { "name": "Java", "bytes": "5962444" }, { "name": "JavaScript", "bytes": "80758" }, { "name": "M4", "bytes": "22796" }, { "name": "Makefile", "bytes": "126124" }, { "name": "NSIS", "bytes": "18836" }, { "name": "Objective-C", "bytes": "858" }, { "name": "Objective-C++", "bytes": "3517" }, { "name": "OpenEdge ABL", "bytes": "71055" }, { "name": "PHP", "bytes": "1306" }, { "name": "Perl", "bytes": "566089" }, { "name": "Python", "bytes": "54355" }, { "name": "QMake", "bytes": "13707" }, { "name": "R", "bytes": "4009" }, { "name": "Shell", "bytes": "1271754" }, { "name": "Tcl", "bytes": "3377538" }, { "name": "XS", "bytes": "200617" }, { "name": "Yacc", "bytes": "49248" } ], "symlink_target": "" }
# The implicit make rules have it looking for RCS files, among other things. # We instead explicitly write all the rules we care about. # It's even quicker (saves ~200ms) to pass -r on the command line. MAKEFLAGS=-r # The source directory tree. srcdir := .. abs_srcdir := $(abspath $(srcdir)) # The name of the builddir. builddir_name ?= . # The V=1 flag on command line makes us verbosely print command lines. ifdef V quiet= else quiet=quiet_ endif # Specify BUILDTYPE=Release on the command line for a release build. BUILDTYPE ?= Release # Directory all our build output goes into. # Note that this must be two directories beneath src/ for unit tests to pass, # as they reach into the src/ directory for data with relative paths. builddir ?= $(builddir_name)/$(BUILDTYPE) abs_builddir := $(abspath $(builddir)) depsdir := $(builddir)/.deps # Object output directory. obj := $(builddir)/obj abs_obj := $(abspath $(obj)) # We build up a list of every single one of the targets so we can slurp in the # generated dependency rule Makefiles in one pass. all_deps := CC.target ?= $(CC) CFLAGS.target ?= $(CFLAGS) CXX.target ?= $(CXX) CXXFLAGS.target ?= $(CXXFLAGS) LINK.target ?= $(LINK) LDFLAGS.target ?= $(LDFLAGS) AR.target ?= $(AR) # C++ apps need to be linked with g++. # # Note: flock is used to seralize linking. Linking is a memory-intensive # process so running parallel links can often lead to thrashing. To disable # the serialization, override LINK via an envrionment variable as follows: # # export LINK=g++ # # This will allow make to invoke N linker processes as specified in -jN. LINK ?= ./gyp-mac-tool flock $(builddir)/linker.lock $(CXX.target) # TODO(evan): move all cross-compilation logic to gyp-time so we don't need # to replicate this environment fallback in make as well. CC.host ?= gcc CFLAGS.host ?= CXX.host ?= g++ CXXFLAGS.host ?= LINK.host ?= $(CXX.host) LDFLAGS.host ?= AR.host ?= ar # Define a dir function that can handle spaces. # http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions # "leading spaces cannot appear in the text of the first argument as written. # These characters can be put into the argument value by variable substitution." empty := space := $(empty) $(empty) # http://stackoverflow.com/questions/1189781/using-make-dir-or-notdir-on-a-path-with-spaces replace_spaces = $(subst $(space),?,$1) unreplace_spaces = $(subst ?,$(space),$1) dirx = $(call unreplace_spaces,$(dir $(call replace_spaces,$1))) # Flags to make gcc output dependency info. Note that you need to be # careful here to use the flags that ccache and distcc can understand. # We write to a dep file on the side first and then rename at the end # so we can't end up with a broken dep file. depfile = $(depsdir)/$(call replace_spaces,$@).d DEPFLAGS = -MMD -MF $(depfile).raw # We have to fixup the deps output in a few ways. # (1) the file output should mention the proper .o file. # ccache or distcc lose the path to the target, so we convert a rule of # the form: # foobar.o: DEP1 DEP2 # into # path/to/foobar.o: DEP1 DEP2 # (2) we want missing files not to cause us to fail to build. # We want to rewrite # foobar.o: DEP1 DEP2 \ # DEP3 # to # DEP1: # DEP2: # DEP3: # so if the files are missing, they're just considered phony rules. # We have to do some pretty insane escaping to get those backslashes # and dollar signs past make, the shell, and sed at the same time. # Doesn't work with spaces, but that's fine: .d files have spaces in # their names replaced with other characters. define fixup_dep # The depfile may not exist if the input file didn't have any #includes. touch $(depfile).raw # Fixup path as in (1). sed -e "s|^$(notdir $@)|$@|" $(depfile).raw >> $(depfile) # Add extra rules as in (2). # We remove slashes and replace spaces with new lines; # remove blank lines; # delete the first line and append a colon to the remaining lines. sed -e 's|\\||' -e 'y| |\n|' $(depfile).raw |\ grep -v '^$$' |\ sed -e 1d -e 's|$$|:|' \ >> $(depfile) rm $(depfile).raw endef # Command definitions: # - cmd_foo is the actual command to run; # - quiet_cmd_foo is the brief-output summary of the command. quiet_cmd_cc = CC($(TOOLSET)) $@ cmd_cc = $(CC.$(TOOLSET)) $(GYP_CFLAGS) $(DEPFLAGS) $(CFLAGS.$(TOOLSET)) -c -o $@ $< quiet_cmd_cxx = CXX($(TOOLSET)) $@ cmd_cxx = $(CXX.$(TOOLSET)) $(GYP_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $< quiet_cmd_objc = CXX($(TOOLSET)) $@ cmd_objc = $(CC.$(TOOLSET)) $(GYP_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $< quiet_cmd_objcxx = CXX($(TOOLSET)) $@ cmd_objcxx = $(CXX.$(TOOLSET)) $(GYP_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $< # Commands for precompiled header files. quiet_cmd_pch_c = CXX($(TOOLSET)) $@ cmd_pch_c = $(CC.$(TOOLSET)) $(GYP_PCH_CFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $< quiet_cmd_pch_cc = CXX($(TOOLSET)) $@ cmd_pch_cc = $(CC.$(TOOLSET)) $(GYP_PCH_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $< quiet_cmd_pch_m = CXX($(TOOLSET)) $@ cmd_pch_m = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $< quiet_cmd_pch_mm = CXX($(TOOLSET)) $@ cmd_pch_mm = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $< # gyp-mac-tool is written next to the root Makefile by gyp. # Use $(4) for the command, since $(2) and $(3) are used as flag by do_cmd # already. quiet_cmd_mac_tool = MACTOOL $(4) $< cmd_mac_tool = ./gyp-mac-tool $(4) $< "$@" quiet_cmd_mac_package_framework = PACKAGE FRAMEWORK $@ cmd_mac_package_framework = ./gyp-mac-tool package-framework "$@" $(4) quiet_cmd_infoplist = INFOPLIST $@ cmd_infoplist = $(CC.$(TOOLSET)) -E -P -Wno-trigraphs -x c $(INFOPLIST_DEFINES) "$<" -o "$@" quiet_cmd_touch = TOUCH $@ cmd_touch = touch $@ quiet_cmd_copy = COPY $@ # send stderr to /dev/null to ignore messages when linking directories. cmd_copy = rm -rf "$@" && cp -af "$<" "$@" quiet_cmd_alink = LIBTOOL-STATIC $@ cmd_alink = rm -f $@ && ./gyp-mac-tool filter-libtool libtool $(GYP_LIBTOOLFLAGS) -static -o $@ $(filter %.o,$^) quiet_cmd_link = LINK($(TOOLSET)) $@ cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS) quiet_cmd_solink = SOLINK($(TOOLSET)) $@ cmd_solink = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS) quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@ cmd_solink_module = $(LINK.$(TOOLSET)) -bundle $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ $(filter-out FORCE_DO_CMD, $^) $(LIBS) # Define an escape_quotes function to escape single quotes. # This allows us to handle quotes properly as long as we always use # use single quotes and escape_quotes. escape_quotes = $(subst ','\'',$(1)) # This comment is here just to include a ' to unconfuse syntax highlighting. # Define an escape_vars function to escape '$' variable syntax. # This allows us to read/write command lines with shell variables (e.g. # $LD_LIBRARY_PATH), without triggering make substitution. escape_vars = $(subst $$,$$$$,$(1)) # Helper that expands to a shell command to echo a string exactly as it is in # make. This uses printf instead of echo because printf's behaviour with respect # to escape sequences is more portable than echo's across different shells # (e.g., dash, bash). exact_echo = printf '%s\n' '$(call escape_quotes,$(1))' # Helper to compare the command we're about to run against the command # we logged the last time we ran the command. Produces an empty # string (false) when the commands match. # Tricky point: Make has no string-equality test function. # The kernel uses the following, but it seems like it would have false # positives, where one string reordered its arguments. # arg_check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \ # $(filter-out $(cmd_$@), $(cmd_$(1)))) # We instead substitute each for the empty string into the other, and # say they're equal if both substitutions produce the empty string. # .d files contain ? instead of spaces, take that into account. command_changed = $(or $(subst $(cmd_$(1)),,$(cmd_$(call replace_spaces,$@))),\ $(subst $(cmd_$(call replace_spaces,$@)),,$(cmd_$(1)))) # Helper that is non-empty when a prerequisite changes. # Normally make does this implicitly, but we force rules to always run # so we can check their command lines. # $? -- new prerequisites # $| -- order-only dependencies prereq_changed = $(filter-out FORCE_DO_CMD,$(filter-out $|,$?)) # Helper that executes all postbuilds until one fails. define do_postbuilds @E=0;\ for p in $(POSTBUILDS); do\ eval $$p;\ E=$$?;\ if [ $$E -ne 0 ]; then\ break;\ fi;\ done;\ if [ $$E -ne 0 ]; then\ rm -rf "$@";\ exit $$E;\ fi endef # do_cmd: run a command via the above cmd_foo names, if necessary. # Should always run for a given target to handle command-line changes. # Second argument, if non-zero, makes it do asm/C/C++ dependency munging. # Third argument, if non-zero, makes it do POSTBUILDS processing. # Note: We intentionally do NOT call dirx for depfile, since it contains ? for # spaces already and dirx strips the ? characters. define do_cmd $(if $(or $(command_changed),$(prereq_changed)), @$(call exact_echo, $($(quiet)cmd_$(1))) @mkdir -p "$(call dirx,$@)" "$(dir $(depfile))" $(if $(findstring flock,$(word 2,$(cmd_$1))), @$(cmd_$(1)) @echo " $(quiet_cmd_$(1)): Finished", @$(cmd_$(1)) ) @$(call exact_echo,$(call escape_vars,cmd_$(call replace_spaces,$@) := $(cmd_$(1)))) > $(depfile) @$(if $(2),$(fixup_dep)) $(if $(and $(3), $(POSTBUILDS)), $(call do_postbuilds) ) ) endef # Declare the "all" target first so it is the default, # even though we don't have the deps yet. .PHONY: all all: # make looks for ways to re-generate included makefiles, but in our case, we # don't have a direct way. Explicitly telling make that it has nothing to do # for them makes it go faster. %.d: ; # Use FORCE_DO_CMD to force a target to run. Should be coupled with # do_cmd. .PHONY: FORCE_DO_CMD FORCE_DO_CMD: TOOLSET := target # Suffix rules, putting all outputs into $(obj). $(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.m FORCE_DO_CMD @$(call do_cmd,objc,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.mm FORCE_DO_CMD @$(call do_cmd,objcxx,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD @$(call do_cmd,cc,1) # Try building from generated source, too. $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.m FORCE_DO_CMD @$(call do_cmd,objc,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.mm FORCE_DO_CMD @$(call do_cmd,objcxx,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD @$(call do_cmd,cxx,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.m FORCE_DO_CMD @$(call do_cmd,objc,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.mm FORCE_DO_CMD @$(call do_cmd,objcxx,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD @$(call do_cmd,cc,1) $(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD @$(call do_cmd,cc,1) ifeq ($(strip $(foreach prefix,$(NO_LOAD),\ $(findstring $(join ^,$(prefix)),\ $(join ^,DTraceProviderBindings.target.mk)))),) include DTraceProviderBindings.target.mk endif ifeq ($(strip $(foreach prefix,$(NO_LOAD),\ $(findstring $(join ^,$(prefix)),\ $(join ^,libusdt.target.mk)))),) include libusdt.target.mk endif quiet_cmd_regen_makefile = ACTION Regenerating $@ cmd_regen_makefile = cd $(srcdir); /Users/FireAwayH/.nvm/versions/node/v0.12.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "--toplevel-dir=." -I/Users/FireAwayH/HexoBlog/node_modules/hexo/node_modules/bunyan/node_modules/dtrace-provider/build/config.gypi -I/Users/FireAwayH/.nvm/versions/node/v0.12.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/Users/FireAwayH/.node-gyp/0.12.0/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/FireAwayH/.node-gyp/0.12.0" "-Dmodule_root_dir=/Users/FireAwayH/HexoBlog/node_modules/hexo/node_modules/bunyan/node_modules/dtrace-provider" binding.gyp Makefile: $(srcdir)/../../../../../../../.nvm/versions/node/v0.12.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/../../../../../../../.node-gyp/0.12.0/common.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(call do_cmd,regen_makefile) # "all" is a concatenation of the "all" targets from all the included # sub-makefiles. This is just here to clarify. all: # Add in dependency-tracking rules. $(all_deps) is the list of every single # target in our tree. Only consider the ones with .d (dependency) info: d_files := $(wildcard $(foreach f,$(all_deps),$(depsdir)/$(f).d)) ifneq ($(d_files),) include $(d_files) endif
{ "content_hash": "fa98c7fae68a9cb80236cd9895fd15a2", "timestamp": "", "source": "github", "line_count": 353, "max_line_length": 728, "avg_line_length": 40.13314447592068, "alnum_prop": 0.639090844921296, "repo_name": "hejiheji001/HexoBlog", "id": "51ebc657342ee869e383c3bff19206418ac11882", "size": "14295", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "node_modules/hexo/node_modules/bunyan/node_modules/dtrace-provider/build/Makefile", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "118210" }, { "name": "HTML", "bytes": "999055" }, { "name": "JavaScript", "bytes": "83623" } ], "symlink_target": "" }
The demo contains one single file: ``` . └── index.html ``` Before running it, execute the requirements below. ## Requirements **1. Dependencies** The demo requires Globalize and its dependencies. Globalize's dependencies are listed on [Getting Started](../../README.md#dependencies), and the only one is [cldrjs](https://github.com/rxaviers/cldrjs). You are free to fetch it the way you want. But, as an exercise of this demo, we'll download it ourselves. So: 1. Click at [Globalize releases tab](https://github.com/rxaviers/globalize/releases). 1. Download the latest package. 1. Unzip it. 1. Rename the extracted directory `globalize` and move it alongside `index.html` and `README.md`. 1. Click at [cldrjs releases tab](https://github.com/rxaviers/cldrjs/releases). 1. Download the latest package. 1. Unzip it. 1. Rename the extracted directory `cldrjs` and move it alongside `index.html` and `README.md`. Then, you'll get this: ``` . ├── cldrjs │ └── dist │ ├── cldr.js │ ├── ... │ └── cldr │ ├── event.js │ ├── supplemental.js │ └── ... ├── globalize │ └── dist │ ├── globalize.js │ ├── ... │ └── globalize │ ├── currency.js │ ├── date.js │ └── ... ├── index.html └── README.md ``` For more information read [cldrjs' usage and installation](https://github.com/rxaviers/cldrjs#usage-and-installation) docs. **2. CLDR content** Another typical Globalize requirement is to fetch CLDR content yourself. But, on this demo we made the things a little easier for you: we've embedded static JSON into the demo. So, you don't need to actually fetch it anywhere. For more information about fetching Unicode CLDR JSON data, see [How do I get CLDR data?](../../doc/cldr.md). No action needed here. **3. Globalize `dist` files** *This step only applies if you are building the source files. If you have downloaded a ZIP or a TAR.GZ or are using a package manager (such as bower or npm) to install then you can ignore this step.* [Install the development external dependencies](../../README.md#install-development-external-dependencies) and [build the distribution files](../../README.md#build). ## Running the demo Once you've completed the requirements above: 1. Point your browser at `./index.html`. 1. Open your JavaScript console to see the demo output. 1. Understand the demo by reading the source code. We have comments there for you.
{ "content_hash": "77aee3f0b22cc7a5ee885b737ab81fb1", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 199, "avg_line_length": 31.050632911392405, "alnum_prop": 0.6877293110476967, "repo_name": "raskolnikova/infomaps", "id": "6977ecb20540bcc05401f7d1d25b2f38b5705239", "size": "2629", "binary": false, "copies": "6", "ref": "refs/heads/master", "path": "node_modules/globalize/examples/plain-javascript/README.md", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "166899" }, { "name": "HTML", "bytes": "340" }, { "name": "JavaScript", "bytes": "6660450" } ], "symlink_target": "" }
package gform type EventHandler func(arg *EventArg) type EventManager struct { handler EventHandler } func (this *EventManager) Fire(arg *EventArg) { if this.handler != nil { this.handler(arg) } } func (this *EventManager) Bind(handler EventHandler) { this.handler = handler }
{ "content_hash": "012b62f0d5848cfdd0aa47a034d2574e", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 54, "avg_line_length": 17.941176470588236, "alnum_prop": 0.6885245901639344, "repo_name": "AllenDang/gform", "id": "e8520f4e5f9d355210eb916604c2f96e48111e55", "size": "305", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "eventmanager.go", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "C", "bytes": "571" }, { "name": "Go", "bytes": "59555" }, { "name": "Shell", "bytes": "225" } ], "symlink_target": "" }
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Reference: text-emphasis-style: filled sesame, vertical</title> <link rel="author" title="Xidorn Quan" href="https://www.upsuper.org"> <link rel="author" title="Mozilla" href="https://www.mozilla.org"> <style> rt { font-variant-east-asian: normal; } </style> <p>Pass if there is a '&#xFE45;' to the right of every character below:</p> <div lang="ja" style="writing-mode: vertical-rl; line-height: 5;"><ruby>試<rt>&#xFE45;</rt>験<rt>&#xFE45;</rt>テ<rt>&#xFE45;</rt>ス<rt>&#xFE45;</rt>ト<rt>&#xFE45;</rt></ruby></div>
{ "content_hash": "82bdeb6eb4d09815ecf8336f3f3fce9f", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 175, "avg_line_length": 70.125, "alnum_prop": 0.6755793226381461, "repo_name": "scheib/chromium", "id": "fadc7d2773eaa9979e6b7d732659da7e40ad1ec3", "size": "571", "binary": false, "copies": "30", "ref": "refs/heads/main", "path": "third_party/blink/web_tests/external/wpt/css/css-text-decor/text-emphasis-style-property-003-ref.html", "mode": "33188", "license": "bsd-3-clause", "language": [], "symlink_target": "" }
 #pragma once #include <aws/iot/IoT_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { /** * <p>The output from the CreateCertificateFromCsr operation.</p><p><h3>See * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/CreateCertificateFromCsrResponse">AWS * API Reference</a></p> */ class AWS_IOT_API CreateCertificateFromCsrResult { public: CreateCertificateFromCsrResult(); CreateCertificateFromCsrResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); CreateCertificateFromCsrResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); /** * <p>The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.</p> */ inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; } /** * <p>The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.</p> */ inline void SetCertificateArn(const Aws::String& value) { m_certificateArn = value; } /** * <p>The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.</p> */ inline void SetCertificateArn(Aws::String&& value) { m_certificateArn = std::move(value); } /** * <p>The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.</p> */ inline void SetCertificateArn(const char* value) { m_certificateArn.assign(value); } /** * <p>The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.</p> */ inline CreateCertificateFromCsrResult& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** * <p>The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.</p> */ inline CreateCertificateFromCsrResult& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** * <p>The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.</p> */ inline CreateCertificateFromCsrResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** * <p>The ID of the certificate. Certificate management operations only take a * certificateId.</p> */ inline const Aws::String& GetCertificateId() const{ return m_certificateId; } /** * <p>The ID of the certificate. Certificate management operations only take a * certificateId.</p> */ inline void SetCertificateId(const Aws::String& value) { m_certificateId = value; } /** * <p>The ID of the certificate. Certificate management operations only take a * certificateId.</p> */ inline void SetCertificateId(Aws::String&& value) { m_certificateId = std::move(value); } /** * <p>The ID of the certificate. Certificate management operations only take a * certificateId.</p> */ inline void SetCertificateId(const char* value) { m_certificateId.assign(value); } /** * <p>The ID of the certificate. Certificate management operations only take a * certificateId.</p> */ inline CreateCertificateFromCsrResult& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;} /** * <p>The ID of the certificate. Certificate management operations only take a * certificateId.</p> */ inline CreateCertificateFromCsrResult& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;} /** * <p>The ID of the certificate. Certificate management operations only take a * certificateId.</p> */ inline CreateCertificateFromCsrResult& WithCertificateId(const char* value) { SetCertificateId(value); return *this;} /** * <p>The certificate data, in PEM format.</p> */ inline const Aws::String& GetCertificatePem() const{ return m_certificatePem; } /** * <p>The certificate data, in PEM format.</p> */ inline void SetCertificatePem(const Aws::String& value) { m_certificatePem = value; } /** * <p>The certificate data, in PEM format.</p> */ inline void SetCertificatePem(Aws::String&& value) { m_certificatePem = std::move(value); } /** * <p>The certificate data, in PEM format.</p> */ inline void SetCertificatePem(const char* value) { m_certificatePem.assign(value); } /** * <p>The certificate data, in PEM format.</p> */ inline CreateCertificateFromCsrResult& WithCertificatePem(const Aws::String& value) { SetCertificatePem(value); return *this;} /** * <p>The certificate data, in PEM format.</p> */ inline CreateCertificateFromCsrResult& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;} /** * <p>The certificate data, in PEM format.</p> */ inline CreateCertificateFromCsrResult& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;} private: Aws::String m_certificateArn; Aws::String m_certificateId; Aws::String m_certificatePem; }; } // namespace Model } // namespace IoT } // namespace Aws
{ "content_hash": "0ac147d053d8b89e4972f8027647b5ee", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 136, "avg_line_length": 33.56470588235294, "alnum_prop": 0.6764808973010866, "repo_name": "aws/aws-sdk-cpp", "id": "21efc38d6122a54ef6d9d60432b9df60590c1b00", "size": "5825", "binary": false, "copies": "4", "ref": "refs/heads/main", "path": "aws-cpp-sdk-iot/include/aws/iot/model/CreateCertificateFromCsrResult.h", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "C", "bytes": "309797" }, { "name": "C++", "bytes": "476866144" }, { "name": "CMake", "bytes": "1245180" }, { "name": "Dockerfile", "bytes": "11688" }, { "name": "HTML", "bytes": "8056" }, { "name": "Java", "bytes": "413602" }, { "name": "Python", "bytes": "79245" }, { "name": "Shell", "bytes": "9246" } ], "symlink_target": "" }
/* List of contributors: * * Initial Name/description * ------------------------------------------------------------------- * MF Mario Fortier * * Change history: * * MMDDYY BY Description * ------------------------------------------------------------------- * 121005 MF First Version */ package com.tictactec.ta.lib; public enum RetCode { Success, BadParam, OutOfRangeStartIndex, OutOfRangeEndIndex, AllocErr, InternalError };
{ "content_hash": "7cf9bbb2a218212ebc51ffd275caa08f", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 71, "avg_line_length": 19.423076923076923, "alnum_prop": 0.4376237623762376, "repo_name": "BYVoid/TA-Lib", "id": "06c5462175f4644b5cddeb7d0c26579a80365f27", "size": "2107", "binary": false, "copies": "3", "ref": "refs/heads/master", "path": "src/main/java/com/tictactec/ta/lib/RetCode.java", "mode": "33261", "license": "bsd-3-clause", "language": [ { "name": "Java", "bytes": "2240895" } ], "symlink_target": "" }
Neolib ====== Neolib is an in-depth and robust Python library designed to assist programmers in creating programs which automate mundane tasks on the popular browser based game, Neopets. The goal of Neolib is to objectify Neopets by translating it's many objects and tasks into classes and functions that represent them. Installation ====== The easiest way to install Neolib is by downloading the PyPi distribution using easy_install: ``` easy_install neolib ``` Alternatively you can download the tar archive above and use setuptools to install it: ``` python setup.py install ``` Getting Started ====== Neolib is a robust library that consists of many components that each serve a specific function. Your application may not need access to all of these components, however some components are used in almost all applications. Creating a User ------ A user is defined as both a Neopets account and an end-user of a program in Neolib. Thus, the User object is by far the most important object in Neolib. Initializing a User object does a few things: * Initializes user attributes: Sets the username, password, and optional PIN. * Initializes configuration: If no previous configuration block for the given username is found, attempts to create a new block with some default values. Otherwise, the existing configuration values are loaded into the User object. * Initializes a new session: A new HTTP session is created for tracking the user's cookies. Note this session is normally saved with the configuration and can be loaded later to resume a previously created session. The following shows the basic process of initializing a user object and logging the user into Neopets: ```python >>> from neolib.user.User import User >>> usr = User("username", "password") >>> usr.login() True ``` Below is an example of how the configuration aspect works: ```python >>> usr.savePassword = True >>> usr.save() >>> usr = User("username") >>> usr.password 'password' >>> usr.loggedIn True ``` The above example shows how setting the savePassword attribute to True will save the user's password (in an encoded text) to the configuration. It also shows how the configuration data was saved for the username "username". Finally, it shows that the previous session was saved and that upon loading the user again, the user was stilled logged in since the old session was loaded. Basic Inventory Management ------ Another common feature used in programs is inventory management. Below we assume the user has a Green Apple in their inventory. We first stock the item in their shop, price the item and update the shop. Then we remove it from the shop. place it in the SDB, and finally move it back to the user's inventory. ```python >>> from neolib.item.Item import Item >>> from neolib.shop.ShopWizard import ShopWizard >>> usr.inventory.load() >>> usr.inventory['Green Apple'] <Item 'Green Apple'> >>> usr.inventory['Green Apple'].sendTo(Item.SHOP) True >>> usr.shop.load() >>> usr.shop.inventory['Green Apple'].price = ShopWizard.priceItem(usr, 'Green Apple') >>> usr.shop.update() True >>> usr.shop.load() >>> usr.shop.inventory['Green Apple'].remove = 1 >>> usr.shop.update() True >>> usr.inventory.load() >>> usr.inventory['Green Apple'].sendTo(Item.SDB) True >>> usr.SDB.load() >>> usr.SDB.inventory['Green Apple'].remove = 1 >>> usr.SDB.update() True >>> usr.inventory.load() >>> usr.inventory['Green Apple'] <Item 'Green Apple'> ``` Buying Items ------ Another common feature required for programs is the ability to buy items. Neolib currently supports the ability to buy items from both user shops and main shops. Below is an example of searching for a 'Mau Codestone' with the Shop Wizard and buying the first result. ```python >>> from neolib.shop.ShopWizard import ShopWizard >>> res = ShopWizard.search(usr, 'Mau Codestone') >>> res.buy(0) True >>> usr.inventory.load() >>> 'Mau Codestone' in usr.inventory True ``` Here is an example of buying a main shop item: ```python >>> from neolib.shop.MainShop import MainShop >>> ms = MainShop(usr, '1') >>> ms.load() >>> ms.name 'Neopian Fresh Foods' >>> ms.inventory['Peanut'].buy("1107") True >>> usr.inventory.load() >>> 'Peanut' in usr.inventory ```
{ "content_hash": "7e4285b03a167f09a5a90b7f7c3a4409", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 380, "avg_line_length": 35.75423728813559, "alnum_prop": 0.744489215453899, "repo_name": "jmgilman/Neolib", "id": "6481fc12f7cb85a22f34f2d5096ade96cb222afa", "size": "4219", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "README.md", "mode": "33188", "license": "mit", "language": [ { "name": "Python", "bytes": "459691" } ], "symlink_target": "" }
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, // software distributed under the License is distributed on an // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. package com.cloud.template; import java.util.Collections; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Set; import java.util.concurrent.ExecutionException; import javax.inject.Inject; import com.cloud.configuration.Config; import com.cloud.deployasis.dao.TemplateDeployAsIsDetailsDao; import com.cloud.storage.dao.VMTemplateDetailsDao; import com.cloud.utils.db.Transaction; import com.cloud.utils.db.TransactionCallback; import com.cloud.utils.db.TransactionStatus; import org.apache.cloudstack.agent.directdownload.CheckUrlAnswer; import org.apache.cloudstack.agent.directdownload.CheckUrlCommand; import org.apache.cloudstack.api.command.user.iso.DeleteIsoCmd; import org.apache.cloudstack.api.command.user.iso.GetUploadParamsForIsoCmd; import org.apache.cloudstack.api.command.user.iso.RegisterIsoCmd; import org.apache.cloudstack.api.command.user.template.DeleteTemplateCmd; import org.apache.cloudstack.api.command.user.template.GetUploadParamsForTemplateCmd; import org.apache.cloudstack.api.command.user.template.RegisterTemplateCmd; import org.apache.cloudstack.engine.subsystem.api.storage.DataObject; import org.apache.cloudstack.engine.subsystem.api.storage.DataStore; import org.apache.cloudstack.engine.subsystem.api.storage.DataStoreManager; import org.apache.cloudstack.engine.subsystem.api.storage.EndPoint; import org.apache.cloudstack.engine.subsystem.api.storage.EndPointSelector; import org.apache.cloudstack.engine.subsystem.api.storage.Scope; import org.apache.cloudstack.engine.subsystem.api.storage.TemplateDataFactory; import org.apache.cloudstack.engine.subsystem.api.storage.TemplateInfo; import org.apache.cloudstack.engine.subsystem.api.storage.TemplateService; import org.apache.cloudstack.engine.subsystem.api.storage.TemplateService.TemplateApiResult; import org.apache.cloudstack.engine.subsystem.api.storage.ZoneScope; import org.apache.cloudstack.framework.async.AsyncCallFuture; import org.apache.cloudstack.framework.async.AsyncCallbackDispatcher; import org.apache.cloudstack.framework.async.AsyncCompletionCallback; import org.apache.cloudstack.framework.async.AsyncRpcContext; import org.apache.cloudstack.framework.messagebus.MessageBus; import org.apache.cloudstack.framework.messagebus.PublishScope; import org.apache.cloudstack.storage.command.TemplateOrVolumePostUploadCommand; import org.apache.cloudstack.storage.datastore.db.TemplateDataStoreDao; import org.apache.cloudstack.storage.datastore.db.TemplateDataStoreVO; import org.apache.cloudstack.storage.image.datastore.ImageStoreEntity; import org.apache.cloudstack.utils.security.DigestHelper; import org.apache.log4j.Logger; import com.cloud.agent.AgentManager; import com.cloud.agent.api.Answer; import com.cloud.alert.AlertManager; import com.cloud.configuration.Resource.ResourceType; import com.cloud.dc.DataCenterVO; import com.cloud.dc.dao.DataCenterDao; import com.cloud.event.EventTypes; import com.cloud.event.UsageEventUtils; import com.cloud.exception.InvalidParameterValueException; import com.cloud.exception.ResourceAllocationException; import com.cloud.host.HostVO; import com.cloud.hypervisor.Hypervisor; import com.cloud.org.Grouping; import com.cloud.resource.ResourceManager; import com.cloud.server.StatsCollector; import com.cloud.storage.ScopeType; import com.cloud.storage.Storage.ImageFormat; import com.cloud.storage.Storage.TemplateType; import com.cloud.storage.TemplateProfile; import com.cloud.storage.VMTemplateStorageResourceAssoc.Status; import com.cloud.storage.VMTemplateVO; import com.cloud.storage.VMTemplateZoneVO; import com.cloud.storage.dao.VMTemplateDao; import com.cloud.storage.dao.VMTemplateZoneDao; import com.cloud.storage.download.DownloadMonitor; import com.cloud.template.VirtualMachineTemplate.State; import com.cloud.user.Account; import com.cloud.utils.Pair; import com.cloud.utils.UriUtils; import com.cloud.utils.db.DB; import com.cloud.utils.db.EntityManager; import com.cloud.utils.exception.CloudRuntimeException; public class HypervisorTemplateAdapter extends TemplateAdapterBase { private final static Logger s_logger = Logger.getLogger(HypervisorTemplateAdapter.class); @Inject DownloadMonitor _downloadMonitor; @Inject AgentManager _agentMgr; @Inject StatsCollector _statsCollector; @Inject TemplateDataStoreDao templateDataStoreDao; @Inject DataStoreManager storeMgr; @Inject TemplateService imageService; @Inject TemplateDataFactory imageFactory; @Inject TemplateManager templateMgr; @Inject AlertManager alertMgr; @Inject VMTemplateZoneDao templateZoneDao; @Inject EndPointSelector _epSelector; @Inject DataCenterDao _dcDao; @Inject MessageBus _messageBus; @Inject ResourceManager resourceManager; @Inject VMTemplateDao templateDao; @Inject private VMTemplateDetailsDao templateDetailsDao; @Inject private TemplateDeployAsIsDetailsDao templateDeployAsIsDetailsDao; @Override public String getName() { return TemplateAdapterType.Hypervisor.getName(); } /** * Validate on random running KVM host that URL is reachable * @param url url */ private Long performDirectDownloadUrlValidation(final String url) { HostVO host = resourceManager.findOneRandomRunningHostByHypervisor(Hypervisor.HypervisorType.KVM); if (host == null) { throw new CloudRuntimeException("Couldn't find a host to validate URL " + url); } CheckUrlCommand cmd = new CheckUrlCommand(url); s_logger.debug("Performing URL " + url + " validation on host " + host.getId()); Answer answer = _agentMgr.easySend(host.getId(), cmd); if (answer == null || !answer.getResult()) { throw new CloudRuntimeException("URL: " + url + " validation failed on host id " + host.getId()); } CheckUrlAnswer ans = (CheckUrlAnswer) answer; return ans.getTemplateSize(); } @Override public TemplateProfile prepare(RegisterIsoCmd cmd) throws ResourceAllocationException { TemplateProfile profile = super.prepare(cmd); String url = profile.getUrl(); UriUtils.validateUrl(ImageFormat.ISO.getFileExtension(), url); if (cmd.isDirectDownload()) { DigestHelper.validateChecksumString(cmd.getChecksum()); Long templateSize = performDirectDownloadUrlValidation(url); profile.setSize(templateSize); } profile.setUrl(url); // Check that the resource limit for secondary storage won't be exceeded _resourceLimitMgr.checkResourceLimit(_accountMgr.getAccount(cmd.getEntityOwnerId()), ResourceType.secondary_storage, UriUtils.getRemoteSize(url)); return profile; } @Override public TemplateProfile prepare(GetUploadParamsForIsoCmd cmd) throws ResourceAllocationException { TemplateProfile profile = super.prepare(cmd); // Check that the resource limit for secondary storage won't be exceeded _resourceLimitMgr.checkResourceLimit(_accountMgr.getAccount(cmd.getEntityOwnerId()), ResourceType.secondary_storage); return profile; } @Override public TemplateProfile prepare(RegisterTemplateCmd cmd) throws ResourceAllocationException { TemplateProfile profile = super.prepare(cmd); String url = profile.getUrl(); UriUtils.validateUrl(cmd.getFormat(), url); if (cmd.isDirectDownload()) { DigestHelper.validateChecksumString(cmd.getChecksum()); Long templateSize = performDirectDownloadUrlValidation(url); profile.setSize(templateSize); } profile.setUrl(url); // Check that the resource limit for secondary storage won't be exceeded _resourceLimitMgr.checkResourceLimit(_accountMgr.getAccount(cmd.getEntityOwnerId()), ResourceType.secondary_storage, UriUtils.getRemoteSize(url)); return profile; } @Override public TemplateProfile prepare(GetUploadParamsForTemplateCmd cmd) throws ResourceAllocationException { TemplateProfile profile = super.prepare(cmd); // Check that the resource limit for secondary storage won't be exceeded _resourceLimitMgr.checkResourceLimit(_accountMgr.getAccount(cmd.getEntityOwnerId()), ResourceType.secondary_storage); return profile; } /** * Persist template marking it for direct download to Primary Storage, skipping Secondary Storage */ private void persistDirectDownloadTemplate(long templateId, Long size) { TemplateDataStoreVO directDownloadEntry = templateDataStoreDao.createTemplateDirectDownloadEntry(templateId, size); templateDataStoreDao.persist(directDownloadEntry); } @Override public VMTemplateVO create(TemplateProfile profile) { // persist entry in vm_template, vm_template_details and template_zone_ref tables, not that entry at template_store_ref is not created here, and created in createTemplateAsync. VMTemplateVO template = persistTemplate(profile, State.Active); if (template == null) { throw new CloudRuntimeException("Unable to persist the template " + profile.getTemplate()); } if (!profile.isDirectDownload()) { List<Long> zones = profile.getZoneIdList(); //zones is null when this template is to be registered to all zones if (zones == null){ createTemplateWithinZone(null, profile, template); } else { for (Long zId : zones) { createTemplateWithinZone(zId, profile, template); } } } else { //KVM direct download templates bypassing Secondary Storage persistDirectDownloadTemplate(template.getId(), profile.getSize()); } _resourceLimitMgr.incrementResourceCount(profile.getAccountId(), ResourceType.template); return template; } private void createTemplateWithinZone(Long zId, TemplateProfile profile, VMTemplateVO template) { // find all eligible image stores for this zone scope List<DataStore> imageStores = storeMgr.getImageStoresByScope(new ZoneScope(zId)); if (imageStores == null || imageStores.size() == 0) { throw new CloudRuntimeException("Unable to find image store to download template " + profile.getTemplate()); } Set<Long> zoneSet = new HashSet<Long>(); Collections.shuffle(imageStores); // For private templates choose a random store. TODO - Have a better algorithm based on size, no. of objects, load etc. for (DataStore imageStore : imageStores) { // skip data stores for a disabled zone Long zoneId = imageStore.getScope().getScopeId(); if (zoneId != null) { DataCenterVO zone = _dcDao.findById(zoneId); if (zone == null) { s_logger.warn("Unable to find zone by id " + zoneId + ", so skip downloading template to its image store " + imageStore.getId()); continue; } // Check if zone is disabled if (Grouping.AllocationState.Disabled == zone.getAllocationState()) { s_logger.info("Zone " + zoneId + " is disabled. Skip downloading template to its image store " + imageStore.getId()); continue; } // Check if image store has enough capacity for template if (!_statsCollector.imageStoreHasEnoughCapacity(imageStore)) { s_logger.info("Image store doesn't have enough capacity. Skip downloading template to this image store " + imageStore.getId()); continue; } // We want to download private template to one of the image store in a zone if (isPrivateTemplate(template) && zoneSet.contains(zoneId)) { continue; } else { zoneSet.add(zoneId); } } TemplateInfo tmpl = imageFactory.getTemplate(template.getId(), imageStore); CreateTemplateContext<TemplateApiResult> context = new CreateTemplateContext<TemplateApiResult>(null, tmpl); AsyncCallbackDispatcher<HypervisorTemplateAdapter, TemplateApiResult> caller = AsyncCallbackDispatcher.create(this); caller.setCallback(caller.getTarget().createTemplateAsyncCallBack(null, null)); caller.setContext(context); imageService.createTemplateAsync(tmpl, imageStore, caller); } } @Override public List<TemplateOrVolumePostUploadCommand> createTemplateForPostUpload(final TemplateProfile profile) { // persist entry in vm_template, vm_template_details and template_zone_ref tables, not that entry at template_store_ref is not created here, and created in createTemplateAsync. return Transaction.execute(new TransactionCallback<List<TemplateOrVolumePostUploadCommand>>() { @Override public List<TemplateOrVolumePostUploadCommand> doInTransaction(TransactionStatus status) { VMTemplateVO template = persistTemplate(profile, State.NotUploaded); if (template == null) { throw new CloudRuntimeException("Unable to persist the template " + profile.getTemplate()); } if (profile.getZoneIdList() != null && profile.getZoneIdList().size() > 1) throw new CloudRuntimeException("Operation is not supported for more than one zone id at a time"); Long zoneId = null; if (profile.getZoneIdList() != null) zoneId = profile.getZoneIdList().get(0); // find all eligible image stores for this zone scope List<DataStore> imageStores = storeMgr.getImageStoresByScope(new ZoneScope(zoneId)); if (imageStores == null || imageStores.size() == 0) { throw new CloudRuntimeException("Unable to find image store to download template " + profile.getTemplate()); } List<TemplateOrVolumePostUploadCommand> payloads = new LinkedList<>(); Set<Long> zoneSet = new HashSet<Long>(); Collections.shuffle(imageStores); // For private templates choose a random store. TODO - Have a better algorithm based on size, no. of objects, load etc. for (DataStore imageStore : imageStores) { // skip data stores for a disabled zone Long zoneId_is = imageStore.getScope().getScopeId(); if (zoneId != null) { DataCenterVO zone = _dcDao.findById(zoneId_is); if (zone == null) { s_logger.warn("Unable to find zone by id " + zoneId_is + ", so skip downloading template to its image store " + imageStore.getId()); continue; } // Check if zone is disabled if (Grouping.AllocationState.Disabled == zone.getAllocationState()) { s_logger.info("Zone " + zoneId_is + " is disabled, so skip downloading template to its image store " + imageStore.getId()); continue; } // We want to download private template to one of the image store in a zone if (isPrivateTemplate(template) && zoneSet.contains(zoneId_is)) { continue; } else { zoneSet.add(zoneId_is); } } TemplateInfo tmpl = imageFactory.getTemplate(template.getId(), imageStore); //imageService.createTemplateAsync(tmpl, imageStore, caller); // persist template_store_ref entry DataObject templateOnStore = imageStore.create(tmpl); // update template_store_ref and template state EndPoint ep = _epSelector.select(templateOnStore); if (ep == null) { String errMsg = "There is no secondary storage VM for downloading template to image store " + imageStore.getName(); s_logger.warn(errMsg); throw new CloudRuntimeException(errMsg); } TemplateOrVolumePostUploadCommand payload = new TemplateOrVolumePostUploadCommand(template.getId(), template.getUuid(), tmpl.getInstallPath(), tmpl .getChecksum(), tmpl.getType().toString(), template.getUniqueName(), template.getFormat().toString(), templateOnStore.getDataStore().getUri(), templateOnStore.getDataStore().getRole().toString()); //using the existing max template size configuration payload.setMaxUploadSize(_configDao.getValue(Config.MaxTemplateAndIsoSize.key())); payload.setDefaultMaxAccountSecondaryStorage(_configDao.getValue(Config.DefaultMaxAccountSecondaryStorage.key())); payload.setAccountId(template.getAccountId()); payload.setRemoteEndPoint(ep.getPublicAddr()); payload.setRequiresHvm(template.requiresHvm()); payload.setDescription(template.getDisplayText()); payloads.add(payload); } if(payloads.isEmpty()) { throw new CloudRuntimeException("unable to find zone or an image store with enough capacity"); } _resourceLimitMgr.incrementResourceCount(profile.getAccountId(), ResourceType.template); return payloads; } }); } private boolean isPrivateTemplate(VMTemplateVO template){ // if public OR featured OR system template if(template.isPublicTemplate() || template.isFeatured() || template.getTemplateType() == TemplateType.SYSTEM) return false; else return true; } private class CreateTemplateContext<T> extends AsyncRpcContext<T> { final TemplateInfo template; public CreateTemplateContext(AsyncCompletionCallback<T> callback, TemplateInfo template) { super(callback); this.template = template; } } protected Void createTemplateAsyncCallBack(AsyncCallbackDispatcher<HypervisorTemplateAdapter, TemplateApiResult> callback, CreateTemplateContext<TemplateApiResult> context) { TemplateApiResult result = callback.getResult(); TemplateInfo template = context.template; if (result.isSuccess()) { VMTemplateVO tmplt = _tmpltDao.findById(template.getId()); // need to grant permission for public templates if (tmplt.isPublicTemplate()) { _messageBus.publish(_name, TemplateManager.MESSAGE_REGISTER_PUBLIC_TEMPLATE_EVENT, PublishScope.LOCAL, tmplt.getId()); } long accountId = tmplt.getAccountId(); if (template.getSize() != null) { // publish usage event String etype = EventTypes.EVENT_TEMPLATE_CREATE; if (tmplt.getFormat() == ImageFormat.ISO) { etype = EventTypes.EVENT_ISO_CREATE; } // get physical size from template_store_ref table long physicalSize = 0; DataStore ds = template.getDataStore(); TemplateDataStoreVO tmpltStore = _tmpltStoreDao.findByStoreTemplate(ds.getId(), template.getId()); if (tmpltStore != null) { physicalSize = tmpltStore.getPhysicalSize(); } else { s_logger.warn("No entry found in template_store_ref for template id: " + template.getId() + " and image store id: " + ds.getId() + " at the end of registering template!"); } Scope dsScope = ds.getScope(); if (dsScope.getScopeType() == ScopeType.ZONE) { if (dsScope.getScopeId() != null) { UsageEventUtils.publishUsageEvent(etype, template.getAccountId(), dsScope.getScopeId(), template.getId(), template.getName(), null, null, physicalSize, template.getSize(), VirtualMachineTemplate.class.getName(), template.getUuid()); } else { s_logger.warn("Zone scope image store " + ds.getId() + " has a null scope id"); } } else if (dsScope.getScopeType() == ScopeType.REGION) { // publish usage event for region-wide image store using a -1 zoneId for 4.2, need to revisit post-4.2 UsageEventUtils.publishUsageEvent(etype, template.getAccountId(), -1, template.getId(), template.getName(), null, null, physicalSize, template.getSize(), VirtualMachineTemplate.class.getName(), template.getUuid()); } _resourceLimitMgr.incrementResourceCount(accountId, ResourceType.secondary_storage, template.getSize()); } } return null; } @Override @DB public boolean delete(TemplateProfile profile) { boolean success = false; VMTemplateVO template = profile.getTemplate(); Account account = _accountDao.findByIdIncludingRemoved(template.getAccountId()); if (profile.getZoneIdList() != null && profile.getZoneIdList().size() > 1) throw new CloudRuntimeException("Operation is not supported for more than one zone id at a time"); Long zoneId = null; if (profile.getZoneIdList() != null) zoneId = profile.getZoneIdList().get(0); // find all eligible image stores for this template List<DataStore> imageStores = templateMgr.getImageStoreByTemplate(template.getId(), zoneId); if (imageStores == null || imageStores.size() == 0) { // already destroyed on image stores success = true; s_logger.info("Unable to find image store still having template: " + template.getName() + ", so just mark the template removed"); } else { // Make sure the template is downloaded to all found image stores for (DataStore store : imageStores) { long storeId = store.getId(); List<TemplateDataStoreVO> templateStores = _tmpltStoreDao.listByTemplateStore(template.getId(), storeId); for (TemplateDataStoreVO templateStore : templateStores) { if (templateStore.getDownloadState() == Status.DOWNLOAD_IN_PROGRESS) { String errorMsg = "Please specify a template that is not currently being downloaded."; s_logger.debug("Template: " + template.getName() + " is currently being downloaded to secondary storage host: " + store.getName() + "; cant' delete it."); throw new CloudRuntimeException(errorMsg); } } } String eventType = ""; if (template.getFormat().equals(ImageFormat.ISO)) { eventType = EventTypes.EVENT_ISO_DELETE; } else { eventType = EventTypes.EVENT_TEMPLATE_DELETE; } for (DataStore imageStore : imageStores) { // publish zone-wide usage event Long sZoneId = ((ImageStoreEntity)imageStore).getDataCenterId(); if (sZoneId != null) { UsageEventUtils.publishUsageEvent(eventType, template.getAccountId(), sZoneId, template.getId(), null, VirtualMachineTemplate.class.getName(), template.getUuid()); } boolean dataDiskDeletetionResult = true; List<VMTemplateVO> dataDiskTemplates = templateDao.listByParentTemplatetId(template.getId()); if (dataDiskTemplates != null && dataDiskTemplates.size() > 0) { s_logger.info("Template: " + template.getId() + " has Datadisk template(s) associated with it. Delete Datadisk templates before deleting the template"); for (VMTemplateVO dataDiskTemplate : dataDiskTemplates) { s_logger.info("Delete Datadisk template: " + dataDiskTemplate.getId() + " from image store: " + imageStore.getName()); AsyncCallFuture<TemplateApiResult> future = imageService.deleteTemplateAsync(imageFactory.getTemplate(dataDiskTemplate.getId(), imageStore)); try { TemplateApiResult result = future.get(); dataDiskDeletetionResult = result.isSuccess(); if (!dataDiskDeletetionResult) { s_logger.warn("Failed to delete datadisk template: " + dataDiskTemplate + " from image store: " + imageStore.getName() + " due to: " + result.getResult()); break; } // Remove from template_zone_ref List<VMTemplateZoneVO> templateZones = templateZoneDao.listByZoneTemplate(sZoneId, dataDiskTemplate.getId()); if (templateZones != null) { for (VMTemplateZoneVO templateZone : templateZones) { templateZoneDao.remove(templateZone.getId()); } } // Mark datadisk template as Inactive List<DataStore> iStores = templateMgr.getImageStoreByTemplate(dataDiskTemplate.getId(), null); if (iStores == null || iStores.size() == 0) { dataDiskTemplate.setState(VirtualMachineTemplate.State.Inactive); _tmpltDao.update(dataDiskTemplate.getId(), dataDiskTemplate); } // Decrement total secondary storage space used by the account _resourceLimitMgr.recalculateResourceCount(dataDiskTemplate.getAccountId(), account.getDomainId(), ResourceType.secondary_storage.getOrdinal()); } catch (Exception e) { s_logger.debug("Delete datadisk template failed", e); throw new CloudRuntimeException("Delete datadisk template failed", e); } } } // remove from template_zone_ref if (dataDiskDeletetionResult) { s_logger.info("Delete template: " + template.getId() + " from image store: " + imageStore.getName()); AsyncCallFuture<TemplateApiResult> future = imageService.deleteTemplateAsync(imageFactory.getTemplate(template.getId(), imageStore)); try { TemplateApiResult result = future.get(); success = result.isSuccess(); if (!success) { s_logger.warn("Failed to delete the template: " + template + " from the image store: " + imageStore.getName() + " due to: " + result.getResult()); break; } // remove from template_zone_ref List<VMTemplateZoneVO> templateZones = templateZoneDao.listByZoneTemplate(sZoneId, template.getId()); if (templateZones != null) { for (VMTemplateZoneVO templateZone : templateZones) { templateZoneDao.remove(templateZone.getId()); } } } catch (InterruptedException|ExecutionException e) { s_logger.debug("Delete template Failed", e); throw new CloudRuntimeException("Delete template Failed", e); } } else { s_logger.warn("Template: " + template.getId() + " won't be deleted from image store: " + imageStore.getName() + " because deletion of one of the Datadisk" + " templates that belonged to the template failed"); } } } if (success) { if ((imageStores != null && imageStores.size() > 1) && (profile.getZoneIdList() != null)) { //if template is stored in more than one image stores, and the zone id is not null, then don't delete other templates. return success; } // delete all cache entries for this template List<TemplateInfo> cacheTmpls = imageFactory.listTemplateOnCache(template.getId()); for (TemplateInfo tmplOnCache : cacheTmpls) { s_logger.info("Delete template: " + tmplOnCache.getId() + " from image cache store: " + tmplOnCache.getDataStore().getName()); tmplOnCache.delete(); } // find all eligible image stores for this template List<DataStore> iStores = templateMgr.getImageStoreByTemplate(template.getId(), null); if (iStores == null || iStores.size() == 0) { // Mark template as Inactive. template.setState(VirtualMachineTemplate.State.Inactive); _tmpltDao.update(template.getId(), template); // Decrement the number of templates and total secondary storage // space used by the account _resourceLimitMgr.decrementResourceCount(template.getAccountId(), ResourceType.template); _resourceLimitMgr.recalculateResourceCount(template.getAccountId(), account.getDomainId(), ResourceType.secondary_storage.getOrdinal()); } // remove its related ACL permission Pair<Class<?>, Long> tmplt = new Pair<Class<?>, Long>(VirtualMachineTemplate.class, template.getId()); _messageBus.publish(_name, EntityManager.MESSAGE_REMOVE_ENTITY_EVENT, PublishScope.LOCAL, tmplt); // Remove template details templateDetailsDao.removeDetails(template.getId()); // Remove deploy-as-is details (if any) templateDeployAsIsDetailsDao.removeDetails(template.getId()); } return success; } @Override public TemplateProfile prepareDelete(DeleteTemplateCmd cmd) { TemplateProfile profile = super.prepareDelete(cmd); VMTemplateVO template = profile.getTemplate(); List<Long> zoneIdList = profile.getZoneIdList(); if (template.getTemplateType() == TemplateType.SYSTEM) { throw new InvalidParameterValueException("The DomR template cannot be deleted."); } if (zoneIdList != null && (storeMgr.getImageStoreWithFreeCapacity(zoneIdList.get(0)) == null)) { throw new InvalidParameterValueException("Failed to find a secondary storage in the specified zone."); } return profile; } @Override public TemplateProfile prepareDelete(DeleteIsoCmd cmd) { TemplateProfile profile = super.prepareDelete(cmd); List<Long> zoneIdList = profile.getZoneIdList(); if (zoneIdList != null && (storeMgr.getImageStoreWithFreeCapacity(zoneIdList.get(0)) == null)) { throw new InvalidParameterValueException("Failed to find a secondary storage in the specified zone."); } return profile; } }
{ "content_hash": "4111d664fe9e25c89a07a6c3deb60b4b", "timestamp": "", "source": "github", "line_count": 641, "max_line_length": 184, "avg_line_length": 51.55538221528861, "alnum_prop": 0.6338245529094926, "repo_name": "GabrielBrascher/cloudstack", "id": "c080ffd2f25cc980cf71700f95b70e9e0cd36630", "size": "33047", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "server/src/main/java/com/cloud/template/HypervisorTemplateAdapter.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Batchfile", "bytes": "9979" }, { "name": "C#", "bytes": "2356211" }, { "name": "CSS", "bytes": "42504" }, { "name": "Dockerfile", "bytes": "4189" }, { "name": "FreeMarker", "bytes": "4887" }, { "name": "Groovy", "bytes": "146420" }, { "name": "HTML", "bytes": "53626" }, { "name": "Java", "bytes": "38859783" }, { "name": "JavaScript", "bytes": "995137" }, { "name": "Less", "bytes": "28250" }, { "name": "Makefile", "bytes": "871" }, { "name": "Python", "bytes": "12977377" }, { "name": "Ruby", "bytes": "22732" }, { "name": "Shell", "bytes": "744445" }, { "name": "Vue", "bytes": "2012353" }, { "name": "XSLT", "bytes": "57835" } ], "symlink_target": "" }
package jp.fieldnotes.hatunatu.dao.impl; import jp.fieldnotes.hatunatu.dao.NullBean; import jp.fieldnotes.hatunatu.dao.exception.BeanNotFoundRuntimeException; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; public class NullBeanMetaDataTest { @Test public void testException() throws Exception { NullBeanMetaData metaData = new NullBeanMetaData(HogeDao.class); try { metaData.getTableName(); fail(); } catch (BeanNotFoundRuntimeException ignore) { System.out.println(ignore.getMessage()); } } @Test public void testGetBeanClass() throws Exception { NullBeanMetaData metaData = new NullBeanMetaData(HogeDao.class); assertEquals(NullBean.class, metaData.getBeanClass()); } public static interface HogeDao { } }
{ "content_hash": "ae1b6aed4c6381b7bae0b921b069991d", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 73, "avg_line_length": 27.78125, "alnum_prop": 0.6996625421822272, "repo_name": "azusa/hatunatu", "id": "805d9657a5f52bbccece8034ca172eef6484ea85", "size": "1503", "binary": false, "copies": "1", "ref": "refs/heads/develop", "path": "hatunatu/src/test/java/jp/fieldnotes/hatunatu/dao/impl/NullBeanMetaDataTest.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Batchfile", "bytes": "862" }, { "name": "HTML", "bytes": "243" }, { "name": "Java", "bytes": "2918044" }, { "name": "PLSQL", "bytes": "702" }, { "name": "PLpgSQL", "bytes": "477" } ], "symlink_target": "" }
<!-- @license Copyright (C) 2017 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <link rel="import" href="../../../bower_components/polymer/polymer.html"> <dom-module id="gr-settings-item"> <style> :host { display: block; margin-bottom: 2em; } </style> <template> <h2 id="[[anchor]]">[[title]]</h2> <slot></slot> </template> <script src="gr-settings-item.js"></script> </dom-module>
{ "content_hash": "7bf01b93c8e173f0f4220c5cefe20651", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 73, "avg_line_length": 29.125, "alnum_prop": 0.7092274678111588, "repo_name": "WANdisco/gerrit", "id": "b61c7e0b6b4ddae39ab0a7903e4601936783c19a", "size": "932", "binary": false, "copies": "1", "ref": "refs/heads/2.16.21_WD", "path": "polygerrit-ui/app/elements/settings/gr-settings-view/gr-settings-item.html", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "47431" }, { "name": "GAP", "bytes": "4119" }, { "name": "Go", "bytes": "5563" }, { "name": "HTML", "bytes": "726266" }, { "name": "Java", "bytes": "11491861" }, { "name": "JavaScript", "bytes": "404723" }, { "name": "Makefile", "bytes": "7107" }, { "name": "PLpgSQL", "bytes": "3576" }, { "name": "Perl", "bytes": "9943" }, { "name": "Prolog", "bytes": "17904" }, { "name": "Python", "bytes": "267395" }, { "name": "Roff", "bytes": "32749" }, { "name": "Shell", "bytes": "133358" } ], "symlink_target": "" }
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Preview\Marketplace\AvailableAddOn; use Twilio\InstanceContext; use Twilio\Values; use Twilio\Version; /** * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected]. */ class AvailableAddOnExtensionContext extends InstanceContext { /** * Initialize the AvailableAddOnExtensionContext * * @param \Twilio\Version $version Version that contains the resource * @param string $availableAddOnSid The available_add_on_sid * @param string $sid The unique Extension Sid * @return \Twilio\Rest\Preview\Marketplace\AvailableAddOn\AvailableAddOnExtensionContext */ public function __construct(Version $version, $availableAddOnSid, $sid) { parent::__construct($version); // Path Solution $this->solution = array( 'availableAddOnSid' => $availableAddOnSid, 'sid' => $sid, ); $this->uri = '/AvailableAddOns/' . rawurlencode($availableAddOnSid) . '/Extensions/' . rawurlencode($sid) . ''; } /** * Fetch a AvailableAddOnExtensionInstance * * @return AvailableAddOnExtensionInstance Fetched * AvailableAddOnExtensionInstance */ public function fetch() { $params = Values::of(array()); $payload = $this->version->fetch( 'GET', $this->uri, $params ); return new AvailableAddOnExtensionInstance( $this->version, $payload, $this->solution['availableAddOnSid'], $this->solution['sid'] ); } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $context = array(); foreach ($this->solution as $key => $value) { $context[] = "$key=$value"; } return '[Twilio.Preview.Marketplace.AvailableAddOnExtensionContext ' . implode(' ', $context) . ']'; } }
{ "content_hash": "7d50bef83e12d0bbb6e00974c190d4db", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 194, "avg_line_length": 30.24, "alnum_prop": 0.5934744268077602, "repo_name": "Transcendence17/ipheya", "id": "353efb40ebefef7d0ca4e4fd1e8ec1bafbb2e90f", "size": "2268", "binary": false, "copies": "8", "ref": "refs/heads/master", "path": "client/twilio-php-master/Twilio/Rest/Preview/Marketplace/AvailableAddOn/AvailableAddOnExtensionContext.php", "mode": "33188", "license": "mit", "language": [ { "name": "Batchfile", "bytes": "854" }, { "name": "CSS", "bytes": "769832" }, { "name": "HTML", "bytes": "1710113" }, { "name": "JavaScript", "bytes": "3266658" }, { "name": "Makefile", "bytes": "8892" }, { "name": "PHP", "bytes": "8863734" }, { "name": "Python", "bytes": "9796" }, { "name": "Shell", "bytes": "333" } ], "symlink_target": "" }
<?php /** @noinspection PhpComposerExtensionStubsInspection */ declare(strict_types=1); namespace EngineWorks\DBAL\Mysqli; use EngineWorks\DBAL\CommonTypes; use EngineWorks\DBAL\Result as ResultInterface; use EngineWorks\DBAL\Traits\ResultImplementsCountable; use EngineWorks\DBAL\Traits\ResultImplementsIterator; use mysqli_result; class Result implements ResultInterface { use ResultImplementsCountable; use ResultImplementsIterator; private const TYPES = [ // MYSQLI_TYPE_BIT => CommonTypes::T, MYSQLI_TYPE_BLOB => CommonTypes::TTEXT, // MYSQLI_TYPE_CHAR => CommonTypes::TINT, // MYSQLI_TYPE_TINY is the same as MYSQLI_TYPE_CHAR MYSQLI_TYPE_DATE => CommonTypes::TDATE, MYSQLI_TYPE_DATETIME => CommonTypes::TDATETIME, MYSQLI_TYPE_DECIMAL => CommonTypes::TNUMBER, MYSQLI_TYPE_DOUBLE => CommonTypes::TNUMBER, // MYSQLI_TYPE_ENUM => CommonTypes::T, MYSQLI_TYPE_FLOAT => CommonTypes::TNUMBER, // MYSQLI_TYPE_GEOMETRY => CommonTypes::T, MYSQLI_TYPE_INT24 => CommonTypes::TINT, // MYSQLI_TYPE_INTERVAL => CommonTypes::T, MYSQLI_TYPE_LONG => CommonTypes::TINT, MYSQLI_TYPE_LONGLONG => CommonTypes::TINT, MYSQLI_TYPE_LONG_BLOB => CommonTypes::TTEXT, MYSQLI_TYPE_MEDIUM_BLOB => CommonTypes::TTEXT, MYSQLI_TYPE_NEWDATE => CommonTypes::TDATE, MYSQLI_TYPE_NEWDECIMAL => CommonTypes::TNUMBER, // MYSQLI_TYPE_NULL => CommonTypes::T, // MYSQLI_TYPE_SET => CommonTypes::T, MYSQLI_TYPE_SHORT => CommonTypes::TINT, MYSQLI_TYPE_STRING => CommonTypes::TTEXT, MYSQLI_TYPE_TIME => CommonTypes::TTIME, MYSQLI_TYPE_TIMESTAMP => CommonTypes::TINT, MYSQLI_TYPE_TINY => CommonTypes::TINT, MYSQLI_TYPE_TINY_BLOB => CommonTypes::TTEXT, MYSQLI_TYPE_VAR_STRING => CommonTypes::TTEXT, MYSQLI_TYPE_YEAR => CommonTypes::TINT, ]; /** * Mysqli element * @var mysqli_result<mixed> */ private $query; /** * The place where getFields result is cached * @var array<int, array{name: string, table: string, commontype: string, flags: int}>|null */ private $cachedGetFields; /** * Set of fieldname and commontype to use instead of detectedTypes * @var array<string, string> */ private $overrideTypes; /** * Result based on Mysqli * * @param mysqli_result<mixed> $result * @param array<string, string> $overrideTypes */ public function __construct(mysqli_result $result, array $overrideTypes = []) { $this->query = $result; $this->overrideTypes = $overrideTypes; } /** * Close the query and remove property association */ public function __destruct() { $this->query->free(); } /** * @inheritDoc * @return array<int, array{name: string, table: string, commontype: string, flags: int}> */ public function getFields(): array { if (null === $this->cachedGetFields) { $this->cachedGetFields = $this->obtainFields(); } return $this->cachedGetFields; } /** @return array<int, array{name: string, table: string, commontype: string, flags: int}> */ private function obtainFields(): array { $fields = []; $fetchedFields = $this->query->fetch_fields() ?: []; foreach ($fetchedFields as $fetched) { $commonType = $this->getCommonType( $fetched->{'name'}, $fetched->{'type'}, $fetched->{'length'}, $fetched->{'decimals'} ); $fields[] = [ 'name' => $fetched->name, 'commontype' => $commonType, 'table' => $fetched->table, 'flags' => $fetched->flags, // extra: used for getting the ids in the query ]; } return $fields; } private function getCommonType(string $fieldname, int $fieldtype, int $fieldlength, int $fielddecimals): string { if (isset($this->overrideTypes[$fieldname])) { return $this->overrideTypes[$fieldname]; } if (isset(self::TYPES[$fieldtype])) { $type = self::TYPES[$fieldtype]; if (1 === $fieldlength && (CommonTypes::TINT === $type || CommonTypes::TNUMBER === $type)) { $type = CommonTypes::TBOOL; } elseif (CommonTypes::TNUMBER === $type && 0 === $fielddecimals) { $type = CommonTypes::TINT; } } else { $type = CommonTypes::TTEXT; } return $type; } public function getIdFields() { $fieldsAutoIncrement = []; $fieldsPrimaryKeys = []; $fieldsUniqueKeys = []; foreach ($this->getFields() as $field) { $flags = (int) $field['flags']; if (MYSQLI_AUTO_INCREMENT_FLAG & $flags) { $fieldsAutoIncrement[] = (string) $field['name']; break; } elseif (MYSQLI_PRI_KEY_FLAG & $flags) { $fieldsPrimaryKeys[] = (string) $field['name']; } elseif (MYSQLI_UNIQUE_KEY_FLAG & $flags) { $fieldsUniqueKeys[] = (string) $field['name']; } } if (count($fieldsAutoIncrement)) { return $fieldsAutoIncrement; } if (count($fieldsPrimaryKeys)) { return $fieldsPrimaryKeys; } if (count($fieldsUniqueKeys)) { return $fieldsUniqueKeys; } return false; } public function resultCount(): int { return (int) $this->query->num_rows; } public function fetchRow() { $return = $this->query->fetch_assoc(); return (! is_array($return)) ? false : $return; } public function moveTo(int $offset): bool { if ($offset < 0) { return false; } return $this->query->data_seek($offset); } public function moveFirst(): bool { if ($this->resultCount() <= 0) { return false; } return $this->moveTo(0); } }
{ "content_hash": "bea1bbbc27710ce94e074b6ae5ef1756", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 115, "avg_line_length": 31.683673469387756, "alnum_prop": 0.5639291465378422, "repo_name": "eclipxe13/engineworks-dbal", "id": "eb2d7e6058e3ef08a51fa8e0e3acf868666dae10", "size": "6210", "binary": false, "copies": "1", "ref": "refs/heads/main", "path": "src/Mysqli/Result.php", "mode": "33188", "license": "mit", "language": [ { "name": "PHP", "bytes": "269470" }, { "name": "Shell", "bytes": "873" } ], "symlink_target": "" }
<tr valign="middle" align="{S_CONTENT_FLOW_BEGIN}"> <td colspan="2"> <script type="text/javascript"> // <![CDATA[ // Define the bbCode tags var bbcode = new Array(); var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->); var imageTag = false; // Helpline messages var help_line = { b: '{LA_BBCODE_B_HELP}', i: '{LA_BBCODE_I_HELP}', u: '{LA_BBCODE_U_HELP}', q: '{LA_BBCODE_Q_HELP}', c: '{LA_BBCODE_C_HELP}', l: '{LA_BBCODE_L_HELP}', o: '{LA_BBCODE_O_HELP}', p: '{LA_BBCODE_P_HELP}', w: '{LA_BBCODE_W_HELP}', a: '{LA_BBCODE_A_HELP}', s: '{LA_BBCODE_S_HELP}', f: '{LA_BBCODE_F_HELP}', y: '{LA_BBCODE_Y_HELP}', d: '{LA_BBCODE_D_HELP}', tip: '{L_STYLES_TIP}' <!-- BEGIN custom_tags --> ,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}' <!-- END custom_tags --> } // ]]> </script> <script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/editor.js"></script> <!-- IF S_BBCODE_ALLOWED --> <input type="button" class="btnbbcode" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px;" onclick="bbstyle(0)" onmouseover="helpline('b')" onmouseout="helpline('tip')" /> <input type="button" class="btnbbcode" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px;" onclick="bbstyle(2)" onmouseover="helpline('i')" onmouseout="helpline('tip')" /> <input type="button" class="btnbbcode" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px;" onclick="bbstyle(4)" onmouseover="helpline('u')" onmouseout="helpline('tip')" /> <!-- IF S_BBCODE_QUOTE --> <input type="button" class="btnbbcode" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" onmouseout="helpline('tip')" /> <!-- ENDIF --> <input type="button" class="btnbbcode" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" /> <input type="button" class="btnbbcode" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" /> <input type="button" class="btnbbcode" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" /> <input type="button" class="btnbbcode" accesskey="y" name="addlistitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" /> <!-- IF S_BBCODE_IMG --> <input type="button" class="btnbbcode" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" /> <!-- ENDIF --> <!-- IF S_LINKS_ALLOWED --> <input type="button" class="btnbbcode" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" onmouseover="helpline('w')" onmouseout="helpline('tip')" /> <!-- ENDIF --> <!-- IF S_BBCODE_FLASH --> <input type="button" class="btnbbcode" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" onmouseover="helpline('d')" onmouseout="helpline('tip')" /> <!-- ENDIF --> <span class="genmed nowrap">{L_FONT_SIZE}: <select class="gensmall" name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" onmouseover="helpline('f')" onmouseout="helpline('tip')"> <option value="50">{L_FONT_TINY}</option> <option value="85">{L_FONT_SMALL}</option> <option value="100" selected="selected">{L_FONT_NORMAL}</option> <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 --> <option value="150">{L_FONT_LARGE}</option> <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 --> <option value="200">{L_FONT_HUGE}</option> <!-- ENDIF --> <!-- ENDIF --> </select></span> <!-- ENDIF --> </td> </tr> <!-- IF S_BBCODE_ALLOWED and .custom_tags --> <tr valign="middle" align="{S_CONTENT_FLOW_BEGIN}"> <td colspan="2"> <!-- BEGIN custom_tags --> <input type="button" class="btnbbcode" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})"<!-- IF custom_tags.BBCODE_HELPLINE !== '' --> onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')"<!-- ENDIF --> /> <!-- END custom_tags --> </td> </tr> <!-- ENDIF --> <!-- IF S_BBCODE_ALLOWED --> <tr> <td<!-- IF $S_SIGNATURE or S_EDIT_DRAFT --> colspan="2"<!-- ENDIF -->><input type="text" readonly="readonly" name="helpbox" style="width:100%" class="helpline" value="{L_STYLES_TIP}" /></td> <!-- IF not $S_SIGNATURE and not S_EDIT_DRAFT --> <td class="genmed" align="center">{L_FONT_COLOR}</td> <!-- ENDIF --> </tr> <!-- ENDIF -->
{ "content_hash": "23551dc47bf527557cbb131b3e5f1317", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 312, "avg_line_length": 59.827586206896555, "alnum_prop": 0.6263208453410183, "repo_name": "aequasi/SeductiveCraft", "id": "a9105b5eec24008e47e38c54c14d4d39f4cf55aa", "size": "5205", "binary": false, "copies": "6", "ref": "refs/heads/master", "path": "public/forum/styles/subsilver2/template/posting_buttons.html", "mode": "33261", "license": "bsd-3-clause", "language": [], "symlink_target": "" }
@class LZEmotion; @interface LZEmotionTool : NSObject // 存表情 + (void)addRecentEmotion:(LZEmotion *)emotion; // 取表情 + (NSArray *)recentEmotions; @end
{ "content_hash": "cfb25c6239c3d73d81660eded08d5b39", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 46, "avg_line_length": 16.77777777777778, "alnum_prop": 0.7284768211920529, "repo_name": "zhangli940210/MyWeibo", "id": "78a5ef51531c4bbeaafe5df0ce415e853a600f7f", "size": "323", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "LZWeiBo/LZWeiBo/Classes/Compose(发微博)/Tool/LZEmotionTool.h", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Objective-C", "bytes": "128522" } ], "symlink_target": "" }
package com.xiaoshangxing.xiaoshang.help.helpDetail; import android.os.Bundle; import android.os.Handler; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.xiaoshangxing.R; import com.xiaoshangxing.data.UserInfoCache; import com.xiaoshangxing.data.bean.CommentsBean; import com.xiaoshangxing.data.bean.Published; import com.xiaoshangxing.network.callBack.JustCareBackData; import com.xiaoshangxing.network.netUtil.NormalKey; import com.xiaoshangxing.utils.baseClass.BaseActivity; import com.xiaoshangxing.utils.baseClass.BaseView; import com.xiaoshangxing.utils.customView.CircleImage; import com.xiaoshangxing.utils.customView.LayoutHelp; import com.xiaoshangxing.utils.customView.Name; import com.xiaoshangxing.utils.customView.emotionEdittext.EmotinText; import com.xiaoshangxing.yujian.im.kit.TimeUtil; import java.util.List; import butterknife.Bind; import butterknife.ButterKnife; /** * Created by FengChaoQun * on 2016/7/20 * 互帮和悬赏详情里的评论列表 */ public class CommentListFrafment extends Fragment { @Bind(R.id.recycleView) RecyclerView recycleView; @Bind(R.id.empty_text) TextView emptyText; private Published published; private List<CommentsBean> commentsBeen; private GetDataFromActivity activity; private Handler handler = new Handler(); private boolean isTuch = true; private BaseView baseView; @Nullable @Override public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { View view = inflater.inflate(R.layout.frag_comment_list, null); ButterKnife.bind(this, view); activity = (GetDataFromActivity) getActivity(); baseView = (BaseActivity) getActivity(); published = (Published) (activity.getData()); if (published == null) { return view; } recycleView.setLayoutManager(new LinearLayoutManager(getContext())); if (published.getComments().size() < 1) { recycleView.setVisibility(View.GONE); emptyText.setVisibility(View.VISIBLE); emptyText.setText("赶紧评论一下"); } else { commentsBeen = published.getComments(); recycleView.setAdapter(new HomeAdapter()); } recycleView.addOnScrollListener(new RecyclerView.OnScrollListener() { @Override public void onScrollStateChanged(RecyclerView recyclerView, int newState) { super.onScrollStateChanged(recyclerView, newState); if (isTuch) { activity.hideInputBox(); } } }); emptyText.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { activity.hideInputBox(); } }); return view; } @Override public void onDestroyView() { super.onDestroyView(); ButterKnife.unbind(this); } class HomeAdapter extends RecyclerView.Adapter<HomeAdapter.MyViewHolder> { @Override public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { View view = LayoutInflater.from( getContext()).inflate(R.layout.item_comment_list_recycleview, parent, false); MyViewHolder holder = new MyViewHolder(view); holder.view = view; holder.name = (Name) view.findViewById(R.id.name); holder.college = (TextView) view.findViewById(R.id.college); holder.time = (TextView) view.findViewById(R.id.time); holder.text = (EmotinText) view.findViewById(R.id.text); holder.headImage = (CircleImage) view.findViewById(R.id.head_image); return holder; } @Override public void onBindViewHolder(final MyViewHolder holder, int position) { final CommentsBean i = commentsBeen.get(position); int userId = i.getUserId(); String id = String.valueOf(i.getUserId()); UserInfoCache.getInstance().getHeadIntoImage(id, holder.headImage); UserInfoCache.getInstance().getExIntoTextview(id, NormalKey.USER_NAME, holder.name); UserInfoCache.getInstance().getExIntoTextview(id, NormalKey.isCollege, holder.college); holder.text.setText(i.getText()); holder.time.setText(TimeUtil.getTimeShowString(i.getCreateTime(), false)); holder.headImage.setIntent_type(CircleImage.PERSON_INFO, String.valueOf(userId)); holder.view.setOnClickListener(new View.OnClickListener() { @Override public void onClick(final View v) { LayoutHelp.ClickOnComment(i, baseView, new JustCareBackData<Published>() { @Override public void onBackData(Published published) { activity.refresh(published); } }, new LayoutHelp.DoSomething() { @Override public void doSomething() { activity.comment(i.getId()); handler.postDelayed(new Runnable() { @Override public void run() { final int[] xy = new int[2]; v.getLocationOnScreen(xy); final View mv = v; int editextLocation = activity.getInputBox().getEdittext_height(); int destination = xy[1] + mv.getHeight() - editextLocation; if (destination < 0) { return; } isTuch = false; recycleView.smoothScrollBy(destination, Math.abs(destination)); handler.postDelayed(new Runnable() { @Override public void run() { isTuch = true; } }, Math.abs(destination) + 300); } }, 300); } }); } }); holder.view.setOnLongClickListener(new View.OnLongClickListener() { @Override public boolean onLongClick(View v) { LayoutHelp.LongClickOnComment(i, baseView, new JustCareBackData<Published>() { @Override public void onBackData(Published published) { activity.refresh(published); } }); return true; } }); } @Override public int getItemCount() { return commentsBeen.size(); } class MyViewHolder extends RecyclerView.ViewHolder { TextView college, time; EmotinText text; Name name; CircleImage headImage; View view; MyViewHolder(View view) { super(view); } } } }
{ "content_hash": "bdf5abce913e050adf0efa2fe3c3cd72", "timestamp": "", "source": "github", "line_count": 203, "max_line_length": 123, "avg_line_length": 38.251231527093594, "alnum_prop": 0.5645846748229234, "repo_name": "JNDX25219/XiaoShangXing", "id": "fe2eab23ea14be79cece500fb7bb9449dd30bb83", "size": "7803", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "app/src/main/java/com/xiaoshangxing/xiaoshang/help/helpDetail/CommentListFrafment.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "2955459" } ], "symlink_target": "" }
using namespace mdsd::details; using namespace web::http; using namespace web::http::client; static std::vector<byte> SerializeData( const std::string & text ) { std::vector<byte> v; BinaryWriter writer(v); writer.Write(text); return v; } static bool DisableWeakSslCiphers( const std::string & url, web::http::client::native_handle handle ) { const std::string https = "https:"; if (url.size() <= https.size()) { return true; } bool isHttps = (0 == strncasecmp(url.c_str(), https.c_str(), https.size())); if (!isHttps) { return true; } bool resultOK = true; boost::asio::ssl::stream<boost::asio::ip::tcp::socket &>* streamobj = static_cast<boost::asio::ssl::stream<boost::asio::ip::tcp::socket &>* >(handle); if (streamobj) { SSL* ssl = streamobj->native_handle(); if (ssl) { const int isOK = 1; const std::string cipherList = "HIGH:!DSS:!RC4:!aNULL@STRENGTH"; if (::SSL_set_cipher_list(ssl, cipherList.c_str()) != isOK) { MdsCmdLogError("Error: failed to disable weak ciphers: " + cipherList + "; URL: " + url); resultOK = false; } } } return resultOK; } EventHubPublisher::EventHubPublisher( const std::string & hostUrl, const std::string & eventHubUrl, const std::string & sasToken) : m_hostUrl(hostUrl), m_eventHubUrl(eventHubUrl), m_sasToken(sasToken), m_httpclient(nullptr), m_resetHttpClient(false) { } // The actual data sent to EventHub is a serialized version of EventDataT::GetData(). // However, because EventDataT::GetData() is std::string, and serialization doesn't // change the size of std::string, use the std::string's size to do validation. static void ValidateData( const mdsd::EventDataT & data ) { if (data.GetData().size() > mdsd::EventDataT::GetMaxSize()) { std::ostringstream strm; strm << "EventHub data is too big: max=" << mdsd::EventDataT::GetMaxSize() << " B; input=" << data.GetData().size() << " B. Drop it."; throw mdsd::TooBigEventHubDataException(strm.str()); } } http_request EventHubPublisher::CreateRequest( const EventDataT & data ) { ValidateData(data); auto serializedData = SerializeData(data.GetData()); http_request req; req.set_request_uri(m_eventHubUrl); req.set_method(methods::POST); req.headers().add("Authorization", m_sasToken); req.headers().add("Content-Type", "application/atom+xml;type=entry;charset=utf-8"); req.set_body(serializedData); for (const auto & it : data.Properties()) { req.headers().add(it.first, it.second); } return req; } void EventHubPublisher::ResetClient() { Trace trace(Trace::MdsCmd, "EventHubPublisher::ResetClient"); if (m_httpclient) { trace.NOTE("Http client will be reset due to previous failure."); m_httpclient.reset(); m_resetHttpClient = false; } auto lambda = [this](web::http::client::native_handle handle)->void { (void) DisableWeakSslCiphers(m_hostUrl, handle); }; http_client_config httpClientConfig; httpClientConfig.set_timeout(std::chrono::seconds(30)); // http request timeout value httpClientConfig.set_nativehandle_options(lambda); m_httpclient = std::move(std::unique_ptr<http_client>(new http_client(m_hostUrl, httpClientConfig))); } bool EventHubPublisher::Publish( const EventDataT& data ) { if (data.empty()) { MdsCmdLogWarn("Empty data is passed to publisher. Drop it."); return true; } try { if (!m_httpclient || m_resetHttpClient) { ResetClient(); } auto postRequest = CreateRequest(data); auto httpResponse = m_httpclient->request(postRequest).get(); return HandleServerResponse(httpResponse, false); } catch(const mdsd::TooBigEventHubDataException & ex) { MdsCmdLogWarn(ex.what()); return true; } catch(const std::exception & ex) { MdsCmdLogError("Error: EH publish to " + m_eventHubUrl + " failed: " + ex.what()); } catch(...) { MdsCmdLogError("Error: EH publish to " + m_eventHubUrl +" has unknown exception."); } m_resetHttpClient = true; return false; } pplx::task<bool> EventHubPublisher::PublishAsync( const EventDataT& data ) { if (data.empty()) { MdsCmdLogWarn("Empty data is passed to async publisher. Drop it."); return pplx::task_from_result(true); } try { if (!m_httpclient || m_resetHttpClient) { ResetClient(); } auto postRequest = CreateRequest(data); auto shThis = shared_from_this(); return m_httpclient->request(postRequest) .then([shThis](pplx::task<http_response> responseTask) { return shThis->HandleServerResponseAsync(responseTask); }); } catch(const mdsd::TooBigEventHubDataException & ex) { MdsCmdLogWarn(ex.what()); return pplx::task_from_result(true); } catch(const std::exception & ex) { MdsCmdLogError("Error: EH async publish to " + m_eventHubUrl + " failed: " + ex.what()); } m_resetHttpClient = true; return pplx::task_from_result(false); } bool EventHubPublisher::HandleServerResponseAsync( pplx::task<http_response> responseTask ) { try { return HandleServerResponse(responseTask.get(), true); } catch(const std::exception & e) { MdsCmdLogError("Error: EH async publish to " + m_eventHubUrl + " failed with http response: " + e.what()); } m_resetHttpClient = true; return false; } bool EventHubPublisher::HandleServerResponse( const http_response & response, bool isFromAsync ) { Trace trace(Trace::MdsCmd, "EventHubPublisher::HandleServerResponse"); PublisherStatus pubStatus = PublisherStatus::Idle; auto statusCode = response.status_code(); TRACEINFO(trace, "Http response status_code=" << statusCode << "; Reason='" << response.reason_phrase() << "'"); const int HttpStatusThrottled = 429; std::string errDetails; switch(statusCode) { case status_codes::Created: // 201. According to MSDN, 201 means success. case status_codes::OK: pubStatus = PublisherStatus::PublicationSucceeded; break; case status_codes::BadRequest: pubStatus = PublisherStatus::PublicationFailedWithBadRequest; break; case status_codes::Unauthorized: case status_codes::Forbidden: pubStatus = PublisherStatus::PublicationFailedWithAuthError; errDetails += " SAS: '" + m_sasToken + "'"; break; case status_codes::ServiceUnavailable: pubStatus = PublisherStatus::PublicationFailedServerBusy; m_resetHttpClient = true; break; case HttpStatusThrottled: pubStatus = PublisherStatus::PublicationFailedThrottled; break; default: pubStatus = PublisherStatus::PublicationFailedWithUnknownReason; break; } if (PublisherStatus::PublicationSucceeded != pubStatus) { std::ostringstream strm; strm << "Error: EH publish to " << m_eventHubUrl << errDetails << " failed with status=" << pubStatus << std::boolalpha << ". isAsync=" << isFromAsync; MdsCmdLogError(strm); } else { TRACEINFO(trace, "publication succeeded. isAsync=" << std::boolalpha << isFromAsync); } return (PublisherStatus::PublicationSucceeded == pubStatus); }
{ "content_hash": "ed73333ac5d3adc4605b684dc4e3e638", "timestamp": "", "source": "github", "line_count": 267, "max_line_length": 116, "avg_line_length": 29.029962546816478, "alnum_prop": 0.6215972132628048, "repo_name": "bpramod/azure-linux-extensions", "id": "041d72b8f10abae6b8729c2b62752c549405493a", "size": "8105", "binary": false, "copies": "5", "ref": "refs/heads/master", "path": "Diagnostic/mdsd/mdscommands/EventHubPublisher.cc", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "C", "bytes": "81542" }, { "name": "C++", "bytes": "1038973" }, { "name": "CMake", "bytes": "11642" }, { "name": "Dockerfile", "bytes": "1539" }, { "name": "Go", "bytes": "136483" }, { "name": "HTML", "bytes": "32736" }, { "name": "JavaScript", "bytes": "22883" }, { "name": "Makefile", "bytes": "11381" }, { "name": "PowerShell", "bytes": "22400" }, { "name": "Python", "bytes": "5029229" }, { "name": "Roff", "bytes": "3827" }, { "name": "Shell", "bytes": "56871" } ], "symlink_target": "" }
layout: page title: Hardy Software Trade Fair date: 2016-05-24 author: Christina Rogers tags: weekly links, java status: published summary: Integer ullamcorper maximus ante vitae placerat. Curabitur aliquam hendrerit sodales. banner: images/banner/meeting-01.jpg booking: startDate: 01/25/2017 endDate: 01/26/2017 ctyhocn: YXULDHX groupCode: HSTF published: true --- Quisque varius dolor nec accumsan ultrices. Etiam vitae mattis tortor, at lacinia odio. Aenean eleifend risus ut ultrices tempor. Suspendisse potenti. Sed posuere metus eget lorem mattis tincidunt. Phasellus vitae lorem in ante bibendum fringilla. Proin vitae condimentum felis. Duis dictum a diam vel ultricies. 1 Phasellus ac tortor imperdiet, molestie enim quis, suscipit nisl 1 Sed sed arcu et augue elementum commodo 1 Fusce at diam congue, maximus eros id, tincidunt sem. Cras nec pharetra ante, sit amet tempus nunc. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse feugiat tincidunt dolor, quis tristique urna eleifend sed. Nam ac imperdiet nulla. Pellentesque magna nulla, varius nec scelerisque vitae, pharetra et justo. Nulla consectetur rhoncus hendrerit. Ut lobortis pretium elit, quis finibus magna. Aliquam mattis iaculis elit vitae eleifend. Quisque tortor sem, dapibus dictum dignissim eget, laoreet eget odio. Pellentesque hendrerit quam nisi, eu gravida lacus efficitur at. Donec accumsan luctus enim at accumsan. Phasellus aliquet suscipit massa accumsan tempus. Ut consectetur ut quam vel luctus. Maecenas lorem ante, iaculis sed hendrerit nec, blandit nec leo.
{ "content_hash": "04c3c7a7539e77fd326bb8b7f92be6de", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 761, "avg_line_length": 73.5, "alnum_prop": 0.8132343846629561, "repo_name": "KlishGroup/prose-pogs", "id": "f984f9d6c2264afccbe43bf051d6a0f81efc0f2a", "size": "1621", "binary": false, "copies": "1", "ref": "refs/heads/gh-pages", "path": "pogs/Y/YXULDHX/HSTF/index.md", "mode": "33188", "license": "mit", "language": [], "symlink_target": "" }
using System; using Umbraco.Cms.Core.Models; namespace Umbraco.Cms.Infrastructure.PublishedCache.DataSource { // read-only dto internal class ContentSourceDto : IReadOnlyContentBase { public int Id { get; set; } public Guid Key { get; set; } public int ContentTypeId { get; set; } public int Level { get; set; } public string Path { get; set; } = string.Empty; public int SortOrder { get; set; } public int ParentId { get; set; } public bool Published { get; set; } public bool Edited { get; set; } public DateTime CreateDate { get; set; } public int CreatorId { get; set; } // edited data public int VersionId { get; set; } public string? EditName { get; set; } public DateTime EditVersionDate { get; set; } public int EditWriterId { get; set; } public int EditTemplateId { get; set; } public string? EditData { get; set; } public byte[]? EditDataRaw { get; set; } // published data public int PublishedVersionId { get; set; } public string? PubName { get; set; } public DateTime PubVersionDate { get; set; } public int PubWriterId { get; set; } public int PubTemplateId { get; set; } public string? PubData { get; set; } public byte[]? PubDataRaw { get; set; } // Explicit implementation DateTime IReadOnlyContentBase.UpdateDate => EditVersionDate; string? IReadOnlyContentBase.Name => EditName; int IReadOnlyContentBase.WriterId => EditWriterId; } }
{ "content_hash": "f247b7db3bebc7d857dae7e9f003b157", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 68, "avg_line_length": 34.5531914893617, "alnum_prop": 0.6083743842364532, "repo_name": "robertjf/Umbraco-CMS", "id": "5bdcefcf94d0cb6568b1ed72f067ccc531d9a415", "size": "1624", "binary": false, "copies": "2", "ref": "refs/heads/dev-v8", "path": "src/Umbraco.PublishedCache.NuCache/DataSource/ContentSourceDto.cs", "mode": "33188", "license": "mit", "language": [ { "name": "C#", "bytes": "16591357" }, { "name": "CSS", "bytes": "17972" }, { "name": "Dockerfile", "bytes": "2352" }, { "name": "HTML", "bytes": "1271571" }, { "name": "JavaScript", "bytes": "4581946" }, { "name": "Less", "bytes": "688714" }, { "name": "PowerShell", "bytes": "20112" }, { "name": "Shell", "bytes": "3572" }, { "name": "TSQL", "bytes": "371" }, { "name": "TypeScript", "bytes": "122327" } ], "symlink_target": "" }
var mu = require('mu2'); // notice the '2' which matches the npm repo, sorry.. var fs = require('fs'); var utils = require('../misc/utils'); var environment = require('../config/environment'); var globals = require('../globals'); mu.root = __dirname + '/templates'; module.exports = (links, category, filename, filepath, title, keywords) => { return new Promise((resolve, reject) => { const fullFilepath = filepath + filename; const wstream = fs.createWriteStream(fullFilepath); const muStream = mu.compileAndRender('index.html', { links, title, category, keywords, domain: environment.domain, extension: filename.slice(0, -5), fbThumbnail: links[0].fbThumbnail, twThumbnail: links[0].twThumbnail, }); muStream.on('data', (renderedStream) => { wstream.write(renderedStream) }); muStream.on('end', () => { // To make sure all writing has finished before closing stream setTimeout(() => { wstream.end(); resolve(filename); }, 10); }); muStream.on('error', () => reject(error)); }); }
{ "content_hash": "73d628f40969eef82e8383f0fe031261", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 78, "avg_line_length": 28.615384615384617, "alnum_prop": 0.6120071684587813, "repo_name": "elliotaplant/PicFish", "id": "97eed610100642fc2f38fde096c8d053d7cca230", "size": "1116", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "server/rendering/renderTemplate.js", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "4848" }, { "name": "HTML", "bytes": "13066" }, { "name": "JavaScript", "bytes": "39108" } ], "symlink_target": "" }
package com.dss886.nForumSDK.model; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; /** * 用户信箱结构体 * @author dss886 * @since 2014-9-7 */ public class Mailbox { /** 是否有新邮件 */ public boolean new_mail; /** 信箱是否已满 */ public boolean full_mail; /** 信箱已用空间 */ public String space_used; /** 当前用户是否能发信 */ public boolean can_send; /** * 信箱类型描述,包括:收件箱,发件箱,废纸篓, * 仅存在于/mail/:box中 * */ public String description; /** * 当前信箱所包含的信件元数据数组, * 仅存在于/mail/:box中 * */ public List<Mail> mails = new ArrayList<Mail>(); /** * 当前信箱的分页信息, * 仅存在于/mail/:box中 * */ public Pagination pagination; public static Mailbox parse(String jsonString) { try { JSONObject jsonObject = new JSONObject(jsonString); return Mailbox.parse(jsonObject); } catch (JSONException e) { e.printStackTrace(); } return null; } public static Mailbox parse(JSONObject jsonObject) { if (null == jsonObject) { return null; } Mailbox mailbox = new Mailbox(); mailbox.new_mail = jsonObject.optBoolean("new_mail", false); mailbox.full_mail = jsonObject.optBoolean("full_mail", false); mailbox.space_used = jsonObject.optString("space_used", ""); mailbox.can_send = jsonObject.optBoolean("can_send", true); mailbox.description = jsonObject.optString("description", ""); JSONArray jsonMails = jsonObject.optJSONArray("mail"); if(null != jsonMails){ for(int i = 0; i < jsonMails.length(); i++){ mailbox.mails.add(Mail.parse(jsonMails.optJSONObject(i))); } } mailbox.pagination = Pagination.parse(jsonObject.optJSONObject("pagination")); return mailbox; } }
{ "content_hash": "2e8ac7019fce32355c1b9b952f1cd840", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 86, "avg_line_length": 26.833333333333332, "alnum_prop": 0.5967908902691511, "repo_name": "dss886/nForumSDK", "id": "ed43ce609f4ecbe83840a9ae6012348744e0aa77", "size": "2739", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/com/dss886/nForumSDK/model/Mailbox.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "128010" } ], "symlink_target": "" }
package org.cipres.treebase.dao.jdbc; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import mesquite.lib.characters.CharacterData; import org.apache.log4j.Logger; import org.springframework.jdbc.UncategorizedSQLException; import org.cipres.treebase.domain.matrix.CharacterMatrix; import org.cipres.treebase.domain.matrix.ContinuousMatrix; import org.cipres.treebase.domain.matrix.DiscreteChar; import org.cipres.treebase.domain.matrix.DiscreteCharState; import org.cipres.treebase.domain.nexus.mesquite.MesquiteMatrixConverter; import org.cipres.treebase.domain.nexus.nexml.NexmlMatrixWriter; import org.cipres.treebase.domain.nexus.nexml.NexmlMatrixReader; /** * Helper class for direct Matrix related SQL operations. Bypass the hibernate framework for high * performance database operations. * * Created on Jul 13, 2007 * * @author Jin Ruan * */ public class DiscreteMatrixJDBC extends MatrixJDBC { private static final Logger LOGGER = Logger.getLogger(DiscreteMatrixJDBC.class); //UPDATE MATRIXROW //SET MATRIXROW_ID=0, VERSION=0, MATRIX_ID=0, TAXONLABEL_ID=0, ROW_ORDER=0, SYMBOLSTRING='' //WHERE // INSERT INTO PHYLOCHAR(TYPE, PHYLOCHAR_ID, VERSION, DESCRIPTION, LOWERLIMIT, UPPERLIMIT) // VALUES('D', default, 0, ?, 0, 0) // INSERT INTO DISCRETECHARSTATE(DISCRETECHARSTATE_ID, VERSION, DESCRIPTION, NOTES, // PHYLOCHAR_ID, STATESET_ID, ANCESTRALSTATE_ID) // VALUES(default, 0, ?, ?, ?, ?, ?) // insert into MATRIXELEMENT // (MATRIXELEMENT_ID, VERSION, MATRIXCOLUMN_ID, DISCRETECHARSTATE_ID, TYPE) // values // (default, ?, ?, ?, 'D') // INSERT INTO MATRIXELEMENT(TYPE, MATRIXELEMENT_ID, VERSION, COMPOUNDVALUE, ANDLOGIC, VALUE, // GAP, MATRIXCOLUMN_ID, DISCRETECHARSTATE_ID, ITEMDEFINITION_ID, MATRIXROW_ID, ELEMENT_ORDER) // VALUES('D', default, 0, '', 0, 0, 0, 0, 0, 0, 0, 0) // INSERT INTO MATRIXELEMENT(TYPE, MATRIXELEMENT_ID, VERSION, // COMPOUNDVALUE, ANDLOGIC, VALUE, GAP, MATRIXCOLUMN_ID, // ITEMDEFINITION_ID, MATRIXROW_ID, DISCRETECHARSTATE_ID, ELEMENT_ORDER) // VALUES(?, default, 1, // '', 0, 0, 0, 0, // 0, 0, 0, 0) // private CharacterMatrix mCharacterMatrix; // private CharacterData mMesquiteCharacterData; private Long mDefaultCharID; private Map<String, Long>[] mDiscreteStateMapsByCol; private Map<Long, Map> mPhyloCharIdToStateMapMap; private List<StringBuffer> mRowSymbolBufs; /** * Constructor. */ private DiscreteMatrixJDBC() { super(); } /** * Constructor. * @param pM * @param pCategoricalData * @param pMesquiteStandardMatrixConverter */ public DiscreteMatrixJDBC( CharacterMatrix pMatrix, CharacterData pMesqCategoricalData, MesquiteMatrixConverter pMesqMatrixConverter) { this(); setCharacterMatrix(pMatrix); setMesquiteCharacterData(pMesqCategoricalData); setMesqMatrixConverter(pMesqMatrixConverter); // add string buffers for rows. int rowCount = pMesqCategoricalData.getNumTaxa(); mRowSymbolBufs = new ArrayList<StringBuffer>(rowCount); for (int i = 0; i < rowCount; i++) { mRowSymbolBufs.add(new StringBuffer()); } } public DiscreteMatrixJDBC(CharacterMatrix tbMatrix, org.nexml.model.CategoricalMatrix xmlMatrix, NexmlMatrixReader nexmlMatrixConverter) { this(); setCharacterMatrix(tbMatrix); setNexmlCharacterData(xmlMatrix); setNexmlMatrixConverter(nexmlMatrixConverter); } /** * Return the RowSymbolBufs field. * * @return List<StringBuffer> mRowSymbolBufs */ public List<StringBuffer> getRowSymbolBufs() { return mRowSymbolBufs; } /** * An array, index corresponding to column index. Element is a map for the corresponding * discrete char states(key: state symbol, value: state id) * * @return Map<String, Long>[] */ private Map<String, Long>[] getDiscreteStateMapsByCol() { return mDiscreteStateMapsByCol; } /** * Get all discrete states for a column. Return a map for the corresponding discrete char * states(key: state symbol, value: state id) * * @param pColIndex * @return */ public Map<String, Long> getStateSymbolToIdMap(int pColIndex) { return getDiscreteStateMapsByCol()[pColIndex]; } /** * Map key: PhyloCharID Map value: a map of DiscreteStateMap (key: state symbol, value: state id) * * @return Map<Long, Map> */ public Map<Long, Map> getPhyloCharIdToStateMapMap() { return mPhyloCharIdToStateMapMap; } /** * Return the DefaultCharID field. * * @return Long mDefaultCharID */ public Long getDefaultCharID() { return mDefaultCharID; } /** * Set the DefaultCharID field. */ public void setDefaultCharID(Long pNewDefaultCharID) { mDefaultCharID = pNewDefaultCharID; } /** * Return the discriminator value for the sub classes in MatrixElement class hierarchy. * * @return */ @Override protected String getElementDiscriminator() { return TYPE_DISCRETE; } /** * Batch update symbols field in each row. * * @param pCon */ public void batchUpdateRowSymbol(Connection pCon) { int numRows = getRowIDs().length; try { //update symbols for each row: String rowSymbolStr = "UPDATE MATRIXROW SET SYMBOLSTRING= ? WHERE MATRIXROW_ID= ?"; PreparedStatement rowSymbolBatch = pCon.prepareStatement(rowSymbolStr); int count = 0; for (int i = 0; i < numRows; i++) { rowSymbolBatch.setString(1, getRowSymbolBufs().get(i).toString()); rowSymbolBatch.setLong(2, getRowIDs()[i]); rowSymbolBatch.addBatch(); count++; // IBM JDBC driver has a 32k batch limit: if (count > MatrixJDBC.JDBC_BATCH_LIMIT) { count = 0; rowSymbolBatch.executeBatch(); pCon.commit(); if (LOGGER.isDebugEnabled()) { LOGGER.debug(" commit count=" + count); //$NON-NLS-1$ } } } rowSymbolBatch.executeBatch(); pCon.commit(); rowSymbolBatch.close(); if (LOGGER.isDebugEnabled()) { LOGGER.debug("rowSymbolbatch committing count=" + count); //$NON-NLS-1$ } } catch (SQLException ex) { throw new UncategorizedSQLException( "Failed to batch row symbols.", "", ex); } } /** * Prepare for batch insert elements: <br> * * Update symbols field in each row. * * populate the following: * <p>* mRowIDs: row ids, index corresponding to row index * <p>* mColIDs: column ids * <p>* mDiscreteStateMapsByCol: an array, index corresponding to column index element is a map * for the corresponding discrete char states(key: state, value: state id) * * @param pCon */ @Override public void prepElementBatchInsert(Connection pCon) { super.prepElementBatchInsert(pCon); CharacterData mesqData = getMesquiteCharacterData(); int numCols = mesqData.getNumChars(); int numRows = getRowIDs().length; // int numRows = mesqData.getNumTaxa(); try { // populate the col ids: mDiscreteStateMapsByCol = (Map<String, Long>[]) new HashMap[numCols]; // the index is the column index, the value is the corresponding phylochar id. Long[] phyloCharIDs = getPhyloCharIDs(); // populate the column array (element is a map of discrete symbol - stateID) List<Long> phyloCharList = Arrays.asList(phyloCharIDs); Set<Long> phyloCharIDSet = new HashSet(phyloCharList); mPhyloCharIdToStateMapMap = new HashMap<Long, Map>(); StringBuffer queryBuf = new StringBuffer( "select DISCRETECHARSTATE_ID, symbol from discretecharstate where PHYLOCHAR_ID = ?"); PreparedStatement ps = pCon.prepareStatement(queryBuf.toString()); for (Long charId : phyloCharIDSet) { if (charId != null) { Map<String, Long> stateSymbolToIdMap = new HashMap<String, Long>(); ps.setLong(1, charId); // phyloChar id ResultSet rs = ps.executeQuery(); while (rs != null && rs.next()) { long stateId = rs.getLong(1); // discreteCharState id String symbol = rs.getString(2); // symbol stateSymbolToIdMap.put(symbol, stateId); } rs.close(); mPhyloCharIdToStateMapMap.put(charId, stateSymbolToIdMap); } } ps.close(); // populate mDiscreteStateMapsByCol: for (int i = 0; i < numCols; i++) { Long charId = phyloCharIDs[i]; Map<String, Long> stateMap = getPhyloCharIdToStateMapMap().get(charId); mDiscreteStateMapsByCol[i] = stateMap; } } catch (SQLException ex) { throw new UncategorizedSQLException( "Failed to prepare for batch matrix elements.", "", ex); } } /** * Batch insert column. Also need to insert new phylochar and discreteCharStates. * * @param pCon */ @Override public void batchInsertColumn(Connection pCon) { if (getDefaultCharID() != null) { // chase efficiency at the cost of code duplication: batchInsertColumnDefaultChar(pCon); return; } // CharacterData mesqData = getMesquiteCharacterData(); // int numCols = mesqData.getNumChars(); // int numRows = mesqData.getNumTaxa(); long matrixID = getCharacterMatrix().getId(); List<MatrixColumnJDBC> columns = getMatrixColumnJDBCs(); try { // insert new discrete phylochar. //Note: this is db2 specific code (faster), see EnvrionmentTest.testGetGeneratedKey() for generic jdbc code. //VG-- String queryBuf = "select phylochar_id from final table(INSERT INTO PHYLOCHAR(TYPE, PHYLOCHAR_ID, VERSION, DESCRIPTION) VALUES('D', default, 0, ?))"; //VG 2010-02-10 Replacing above DB2 sql with this PostreSQL: String queryBuf = "INSERT INTO PHYLOCHAR(TYPE, PHYLOCHAR_ID, VERSION, DESCRIPTION) VALUES('D', default, 0, ?) RETURNING phylochar_id"; PreparedStatement ps = pCon.prepareStatement(queryBuf); // String stateStr = "INSERT INTO DISCRETECHARSTATE(DISCRETECHARSTATE_ID, VERSION, // DESCRIPTION, NOTES, PHYLOCHAR_ID, STATESET_ID, ANCESTRALSTATE_ID) VALUES(default, 0, // ?, ?, ?, ?, ?)"; // Not consider at this time: stateSet id and ANCESTRALSTATE_ID String stateStr = "INSERT INTO DISCRETECHARSTATE(DISCRETECHARSTATE_ID, VERSION, DESCRIPTION, NOTES, PHYLOCHAR_ID, SYMBOL) VALUES(default, 0, ?, ?, ?, ?)"; PreparedStatement stateBatch = pCon.prepareStatement(stateStr); for (MatrixColumnJDBC columnJDBC : columns) { stateBatch.clearBatch(); DiscreteChar phyloChar = (DiscreteChar) columnJDBC.getPhyloChar(); // Need to test: symbolChar is shared for the matrix. if (phyloChar.getId() == null) { ps.setString(1, phyloChar.getDescription()); // phylochar description // Not apply to discrete phylo character: // ps.setDouble(2, phyloChar.getLowerLimit()); // ps.setDouble(3, phyloChar.getUpperLimit()); ResultSet rs = ps.executeQuery(); if (rs != null && rs.next()) { long phyloCharId = rs.getLong(1); // phylochar_id // if (LOGGER.isDebugEnabled()) { // LOGGER.debug("phylocharId =" + phyloCharId); // } columnJDBC.setPhyloCharID(phyloCharId); // insert new states: for (DiscreteCharState aState : phyloChar.getCharStates()) { // DISCRETECHARSTATE_ID: default // Version: 0 // Not set here: // stateSet_id: null // ANCESTRALSTATE_ID stateBatch.setString(1, aState.getDescription()); // state description stateBatch.setString(2, aState.getNotes()); // state notes stateBatch.setLong(3, phyloCharId); // phyloChar id stateBatch.setString(4, aState.getSymbol().toString()); //symbol stateBatch.addBatch(); // IBM JDBC driver has a 32k batch limit: // Don't think a char will have 32k states!! // if (count > MatrixJDBC.JDBC_BATCH_LIMIT) { // count = 0; // psBatch.executeBatch(); // pCon.commit(); // // if (LOGGER.isDebugEnabled()) { // LOGGER.debug("committing count=" + count); //$NON-NLS-1$ // } // } } stateBatch.executeBatch(); pCon.commit(); // if (LOGGER.isDebugEnabled()) { // LOGGER.debug("committing state batch ="); //$NON-NLS-1$ // } } rs.close(); } else { columnJDBC.setPhyloCharID(phyloChar.getId()); } } pCon.commit(); stateBatch.close(); ps.close(); // batch insert columns // String insertStr = "INSERT INTO MATRIXCOLUMN(MATRIXCOLUMN_ID, VERSION, PHYLOCHAR_ID, // MATRIX_ID, STATEFORMAT_ID, COLUMN_ORDER) VALUES(default, 0, ?, ?, ?, ?)"; // For now, no stateFormat id: String insertStr = "INSERT INTO MATRIXCOLUMN(MATRIXCOLUMN_ID, VERSION, PHYLOCHAR_ID, MATRIX_ID, COLUMN_ORDER) VALUES(default, 0, ?, ?, ?)"; PreparedStatement psBatch = pCon.prepareStatement(insertStr); int count = 0; for (int i = 0; i < columns.size(); i++) { MatrixColumnJDBC columnJDBC = columns.get(i); // MatrixColumn_ID: default // Version: 0 // // Not set here: // stateFormat_id: null psBatch.setLong(1, columnJDBC.getPhyloCharID()); // phyloChar Id psBatch.setLong(2, matrixID); // matrix id psBatch.setInt(3, i); // column order psBatch.addBatch(); count++; // IBM JDBC driver has a 32k batch limit: if (count > MatrixJDBC.JDBC_BATCH_LIMIT) { count = 0; psBatch.executeBatch(); pCon.commit(); if (LOGGER.isDebugEnabled()) { LOGGER.debug(" commit count=" + count); //$NON-NLS-1$ } } } psBatch.executeBatch(); pCon.commit(); psBatch.close(); if (LOGGER.isDebugEnabled()) { LOGGER.debug(" columnBatch committing count=" + count); //$NON-NLS-1$ } } catch (SQLException ex) { throw new UncategorizedSQLException( "Failed to batch insert columns.", "", ex); } } /** * Batch insert columns with matrix id and preset char id. * * @param pCon */ private void batchInsertColumnDefaultChar(Connection pCon) { // CharacterData mesqData = getMesquiteCharacterData(); // int numCols = mesqData.getNumChars(); long matrixID = getCharacterMatrix().getId(); long charId = getDefaultCharID(); List<MatrixColumnJDBC> columns = getMatrixColumnJDBCs(); try { // batch insert columns // String insertStr = "INSERT INTO MATRIXCOLUMN(MATRIXCOLUMN_ID, VERSION, PHYLOCHAR_ID, // MATRIX_ID, STATEFORMAT_ID, COLUMN_ORDER) VALUES(default, 0, ?, ?, ?, ?)"; // For now, no stateFormat id: String insertStr = "INSERT INTO MATRIXCOLUMN(MATRIXCOLUMN_ID, VERSION, PHYLOCHAR_ID, MATRIX_ID, COLUMN_ORDER) VALUES(default, 0, ?, ?, ?)"; PreparedStatement psBatch = pCon.prepareStatement(insertStr); int count = 0; for (int i = 0; i < columns.size(); i++) { // MatrixColumnJDBC columnJDBC = columns.get(i); // MatrixColumn_ID: default // Version: 0 // // Not set here: // stateFormat_id: null psBatch.setLong(1, charId); // phyloChar Id psBatch.setLong(2, matrixID); // matrix id psBatch.setInt(3, i); // column order psBatch.addBatch(); count++; // IBM JDBC driver has a 32k batch limit: if (count > MatrixJDBC.JDBC_BATCH_LIMIT) { count = 0; psBatch.executeBatch(); pCon.commit(); if (LOGGER.isDebugEnabled()) { LOGGER.debug(" commit count=" + count); //$NON-NLS-1$ } } } psBatch.executeBatch(); pCon.commit(); psBatch.close(); if (LOGGER.isDebugEnabled()) { LOGGER.debug(" columnDefaultCharBatch committing count=" + count); //$NON-NLS-1$ } } catch (SQLException ex) { throw new UncategorizedSQLException( "Failed to batch insert columns with preset character.", "", ex); } } /** * * @see org.cipres.treebase.dao.jdbc.MatrixJDBC#batchInsertCompoundElements(java.sql.Connection) */ @Override public void batchInsertCompoundElements(Connection pConn) { // FIXME: batchInsertCompoundElements getCompoundElements(); } }
{ "content_hash": "30a3a8ab6a0eda2917461bedc36fe82f", "timestamp": "", "source": "github", "line_count": 554, "max_line_length": 159, "avg_line_length": 29.71119133574007, "alnum_prop": 0.6560145808019441, "repo_name": "TreeBASE/treebasetest", "id": "fff8e1e78bb72911968888a831f405bc2640359c", "size": "16460", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "treebase-core/src/main/java/org/cipres/treebase/dao/jdbc/DiscreteMatrixJDBC.java", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "ApacheConf", "bytes": "172" }, { "name": "Batchfile", "bytes": "62" }, { "name": "CSS", "bytes": "39246" }, { "name": "HTML", "bytes": "1330382" }, { "name": "Java", "bytes": "3078667" }, { "name": "JavaScript", "bytes": "107821" }, { "name": "PHP", "bytes": "127834" }, { "name": "PLSQL", "bytes": "653" }, { "name": "PLpgSQL", "bytes": "31601" }, { "name": "Perl", "bytes": "393086" }, { "name": "Perl6", "bytes": "38254" }, { "name": "Shell", "bytes": "9031" }, { "name": "Web Ontology Language", "bytes": "7720" } ], "symlink_target": "" }
<?php /** * Spiral, Core Components * * @author Wolfy-J */ namespace Spiral\ORM\Entities\Loaders\Traits; use Spiral\Database\Builders\SelectQuery; use Spiral\ORM\Helpers\AliasDecorator; /** * Provides ability to clarify Query where conditions in JOIN or WHERE statement, based on provided * values. */ trait WhereTrait { /** * @param SelectQuery $query * @param string $table Table name to be automatically inserted into where conditions at * place of {@}. * @param string $target Query target section (accepts: where, having, onWhere, on) * @param array $where Where conditions in a form or short array form. */ private function setWhere( SelectQuery $query, string $table, string $target, array $where = null ) { if (empty($where)) { //No conditions, nothing to do return; } $decorator = new AliasDecorator($query, $target, $table); $decorator->where($where); } }
{ "content_hash": "604c1f25ed70400e69379b66d4e22b26", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 99, "avg_line_length": 26.325, "alnum_prop": 0.6049382716049383, "repo_name": "spiral/orm", "id": "d54285f916552ef2b570cb0b53d91fbfea6ccde9", "size": "1053", "binary": false, "copies": "1", "ref": "refs/heads/develop", "path": "source/Spiral/ORM/Entities/Loaders/Traits/WhereTrait.php", "mode": "33188", "license": "mit", "language": [ { "name": "PHP", "bytes": "564807" } ], "symlink_target": "" }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> <title>TestHFileLinkCleaner xref</title> <link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" /> </head> <body> <pre> <a name="1" href="#1">1</a> <em class="jxr_javadoccomment"></em> <a name="18" href="#18">18</a> <strong class="jxr_keyword">package</strong> org.apache.hadoop.hbase.master.cleaner; <a name="19" href="#19">19</a> <a name="20" href="#20">20</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertEquals; <a name="21" href="#21">21</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertFalse; <a name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertTrue; <a name="23" href="#23">23</a> <a name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> java.io.IOException; <a name="25" href="#25">25</a> <a name="26" href="#26">26</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.conf.Configuration; <a name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.fs.FileStatus; <a name="28" href="#28">28</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.fs.FileSystem; <a name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.fs.Path; <a name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.HBaseTestingUtility; <a name="31" href="#31">31</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.HConstants; <a name="32" href="#32">32</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.Server; <a name="33" href="#33">33</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.ServerName; <a name="34" href="#34">34</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.SmallTests; <a name="35" href="#35">35</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.backup.HFileArchiver; <a name="36" href="#36">36</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.catalog.CatalogTracker; <a name="37" href="#37">37</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.HRegionInfo; <a name="38" href="#38">38</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.io.HFileLink; <a name="39" href="#39">39</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.util.Bytes; <a name="40" href="#40">40</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.util.FSUtils; <a name="41" href="#41">41</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.util.HFileArchiveUtil; <a name="42" href="#42">42</a> <strong class="jxr_keyword">import</strong> org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher; <a name="43" href="#43">43</a> <strong class="jxr_keyword">import</strong> org.junit.Test; <a name="44" href="#44">44</a> <strong class="jxr_keyword">import</strong> org.junit.experimental.categories.Category; <a name="45" href="#45">45</a> <a name="46" href="#46">46</a> <em class="jxr_javadoccomment">/**</em> <a name="47" href="#47">47</a> <em class="jxr_javadoccomment"> * Test the HFileLink Cleaner.</em> <a name="48" href="#48">48</a> <em class="jxr_javadoccomment"> * HFiles with links cannot be deleted until a link is present.</em> <a name="49" href="#49">49</a> <em class="jxr_javadoccomment"> */</em> <a name="50" href="#50">50</a> @Category(SmallTests.<strong class="jxr_keyword">class</strong>) <a name="51" href="#51">51</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/TestHFileLinkCleaner.html">TestHFileLinkCleaner</a> { <a name="52" href="#52">52</a> <a name="53" href="#53">53</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html">HBaseTestingUtility</a> TEST_UTIL = <strong class="jxr_keyword">new</strong> <a href="../../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html">HBaseTestingUtility</a>(); <a name="54" href="#54">54</a> <a name="55" href="#55">55</a> @Test <a name="56" href="#56">56</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testHFileLinkCleaning() <strong class="jxr_keyword">throws</strong> Exception { <a name="57" href="#57">57</a> Configuration conf = TEST_UTIL.getConfiguration(); <a name="58" href="#58">58</a> conf.set(HConstants.HBASE_DIR, TEST_UTIL.getDataTestDir().toString()); <a name="59" href="#59">59</a> conf.set(HFileCleaner.MASTER_HFILE_CLEANER_PLUGINS, HFileLinkCleaner.<strong class="jxr_keyword">class</strong>.getName()); <a name="60" href="#60">60</a> Path rootDir = FSUtils.getRootDir(conf); <a name="61" href="#61">61</a> FileSystem fs = FileSystem.get(conf); <a name="62" href="#62">62</a> <a name="63" href="#63">63</a> <strong class="jxr_keyword">final</strong> String tableName = <span class="jxr_string">"test-table"</span>; <a name="64" href="#64">64</a> <strong class="jxr_keyword">final</strong> String tableLinkName = <span class="jxr_string">"test-link"</span>; <a name="65" href="#65">65</a> <strong class="jxr_keyword">final</strong> String hfileName = <span class="jxr_string">"1234567890"</span>; <a name="66" href="#66">66</a> <strong class="jxr_keyword">final</strong> String familyName = <span class="jxr_string">"cf"</span>; <a name="67" href="#67">67</a> <a name="68" href="#68">68</a> HRegionInfo hri = <strong class="jxr_keyword">new</strong> HRegionInfo(Bytes.toBytes(tableName)); <a name="69" href="#69">69</a> HRegionInfo hriLink = <strong class="jxr_keyword">new</strong> HRegionInfo(Bytes.toBytes(tableLinkName)); <a name="70" href="#70">70</a> <a name="71" href="#71">71</a> Path archiveDir = HFileArchiveUtil.getArchivePath(conf); <a name="72" href="#72">72</a> Path archiveStoreDir = HFileArchiveUtil.getStoreArchivePath(conf, <a name="73" href="#73">73</a> tableName, hri.getEncodedName(), familyName); <a name="74" href="#74">74</a> Path archiveLinkStoreDir = HFileArchiveUtil.getStoreArchivePath(conf, <a name="75" href="#75">75</a> tableLinkName, hriLink.getEncodedName(), familyName); <a name="76" href="#76">76</a> <a name="77" href="#77">77</a> <em class="jxr_comment">// Create hfile /hbase/table-link/region/cf/getEncodedName.HFILE(conf);</em> <a name="78" href="#78">78</a> Path familyPath = getFamilyDirPath(archiveDir, tableName, hri.getEncodedName(), familyName); <a name="79" href="#79">79</a> fs.mkdirs(familyPath); <a name="80" href="#80">80</a> Path hfilePath = <strong class="jxr_keyword">new</strong> Path(familyPath, hfileName); <a name="81" href="#81">81</a> fs.createNewFile(hfilePath); <a name="82" href="#82">82</a> <a name="83" href="#83">83</a> <em class="jxr_comment">// Create link to hfile</em> <a name="84" href="#84">84</a> Path familyLinkPath = getFamilyDirPath(rootDir, tableLinkName, <a name="85" href="#85">85</a> hriLink.getEncodedName(), familyName); <a name="86" href="#86">86</a> fs.mkdirs(familyLinkPath); <a name="87" href="#87">87</a> HFileLink.create(conf, fs, familyLinkPath, hri, hfileName); <a name="88" href="#88">88</a> Path linkBackRefDir = HFileLink.getBackReferencesDir(archiveStoreDir, hfileName); <a name="89" href="#89">89</a> assertTrue(fs.exists(linkBackRefDir)); <a name="90" href="#90">90</a> FileStatus[] backRefs = fs.listStatus(linkBackRefDir); <a name="91" href="#91">91</a> assertEquals(1, backRefs.length); <a name="92" href="#92">92</a> Path linkBackRef = backRefs[0].getPath(); <a name="93" href="#93">93</a> <a name="94" href="#94">94</a> <em class="jxr_comment">// Initialize cleaner</em> <a name="95" href="#95">95</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> ttl = 1000; <a name="96" href="#96">96</a> conf.setLong(TimeToLiveHFileCleaner.TTL_CONF_KEY, ttl); <a name="97" href="#97">97</a> Server server = <strong class="jxr_keyword">new</strong> <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/TestLogsCleaner.html">DummyServer</a>(); <a name="98" href="#98">98</a> HFileCleaner cleaner = <strong class="jxr_keyword">new</strong> HFileCleaner(1000, server, conf, fs, archiveDir); <a name="99" href="#99">99</a> <a name="100" href="#100">100</a> <em class="jxr_comment">// Link backref cannot be removed</em> <a name="101" href="#101">101</a> cleaner.chore(); <a name="102" href="#102">102</a> assertTrue(fs.exists(linkBackRef)); <a name="103" href="#103">103</a> assertTrue(fs.exists(hfilePath)); <a name="104" href="#104">104</a> <a name="105" href="#105">105</a> <em class="jxr_comment">// Link backref can be removed</em> <a name="106" href="#106">106</a> fs.rename(<strong class="jxr_keyword">new</strong> Path(rootDir, tableLinkName), <strong class="jxr_keyword">new</strong> Path(archiveDir, tableLinkName)); <a name="107" href="#107">107</a> cleaner.chore(); <a name="108" href="#108">108</a> assertFalse(<span class="jxr_string">"Link should be deleted"</span>, fs.exists(linkBackRef)); <a name="109" href="#109">109</a> <a name="110" href="#110">110</a> <em class="jxr_comment">// HFile can be removed</em> <a name="111" href="#111">111</a> Thread.sleep(ttl * 2); <a name="112" href="#112">112</a> cleaner.chore(); <a name="113" href="#113">113</a> assertFalse(<span class="jxr_string">"HFile should be deleted"</span>, fs.exists(hfilePath)); <a name="114" href="#114">114</a> <a name="115" href="#115">115</a> <em class="jxr_comment">// Remove everything</em> <a name="116" href="#116">116</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; 4; ++i) { <a name="117" href="#117">117</a> Thread.sleep(ttl * 2); <a name="118" href="#118">118</a> cleaner.chore(); <a name="119" href="#119">119</a> } <a name="120" href="#120">120</a> assertFalse(<span class="jxr_string">"HFile should be deleted"</span>, fs.exists(<strong class="jxr_keyword">new</strong> Path(archiveDir, tableName))); <a name="121" href="#121">121</a> assertFalse(<span class="jxr_string">"Link should be deleted"</span>, fs.exists(<strong class="jxr_keyword">new</strong> Path(archiveDir, tableLinkName))); <a name="122" href="#122">122</a> <a name="123" href="#123">123</a> cleaner.interrupt(); <a name="124" href="#124">124</a> } <a name="125" href="#125">125</a> <a name="126" href="#126">126</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> Path getFamilyDirPath (<strong class="jxr_keyword">final</strong> Path rootDir, <strong class="jxr_keyword">final</strong> String table, <a name="127" href="#127">127</a> <strong class="jxr_keyword">final</strong> String region, <strong class="jxr_keyword">final</strong> String family) { <a name="128" href="#128">128</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> Path(<strong class="jxr_keyword">new</strong> Path(<strong class="jxr_keyword">new</strong> Path(rootDir, table), region), family); <a name="129" href="#129">129</a> } <a name="130" href="#130">130</a> <a name="131" href="#131">131</a> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/hadoop/hbase/master/cleaner/TestLogsCleaner.html">DummyServer</a> implements Server { <a name="132" href="#132">132</a> <a name="133" href="#133">133</a> @Override <a name="134" href="#134">134</a> <strong class="jxr_keyword">public</strong> Configuration getConfiguration() { <a name="135" href="#135">135</a> <strong class="jxr_keyword">return</strong> TEST_UTIL.getConfiguration(); <a name="136" href="#136">136</a> } <a name="137" href="#137">137</a> <a name="138" href="#138">138</a> @Override <a name="139" href="#139">139</a> <strong class="jxr_keyword">public</strong> ZooKeeperWatcher getZooKeeper() { <a name="140" href="#140">140</a> <strong class="jxr_keyword">try</strong> { <a name="141" href="#141">141</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> ZooKeeperWatcher(getConfiguration(), <span class="jxr_string">"dummy server"</span>, <strong class="jxr_keyword">this</strong>); <a name="142" href="#142">142</a> } <strong class="jxr_keyword">catch</strong> (IOException e) { <a name="143" href="#143">143</a> e.printStackTrace(); <a name="144" href="#144">144</a> } <a name="145" href="#145">145</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>; <a name="146" href="#146">146</a> } <a name="147" href="#147">147</a> <a name="148" href="#148">148</a> @Override <a name="149" href="#149">149</a> <strong class="jxr_keyword">public</strong> CatalogTracker getCatalogTracker() { <a name="150" href="#150">150</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>; <a name="151" href="#151">151</a> } <a name="152" href="#152">152</a> <a name="153" href="#153">153</a> @Override <a name="154" href="#154">154</a> <strong class="jxr_keyword">public</strong> ServerName getServerName() { <a name="155" href="#155">155</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> ServerName(<span class="jxr_string">"regionserver,60020,000000"</span>); <a name="156" href="#156">156</a> } <a name="157" href="#157">157</a> <a name="158" href="#158">158</a> @Override <a name="159" href="#159">159</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> abort(String why, Throwable e) {} <a name="160" href="#160">160</a> <a name="161" href="#161">161</a> @Override <a name="162" href="#162">162</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isAborted() { <a name="163" href="#163">163</a> <strong class="jxr_keyword">return</strong> false; <a name="164" href="#164">164</a> } <a name="165" href="#165">165</a> <a name="166" href="#166">166</a> @Override <a name="167" href="#167">167</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> stop(String why) {} <a name="168" href="#168">168</a> <a name="169" href="#169">169</a> @Override <a name="170" href="#170">170</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isStopped() { <a name="171" href="#171">171</a> <strong class="jxr_keyword">return</strong> false; <a name="172" href="#172">172</a> } <a name="173" href="#173">173</a> } <a name="174" href="#174">174</a> } </pre> <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body> </html>
{ "content_hash": "08f2dc08b03afab614bbef60d748b659", "timestamp": "", "source": "github", "line_count": 172, "max_line_length": 423, "avg_line_length": 90.9186046511628, "alnum_prop": 0.6527688962782965, "repo_name": "zqxjjj/NobidaBase", "id": "240d412aaec2be612898e3c09c28f091ff8bb6f6", "size": "17597", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "docs/xref-test/org/apache/hadoop/hbase/master/cleaner/TestHFileLinkCleaner.html", "mode": "33261", "license": "apache-2.0", "language": [ { "name": "C++", "bytes": "19836" }, { "name": "CSS", "bytes": "42877" }, { "name": "Erlang", "bytes": "324" }, { "name": "Java", "bytes": "29972006" }, { "name": "PHP", "bytes": "37634" }, { "name": "Perl", "bytes": "20962" }, { "name": "Python", "bytes": "29070" }, { "name": "Ruby", "bytes": "779544" }, { "name": "Shell", "bytes": "169607" }, { "name": "XSLT", "bytes": "8758" } ], "symlink_target": "" }
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ #include "dcmtk/dcmsr/dsrrrdcc.h" DSRRadiopharmaceuticalRadiationDoseConstraintChecker::DSRRadiopharmaceuticalRadiationDoseConstraintChecker() : DSRIODConstraintChecker() { } DSRRadiopharmaceuticalRadiationDoseConstraintChecker::~DSRRadiopharmaceuticalRadiationDoseConstraintChecker() { } OFBool DSRRadiopharmaceuticalRadiationDoseConstraintChecker::isByReferenceAllowed() const { return OFFalse; } OFBool DSRRadiopharmaceuticalRadiationDoseConstraintChecker::isTemplateSupportRequired() const { return OFFalse; } const char *DSRRadiopharmaceuticalRadiationDoseConstraintChecker::getRootTemplateIdentifier() const { return NULL; } DSRTypes::E_DocumentType DSRRadiopharmaceuticalRadiationDoseConstraintChecker::getDocumentType() const { return DT_RadiopharmaceuticalRadiationDoseSR; } OFBool DSRRadiopharmaceuticalRadiationDoseConstraintChecker::checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference) const { /* the following code implements the constraints of table A.35.14-2 in DICOM PS3.3 */ OFBool result = OFFalse; /* by-reference relationships not allowed at all */ if (!byReference) { /* row 1 of the table */ if ((relationshipType == RT_contains) && (sourceValueType == VT_Container)) { result = (targetValueType == VT_Text) || (targetValueType == VT_Code) || (targetValueType == VT_Num) || (targetValueType == VT_DateTime) || (targetValueType == VT_UIDRef) || (targetValueType == VT_PName) || (targetValueType == VT_Container); } /* row 2 of the table */ else if ((relationshipType == RT_hasObsContext) && ((sourceValueType == VT_Text) || (sourceValueType == VT_Code) || (sourceValueType == VT_Num))) { result = (targetValueType == VT_Text) || (targetValueType == VT_Code) || (targetValueType == VT_Num) || (targetValueType == VT_DateTime) || (targetValueType == VT_UIDRef) || (targetValueType == VT_PName); } /* row 3 of the table */ else if ((relationshipType == RT_hasAcqContext) && (sourceValueType == VT_Container)) { result = (targetValueType == VT_Text) || (targetValueType == VT_Code) || (targetValueType == VT_Num) || (targetValueType == VT_DateTime) || (targetValueType == VT_UIDRef) || (targetValueType == VT_PName) || (targetValueType == VT_Container); } /* row 4 of the table */ else if (relationshipType == RT_hasConceptMod) { result = (targetValueType == VT_Text) || (targetValueType == VT_Code); } /* row 5 of the table */ else if ((relationshipType == RT_hasProperties) && ((sourceValueType == VT_Text) || (sourceValueType == VT_Code) || (sourceValueType == VT_Num) || (targetValueType == VT_PName))) { result = (targetValueType == VT_Text) || (targetValueType == VT_Code) || (targetValueType == VT_Num) || (targetValueType == VT_DateTime) || (targetValueType == VT_UIDRef) || (targetValueType == VT_PName) || (targetValueType == VT_Container); } /* row 6 of the table */ else if ((relationshipType == RT_inferredFrom) && ((sourceValueType == VT_Text) || (sourceValueType == VT_Code) || (sourceValueType == VT_Num))) { result = (targetValueType == VT_Text) || (targetValueType == VT_Code) || (targetValueType == VT_Num) || (targetValueType == VT_DateTime) || (targetValueType == VT_UIDRef) || (targetValueType == VT_Container); } } return result; }
{ "content_hash": "6b1aab9303aa2ab04dbfb0613c0f2926", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 139, "avg_line_length": 43.371134020618555, "alnum_prop": 0.5925837889232232, "repo_name": "leonardorame/openpacs", "id": "3c7c7b26e22374de58abe7b7f2e68fb1d96c93ad", "size": "4618", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "dcmtk-3.6.1_20150629/dcmsr/libsrc/dsrrrdcc.cc", "mode": "33188", "license": "mit", "language": [ { "name": "C", "bytes": "3609871" }, { "name": "C++", "bytes": "26043704" }, { "name": "CMake", "bytes": "256913" }, { "name": "CSS", "bytes": "2444" }, { "name": "Groff", "bytes": "1347690" }, { "name": "HTML", "bytes": "177" }, { "name": "Lex", "bytes": "5552" }, { "name": "Perl", "bytes": "161363" }, { "name": "Shell", "bytes": "120635" }, { "name": "Tcl", "bytes": "10289" }, { "name": "VimL", "bytes": "195" } ], "symlink_target": "" }
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.container.plugin.osgi; import com.yahoo.container.plugin.osgi.ExportPackages.Export; import com.yahoo.container.plugin.osgi.ExportPackages.Parameter; import com.yahoo.container.plugin.osgi.ImportPackages.Import; import org.junit.jupiter.api.Test; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.Set; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; /** * @author Tony Vaagenes * @author ollivir */ public class ImportPackageTest { private static final String PACKAGE_NAME = "com.yahoo.exported"; private final Set<String> referencedPackages = Collections.singleton(PACKAGE_NAME); private final Map<String, Export> exports = exportByPackageName(new Export(List.of(PACKAGE_NAME), Collections.emptyList())); private final Map<String, Export> exportsWithVersion = exportByPackageName( new Export(List.of(PACKAGE_NAME), List.of(new Parameter("version", "1.3")))); private static Map<String, Export> exportByPackageName(Export export) { return ExportPackages.exportsByPackageName(List.of(export)); } @Test void require_that_non_implemented_import_with_matching_export_is_included() { Set<Import> imports = calculateImports(referencedPackages, Set.of(), exports); assertEquals(1, imports.stream().filter(imp -> imp.packageName().equals(PACKAGE_NAME) && imp.version().isEmpty()).count()); } @Test void require_that_non_implemented_import_without_matching_export_is_excluded() { Set<Import> imports = calculateImports(referencedPackages, Set.of(), Map.of()); assertTrue(imports.isEmpty()); } @Test void require_that_implemented_import_with_matching_export_is_excluded() { Set<Import> imports = calculateImports(referencedPackages, referencedPackages, exports); assertTrue(imports.isEmpty()); } @Test void require_that_version_is_included() { Set<Import> imports = calculateImports(referencedPackages, Set.of(), exportsWithVersion); assertEquals(1, imports.stream().filter(imp -> imp.packageName().equals(PACKAGE_NAME) && imp.version().equals("1.3")).count()); } @Test void require_that_all_versions_up_to_the_next_major_version_is_in_range() { assertEquals("[1.2,2)", new Import("foo", Optional.of("1.2")).importVersionRange().get()); } // TODO: Detecting guava packages should be based on bundle-symbolicName, not package name. @Test void require_that_for_guava_all_future_major_versions_are_in_range() { Optional<String> rangeWithInfiniteUpperLimit = Optional.of("[18.1," + ImportPackages.INFINITE_VERSION + ")"); assertEquals(rangeWithInfiniteUpperLimit, new Import("com.google.common", Optional.of("18.1")).importVersionRange()); assertEquals(rangeWithInfiniteUpperLimit, new Import("com.google.common.foo", Optional.of("18.1")).importVersionRange()); assertEquals(Optional.of("[18.1,19)"), new Import("com.google.commonality", Optional.of("18.1")).importVersionRange()); } @Test void require_that_none_version_gives_non_version_range() { assertTrue(new Import("foo", Optional.empty()).importVersionRange().isEmpty()); } @Test void require_that_exception_is_thrown_when_major_component_is_non_numeric() { assertThrows(IllegalArgumentException.class, () -> { new Import("foo", Optional.of("1notValid.2")); }); } @Test void require_that_osgi_import_supports_missing_version() { assertEquals("com.yahoo.exported", new Import("com.yahoo.exported", Optional.empty()).asOsgiImport()); } @Test void require_that_osgi_import_version_range_includes_all_versions_from_the_current_up_to_the_next_major_version() { assertEquals("com.yahoo.exported;version=\"[1.2,2)\"", new Import("com.yahoo.exported", Optional.of("1.2")).asOsgiImport()); } @Test void require_that_osgi_import_version_range_ignores_qualifier() { assertEquals("com.yahoo.exported;version=\"[1.2.3,2)\"", new Import("com.yahoo.exported", Optional.of("1.2.3.qualifier")).asOsgiImport()); } private static Set<Import> calculateImports(Set<String> referencedPackages, Set<String> implementedPackages, Map<String, Export> exportedPackages) { return new HashSet<>(ImportPackages.calculateImports(referencedPackages, implementedPackages, exportedPackages).values()); } }
{ "content_hash": "edcf8efa7bf57cc565f42c382b56b065", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 146, "avg_line_length": 46.114285714285714, "alnum_prop": 0.697852127220157, "repo_name": "vespa-engine/vespa", "id": "aa74746bfff0b1791cde5f20a1ad1d45421d0245", "size": "4842", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "bundle-plugin/src/test/java/com/yahoo/container/plugin/osgi/ImportPackageTest.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "ANTLR", "bytes": "8130" }, { "name": "C", "bytes": "60315" }, { "name": "C++", "bytes": "29580035" }, { "name": "CMake", "bytes": "593981" }, { "name": "Emacs Lisp", "bytes": "91" }, { "name": "GAP", "bytes": "3312" }, { "name": "Go", "bytes": "560664" }, { "name": "HTML", "bytes": "54520" }, { "name": "Java", "bytes": "40814190" }, { "name": "JavaScript", "bytes": "73436" }, { "name": "LLVM", "bytes": "6152" }, { "name": "Lex", "bytes": "11499" }, { "name": "Makefile", "bytes": "5553" }, { "name": "Objective-C", "bytes": "12369" }, { "name": "Perl", "bytes": "23134" }, { "name": "Python", "bytes": "52392" }, { "name": "Roff", "bytes": "17506" }, { "name": "Ruby", "bytes": "10690" }, { "name": "Shell", "bytes": "268737" }, { "name": "Yacc", "bytes": "14735" } ], "symlink_target": "" }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <!-- The FAKE Command Line parameters will be replaced with the document title extracted from the <h1> element or file name, if there is no <h1> heading --> <title>FAKE Command Line </title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="FAKE - F# Make"> <meta name="author" content="Steffen Forkmann, Mauricio Scheffer, Colin Bull"> <script src="https://code.jquery.com/jquery-1.8.0.js"></script> <script src="https://code.jquery.com/ui/1.8.23/jquery-ui.js"></script> <script src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js"></script> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> <link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css" rel="stylesheet"> <link type="text/css" rel="stylesheet" href="content/style.css" /> <script src="content/tips.js" type="text/javascript"></script> <!-- HTML5 shim, for IE6-8 support of HTML5 elements --> <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="masthead"> <ul class="nav nav-pills pull-right"> <li><a href="http://fsharp.org">fsharp.org</a></li> <li><a href="https://github.com/fsharp/FAKE">github page</a></li> </ul> <h3 class="muted">FAKE - F# Make</h3> </div> <hr /> <div class="row"> <div class="span9" id="main"> <h1>FAKE Command Line</h1> <p><strong>Note: This documentation is for FAKE.exe version 2.18 or later.</strong></p> <p>The FAKE.exe command line interface (CLI) is defined as follows:</p> <p><code>fake.exe [&lt;buildScriptPath&gt;] [&lt;targetName&gt;] [options]</code></p> <h2>Basic Examples</h2> <p><strong>No arguments:</strong> <code>fake.exe</code> (FAKE will try and locate your build script).</p> <p><strong>Specify build script only:</strong> <code>fake.exe mybuildscript.fsx</code></p> <p><strong>Specify target name only:</strong> <code>fake.exe clean</code> (runs the <code>clean</code> target).</p> <p><strong>Specify build script and target:</strong> <code>fake.exe mybuildscript.fsx clean</code></p> <h2><code>buildScriptPath</code></h2> <p>Optional. The path to your <code>.fsx</code> build file. If not specified, FAKE will pick the first <code>.fsx</code> it finds in your working directory (and fail if none exist).</p> <h2><code>targetName</code></h2> <p>Optional. The name of the build script target you wish to run. This will any target you specified to run in the build script.</p> <h2>Options</h2> <p>Options begin with -- (long name) or - (short name).</p> <h3><code>--envvar [-ev] &lt;name:string&gt; &lt;value:string&gt;</code></h3> <p>Set environment variable name value pair. Supports multiple.</p> <h3><code>--envflag [-ef] &lt;name:string&gt;</code></h3> <p>Set environment variable flag name to 'true'. Supports multiple.</p> <h3><code>--logfile [-lf] &lt;path:string&gt;</code></h3> <p>Set the build output log file path.</p> <h3><code>--printdetails [-pd]</code></h3> <p>Print details of FAKE's activity.</p> <h3><code>--version [-v]</code></h3> <p>Print FAKE version information.</p> <h3><code>--fsiargs [-fa] &lt;string&gt;</code></h3> <p>Pass args after this switch to FSI when running the build script. This consumes all arguments after it. See <a href="http://msdn.microsoft.com/en-us/library/dd233172.aspx">F# Interactive Options</a> for the fsi CLI details.</p> <p>Important: If you use this option, you must include your build script path as one of the fsi args. For example:</p> <p><code>--fsiargs --debug+ buildscript.fsx someArg1 anotherArg2</code></p> <p>The entire argument string <em>following</em> the build script path is set as the value of an environment variable named <code>fsiargs-buildscriptargs</code>. This means you can access this specific set of arguments from within your build script.</p> <h3><code>--boot [-b] &lt;string&gt;</code></h3> <p>Bootstrap your FAKE script. A bootstrapping <code>build.fsx</code> script executes twice (in two stages), allowing you to download dependencies with NuGet and do other preparatory work in the first stage, and have these dependencies available in the second stage.</p> <h3><code>--help [-h|/h|/help|/?]</code></h3> <p>Display CLI help.</p> <h1>Running FAKE targets from the command line</h1> <p>For this short sample we assume you have the latest version of FAKE in <em>./tools/</em>. Now consider the following small FAKE script:</p> <table class="pre"><tr><td class="lines"><pre class="fssnip"><span class="l"> 1: </span> <span class="l"> 2: </span> <span class="l"> 3: </span> <span class="l"> 4: </span> <span class="l"> 5: </span> <span class="l"> 6: </span> <span class="l"> 7: </span> <span class="l"> 8: </span> <span class="l"> 9: </span> <span class="l">10: </span> <span class="l">11: </span> <span class="l">12: </span> <span class="l">13: </span> <span class="l">14: </span> <span class="l">15: </span> </pre></td> <td class="snippet"><pre class="fssnip highlighted"><code lang="fsharp"><span class="prep">#r</span> <span class="s">&quot;FAKE/tools/FakeLib.dll&quot;</span> <span class="k">open</span> <span class="i">Fake</span> <span class="i">Target</span> <span class="s">&quot;Clean&quot;</span> (<span class="k">fun</span> () <span class="k">-&gt;</span> <span class="i">trace</span> <span class="s">&quot; --- Cleaning stuff --- &quot;</span>) <span class="i">Target</span> <span class="s">&quot;Build&quot;</span> (<span class="k">fun</span> () <span class="k">-&gt;</span> <span class="i">trace</span> <span class="s">&quot; --- Building the app --- &quot;</span>) <span class="i">Target</span> <span class="s">&quot;Deploy&quot;</span> (<span class="k">fun</span> () <span class="k">-&gt;</span> <span class="i">trace</span> <span class="s">&quot; --- Deploying app --- &quot;</span>) <span class="s">&quot;Clean&quot;</span> <span class="o">==&gt;</span> <span class="s">&quot;Build&quot;</span> <span class="o">==&gt;</span> <span class="s">&quot;Deploy&quot;</span> <span class="i">RunTargetOrDefault</span> <span class="s">&quot;Deploy&quot;</span> </code></pre></td> </tr> </table> <p>If you are on windows then create this small redirect script:</p> <table class="pre"><tr><td class="lines"><pre class="fssnip"><span class="l">1: </span> <span class="l">2: </span> <span class="l">3: </span> </pre></td> <td class="snippet"><pre class="fssnip"><code lang="batchfile">@echo off "tools\Fake.exe" "%1" exit /b %errorlevel% </code></pre></td></tr></table> <p>On mono you can use:</p> <table class="pre"><tr><td class="lines"><pre class="fssnip"><span class="l">1: </span> <span class="l">2: </span> </pre></td> <td class="snippet"><pre class="fssnip"><code lang="batchfile">#!/bin/bash mono ./tools/FAKE.exe "$@" </code></pre></td></tr></table> <p>Now you can run FAKE targets easily from the command line:</p> <p><img src="pics/commandline/cmd.png" alt="alt text" title="Running FAKE from cmd" /></p> </div> <div class="span3"> <a href="index.html"> <img src="pics/logo.png" style="width:140px;height:140px;margin:10px 0px 0px 35px;border-style:none;" /> </a> <ul class="nav nav-list" id="menu"> <li class="nav-header">FAKE - F# Make</li> <li><a href="index.html">Home page</a></li> <li class="divider"></li> <li><a href="https://nuget.org/packages/Fake">Get FAKE via NuGet</a></li> <li><a href="https://github.com/fsharp/FAKE">Source Code on GitHub</a></li> <li><a href="https://github.com/fsharp/FAKE/blob/master/License.txt">License (Apache 2)</a></li> <li><a href="RELEASE_NOTES.html">Release Notes</a></li> <li><a href="contributing.html">Contributing to FAKE</a></li> <li><a href="users.html">Who is using FAKE?</a></li> <li><a href="http://stackoverflow.com/questions/tagged/f%23-fake">Ask a question</a></li> <li class="nav-header">Tutorials</li> <li><a href="gettingstarted.html">Getting started</a></li> <li><a href="cache.html">Build script caching</a></li> <li class="divider"></li> <li><a href="nuget.html">NuGet package restore</a></li> <li><a href="fxcop.html">Using FxCop in a build</a></li> <li><a href="assemblyinfo.html">Generating AssemblyInfo</a></li> <li><a href="create-nuget-package.html">Create NuGet packages</a></li> <li><a href="specifictargets.html">Running specific targets</a></li> <li><a href="commandline.html">Running FAKE from command line</a></li> <li><a href="parallel-build.html">Running targets in parallel</a></li> <li><a href="fsc.html">Using the F# compiler from FAKE</a></li> <li><a href="customtasks.html">Creating custom tasks</a></li> <li><a href="soft-dependencies.html">Soft dependencies</a></li> <li><a href="teamcity.html">TeamCity integration</a></li> <li><a href="canopy.html">Running canopy tests</a></li> <li><a href="octopusdeploy.html">Octopus Deploy</a></li> <li><a href="typescript.html">TypeScript support</a></li> <li><a href="azurewebjobs.html">Azure WebJobs support</a></li> <li><a href="azurecloudservices.html">Azure Cloud Services support</a></li> <li><a href="dacpac.html">SQL DACPAC support</a></li> <li><a href="fluentmigrator.html">FluentMigrator support</a></li> <li><a href="androidpublisher.html">Android publisher</a></li> <li><a href="watch.html">File Watcher</a></li> <li><a href="wix.html">WiX Setup Generation</a></li> <li><a href="chocolatey.html">Using Chocolatey</a></li> <li><a href="slacknotification.html">Using Slack</a></li> <li><a href="msteamsnotification.html">Using Microsoft Teams</a></li> <li><a href="sonarcube.html">Using SonarQube</a></li> <li class="divider"></li> <li><a href="deploy.html">Fake.Deploy</a></li> <li><a href="iis.html">Fake.IIS</a></li> <li class="nav-header">Reference</li> <li><a href="apidocs/index.html">API Reference</a></li> </ul> </div> </div> </div> <a href="https://github.com/fsharp/FAKE"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork me on GitHub"></a> </body> </html>
{ "content_hash": "1931c802fa74576b0fcd65c273cc0da5", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 271, "avg_line_length": 59.403225806451616, "alnum_prop": 0.6226807855914562, "repo_name": "ploeh/PollingConsumer", "id": "628f11501c299f48d66b26350e99c8fe6ead6a2c", "size": "11049", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "packages/FAKE/docs/commandline.html", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "4203" }, { "name": "F#", "bytes": "15099" }, { "name": "HTML", "bytes": "7100984" }, { "name": "JavaScript", "bytes": "1295" }, { "name": "Shell", "bytes": "235" }, { "name": "XSLT", "bytes": "18759" } ], "symlink_target": "" }
package io.github.hapjava.accessories; import io.github.hapjava.characteristics.HomekitCharacteristicChangeCallback; import io.github.hapjava.characteristics.impl.windowcovering.PositionStateEnum; import io.github.hapjava.services.Service; import io.github.hapjava.services.impl.WindowCoveringService; import java.util.Collection; import java.util.Collections; import java.util.concurrent.CompletableFuture; /** A window covering, like blinds, which can be remotely controlled. */ public interface WindowCoveringAccessory extends HomekitAccessory { /** * Retrieves the current position * * @return a future that will contain the position as a value between 0 and 100 */ CompletableFuture<Integer> getCurrentPosition(); /** * Retrieves the target position * * @return a future that will contain the target position as a value between 0 and 100 */ CompletableFuture<Integer> getTargetPosition(); /** * Retrieves the state of the position: increasing, decreasing, or stopped * * @return a future that will contain the current state */ CompletableFuture<PositionStateEnum> getPositionState(); /** * Sets the target position * * @param position the target position to set, as a value between 1 and 100 * @return a future that completes when the change is made * @throws Exception when the change cannot be made */ CompletableFuture<Void> setTargetPosition(int position) throws Exception; /** * Subscribes to changes in the current position. * * @param callback the function to call when the state changes. */ void subscribeCurrentPosition(HomekitCharacteristicChangeCallback callback); /** * Subscribes to changes in the target position. * * @param callback the function to call when the state changes. */ void subscribeTargetPosition(HomekitCharacteristicChangeCallback callback); /** * Subscribes to changes in the position state: increasing, decreasing, or stopped * * @param callback the function to call when the state changes. */ void subscribePositionState(HomekitCharacteristicChangeCallback callback); /** Unsubscribes from changes in the current position. */ void unsubscribeCurrentPosition(); /** Unsubscribes from changes in the target position. */ void unsubscribeTargetPosition(); /** Unsubscribes from changes in the position state */ void unsubscribePositionState(); @Override default Collection<Service> getServices() { return Collections.singleton(new WindowCoveringService(this)); } }
{ "content_hash": "1cf84eb765862da35b147b2d881be698", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 88, "avg_line_length": 33.12987012987013, "alnum_prop": 0.7534300274402195, "repo_name": "beowulfe/HAP-Java", "id": "1b618d66ff85edc3a14583244893d442fad25e16", "size": "2551", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/main/java/io/github/hapjava/accessories/WindowCoveringAccessory.java", "mode": "33188", "license": "mit", "language": [ { "name": "Java", "bytes": "608054" } ], "symlink_target": "" }
package CoGe::ECNCS::DB::Algorithm; use strict; use base 'CoGe::ECNCS::DB'; BEGIN { use Exporter (); use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); $VERSION = '0.1'; @ISA = (@ISA, qw(Exporter)); #Give a hoot don't pollute, do not export more than needed by default @EXPORT = qw(); @EXPORT_OK = qw(); %EXPORT_TAGS = (); __PACKAGE__->table('algorithm'); __PACKAGE__->columns(All=>qw(algorithm_id name description link)); __PACKAGE__->has_many(algorithm_runs=>'CoGe::ECNCS::DB::Algorithm_run'); } #################### subroutine header begin #################### =head2 sample_function Usage : How to use this function/method Purpose : What it does Returns : What it returns Argument : What it wants to know Throws : Exceptions and other anomolies Comment : This is a sample subroutine header. : It is polite to include more pod and fewer comments. See Also : =cut #################### subroutine header end #################### sub new { my ($class, %parameters) = @_; my $self = bless ({}, ref ($class) || $class); return $self; } #################### main pod documentation begin ################### ## Below is the stub of documentation for your module. ## You better edit it! =head1 NAME CoGe::ECNCS::DB::algorithm - CoGe::ECNCS::DB::algorithm =head1 SYNOPSIS use CoGe::ECNCS::DB::algorithm; blah blah blah =head1 DESCRIPTION Stub documentation for this module was created by ExtUtils::ModuleMaker. It looks like the author of the extension was negligent enough to leave the stub unedited. Blah blah blah. =head1 USAGE =head1 BUGS =head1 SUPPORT =head1 AUTHOR HASH(0x813d9e0) CPAN ID: MODAUTHOR XYZ Corp. [email protected] http://a.galaxy.far.far.away/modules =head1 COPYRIGHT This program is free software licensed under the... The Artistic License The full text of the license can be found in the LICENSE file included with this module. =head1 SEE ALSO perl(1). =cut #################### main pod documentation end ################### sub algo_runs { my $self = shift; return $self->algorithm_runs(); } sub runs { my $self = shift; return $self->algorithm_runs(); } sub id { my $self = shift; return $self->algorithm_id(); } 1; # The preceding line will help the module return a true value
{ "content_hash": "998cf11b6f52c7188aac0d74ae04a32c", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 76, "avg_line_length": 20.58974358974359, "alnum_prop": 0.6226650062266501, "repo_name": "asherkhb/coge", "id": "d8d94fc24fe0121f75e6a442fffadf5d4d82b78c", "size": "2409", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "modules/ECNCS/lib/CoGe/ECNCS/DB/Algorithm.pm", "mode": "33188", "license": "bsd-2-clause", "language": [ { "name": "ApacheConf", "bytes": "75" }, { "name": "C", "bytes": "1484359" }, { "name": "C++", "bytes": "141941" }, { "name": "CSS", "bytes": "79810" }, { "name": "Groff", "bytes": "3514" }, { "name": "HTML", "bytes": "106265" }, { "name": "Haxe", "bytes": "111359" }, { "name": "Java", "bytes": "55110" }, { "name": "JavaScript", "bytes": "946149" }, { "name": "Makefile", "bytes": "7838" }, { "name": "Perl", "bytes": "4863917" }, { "name": "Perl6", "bytes": "5438" }, { "name": "Python", "bytes": "4391358" }, { "name": "RobotFramework", "bytes": "18518" }, { "name": "Shell", "bytes": "13659" } ], "symlink_target": "" }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using System.ComponentModel.Composition; using System.ComponentModel.DataAnnotations.Schema; using Mobet.Domain.Entities.Audited; namespace Mobet.Domain.Entities { public class User : SoftDeleteEntity, IAggregateRoot { /// <summary> /// 构造函数 /// </summary> public User() { this.Roles = new HashSet<Role>(); } /// <summary> /// 主键 /// </summary> [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public virtual int Id { get; set; } /// <summary> /// 第三方登录提供程序Open Connect ID /// </summary> [StringLength(50)] public virtual string OpenId { get; set; } /// <summary> /// 真实姓名 /// </summary> [StringLength(50)] public virtual string Name { get; set; } /// <summary> /// 昵称 /// </summary> [StringLength(50)] public virtual string NickName { get; set; } /// <summary> /// 生日 /// </summary> public DateTime? Birthday { get; set; } /// <summary> /// 手机号码 /// </summary> [StringLength(50)] public virtual string Telphone { get; set; } /// <summary> /// 邮箱 /// </summary> [StringLength(50)] public virtual string Email { get; set; } /// <summary> /// 街道地址 /// </summary> [StringLength(250)] public virtual string Street { get; set; } /// <summary> /// 所在城市 /// </summary> [StringLength(50)] public virtual string City { get; set; } /// <summary> /// 所在省 /// </summary> [StringLength(50)] public virtual string Province { get; set; } /// <summary> /// 所在国家 /// </summary> [StringLength(50)] public virtual string Country { get; set; } /// <summary> /// 性别 /// </summary> public virtual byte? Sex { get; set; } /// <summary> /// 头像地址 /// </summary> [StringLength(2000)] public virtual string Headimageurl { get; set; } /// <summary> /// 身份证号 /// </summary> [StringLength(50)] public virtual string IdentityNo { get; set; } /// <summary> /// 密码 /// </summary> [StringLength(250)] public virtual string Password { get; set; } /// <summary> /// 加密盐 /// </summary> [StringLength(50)] public virtual string Salt { get; set; } /// <summary> /// Subject /// </summary> [Required] [StringLength(50)] public virtual string Subject { get; set; } [Timestamp] public virtual byte[] Version { get; set; } /// <summary> /// 拥有的角色 /// </summary> public virtual ICollection<Role> Roles { get; set; } } }
{ "content_hash": "ba3daa309f31e10c98c4c3f37b35b80c", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 66, "avg_line_length": 27.63157894736842, "alnum_prop": 0.49714285714285716, "repo_name": "Mobet/Mobet-Net", "id": "6adb7691a1e963c1f5593146392d8e52bcac32d5", "size": "3280", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "Mobet-Net/Mobet.Domain/Models/User.cs", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "ASP", "bytes": "332" }, { "name": "C#", "bytes": "1314946" }, { "name": "CSS", "bytes": "701233" }, { "name": "HTML", "bytes": "113290" }, { "name": "JavaScript", "bytes": "1518406" } ], "symlink_target": "" }
<?xml version="1.0" encoding="utf-8"?> <Resources xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" language="Português" code="pt"> <page name="ACCOUNT"> <Resource tag="ACTIVITY">Your Activity</Resource> <Resource tag="ARCHIVE">Archive</Resource> <Resource tag="CHANGE_PASSWORD">Change Password</Resource> <Resource tag="CONTROL_PANEL">Painel de Controle</Resource> <Resource tag="CREATED_REPLY">Replied to a Post</Resource> <Resource tag="CREATED_REPLY_MSG">Added an Reply to the Topic {0}</Resource> <Resource tag="CREATED_TOPIC">Created a new Topic</Resource> <Resource tag="CREATED_TOPIC_MSG">Created a new Topic {0}</Resource> <Resource tag="DELETE_ACCOUNT">Delete Account</Resource> <Resource tag="EDIT_AVATAR">Modificar Avatar</Resource> <Resource tag="EDIT_PROFILE">Editar Perfil</Resource> <Resource tag="EDIT_SETTINGS">Edit Settings</Resource> <Resource tag="EDIT_SIGNATURE">Editar Assinatura</Resource> <Resource tag="GIVEN_THANKS">Given Thanks to a Post</Resource> <Resource tag="GIVEN_THANKS_MSG">Given Thanks to {0} in the Topic {1}</Resource> <Resource tag="GROUPS">Você é membro destes grupos:</Resource> <Resource tag="INBOX">Caixa de Entrada</Resource> <Resource tag="ITEMS">Show Items</Resource> <Resource tag="JOINED">Você é membro desde:</Resource> <Resource tag="MESSENGER">Mensageiro:</Resource> <Resource tag="NEW_MESSAGE">Nova Mensagem</Resource> <Resource tag="NUMPOSTS">Número de envios:</Resource> <Resource tag="PERSONAL_PROFILE">Perfil Pessoal:</Resource> <Resource tag="RECEIVED_THANKS">Received a Thanks to a Post</Resource> <Resource tag="RECEIVED_THANKS_MSG">Has Received a Thanks from {0} in the Topic {1}</Resource> <Resource tag="SENTITEMS">Itens Enviados</Resource> <Resource tag="SIGNATURE">Assinatura</Resource> <Resource tag="SUBSCRIPTIONS">Inscrições</Resource> <Resource tag="UNREAD_ONLY">Show only unread Activity</Resource> <Resource tag="VIEW_PROFILE">View Profile</Resource> <Resource tag="WAS_MENTIONED">Was Mentioned</Resource> <Resource tag="WAS_MENTIONED_MSG">Was Mentioned by {0} in the Topic {1}</Resource> <Resource tag="WAS_QUOTED">Was Quoted</Resource> <Resource tag="WAS_QUOTED_MSG">Was Quoted by {0} in the Topic {1}</Resource> <Resource tag="YOUR_ACCOUNT">Sua Conta</Resource> <Resource tag="YOUR_EMAIL">Seu endereço de email:</Resource> <Resource tag="YOUR_NOTIFIY">Your Notifications</Resource> <Resource tag="YOUR_USERDISPLAYNAME">Your display name:</Resource> <Resource tag="YOUR_USERNAME">Seu nome de usuário:</Resource> </page> <page name="ACTIVELOCATION"> <Resource tag="ACCOUNT">Views a user profile</Resource> <Resource tag="ACTIVEUSERS">Views Active Users list</Resource> <Resource tag="ADMIN_ACCESSMASKS">Views access masks in admin section</Resource> <Resource tag="ADMIN_ADMIN">Views admin index</Resource> <Resource tag="ADMIN_BANNEDEMAIL">Views banned Emails list</Resource> <Resource tag="ADMIN_BANNEDEMAIL_EDIT">Edits banned Emails</Resource> <Resource tag="ADMIN_BANNEDEMAIL_IMPORT">Imports banned Emails</Resource> <Resource tag="ADMIN_BANNEDIP">Views banned IPs list</Resource> <Resource tag="ADMIN_BANNEDIP_EDIT">Edits banned IPs</Resource> <Resource tag="ADMIN_BANNEDIP_IMPORT">Imports banned ips</Resource> <Resource tag="ADMIN_BANNEDNAME">Views banned Names list</Resource> <Resource tag="ADMIN_BANNEDNAME_EDIT">Edits banned Names</Resource> <Resource tag="ADMIN_BANNEDNAME_IMPORT">Imports banned Names</Resource> <Resource tag="ADMIN_BBCODE">Views BBCodes</Resource> <Resource tag="ADMIN_BBCODE_EDIT">Edits BBcodes</Resource> <Resource tag="ADMIN_BBCODE_IMPORT">Imports BBCodes</Resource> <Resource tag="ADMIN_BOARDS">Views boards list</Resource> <Resource tag="ADMIN_BOARDSETTINGS">Views board settings</Resource> <Resource tag="ADMIN_DELETEFORUM">Delete forums</Resource> <Resource tag="ADMIN_EDITACCESSMASK">Edits eccess masks</Resource> <Resource tag="ADMIN_EDITBOARD">Edits boards</Resource> <Resource tag="ADMIN_EDITCATEGORY">Edits categories</Resource> <Resource tag="ADMIN_EDITFORUM">Edits forums</Resource> <Resource tag="ADMIN_EDITGROUP">Edits groups</Resource> <Resource tag="ADMIN_EDITLANGUAGE">Edits a languages file</Resource> <Resource tag="ADMIN_EDITMEDAL">Edits medals</Resource> <Resource tag="ADMIN_EDITNNTPFORUM">Edits NNTP Forum</Resource> <Resource tag="ADMIN_EDITNNTPSERVER">Edits NNTP Server</Resource> <Resource tag="ADMIN_EDITRANK">Edits ranks</Resource> <Resource tag="ADMIN_EDITUSER">Edits a user</Resource> <Resource tag="ADMIN_EVENTLOG">Views/edits event log</Resource> <Resource tag="ADMIN_EXTENSIONS_EDIT">Edits extensions</Resource> <Resource tag="ADMIN_EXTENSIONS_IMPORT">Imports extensions</Resource> <Resource tag="ADMIN_EXTESIONS">View extensions</Resource> <Resource tag="ADMIN_FORUMS">Views forums in admin section</Resource> <Resource tag="ADMIN_GROUPS">Views groups in admin section</Resource> <Resource tag="ADMIN_HOSTSETTING">Views/edits hosts settings</Resource> <Resource tag="ADMIN_LANGUAGES">Views languages list</Resource> <Resource tag="ADMIN_MAIL">Views/edits mails</Resource> <Resource tag="ADMIN_MEDALS">Views/edits medals</Resource> <Resource tag="ADMIN_NNTPFORUMS">Views/edits NNTP forums</Resource> <Resource tag="ADMIN_NNTPRETRIEVE">Retrieves NNTP</Resource> <Resource tag="ADMIN_NNTPSERVERS">Views/edits NNTP servers</Resource> <Resource tag="ADMIN_PM">Views/edits PMs</Resource> <Resource tag="ADMIN_PRUNE">Views/performs pruning</Resource> <Resource tag="ADMIN_RANKS">Views ranks in admin section</Resource> <Resource tag="ADMIN_REGUSER">Registers a user</Resource> <Resource tag="ADMIN_REINDEX">Maintains DB</Resource> <Resource tag="ADMIN_REPLACEWORDS">Vies replace words list</Resource> <Resource tag="ADMIN_REPLACEWORDS_EDIT">Edits replace words list</Resource> <Resource tag="ADMIN_REPLACEWORDS_IMPORT">Imports replace words</Resource> <Resource tag="ADMIN_RESTARTAPP">Restarts application</Resource> <Resource tag="ADMIN_RUNSQL">Runs SQL query</Resource> <Resource tag="ADMIN_SPAMLOG">Views/edits the spam log</Resource> <Resource tag="ADMIN_SPAMWORDS">Views spam words list</Resource> <Resource tag="ADMIN_SPAMWORDS_EDIT">Edits spam words list</Resource> <Resource tag="ADMIN_SPAMWORDS_IMPORT">Imports spam words</Resource> <Resource tag="ADMIN_TASKMANAGER">Views/manages task manager</Resource> <Resource tag="ADMIN_TEST_DATA">Views/edits test data generator</Resource> <Resource tag="ADMIN_TOPICSTATUS">Views admin topic status</Resource> <Resource tag="ADMIN_TOPICSTATUS_EDIT">Edits Topic Status</Resource> <Resource tag="ADMIN_TOPICSTATUS_IMPORT">Imports topic status</Resource> <Resource tag="ADMIN_USERS">Views users in admin section</Resource> <Resource tag="ADMIN_USERS_IMPORT">Imports users</Resource> <Resource tag="ADMIN_VERSION">Views version</Resource> <Resource tag="ADMINTASK">Performs admin tasks</Resource> <Resource tag="ALBUM">Views Album</Resource> <Resource tag="ALBUM_OFUSER">of user</Resource> <Resource tag="ALBUM_OWN">Views/Edits his Album</Resource> <Resource tag="ALBUMS">Views Albums</Resource> <Resource tag="ALBUMS_OFUSER">Views Album of user</Resource> <Resource tag="ALBUMS_OWN">Views/Edits his Albums</Resource> <Resource tag="APPROVE">Approves</Resource> <Resource tag="ATTACHMENTS">Handles attachments</Resource> <Resource tag="AVATAR">Views avatar</Resource> <Resource tag="BLOCK_OPTIONS">Edits his Ignored users and block option</Resource> <Resource tag="CHANGE_PASSWORD">Changes password</Resource> <Resource tag="COOKIES">Views the cookie policy page</Resource> <Resource tag="CP_PROFILE_OFUSER">Views profile of</Resource> <Resource tag="DELETE_ACCOUNT">User deletes his account</Resource> <Resource tag="DELETEMESSAGE">Deletes a message</Resource> <Resource tag="EDIT_ALBUMIMAGES">Edits album images</Resource> <Resource tag="EDIT_AVATAR">Edits his avatar</Resource> <Resource tag="EDIT_PROFILE">Edits his profile</Resource> <Resource tag="EDIT_SETTINGS">Edit the user settings</Resource> <Resource tag="EDIT_SIGNATURE">Edits his signature</Resource> <Resource tag="EMAILTOPIC">Emails a topic</Resource> <Resource tag="ERROR">Gets error page</Resource> <Resource tag="FORUM">Views forum </Resource> <Resource tag="FORUMFROMCATEGORY">Views forums in a category</Resource> <Resource tag="FRIENDS">Edits Friends</Resource> <Resource tag="HELP_INDEX">Views help index</Resource> <Resource tag="HELP_RECOVER">No data</Resource> <Resource tag="IM_AIM">Uses AIM</Resource> <Resource tag="IM_EMAIL">Uses Email</Resource> <Resource tag="IM_ICQ">Uses ICQ</Resource> <Resource tag="IM_MSN">Uses MSN</Resource> <Resource tag="IM_SKYPE">Uses Skype</Resource> <Resource tag="IM_XMPP">Uses XMPP</Resource> <Resource tag="IM_YIM">Uses YIM</Resource> <Resource tag="IMGPRV">Views an image in a user album</Resource> <Resource tag="INFO">Views info page</Resource> <Resource tag="LASTPOSTS">No data</Resource> <Resource tag="LOGIN">Registers on the forum</Resource> <Resource tag="LOGOUT">Logs out</Resource> <Resource tag="MAINPAGE">Views main forum page</Resource> <Resource tag="MEMBERS">Views members list</Resource> <Resource tag="MESSAGE">Views Private Messages</Resource> <Resource tag="MESSAGEHISTORY">Views a message history</Resource> <Resource tag="MOD_FORUMUSER">Moderates a forum user</Resource> <Resource tag="MODERATE">Moderates</Resource> <Resource tag="MODERATE_INDEX">Views moderate index</Resource> <Resource tag="MODERATE_REPORTEDPOSTS">Views reported posts</Resource> <Resource tag="MODERATE_UNAPPROVEDPOSTS">Views unapproved posts</Resource> <Resource tag="MOVEMESSAGE">Moves a message</Resource> <Resource tag="MOVETOPIC">Moves a topic</Resource> <Resource tag="MYTOPICS">Views his favorite and active topics</Resource> <Resource tag="NODATA">No data available</Resource> <Resource tag="PM">Views Private Messages</Resource> <Resource tag="PMESSAGE">Writes a PM</Resource> <Resource tag="POSTMESSAGE_FULL">Posts a message in topic </Resource> <Resource tag="POSTS">Views messages in topic </Resource> <Resource tag="PRINTTOPIC">Prints topic</Resource> <Resource tag="PROFILE">Views a user profile</Resource> <Resource tag="PROFILE_OFUSER">Views profile of user</Resource> <Resource tag="PROFILE_OWN">Views his profile</Resource> <Resource tag="RECOVERPASSWORD">No data</Resource> <Resource tag="REGISTER">Registers</Resource> <Resource tag="REPORTPOST">Reports a post</Resource> <Resource tag="RSSTOPIC">Views RSS feed</Resource> <Resource tag="RULES">Views forum rules</Resource> <Resource tag="SEARCH">Uses search</Resource> <Resource tag="SHOUTBOX">Uses shoutbox</Resource> <Resource tag="SUBSCRIPTIONS">Vies subscriptions</Resource> <Resource tag="TEAM">Views team page</Resource> <Resource tag="TOPICINFORUM"> in forum </Resource> <Resource tag="TOPICS">Views topic </Resource> <Resource tag="VIEWTHANKS">Views thanks info</Resource> </page> <page name="ACTIVEUSERS"> <Resource tag="ACTIVE">Ativo</Resource> <Resource tag="BROWSER">Visualizar</Resource> <Resource tag="LAST_ACTIVE">Última vez ativo</Resource> <Resource tag="LATEST_ACTION">Latest Action</Resource> <Resource tag="LOGGED_IN">Conectado</Resource> <Resource tag="MINUTES">{0:N0} minuto(s)</Resource> <Resource tag="PLATFORM">Plataforma</Resource> <Resource tag="TITLE">Usuários Ativos</Resource> <Resource tag="USERNAME">Nome do Usuário</Resource> </page> <page name="ADMIN_ACCESSMASKS"> <Resource tag="CONFIRM_DELETE">Delete this access mask?</Resource> <Resource tag="DELETE">Delete</Resource> <Resource tag="DOWNLOAD">Download</Resource> <Resource tag="EDIT">Edit</Resource> <Resource tag="MODERATOR">Moderate</Resource> <Resource tag="MSG_NOT_DELETE">You cannot delete this access mask because it is in use.</Resource> <Resource tag="NAME">Name</Resource> <Resource tag="NEW_MASK">New Access Mask</Resource> <Resource tag="POLL">Poll</Resource> <Resource tag="POST">Post</Resource> <Resource tag="PRIORITY">Priority</Resource> <Resource tag="READ">Read</Resource> <Resource tag="REPLY">Reply</Resource> <Resource tag="TITLE">Access Masks</Resource> <Resource tag="UPLOAD">Upload</Resource> <Resource tag="VOTE">Vote</Resource> </page> <page name="ADMIN_ADMIN"> <Resource tag="ADMIN_APPROVE">Approve</Resource> <Resource tag="ADMIN_DELETE">Delete</Resource> <Resource tag="ADMIN_EMAIL">E-Mail</Resource> <Resource tag="ADMIN_IPADRESS">IP Address</Resource> <Resource tag="ADMIN_JOINED">Joined</Resource> <Resource tag="ADMIN_LOCATION">Board Location</Resource> <Resource tag="ADMIN_NAME">Name</Resource> <Resource tag="ADMIN_RESEND_EMAIL">Resend Email Verification</Resource> <Resource tag="ADMIN_UPGRADE"> and update your database.</Resource> <Resource tag="Administration">Administration</Resource> <Resource tag="ALL_BOARDS"> - All Boards - </Resource> <Resource tag="APROVE_ALL">Approve All</Resource> <Resource tag="BOARD_LOCATION">Board Location</Resource> <Resource tag="BOARD_STARTED">Board started:</Resource> <Resource tag="CONFIRM_APROVE">Approve this User?</Resource> <Resource tag="CONFIRM_APROVE_ALL">Approve all Users?</Resource> <Resource tag="CONFIRM_DELETE">Delete this User?</Resource> <Resource tag="CONFIRM_DELETE_ALL">Delete all unapproved Users more than the specified number of days old?</Resource> <Resource tag="DAYS_AGO">{0:d} ({1:N0} days ago)</Resource> <Resource tag="DELETE_ALL">Delete All More Than Days Old:</Resource> <Resource tag="ERROR_DATABASESIZE">Unable to fetch DB Size</Resource> <Resource tag="HEADER1">Who is Online</Resource> <Resource tag="HEADER2">Unverified Users</Resource> <Resource tag="HEADER3">Statistics for</Resource> <Resource tag="MSG_MESSAGE_SEND">Verification Mail was send again to the User.</Resource> <Resource tag="MSG_VALID_DAYS">You should enter a valid integer value for days.</Resource> <Resource tag="NEW_VERSION">A New Version is available!</Resource> <Resource tag="NEW_VERSION_DOWNLOAD">Go to Downloads page</Resource> <Resource tag="NUM_POSTS">Number of posts:</Resource> <Resource tag="NUM_TOPICS">Number of topics:</Resource> <Resource tag="NUM_USERS">Number of users:</Resource> <Resource tag="POSTS_DAY">Posts per day:</Resource> <Resource tag="SIZE_DATABASE">Size of database:</Resource> <Resource tag="STATS_DONTCOUNT">These statistics don't count deleted topics and posts.</Resource> <Resource tag="TOPICS_DAY">Topics per day:</Resource> <Resource tag="USERS_DAY">Users per day:</Resource> </page> <page name="ADMIN_BANNEDEMAIL"> <Resource tag="ADD_IP">Add New Email</Resource> <Resource tag="IMPORT_IPS">Import Email(s)</Resource> <Resource tag="MASK">Mask</Resource> <Resource tag="MSG_REMOVEBAN_EMAIL">Email was successfully deleted</Resource> <Resource tag="REASON">Reason</Resource> <Resource tag="SINCE">Since</Resource> <Resource tag="TITLE">Banned Email Addresses</Resource> </page> <page name="ADMIN_BANNEDEMAIL_EDIT"> <Resource tag="MASK">Mask:</Resource> <Resource tag="MASK_HELP">The Email address to ban. You can use Regular Expressions.</Resource> <Resource tag="REASON">Reason:</Resource> <Resource tag="REASON_HELP">The reason why the email address was banned.</Resource> <Resource tag="TITLE">Add/Edit Banned Email Address</Resource> <Resource tag="TITLE_EDIT">Edit Banned Email Address</Resource> </page> <page name="ADMIN_BANNEDEMAIL_IMPORT"> <Resource tag="HEADER">Import Email Addresses List</Resource> <Resource tag="IMPORT">Import List</Resource> <Resource tag="IMPORT_FAILED">Failed to import! Invalid upload format specified: {0} </Resource> <Resource tag="IMPORT_FILE">Select Import File:</Resource> <Resource tag="IMPORT_FILE_HELP">Must be *.txt file containing an Email Address on each line</Resource> <Resource tag="IMPORT_NOTHING">Nothing imported: no new email address was found in the upload.</Resource> <Resource tag="IMPORT_SUCESS">{0} new email address(es) imported successfully.</Resource> <Resource tag="NOTE">You can find a list of Spam Bot Email Addresses on StopForumSpam.com &lt;a href="http://www.stopforumspam.com/downloads/"&gt;http://www.stopforumspam.com/downloads/&lt;/a&gt;, that can be imported here.</Resource> <Resource tag="TITLE">Import Email Addresses</Resource> </page> <page name="ADMIN_BANNEDIP"> <Resource tag="ADD_IP">Add New Address</Resource> <Resource tag="BAN_BY">Banned By</Resource> <Resource tag="EXPORT">Export to Text File</Resource> <Resource tag="IMPORT_IPS">Import Address(es)</Resource> <Resource tag="MASK">Mask</Resource> <Resource tag="MSG_DELETE">Delete this Banned Item?</Resource> <Resource tag="MSG_REMOVEBAN_IP">IP Address or Mask '{0}' was successfully deleted</Resource> <Resource tag="REASON">Reason</Resource> <Resource tag="SINCE">Since</Resource> <Resource tag="TITLE">Banned IP Addresses</Resource> </page> <page name="ADMIN_BANNEDIP_EDIT"> <Resource tag="INVALID_ADRESS">Invalid IP address.</Resource> <Resource tag="INVALID_LESS">"{0}" is not a valid IP section value (must be less then 255).</Resource> <Resource tag="INVALID_SECTION">"{0}" is not a valid IP section value.</Resource> <Resource tag="INVALID_VALUE">One of the IP section does not have a value. Valid values are 0-255 or "*" for a wildcard.</Resource> <Resource tag="MASK">Mask:</Resource> <Resource tag="MASK_HELP">The ip address to ban. You can use wild cards (127.0.0.*).</Resource> <Resource tag="REASON">Reason:</Resource> <Resource tag="REASON_HELP">The reason why the ip was banned.</Resource> <Resource tag="TITLE">Add/Edit Banned IP Address</Resource> <Resource tag="TITLE_EDIT">Edit Banned IP Address</Resource> </page> <page name="ADMIN_BANNEDIP_IMPORT"> <Resource tag="HEADER">Import IP Addresses List</Resource> <Resource tag="IMPORT">Import List</Resource> <Resource tag="IMPORT_FAILED">Failed to import! Invalid upload format specified: {0} </Resource> <Resource tag="IMPORT_FILE">Select Import File:</Resource> <Resource tag="IMPORT_FILE_HELP">Must be *.txt file containing an Ip Address on each line</Resource> <Resource tag="IMPORT_NOTHING">Nothing imported: no new ip address was found in the upload.</Resource> <Resource tag="IMPORT_SUCESS">{0} new ip address(es) imported successfully.</Resource> <Resource tag="NOTE">You can find a list of Spam Bot Ips on StopForumSpam.com &lt;a href="http://www.stopforumspam.com/downloads/"&gt;http://www.stopforumspam.com/downloads/&lt;/a&gt;, that can be imported here.</Resource> <Resource tag="TITLE">Import IP Addresses</Resource> </page> <page name="ADMIN_BANNEDNAME"> <Resource tag="ADD_IP">Add New User Name</Resource> <Resource tag="IMPORT_IPS">Import Name(s)</Resource> <Resource tag="MASK">Mask</Resource> <Resource tag="MSG_REMOVEBAN_NAME">The user name was successfully deleted</Resource> <Resource tag="REASON">Reason</Resource> <Resource tag="SINCE">Since</Resource> <Resource tag="TITLE">Banned Names</Resource> </page> <page name="ADMIN_BANNEDNAME_EDIT"> <Resource tag="MASK">Mask:</Resource> <Resource tag="MASK_HELP">The User Name to ban. You can use Regular Expressions.</Resource> <Resource tag="REASON">Reason:</Resource> <Resource tag="REASON_HELP">The reason why the user name was banned.</Resource> <Resource tag="TITLE">Add/Edit Banned Name</Resource> <Resource tag="TITLE_EDIT">Edit Banned Name</Resource> </page> <page name="ADMIN_BANNEDNAME_IMPORT"> <Resource tag="HEADER">Import Names List</Resource> <Resource tag="IMPORT">Import List</Resource> <Resource tag="IMPORT_FAILED">Failed to import! Invalid upload format specified: {0} </Resource> <Resource tag="IMPORT_FILE">Select Import File:</Resource> <Resource tag="IMPORT_FILE_HELP">Must be *.txt file containing one Name on each line</Resource> <Resource tag="IMPORT_NOTHING">Nothing imported: no new name was found in the upload.</Resource> <Resource tag="IMPORT_SUCESS">{0} new name(s) imported successfully.</Resource> <Resource tag="NOTE">You can find a list of Spam Bot user names on StopForumSpam.com &lt;a href="http://www.stopforumspam.com/downloads/"&gt;http://www.stopforumspam.com/downloads/&lt;/a&gt;, that can be imported here.</Resource> <Resource tag="TITLE">Import Name(s)</Resource> </page> <page name="ADMIN_BBCODE"> <Resource tag="ADD">Add new BBCode</Resource> <Resource tag="CONFIRM_DELETE">Delete this YafBBCode Extension?</Resource> <Resource tag="DESCRIPTION">Description</Resource> <Resource tag="EXPORT">Export Selected to XML</Resource> <Resource tag="HEADER">BBCode Extensions</Resource> <Resource tag="MSG_NOTHING_SELECTED">Nothing selected to export.</Resource> <Resource tag="NAME">Name</Resource> <Resource tag="TITLE">YafBBCode Extensions</Resource> </page> <page name="ADMIN_BBCODE_EDIT"> <Resource tag="BBCODE_DESC">Description:</Resource> <Resource tag="BBCODE_DESC_HELP">Required Description of this extension to the user.</Resource> <Resource tag="BBCODE_NAME">Name:</Resource> <Resource tag="BBCODE_NAME_HELP">Required Simple name of this extension.</Resource> <Resource tag="CLASS_NAME">Module Class Name:</Resource> <Resource tag="CLASS_NAME_HELP">Full class name including namespace.</Resource> <Resource tag="DISPLAY_CSS">Display CSS:</Resource> <Resource tag="DISPLAY_CSS_HELP">CSS to help display this extension. Just enter CSS into this field. style tag will be added automatically.</Resource> <Resource tag="DISPLAY_JS">Display JS:</Resource> <Resource tag="DISPLAY_JS_HELP">JS code used to help with the extension display. Just enter javascript into this field. script tag will be added automatically.</Resource> <Resource tag="EDIT_JS">Edit JS:</Resource> <Resource tag="EDIT_JS_HELP">JS code used to modify the text editor. Use "{{editorid}}" (without quotes) to have the text editor ID replaced in the code. Just enter javascript into this field. script tag will be added automatically.</Resource> <Resource tag="EXEC_ORDER">Exec Order:</Resource> <Resource tag="EXEC_ORDER_HELP">Required Number representing in which order the extensions are executed. Lowest executed first.</Resource> <Resource tag="HEADER">Add/Edit BBCode Extension</Resource> <Resource tag="HEADER1">Name &amp; Description (all fields are required)</Resource> <Resource tag="HEADER2">Regular Expression</Resource> <Resource tag="HEADER3">Javascript &amp; CSS (all fields are optional)</Resource> <Resource tag="MSG_NUMBER">You must enter an number value from 0 to 32767 for sort order.</Resource> <Resource tag="MSG_POSITIVE_VALUE">The sort order value should be a positive integer from 0 to 32767.</Resource> <Resource tag="ONCLICK_JS">OnClick JS:</Resource> <Resource tag="ONCLICK_JS_HELP">JS code called when this BBCode extension is clicked client-side. Just enter javascript into this field. script tags will be added automatically.</Resource> <Resource tag="REPLACE_REGEX">Replace RegEx:</Resource> <Resource tag="REPLACE_REGEX_HELP">Required Regular expression for replacement of the search BBCode.</Resource> <Resource tag="REPLACE_VARIABLES">Replace Variables:</Resource> <Resource tag="REPLACE_VARIABLES_HELP">Optional field. Separate variables with semi-colon; no other punctuation or spaces allowed.</Resource> <Resource tag="SEARCH_REGEX">Search RegEx:</Resource> <Resource tag="SEARCH_REGEX_HELP">Required Regular expression to find this BBCode. BBCode is always surrounded with []. This expression system is not designed for plain text searching (use the word replace for that).</Resource> <Resource tag="TITLE">{0} YafBBCode Extensions</Resource> <Resource tag="USE_MODULE">Use Module:</Resource> <Resource tag="USE_MODULE_HELP">Use server-side module (class) instead of replace regex?</Resource> <Resource tag="USE_TOOLBAR">Use Toolbar:</Resource> <Resource tag="USE_TOOLBAR_HELP">If enabled Show toolbar button in the Standard BBCode Editor</Resource> </page> <page name="ADMIN_BBCODE_IMPORT"> <Resource tag="HEADER">Import Custom BBCode</Resource> <Resource tag="IMPORT_FAILED">Failed to import: {0}</Resource> <Resource tag="IMPORT_NOTHING">Nothing imported: no new custom bbcode was found in the upload.</Resource> <Resource tag="IMPORT_SUCESS">{0} new custom bbcode(s) imported successfully.</Resource> <Resource tag="TITLE">Import Custom YafBBCode</Resource> </page> <page name="ADMIN_BOARDS"> <Resource tag="CONFIRM_DELETE">Delete this board?</Resource> <Resource tag="DELETE">Delete</Resource> <Resource tag="EDIT">Edit</Resource> <Resource tag="ID">ID</Resource> <Resource tag="NAME">Name</Resource> <Resource tag="NEW_BOARD">New Board</Resource> <Resource tag="TITLE">Boards</Resource> </page> <page name="ADMIN_BOARDSETTINGS"> <Resource tag="ANNOUNCEMENT_CURRENT">Current Announcement visible until</Resource> <Resource tag="ANNOUNCEMENT_MESSAGE">Announcement Message:</Resource> <Resource tag="ANNOUNCEMENT_TITLE">Board Announcement</Resource> <Resource tag="ANNOUNCEMENT_TYPE">Type:</Resource> <Resource tag="ANNOUNCEMENT_UNTIL">Announcement visible for...</Resource> <Resource tag="BOARD_ALLOW_DIGEST">Allow Digest Email Sending for Users Once Daily:</Resource> <Resource tag="BOARD_ALLOW_DIGEST_HELP">Reqired: board must have "YAF.BaseUrlMask" and "YAF.ForceScriptName" AppSettings defined in your web.config for digest to work.</Resource> <Resource tag="BOARD_CDN_HOSTED">Use Google Hosted CDN jQuery UI CSS File?</Resource> <Resource tag="BOARD_CDN_HOSTED_HELP">You can use the Google Hosted CSS Files, or instead use internal.</Resource> <Resource tag="BOARD_CULTURE">Culture:</Resource> <Resource tag="BOARD_CULTURE_HELP">The default culture &amp; language for this forum.</Resource> <Resource tag="BOARD_DEFAULT_NOTIFICATION">Default Notification Setting:</Resource> <Resource tag="BOARD_DEFAULT_NOTIFICATION_HELP">When a new user account is created, what notification setting does it default to?</Resource> <Resource tag="BOARD_DIGEST_HOURS">Hours Between Digest Sending:</Resource> <Resource tag="BOARD_DIGEST_HOURS_HELP">Number of hours before attempting to send another digest. Digest only attempts sending between 12:00 and 6:00am.</Resource> <Resource tag="BOARD_DIGEST_NEWUSERS">Default Send Digest "On" for New Users?</Resource> <Resource tag="BOARD_DIGEST_NEWUSERS_HELP">When a new user account is created, default send digest to true?</Resource> <Resource tag="BOARD_EMAIL_MODS">Email Moderators On New Moderated Post:</Resource> <Resource tag="BOARD_EMAIL_MODS_HELP">Should all the moderators of a forum be notified if a new post that needs approval is created?</Resource> <Resource tag="BOARD_EMAIL_ONREGISTER">Send Email Notification On User Register to Emails:</Resource> <Resource tag="BOARD_EMAIL_ONREGISTER_HELP">Semi-colon (;) separated list of emails to send a notification to on user registration.</Resource> <Resource tag="BOARD_EMAIL_REPORTMODS">Email Moderators On a Reported Post:</Resource> <Resource tag="BOARD_EMAIL_REPORTMODS_HELP">Should all the moderators of a forum be notified if someone reported a post?</Resource> <Resource tag="BOARD_FILE_EXTENSIONS">File Extensions List is:</Resource> <Resource tag="BOARD_FILE_EXTENSIONS_HELP">Is the list of file extensions allowed files or disallowed files (less secure)?</Resource> <Resource tag="BOARD_JQ_THEME">jQuery UI Theme:</Resource> <Resource tag="BOARD_JQ_THEME_HELP">The jQuery UI Theme to use on this board for the Tabs and Accordion.</Resource> <Resource tag="BOARD_LOGO">Board Logo:</Resource> <Resource tag="BOARD_LOGO_HELP">Select a Board Logo or use the default YAF Board Logo.</Resource> <Resource tag="BOARD_LOGO_SELECT">Select a Board logo</Resource> <Resource tag="BOARD_MOBILE_THEME">Mobile Theme:</Resource> <Resource tag="BOARD_MOBILE_THEME_HELP">The mobile theme to use on this board.</Resource> <Resource tag="BOARD_NAME">Board Name:</Resource> <Resource tag="BOARD_NAME_HELP">The name of the board.</Resource> <Resource tag="BOARD_SETUP">Board Setup</Resource> <Resource tag="BOARD_THEME">Theme:</Resource> <Resource tag="BOARD_THEME_HELP">The theme to use on this board.</Resource> <Resource tag="BOARD_THEME_LOGO">Allow Themed Logo:</Resource> <Resource tag="BOARD_THEME_LOGO_HELP">Gets logo from theme file (Does not work in portal).</Resource> <Resource tag="BOARD_THREADED">Allow Threaded:</Resource> <Resource tag="BOARD_THREADED_HELP">Allow threaded view for posts.</Resource> <Resource tag="BOARD_TOPIC_DEFAULT">Show Topic Default:</Resource> <Resource tag="BOARD_TOPIC_DEFAULT_HELP">The default board show topic interval selection.</Resource> <Resource tag="CDVVERSION">CRM Version</Resource> <Resource tag="CDVVERSION_BUTTON">Increase CRM Version</Resource> <Resource tag="CDVVERSION_HELP">CRM Version, increase number to Force a Browser reload of all Java Script and CSS Files</Resource> <Resource tag="COPYRIGHT_REMOVAL_KEY">Copyright Removal Key:</Resource> <Resource tag="COPYRIGHT_REMOVAL_KEY_DOWN">Purchase Removal Key</Resource> <Resource tag="COPYRIGHT_REMOVAL_KEY_HELP">Remove the copyright information and link back to YAF from the footer of your entire forum domain. Available&lt;a href="https://yetanotherforum.net/purchase.aspx"&gt;from YAF.NET site&lt;/a&gt;. </Resource> <Resource tag="HEADER">Current Board Settings</Resource> <Resource tag="TITLE">Board Settings</Resource> </page> <page name="ADMIN_COMMON"> <Resource tag="CANCEL">Cancel</Resource> <Resource tag="CLEAR">Clear</Resource> <Resource tag="DISABLED">Disabled</Resource> <Resource tag="NO">No</Resource> <Resource tag="SAVE">Save</Resource> <Resource tag="TABLE_RESPONSIVE">Swipe Table to the left to Reveal More Data</Resource> <Resource tag="YES">Yes</Resource> </page> <page name="ADMIN_DELETEFORUM"> <Resource tag="DELETE_FORUM">Delete Forum</Resource> <Resource tag="DELETE_MOVE_TITLE">Deleting Forum and Moving Topics</Resource> <Resource tag="DELETE_MSG">Please do not navigate away from this page while the deletion is in progress...</Resource> <Resource tag="DELETE_TITLE">Deleting Forum</Resource> <Resource tag="HEADER1">Delete the forum:</Resource> <Resource tag="MOVE_TOPICS">Move all Topics, before Deleting?</Resource> <Resource tag="MOVE_TOPICS_HELP">Move all Topics inside the Forum to a Forum selected Bellow.</Resource> <Resource tag="NEW_FORUM">New Forum:</Resource> <Resource tag="NEW_FORUM_HELP">Select the new Forum for the Topics.</Resource> <Resource tag="TITLE">Delete Forum</Resource> </page> <page name="ADMIN_DIGEST"> <Resource tag="CONFIRM_FORCE">Are you sure you want to schedule a digest send right now?</Resource> <Resource tag="DIGEST_EMAIL">Email:</Resource> <Resource tag="DIGEST_EMAIL_HELP">Send a test digest to the email.</Resource> <Resource tag="DIGEST_ENABLED">Digest Enabled:</Resource> <Resource tag="DIGEST_ENABLED_HELP">Change in your Board Settings.</Resource> <Resource tag="DIGEST_GENERATE">Digest:</Resource> <Resource tag="DIGEST_GENERATE_HELP">Generate Digest for this admin account and currently selected theme. (May not actually look like this rendered in an email client.)</Resource> <Resource tag="DIGEST_LAST">Last Digest Send:</Resource> <Resource tag="DIGEST_LAST_HELP">The last time (based on server time) the digest task was run.&gt;</Resource> <Resource tag="DIGEST_METHOD">Send Method:</Resource> <Resource tag="DIGEST_METHOD_HELP">Type of System Send to Test.</Resource> <Resource tag="DIGEST_NEVER">Never</Resource> <Resource tag="FORCE_SEND">Force Digest Send</Resource> <Resource tag="GENERATE_DIGEST">Generate Digest</Resource> <Resource tag="HEADER2">View Current Digest</Resource> <Resource tag="HEADER3">Send Test Digest</Resource> <Resource tag="MSG_FORCE_SEND">Digest Send Scheduled for Immediate Sending</Resource> <Resource tag="MSG_SEND_ERR">Exception Getting Digest: {0}</Resource> <Resource tag="MSG_SEND_SUC">Sent via {0} successfully.</Resource> <Resource tag="MSG_VALID_MAIL">Please enter a valid email address to send a test.</Resource> <Resource tag="SEND_TEST">Send Test</Resource> <Resource tag="TITLE">Digest</Resource> </page> <page name="ADMIN_EDITACCESSMASKS"> <Resource tag="ACCESS">Access</Resource> <Resource tag="DELETE_ACCESS">Delete Access</Resource> <Resource tag="DELETE_ACCESS_HELP">Allows Users to Delete their own Posts</Resource> <Resource tag="DOWNLOAD_ACCESS">Download Access</Resource> <Resource tag="DOWNLOAD_ACCESS_HELP">Allows Users to Download Attachments in Posts.</Resource> <Resource tag="EDIT_ACCESS">Edit Access</Resource> <Resource tag="EDIT_ACCESS_HELP">Allows Users to Edit their own Posts.</Resource> <Resource tag="MASK_NAME">Name:</Resource> <Resource tag="MASK_NAME_HELP">Name of this access mask.</Resource> <Resource tag="MASK_ORDER">Order:</Resource> <Resource tag="MASK_ORDER_HELP">Sort order for this access mask.</Resource> <Resource tag="MODERATOR_ACCESS">Morderator Access</Resource> <Resource tag="MODERATOR_ACCESS_HELP">Allows Users to Edit/Delete all Posts and Topics in a Forum.</Resource> <Resource tag="MSG_MASK_NAME">You must enter a name for the Access Mask.</Resource> <Resource tag="MSG_NUMBER_SORT">You must enter a number value from 0 to 32767 for sort order.</Resource> <Resource tag="MSG_POSITIVE_SORT">The Sort Order value should be a positive integer from 0 to 32767.</Resource> <Resource tag="POLL_ACCESS">Poll Access</Resource> <Resource tag="POLL_ACCESS_HELP">Allows Users to Create Polls in Topics.</Resource> <Resource tag="POST_ACCESS">Post Access</Resource> <Resource tag="POST_ACCESS_HELP">Allows Users to Post New Topics in a Forum.</Resource> <Resource tag="PRIORITY_ACCESS">Priority Access</Resource> <Resource tag="PRIORITY_ACCESS_HELP">Allows Users to Change the Priority of Topic (Normal, Sticky, Anouncement).</Resource> <Resource tag="READ_ACCESS">Read Access</Resource> <Resource tag="READ_ACCESS_HELP">Allows Users to Read Topics and Messages in a Forum.</Resource> <Resource tag="REPLY_ACCESS">Reply Access</Resource> <Resource tag="REPLY_ACCESS_HELP">Allows Users to Reply to existing Topics in a Forum.</Resource> <Resource tag="TITLE">Add/Edit Access Masks</Resource> <Resource tag="UPLOAD_ACCESS">Upload Access</Resource> <Resource tag="UPLOAD_ACCESS_HELP">Allows Users to Upload Attachments in Posts.</Resource> <Resource tag="VOTE_ACCESS">Vote Access</Resource> <Resource tag="VOTE_ACCESS_HELP">Allows Users to Vote in Polls.</Resource> </page> <page name="ADMIN_EDITBOARD"> <Resource tag="ADMIN_USER">Create New Superuser (Host Admin):</Resource> <Resource tag="ADMIN_USER_HELP">Only required when creating a board using a new &amp; different membership application name.</Resource> <Resource tag="CULTURE">Culture:</Resource> <Resource tag="CULTURE_HELP">The Culture of the board.</Resource> <Resource tag="HEADER2">New Superuser Information</Resource> <Resource tag="MEMBSHIP_APP_NAME">Membership Application Name:</Resource> <Resource tag="MEMBSHIP_APP_NAME_HELP">Application name required for provider, blank will use ApplicationName in web.config.</Resource> <Resource tag="MSG_EMAIL_ADMIN">You must enter the email address of the host admin.</Resource> <Resource tag="MSG_NAME_ADMIN">You must enter the name of the host admin user.</Resource> <Resource tag="MSG_NAME_BOARD">You must enter a name for the board.</Resource> <Resource tag="MSG_PASS_ADMIN">You must enter a password for the host admin user.</Resource> <Resource tag="MSG_PASS_MATCH">The passwords don't match.</Resource> <Resource tag="NAME">Name:</Resource> <Resource tag="NAME_HELP">The name of the board.</Resource> <Resource tag="SECURITY_ANSWER">Security Answer:</Resource> <Resource tag="SECURITY_ANSWER_HELP">The answer to the security question.</Resource> <Resource tag="SECURITY_QUESTION">Security Question:</Resource> <Resource tag="SECURITY_QUESTION_HELP">The question you will be asked when you need to retrieve your lost password.</Resource> <Resource tag="STATUS_DUP_EMAIL">A username for that e-mail address already exists. Please enter a different e-mail address.</Resource> <Resource tag="STATUS_DUP_NAME">Username already exists. Please enter a different user name.</Resource> <Resource tag="STATUS_INVAL_ANSWER">The password retrieval answer provided is invalid. Please check the value and try again.</Resource> <Resource tag="STATUS_INVAL_MAIL">The e-mail address provided is invalid. Please check the value and try again.</Resource> <Resource tag="STATUS_INVAL_NAME">The user name provided is invalid. Please check the value and try again.</Resource> <Resource tag="STATUS_INVAL_PASS">The password provided is invalid. Please enter a valid password value.</Resource> <Resource tag="STATUS_INVAL_QUESTION">The password retrieval question provided is invalid. Please check the value and try again.</Resource> <Resource tag="STATUS_PROVIDER_ERR">The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.</Resource> <Resource tag="STATUS_USR_REJECTED">The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.</Resource> <Resource tag="THREADED">Allow Threaded:</Resource> <Resource tag="THREADED_HELP">Allow threaded view for posts.</Resource> <Resource tag="TITLE">Add/Edit Board</Resource> <Resource tag="USER_MAIL">User Email:</Resource> <Resource tag="USER_MAIL_HELP">Email address for the host admin.</Resource> <Resource tag="USER_NAME">User Name:</Resource> <Resource tag="USER_NAME_HELP">This will be the host admin for the board.</Resource> <Resource tag="USER_PASS">Password:</Resource> <Resource tag="USER_PASS_HELP">Enter password for administrator here.</Resource> <Resource tag="VERIFY_PASS">Verify Password:</Resource> <Resource tag="VERIFY_PASS_HELP">Verify the password.</Resource> </page> <page name="ADMIN_EDITCATEGORY"> <Resource tag="CATEGORY_IMAGE">Category Image:</Resource> <Resource tag="CATEGORY_IMAGE_HELP">This image will be shown next to this category.</Resource> <Resource tag="CATEGORY_NAME">Category Name:</Resource> <Resource tag="CATEGORY_NAME_HELP">Name of this category.</Resource> <Resource tag="HEADER">Edit Category:</Resource> <Resource tag="MSG_CATEGORY_EXISTS">A Category with such a name already exists.</Resource> <Resource tag="MSG_NUMBER">Invalid value entered for sort order: must enter a number.</Resource> <Resource tag="MSG_POSITIVE_VALUE">The Sort Order value should be a positive integer from 0 to 32767.</Resource> <Resource tag="MSG_VALUE">Must enter a value for the category name field.</Resource> <Resource tag="SORT_ORDER">Sort Order:</Resource> <Resource tag="SORT_ORDER_HELP">Order the display of this category. Number, lower first.</Resource> <Resource tag="TITLE">Add/Edit Category</Resource> </page> <page name="ADMIN_EDITFORUM"> <Resource tag="ACCESS_MASK">Access Mask</Resource> <Resource tag="CATEGORY">Category:</Resource> <Resource tag="CATEGORY_HELP">What category to put the forum under.</Resource> <Resource tag="CHOOSE_THEME">Choose a theme</Resource> <Resource tag="DESCRIPTION">Description:</Resource> <Resource tag="DESCRIPTION_HELP">A description of the forum.</Resource> <Resource tag="FORUM_IMAGE">Forum Image:</Resource> <Resource tag="FORUM_IMAGE_HELP">This image will be shown next to this forum, if empty default image for the forum is used.</Resource> <Resource tag="GROUP">Group</Resource> <Resource tag="HEADER1">Edit Forum:</Resource> <Resource tag="HEADER2">Access Masks</Resource> <Resource tag="HIDE_NOACESS">Hide if no access:</Resource> <Resource tag="HIDE_NOACESS_HELP">Means that the forum will be hidden when the user don't have read access to it.</Resource> <Resource tag="INITAL_MASK">Initial Access Mask:</Resource> <Resource tag="INITAL_MASK_HELP">The initial access mask for all forums.</Resource> <Resource tag="LOCKED">Locked:</Resource> <Resource tag="LOCKED_HELP">If the forum is locked, no one can post or reply in this forum.</Resource> <Resource tag="MODERATE_ALL_POSTS">Moderate all Posts</Resource> <Resource tag="MODERATED_COUNT">Moderate all Posts or only until a User reaches x amount of Posts</Resource> <Resource tag="MODERATED_COUNT_HELP">Set it to 'Moderate all Posts' or uncheck that option to specifify the amount of post a user has to reach to be automatically appproved.</Resource> <Resource tag="MODERATED_NEWTOPIC_ONLY">Moderate only new Topics but not Replies?</Resource> <Resource tag="MODERATED_NEWTOPIC_ONLY_HELP">If checked only Messages of new Topics are checked but not Replies to existing Topics, otherwise all Messages needs moderation.</Resource> <Resource tag="MSG_CATEGORY">You must select a category for the forum.</Resource> <Resource tag="MSG_CATEGORY">You must enter an number value from 0 to 32767 for sort order.</Resource> <Resource tag="MSG_CHILD_PARENT">The chosen forum cannot be child forum as it's a parent.</Resource> <Resource tag="MSG_DESCRIPTION">You must enter a description for the forum.</Resource> <Resource tag="MSG_FORUMNAME_EXISTS">A forum with such a name already exists.</Resource> <Resource tag="MSG_INITAL_MASK">You must select an initial access mask for the forum.</Resource> <Resource tag="MSG_INVALID_URL">Your entered an invalid Url address.</Resource> <Resource tag="MSG_NAME_FORUM">You must enter a name for the forum.</Resource> <Resource tag="MSG_PARENT_SELF">Forum cannot be parent of self.</Resource> <Resource tag="MSG_POSITIVE_VALUE">The sort order value should be a positive integer from 0 to 32767.</Resource> <Resource tag="MSG_VALUE">You must enter a value for sort order.</Resource> <Resource tag="NAME">Name:</Resource> <Resource tag="NAME_HELP">The name of the forum.</Resource> <Resource tag="NO_POSTSCOUNT">No posts count:</Resource> <Resource tag="NO_POSTSCOUNT_HELP">If this is checked, posts in this forum will not count in the ladder system/forum statistics.</Resource> <Resource tag="PARENT_FORUM">Parent Forum:</Resource> <Resource tag="PARENT_FORUM_HELP">Will make this forum a sub forum of another forum.</Resource> <Resource tag="PRE_MODERATED">Pre-moderated:</Resource> <Resource tag="PRE_MODERATED_HELP">If the forum is moderated, posts have to be approved by a moderator.</Resource> <Resource tag="REMOTE_URL">Remote URL:</Resource> <Resource tag="REMOTE_URL_HELP">Enter a url here, and instead of going to the forum you will be taken to this url instead.</Resource> <Resource tag="SORT_ORDER">SortOrder:</Resource> <Resource tag="SORT_ORDER_HELP">Sort order under this category.</Resource> <Resource tag="STYLES">Styles:</Resource> <Resource tag="STYLES_HELP">Styles string to customize Forum Name. Leave it empty.</Resource> <Resource tag="THEME">Theme:</Resource> <Resource tag="THEME_HELP">Choose a theme for this forum if its to differ from the standard Board theme.</Resource> <Resource tag="TITLE">Add/Edit Forum</Resource> </page> <page name="ADMIN_EDITGROUP"> <Resource tag="ALBUM_NUMBER">User Albums Number:</Resource> <Resource tag="ALBUM_NUMBER_HELP">Integer value for a user allowed albums number.</Resource> <Resource tag="BOARD">Board:</Resource> <Resource tag="CATEGORY">Category:</Resource> <Resource tag="DESCRIPTION">Description:</Resource> <Resource tag="DESCRIPTION_HELP">Enter here a role description.</Resource> <Resource tag="FORUM">Forum</Resource> <Resource tag="FORUM_MOD">Is Forum Moderator:</Resource> <Resource tag="FORUM_MOD_HELP">When this is checked, members of this role will have some admin access rights in YAF.</Resource> <Resource tag="HEADER">Access</Resource> <Resource tag="IMAGES_NUMBER">Album Images Number:</Resource> <Resource tag="IMAGES_NUMBER_HELP">Integer value for a user allowed images per album.</Resource> <Resource tag="INITIAL_MASK">Initial Access Mask:</Resource> <Resource tag="INITIAL_MASK_HELP">The initial access mask for all forums.</Resource> <Resource tag="IS_ADMIN">Is Admin:</Resource> <Resource tag="IS_ADMIN_HELP">Means that users in this role are admins in YAF.</Resource> <Resource tag="IS_GUEST">Is Guest::</Resource> <Resource tag="IS_GUEST_HELP">This flag is internal and makes the role unavailable to .NET membership. Never assign this role to any users except the (1) guest user. If you do flag this role as IsGuest, the guest user must a member of it. Never use this flag in conjunction with any other flags.</Resource> <Resource tag="IS_START">Is Start:</Resource> <Resource tag="IS_START_HELP">If this is checked, all new users will be a member of this role. &lt;br /&gt;&lt;span style="color:red"&gt;[b]Warning:[/b] at least one Group need to have this Check box enabled or new users wont be able to register.[/b]&lt;/span&gt;</Resource> <Resource tag="MSG_ALBUM_NUMBER">You should enter integer value for the number of user albums.</Resource> <Resource tag="MSG_INTEGER">You should enter integer value for priority.</Resource> <Resource tag="MSG_SIG_NUMBER">You should enter integer value for the number of chars in user signature.</Resource> <Resource tag="MSG_TOTAL_NUMBER">You should enter integer value for the total number of images in all albums.</Resource> <Resource tag="MSG_VALID_NUMBER">You should enter integer value for pmessage number.</Resource> <Resource tag="PMMESSAGES">PMessages:</Resource> <Resource tag="PMMESSAGES_HELP">Max. Private Messages allowed to Group members.</Resource> <Resource tag="PRIORITY">Priority:</Resource> <Resource tag="PRIORITY_HELP">Enter here priority for different tasks.</Resource> <Resource tag="ROLE_NAME">Name:</Resource> <Resource tag="ROLE_NAME_HELP">Name of this role.</Resource> <Resource tag="SIG_BBCODES">User signature BBCodes:</Resource> <Resource tag="SIG_BBCODES_HELP">Comma separated BBCodes allowed in a user signature in the role.</Resource> <Resource tag="SIG_HTML">User signature HTML tags:</Resource> <Resource tag="SIG_HTML_HELP">Comma separated HTML tags allowed in a user signature in the group.</Resource> <Resource tag="SIGNATURE_LENGTH">Max number of chars in a user signature:</Resource> <Resource tag="SIGNATURE_LENGTH_HELP">Max number of chars in a user signature in the role.</Resource> <Resource tag="STYLE">Style:</Resource> <Resource tag="STYLE_HELP">Enter here a combined style string for colored nicks.</Resource> <Resource tag="TITLE">Add/Edit Role</Resource> </page> <page name="ADMIN_EDITLANGUAGE"> <Resource tag="AUTO_SYNC">Missing Translation Resources are Automatically Synchronized and Updated.</Resource> <Resource tag="HEADER">Language Translation - &lt;em&gt;Current Resource Page : </Resource> <Resource tag="LOAD_PAGE">Load Page Localization</Resource> <Resource tag="LOCALIZED_RESOURCE">Localized Resource</Resource> <Resource tag="ORIGINAL_RESOURCE">Original Resource</Resource> <Resource tag="RESOURCE_NAME">Resource Name</Resource> <Resource tag="SELECT_PAGE">Select a Page:</Resource> <Resource tag="TITLE">Language Translator</Resource> </page> <page name="ADMIN_EDITMEDAL"> <Resource tag="ADD_GROUP">Add Group</Resource> <Resource tag="ADD_TOGROUP">Add Medal to a Group</Resource> <Resource tag="ADD_TOUSER">Add Medal to a User</Resource> <Resource tag="ADD_USER">Add User</Resource> <Resource tag="ALLOW_HIDING">Allow Hiding:</Resource> <Resource tag="ALLOW_HIDING_HELP">Means that users will be allowed/disallowed to hide this medal.</Resource> <Resource tag="ALLOW_REORDER">Allow Re-Ordering:</Resource> <Resource tag="ALLOW_REORDER_HELP">Means that users will be allowed/disallowed to change order of this medal.</Resource> <Resource tag="ALLOW_RIBBON">Allow Ribbon Bar:</Resource> <Resource tag="ALLOW_RIBBON_HELP">Means that ribbon bar display of this medal will be allowed/disallowed.</Resource> <Resource tag="CONFIRM_REMOVE_GROUP">Remove medal from this group?</Resource> <Resource tag="CONFIRM_REMOVE_USER">Remove medal from this user?</Resource> <Resource tag="DATE_AWARDED">Date Awarded</Resource> <Resource tag="EDIT_MEDAL_GROUP">Edit Medal of a Group</Resource> <Resource tag="EDIT_MEDAL_USER">Edit Medal of a User</Resource> <Resource tag="HEADER2">Medal Group Holders</Resource> <Resource tag="HEADER3">Individual Medal Holders</Resource> <Resource tag="HIDE">Hide:</Resource> <Resource tag="HIDE_HELP">If checked, medal is not displayed in user box.</Resource> <Resource tag="MEDAL_CATEGORY">Category:</Resource> <Resource tag="MEDAL_CATEGORY_HELP">Medal's category.</Resource> <Resource tag="MEDAL_DESC">Description:</Resource> <Resource tag="MEDAL_DESC_HELP">Description of medal.</Resource> <Resource tag="MEDAL_GROUP">Group:</Resource> <Resource tag="MEDAL_GROUP_HELP">Choose a Yaf Group.</Resource> <Resource tag="MEDAL_IMAGE">Medal Image:</Resource> <Resource tag="MEDAL_IMAGE_HELP">This image will be shown in medal's info.</Resource> <Resource tag="MEDAL_MESSAGE">Message:</Resource> <Resource tag="MEDAL_MESSAGE_HELP">Default message.</Resource> <Resource tag="MEDAL_NAME">Name:</Resource> <Resource tag="MEDAL_NAME_HELP">Name of medal.</Resource> <Resource tag="MEDAL_USER">User:</Resource> <Resource tag="MEDAL_USER_HELP">Enter a Username or Click on "Find Users" to select a User from the User List</Resource> <Resource tag="MSG_AMBIGOUS_USER">Ambiguous user name specified!</Resource> <Resource tag="MSG_IMAGE">Medal image must be specified!</Resource> <Resource tag="MSG_SMALL_IMAGE">Small medal image must be specified!</Resource> <Resource tag="MSG_VALID_USER">Please specify valid user!</Resource> <Resource tag="MSG_VALID_USER">Please specify valid user!</Resource> <Resource tag="ONLY_RIBBON">Show Only Ribbon Bar:</Resource> <Resource tag="ONLY_RIBBON_HELP">If checked, only ribbon bar is displayed in user box.</Resource> <Resource tag="OVERRIDE_MESSAGE">Message:</Resource> <Resource tag="OVERRIDE_MESSAGE_HELP">Overrides default if specified (Optional).</Resource> <Resource tag="OVERRIDE_ORDER">Sort Order:</Resource> <Resource tag="OVERRIDE_ORDER_HELP">Overrides default if specified (Optional).</Resource> <Resource tag="RIBBON_IMAGE">Ribbon Bar Image:</Resource> <Resource tag="RIBBON_IMAGE_HELP">This image will be shown in medal's info (optional).</Resource> <Resource tag="SELECT_IMAGE">Select Medal Image</Resource> <Resource tag="SHOW_MESSAGE">Show Message:</Resource> <Resource tag="SHOW_MESSAGE_HELP">Means that message describing why user received medal will be shown/hidden.</Resource> <Resource tag="SMALL_IMAGE">Small Medal Image:</Resource> <Resource tag="SMALL_IMAGE_HELP">This image will be shown in user box.</Resource> <Resource tag="SMALL_RIBBON">Small Ribbon Bar Image:</Resource> <Resource tag="SMALL_RIBBON_HELP">This image will be shown in user box (optional).</Resource> <Resource tag="SORT_ORDER">Sort Order:</Resource> <Resource tag="SORT_ORDER_HELP">Default sort order of a medal.</Resource> <Resource tag="TITLE">Add/Edit Medal</Resource> </page> <page name="ADMIN_EDITNNTPFORUM"> <Resource tag="ACTIVE">Active:</Resource> <Resource tag="ACTIVE_HELP">Check this to make the forum active.</Resource> <Resource tag="DATECUTOFF">Cut Off Date for Messages:</Resource> <Resource tag="DATECUTOFF_HELP">Messages should not be downloaded if they are older than this date.</Resource> <Resource tag="FORUM">Forum:</Resource> <Resource tag="FORUM_HELP">The forum messages will be inserted into.</Resource> <Resource tag="GROUP">Group:</Resource> <Resource tag="GROUP_HELP">The name of the newsgroup.</Resource> <Resource tag="MSG_SELECT_FORUM">You must select a forum to save NNTP messages.</Resource> <Resource tag="MSG_VALID_GROUP">You should enter a valid group name.</Resource> <Resource tag="SERVER">Server:</Resource> <Resource tag="SERVER_HELP">What server this groups is located.</Resource> <Resource tag="TITLE">Add/Edit NNTP Forum</Resource> <Resource tag="TITLE_EDIT">Edit NNTP Forum</Resource> </page> <page name="ADMIN_EDITNNTPSERVER"> <Resource tag="MSG_SERVER_ADR">Missing server address.</Resource> <Resource tag="MSG_SERVER_NAME">Missing server name.</Resource> <Resource tag="NNTP_ADRESS">Address:</Resource> <Resource tag="NNTP_ADRESS_HELP">The host name of the server.</Resource> <Resource tag="NNTP_NAME">Name:</Resource> <Resource tag="NNTP_NAME_HELP">Name of this server.</Resource> <Resource tag="NNTP_PASSWORD">Password:</Resource> <Resource tag="NNTP_PASSWORD_HELP">The password used to log on to the nntp server.</Resource> <Resource tag="NNTP_PORT">Port:</Resource> <Resource tag="NNTP_PORT_HELP">The port number to connect to.</Resource> <Resource tag="NNTP_USERNAME">User Name:</Resource> <Resource tag="NNTP_USERNAME_HELP">The user name used to log on to the nntp server.</Resource> <Resource tag="TITLE">Add/Edit NNTP Server</Resource> <Resource tag="TITLE_EDIT">Edit NNTP Server</Resource> </page> <page name="ADMIN_EDITRANK"> <Resource tag="ALBUMS_NUMBER">User Albums Number:</Resource> <Resource tag="ALBUMS_NUMBER_HELP">Integer value for a user allowed albums number.</Resource> <Resource tag="IMAGES_NUMBER">Album Images Number:</Resource> <Resource tag="IMAGES_NUMBER_HELP">Integer value for a user allowed images number per album.</Resource> <Resource tag="IS_START">Is Start:</Resource> <Resource tag="IS_START_HELP">Means that this is the rank that new users belong to. Only one rank should have this checked. &lt;br /&gt;&lt;span style="color:red"&gt;[b]Warning:[/b] at least one Rank need to have this Check box enabled or new users wont be able to register.&lt;/span&gt;</Resource> <Resource tag="LADDER_GROUP">Is Ladder Group:</Resource> <Resource tag="LADDER_GROUP_HELP">If this is checked, this rank should be part of the ladder system where users advance as they post messages.</Resource> <Resource tag="MIN_POSTS">Minimum Posts:</Resource> <Resource tag="MIN_POSTS_HELP">Minimum number of posts before users are advanced to this rank.</Resource> <Resource tag="MSG_RANK_INTEGER">Rank Priority should be small integer.</Resource> <Resource tag="PRIVATE_MESSAGES">Private Messages:</Resource> <Resource tag="PRIVATE_MESSAGES_HELP">Max. Private Messages allowed to Rank members.</Resource> <Resource tag="RANK_DESC">Description:</Resource> <Resource tag="RANK_DESC_HELP">Enter here a role description.</Resource> <Resource tag="RANK_IMAGE">Rank Image:</Resource> <Resource tag="RANK_IMAGE_HELP">This image will be shown next to users of this rank.</Resource> <Resource tag="RANK_NAME">Name:</Resource> <Resource tag="RANK_NAME_HELP">Name of this rank.</Resource> <Resource tag="RANK_PRIO">Priority:</Resource> <Resource tag="RANK_PRIO_HELP">Priority of rank is various things.</Resource> <Resource tag="RANK_STYLE">Style:</Resource> <Resource tag="RANK_STYLE_HELP">Style of users links in active users, color, font size...</Resource> <Resource tag="SELECT_IMAGE">Select Rank Image</Resource> <Resource tag="SIG_BBCODE">User signature BBCodes:</Resource> <Resource tag="SIG_BBCODE_HELP">Comma separated BBCodes allowed in a user signature in the rank.</Resource> <Resource tag="SIG_HTML">User signature HTML tags:</Resource> <Resource tag="SIG_HTML_HELP">Comma separated HTML tags allowed in a user signature in the rank.</Resource> <Resource tag="SIG_LENGTH">Max number of chars in a user signature:</Resource> <Resource tag="SIG_LENGTH_HELP">Max number of chars in a user signature in the rank.</Resource> <Resource tag="TITLE">Add/Edit Rank</Resource> </page> <page name="ADMIN_EDITUSER"> <Resource tag="ADD_POINTS">Add Points:</Resource> <Resource tag="BAN_EMAIL_OFUSER">Ban Email Addresses of User?</Resource> <Resource tag="BAN_IP_OFUSER">Ban IP Addresses of User?</Resource> <Resource tag="BAN_NAME_OFUSER">Ban User Name of User?</Resource> <Resource tag="BOT_REPORTED">User Successfully Reported as Bot</Resource> <Resource tag="BOT_REPORTED_FAILED">User Reporting was not successfull, please check your API Key!</Resource> <Resource tag="CHANGE_NEW_PASS">New Password:</Resource> <Resource tag="CHANGE_NEW_PASS_HELP">New user password.</Resource> <Resource tag="CHANGE_PASS">Change Password</Resource> <Resource tag="CHANGE_PASS_NOTIFICATION">Send Email Notification:</Resource> <Resource tag="CHANGE_PASS_NOTIFICATION_HELP">Email the user a notification of their new password?</Resource> <Resource tag="CONFIRM_PASS">Confirm Password:</Resource> <Resource tag="CONFIRM_PASS_HELP">Confirm the new password.</Resource> <Resource tag="CURRENT_POINTS">Current Points:</Resource> <Resource tag="DELETE_ACCOUNT">Delete this account</Resource> <Resource tag="DELETE_POSTS_USER">Delete all Posts for User?</Resource> <Resource tag="ERROR_CONFIRM_PASS">Must Enter a Confirm Password</Resource> <Resource tag="ERROR_NEW_PASS">Must Enter New Password</Resource> <Resource tag="ERROR_NOTE_PASSRESET">Error: Current Membership Provider does not support the "Password Reset" function. Verify that "EnablePasswordReset" is "true" in your provider configuration settings in the web.config.</Resource> <Resource tag="ERROR_PASS_NOTMATCH">Confirmation password does not match</Resource> <Resource tag="FACEBOOK_USER">Facebook User:</Resource> <Resource tag="FACEBOOK_USER_HELP">Indicates if the User is logged in via Facebook.</Resource> <Resource tag="GOOGLE_USER">Google User:</Resource> <Resource tag="GOOGLE_USER_HELP">Indicates if the User is logged in via Google.</Resource> <Resource tag="HEAD_KILL_USER">Kill User and Ban</Resource> <Resource tag="HEAD_USER_CHANGEPASS">Change Password</Resource> <Resource tag="HEAD_USER_DETAILS">User Details</Resource> <Resource tag="HEAD_USER_GROUPS">User Groups</Resource> <Resource tag="HEAD_USER_POINTS">User Points</Resource> <Resource tag="HEAD_USER_RESETPASS">Reset/Change User Password</Resource> <Resource tag="IP_ADDRESSES">IP Addresses:</Resource> <Resource tag="IP_ADRESSES">IP Addresses:</Resource> <Resource tag="KILL_USER">Kill User</Resource> <Resource tag="KILL_USER_CONFIRM">Delete all posts by and (optionally) ban IP addresses used by this user?</Resource> <Resource tag="LINK_USER_BAN">User &lt;a id="usr{0}" href="{1}"&gt;{2}&lt;/a&gt; is banned by IP</Resource> <Resource tag="MEMBER">Member</Resource> <Resource tag="MODERATE">Moderate all Posts</Resource> <Resource tag="MODERATE_HELP">Moderate all Posts made by the User</Resource> <Resource tag="MSG_GUEST_APPROVED">The Guest user must be marked as Approved or your forum will be unstable.</Resource> <Resource tag="MSG_PASS_CHANGED">User Password Changed</Resource> <Resource tag="MSG_PASS_CHANGED_NOTI">User Password Changed and Notification Email Sent.</Resource> <Resource tag="MSG_PASS_RESET">User Password Reset and Notification Email Sent</Resource> <Resource tag="MSG_USER_KILLED">User {0} Killed!</Resource> <Resource tag="PASS_OPTION">Option:</Resource> <Resource tag="PASS_OPTION_CHANGE">Manually Change Password and Optionally Email New Password to User</Resource> <Resource tag="PASS_OPTION_RESET">Reset Password and Email New Password to User</Resource> <Resource tag="PASS_REQUIREMENT">{0} minimum length. {1} minimum non-alphanumeric characters ($#@!).</Resource> <Resource tag="PASSWORD_REQUIREMENTS">Membership Password Requirements:</Resource> <Resource tag="REMOVE_POINTS">Remove Points:</Resource> <Resource tag="REPORT_USER">Report User as BOT to StopForumSpam.com</Resource> <Resource tag="REPORT_USER_CONFIRM">Report User Name, Email Address and IP Address to StopForumSpam.com as BOT?</Resource> <Resource tag="RESET_PASS">Reset Password</Resource> <Resource tag="SEND_EMAIL">Send User Notification?</Resource> <Resource tag="SET_POINTS">Set Points:</Resource> <Resource tag="SUSPEND_ACCOUNT_USER">Suspend this account for 5 years</Resource> <Resource tag="SUSPEND_OR_DELETE_ACCOUNT">Suspend or Delete this Account?</Resource> <Resource tag="TITLE">Edit User "{0}"</Resource> <Resource tag="TWITTER_USER">Twitter User:</Resource> <Resource tag="TWITTER_USER_HELP">Indicates if the User is logged in via Twitter.</Resource> <Resource tag="USER_AVATAR">User Avatar</Resource> <Resource tag="USER_DETAILS">User Details</Resource> <Resource tag="USER_KILL">User Kill &amp; Ban</Resource> <Resource tag="USER_PASS">User Password</Resource> <Resource tag="USER_PROFILE">User Profile</Resource> <Resource tag="USER_REPUTATION">User Reputation</Resource> <Resource tag="USER_ROLES">User Roles</Resource> <Resource tag="USER_SETTINGS">User Settings</Resource> <Resource tag="USER_SIG">User Signature</Resource> <Resource tag="USER_SUSPEND">User Suspend</Resource> <Resource tag="USERINFO_APPROVED">Is Approved:</Resource> <Resource tag="USERINFO_DISPLAYNAME">Display Name:</Resource> <Resource tag="USERINFO_DISPLAYNAME_HELP">Only visible if Display Names are enabled.</Resource> <Resource tag="USERINFO_EX_ACTIVE">Exclude from Active Users:</Resource> <Resource tag="USERINFO_EX_ACTIVE_HELP">User is not shown in Active User lists.</Resource> <Resource tag="USERINFO_EX_CAPTCHA">Exclude from CAPTCHA:</Resource> <Resource tag="USERINFO_EX_CAPTCHA_HELP">CAPTCHA is disabled for this user specifically.</Resource> <Resource tag="USERINFO_GUEST">Is Guest:</Resource> <Resource tag="USERINFO_HOST">Host Admin:</Resource> <Resource tag="USERINFO_HOST_HELP">Gives user access to modify "Host Settings" section.</Resource> <Resource tag="USERINFO_NAME">Username:</Resource> <Resource tag="USERINFO_NAME_HELP">Cannot be modified.</Resource> <Resource tag="VIEW_ALL">View All</Resource> </page> <page name="ADMIN_EVENTLOG"> <Resource tag="APPLY">Apply</Resource> <Resource tag="CONFIRM_DELETE">Delete this event log entry?</Resource> <Resource tag="CONFIRM_DELETE_ALL">Delete all event log entries?</Resource> <Resource tag="DELETE_ALL">Delete All</Resource> <Resource tag="DELETE_ALLOWED">Clean Up</Resource> <Resource tag="HIDE">Hide</Resource> <Resource tag="NO_ENTRY">No Entries found</Resource> <Resource tag="SHOW">Show</Resource> <Resource tag="SINCEDATE">Start Date</Resource> <Resource tag="SINCEDATE_HELP">Select the start date for the log to show.</Resource> <Resource tag="SOURCE">Source</Resource> <Resource tag="TIME">Time</Resource> <Resource tag="TITLE">Event Log</Resource> <Resource tag="TODATE">End Date</Resource> <Resource tag="TODATE_HELP">Select the end date for log to show.</Resource> <Resource tag="TYPE">Type</Resource> <Resource tag="TYPES">Type</Resource> <Resource tag="TYPES_HELP">Choose to restrict the Log to certain types of events.</Resource> </page> <page name="ADMIN_EXTENSIONS"> <Resource tag="ADD">Add</Resource> <Resource tag="CONFIRM_DELETE">Delete this Extension?</Resource> <Resource tag="EXPORT">Export to XML</Resource> <Resource tag="HEADER">Allowed File Extensions</Resource> <Resource tag="IMPORT">Import from XML</Resource> <Resource tag="SAVE">Save Extension</Resource> <Resource tag="TITLE">File Extensions</Resource> </page> <page name="ADMIN_EXTENSIONS_EDIT"> <Resource tag="FILE_EXTENSION">File Extension:</Resource> <Resource tag="FILE_EXTENSION_HELP">Example: Enter "jpg" for a JPEG graphic file.</Resource> <Resource tag="HEADER">Add/Edit Allowed File Extensions</Resource> <Resource tag="MSG_ENTER">You must enter something.</Resource> <Resource tag="MSG_REMOVE">Remove the period in the extension.</Resource> <Resource tag="TITLE">Add/Edit File Extensions</Resource> <Resource tag="TITLE_EDIT">Edit File Extension</Resource> </page> <page name="ADMIN_EXTENSIONS_IMPORT"> <Resource tag="HEADER">Import Extension List</Resource> <Resource tag="IMPORT">Import List</Resource> <Resource tag="IMPORT_FAILED">Failed to import: {0}</Resource> <Resource tag="IMPORT_FILE">Select Import File:</Resource> <Resource tag="IMPORT_FILE_HELP">Must be *.xml file</Resource> <Resource tag="IMPORT_NOTHING">Nothing imported: no new extension was found in the upload.</Resource> <Resource tag="IMPORT_SUCESS">{0} new extension(s) imported successfully.</Resource> <Resource tag="TITLE">Import Extensions</Resource> </page> <page name="ADMIN_FORUMS"> <Resource tag="CONFIRM_DELETE">Permanently delete this Forum including ALL topics, polls, attachments and messages associated with it?</Resource> <Resource tag="CONFIRM_DELETE_CAT">Delete this category?</Resource> <Resource tag="CONFIRM_DELETE_POSITIVE">Are you POSITIVE?</Resource> <Resource tag="DELETE_MSG">Please do not navigate away from this page while the deletion is in progress...</Resource> <Resource tag="DELETE_TITLE">Deleting Forum</Resource> <Resource tag="MSG_NOT_DELETE">You cannot delete this Category as it has at least one forum assigned to it.\nTo move forums click on \"Edit\" and change the category the forum is assigned to.</Resource> <Resource tag="NEW_CATEGORY">New Category</Resource> <Resource tag="NEW_FORUM">New Forum</Resource> </page> <page name="ADMIN_GROUPS"> <Resource tag="ADD_ROLETOYAF">Add to YAF</Resource> <Resource tag="COMMAND">Command</Resource> <Resource tag="CONFIRM_DELETE">Delete this Role?</Resource> <Resource tag="DELETE_ROLEFROMYAF">Delete Role</Resource> <Resource tag="HEADER">YetAnotherForum Roles</Resource> <Resource tag="IS_ADMIN">Is Admin</Resource> <Resource tag="IS_GUEST">Is Guest</Resource> <Resource tag="IS_MOD">Is Moderator</Resource> <Resource tag="IS_START">Is Start</Resource> <Resource tag="LINKED">Linked</Resource> <Resource tag="NAME">Name</Resource> <Resource tag="NEW_ROLE">New Role</Resource> <Resource tag="NOTE_DELETE">Note: Deleting a role here removes it completely from the provider. "Add to YAF" to make this role accessible in the forum.</Resource> <Resource tag="NOTE_DELETE_LINKED">Note: Deleting one of these "linked" roles outside of YAF will cause user data loss. If you want to delete the role, first "Delete from YAF" then the role can be managed outside of YAF.</Resource> <Resource tag="PMS">PMs</Resource> <Resource tag="PROVIDER_ROLES">Provider Roles</Resource> <Resource tag="TITLE">Roles</Resource> <Resource tag="UNLINKABLE">Unlinkable</Resource> <Resource tag="UNLINKED">Unlinked</Resource> </page> <page name="ADMIN_HOSTSETTINGS"> <Resource tag="ABANDON_TRACKUSR">Abandon Sessions for "Don't Track" Users:</Resource> <Resource tag="ABANDON_TRACKUSR_HELP">Automatically abandon sessions for users who are marked as "Don't Track" such as Search Engines and Bots. Enable if you're having any session issues.</Resource> <Resource tag="ACCEPT_HTML">Accepted HTML Tags:</Resource> <Resource tag="ACCEPT_HTML_HELP">Comma separated list (no spaces) of HTML tags that are allowed in posts using HTML editors.</Resource> <Resource tag="ACTIVE_USERTIME">Active Users Time:</Resource> <Resource tag="ACTIVE_USERTIME_HELP">Number of minutes to display users in Active Users list.</Resource> <Resource tag="ACTIVETOPIC_FEEDS_ACCESS">Active Topics Feeds Access:</Resource> <Resource tag="ACTIVETOPIC_FEEDS_ACCESS_HELP">Restrict display of active topics feeds.</Resource> <Resource tag="AKISMET_KEY">Akismet API Key:</Resource> <Resource tag="AKISMET_KEY_DOWN">Sign Up here</Resource> <Resource tag="AKISMET_KEY_HELP">To Use the Akismet comment SPAM Service you need an API Key &lt;a href="https://akismet.com/signup/"&gt;Sign Up here&lt;a&gt;.</Resource> <Resource tag="ALBUM_IMAGE_SIZE">Max Album Image File Size</Resource> <Resource tag="ALBUM_IMAGE_SIZE_HELP">Maximum size of uploaded album image files. Leave empty for no limit.</Resource> <Resource tag="ALBUM_IMAGES_PER_PAGE">Album Images Per Page:</Resource> <Resource tag="ALBUM_IMAGES_PER_PAGE_HELP">Number of Album Images to show per page.</Resource> <Resource tag="ALBUMS_PER_PAGE">Albums Per Page:</Resource> <Resource tag="ALBUMS_PER_PAGE_HELP">Number of albums to show per page.</Resource> <Resource tag="ALL_USERS">All Users</Resource> <Resource tag="ALLOW_CHANGE_AFTERVOTE">Allow Poll Changes After First Vote:</Resource> <Resource tag="ALLOW_CHANGE_AFTERVOTE_HELP">If enabled a poll creator can change choices and question after the first vote was given.</Resource> <Resource tag="ALLOW_DISPLAY_COUNTRY">Allow Display Country:</Resource> <Resource tag="ALLOW_DISPLAY_COUNTRY_HELP">If checked, the user country flag/name is displayed in the user data in messages list.</Resource> <Resource tag="ALLOW_DISPLAY_GENDER">Allow Display Gender:</Resource> <Resource tag="ALLOW_DISPLAY_GENDER_HELP">If checked, the user gender is displayed in the user data in messages list.</Resource> <Resource tag="ALLOW_EMAIL_CHANGE">Allow Email Change:</Resource> <Resource tag="ALLOW_EMAIL_CHANGE_HELP">Allow users to change their email address.</Resource> <Resource tag="ALLOW_EMAIL_TOPIC">Allow Email Topic:</Resource> <Resource tag="ALLOW_EMAIL_TOPIC_HELP">If checked, users will be allowed to email topics.</Resource> <Resource tag="ALLOW_FORUMS_DUPLICATENAME">Allow Forums With Same Name:</Resource> <Resource tag="ALLOW_FORUMS_DUPLICATENAME_HELP">If checked forums with duplicated names can be created.</Resource> <Resource tag="ALLOW_GRAVATARS">Allow Gravatars:</Resource> <Resource tag="ALLOW_GRAVATARS_HELP">Automatically use users Gravatars if they exist (note: may require additional processing).</Resource> <Resource tag="ALLOW_GUESTS_VIEWPOLL">Allow Guests View Poll Options:</Resource> <Resource tag="ALLOW_GUESTS_VIEWPOLL_HELP">If enabled Guests can see poll choices.</Resource> <Resource tag="ALLOW_HIDE_POLLRESULTS">Allow Users Hide Poll Results:</Resource> <Resource tag="ALLOW_HIDE_POLLRESULTS_HELP">If enabled a poll creator can hide results before voting end or if not all polls in a group are voted.</Resource> <Resource tag="ALLOW_MOD_VIEWIP">Allow Moderators View IPs:</Resource> <Resource tag="ALLOW_MOD_VIEWIP_HELP">Allow to view IPs to moderators.</Resource> <Resource tag="ALLOW_MODIFY_DISPLAYNAME">Allow Display Name Modification:</Resource> <Resource tag="ALLOW_MODIFY_DISPLAYNAME_HELP">If checked, and "Enable Display Name" checked, allow modification of Display Name in Edit Profile.</Resource> <Resource tag="ALLOW_MULTI_VOTING">Allow Multiple Choices Voting:</Resource> <Resource tag="ALLOW_MULTI_VOTING_HELP">If enabled users can create poll questions allowing multiple choices voting.</Resource> <Resource tag="ALLOW_NOTIFICATION_ONALL">Allow Notification of All Posts on All topics:</Resource> <Resource tag="ALLOW_NOTIFICATION_ONALL_HELP">Allow users to get individual email notifications on all emails -- tons of email traffic.</Resource> <Resource tag="ALLOW_PASS_CHANGE">Allow Password Change:</Resource> <Resource tag="ALLOW_PASS_CHANGE_HELP">Allow users to change their passwords.</Resource> <Resource tag="ALLOW_PM_NOTIFICATION">Allow Private Message Notifications:</Resource> <Resource tag="ALLOW_PM_NOTIFICATION_HELP">Allow users email notifications when new private messages arrive.</Resource> <Resource tag="ALLOW_PMS">Allow Private Messages:</Resource> <Resource tag="ALLOW_PMS_HELP">Allow users to access and send private messages. You should explicitly give permission for each group and/or rank too to enable them for users.</Resource> <Resource tag="ALLOW_POSTBLOG">Allow Post to Blog:</Resource> <Resource tag="ALLOW_POSTBLOG_HELP">If checked, post to blog feature is enabled.</Resource> <Resource tag="ALLOW_QUICK_ANSWER">Allow Quick Answer:</Resource> <Resource tag="ALLOW_QUICK_ANSWER_HELP">Enable or disable display of the Quick Reply Box at the bottom of the Posts page</Resource> <Resource tag="ALLOW_SENDMAIL">Allow Email Sending:</Resource> <Resource tag="ALLOW_SENDMAIL_HELP">Allow users to send emails to each other.</Resource> <Resource tag="ALLOW_SHARE_TOPIC">Enable Share Menu:</Resource> <Resource tag="ALLOW_SHARE_TOPIC_HELP">Enables/disables the share Menu, where a user can Email, Tweet, Buzz, Like on Facebook, Digg, Reddit or Tumblr a Topic.</Resource> <Resource tag="ALLOW_SIGNATURE">Allow Signatures:</Resource> <Resource tag="ALLOW_SIGNATURE_HELP">Allow users to create signatures. You should set allowed number of characters and BBCodes for each group and/or rank to really enable the feature.</Resource> <Resource tag="ALLOW_THANKS">Allow Users to Thank Posts:</Resource> <Resource tag="ALLOW_THANKS_HELP">If checked users can thank posts they consider useful.</Resource> <Resource tag="ALLOW_TOPIC_DESCRIPTION">Allow Topic Description:</Resource> <Resource tag="ALLOW_TOPIC_DESCRIPTION_HELP">If checked, users can add a topic description.</Resource> <Resource tag="ALLOW_TOPICS_DUPLICATENAME">Allow Topics With Same Name:</Resource> <Resource tag="ALLOW_TOPICS_DUPLICATENAME_HELP">Duplicate topic names are allowed to:</Resource> <Resource tag="ALLOW_USER_HIDE">Allow User To Hide Himself:</Resource> <Resource tag="ALLOW_USER_HIDE_HELP">If checked, the user who checked it will not be visible in the active users list.</Resource> <Resource tag="ALLOW_USERS_POLLIMAGES">Allow Users Poll Images:</Resource> <Resource tag="ALLOW_USERS_POLLIMAGES_HELP">If enabled Users can add images as poll options.</Resource> <Resource tag="ALLOW_USERTEXTEDITOR">Allow users to pick text editor</Resource> <Resource tag="ALLOW_USERTEXTEDITOR_HELP">Allow users to pick text editor in their profiles.</Resource> <Resource tag="AMOUNT_OF_SUBFORUMS">Sub Forums In Forums List:</Resource> <Resource tag="AMOUNT_OF_SUBFORUMS_HELP">The amount of Sub Forums In Forums List.</Resource> <Resource tag="APP_CORES">Processor Cores:</Resource> <Resource tag="APP_CORES_HELP">Number of Processor cores.</Resource> <Resource tag="APP_MEMORY">Application memory:</Resource> <Resource tag="APP_MEMORY_HELP">Application memory used.</Resource> <Resource tag="APP_OS_NAME">Operating System:</Resource> <Resource tag="APP_OS_NAME_HELP">What version of operating system is running.</Resource> <Resource tag="APP_RUNTIME">.NET Runtime Version:</Resource> <Resource tag="APP_RUNTIME_HELP">What .NET Runtime is running.</Resource> <Resource tag="AVATAR_GALLERY">Allow Avatar Gallery:</Resource> <Resource tag="AVATAR_GALLERY_HELP">Can users select an Avatar from the local Avatar Gallery.</Resource> <Resource tag="AVATAR_HEIGHT">Avatar Height:</Resource> <Resource tag="AVATAR_HEIGHT_HELP">Maximum height for avatars.</Resource> <Resource tag="AVATAR_SIZE">Avatar Size:</Resource> <Resource tag="AVATAR_SIZE_HELP">Maximum size for avatars in bytes.</Resource> <Resource tag="AVATAR_TEMPLATE">Avatar template:</Resource> <Resource tag="AVATAR_TEMPLATE_HELP">Template for rendering avatar.</Resource> <Resource tag="AVATAR_UPLOAD">Allow User Avatar uploading:</Resource> <Resource tag="AVATAR_UPLOAD_HELP">Can users upload avatars to their profile.</Resource> <Resource tag="AVATAR_WIDTH">Avatar Width:</Resource> <Resource tag="AVATAR_WIDTH_HELP">Maximum width for avatars.</Resource> <Resource tag="BOT_CHECK_1">StopForumSpam.com</Resource> <Resource tag="BOT_CHECK_2">BotScout.com (Needs Registration)</Resource> <Resource tag="BOT_CHECK_3">StopForumSpam.com &amp; BotScout.com (Needs Registration)</Resource> <Resource tag="BOT_CHECK_4">StopForumSpam.com or BotScout.com (Needs Registration)</Resource> <Resource tag="BOT_CHECK_ONREGISTER">Handling of Bots during Registration:</Resource> <Resource tag="BOT_CHECK_ONREGISTER_HELP">If enabled it detects Spammers during the Registration, you can set to Block that user or simply log it and send a Message to the Admins.</Resource> <Resource tag="BOT_IPBAN_ONREGISTER">Automatically Ban Ip Address of Detected Bot:</Resource> <Resource tag="BOT_IPBAN_ONREGISTER_HELP">If enabled and a Bot is detected during registration, and if bot handling is set to reject Registration, the IP Address of the Bot is automatically banned.</Resource> <Resource tag="BOT_MESSAGE_0">Do nothing</Resource> <Resource tag="BOT_MESSAGE_1">Approve User &amp; Log User &amp; Send Admin an Email</Resource> <Resource tag="BOT_MESSAGE_2">Block User</Resource> <Resource tag="BOTSCOUT_KEY">BotScout.com API Key:</Resource> <Resource tag="BOTSCOUT_KEY_HELP">To Use the BotScout Bot Service you need an API Key &lt;a href="http://botscout.com/getkey.htm"&gt;Sign Up here&lt;a&gt;.</Resource> <Resource tag="CAPTCHA_FOR_REGISTER">Enable CAPTCHA/reCAPTCHA for Register:</Resource> <Resource tag="CAPTCHA_FOR_REGISTER_HELP">Require users to enter the CAPTCHA when they register for the forum.</Resource> <Resource tag="CAPTCHA_GUEST_POSTING">Enable CAPTCHA for Guest Posting:</Resource> <Resource tag="CAPTCHA_GUEST_POSTING_HELP">Require guest users to enter the CAPTCHA when they post or reply to a forum message (including Quick Reply).</Resource> <Resource tag="CAPTCHA_SIZE">CAPTCHA Size:</Resource> <Resource tag="CAPTCHA_SIZE_HELP">Size (length) of the CAPTCHA random alphanumeric string.</Resource> <Resource tag="CAT_CACHE_TIMEOUT">Board Categories Cache Timeout:</Resource> <Resource tag="CAT_CACHE_TIMEOUT_HELP">In minutes</Resource> <Resource tag="CDN_JQUERY">Use Google Hosted CDN jQuery Script File?</Resource> <Resource tag="CDN_JQUERY_HELP">You can use the Google Hosted Script File, or instead use internal.</Resource> <Resource tag="CDN_SCRIPTMANAGER">Use CDN Hosted Script Manager JS Files?</Resource> <Resource tag="CDN_SCRIPTMANAGER_HELP">You can use the CDN Hosted Script Files, or instead use internal.</Resource> <Resource tag="CHECK_FOR_BOTSPAM">Choose a Service for Automatically User Bot Checking:</Resource> <Resource tag="CHECK_FOR_BOTSPAM_HELP">Enables/disables automatically Bot SPAM Checking via the &lt;a href="http://stopforumspam.com/"&gt;StopForumSpam.com API&lt;/a&gt; , BotScout.com API, or both together.</Resource> <Resource tag="CHECK_FOR_SPAM">Choose a SPAM Service for Automatically SPAM Checking:</Resource> <Resource tag="CHECK_FOR_SPAM_HELP">Enables/disables automatically SPAM Checking via the &lt;a href="http://blogspam.net/"&gt;BlogSpam.net API&lt;/a&gt; or Akismet.com. If enabled SPAM Post gets rejected if detected.</Resource> <Resource tag="CLEAR_CACHE">Clear Cache</Resource> <Resource tag="COLLAPSED">Collapsed</Resource> <Resource tag="COUNTRYIMAGE_TEMPLATE">Country image template:</Resource> <Resource tag="COUNTRYIMAGE_TEMPLATE_HELP">Template for rendering country image.</Resource> <Resource tag="CREATE_NNTPNAMES">Create NNTP user names:</Resource> <Resource tag="CREATE_NNTPNAMES_HELP">Check to allow users to automatically be created when downloading usenet messages. Only enable this in a test environment, and &lt;em&gt;NEVER&lt;/em&gt; in a production environment. The main purpose of this option is for performance testing.</Resource> <Resource tag="CROP_IMAGE_ATTACH">Crop Image Attachment Preview:</Resource> <Resource tag="CROP_IMAGE_ATTACH_HELP">Crop the Preview of the Image and use above Dimensions as Image Size.</Resource> <Resource tag="DAYS_BEFORE_POSTLOCK">Days before posts are locked:</Resource> <Resource tag="DAYS_BEFORE_POSTLOCK_HELP">Number of days until posts are locked and not possible to edit or delete. Set to 0 for no limit.</Resource> <Resource tag="DISABLE_NOFOLLOW_ONOLDERPOSTS">Disable "NoFollow" Tag on Links on Posts Older Than:</Resource> <Resource tag="DISABLE_NOFOLLOW_ONOLDERPOSTS_HELP">If "NoFollow" is enabled above, this is disable no follow for links on messages older then X days old (which takes into consideration last edited).</Resource> <Resource tag="DISABLE_REGISTER">Disable New Registrations:</Resource> <Resource tag="DISABLE_REGISTER_HELP">New users won't be able to register.</Resource> <Resource tag="DISCUSSIONS_CACHE_TIMEOUT">Active Discussions Cache Timeout:</Resource> <Resource tag="DISCUSSIONS_CACHE_TIMEOUT_HELP">In minutes</Resource> <Resource tag="DISPLAY_POINTS">Display Reputation Bar:</Resource> <Resource tag="DISPLAY_POINTS_HELP">If checked, the Reputation of the User will be displayed for each user.</Resource> <Resource tag="DISPLAY_TRESHOLD_IMGATTACH">Image Attachment Display Threshold:</Resource> <Resource tag="DISPLAY_TRESHOLD_IMGATTACH_HELP">Maximum size of picture attachment to display as picture. Pictures over this size will be displayed as links.</Resource> <Resource tag="DISPLAYNAME_MIN_LENGTH">Display Name Min. Length</Resource> <Resource tag="DISPLAYNAME_MIN_LENGTH_HELP">Minium Length for Display Names.</Resource> <Resource tag="DYNAMIC_METATAGS">Add Dynamic Page Meta Tags:</Resource> <Resource tag="DYNAMIC_METATAGS_HELP">If checked, description and keywords meta tags will be created dynamically on the post pages.</Resource> <Resource tag="EMAIL_VERIFICATION">Require Email Verification:</Resource> <Resource tag="EMAIL_VERIFICATION_HELP">If unchecked users will not need to verify their email address.</Resource> <Resource tag="ENABLE_ABLBUMS">Enable Album Feature:</Resource> <Resource tag="ENABLE_ABLBUMS_HELP">If checked, album feature is enabled. You should set allowed number of images and albums for each group and/or rank too, to enable the feature.</Resource> <Resource tag="ENABLE_ACTIVITY">Enable Activity Stream:</Resource> <Resource tag="ENABLE_ACTIVITY_HELP">If checked the user gets Notifications for Mentions, Quotes and Thanks.</Resource> <Resource tag="ENABLE_BUDDYLIST">Enable Friend List:</Resource> <Resource tag="ENABLE_BUDDYLIST_HELP">If checked users can add each other as Friends.</Resource> <Resource tag="ENABLE_CALENDER">Enable calendar:</Resource> <Resource tag="ENABLE_CALENDER_HELP">Enables/disables calendar in profile, if it causes troubles on servers/for users with different cultures.</Resource> <Resource tag="ENABLE_CAPTCHA_FORPOST">Enable CAPTCHA for Post a Message:</Resource> <Resource tag="ENABLE_CAPTCHA_FORPOST_HELP">Require users to enter the CAPTCHA when they post or reply to a forum message (including Quick Reply).</Resource> <Resource tag="ENABLE_DISPLAY_NAME">Enable Display Name:</Resource> <Resource tag="ENABLE_DISPLAY_NAME_HELP">If checked, YAF uses an alternative "Display Name" instead of the UserName.</Resource> <Resource tag="ENABLE_HOVERCARDS">Enable User Info Hover Cards:</Resource> <Resource tag="ENABLE_HOVERCARDS_HELP">If enabled it shows an Hover Card (Which shows some quick info about the user) when you hover an user name. This will also show an Hover Card on the Twitter &amp; Facebook Profile Button.</Resource> <Resource tag="ENABLE_LOCATIONPATH_ERRORS">Enable Active Location Error Log:</Resource> <Resource tag="ENABLE_LOCATIONPATH_ERRORS_HELP">If checked, all active location path errors are logged.</Resource> <Resource tag="ENABLE_RETWEET_MSG">Enable Retweet Message Button:</Resource> <Resource tag="ENABLE_RETWEET_MSG_HELP">Enables/disables the Retweet Button, where the User can retweet a topic message.</Resource> <Resource tag="ENABLE_SSO">Enable Single Sign On:</Resource> <Resource tag="ENABLE_SSO_HELP">If checked, users will be able to Login to an existing account via Facebook and/or Twitter. To Enable it for Facebook you need to setup YAF.FacebookAPIKey and YAF.FacebookSecretKey Values, and for Twitter YAF.TwitterConsumerKey and YAF.TwitterConsumerSecret Values in the app.config (AppSettings).</Resource> <Resource tag="ENABLE_USERREPUTATION">Use Reputation System:</Resource> <Resource tag="ENABLE_USERREPUTATION_HELP">Setting to Enable/Disable the Build-In Reputation System to allow Users Give or Remove Reputation.</Resource> <Resource tag="EVENTLOG_MAX_DAYS">Max number of days for event log</Resource> <Resource tag="EVENTLOG_MAX_DAYS_HELP">Max number of days for event log. Older ones will be deleted</Resource> <Resource tag="EVENTLOG_MAX_MESSAGES">Max event log message</Resource> <Resource tag="EVENTLOG_MAX_MESSAGES_HELP">Max number of event log messages. Outdated will be deleted.</Resource> <Resource tag="EXPANDED">Expanded</Resource> <Resource tag="EXTERN_NEWWINDOW">External Search Results In A New Window:</Resource> <Resource tag="EXTERN_NEWWINDOW_HELP">Show External Search Results In A New Window.</Resource> <Resource tag="EXTERN_SEARCH_PERMISS">External Search Permissions:</Resource> <Resource tag="EXTERN_SEARCH_PERMISS_HELP">Allow external search to:</Resource> <Resource tag="FAVTOPIC_FEEDS_ACCESS">Favorite Topics Feeds Access:</Resource> <Resource tag="FAVTOPIC_FEEDS_ACCESS_HELP">Restrict display of active topics feeds.</Resource> <Resource tag="FILE_TABLE">Use File Table:</Resource> <Resource tag="FILE_TABLE_HELP">Uploaded files will be saved in the database instead of the file system.</Resource> <Resource tag="FLOOT_DELAY">Post Flood Delay:</Resource> <Resource tag="FLOOT_DELAY_HELP">Number of seconds before another post can be entered (Does not apply to admins or mods).</Resource> <Resource tag="FORBIDDEN">Forbidden</Resource> <Resource tag="FORCE_SEARCHINDED">Search Index Task started.</Resource> <Resource tag="FORUM_BASEURLMASK">Forum Base URL Mask:</Resource> <Resource tag="FORUM_BASEURLMASK_HELP">The full forward-facing url to this forum.</Resource> <Resource tag="FORUM_EDITOR">Forum Editor:</Resource> <Resource tag="FORUM_EDITOR_HELP">Select global editor type for your forum. To use the HTML editors (FCK and FreeTextBox) the .bin file must be in the \bin directory and the proper support files must be put in \editors.</Resource> <Resource tag="FORUM_EMAIL">Forum Email:</Resource> <Resource tag="FORUM_EMAIL_HELP">The from address when sending emails to users.</Resource> <Resource tag="FORUM_FEEDS_ACCESS">Forum Feeds Access:</Resource> <Resource tag="FORUM_FEEDS_ACCESS_HELP">Restrict display of forum feeds.</Resource> <Resource tag="GENDER_TEMPLATE">Gender:</Resource> <Resource tag="GENDER_TEMPLATE_HELP">Template for rendering user's gender.</Resource> <Resource tag="GRAVATAR_RATING">Gravatar Rating:</Resource> <Resource tag="GRAVATAR_RATING_HELP">Max. rating of Gravatar if allowed.</Resource> <Resource tag="GROUPS_TEMPLATE">Groups template:</Resource> <Resource tag="GROUPS_TEMPLATE_HELP">Template for rendering user's groups.</Resource> <Resource tag="HEADER_ADVERTS">Advert Settings</Resource> <Resource tag="HEADER_ALBUM">Album Settings</Resource> <Resource tag="HEADER_ATTACHMENTS">Attachments Settings</Resource> <Resource tag="HEADER_AVATARS">Avatar Settings</Resource> <Resource tag="HEADER_BOTSPAM">Bot Spam Settings (User Checking)</Resource> <Resource tag="HEADER_CACHE">Cache Settings</Resource> <Resource tag="HEADER_CAPTCHA">CAPTCHA Settings</Resource> <Resource tag="HEADER_CDN">Scripts CDN Settings</Resource> <Resource tag="HEADER_DISPLAY">Display Settings</Resource> <Resource tag="HEADER_EDITORS">Editing/Formatting Settings</Resource> <Resource tag="HEADER_FEATURES">Feature Settings</Resource> <Resource tag="HEADER_GEOLOCATION">Geolocation Settings</Resource> <Resource tag="HEADER_HOTTOPICS">Hot (Popular) Topic Settings</Resource> <Resource tag="HEADER_HOVERCARD">Hover Cards Settings</Resource> <Resource tag="HEADER_IMAGE_ATTACH">Image Attachment &amp; Resize Settings</Resource> <Resource tag="HEADER_LOG">Log settings</Resource> <Resource tag="HEADER_LOGIN">Login/Registration Settings</Resource> <Resource tag="HEADER_LOGSCOPE">Log scope</Resource> <Resource tag="HEADER_MESSAGE_NOTIFICATION">Message Notification Settings</Resource> <Resource tag="HEADER_PERMISSION">Permission Settings</Resource> <Resource tag="HEADER_PMS">Private Messages</Resource> <Resource tag="HEADER_POLL">Poll Settings</Resource> <Resource tag="HEADER_REPUTATION">Reputation Settings</Resource> <Resource tag="HEADER_SEARCH">Search Settings</Resource> <Resource tag="HEADER_SERVER_INFO">Server Info</Resource> <Resource tag="HEADER_SETUP">Host Setup</Resource> <Resource tag="HEADER_SHOUT">Shoutbox Settings</Resource> <Resource tag="HEADER_SPAM">Spam Settings (Content Checking)</Resource> <Resource tag="HEADER_SYNDICATION">Syndication Feed Settings</Resource> <Resource tag="HEADER_TEMPLATES">Template Settings</Resource> <Resource tag="HOST_ADVERTS">Adverts</Resource> <Resource tag="HOST_AVATARS">Avatars</Resource> <Resource tag="HOST_CACHE">Cache</Resource> <Resource tag="HOST_DISPLAY">Display</Resource> <Resource tag="HOST_EDITORS">Editors</Resource> <Resource tag="HOST_FEATURES">Features</Resource> <Resource tag="HOST_LOG">Logs</Resource> <Resource tag="HOST_PERMISSION">Permission</Resource> <Resource tag="HOST_SEARCH">Search</Resource> <Resource tag="HOST_TEMPLATES">Templates</Resource> <Resource tag="HOVERCARD_DELAY">Hover Card opening Delay (Milliseconds):</Resource> <Resource tag="HOVERCARD_DELAY_HELP">The Delay before opening the Hover Card when a user hovers over a user name.</Resource> <Resource tag="IGNORE_SPAMCHECK_COUNT">User Post Count to be ignored from Spam Check:</Resource> <Resource tag="IGNORE_SPAMCHECK_COUNT_HELP">The amount of posts a user has to have to be ignored by the spam checking.</Resource> <Resource tag="IMAGE_ATTACH_RESIZE">Enable Image Attachment Resize:</Resource> <Resource tag="IMAGE_ATTACH_RESIZE_HELP">Attached images will be resized to thumbnails if they are too large.</Resource> <Resource tag="IMAGE_RESIZE_HEIGHT">Image Resize Max Height:</Resource> <Resource tag="IMAGE_RESIZE_HEIGHT_HELP">Maximum Height of the resized attachment images.</Resource> <Resource tag="IMAGE_RESIZE_WIDTH">Image Resize Max Width:</Resource> <Resource tag="IMAGE_RESIZE_WIDTH_HELP">Maximum Width of the resized attachment images (Be aware that Values above 500 pixel break the Forum Layout).</Resource> <Resource tag="IMAGE_THUMB_HEIGHT">Thumbnail Image Max Height:</Resource> <Resource tag="IMAGE_THUMB_HEIGHT_HELP">Maximum Height of the attachment and album image thumbnail.</Resource> <Resource tag="IMAGE_THUMB_WIDTH">Thumbnail Image Max Width:</Resource> <Resource tag="IMAGE_THUMB_WIDTH_HELP">Maximum Width of the attachment and album image thumbnail.</Resource> <Resource tag="IMAGES_PER_PAGE">Images Per Page:</Resource> <Resource tag="IMAGES_PER_PAGE_HELP">Number of images to show per page.</Resource> <Resource tag="INDEX_SEARCH">Re-Index Search</Resource> <Resource tag="INDEX_SEARCH_HELP">Indexes all Messages in all Forums of the current Board for the Search Engine</Resource> <Resource tag="IP_INFOSERVICE">Enable IP Info Service:</Resource> <Resource tag="IP_INFOSERVICE_DATAMAPPING">IP Info Geolocation Web Service arguments mapping string:</Resource> <Resource tag="IP_INFOSERVICE_DATAMAPPING_HELP">Maps string array or deserialized return data to properties.</Resource> <Resource tag="IP_INFOSERVICE_HELP">If checked, we will get info about a registering user from a web service.</Resource> <Resource tag="IP_INFOSERVICE_XMLURL">IP Info XML Web Service URL:</Resource> <Resource tag="IP_INFOSERVICE_XMLURL_HELP">Set it to get details about user IPs as XML data.</Resource> <Resource tag="IPINFO_ULRL">IP Info Page URL:</Resource> <Resource tag="IPINFO_ULRL_HELP">Set it to get details about IPs whereabouts as web page.</Resource> <Resource tag="JOINDATE_TEMPLATE">Join date template:</Resource> <Resource tag="JOINDATE_TEMPLATE_HELP">Template for rendering user's join date.</Resource> <Resource tag="LASTPOST_COUNT">Active Discussions Count:</Resource> <Resource tag="LASTPOST_COUNT_HELP">Number of records to display in Active Discussions list on forum index.</Resource> <Resource tag="LASTPOSTS_FEEDS_ACCESS">Post Latest Feeds Access:</Resource> <Resource tag="LASTPOSTS_FEEDS_ACCESS_HELP">Restrict display of posts feeds for latest posts.</Resource> <Resource tag="LAZY_CACHE_TIMEOUT">User Lazy Data Cache Timeout:</Resource> <Resource tag="LAZY_CACHE_TIMEOUT_HELP">In minutes</Resource> <Resource tag="LOCATION_TEMPLATE">Location template:</Resource> <Resource tag="LOCATION_TEMPLATE_HELP">Template for rendering user's location.</Resource> <Resource tag="LOG_BANNEDIP">Allow log Banned IP actions:</Resource> <Resource tag="LOG_BANNEDIP_HELP">Log banned IP set and lift.</Resource> <Resource tag="LOG_ERROR">Allow log Application Errors:</Resource> <Resource tag="LOG_ERROR_HELP">Application errors will be logged.</Resource> <Resource tag="LOG_INFORMATION">Allow log Application Info:</Resource> <Resource tag="LOG_INFORMATION_HELP">Application info messages will be logged.</Resource> <Resource tag="LOG_SUSPENDEDANDCONTRA">Allow log when users suspended or unsuspended:</Resource> <Resource tag="LOG_SUSPENDEDANDCONTRA_HELP">Log when users are suspended or unsuspended.</Resource> <Resource tag="LOG_USERDELETED">Allow log user deleting event:</Resource> <Resource tag="LOG_USERDELETED_HELP">User deleting event will be logged.</Resource> <Resource tag="LOG_USERSUSPENDED">Allow log user suspended and unsuspended:</Resource> <Resource tag="LOG_USERSUSPENDED_HELP">Suspended and unsuspended events will be logged.</Resource> <Resource tag="LOG_VIEWSTATEERROR">Log ViewState Exceptions:</Resource> <Resource tag="LOG_VIEWSTATEERROR_HELP">ViewState Exceptions (mainly caused by SPAM Bots) will be logged.</Resource> <Resource tag="LOG_WARNING">Allow log Application Warnings:</Resource> <Resource tag="LOG_WARNING_HELP">Application warnings will be logged.</Resource> <Resource tag="LOGIN_REDIR_URL">Custom Login Redirect Url:</Resource> <Resource tag="LOGIN_REDIR_URL_HELP">If login is disabled in the AppSettings (AllowLoginAndLogoff needs to be set to "false"), this is the URL users will be redirected to when they need to access the forum. Optionally add "{0}" to the URL to pass the return URL to the custom Url. E.g. "http://mydomain.com/login.aspx?PreviousUrl={{0}}"</Resource> <Resource tag="MAX_ALLOWED_CHOICES">Max. Allowed Number of Poll Choices:</Resource> <Resource tag="MAX_ALLOWED_CHOICES_HELP">Number of a question choices, max value no more than 99.</Resource> <Resource tag="MAX_ALLOWED_POLLS">Max. Allowed Number of Polls:</Resource> <Resource tag="MAX_ALLOWED_POLLS_HELP">Number of polls, max value no more than 99.</Resource> <Resource tag="MAX_ATTACHMENTS">Maximum Number of Attachments per Post:</Resource> <Resource tag="MAX_ATTACHMENTS_HELP">Maximum Number of uploaded files per Post. Set to 0 for unlimited.</Resource> <Resource tag="MAX_FILESIZE">Max File Size:</Resource> <Resource tag="MAX_FILESIZE_HELP">Maximum size of uploaded files. Leave empty for no limit.</Resource> <Resource tag="MAX_IMAGE_SIZE">Maximum Image Size:</Resource> <Resource tag="MAX_IMAGE_SIZE_HELP">Maximum size of image in bytes a user can upload.</Resource> <Resource tag="MAX_PM_RECIPIENTS">Max no. of PM Recipients:</Resource> <Resource tag="MAX_PM_RECIPIENTS_HELP">Maximum allowed recipients per on PM sent (0 = unlimited)</Resource> <Resource tag="MAX_POST_CHARS">Max Report Post Chars:</Resource> <Resource tag="MAX_POST_CHARS_HELP">Max Allowed Report Post length.</Resource> <Resource tag="MAX_POST_SIZE">Max Post Size:</Resource> <Resource tag="MAX_POST_SIZE_HELP">Maximum size of a post in bytes. Set to 0 for unlimited (not recommended).</Resource> <Resource tag="MAX_SEARCH_RESULTS">Max Search Results:</Resource> <Resource tag="MAX_SEARCH_RESULTS_HELP">Maximum number of search results that can be returned. Enter "0" for unlimited (not recommended).</Resource> <Resource tag="MAX_WORD_LENGTH">Max Word Length:</Resource> <Resource tag="MAX_WORD_LENGTH_HELP">Use it to limit number of a word characters in topic names and some other places.</Resource> <Resource tag="MEDALS_TEMPLATE">Medals template:</Resource> <Resource tag="MEDALS_TEMPLATE_HELP">Template for rendering user's medals.</Resource> <Resource tag="MEMBERLIST_PAGE_SIZE">Member List Page Size:</Resource> <Resource tag="MEMBERLIST_PAGE_SIZE_HELP">Number entries on a page in the members list. </Resource> <Resource tag="MESSAGE_CHANGE_HISTORY">Message history achive time</Resource> <Resource tag="MESSAGE_CHANGE_HISTORY_HELP">Number of days to keep message change history.</Resource> <Resource tag="MESSAGE_SYSTEM">Notification System for System Messages:</Resource> <Resource tag="MESSAGE_SYSTEM_HELP">You can choose Between Modal Dialog or a Top Notification Bar for System Messages.</Resource> <Resource tag="MOD_CACHE_TIMEOUT">Board Moderators Cache Timeout:</Resource> <Resource tag="MOD_CACHE_TIMEOUT_HELP">In minutes</Resource> <Resource tag="MODAL_DIALOG">Modal Dialog</Resource> <Resource tag="MODAL_LOGIN">Use Login Box (Modal PopUp Dialog):</Resource> <Resource tag="MODAL_LOGIN_HELP">If checked, the Login Control is displayed as Login Box. Otherwise Login Control will be Displayed on a Single Page.</Resource> <Resource tag="MYTOPICSLIST_PAGE_SIZE">My Topics List Page Size:</Resource> <Resource tag="MYTOPICSLIST_PAGE_SIZE_HELP">Number entries on a page on the My Topics page. </Resource> <Resource tag="NAME_LENGTH">User Name Max Length:</Resource> <Resource tag="NAME_LENGTH_HELP">Max Allowed User Name or User Display Name Max Length.</Resource> <Resource tag="NOFOLLOW_LINKTAGS">Use "NoFollow" Tag in Links:</Resource> <Resource tag="NOFOLLOW_LINKTAGS_HELP">If this is checked, all links will have the nofollow tag.</Resource> <Resource tag="NOTIFICATION_BAR">Notification Bar</Resource> <Resource tag="NOTIFICATION_DURATION">Notification Bar Display Duration:</Resource> <Resource tag="NOTIFICATION_DURATION_HELP">Duration (in Seconds) how long the Bar is displayed.</Resource> <Resource tag="NOTIFICATION_MOBILE">Use Native Message Dialogs on Mobile:</Resource> <Resource tag="NOTIFICATION_MOBILE_HELP">Option to Show Native Notifcation Dialogs on Mobile Devices.</Resource> <Resource tag="ONLINE_STATUS_TIMEOUT">Online User Status Cache Timeout:</Resource> <Resource tag="ONLINE_STATUS_TIMEOUT_HELP">You can fine-tune it depending on your site activity (in milliseconds)</Resource> <Resource tag="PM_ATTACHMENTS">Allow attachments in Private Messages</Resource> <Resource tag="PM_ATTACHMENTS_HELP">Allowes the upload and use of attachments in Private messages.</Resource> <Resource tag="POLL_IMAGE_FILESIZE">Poll Image File size:</Resource> <Resource tag="POLL_IMAGE_FILESIZE_HELP">Max. file size for poll images in KB.</Resource> <Resource tag="POLLVOTING_PERIP">Poll Votes Dependent on IP:</Resource> <Resource tag="POLLVOTING_PERIP_HELP">By default, poll voting is tracked via username and client-side cookie. (One vote per username. Cookies are used if guest voting is allowed.) &lt;br /&gt;If this option is enabled, votes also use IP as a reference providing the most security against voter fraud.</Resource> <Resource tag="POPULAR_DAYS">Active Days to stay Hot:</Resource> <Resource tag="POPULAR_DAYS_HELP">Define the Number of days the topics last post must have been posted. By Default it is set to 7 (One Week), that means a topic stays popular for one week.</Resource> <Resource tag="POPULAR_REPLYS">Min. Replies to became Hot:</Resource> <Resource tag="POPULAR_REPLYS_HELP">The number of Replies per topic becomes popular.</Resource> <Resource tag="POPULAR_VIEWS">Min. Views to became Hot:</Resource> <Resource tag="POPULAR_VIEWS_HELP">The number of topic views before a topic becomes popular.</Resource> <Resource tag="POST_AD">2nd post ad:</Resource> <Resource tag="POST_AD_HELP">Place the code that you wish to be displayed in each thread after the 1st post. If you do not want an ad to be displayed, don't put anything in the box.</Resource> <Resource tag="POSTED_IMAGE_RESIZE">Resize User Posted Images:</Resource> <Resource tag="POSTED_IMAGE_RESIZE_HELP">Resize user posted images in messages, if there are bigger then the max values bellow.</Resource> <Resource tag="POSTEDIT_TIMEOUT">Post editing timeout:</Resource> <Resource tag="POSTEDIT_TIMEOUT_HELP">Number of seconds while post may be modified without showing that to other users</Resource> <Resource tag="POSTS_FEEDS_ACCESS">Posts Feeds Access:</Resource> <Resource tag="POSTS_FEEDS_ACCESS_HELP">Restrict display of posts feeds for a topic.</Resource> <Resource tag="POSTS_PER_PAGE">Posts Per Page:</Resource> <Resource tag="POSTS_PER_PAGE_HELP">Number of posts to show per page.</Resource> <Resource tag="POSTS_TEMPLATE">Posts template:</Resource> <Resource tag="POSTS_TEMPLATE_HELP">Template for rendering user's posts.</Resource> <Resource tag="QUICK_SEARCH">Show Quick Search:</Resource> <Resource tag="QUICK_SEARCH_HELP">Show Quick Search field and button in toolbar.</Resource> <Resource tag="RANK_TEMPLATE">Rank template:</Resource> <Resource tag="RANK_TEMPLATE_HELP">Template for rendering user's rank.</Resource> <Resource tag="RANKIMAGE_TEMPLATE">Rank image template:</Resource> <Resource tag="RANKIMAGE_TEMPLATE_HELP">Template for rendering rank image.</Resource> <Resource tag="RECAPTCHA_PRIVATE_KEY">reCAPTCHA Secret Key:</Resource> <Resource tag="RECAPTCHA_PRIVATE_KEY_HELP">Enter a reCAPTCHA Secret Key</Resource> <Resource tag="RECAPTCHA_PUBLIC_KEY">reCAPTCHA Site Key:</Resource> <Resource tag="RECAPTCHA_PUBLIC_KEY_HELP">Enter a reCAPTCHA Site Key.</Resource> <Resource tag="REFERRER_CHECK">Enable Url Referrer Security Check:</Resource> <Resource tag="REFERRER_CHECK_HELP">Validates all POSTs are from the same domain as the referring domain (No cross domain POSTs).</Resource> <Resource tag="REG_USERS">Registered Users</Resource> <Resource tag="REMOTE_AVATARS">Allow remote avatars:</Resource> <Resource tag="REMOTE_AVATARS_HELP">Can users use avatars from other websites.</Resource> <Resource tag="REMOVE_NESTED_QUOTES">Remove Nested Quotes:</Resource> <Resource tag="REMOVE_NESTED_QUOTES_HELP">Automatically remove nested [quote] tags from replies.</Resource> <Resource tag="REPLACE_CACHE_TIMEOUT">Replace Rules Cache Timeout:</Resource> <Resource tag="REPLACE_CACHE_TIMEOUT_HELP"> BB code, bad words, etc. (in minutes)</Resource> <Resource tag="REPORT_POST_PERMISSION">Report Post Permissions:</Resource> <Resource tag="REPORT_POST_PERMISSION_HELP">Allow reporting posts to:</Resource> <Resource tag="REPUTATION_ALLOWNEGATIVE">Allow Negative Reputation:</Resource> <Resource tag="REPUTATION_ALLOWNEGATIVE_HELP">If allowed Users can get Negative Reputation Numbers.</Resource> <Resource tag="REPUTATION_MAX">Maximum Positive Reputation Value:</Resource> <Resource tag="REPUTATION_MAX_HELP">This Value is used to generate the Reputation Bar.</Resource> <Resource tag="REPUTATION_MIN">Maximum Negative Reputation Value:</Resource> <Resource tag="REPUTATION_MIN_HELP">This Value is used to generate the Reputation Bar.</Resource> <Resource tag="REPUTATION_MINDOWN">Min. Value to allow Remove Reputation:</Resource> <Resource tag="REPUTATION_MINDOWN_HELP">Check if the User matches minimal requirements for voting down.</Resource> <Resource tag="REPUTATION_MINUP">Min. Value to allow Add Reputation:</Resource> <Resource tag="REPUTATION_MINUP_HELP">Check if the User matches minimal requirements for voting up.</Resource> <Resource tag="REPUTATION_TEMPLATE">Reputation template:</Resource> <Resource tag="REPUTATION_TEMPLATE_HELP">Template for rendering user's reputation.</Resource> <Resource tag="REQUIRE_LOGIN">Require User Login:</Resource> <Resource tag="REQUIRE_LOGIN_HELP">If checked, users will be required to log in before they can see any content. They'll be redirected straight to login page.</Resource> <Resource tag="RULES_ONREGISTER">Show "Rules" Before Registration:</Resource> <Resource tag="RULES_ONREGISTER_HELP">Require that "rules" are shown and accepted before a new user can register.</Resource> <Resource tag="SAVE_SETTINGS">Save Settings</Resource> <Resource tag="SEARCH_ENGINE1">Search Engine 1:</Resource> <Resource tag="SEARCH_ENGINE1_HELP">Enter here a search engine pattern.</Resource> <Resource tag="SEARCH_ENGINE1_PARAM">Parameters For Search Engine 1:</Resource> <Resource tag="SEARCH_ENGINE1_PARAM_HELP">Enter here a search engine parameters.</Resource> <Resource tag="SEARCH_ENGINE2">Search Engine 2:</Resource> <Resource tag="SEARCH_ENGINE2_HELP">Enter here a search engine pattern.</Resource> <Resource tag="SEARCH_ENGINE2_PARAM">Parameters For Search Engine 2:</Resource> <Resource tag="SEARCH_ENGINE2_PARAM_HELP">Enter here a search engine parameters.</Resource> <Resource tag="SEARCH_MAXLENGTH">Search Text Maximum Length:</Resource> <Resource tag="SEARCH_MAXLENGTH_HELP">Maximum length of the search string allowed.</Resource> <Resource tag="SEARCH_MINLENGTH">Search Text Minimal Length:</Resource> <Resource tag="SEARCH_MINLENGTH_HELP">Minimal length of the search string allowed.</Resource> <Resource tag="SEARCH_PATTERN">Search Text Pattern:</Resource> <Resource tag="SEARCH_PATTERN_HELP">Allowed search text (Regular Expression) pattern.</Resource> <Resource tag="SEARCH_PERMISS">Search Permissions:</Resource> <Resource tag="SEARCH_PERMISS_HELP">Allow search to:</Resource> <Resource tag="SEO_CACHE_TIMEOUT">First Post "Title" Cache Timeout:</Resource> <Resource tag="SEO_CACHE_TIMEOUT_HELP">First Post "Title" for SEO Cache Timeout (in minutes)</Resource> <Resource tag="SERVER_VERSION">SQL Server Version:</Resource> <Resource tag="SERVER_VERSION_HELP">What version of SQL Server is running.</Resource> <Resource tag="SERVERTIME_CORRECT">Server Time Zone Correction:</Resource> <Resource tag="SERVERTIME_CORRECT_HELP">Enter a positive or a negative value in minutes between -720 and 720, if the server UTC time value is incorrect: </Resource> <Resource tag="SHOUTBOX_COUNT">Shoutbox Message Count:</Resource> <Resource tag="SHOUTBOX_COUNT_HELP">The Number of Messages that will be shown in the shoutbox.</Resource> <Resource tag="SHOUTBOX_DEFAULTSTATE">Shout Box Default State:</Resource> <Resource tag="SHOUTBOX_DEFAULTSTATE_HELP">The Default State for the Shout Box if it should be collapsed or expanded (Note: the State is saved as cookie, if you change the value you need to delete the cookie to see the changes).</Resource> <Resource tag="SHOW_ACTIVE_DISCUSSION">Show Active Discussions:</Resource> <Resource tag="SHOW_ACTIVE_DISCUSSION_HELP">Enable or disable display of active discussions list on board index page.</Resource> <Resource tag="SHOW_ATOM_LINKS">Show Atom Links:</Resource> <Resource tag="SHOW_ATOM_LINKS_HELP">Enable or disable display of Atom links throughout the forum.</Resource> <Resource tag="SHOW_AVATARS_TOPICLISTS">Show Avatars in Topic Listing:</Resource> <Resource tag="SHOW_AVATARS_TOPICLISTS_HELP">If this is checked, the topic pages will show avatar graphics.</Resource> <Resource tag="SHOW_BOTS_INACTIVE">Show Crawlers In Active Lists:</Resource> <Resource tag="SHOW_BOTS_INACTIVE_HELP">If checked, Crawlers will be displayed In Active Lists.</Resource> <Resource tag="SHOW_CONNECT_MESSAGE">Show Connect Message after first Message:</Resource> <Resource tag="SHOW_CONNECT_MESSAGE_HELP">Whether or not to show a Connect Message after the first Message in a topic for Guests, containing login and registration links.</Resource> <Resource tag="SHOW_COOKIECONSET">Show Cookie Consent Popup message</Resource> <Resource tag="SHOW_COOKIECONSET_HELP">When enabled show the Cookie Accept Popup message.</Resource> <Resource tag="SHOW_DEL_MESSAGES">Show Deleted Messages:</Resource> <Resource tag="SHOW_DEL_MESSAGES_HELP">If this is checked, messages that are deleted will leave with some notes</Resource> <Resource tag="SHOW_DEL_MESSAGES_TOALL">Show Deleted Messages to All:</Resource> <Resource tag="SHOW_DEL_MESSAGES_TOALL_HELP">If Show Deleted Messages is checked above, checking this will force showing the delete message stub to all users.&lt;br /&gt; If it remains unchecked, the deleted message stub will only show to administrators, moderators, and the owner of the deleted message.</Resource> <Resource tag="SHOW_EDIT_MESSAGE">Show Edit Message:</Resource> <Resource tag="SHOW_EDIT_MESSAGE_HELP">If enabled it shows a Note in the footer of the Message if the Message was edited (incl. the Reason and Time)</Resource> <Resource tag="SHOW_FORUM_JUMP">Show Forum Jump Box:</Resource> <Resource tag="SHOW_FORUM_JUMP_HELP">Enable or disable display of the Forum Jump Box throughout the forum.</Resource> <Resource tag="SHOW_FORUM_STATS">Show Forum Statistics:</Resource> <Resource tag="SHOW_FORUM_STATS_HELP">Enable or disable display of forum statistics on board index page.</Resource> <Resource tag="SHOW_GROUPS">Show Groups:</Resource> <Resource tag="SHOW_GROUPS_HELP">Should the groups a user is part of be visible on the posts page.</Resource> <Resource tag="SHOW_GROUPS_INPROFILE">Show Groups in profile:</Resource> <Resource tag="SHOW_GROUPS_INPROFILE_HELP">Should the groups a user is part of be visible on the users profile page.</Resource> <Resource tag="SHOW_GUESTS_INACTIVE">Show Guests In Detailed Active List:</Resource> <Resource tag="SHOW_GUESTS_INACTIVE_HELP">If checked, Guests will be displayed In Detailed Active List.</Resource> <Resource tag="SHOW_JOINDATE">Show Join Date:</Resource> <Resource tag="SHOW_JOINDATE_HELP">If checked, join date will be displayed for each user.</Resource> <Resource tag="SHOW_LINKS_NEWWINDOW">Show Links in New Window:</Resource> <Resource tag="SHOW_LINKS_NEWWINDOW_HELP">If this is checked, links in messages will open in a new window.</Resource> <Resource tag="SHOW_MEDALS">Show Medals:</Resource> <Resource tag="SHOW_MEDALS_HELP">Should medals of a user be visible on the posts page.</Resource> <Resource tag="SHOW_MODLIST">Show Moderator List:</Resource> <Resource tag="SHOW_MODLIST_ASCOLUMN">Show Moderator List in column:</Resource> <Resource tag="SHOW_MODLIST_ASCOLUMN_HELP">Shows moderator list as a separate column in a category list.</Resource> <Resource tag="SHOW_MODLIST_HELP">If this is checked, the moderator list column is displayed in the forum list.</Resource> <Resource tag="SHOW_MOVED_TOPICS">Show Moved Topics:</Resource> <Resource tag="SHOW_MOVED_TOPICS_HELP">If this is checked, topics that are moved will leave behind a pointer to the new topic.</Resource> <Resource tag="SHOW_NOCOUNT_POSTS">Show 'no-count' Forum Posts in Active Discussions:</Resource> <Resource tag="SHOW_NOCOUNT_POSTS_HELP">If this is checked, posts from 'no-count' forums will be displayed in Active Discussions.</Resource> <Resource tag="SHOW_RECENT_USERS">Show Recent Users in Forum Info:</Resource> <Resource tag="SHOW_RECENT_USERS_HELP">Enable to Show Recent Users within the last 24 hours in the forum info on board index page.</Resource> <Resource tag="SHOW_RELATIVE_TIME">Show Relative Time:</Resource> <Resource tag="SHOW_RELATIVE_TIME_HELP">If checked, client-side "Time Ago" library will be used to show "relative times" to users instead of UTC and or imperfect server-side times.</Resource> <Resource tag="SHOW_RENDERTIME">Show Page Generated Time:</Resource> <Resource tag="SHOW_RENDERTIME_HELP">Enable or disable display of page generation text at the bottom of the page.</Resource> <Resource tag="SHOW_RSS_LINKS">Show RSS Links:</Resource> <Resource tag="SHOW_RSS_LINKS_HELP">Enable or disable display of RSS links throughout the forum.</Resource> <Resource tag="SHOW_SCROLL">Show Scroll Back to Top Button</Resource> <Resource tag="SHOW_SHOUTBOX">Show Shoutbox:</Resource> <Resource tag="SHOW_SHOUTBOX_HELP">Enable or disable display of the Shoutbox (Chat Module) in the forum page.</Resource> <Resource tag="SHOW_SIMILARTOPICS">Show Similar Topics:</Resource> <Resource tag="SHOW_SIMILARTOPICS_HELP">Should similar topics to be displayed at the bottom of a topic.</Resource> <Resource tag="SHOW_THANK_DATE">Show The Date on Which Users Have Thanked Posts:</Resource> <Resource tag="SHOW_THANK_DATE_HELP">If checked users can see on which date posts have been thanked. (Thanks Mod must be enabled first.)</Resource> <Resource tag="SHOW_TODAYS_BIRTHDAYS">Show Todays Birthdays in Forum Info:</Resource> <Resource tag="SHOW_TODAYS_BIRTHDAYS_HELP">Enable to Show What members have a Birthday today.</Resource> <Resource tag="SHOW_UNREAD_LINKS">Show Unread Links:</Resource> <Resource tag="SHOW_UNREAD_LINKS_HELP">Unread Links will be displayed.</Resource> <Resource tag="SHOW_USER_STATUS">Show User Online/Offline Status:</Resource> <Resource tag="SHOW_USER_STATUS_HELP">If checked, current user status is displayed in the forum. Hidden users are always displayed as offline.</Resource> <Resource tag="SHOW_USERSBROWSING">Show Users Browsing:</Resource> <Resource tag="SHOW_USERSBROWSING_HELP">Should users currently browsing forums/topics be displayed at the bottom.</Resource> <Resource tag="SHOW_YAFVERSION">Show YetAnotherForum Version:</Resource> <Resource tag="SHOW_YAFVERSION_HELP">Enable or disable display of the version/date information the bottom of the page (disable if your concerned about security).</Resource> <Resource tag="SHOWAD_LOGINUSERS">Show Ad to "Signed In" Users:</Resource> <Resource tag="SHOWAD_LOGINUSERS_HELP">If checked, signed in users will see ads.</Resource> <Resource tag="SHOWHELP">Show Help:</Resource> <Resource tag="SHOWHELP_HELP">Enable or disable display the Help Link in the Header that Shows the Help Files Pages</Resource> <Resource tag="SHOWTEAM">Show Team Page:</Resource> <Resource tag="SHOWTEAM_HELP">Enable or disable display the Team Link in the Header that Shows the Team Page</Resource> <Resource tag="SPAM_MESSAGE_0">Do nothing</Resource> <Resource tag="SPAM_MESSAGE_1">Flag Message as Unapproved</Resource> <Resource tag="SPAM_MESSAGE_2">Reject Message</Resource> <Resource tag="SPAM_MESSAGE_3">Delete &amp; Ban user</Resource> <Resource tag="SPAM_MESSAGE_HANDLING">Handling of as SPAM Detected Messages</Resource> <Resource tag="SPAM_MESSAGE_HANDLING_HELP">Choose what to do when a Message was detected a SPAM, You can choose between Do Nothing, Flag Message as Unapproved, or reject the Message.</Resource> <Resource tag="SPAM_SERVICE_TYP_1">BlogSpam.NET API</Resource> <Resource tag="SPAM_SERVICE_TYP_2">Akismet API (Needs Registration)</Resource> <Resource tag="SPAM_SERVICE_TYP_3">Internal Spam Check Words</Resource> <Resource tag="SPAMCHECK_ALLOWED_URLS">Allowed Number of URLs before flagged as SPAM:</Resource> <Resource tag="SPAMCHECK_ALLOWED_URLS_HELP">If the user posts in one Message more then the allowed URLs the message is flagged as spam. This Check also depends how many user the posts have.</Resource> <Resource tag="SQL_FULLTEXT">Use SQL Full Text Search:</Resource> <Resource tag="SQL_FULLTEXT_HELP">Toggle use of FULLTEXT SQL Server support on searches.</Resource> <Resource tag="SSL_LOGIN">Use SSL while logging in:</Resource> <Resource tag="SSL_LOGIN_HELP">Enforce a secure connection for users to log in.</Resource> <Resource tag="SSL_REGISTER">Use SSL while registering:</Resource> <Resource tag="SSL_REGISTER_HELP">Enforce a secure connection for users to register.</Resource> <Resource tag="STATS_CACHE_TIMEOUT">Forum Statistics Cache Timeout:</Resource> <Resource tag="STATS_CACHE_TIMEOUT_HELP">In minutes</Resource> <Resource tag="STOPFORUMSPAM_KEY">StopForumSpam.com API Key:</Resource> <Resource tag="STOPFORUMSPAM_KEY_HELP">In order to Report a User as Bot you need an StopForumSpam.com API Key &lt;a href="http://www.stopforumspam.com/signup"&gt;Sign Up here&lt;a&gt;.</Resource> <Resource tag="STYLED_NICKS">Use styled nicks:</Resource> <Resource tag="STYLED_NICKS_HELP">If checked, you can use colors, font size change etc. for active users nicks.</Resource> <Resource tag="STYLED_TOPIC_TITLES">Use styled Topic Titles:</Resource> <Resource tag="STYLED_TOPIC_TITLES_HELP">If checked, Mods and Admins can use colors, font size change etc. for topic titles.</Resource> <Resource tag="THANKS_FROM_TEMPLATE">Thanks From template:</Resource> <Resource tag="THANKS_FROM_TEMPLATE_HELP">Template for rendering user's thanks from.</Resource> <Resource tag="THANKS_TO_TEMPLATE">Thanks To template:</Resource> <Resource tag="THANKS_TO_TEMPLATE_HELP">Template for rendering user's thanks to.</Resource> <Resource tag="TITLE">Host Settings</Resource> <Resource tag="TOPIC_FEEDS_ACCESS">Topics Feeds Access:</Resource> <Resource tag="TOPIC_FEEDS_ACCESS_HELP">Restrict display of topics feeds.</Resource> <Resource tag="TOPICFEED_COUNT">Max. Topics on the Forum Feed:</Resource> <Resource tag="TOPICFEED_COUNT_HELP">The maximum Amount of Topics to show on the Atom/Rss Feed.</Resource> <Resource tag="TOPICS_PER_PAGE">Topics Per Page:</Resource> <Resource tag="TOPICS_PER_PAGE_HELP">Number of topics to show per page.</Resource> <Resource tag="TWITTER_USERNAME">Twitter Username for Retweets:</Resource> <Resource tag="TWITTER_USERNAME_HELP">Twitter Username that is mentioned when Retweeting a Topic or Message.</Resource> <Resource tag="UNHANDLED_USERAGENT_LOG">Enable Unhandled UserAgent Log:</Resource> <Resource tag="UNHANDLED_USERAGENT_LOG_HELP">If checked, all unhandled UserAgent strings are logged.</Resource> <Resource tag="USE_FARSI_CALENDER">Use Farsi (Shamsi) Persian Calender:</Resource> <Resource tag="USE_FARSI_CALENDER_HELP">If enabled the Persian Calender all Date Times are Converted to the Persian Calender.</Resource> <Resource tag="USE_READ_TRACKING">Use User Read Tracking via Database:</Resource> <Resource tag="USE_READ_TRACKING_HELP">If enabled it stores the Last Time a User Visits a Forum and Topic, to find Unread Messages. &lt;br /&gt;WARNING: This Can Increase your DB if you have a big amount of users and/or topics</Resource> <Resource tag="USER_CHANGE_LANGUAGE">Allow User Change Language:</Resource> <Resource tag="USER_CHANGE_LANGUAGE_HELP">Should users be able to choose what language they want to use?</Resource> <Resource tag="USER_CHANGE_THEME">Allow User Change Theme:</Resource> <Resource tag="USER_CHANGE_THEME_HELP">Should users be able to choose what theme they want to use?</Resource> <Resource tag="USERBOX_TEMPLATE">User box template:</Resource> <Resource tag="USERBOX_TEMPLATE_HELP">Template for rendering user box by user's posts.</Resource> <Resource tag="USRSTATS_CACHE_TIMEOUT">Board User Statistics Cache Timeout:</Resource> <Resource tag="USRSTATS_CACHE_TIMEOUT_HELP">In minutes</Resource> <Resource tag="VIEWACTIVE_PERMISSION">Active Users Viewing Permissions:</Resource> <Resource tag="VIEWACTIVE_PERMISSION_HELP">Allow viewing of active users list to:</Resource> <Resource tag="VIEWMEMBERLIST_PERMISSION">Members List Viewing Permissions:</Resource> <Resource tag="VIEWMEMBERLIST_PERMISSION_HELP">Allow viewing of members list to:</Resource> <Resource tag="VIEWPROFILE_PERMISSION">Profile Viewing Permissions:</Resource> <Resource tag="VIEWPROFILE_PERMISSION_HELP">Allow viewing of other users' profiles to:</Resource> <Resource tag="VIEWSHOUTBOX_PERMISSION">Shout Box View Permission:</Resource> <Resource tag="VIEWSHOUTBOX_PERMISSION_HELP">View Permission for the Shout Box to allow for all Users (Including Guests) or only registered users.</Resource> <Resource tag="WELCOME_NOTIFICATION">Send User Welcome Notification:</Resource> <Resource tag="WELCOME_NOTIFICATION_0">Send No Message</Resource> <Resource tag="WELCOME_NOTIFICATION_1">Send as e-mail</Resource> <Resource tag="WELCOME_NOTIFICATION_2">Send as private message</Resource> <Resource tag="WELCOME_NOTIFICATION_HELP">If enabled you it sends a user a Welcome Mail/Private Message after successfully registration.</Resource> <Resource tag="WSERVICE_TOKEN">Web Service Token:</Resource> <Resource tag="WSERVICE_TOKEN_HELP">Token used to make secure web service calls. Constantly changing until you save your host settings.</Resource> </page> <page name="ADMIN_LANGUAGES"> <Resource tag="CULTURE_TAG">Culture Tag</Resource> <Resource tag="LANG_NAME">Language English Name</Resource> <Resource tag="NATIVE_NAME">Language Native Name</Resource> <Resource tag="TITLE">Languages</Resource> </page> <page name="ADMIN_MAIL"> <Resource tag="ALL_USERS">All Users</Resource> <Resource tag="CONFIRM_SEND">Are you sure you want to send this mail?</Resource> <Resource tag="FROM_MAIL">From Mail Address:</Resource> <Resource tag="FROM_MAIL_HELP">Enter the From Mail Address</Resource> <Resource tag="HEADER">Compose Email</Resource> <Resource tag="MAIL_MESSAGE">Message:</Resource> <Resource tag="MAIL_SUBJECT">Subject:</Resource> <Resource tag="MAIL_TO">To:</Resource> <Resource tag="MSG_QUEUED">Mails queued.</Resource> <Resource tag="MSG_SUBJECT">Subject is Required</Resource> <Resource tag="SEND_MAIL">Send Mail</Resource> <Resource tag="TEST_BODY">The email sending appears to be working from your YAF installation.</Resource> <Resource tag="TEST_SUBJECT">Test Email From Yet Another Forum.NET</Resource> <Resource tag="TEST_SUCCESS">Mail Sent. Verify it's received at your entered email address.</Resource> <Resource tag="TITLE">Mail</Resource> <Resource tag="TO_MAIL">To Mail Address:</Resource> <Resource tag="TO_MAIL_HELP">Enter the Email Address where the test email should be send</Resource> </page> <page name="ADMIN_MEDALS"> <Resource tag="CONFIRM_DELETE">Delete this Medal?</Resource> <Resource tag="DISPLAY_BOX">Medal image as it'll be displayed in user box.</Resource> <Resource tag="DISPLAY_RIBBON">Ribbon bar image as it'll be displayed in user box.</Resource> <Resource tag="MOVE_DOWN">Move Down</Resource> <Resource tag="MOVE_UP">Move Up</Resource> <Resource tag="NEW_MEDAL">New Medal</Resource> <Resource tag="TITLE">Medals</Resource> </page> <page name="ADMIN_NNTPFORUMS"> <Resource tag="ACTIVE">Active</Resource> <Resource tag="DELETE">Delete</Resource> <Resource tag="DELETE_FORUM">Delete this forum?</Resource> <Resource tag="EDIT">Edit</Resource> <Resource tag="FORUM">Forum</Resource> <Resource tag="GROUP">Group</Resource> <Resource tag="NEW_FORUM">New Forum</Resource> <Resource tag="SAVE">Save Forum</Resource> <Resource tag="SERVER">Server</Resource> <Resource tag="TITLE">NNTP Forums</Resource> </page> <page name="ADMIN_NNTPRETRIEVE"> <Resource tag="BETA_WARNING">&lt;p style="color: red"&gt; The NNTP feature of Yet Another Forum.net is still beta, and &lt;strong&gt;will&lt;/strong&gt; have bugs. Bugs you should look for is character set conversion, and incorrect time on posts. Usenet articles will be posted to the forum with the date from the article header, meaning that you well could get future dates. Please let me know of any unknown time zones that are encountered. &lt;/p&gt; &lt;p style="color: red"&gt; The forums usenet Articles are posted to should be read-only, as messages will &lt;strong&gt;not&lt;/strong&gt; be posted back to the usenet. For speed purposes usenet articles are automatically approved, meaning that if the forum is moderated, the posts will be automatically approved. &lt;/p&gt; &lt;p style="color: red"&gt; To protect usenet servers, a newsgroup can only be updated once every 10 minutes. &lt;/p&gt;</Resource> <Resource tag="GROUPS">Groups ready for retrieval</Resource> <Resource tag="HEADER">Retrieve NNTP Articles</Resource> <Resource tag="LAST_MESSAGE">Last Message</Resource> <Resource tag="LAST_UPDATE">Last Update</Resource> <Resource tag="RETRIEVE">Retrieve</Resource> <Resource tag="Retrieved">Retrieved {0} articles. {1:N2} articles per second.</Resource> <Resource tag="SECONDS">seconds</Resource> <Resource tag="TIME">Specify how much time article retrieval should use.</Resource> <Resource tag="TITLE">NNTP Retrieve</Resource> </page> <page name="ADMIN_NNTPSERVERS"> <Resource tag="ADRESS">Adress</Resource> <Resource tag="DELETE_SERVER">Delete this server?</Resource> <Resource tag="NAME">Name</Resource> <Resource tag="NEW_SERVER">New Server</Resource> <Resource tag="SAVE_SERVER">Save Server</Resource> <Resource tag="TITLE">NNTP Servers</Resource> <Resource tag="USERNAME">User Name</Resource> </page> <page name="ADMIN_PAGEACCESSEDIT"> <Resource tag="CANACCESS">Allowed</Resource> <Resource tag="CANCEL">Cancel</Resource> <Resource tag="GRANTALL">Grant All</Resource> <Resource tag="HEADER">Page Access For</Resource> <Resource tag="PAGE">Real Page</Resource> <Resource tag="REVOKEALL">Revoke All</Resource> <Resource tag="SAVE">Save</Resource> <Resource tag="TITLE">Admin Page View Access</Resource> <Resource tag="USERNAME">User</Resource> </page> <page name="ADMIN_PAGEACCESSLIST"> <Resource tag="BOARDNAME">Board Name</Resource> <Resource tag="EDIT">Edit</Resource> <Resource tag="HEADER">Admin User</Resource> <Resource tag="TITLE">Admin Users Page Access List</Resource> </page> <page name="ADMIN_PM"> <Resource tag="CONFIRM_DELETE">Do you really want to delete private messages? This process is irreversible.</Resource> <Resource tag="DAYS">days</Resource> <Resource tag="DELETE_READ">Delete read messages older than:</Resource> <Resource tag="DELETE_UNREAD">Delete unread messages older than:</Resource> <Resource tag="HEADER">Private messages</Resource> <Resource tag="PM_NUMBER">Number of private messages:</Resource> <Resource tag="TITLE">PM Maintenance</Resource> </page> <page name="ADMIN_PRUNE"> <Resource tag="ALL_FORUMS">All Forums</Resource> <Resource tag="CONFIRM_PRUNE">Do you really want to prune topics? This process is irreversible.</Resource> <Resource tag="MSG_TASK">Prune Task Scheduled</Resource> <Resource tag="PRUNE_DAYS">Enter minimum age in days:</Resource> <Resource tag="PRUNE_DAYS_HELP">Topics with the last post older than this will be deleted.</Resource> <Resource tag="PRUNE_FORUM">Forum:</Resource> <Resource tag="PRUNE_FORUM_HELP">Select a forum.</Resource> <Resource tag="PRUNE_INFO">NOTE: Prune Task is currently RUNNING. Cannot start a new prune task until it's finished.</Resource> <Resource tag="PRUNE_PERMANENT">Permanently remove from DB:</Resource> <Resource tag="PRUNE_PERMANENT_HELP">All Topics marked with the Deleted flag will be permanently deleted.</Resource> <Resource tag="PRUNE_START">Start Prune Task</Resource> <Resource tag="TITLE">Prune Topics</Resource> </page> <page name="ADMIN_RANKS"> <Resource tag="COMMAND">Command</Resource> <Resource tag="CONFIRM_DELETE">Delete this rank?</Resource> <Resource tag="IS_LADDER">Is Ladder</Resource> <Resource tag="IS_START">Is Start</Resource> <Resource tag="NAME">Name</Resource> <Resource tag="NEW_RANK">New Rank</Resource> <Resource tag="PM_LIMIT">PM limit</Resource> <Resource tag="POSTS">posts</Resource> <Resource tag="TITLE">Ranks</Resource> </page> <page name="ADMIN_REGUSER"> <Resource tag="HEADER">Create New User</Resource> <Resource tag="HEADER2">Registration Details</Resource> <Resource tag="HEADER3">Profile Information</Resource> <Resource tag="HEADER4">Forum Preferences</Resource> <Resource tag="MSG_CREATED">User {0} Created Successfully.</Resource> <Resource tag="MSG_ERROR_CREATE">Membership Error Creating User: {0}</Resource> <Resource tag="MSG_INVALID_MAIL">You have entered an illegal e-mail address.</Resource> <Resource tag="MSG_NAME_EXISTS">Username or email are already registered.</Resource> <Resource tag="REGISTER">Register User</Resource> <Resource tag="TITLE">New User</Resource> </page> <page name="ADMIN_REINDEX"> <Resource tag="CONFIRM_RECOVERY">Are you sure you want to change your database recovery mode?\nThe operation may make the DB inaccessible and may take a little while.\nDO THIS ONLY IF YOU KNOW WHAT YOU ARE DOING!</Resource> <Resource tag="CONFIRM_REINDEX">Are you sure you want to reindex all YAF tables?&lt;br /&gt;The operation may make the DB inaccessible and may take a little while.</Resource> <Resource tag="CONFIRM_SHRINK">Are you sure you want to Shrink database?&lt;br /&gt;The operation may make the DB inaccessible and may take a little while.</Resource> <Resource tag="HEADER">YAF DB Operation Report:</Resource> <Resource tag="INDEX_SHRINK">Shrink operation was Successful.Your database size is now: {0}MB</Resource> <Resource tag="INDEX_STATS">Database recovery mode was successfully set to {0}</Resource> <Resource tag="INDEX_STATS_FAIL">Something went wrong with this operation. The reported error is: {0}</Resource> <Resource tag="RECOVERY1">Full (Full Recovery allows the database to be recovered to the point of failure.)</Resource> <Resource tag="RECOVERY2">Simple (Simple Recovery allows the database to be recovered to the most recent backup.You need to backup your DB regularly.)</Resource> <Resource tag="RECOVERY3">Bulk-Logged (Bulk-Logged Recovery allows bulk-logged operations.)</Resource> <Resource tag="REINDEX">With any data modification operations, table fragmentation can occur. This command can be used to rebuild all the indexes on all the tables in database to boost performance.</Resource> <Resource tag="REINDEX_MSG">Please do not navigate away from this page...</Resource> <Resource tag="REINDEX_TITLE">Updating Tables</Resource> <Resource tag="REINDEXTBL_BTN">Reindex tables</Resource> <Resource tag="SETRECOVERY_BTN">Set recovery mode</Resource> <Resource tag="SHOW_STATS">Show statistical information about YAF table indexes.</Resource> <Resource tag="SHRINK">You can use the Shrink method to reduce the size of the files that make up the database manually. The data is stored more densely and unused pages are removed</Resource> <Resource tag="SHRINK_BTN">Shrink database</Resource> <Resource tag="TBLINDEXSTATS_BTN">Table index statistics</Resource> <Resource tag="TITLE">Reindex DB</Resource> </page> <page name="ADMIN_REPLACEWORDS"> <Resource tag="ADD">Add</Resource> <Resource tag="BAD">"Bad" (Find) Expression</Resource> <Resource tag="EXPORT">Export to XML</Resource> <Resource tag="GOOD">"Good" (Replace) Expression</Resource> <Resource tag="IMPORT">Import from XML</Resource> <Resource tag="MSG_DELETE">Delete this Word Replacement?</Resource> <Resource tag="TITLE">Replace Words</Resource> </page> <page name="ADMIN_REPLACEWORDS_EDIT"> <Resource tag="BAD">"Bad" Expression:</Resource> <Resource tag="BAD_HELP">Regular expression statement. Escape punctation with a preceding slash (e.g. '\.').</Resource> <Resource tag="GOOD">"Good" Expression:</Resource> <Resource tag="GOOD_HELP">Regular expression statement. Escape punctation with a preceding slash (e.g. '\.').</Resource> <Resource tag="MSG_REGEX_BAD">The Regular expression statement you have entered is invalid.</Resource> <Resource tag="TITLE">Add/Edit Word Replace</Resource> <Resource tag="TITLE_EDIT">Edit Word Replace</Resource> </page> <page name="ADMIN_REPLACEWORDS_IMPORT"> <Resource tag="HEADER">Import Replace Word List</Resource> <Resource tag="MSG_IMPORTED">{0} new replacement word(s) were imported successfully.</Resource> <Resource tag="MSG_IMPORTED_FAILED">Failed to import: Import file format is different than expected.</Resource> <Resource tag="MSG_IMPORTED_FAILEDX">Failed to import: {0}</Resource> <Resource tag="MSG_NOTHING">Nothing imported: no new replacement words were found in the upload.</Resource> <Resource tag="SELECT_IMPORT">Select Import File:</Resource> <Resource tag="SELECT_IMPORT_HELP">(Must be *.xml file)</Resource> <Resource tag="TITLE">Import Replace Words</Resource> </page> <page name="ADMIN_RESTARTAPP"> <Resource tag="INFO">Restarting the application will reload all .config files.</Resource> <Resource tag="MSG_TRUST">Must have High/Unrestricted Trust to Unload Application. Restart Failed.</Resource> <Resource tag="TITLE">Restart Application</Resource> </page> <page name="ADMIN_RUNSQL"> <Resource tag="HEADER">Run SQL Query</Resource> <Resource tag="RUN_QUERY">Run Query</Resource> <Resource tag="RUN_TRANSCATION">Run In Transaction</Resource> <Resource tag="SQL_COMMAND">SQL Command:</Resource> <Resource tag="TITLE">Run SQL Code</Resource> </page> <page name="ADMIN_SPAMLOG"> <Resource tag="TITLE">Spam Event Log</Resource> </page> <page name="ADMIN_SPAMWORDS"> <Resource tag="ADD">Add</Resource> <Resource tag="EXPORT">Export to XML</Resource> <Resource tag="IMPORT">Import from XML</Resource> <Resource tag="MSG_DELETE">Delete this Word?</Resource> <Resource tag="NOTE">&lt;strong&gt;Note: &lt;/strong&gt; The Spam Words are used for the internal SPAM Detection, during Registration the Homepage the user is entering in the user profile is checked against the Spam Words. Also if a user Posts a new Message in the forum it will be checked against the Spam Words if 'Choose a SPAM Service for Automatically SPAM Checking' in the Host Settings is set to 'Internal Spam Check Words'.</Resource> <Resource tag="SAVE">Save Word</Resource> <Resource tag="SPAM">"Spam" Word (Find) Expression</Resource> <Resource tag="TITLE">Spam Check Words</Resource> </page> <page name="ADMIN_SPAMWORDS_EDIT"> <Resource tag="MSG_REGEX_SPAM">The Regular expression statement you have entered is invalid.</Resource> <Resource tag="SPAM">"Spam" Word (Find) Expression:</Resource> <Resource tag="SPAM_HELP">Regular expression statement. Escape punctation with a preceding slash (e.g. '\.').</Resource> <Resource tag="TITLE">Add New Spam Word</Resource> <Resource tag="TITLE_EDIT">Edit Spam Word</Resource> </page> <page name="ADMIN_SPAMWORDS_IMPORT"> <Resource tag="HEADER">Import Spam Word List</Resource> <Resource tag="MSG_IMPORTED">{0} new spam word(s) were imported successfully.</Resource> <Resource tag="MSG_IMPORTED_FAILED">Failed to import: Import file format is different than expected.</Resource> <Resource tag="MSG_IMPORTED_FAILEDX">Failed to import: {0}</Resource> <Resource tag="MSG_NOTHING">Nothing imported: no new spam words were found in the upload.</Resource> <Resource tag="SELECT_IMPORT">Select Import File:</Resource> <Resource tag="SELECT_IMPORT_HELP">(Must be *.xml file)</Resource> <Resource tag="TITLE">Import Spam Words</Resource> </page> <page name="ADMIN_TASKMANAGER"> <Resource tag="DURATION">Duration</Resource> <Resource tag="HEADER">Task Manager: {0} Task(s) Running</Resource> <Resource tag="RUNNING">Is Running</Resource> <Resource tag="STOP_TASK">Stop Task</Resource> <Resource tag="TITLE">Task Manger</Resource> </page> <page name="ADMIN_TEST_DATA"> <Resource tag="TITLE">Create Test Data (DEBUG Only)</Resource> </page> <page name="ADMIN_TOPICSTATUS"> <Resource tag="ADD">Add</Resource> <Resource tag="CONFIRM_DELETE">Delete this Status?</Resource> <Resource tag="DEFAULT_DESCRIPTION">Status</Resource> <Resource tag="EXPORT">Export to XML</Resource> <Resource tag="HEADER">Allowed File Extensions</Resource> <Resource tag="ICON">Icon</Resource> <Resource tag="IMPORT">Import from XML</Resource> <Resource tag="TITLE">Topic Status</Resource> <Resource tag="TOPICSTATUS_NAME">Status Name</Resource> </page> <page name="ADMIN_TOPICSTATUS_EDIT"> <Resource tag="DEFAULT_DESCRIPTION">Default Status Name:</Resource> <Resource tag="DEFAULT_DESCRIPTION_HELP">Default Status Name, this Name is used when its not found in the current Language File.</Resource> <Resource tag="HEADER">Add/Edit Topic Status</Resource> <Resource tag="MSG_ENTER">You must enter something.</Resource> <Resource tag="TITLE">Add/Edit Topic Status</Resource> <Resource tag="TITLE_EDIT">Edit Topic Status</Resource> <Resource tag="TOPICSTATUS_NAME">Topic Status Value:</Resource> <Resource tag="TOPICSTATUS_NAME_HELP">This is the Value that is used to retrieve the Topic Status Icon and/or Text. That needs to be defined in the Theme Files and languages.</Resource> </page> <page name="ADMIN_TOPICSTATUS_IMPORT"> <Resource tag="HEADER">Import Topic Status List</Resource> <Resource tag="IMPORT">Import List</Resource> <Resource tag="IMPORT_FAILED">Failed to import: {0}</Resource> <Resource tag="IMPORT_FILE">Select Import File:</Resource> <Resource tag="IMPORT_FILE_HELP">Must be *.xml file</Resource> <Resource tag="IMPORT_NOTHING">Nothing imported: no new status was found in the upload.</Resource> <Resource tag="IMPORT_SUCESS">{0} new status(es) imported successfully.</Resource> <Resource tag="TITLE">Import Topic Status</Resource> </page> <page name="ADMIN_USERS"> <Resource tag="APPROVED">Approved</Resource> <Resource tag="CONFIRM_DELETE">Delete this user?</Resource> <Resource tag="CONFIRM_SYNC">Are you sure?</Resource> <Resource tag="DISPLAY_NAME">Display Name</Resource> <Resource tag="EMAIL">Email</Resource> <Resource tag="EMAIL_CONTAINS">Email Contains:</Resource> <Resource tag="EXPORT_CSV">Export All User(s) as CSV</Resource> <Resource tag="EXPORT_XML">Export All User(s) as Xml</Resource> <Resource tag="FACEBOOK_USER">Facebook User</Resource> <Resource tag="FILTER">Filter by join date since:</Resource> <Resource tag="FILTER_BY_GROUP">Filter by Group...</Resource> <Resource tag="FILTER_BY_RANK">Filter by Rank...</Resource> <Resource tag="FILTER_DROPDOWN">Filter</Resource> <Resource tag="FILTER_NO">[No Filter]</Resource> <Resource tag="HEADER">Search Users</Resource> <Resource tag="IMPORT">Import User(s)</Resource> <Resource tag="LAST_VISIT">Last Visit</Resource> <Resource tag="LOCK_INACTIVE">Lock inactive accounts</Resource> <Resource tag="LOCK_INACTIVE_HELP">Lock inactive accounts older then x years. This will not delete there content (like posted messages)</Resource> <Resource tag="MSG_DELETE_ADMIN">You can't delete the Admin.</Resource> <Resource tag="MSG_DELETE_GUEST">You can't delete the Guest.</Resource> <Resource tag="MSG_SELF_DELETE">You can't delete yourself.</Resource> <Resource tag="NAME_CONTAINS">User Name Contains:</Resource> <Resource tag="NEW_USER">New User</Resource> <Resource tag="POSTS">Posts</Resource> <Resource tag="RANK">Rank:</Resource> <Resource tag="ROLE">Role:</Resource> <Resource tag="SEARCH">Search</Resource> <Resource tag="SUSPENDED_ONLY">Show only suspended users?</Resource> <Resource tag="SYNC_ALL">Sync All Membership Users</Resource> <Resource tag="SYNC_MSG">Please do not navigate away from this page while the sync is in progress...</Resource> <Resource tag="SYNC_TITLE">Syncing Users</Resource> <Resource tag="TITLE">Users</Resource> <Resource tag="TWITTER_USER">Twitter User</Resource> <Resource tag="USER_NAME">User Name</Resource> </page> <page name="ADMIN_USERS_IMPORT"> <Resource tag="HEADER">Import Users to YAF</Resource> <Resource tag="IMPORT_FAILED">Failed to import: {0}</Resource> <Resource tag="IMPORT_FAILED_FORMAT">Input failed, wrong file format!</Resource> <Resource tag="IMPORT_FILE">Select Import File:</Resource> <Resource tag="IMPORT_FILE_HELP">Must be *.xml or *.csv file</Resource> <Resource tag="IMPORT_NOTHING">Nothing imported: no new user where found in the upload.</Resource> <Resource tag="IMPORT_SUCESS">{0} User(s) imported successfully.</Resource> <Resource tag="TITLE">User Importer</Resource> </page> <page name="ADMIN_VERSION"> <Resource tag="LATEST_VERSION">The latest final version available is &lt;strong&gt;{0}&lt;/strong&gt; released &lt;strong&gt;{1}&lt;/strong&gt;.</Resource> <Resource tag="RUNNING_VERSION">You are running YetAnotherForum.NET version &lt;strong&gt;{0}&lt;/strong&gt; (Date: {1}).</Resource> <Resource tag="TITLE">Version Check</Resource> <Resource tag="UPGRADE_VERSION">You can download the latest version from &lt;a target="_top" href="https://yetanotherforum.net/download/"&gt; here&lt;/a&gt;.</Resource> </page> <page name="ADMINMENU"> <Resource tag="admin_accessmasks">Access Masks</Resource> <Resource tag="admin_admin">Admin Index</Resource> <Resource tag="admin_bannedemail">Banned Emails</Resource> <Resource tag="admin_bannedip">Banned IPs</Resource> <Resource tag="admin_bannedname">Banned Names</Resource> <Resource tag="admin_bbcode">BBCode Extensions</Resource> <Resource tag="admin_boards">Boards</Resource> <Resource tag="admin_boardsettings">Board Settings</Resource> <Resource tag="admin_digest">Digest</Resource> <Resource tag="admin_eventlog">Event Log</Resource> <Resource tag="admin_extensions">File Extensions</Resource> <Resource tag="admin_forums">Categories &amp; Forums</Resource> <Resource tag="admin_groups">Roles</Resource> <Resource tag="admin_hostsettings">Host Settings</Resource> <Resource tag="admin_install">Install</Resource> <Resource tag="admin_languages">Languages</Resource> <Resource tag="admin_mail">Mail</Resource> <Resource tag="admin_medals">Medals</Resource> <Resource tag="admin_nntpforums">NNTP Forums</Resource> <Resource tag="admin_nntpretrieve">Retrieve Articles</Resource> <Resource tag="admin_nntpservers">NNTP Servers</Resource> <Resource tag="admin_pageaccessedit">Edit Admin Page Access</Resource> <Resource tag="admin_pageaccesslist">Admin Page Access</Resource> <Resource tag="admin_pm">Private Messages</Resource> <Resource tag="admin_prune">Prune Topics</Resource> <Resource tag="admin_ranks">Ranks</Resource> <Resource tag="admin_reindex">DB Maintenance</Resource> <Resource tag="admin_replacewords">Replace Words</Resource> <Resource tag="admin_restartapp">Restart App</Resource> <Resource tag="admin_runsql">Run SQL Query</Resource> <Resource tag="ADMIN_SPAMLOG">Spam Event Log</Resource> <Resource tag="admin_spamwords">Spam Check Words</Resource> <Resource tag="admin_taskmanager">Task Manager</Resource> <Resource tag="admin_test_data">Create Test Data</Resource> <Resource tag="admin_topicstatus">Topic Status</Resource> <Resource tag="admin_users">Users</Resource> <Resource tag="admin_version">Version Check</Resource> <Resource tag="Database">Database</Resource> <Resource tag="HostAdministration">Host Administration</Resource> <Resource tag="Maintenance">Maintenance</Resource> <Resource tag="NNTP">NNTP</Resource> <Resource tag="Settings">Settings</Resource> <Resource tag="Spam_Protection">Spam Protection</Resource> <Resource tag="Upgrade">Upgrade</Resource> <Resource tag="UsersandRoles">Users and Roles</Resource> </page> <page name="ALBUM"> <Resource tag="ALBUM_CHANGE_TITLE">Add Title</Resource> <Resource tag="ALBUM_IMAGE_CHANGE_CAPTION">Add Caption</Resource> <Resource tag="ALBUM_IMAGES_NUMBER">{0} Image(s)</Resource> <Resource tag="ALBUM_VIEW">Click to View Album</Resource> <Resource tag="ALBUMS">Albums</Resource> <Resource tag="ALBUMS_HEADER_TEXT">{0}'s albums</Resource> <Resource tag="ALBUMS_INFO">Currently you have {0} Album(s). You can have max. {1} Album(s).</Resource> <Resource tag="ALBUMS_NOTALLOWED">You are not allowed to have Albums.</Resource> <Resource tag="ALBUMS_TITLE">{0} Album: {1}</Resource> <Resource tag="BACK_ALBUMS">Go Back to Albums</Resource> <Resource tag="TITLE">Album Images</Resource> </page> <page name="APPROVE"> <Resource tag="EMAIL_VERIFIED">Seu endereço de email foi validado.</Resource> <Resource tag="EMAIL_VERIFY_FAILED">Falha ao validar o endereço de email.</Resource> <Resource tag="ENTER_KEY">Digite a chave de validação</Resource> <Resource tag="TITLE">Validar Endereço de Email.</Resource> <Resource tag="VALIDATE">Validar</Resource> </page> <page name="ATTACHMENTS"> <Resource tag="ADD_FILES">Add file(s)...</Resource> <Resource tag="ALLOWED_EXTENSIONS">Allowed File Types</Resource> <Resource tag="ASK_DELETE">Você deseja excluir este anexo?</Resource> <Resource tag="COMPLETE_WARNING">Please wait until all Upload(s) are completed and the Dialog closes itself!</Resource> <Resource tag="CONFIRM_DELETE">Delete attachment(s)?</Resource> <Resource tag="CURRENT_UPLOADS">Current Attachment Uploads:</Resource> <Resource tag="DELETE">Excluir</Resource> <Resource tag="DISALLOWED_EXTENSIONS">Disallowed File Types</Resource> <Resource tag="DROP_HERE">Drop file(s) here</Resource> <Resource tag="ERROR_TOOBIG">Você não pode anexar arquivos grandes demais.</Resource> <Resource tag="FILEERROR">'{0}' não é um arquivo válido para ser carregado.</Resource> <Resource tag="FILENAME">Nome do Arquivo</Resource> <Resource tag="NO_ATTACHMENTS">You don't have any attachments yet, to add one click on the &lt;strong&gt;Upload New File(s)&lt;/strong&gt; button</Resource> <Resource tag="SELECT_FILE">Selecione o arquivo que você deseja carregar.</Resource> <Resource tag="SIZE">Tamanho</Resource> <Resource tag="START_UPLOADS">Start upload(s)</Resource> <Resource tag="TITLE">Anexos</Resource> <Resource tag="UPLOAD">Carregar</Resource> <Resource tag="UPLOAD_NEW">Upload New File(s)</Resource> <Resource tag="UPLOAD_NOTE">Note: Max. File Size of an Attachment is {0} KB.</Resource> <Resource tag="UPLOAD_TITLE">Arquivo Carregado</Resource> <Resource tag="UPLOAD_TOOBIG">You cannot attach files that bigger than {1} KB. Your File size is {0} KB.</Resource> </page> <page name="AVATAR"> <Resource tag="CANCEL_TITLE">Go Back to the Modify Avatar Page without selecting an Avatar.</Resource> <Resource tag="EDITPROFILE">Trocar Avatar</Resource> <Resource tag="TITLE">Avatars</Resource> <Resource tag="UP_TITLE">Go to the Parent Folder.</Resource> </page> <page name="BBCODEMODULE"> <Resource tag="ALBUMIMG_DESCRIPTION">Enter a Album Image Number</Resource> <Resource tag="ATTACH_DESCRIPTION">Enter a Attachment ID</Resource> <Resource tag="ATTACH_NO">You have insufficient rights to see the content.</Resource> <Resource tag="DAILYMOTION_DESCRIPTION">Enter Dailymotion Url (http://www.dailymotion.com/video/xxxx)</Resource> <Resource tag="FACEBOOK_DESCRIPTION">Enter the Url of the post or the Embed Code of the Post you want to embed</Resource> <Resource tag="GOOGLEMAPS_DESCRIPTION">Enter Google Maps Url</Resource> <Resource tag="HIDDENMOD_DESC">The content of this post is hidden. After you THANK the poster, refresh the page to see the hidden content. You need to thank the Current Post</Resource> <Resource tag="HIDDENMOD_GROUP">You have insufficient rights to see the hidden content.</Resource> <Resource tag="HIDDENMOD_GUEST">This board requires you to be registered and logged-in before you can view hidden messages.</Resource> <Resource tag="HIDDENMOD_POST">Hidden Content (You must be registered and have {0} post(s) or more.)</Resource> <Resource tag="HIDDENMOD_THANKS">Hidden Content (You must be registered, and have at least {0} thank(s) received.)</Resource> <Resource tag="HIDEGROUPMOD_DESCRIPTION">Hide the Content from Guests, or other Roles if defined.</Resource> <Resource tag="HIDEMOD_DESCRIPTION">This tag hides content from people until they press the thank you button for the post.</Resource> <Resource tag="HIDEMOD_REPLY">Hidden Content (You must be registered and reply to the message to see the hidden Content.)</Resource> <Resource tag="HIDEMOD_REPLYTHANKS">Hidden Content (You must be registered and reply to the message, or give thank, to see the hidden Content.)</Resource> <Resource tag="HIDEPOSTS_DESCRIPTION">The tag hides content from people who have below then X posts.</Resource> <Resource tag="HIDEREPLY_DESCRIPTION">The tag hides content from people until they replied in the same thread.</Resource> <Resource tag="HIDEREPLYTHANKS_DESCRIPTION">The tag hides content from people until they either reply in the same thread or press the thank you button for the post.</Resource> <Resource tag="HIDETHANKS_DESCRIPTION">The tag hides content from people who have below then X thanks received.</Resource> <Resource tag="INSTAGRAM_DESCRIPTION">Put an Instagram Post URL in here, for example: https://www.instagram.com/p/BS2kMaZl2XO/</Resource> <Resource tag="SPOILERMOD_DESCRIPTION">Put Spoiler Text in Here</Resource> <Resource tag="SPOILERMOD_HIDE">Hide Spoiler</Resource> <Resource tag="SPOILERMOD_SHOW">Show Spoiler</Resource> <Resource tag="SPOILERMOD_TOOLTIP">Click here to show or hide the hidden text (also known as a spoiler)</Resource> <Resource tag="TWITTER_DESCRIPTION">Enter the Status ID of the Tweet you want to embed</Resource> <Resource tag="UERLINKMOD_DESCRIPTION">Put User Name Here</Resource> <Resource tag="YOUTUBEMOD_DESCRIPTION">Put YouTube URL in Here</Resource> </page> <page name="BLOCK_OPTIONS"> <Resource tag="BLOCK_BUDDYS">Block Friend Requests</Resource> <Resource tag="BLOCK_BUDDYS">Block Private Messages</Resource> <Resource tag="BLOCK_EMAILS">Block E-Mails</Resource> <Resource tag="BLOCK_OPTIONS">Block Options</Resource> <Resource tag="BLOCK_PMS">Block Private Messages</Resource> <Resource tag="IGNORED_USERS">Ignored User List</Resource> <Resource tag="NOTE_BLOCK">Admins and Users in the Friend List will be excluded from the Blocking!</Resource> <Resource tag="NOTE_USERS">Posts of Ignored Users will be hidden. This does not include Quoted Posts</Resource> <Resource tag="SELECT_OPTIONS">Options to Block other Users from Contacting you...</Resource> <Resource tag="TITLE">User Block Options &amp; Ignored Users</Resource> </page> <page name="BUDDY"> <Resource tag="ADDBUDDY">Add as Friend</Resource> <Resource tag="AWAIT_BUDDY_APPROVAL">(Awaiting Friend Approval)</Resource> <Resource tag="NOTIFICATION_ALL_APPROVED">All Friend requests approved.</Resource> <Resource tag="NOTIFICATION_ALL_APPROVED_ADDED">All Friend requests approved and added to your Friend list.</Resource> <Resource tag="NOTIFICATION_ALL_DENIED">All Friend requests more than 14 days old denied.</Resource> <Resource tag="NOTIFICATION_BUDDYAPPROVED">You have been added to {0}'s Friend list.</Resource> <Resource tag="NOTIFICATION_BUDDYAPPROVED_MUTUAL">You and {0} are now Friends.</Resource> <Resource tag="NOTIFICATION_BUDDYDENIED">Friend request denied.</Resource> <Resource tag="NOTIFICATION_BUDDYREQUEST">Friend request sent.</Resource> <Resource tag="PENDINGBUDDIES">You have {0} pending Friend request(s)</Resource> <Resource tag="PENDINGBUDDIES_TITLE">New Friend request(s)</Resource> <Resource tag="PENDINGBUDDIES2">You have {0} pending Friend request(s). Would you like to go to your Friend list now?</Resource> <Resource tag="REMOVEBUDDY">Remove Friend</Resource> <Resource tag="REMOVEBUDDY_NOTIFICATION">{0} has been removed from your Friend list.</Resource> </page> <page name="BUTTON"> <Resource tag="BUTTON_ADDALBUM">Add New Album</Resource> <Resource tag="BUTTON_ATTACH">Attach</Resource> <Resource tag="BUTTON_ATTACH_TT">Attach files to this post</Resource> <Resource tag="BUTTON_DELETE">Delete</Resource> <Resource tag="BUTTON_DELETE_TT">Delete this Post</Resource> <Resource tag="BUTTON_DELETEALBUM">Delete Album</Resource> <Resource tag="BUTTON_DELETEATTACHMENT">Delete Attachment(s)</Resource> <Resource tag="BUTTON_DELETEATTACHMENT_TT">Delete selected attachment(s)s</Resource> <Resource tag="BUTTON_DELETETOPIC">Delete Topic</Resource> <Resource tag="BUTTON_DELETETOPIC_TT">Delete this topic</Resource> <Resource tag="BUTTON_EDIT">Edit</Resource> <Resource tag="BUTTON_EDIT_TT">Edit this Post</Resource> <Resource tag="BUTTON_EDITALBUMIMAGES">Upload/Delete Images</Resource> <Resource tag="BUTTON_LOCKTOPIC">Lock Topic</Resource> <Resource tag="BUTTON_LOCKTOPIC_TT">Lock this topic</Resource> <Resource tag="BUTTON_MODERATE">Moderate</Resource> <Resource tag="BUTTON_MODERATE_TT">Delete, lock, unlock, and move topics this forum</Resource> <Resource tag="BUTTON_MOVE">Move</Resource> <Resource tag="BUTTON_MOVE_TT">Move this Post</Resource> <Resource tag="BUTTON_MOVETOPIC">Move Topic</Resource> <Resource tag="BUTTON_MOVETOPIC_TT">Move this topic</Resource> <Resource tag="BUTTON_MULTI_QUOTE">Multi-Quote</Resource> <Resource tag="BUTTON_MULTI_QUOTE_TT">Multi-Quote this Message</Resource> <Resource tag="BUTTON_NEWPM">New PM</Resource> <Resource tag="BUTTON_NEWPM_TT">Create a new private message</Resource> <Resource tag="BUTTON_NEWTOPIC">New Topic</Resource> <Resource tag="BUTTON_NEWTOPIC_TT">Post a new topic in this forum</Resource> <Resource tag="BUTTON_POSTREPLY">Post Reply</Resource> <Resource tag="BUTTON_POSTREPLY_TT">Post a reply to this topic</Resource> <Resource tag="BUTTON_QUOTE">Quote</Resource> <Resource tag="BUTTON_QUOTE_TT">Reply with Quote</Resource> <Resource tag="BUTTON_REPLY">Reply</Resource> <Resource tag="BUTTON_REPLY_TT">Reply to Message</Resource> <Resource tag="BUTTON_RESETCOVER">Remove Cover</Resource> <Resource tag="BUTTON_RETWEET">Retweet</Resource> <Resource tag="BUTTON_RETWEET_TT">Retweet this Message</Resource> <Resource tag="BUTTON_SETCOVER">Set as Cover</Resource> <Resource tag="BUTTON_TAGFAVORITE">Tag as favorite</Resource> <Resource tag="BUTTON_TAGFAVORITE_TT">Tag this topic as a favorite.</Resource> <Resource tag="BUTTON_THANKS">Thank</Resource> <Resource tag="BUTTON_THANKS_TT">Thank the post sender</Resource> <Resource tag="BUTTON_THANKSDELETE">Remove Thank</Resource> <Resource tag="BUTTON_THANKSDELETE_TT">Remove your thank note from the post sender</Resource> <Resource tag="BUTTON_UNDELETE">Undelete</Resource> <Resource tag="BUTTON_UNDELETE_TT">Undelete this Post</Resource> <Resource tag="BUTTON_UNLOCKTOPIC">Unlock Topic</Resource> <Resource tag="BUTTON_UNLOCKTOPIC_TT">Unlock this topic</Resource> <Resource tag="BUTTON_UNTAGFAVORITE">Untag as favorite</Resource> <Resource tag="BUTTON_UNTAGFAVORITE_TT">Remove this topic from your Favorites List.</Resource> </page> <page name="CHANGE_PASSWORD"> <Resource tag="CHANGE_BUTTON">Submit</Resource> <Resource tag="CHANGE_SUCCESS">Password has been successfully changed.</Resource> <Resource tag="CONFIRM_PASSWORD">Confirm New Password:</Resource> <Resource tag="EMPTY_ANSWER">New Answer is requiered.</Resource> <Resource tag="EMPTY_PASSWORD">Please Enter your Current Password</Resource> <Resource tag="EMPTY_QUESTION">New Question is requiered.</Resource> <Resource tag="NEED_NEW_CONFIRM_PASSWORD">New Confirm Password is required.</Resource> <Resource tag="NEED_NEW_PASSWORD">New Password is required.</Resource> <Resource tag="NEED_OLD_PASSWORD">Old Password is required.</Resource> <Resource tag="NEW_PASSWORD">New Password:</Resource> <Resource tag="NO_PASSWORD_MATCH">New Passwords do not match.</Resource> <Resource tag="OLD_PASSWORD">Old Password:</Resource> <Resource tag="PASSWORD_BAD_LENGTH">New Password length minimum: {0}.</Resource> <Resource tag="PASSWORD_INCORRECT">Password incorrect or New Password invalid.</Resource> <Resource tag="PASSWORD_NOT_COMPLEX">Non-alphanumeric characters required: {1}.</Resource> <Resource tag="PASSWORD_NOT_NEW">New Password must be different from the old one.</Resource> <Resource tag="SECURITY_ANSWER_NEW">New Security Answer:</Resource> <Resource tag="SECURITY_ANSWER_OLD">Current Password:</Resource> <Resource tag="SECURITY_CHANGED">Password Question and Answer changed.</Resource> <Resource tag="SECURITY_NOT_CHANGED">Change failed. Please re-enter your values and try again.</Resource> <Resource tag="SECURITY_QUESTION_NEW">New Security Question:</Resource> <Resource tag="SECURITY_QUESTION_OLD">Old Security Question:</Resource> <Resource tag="TITLE">Change Password</Resource> <Resource tag="TITLE_SECURITY">Change Security Question and Answer</Resource> </page> <page name="CHARACTER_CHECKER"> <Resource tag="ISEMPTY">Message body can not be empty.Why do you want to post an empty message?</Resource> <Resource tag="ISEXCEEDED">You have exceeded the maximum number of characters in each post.Make it shorter and try again.</Resource> <Resource tag="MAXNUMBEROF">Maximum number of characters in each post is: {0}</Resource> </page> <page name="COMMON"> <Resource tag="ALBUMIMG_BBCODE">Insert Album Image...</Resource> <Resource tag="ALLOWED">Allowed</Resource> <Resource tag="ATTACH_BBCODE">Insert an existing Attachment or upload a new File...</Resource> <Resource tag="BACK">Voltar</Resource> <Resource tag="BAD_CAPTCHA">Text Entered Did Not Match Text In Security Image.</Resource> <Resource tag="BAD_RECAPTCHA">Please re-enter the reCAPTCHA.</Resource> <Resource tag="BAD_USERNAME">Username cannot contain semi-colons (;).</Resource> <Resource tag="BBCODE_CODE">Código:</Resource> <Resource tag="BBCODE_QUOTE">Citação:</Resource> <Resource tag="BBCODE_QUOTEPOSTED">Originally Posted by: {0}</Resource> <Resource tag="BBCODE_QUOTEPOSTED_TT">Go to Quoted Post</Resource> <Resource tag="BBCODE_QUOTEWROTE">{0} escreveu:</Resource> <Resource tag="CAL_JQ_CULTURE">pt-BR</Resource> <Resource tag="CAL_JQ_CULTURE_DFORMAT">MM/dd/YYYY</Resource> <Resource tag="CAL_JQ_TT">Click here to choose date</Resource> <Resource tag="CAN_DELETE">Você [b]pode[/b] excluir suas participações deste fórum.</Resource> <Resource tag="CAN_EDIT">Você [b]pode[/b] editar suas participações neste fórum.</Resource> <Resource tag="CAN_POLL">Você [b]pode[/b] criar enquetes neste fórum.</Resource> <Resource tag="CAN_POST">Você [b]pode[/b] adicionar novos tópicos neste fórum.</Resource> <Resource tag="CAN_REPLY">Você [b]pode[/b] responder a tópicos deste fórum.</Resource> <Resource tag="CAN_VOTE">Você [b]pode[/b] votar em enquetes neste fórum.</Resource> <Resource tag="CANCEL">Cancelar</Resource> <Resource tag="CANNOT_DELETE">Você [b]não pode[/b] excluir suas participações deste fórum.</Resource> <Resource tag="CANNOT_EDIT">Você [b]não pode[/b] editar suas participações neste fórum.</Resource> <Resource tag="CANNOT_POLL">Você [b]não pode[/b] criar enquetes neste fórum.</Resource> <Resource tag="CANNOT_POST">Você [b]não pode[/b] adicionar novos tópicos neste fórum.</Resource> <Resource tag="CANNOT_REPLY">Você [b]não pode[/b] responder a tópicos deste fórum.</Resource> <Resource tag="CANNOT_VOTE">Você [b]não pode[/b] votar em enquetes neste fórum.</Resource> <Resource tag="CAPTCHA_ENTER">Enter Letters From Security Image:</Resource> <Resource tag="CAPTCHA_IMAGE">Security Image:</Resource> <Resource tag="CHANGEEMAIL_SUBJECT">Changed Email</Resource> <Resource tag="COMMON_WORDS">out,please,a,able,about,across,after,all,almost,also,am,among,an,and,any,are,as,at,be,because,been,but,by,can,cannot,could,dear,did,do,does,either,else,ever,every,for,from,get,got,had,has,have,he,her,hers,him,his,how,however,i,if,in,into,is,it,its,just,least,let,like,likely,may,me,might,most,must,my,neither,no,nor,not,of,off,often,on,only,or,other,our,own,rather,said,say,says,she,should,since,so,some,than,that,the,their,them,then,there,these,they,this,tis,to,too,twas,us,wants,was,we,were,what,when,where,which,while,who,whom,why,will,with,would,yet,you,your</Resource> <Resource tag="CONTINUE">Continue</Resource> <Resource tag="COOKIE">The {0} uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.</Resource> <Resource tag="COOKIE_AGREE">Close</Resource> <Resource tag="COOKIE_DETAILS">More Details</Resource> <Resource tag="COOKIE_HEADER">Important Information:</Resource> <Resource tag="COPY">Copy</Resource> <Resource tag="CUSTOM_BBCODE">More BBCode</Resource> <Resource tag="DELETE">Delete</Resource> <Resource tag="DISALLOWED">Disallowed</Resource> <Resource tag="DOWNLOAD">Download</Resource> <Resource tag="EDIT">Edit</Resource> <Resource tag="EMAILVERIFICATION_SUBJECT">{0} Email Verification</Resource> <Resource tag="EXTERNALUSER">(External User)</Resource> <Resource tag="FONT_COLOR">Font Color</Resource> <Resource tag="FONT_SIZE">Font Size</Resource> <Resource tag="FOR">For</Resource> <Resource tag="FORMAT_DATE_LONG">D</Resource> <Resource tag="FORMAT_DATE_SHORT">d</Resource> <Resource tag="FORMAT_DATE_TIME_LONG">F</Resource> <Resource tag="FORMAT_DATE_TIME_SHORT">G</Resource> <Resource tag="FORMAT_TIME">T</Resource> <Resource tag="FORUM_JUMP">Ir para o Fórum</Resource> <Resource tag="GENERATED">Esta página foi gerada em {0:N3} segundos.</Resource> <Resource tag="GO">GO</Resource> <Resource tag="GOTOFIRSTPAGE_TT">First page</Resource> <Resource tag="GOTOLASTPAGE_TT">Go to last page</Resource> <Resource tag="GOTONEXTPAGE_TT">Next Page</Resource> <Resource tag="GOTOPAGE_HEADER">Go to Page...</Resource> <Resource tag="GOTOPOST_ТТ">Go to message</Resource> <Resource tag="GOTOPREVPAGE_TT">Prev Page</Resource> <Resource tag="HIDDEN">Hidden</Resource> <Resource tag="HTMLTAG_FORBIDDEN">Your input data should not contain HTML tags.</Resource> <Resource tag="HTMLTAG_WRONG">Your input data contains forbidden {0} HTML tag.</Resource> <Resource tag="IN_FORUM">in Forum: {0}</Resource> <Resource tag="LOADING">Loading...</Resource> <Resource tag="MANAGE">Manage</Resource> <Resource tag="MAX_ONLINE">Limite máximo de usuários online é {0:N0} on {1}.</Resource> <Resource tag="MENU">Menu</Resource> <Resource tag="MESSAGE">Message</Resource> <Resource tag="MOBILE_FULLSITE">View Full Site</Resource> <Resource tag="MOBILE_VIEWSITE">View Mobile Site</Resource> <Resource tag="MODAL_NOTIFICATION_HEADER">Notification</Resource> <Resource tag="MODERATOR">Moderator</Resource> <Resource tag="NAME">Name</Resource> <Resource tag="NO">No</Resource> <Resource tag="NONE">None</Resource> <Resource tag="NOTE">Note:</Resource> <Resource tag="NOTIFICATION_ON_BOT_USER_REGISTER_EMAIL_SUBJECT">New SPAM BOT User Registered on {0} Forum</Resource> <Resource tag="NOTIFICATION_ON_MEDAL_AWARDED_SUBJECT">you have been awarded on the {0} Forum</Resource> <Resource tag="NOTIFICATION_ON_MODERATOR_MESSAGE_APPROVAL">New Message on {0} Forum Needs to be Approved</Resource> <Resource tag="NOTIFICATION_ON_MODERATOR_REPORTED_MESSAGE">A Message on {0} Forum was reported</Resource> <Resource tag="NOTIFICATION_ON_MODERATOR_SPAMMESSAGE_APPROVAL">New SPAM Message on {0} Forum needs to be checked</Resource> <Resource tag="NOTIFICATION_ON_NEW_FACEBOOK_USER_SUBJECT">Registration on {0} Forum successfully</Resource> <Resource tag="NOTIFICATION_ON_SUSPENDING_USER_SUBJECT">Suspension of your {0} Forum Account</Resource> <Resource tag="NOTIFICATION_ON_USER_REGISTER_EMAIL_SUBJECT">New User Registered on {0} Forum</Resource> <Resource tag="NOTIFICATION_ON_WELCOME_USER_SUBJECT">Welcome to the {0} Forum</Resource> <Resource tag="NOTIFICATION_ROLE_ASSIGNMENT_SUBJECT">{0} Forum Account Update</Resource> <Resource tag="OK">OK</Resource> <Resource tag="OR">or</Resource> <Resource tag="PAGES">Pages</Resource> <Resource tag="PM_NOTIFICATION_SUBJECT">Nova Mensagem Privada de {0} em {1}</Resource> <Resource tag="POST">Post</Resource> <Resource tag="POWERED_BY">Powered by</Resource> <Resource tag="PRIORITY">Priority</Resource> <Resource tag="PRIVACY_POLICY">Privacy Policy</Resource> <Resource tag="READ">Read</Resource> <Resource tag="REGMAIL_SENT">Uma mensagem foi enviada. Verifique sua caixa de entrada e clique o link na mensagem.</Resource> <Resource tag="REGMAIL_WILL_BE_SEND">Uma mensagem será enviada quando você se registrar. Para se conectar ao fórum você deve verificar sua caixa de entrada e clicar no link da mensagem enviada.</Resource> <Resource tag="REPLY">Reply</Resource> <Resource tag="SAVE">Salvar</Resource> <Resource tag="SELECT_LOCALE_JS"> language: { errorLoading: function() { return "The results could not be loaded." }, inputTooLong: function(e) { var t = e.input.length - e.maximum, n = "Please delete " + t + " character"; return t != 1 &amp;&amp; (n += "s"), n }, inputTooShort: function(e) { var t = e.minimum - e.input.length, n = "Please enter " + t + " or more characters"; return n }, loadingMore: function() { return "Loading more results…" }, maximumSelected: function(e) { var t = "You can only select " + e.maximum + " item"; return e.maximum != 1 &amp;&amp; (t += "s"), t }, noResults: function() { return "No results found" }, searching: function() { return "Searching…" } } </Resource> <Resource tag="SHOWHIDE">Show/Hide</Resource> <Resource tag="SUBMIT">Submit</Resource> <Resource tag="TOPIC_NOTIFICATION_SUBJECT">Inscrição em Tópico Nova Notificação de Participação (De {0})</Resource> <Resource tag="TT_ALIGNCENTER">Center Justify</Resource> <Resource tag="TT_ALIGNLEFT">Left Justify</Resource> <Resource tag="TT_ALIGNRIGHT">Right Justify</Resource> <Resource tag="TT_BOLD">Bold</Resource> <Resource tag="TT_CODE">Code</Resource> <Resource tag="TT_CODELANG">Choose Language for Syntax Highlighting</Resource> <Resource tag="TT_CREATELINK">Create Link</Resource> <Resource tag="TT_CUSTOMBBCODE">More BBCode Tags</Resource> <Resource tag="TT_HIGHLIGHT">Highlight</Resource> <Resource tag="TT_IMAGE">Insert Image</Resource> <Resource tag="TT_IPDETAILS">Show IP details</Resource> <Resource tag="TT_ITALIC">Italic</Resource> <Resource tag="TT_LISTORDERED">Ordered List</Resource> <Resource tag="TT_LISTUNORDERED">Unordered List</Resource> <Resource tag="TT_QUOTE">Quote</Resource> <Resource tag="TT_SAVE">Save Message Draft</Resource> <Resource tag="TT_UNDERLINE">Underline</Resource> <Resource tag="UNREAD_MENTION_MSG">You have {0} unread Mentions, would you like to go to the newest one?</Resource> <Resource tag="UNREAD_MENTION_TITLE">Somebody Mentioned you in a Topic</Resource> <Resource tag="UNREAD_MSG">Você tem {0} mensagem(s) não lida(s) em sua Caixa de Entrada.</Resource> <Resource tag="UNREAD_MSG_TITLE">New Private Message(s)</Resource> <Resource tag="UNREAD_MSG2">You have {0} unread message(s) in your Inbox. Would You Like to go to your Inbox now?</Resource> <Resource tag="UNREAD_QUOTED_MSG">You have {0} unread quoted Posts, would you like to go to the newest one?</Resource> <Resource tag="UNREAD_QUOTED_TITLE">Somebody Quoted you in a Topic</Resource> <Resource tag="UNREAD_THANKS_MSG">You have {0} unread received Thanks, would you like to go to the newest one?</Resource> <Resource tag="UNREAD_THANKS_TITLE">Somebody Thanked you for a Message</Resource> <Resource tag="UPDATE">Atualizar</Resource> <Resource tag="USERNAME_TOOLONG">User Name or Display User Name cannot be more than {0} characters.</Resource> <Resource tag="USERNAME_TOOSMALL">User Name or Display User Name must be more than {0} characters.</Resource> <Resource tag="VIEW_CATEGORY">View category</Resource> <Resource tag="VIEW_FORUM">View forum</Resource> <Resource tag="VIEW_FULLINFO">View full info</Resource> <Resource tag="VIEW_TOPIC">View topic</Resource> <Resource tag="VIEW_TOPIC_STARTED_BY">View topic started by {0}</Resource> <Resource tag="VIEW_USRPROFILE">View profile</Resource> <Resource tag="VOTE">Vote</Resource> <Resource tag="YES">Yes</Resource> </page> <page name="COOKIES"> <Resource tag="COOKIES_TEXT"> Cookies are small text files that are placed on your computer by websites that you visit. They are widely used in order to make websites work, or work more efficiently, as well as to provide information to the owners of the site. Depending on your access level and actions on the site, various preference based cookies may be set to enrich your experience. [br] [b]Standard Cookies[/b][br] We’re using cookies for the following purposes: [list] [*] Guest Users: Your last visit Date and Time will be saved, to indicate on your next visit which topics and message are new. [*] Login: Once you login to the forum, a cookie is set containing your encrypted credentials, required to recognize you between page visits. You can disable this cookie by unchecking “Remember me” in the login form. [*] Polls: Your voting options are stored as cookies. As soon as you give your voting in a poll a cookie is created. [*] Session: Upon first visit of our website, the system will create a new unique session for you which will be saved using a cookie on your computer. Sessions are required to recognize users between page accesses. It is a temporary cookie which will be deleted once you close your internet browser.. [/list] [b]Third Party Cookies[/b][br] The site owner may set additional cookies in addition to the standard cookies above. These cookies are often used for website usage tracking, or set by embedded service providers when viewing embedded content from providers such as YouTube and Vimeo, etc. [br] [b]How do I change my cookie settings?[/b][br] Most web browsers allow some control of most cookies through the browser settings. To find out more about cookies, including how to see what cookies have been set and how to manage and delete them, visit [url]www.aboutcookies.org[/url] or [url]www.allaboutcookies.org.[/url] </Resource> <Resource tag="TITLE">Cookie Policy</Resource> </page> <page name="COUNTRY"> <Resource tag="AD">Andorra</Resource> <Resource tag="AE">United Arab Emirates</Resource> <Resource tag="AF">Afganistan</Resource> <Resource tag="AG">Antigua and Barbuda</Resource> <Resource tag="AI">Anguilla</Resource> <Resource tag="AL">Albania</Resource> <Resource tag="AM">Armenia</Resource> <Resource tag="AN">Netherlands Antilles</Resource> <Resource tag="AO">Angola</Resource> <Resource tag="AQ">Antarctica</Resource> <Resource tag="AR">Argentina</Resource> <Resource tag="AS">American Samoa</Resource> <Resource tag="AT">Austria</Resource> <Resource tag="AU">Australia</Resource> <Resource tag="AW">Aruba</Resource> <Resource tag="AZ">Azerbaijan</Resource> <Resource tag="BA">Bosnia and Herzegovina</Resource> <Resource tag="BB">Barbados</Resource> <Resource tag="BD">Bangladesh</Resource> <Resource tag="BE">Belgium</Resource> <Resource tag="BF">Burkina Faso</Resource> <Resource tag="BG">Bulgaria</Resource> <Resource tag="BH">Bahrain</Resource> <Resource tag="BI">Burundi</Resource> <Resource tag="BJ">Benin</Resource> <Resource tag="BM">Bermuda</Resource> <Resource tag="BN">Brunei Darussalam</Resource> <Resource tag="BO">Bolivia</Resource> <Resource tag="BR">Brazil</Resource> <Resource tag="BS">Bahamas</Resource> <Resource tag="BT">Bhutan</Resource> <Resource tag="BV">Bouvet Island</Resource> <Resource tag="BW">Botswana</Resource> <Resource tag="BY">Belarus</Resource> <Resource tag="BZ">Belize</Resource> <Resource tag="CA">Canada</Resource> <Resource tag="CC">Cocos (Keeling) Islands</Resource> <Resource tag="CD">Congo, The DRC</Resource> <Resource tag="CF">Central African Republic</Resource> <Resource tag="CG">Congo</Resource> <Resource tag="CH">Switzerland</Resource> <Resource tag="CI">Cote d'Ivoire</Resource> <Resource tag="CK">Cook Islands</Resource> <Resource tag="CL">Chile</Resource> <Resource tag="CM">Cameroon</Resource> <Resource tag="CN">China</Resource> <Resource tag="CO">Colombia</Resource> <Resource tag="CR">Costa Rica</Resource> <Resource tag="CU">Cuba</Resource> <Resource tag="CV">Cape Verde</Resource> <Resource tag="CX">Christmas Island</Resource> <Resource tag="CY">Cyprus</Resource> <Resource tag="CZ">Czech Republic</Resource> <Resource tag="DE">Germany</Resource> <Resource tag="DJ">Djibouti</Resource> <Resource tag="DK">Denmark</Resource> <Resource tag="DM">Dominica</Resource> <Resource tag="DO">Dominican Republic</Resource> <Resource tag="DZ">Algeria</Resource> <Resource tag="EC">Ecuador</Resource> <Resource tag="EE">Estonia</Resource> <Resource tag="EG">Egypt</Resource> <Resource tag="EH">Western Sahara</Resource> <Resource tag="ER">Eritrea</Resource> <Resource tag="ES">Spain</Resource> <Resource tag="ET">Ethiopia</Resource> <Resource tag="FI">Finland</Resource> <Resource tag="FJ">Fiji</Resource> <Resource tag="FK">Falkland Islands (Malvinas)</Resource> <Resource tag="FM">Micronesia, Federated States Of</Resource> <Resource tag="FO">Faroe Islands</Resource> <Resource tag="FR">France</Resource> <Resource tag="FX">France, Metropolitan</Resource> <Resource tag="GA">Gabon</Resource> <Resource tag="GB">United Kingdom</Resource> <Resource tag="GD">Grenada</Resource> <Resource tag="GE">Georgia</Resource> <Resource tag="GF">French Guyana</Resource> <Resource tag="GH">Ghana</Resource> <Resource tag="GI">Gibraltar</Resource> <Resource tag="GL">Greenland</Resource> <Resource tag="GM">Gambia</Resource> <Resource tag="GN">Guinea</Resource> <Resource tag="GP">Guadeloupe</Resource> <Resource tag="GQ">Equatorial Guinea</Resource> <Resource tag="GR">Greece</Resource> <Resource tag="GS">South Georgia And South S.S.</Resource> <Resource tag="GT">Guatemala</Resource> <Resource tag="GU">Guam</Resource> <Resource tag="GW">Guinea-Bissau</Resource> <Resource tag="GY">Guyana</Resource> <Resource tag="HK">Hong Kong</Resource> <Resource tag="HM">Heard and Mc Donald Islands</Resource> <Resource tag="HN">Honduras</Resource> <Resource tag="HR">Croatia</Resource> <Resource tag="HT">Haiti</Resource> <Resource tag="HU">Hungary</Resource> <Resource tag="ID">Indonesia</Resource> <Resource tag="IE">Ireland</Resource> <Resource tag="IL">Israel</Resource> <Resource tag="IN">India</Resource> <Resource tag="IO">British Indian Ocean Territory</Resource> <Resource tag="IQ">Iraq</Resource> <Resource tag="IR">Iran (Islamic Republic Of)</Resource> <Resource tag="IS">Iceland</Resource> <Resource tag="IT">Italy</Resource> <Resource tag="JM">Jamaica</Resource> <Resource tag="JO">Jordan</Resource> <Resource tag="JP">Japan</Resource> <Resource tag="KE">Kenya</Resource> <Resource tag="KG">Kyrgyzstan</Resource> <Resource tag="KH">Cambodja</Resource> <Resource tag="KI">Kiribati</Resource> <Resource tag="KM">Comoros</Resource> <Resource tag="KN">Saint Kitts And Nevis</Resource> <Resource tag="KP">Korea, D.P.R.O.</Resource> <Resource tag="KR">Korea, Republic Of</Resource> <Resource tag="KY">Cayman Islands</Resource> <Resource tag="KZ">Kazakhstan</Resource> <Resource tag="LA">Laos</Resource> <Resource tag="LB">Lebanon</Resource> <Resource tag="LC">Saint Lucia</Resource> <Resource tag="LI">Liechtenstein</Resource> <Resource tag="LK">Sri Lanka</Resource> <Resource tag="LR">Liberia</Resource> <Resource tag="LS">Lesotho</Resource> <Resource tag="LT">Lithuania</Resource> <Resource tag="LU">Luxembourg</Resource> <Resource tag="LV">Latvia</Resource> <Resource tag="LY">Libyan Arab Jamahiriya</Resource> <Resource tag="MA">Morocco</Resource> <Resource tag="MC">Monaco</Resource> <Resource tag="MD">Moldova, Republic Of</Resource> <Resource tag="ME">Montenegro</Resource> <Resource tag="MG">Madagascar</Resource> <Resource tag="MH">Marshall Islands</Resource> <Resource tag="MK">Macedonia</Resource> <Resource tag="ML">Mali</Resource> <Resource tag="MM">Myanmar (Burma)</Resource> <Resource tag="MN">Mongolia</Resource> <Resource tag="MO">Macau</Resource> <Resource tag="MP">Northern Mariana Islands</Resource> <Resource tag="MQ">Martinique</Resource> <Resource tag="MR">Mauretania</Resource> <Resource tag="MS">Montserrat</Resource> <Resource tag="MT">Malta</Resource> <Resource tag="MU">Mauritius</Resource> <Resource tag="MV">Maldives</Resource> <Resource tag="MW">Malawi</Resource> <Resource tag="MX">Mexico</Resource> <Resource tag="MY">Malaysia</Resource> <Resource tag="MZ">Mozambique</Resource> <Resource tag="NA">Namibia</Resource> <Resource tag="NC">New Caledonia</Resource> <Resource tag="NE">Niger</Resource> <Resource tag="NF">Norfolk Islan</Resource> <Resource tag="NG">Nigeria</Resource> <Resource tag="NI">Nicaragua</Resource> <Resource tag="NL">Netherlands</Resource> <Resource tag="NO">Norway</Resource> <Resource tag="NP">Nepal</Resource> <Resource tag="NR">Nauru</Resource> <Resource tag="NU">Niue</Resource> <Resource tag="NZ">New Zealand</Resource> <Resource tag="OM">Oman</Resource> <Resource tag="PA">Panama</Resource> <Resource tag="PE">Peru</Resource> <Resource tag="PF">French Polynesia</Resource> <Resource tag="PG">Papua New Guinea</Resource> <Resource tag="PH">Philippines</Resource> <Resource tag="PK">Pakistan</Resource> <Resource tag="PL">Poland</Resource> <Resource tag="PM">St. Pierre And Miquelon</Resource> <Resource tag="PN">Pitcairn</Resource> <Resource tag="PR">Puerto Rico</Resource> <Resource tag="PT">Portugal</Resource> <Resource tag="PW">Palau</Resource> <Resource tag="PY">Paraguay</Resource> <Resource tag="QA">Qatar</Resource> <Resource tag="RE">Reunion</Resource> <Resource tag="RO">Romania</Resource> <Resource tag="RU">Russian Federation</Resource> <Resource tag="RW">Rwanda</Resource> <Resource tag="SA">Saudi Arabia</Resource> <Resource tag="SB">Solomon Islands</Resource> <Resource tag="SC">Seychelles</Resource> <Resource tag="SD">Sudan</Resource> <Resource tag="SE">Sweden</Resource> <Resource tag="SG">Singapore</Resource> <Resource tag="SH">St. Helena</Resource> <Resource tag="SI">Slovenia</Resource> <Resource tag="SJ">Svalbard And Jan Mayen Islands</Resource> <Resource tag="SK">Slovakia</Resource> <Resource tag="SL">Sierra Leone</Resource> <Resource tag="SM">San Marino</Resource> <Resource tag="SN">Senegal</Resource> <Resource tag="SO">Somalia</Resource> <Resource tag="SP">Serbia</Resource> <Resource tag="SR">Suriname</Resource> <Resource tag="ST">Sao Tome And Principe</Resource> <Resource tag="SV">El Salvador</Resource> <Resource tag="SY">Syrian Arab Republic</Resource> <Resource tag="SZ">Swaziland</Resource> <Resource tag="TC">Turks And Caicos Islands</Resource> <Resource tag="TD">Chad</Resource> <Resource tag="TF">French Southern Territories</Resource> <Resource tag="TG">Togo</Resource> <Resource tag="TH">Thailand</Resource> <Resource tag="TJ">Tajikistan</Resource> <Resource tag="TK">Tokelau</Resource> <Resource tag="TM">Turkmenistan</Resource> <Resource tag="TN">Tunisia</Resource> <Resource tag="TO">Tonga</Resource> <Resource tag="TP">East Timor</Resource> <Resource tag="TR">Turkey</Resource> <Resource tag="TT">Trinidad And Tobago</Resource> <Resource tag="TV">Tuvalu</Resource> <Resource tag="TW">Taiwan, Province Of China</Resource> <Resource tag="TZ">Tanzania, United Republic Of</Resource> <Resource tag="UA">Ukraine</Resource> <Resource tag="UG">Uganda</Resource> <Resource tag="UM">U.S. Minor Islands</Resource> <Resource tag="US">United States</Resource> <Resource tag="UY">Uruguay</Resource> <Resource tag="UZ">Uzbekistan</Resource> <Resource tag="VA">Holy See (Vatican City State)</Resource> <Resource tag="VC">Saint Vincent And The Grenadines</Resource> <Resource tag="VE">Venezuela</Resource> <Resource tag="VG">Virgin Islands (British)</Resource> <Resource tag="VI">Virgin Islands (U.S.)</Resource> <Resource tag="VN">Viet Nam</Resource> <Resource tag="VU">Vanuatu</Resource> <Resource tag="WF">Wallis And Futuna Islands</Resource> <Resource tag="WS">Samoa</Resource> <Resource tag="YE">Yemen</Resource> <Resource tag="YT">Mayotte</Resource> <Resource tag="ZA">South Africa</Resource> <Resource tag="ZM">Zambia</Resource> <Resource tag="ZW">Zimbabwe</Resource> </page> <page name="DEFAULT"> <Resource tag="ACTIVE_DISCUSSIONS">Discussões Ativas</Resource> <Resource tag="ACTIVE_USERS">Usuários Ativos</Resource> <Resource tag="ACTIVE_USERS_COUNT1">{0:N0} usuário ativo</Resource> <Resource tag="ACTIVE_USERS_COUNT2">{0:N0} usuários ativos</Resource> <Resource tag="ACTIVE_USERS_GUESTS1">{0:N0} convidado</Resource> <Resource tag="ACTIVE_USERS_GUESTS2">{0:N0} convidados</Resource> <Resource tag="ACTIVE_USERS_HIDDEN">{0:N0} hidden</Resource> <Resource tag="ACTIVE_USERS_MEMBERS1">{0:N0} membro</Resource> <Resource tag="ACTIVE_USERS_MEMBERS2">{0:N0} membros</Resource> <Resource tag="ACTIVE_USERS_TIME">for last {0:N0} minutes</Resource> <Resource tag="ALPHABET_FILTER">Alphabet filter</Resource> <Resource tag="ALPHABET_FILTER_BY">Filter list by letter {0}.</Resource> <Resource tag="ATOMICONTOOLTIPACTIVE">Subscribe to active topics via Atom.</Resource> <Resource tag="ATOMICONTOOLTIPFAVORITE">Subscribe to your favorite topics via Atom.</Resource> <Resource tag="ATOMICONTOOLTIPFORUM">Subscribe to forum Atom feed.</Resource> <Resource tag="BY">por {0}</Resource> <Resource tag="CURRENT_TIME">Hora atual: {0}.</Resource> <Resource tag="ERROR_FB_HOVERCARD">The requested user could not be found.</Resource> <Resource tag="ERROR_HOVERCARD">Sorry, no data found or something went wrong.</Resource> <Resource tag="ERROR_TWIT_HOVERCARD">Invalid username or you have exceeded Twitter request limit.&lt;br/&gt;&lt;small&gt;Please note, Twitter only allows 150 requests per hour.&lt;/small&gt;.</Resource> <Resource tag="FORUM">Fórum</Resource> <Resource tag="GO_LAST_POST">Ir para a última participação</Resource> <Resource tag="GO_LASTUNREAD_POST">Go to first unread</Resource> <Resource tag="IN">em {0}</Resource> <Resource tag="INFORMATION">Informação</Resource> <Resource tag="LAST_VISIT">Última visita: {0}.</Resource> <Resource tag="LASTPOST">Última Participação</Resource> <Resource tag="LATEST_POSTS">Últimas Participações</Resource> <Resource tag="LOADING_FB_HOVERCARD">Loading Facebook Info ...</Resource> <Resource tag="LOADING_HOVERCARD">Loading User Info ...</Resource> <Resource tag="LOADING_TWIT_HOVERCARD">Loading Twitter Info ...</Resource> <Resource tag="MAIN_FORUM_ATOM">Main Forum Atom</Resource> <Resource tag="MAIN_FORUM_RSS">Fórum Principal RSS</Resource> <Resource tag="MARKALL">Marcar todos os fóruns como lidos</Resource> <Resource tag="MARKALL_MESSAGE">All forums has been marked as read</Resource> <Resource tag="MODERATORS">Moderadores</Resource> <Resource tag="MOST_ACTIVE">Most Active Users in the last {0} Days</Resource> <Resource tag="NO_FORUM_ACCESS">(Sem Acesso)</Resource> <Resource tag="NO_POSTS">Nenhuma Participação</Resource> <Resource tag="ONDATE">on {0}</Resource> <Resource tag="POSTS">Participações</Resource> <Resource tag="RECENT_ONLINE_USERS">{0} Users were online within the last 24 hours, and {1} within the last 30 days.</Resource> <Resource tag="RECENT_USERS">Recent Users</Resource> <Resource tag="RSSICONTOOLTIPACTIVE">Subscribe to active topics via RSS.</Resource> <Resource tag="RSSICONTOOLTIPFAVORITE">Subscribe to your favorite topics via RSS.</Resource> <Resource tag="RSSICONTOOLTIPFORUM">Subscribe to forum RSS feed.</Resource> <Resource tag="SHOW_UNREAD_ONLY">Show only Unread Topics.</Resource> <Resource tag="STATS">Estatísticas</Resource> <Resource tag="STATS_BIRTHDAYS">Today's Birthdays: </Resource> <Resource tag="STATS_LASTMEMBER">O membro mais recente é</Resource> <Resource tag="STATS_LASTPOST">Últimas participações {0} de {1}.</Resource> <Resource tag="STATS_MEMBERS">Há {0:N0} membros registrados.</Resource> <Resource tag="STATS_POSTS">Há {0:N0} participações em {1:N0} tópicos de {2:N0} fóruns.</Resource> <Resource tag="STATS_SPAM">Anti Spam Statistics</Resource> <Resource tag="STATS_SPAM_BANNED">{0} Spammers Permanently Banned</Resource> <Resource tag="STATS_SPAM_DENIED">{0} Spammers Denied Registration</Resource> <Resource tag="STATS_SPAM_REPORTED">{0} Spammers submitted to StopForumSpam.com</Resource> <Resource tag="TOPICS">Tópicos</Resource> <Resource tag="UNREAD0">Você possui {0} mensagens não lidas em sua caixa de entrada.</Resource> <Resource tag="UNREAD1">Você possui {0} mensagem não lida na sua caixa de entrada.</Resource> <Resource tag="VIEWING">({0} Visitas)</Resource> <Resource tag="VOTE_DOWN_TITLE">Remove -1 of the Users Reputation</Resource> <Resource tag="VOTE_UP_TITLE">Add +1 to the Users Reputation.</Resource> <Resource tag="WATCHFORUM_ALL">Watch all forums</Resource> <Resource tag="WATCHFORUM_ALL_HELP">Watch all forums and get Email Notifications when a new Topic is created</Resource> </page> <page name="DELETE_ACCOUNT"> <Resource tag="CONFIRM">Are you absolutely sure you want to do this?</Resource> <Resource tag="OPTION_DELETE_TEXT">This will delete your account permanently! All your content will be deleted. After that your account can not be restored</Resource> <Resource tag="OPTION_DELETE_TITLE">Delete your Account (permanently)</Resource> <Resource tag="OPTION_SUSPEND_TEXT">If you just want to take a break from the Forum, then this will suspend your account for 30 days. Your content is still visible</Resource> <Resource tag="OPTION_SUSPEND_TITLE">Suspend your Account for 30 days</Resource> <Resource tag="OPTIONS_TITLE">You have the option to...</Resource> <Resource tag="TITLE">Delete Your {0} Account</Resource> </page> <page name="DELETEMESSAGE"> <Resource tag="DELETE">Delete</Resource> <Resource tag="DELETE_ALL">Delete All Posts?</Resource> <Resource tag="DELETE_REASON">Delete reason</Resource> <Resource tag="ERASEMESSAGE">Erase message from the database (irreversible)</Resource> <Resource tag="FROM">From:</Resource> <Resource tag="LAST10">Last 10 Posts (In reverse order)</Resource> <Resource tag="MESSAGE">Message:</Resource> <Resource tag="POSTED">Posted:</Resource> <Resource tag="PREVIEWTITLE">Message:</Resource> <Resource tag="PRIORITY">Priority:</Resource> <Resource tag="SUBJECT">Subject:</Resource> <Resource tag="UNDELETE">Undelete</Resource> <Resource tag="UNDELETE_REASON">Undelete reason</Resource> <Resource tag="WAIT">You can't post in the next {0:N0} seconds.</Resource> </page> <page name="DIGEST"> <Resource tag="ACTIVETOPICS">Topics Active Today</Resource> <Resource tag="COMMENTS">{0} comments</Resource> <Resource tag="LASTBY">By {0}</Resource> <Resource tag="LINK">More</Resource> <Resource tag="NEWTOPICS">New Topics</Resource> <Resource tag="REMOVALLINK">Adjust your notification settings.</Resource> <Resource tag="REMOVALTEXT">Don't want to receive any more email?</Resource> <Resource tag="STARTEDBY">Started by {0}</Resource> <Resource tag="SUBJECT">Active and New Topics - Daily Digest for {0}</Resource> </page> <page name="EDIT_ALBUMIMAGES"> <Resource tag="ALBUM_TITLE">Title</Resource> <Resource tag="ALBUMS">Albums</Resource> <Resource tag="ALBUMS_COUNT_LIMIT">You can't create more then {0} albums.</Resource> <Resource tag="ASK_DELETEALBUM">Delete this album?</Resource> <Resource tag="ASK_DELETEIMAGE">Delete this image?</Resource> <Resource tag="ERROR_MAXALBUMS">You cannot add any more albums to this account.</Resource> <Resource tag="ERROR_TOOBIG">You cannot upload images that big.</Resource> <Resource tag="IMAGES_COUNT_LIMIT">Your image limit is reached. You can add no more then {0} images.</Resource> <Resource tag="IMAGES_INFO">Note: Currently this Album contains {0} Image(s) you are allowed to have {1} images for each album. The max. filesize for an Image is {2} kb</Resource> <Resource tag="SELECT_FILE">Select an Image File ('.jpg', '.gif', '.png' or '.bmp') you want to upload.</Resource> <Resource tag="TITLE">Add/Edit Album</Resource> </page> <page name="EDIT_AVATAR"> <Resource tag="AVATAR">Avatar</Resource> <Resource tag="AVATARCURRENT">Avatar Atual</Resource> <Resource tag="AVATARDELETE">Limpar Avatar</Resource> <Resource tag="AVATARNEW">Escolher um Novo Avatar</Resource> <Resource tag="AVATARREMOTE">Digita a URL do Avatar a ser utilizado:</Resource> <Resource tag="AVATARTEXT">Texto de Explicação do Avatar</Resource> <Resource tag="AVATARUPLOAD">Carregar Avatar do seu Computador:</Resource> <Resource tag="INVALID_FILE">The file uploaded is not a proper image file.</Resource> <Resource tag="NOAVATAR">[ Sem Avatar ]</Resource> <Resource tag="NOTE_LOCAL">Note If the Image is larger than {0}x{1} pixels, it will be automatically resized. And the size of your image can't be more than {2} KB.</Resource> <Resource tag="NOTE_REMOTE">Note: If the Image is larger than {0}x{1} pixels, it will be automatically resized.</Resource> <Resource tag="OURAVATAR">Selecione o seu Avatar em nossa Coleção:</Resource> <Resource tag="OURAVATAR_SELECT">Clique aqui para selecionar um Avatar</Resource> <Resource tag="TITLE">Modificar Avatar</Resource> <Resource tag="WARN_BIGFILE">O tamanho de sua imagem não pode ser superior a {0} bytes.</Resource> <Resource tag="WARN_FILESIZE">O tamanho de sua imagem era {0} bytes.</Resource> <Resource tag="WARN_RESIZED">A imagem foi redimencionada para caber na área disponível.</Resource> <Resource tag="WARN_SIZE">O tamanho de usa imagem era {0}x{1} pixels.</Resource> <Resource tag="WARN_TOOBIG">O tamanho da imagem não pode ser maior que {0}x{1} pixels.</Resource> </page> <page name="EDIT_PROFILE"> <Resource tag="ABOUTYOU">Sobre você</Resource> <Resource tag="ACTIVITY">Enable Activity Stream (If checked you get Notifications for Mentions, Quotes and Thanks.</Resource> <Resource tag="AIM">Your AIM Name:</Resource> <Resource tag="AUTOWATCH_TOPICS_NOTIFICATION">Watch every topic in which you have made a post and receive email notifications of activities in those topics?</Resource> <Resource tag="BAD_EMAIL">Você digitou um endereço de email inválido.</Resource> <Resource tag="BAD_FACEBOOK">You have entered an incorrect URL as Facebook Profile.</Resource> <Resource tag="BAD_GOOGLE">You have entered an illegal value as Google Profile URL.</Resource> <Resource tag="BAD_HOME">Você digitou um endereço inválido para a sua Home Page.</Resource> <Resource tag="BAD_ICQ">Você digitou um valor inválido para o seu número no ICQ.</Resource> <Resource tag="BAD_MSN">Você digitou um endereço de email inválido para a sua conta no MSN.</Resource> <Resource tag="BAD_WEBLOG">Você digitou um endereço inválido para o seu weblog.</Resource> <Resource tag="BAD_XMPP">You have entered an invalid name for your XMPP account.</Resource> <Resource tag="BIRTHDAY">Birthday</Resource> <Resource tag="CHANGE_EMAIL">Trocar Endereço de Email</Resource> <Resource tag="CITY">City:</Resource> <Resource tag="COUNTRY">Country:</Resource> <Resource tag="DISPLAYNAME">What name do you want displayed to others?</Resource> <Resource tag="DST">Daylight Saving Time</Resource> <Resource tag="DUPLICATED_EMAIL">The e-mail address you have entered is already in use.</Resource> <Resource tag="EDIT_ALBUMS">Edit Albums</Resource> <Resource tag="EMAIL">Você precisa ter um endereço de email válido.</Resource> <Resource tag="FACEBOOK">Your Facebook Profile URL:</Resource> <Resource tag="FIELD_TOOLONG">{0} length cannot be more than {1} characters.</Resource> <Resource tag="FORUM_SETTINGS">Configurações do Fórum</Resource> <Resource tag="GET_LOCATION">Get Location from IP Address</Resource> <Resource tag="GOOGLE">Your Google Profile URL:</Resource> <Resource tag="HIDEME">Hide me from active users</Resource> <Resource tag="HOMEPAGE">Home Page</Resource> <Resource tag="HOMEPAGE2">Sua home page:</Resource> <Resource tag="ICQ">Your ICQ Number:</Resource> <Resource tag="LOCATION">Localização</Resource> <Resource tag="MAIL_SENT">Uma mensagem foi enviada para {0}.\n\nVocê precisará verificar seu novo endereço de email \nabrindo o link do email antes que seu email seja modificado.</Resource> <Resource tag="MESSENGER">Serviço de Mensagem Instantânea</Resource> <Resource tag="METAWEBLOG_API_ID">MetaWeblog API ID:</Resource> <Resource tag="METAWEBLOG_API_ID_INSTRUCTIONS">(Optional setting that [b]may[/b] be required for some blogs (but SubText does not need it). If not sure, try without first.)</Resource> <Resource tag="METAWEBLOG_API_URL">MetaWeblog API URL:</Resource> <Resource tag="METAWEBLOG_API_USERNAME">MetaWeblog API Username:</Resource> <Resource tag="METAWEBLOG_TITLE">Post to MetaWeblog (API Settings)</Resource> <Resource tag="MSN">Your Windows Live-ID (MSN) Name:</Resource> <Resource tag="OVERRIDE_DEFAULT_THEMES">Select different forum theme:</Resource> <Resource tag="PM_EMAIL_NOTIFICATION">Você deseja receber um email de notificação quando receber uma nova mensagem privada?</Resource> <Resource tag="REALNAME2">Qual é o seu verdadeiro nome?</Resource> <Resource tag="REGION">State:</Resource> <Resource tag="SELECT_LANGUAGE">Qual linguagem você deseja utilizar:</Resource> <Resource tag="SELECT_TEXTEDITOR">Select your text editor:</Resource> <Resource tag="SELECT_THEME">Selecione seu tema preferido:</Resource> <Resource tag="SKYPE">Your SKYPE ID:</Resource> <Resource tag="TIMEZONE">Zona de Horário</Resource> <Resource tag="TIMEZONE2">Para fornecer a você horários e datas localizados, nós precisamos saber sua Zona de Horário.</Resource> <Resource tag="TITLE">Editar Perfil</Resource> <Resource tag="TWITTER">Your Twitter Name:</Resource> <Resource tag="USE_MOBILE_THEME">Use Mobile Forum Theme:</Resource> <Resource tag="WEBLOG2">Seu Weblog:</Resource> <Resource tag="WHERE">Onde você mora?</Resource> <Resource tag="XMPP">Your Jabber ID:</Resource> <Resource tag="YIM">Your Yahoo ID:</Resource> </page> <page name="EDIT_SETTINGS"> <Resource tag="TITLE">Edit Settings</Resource> </page> <page name="EDIT_SIGNATURE"> <Resource tag="BBCODE_ALLOWEDALL">Your signature can contain any BBCode.</Resource> <Resource tag="BBCODE_ALLOWEDLIST">You can use the following BBCodes: {0}.</Resource> <Resource tag="BBCODE_FORBIDDEN">Your signature should not contain BBCodes.</Resource> <Resource tag="HTML_ALLOWEDALL">Your signature can contain any HTML tag.</Resource> <Resource tag="HTML_ALLOWEDLIST">You can use the following HTML tags: {0}.</Resource> <Resource tag="HTML_FORBIDDEN">Your signature should not contain HTML tags.</Resource> <Resource tag="SIGNATURE">Assinatura:</Resource> <Resource tag="SIGNATURE_BBCODE_WRONG">Your signature contains forbidden {0} BBCode.</Resource> <Resource tag="SIGNATURE_CHARSMAX">Your signature can have no more than {0} characters.</Resource> <Resource tag="SIGNATURE_MAX">Your signature is too long. It can have no more than {0} characters.</Resource> <Resource tag="SIGNATURE_NOEDIT">You can't edit your signature, but you can delete it completely.</Resource> <Resource tag="SIGNATURE_PERMISSIONS">Signature Permissions</Resource> <Resource tag="SIGNATURE_PREVIEW">Signature Preview</Resource> <Resource tag="TITLE">Editar Assinatura</Resource> </page> <page name="EMAILTOPIC"> <Resource tag="FAILED">Falha no envio do email.\n\n{0}</Resource> <Resource tag="MESSAGE">Mensagem:</Resource> <Resource tag="NEED_EMAIL">Você deve digitar um endereço de email.</Resource> <Resource tag="SEND">Eviar Email</Resource> <Resource tag="SUBJECT">Assunto:</Resource> <Resource tag="TITLE">Enviar uma página para um amigo</Resource> <Resource tag="TO">Enviar para (Endereço de Email):</Resource> <Resource tag="VALID_EMAIL">The Email address you have entered is invalid.</Resource> </page> <page name="EVENTLOG_EVENTS"> <Resource tag="ERROR">Error</Resource> <Resource tag="INFORMATION">Information</Resource> <Resource tag="SQLERROR">Sql Script Error</Resource> <Resource tag="WARNING">Warning</Resource> </page> <page name="FRIENDS"> <Resource tag="APPROVE">Approve</Resource> <Resource tag="APPROVE_ADD">Approve and Add</Resource> <Resource tag="APPROVE_ADD_ALL">Approve and Add All</Resource> <Resource tag="APPROVE_ALL">Approve All</Resource> <Resource tag="BUDDYLIST">Friend List</Resource> <Resource tag="BUDDYLIST_TT">Friends Control Panel</Resource> <Resource tag="DENY">Deny</Resource> <Resource tag="DENY_ALL">Deny All More Than 14 Days Old</Resource> <Resource tag="EDIT_BUDDIES">Edit Friends</Resource> <Resource tag="INFO_NO">You don't have any friends yet</Resource> <Resource tag="INFO_PENDING">You don't have any pending requests</Resource> <Resource tag="NOTIFICATION_APPROVEALL">Approve all requests?</Resource> <Resource tag="NOTIFICATION_APPROVEALLADD">Approve all requests and add them to your Friend list too?</Resource> <Resource tag="NOTIFICATION_DENY">Deny this request?</Resource> <Resource tag="NOTIFICATION_REMOVE">Remove Friend?</Resource> <Resource tag="NOTIFICATION_REMOVE_OLD_UNAPPROVED">Delete all unapproved requests more than 14 days old?</Resource> <Resource tag="PENDING_REQUESTS">Pending Requests</Resource> <Resource tag="POSTS">Posts</Resource> <Resource tag="REQUEST_DATE">Request Date</Resource> <Resource tag="YOUR_BUDDYLIST">Your Friend List</Resource> <Resource tag="YOUR_REQUESTS">Your Requests</Resource> </page> <page name="HELP_INDEX"> <Resource tag="ANOUNCECONTENT">&lt;p&gt;Announcements are special messages posted by the administrator or moderators. They are a simple one-way communication with the users and you can't reply. If you wish to discuss announcements, you will have to create a new thread in the forum.&lt;/p&gt; &lt;p&gt;Announcement topics are displayed at the top of forum listing pages, above regular and sticky topics.&lt;/p&gt; </Resource> <Resource tag="ANOUNCETITLE">Announcements</Resource> <Resource tag="ATTACHMENTSCONTENT">&lt;p&gt;To attach a file to a post, you need to be using the main 'Post Reply' or 'New Topic' page and not 'Quick Reply', or Click the 'Attach' button to on an existing Message.&lt;/p&gt; &lt;p&gt;On this page, below the message box, you will find a Check box 'Attach files to this post?'. When you Click on the 'Post' button you are redirected to the Attachments Page where you can Upload and Attach Files.&lt;/p&gt; &lt;p&gt;To upload a file from your computer, click the 'Browse' button and locate the file. Once you have selected a file, click 'Upload'.&lt;/p&gt; &lt;p&gt;Once the upload is completed the file name will appear over the Upload Section. You can click 'Back' to return to the Topic.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;What files types can be used? How large can attachments be?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;In the attachment window you will find a list of the allowed file types you can use. There may also be an overall quota limit to the number of attachments you can post to the board.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How to add an image to a post?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;If you have uploaded an image as an attachment, they will be automatically generated a thumbnail that will displayed in your message, with an Link to the Full Size Image&lt;/p&gt; &lt;p&gt;To include an image that is not uploaded as an attachment and is located on another website, you can do so by copying the full URL to the image, (not the page on which the image is located), and either pressing the 'Insert Image' icon or by typing [img] before the URL and [/img] after it, ensuring that you do not have any spaces before or after the URL of the image.&lt;/p&gt;</Resource> <Resource tag="ATTACHMENTSTITLE">Attachments and Images</Resource> <Resource tag="BBCODESCONTENT">&lt;p&gt;On this Page you find a list of the BB code tags you can use to format your messages.&lt;/p&gt; &lt;table class="content" width="90%"&gt; &lt;tr&gt; &lt;td class="header1" colspan="2"&gt; BB Codes for Text formatting &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt; Bold Text &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [noparse][b] tag allows you to create text that is bold. &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [noparse][b]This text is bold[/b][/noparse] &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;strong&gt;This text is bold&lt;/strong&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt; Italic Text&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [i] tag allows you to create text that italic.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [i]This text is italic[/i]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;em&gt;This text is italic&lt;/em&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Underline Text&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [u] tag allows you to create text underlined.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [u]This text is underlined[/u]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/td&gt; &lt;td&gt; &lt;u&gt;This text is underlined&lt;/u&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Strike Text&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; Wrap these tags to strike through text&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [s]This text is Strike through[/strike]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;s&gt;This text is Strike through&lt;/s&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Text Color&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [color] tag allows you to change the color of your text, by parsing the color you want.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [color=blue]this text is blue[/color]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;span style="color:blue"&gt;this text is blue&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Text Size&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [size] tag allows you to change the size of your text. You can define a value from 1-9, these values will be converted in percentage values 1=50, 2=70, 3=80, 4=90, 5=100, 6=120, 7=140, 8=160, 9=180&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [size=9]This Text has the font size of 180%[/size]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;span style="font-size:180%"&gt;This Text has the font size of 180%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Text Font&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [font] tag allows you to change the font family of your text.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [font=courier]this text is in the courier font[/font]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;span style="font-family:courier"&gt;this text is in the courier font&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Text Left / Right / Center Direction&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [left], [right] and [center] tags allow you to change the alignment of your text.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [left]this text is left aligned[/left]&lt;br /&gt; [center]this text is center aligned[/center]&lt;br /&gt; [right]this text is right aligned[/right]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;div align="left"&gt;this text is left aligned&lt;/div&gt; &lt;div align="center"&gt;this text is center aligned&lt;/div&gt; &lt;div align="right"&gt;this text is right aligned&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Highlight&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [highlight] tag allows you to highlight your text.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [highlight]this text is highlighted[/highlight]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;span class="highlight"&gt;this text is highlighted&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;br /&gt; &lt;table class="content" width="90%"&gt; &lt;tr&gt; &lt;td class="header1" colspan="2"&gt; BB Codes to create various Links &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Email Links&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [email] tag allows you to link to an email address. You can include an optional parameter to add a Link Name&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [email][email protected][/email]&lt;br /&gt; [[email protected]]Click Here to Email Me[/email]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;a href="mailto:[email protected]" title="[email protected]"&gt;[email protected]&lt;/a&gt;&lt;br /&gt; &lt;a href="mailto:[email protected]" title="Click Here to Email Me"&gt;Click Here to Email Me&lt;/a&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;URL Hyper Links&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [url] tag allows you to link to other websites and files. You can include an optional parameter to 'name' your link. You can also combine [url] tags with [img] tags to create image links.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [url]{0}[/url]&lt;br /&gt; [url={0}]mydomain[/url]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;a href="{0}" target="_blank" title="{0}"&gt;{0}&lt;/a&gt;&lt;br /&gt; &lt;a href="{0}" target="_blank" title="{0}"&gt;mydomain&lt;/a&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Modal URL Hyper Links&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [modalurl] tag allows you to link to other websites and files, the difference between the regular [url] tag is all links will be opened inside an modal dialog. You can include an optional parameter to 'name' your link. You can also combine [url] tags with [img] tags to create image links.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [modalurl]{0}[/modalurl]&lt;br /&gt; [modalurl={0}]mydomain[/modalurl]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;a class="ceebox" href="{0}" target="_blank" title="{0}"&gt;{0}&lt;/a&gt;&lt;br /&gt; &lt;a class="ceebox" href="{0}" target="_blank" title="{0}"&gt;mydomain&lt;/a&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Topic Links&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [topic] tag allows you to link to topics inside the forum, by specifying the topic id and the Link Name.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [topic=123]Go to Topic[/thread] &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;a href="{0}posts/t123-topic-title" target="_blank" title="Go to Topic"&gt;Go to Topic&lt;/a&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Post Links&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [post] tag allows you to link to a specific post from a topic inside the forum, by specifying the post id and the Link Name.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [post=123]Go to Post[/post] &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;a href="{0}posts/m123-topic-title#post123" target="_blank" title="Go to Post"&gt;Go to Post&lt;/a&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;br /&gt; &lt;table class="content" width="90%"&gt; &lt;tr&gt; &lt;td class="header1" colspan="2"&gt; BB Codes to create Lists &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Bullet Lists&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [list] tag allows you to create simple, bullet lists without specifying an option. Within the value portion, each bullet is denoted by the [*] tag.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [list]&lt;br /&gt; [*]list item 1&lt;br /&gt; [*]list item 2&lt;br /&gt; [/list] &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;ul&gt; &lt;li&gt;list item 1&lt;/li&gt; &lt;li&gt;list item 2&lt;/li&gt; &lt;/ul&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Numbered and Alphabetic Lists&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [list=1], [list=a] (or [list=A]) or [list=i] (or [list=I]) tag allows you to create numbered, alphabetic with (capital) letters, or a numbered with (capital) Roman numeral lists.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [list=1]&lt;br /&gt; [*]list item 1&lt;br /&gt; [*]list item 2&lt;br /&gt; [/list]&lt;br /&gt; &lt;br /&gt; [list=a]&lt;br /&gt; [*]list item a&lt;br /&gt; [*]list item b&lt;br /&gt; [/list] &lt;br /&gt;&lt;br /&gt; [list=A]&lt;br /&gt; [*]list item A&lt;br /&gt; [*]list item B&lt;br /&gt; [/list] &lt;br /&gt;&lt;br /&gt; [list=i]&lt;br /&gt; [*]list item i&lt;br /&gt; [*]list item ii&lt;br /&gt; [/list]&lt;br /&gt;&lt;br /&gt; [list=I]&lt;br /&gt; [*]list item I&lt;br /&gt; [*]list item II&lt;br /&gt; [/list]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;ol&gt; &lt;li&gt;list item 1&lt;/li&gt; &lt;li&gt;list item 2&lt;/li&gt; &lt;/ol&gt; &lt;ol type="a"&gt; &lt;li&gt;list item a&lt;/li&gt; &lt;li&gt;list item b&lt;/li&gt; &lt;/ol&gt; &lt;ol type="A"&gt; &lt;li&gt;list item A&lt;/li&gt; &lt;li&gt;list item B&lt;/li&gt; &lt;/ol&gt; &lt;ol type="i"&gt; &lt;li&gt;list item i&lt;/li&gt; &lt;li&gt;list item ii&lt;/li&gt; &lt;/ol&gt; &lt;ol type="I"&gt; &lt;li&gt;list item I&lt;/li&gt; &lt;li&gt;list item II&lt;/li&gt; &lt;/ol&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;br /&gt; &lt;table class="content" width="90%"&gt; &lt;tr&gt; &lt;td class="header1" colspan="2"&gt; BB Codes to add Media Elements (Images, Videos) &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Images&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;p&gt;The [img] tag allows you to add images to your posts. You can also combine [url] tags with [img] tags to create image links. &lt;/p&gt; &lt;p&gt;There is also an Option to enter an Image Description, which will be shown when you hover over the Image with the Mouse.&lt;/p&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [img]{0}Content/images/YAFLogo.svg[/img]&lt;br /&gt;&lt;br /&gt; [img={0}Content/images/YAFLogo.svg]YAF Logo[/img]&lt;br /&gt;&lt;br /&gt; [url={0}] [img]{0}Content/images/YAFLogo.svg[/img] [/url] (Linked) &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;img src="{0}Content/images/YAFLogo.svg" alt="" /&gt;&lt;br /&gt; &lt;br /&gt;&lt;img src="{0}Content/images/YAFLogo.svg" alt="YAF Logo" title="YAF Logo" /&gt;&lt;br /&gt; &lt;br /&gt; &lt;a href="{0}" target="_blank" title="YAF Logo"&gt;&lt;img class="inlineimg" src="{0}Content/images/YAFLogo.svg" alt="" /&gt;&lt;/a&gt; (Linked) &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;You Tube&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [youtube] tag allows the embedding of an &lt;a href="http://www.youtube.com/" title="http://www.youtube.com/"&gt;Youtube&lt;/a&gt; video, by using the Url to the Video.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [youtube]http://www.youtube.com/watch?v=jqxENMKaeCU[/youtube]&lt;br /&gt;&lt;br /&gt; [youtube]http://youtu.be/jqxENMKaeCU[/youtube]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;!-- BEGIN youtube --&gt;&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/jqxENMKaeCU"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/jqxENMKaeCU" type="application/x-shockwave-flash" width="425" height="350"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;!-- END youtube --&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Vimeo&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [vimeo] tag allows the embedding of an &lt;a href="http://www.vimeo.com/" title="http://www.vimeo.com/"&gt;Vimeo&lt;/a&gt; video, by using the Url to the Video.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [vimeo]http://vimeo.com/25451551[/vimeo]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;object width="425" height="350"&gt; &lt;param name="allowfullscreen" value="true" /&gt; &lt;param name="allowscriptaccess" value="always" /&gt; &lt;param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=25451551&amp;amp;server=www.vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" /&gt; &lt;embed src="http://www.vimeo.com/moogaloop.swf?clip_id=25451551&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="425" height="350"&gt; &lt;/embed&gt; &lt;/object&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Google Maps&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [googlemaps] tag allows the embedding a Map from Google Maps, by using the Url to the Map.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [googlemaps]http://maps.google.de/?ll=51.151786,10.415039&amp;amp;spn=21.97528,35.639648&amp;amp;t=h&amp;amp;z=5[/googlemaps]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.de/?ll=51.151786,10.415039&amp;amp;spn=21.97528,35.639648&amp;amp;t=h&amp;amp;z=5&amp;amp;output=embed"&gt;&lt;/iframe&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Google Gadgets (Widget)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [googlewidget] tag allows the embedding a Google Gadget, you an find the The Gadgets from the &lt;a href="http://www.google.com/ig/directory?synd=open"&gt;Google Gadget Gallery&lt;/a&gt;. Select a Gadget and Copy the Html Code for the gadget.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [googlewidget] &amp;lt;script src= &amp;quot;http://www.gmodules.com/ig/ifr?url=http://ralph.feedback.googlepages.com/googlecalendarviewer.xml &amp;amp;synd=open&amp;amp;w=320&amp;amp;h=200&amp;amp;title=&amp;amp; border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;amp;output=js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; [/googlewidget]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;&lt;!-- BEGIN Google Widget --&gt; &lt;script type="text/javascript" src="http://www.gmodules.com/ig/ifr?url=http://ralph.feedback.googlepages.com/googlecalendarviewer.xml&amp;synd=open&amp;w=320&amp;h=200&amp;title=&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"&gt;&lt;/script&gt; &lt;!-- END Google Widget --&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;br /&gt; &lt;table class="content" width="90%"&gt; &lt;tr&gt; &lt;td class="header1" colspan="2"&gt; BB Codes to Quote other Postings, and BB Codes to include Code Text &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Quoting&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [quote] tag allows you to quote a text from a posting.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [quote]Quoted Text.[/quote]&lt;br /&gt;&lt;br /&gt; [quote=John Doe]Quoted Text.[/quote]&lt;br /&gt;&lt;br /&gt; [quote=John Doe;123]Quoted Text.[/quote]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;Quote:&lt;/span&gt;&lt;div class="innerquote"&gt;Quoted Text&lt;/div&gt;&lt;/div&gt;&lt;br /&gt; &lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;John Doe wrote:&lt;/span&gt;&lt;div class="innerquote"&gt;Quoted Text&lt;/div&gt;&lt;/div&gt;&lt;br /&gt; &lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;Originally Posted by: John Doe &lt;a href="{0}yaf_postsm123_posts.aspx#post123"&gt;&lt;img src="{0}Themes/GreenGrey/icon_latest_reply.gif" title="Go to Quoted Post" alt="Go to Quoted Post" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;Quoted Text&lt;/div&gt;&lt;/div&gt;&lt;br /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Code&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [code] tag allows you to post Code Text, if you define the Code Language the Code will be Syntax Highlighted.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [code]&lt;br /&gt; // Hello1.cs&lt;br /&gt; public class Hello1&lt;br /&gt; {{&lt;br /&gt; &amp;nbsp;&amp;nbsp;public static void Main()&lt;br /&gt; &amp;nbsp;{{&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.Console.WriteLine("Hello, World!");&lt;br /&gt; &amp;nbsp;&amp;nbsp;}}&lt;br /&gt; }}&lt;br /&gt; [/code]&lt;br /&gt;&lt;br /&gt; [code=csharp]&lt;br /&gt; // Hello1.cs&lt;br /&gt; public class Hello1&lt;br /&gt; {{&lt;br /&gt; &amp;nbsp;&amp;nbsp;public static void Main()&lt;br /&gt; &amp;nbsp;{{&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.Console.WriteLine("Hello, World!");&lt;br /&gt; &amp;nbsp;&amp;nbsp;}}&lt;br /&gt; }}&lt;br /&gt; [/code]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;div class="code"&gt;&lt;strong&gt;Code:&lt;/strong&gt;&lt;div class="innercode"&gt; // Hello1.cs&lt;br /&gt; public class Hello1&lt;br /&gt; {{&lt;br /&gt; &amp;nbsp;&amp;nbsp;public static void Main()&lt;br /&gt; &amp;nbsp;{{&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.Console.WriteLine("Hello, World!");&lt;br /&gt; &amp;nbsp;&amp;nbsp;}}&lt;br /&gt; }}&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt; &lt;div class="code"&gt;&lt;strong&gt;Code:&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;pre class="brush:csharp;"&gt; // Hello1.cs public class Hello1 {{ public static void Main() {{ System.Console.WriteLine(&amp;quot;Hello, World!&amp;quot;); }} }}&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;br /&gt; &lt;table class="content" width="90%"&gt; &lt;tr&gt; &lt;td class="header1" colspan="2"&gt; BB Codes to show/Hide its Content only to specific users &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Hide&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [hide] tag hides content from people until they press the thank you button for the post.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [hide]Hidden Content[/hide]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;p&gt;If you don't have the right to view the content, you see an Info Message that Informs you way you don't see the Content&lt;/p&gt; &lt;img src="{0}Content/images/HiddenWarnDescription.png" alt="The content of this post is hidden. After you THANK the poster, refresh the page to see the hidden content. You need to thank the Current Post" title="The content of this post is hidden. After you THANK the poster, refresh the page to see the hidden content. You need to thank the Current Post" /&gt; &lt;p&gt;Otherwise as Guest you see a Info Message&lt;/p&gt; &lt;div class="ui-widget"&gt;&lt;div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"&gt;&lt;p&gt;&lt;span class="ui-icon ui-icon-alert" style="float: left; padding: 0 0 3px 2px;"&gt;&lt;/span&gt;This board requires you to be registered and logged-in before you can view hidden messages.&lt;/div&gt;&lt;/div&gt; &lt;p&gt;If you do have access to see the Content you simply see the Hidden Content&lt;/p&gt;&lt;br /&gt; &lt;p&gt;Hidden Content&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Group Hide&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [group-hide] tag Hide the Content from Guests, or other Roles if defined.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [group-hide]Hidden Content[/group-hide]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;p&gt;If you don't have the right to view the content, you see an Info Message that Informs you way you don't see the Content&lt;/p&gt; &lt;div class="ui-widget"&gt;&lt;div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"&gt;&lt;p&gt;&lt;span class="ui-icon ui-icon-alert" style="float: left; padding: 0 0 3px 2px;"&gt;&lt;/span&gt;You have insufficient rights to see the hidden content.&lt;/div&gt;&lt;/div&gt; &lt;p&gt;Otherwise as Guest you see a Info Message&lt;/p&gt; &lt;div class="ui-widget"&gt;&lt;div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"&gt;&lt;p&gt;&lt;span class="ui-icon ui-icon-alert" style="float: left; padding: 0 0 3px 2px;"&gt;&lt;/span&gt;This board requires you to be registered and logged-in before you can view hidden messages.&lt;/div&gt;&lt;/div&gt; &lt;p&gt;If you do have access to see the Content you simply see the Hidden Content&lt;/p&gt;&lt;br /&gt; &lt;p&gt;Hidden Content&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Hide-Thanks&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [hide-thanks] tag hides content from people who have below X thanks received.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [hide-thanks=2]Hidden Content[/hide-thanks]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;p&gt;If you don't have the right to view the content, you see an Info Message that Informs you way you don't see the Content&lt;/p&gt; &lt;div class="ui-widget"&gt;&lt;div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"&gt;&lt;p&gt;&lt;span class="ui-icon ui-icon-alert" style="float: left; padding: 0 0 3px 2px;"&gt;&lt;/span&gt;Hidden Content (You must be registered, and have at least 2 thank(s) received.)&lt;/div&gt;&lt;/div&gt; &lt;p&gt;Otherwise as Guest you see a Info Message&lt;/p&gt; &lt;div class="ui-widget"&gt;&lt;div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"&gt;&lt;p&gt;&lt;span class="ui-icon ui-icon-alert" style="float: left; padding: 0 0 3px 2px;"&gt;&lt;/span&gt;This board requires you to be registered and logged-in before you can view hidden messages.&lt;/div&gt;&lt;/div&gt; &lt;p&gt;If you do have access to see the Content you simply see the Hidden Content&lt;/p&gt;&lt;br /&gt; &lt;p&gt;Hidden Content&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Hide-Posts&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [hide-posts] tag hides content from people who have below X posts.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [hide-posts=10]Hidden Content[/hide-posts]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;p&gt;If you don't have the right to view the content, you see an Info Message that Informs you way you don't see the Content&lt;/p&gt; &lt;div class="ui-widget"&gt;&lt;div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"&gt;&lt;p&gt;&lt;span class="ui-icon ui-icon-alert" style="float: left; padding: 0 0 3px 2px;"&gt;&lt;/span&gt;Hidden Content (You must be registered and have 10 post(s) or more.)&lt;/div&gt;&lt;/div&gt; &lt;p&gt;Otherwise as Guest you see a Info Message&lt;/p&gt; &lt;div class="ui-widget"&gt;&lt;div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"&gt;&lt;p&gt;&lt;span class="ui-icon ui-icon-alert" style="float: left; padding: 0 0 3px 2px;"&gt;&lt;/span&gt;This board requires you to be registered and logged-in before you can view hidden messages.&lt;/div&gt;&lt;/div&gt; &lt;p&gt;If you do have access to see the Content you simply see the Hidden Content&lt;/p&gt;&lt;br /&gt; &lt;p&gt;Hidden Content&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Hide-Reply&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [hide-reply] tag hides content from people until they replied in the same thread.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [hide-reply]Hidden Content[/hide-reply]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;p&gt;If you don't have the right to view the content, you see an Info Message that Informs you way you don't see the Content&lt;/p&gt; &lt;div class="ui-widget"&gt;&lt;div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"&gt;&lt;p&gt;&lt;span class="ui-icon ui-icon-alert" style="float: left; padding: 0 0 3px 2px;"&gt;&lt;/span&gt;Hidden Content (You must be registered and reply to the message to see the hidden Content.)&lt;/div&gt;&lt;/div&gt; &lt;p&gt;Otherwise as Guest you see a Info Message&lt;/p&gt; &lt;div class="ui-widget"&gt;&lt;div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"&gt;&lt;p&gt;&lt;span class="ui-icon ui-icon-alert" style="float: left; padding: 0 0 3px 2px;"&gt;&lt;/span&gt;This board requires you to be registered and logged-in before you can view hidden messages.&lt;/div&gt;&lt;/div&gt; &lt;p&gt;If you do have access to see the Content you simply see the Hidden Content&lt;/p&gt;&lt;br /&gt; &lt;p&gt;Hidden Content&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Hide-Reply-Thanks&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [hide-reply-thanks] tag hides content from people until they either reply in the same thread or press the thank you button for the post.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [hide-reply-thanks]Hidden Content[/hide-reply-thanks]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;p&gt;If you don't have the right to view the content, you see an Info Message that Informs you way you don't see the Content&lt;/p&gt; &lt;div class="ui-widget"&gt;&lt;div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"&gt;&lt;p&gt;&lt;span class="ui-icon ui-icon-alert" style="float: left; padding: 0 0 3px 2px;"&gt;&lt;/span&gt;Hidden Content (You must be registered and reply to the message, or give thank, to see the hidden Content.)&lt;/div&gt;&lt;/div&gt; &lt;p&gt;Otherwise as Guest you see a Info Message&lt;/p&gt; &lt;div class="ui-widget"&gt;&lt;div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"&gt;&lt;p&gt;&lt;span class="ui-icon ui-icon-alert" style="float: left; padding: 0 0 3px 2px;"&gt;&lt;/span&gt;This board requires you to be registered and logged-in before you can view hidden messages.&lt;/div&gt;&lt;/div&gt; &lt;p&gt;If you do have access to see the Content you simply see the Hidden Content&lt;/p&gt;&lt;br /&gt; &lt;p&gt;Hidden Content&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Spoiler&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [spoiler] tag hides content from people until they click on "Show Spoiler".&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [spoiler]Spoiler Content[/spoiler]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;!-- BEGIN spoiler --&gt; &lt;script type="text/javascript"&gt; function toggleSpoiler(btn,elid){{var el=document.getElementById(elid);if(el==null){{return}}if(el.style.display==''){{el.style.display='none';btn.value='Show Spoiler'}}else{{el.style.display='';btn.value='Hide Spoiler'}}}} &lt;/script&gt; &lt;div class="spoilertitle"&gt; &lt;input type="button" value="Show Spoiler" class="spoilerbutton" name="spoilerBtn4360a" onclick="toggleSpoiler(this,'spoil_c3a3b');"/&gt; &lt;/div&gt; &lt;div class="spoilerbox" id="spoil_c3a3b" style="display: none;margin: 5px;padding: 4px;background-color: #eeeeee;border: solid 1px #808080;color: #000000;"&gt; Spoiler Content &lt;/div&gt; &lt;!-- END spoiler --&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;br /&gt; &lt;table class="content" width="90%"&gt; &lt;tr&gt; &lt;td class="header1" colspan="2"&gt; Other &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;User Link&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [userlink] tag generated a link to the provided User Profile Page, and shows if enabled the Users Online Status.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [userlink]Username[/userlink]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; &lt;style type="text/css"&gt;.yafnet .userLinkContainer{{background: url({0}Content/icons/user.png) #fff no-repeat 4px 50%;border: 1px solid #eee;padding: 4px 2px 4px 25px;margin: 3px;font-size: 80%;font-weight: bold; background-color: #fff;-webkit-border-radius: 4px;-moz-border-radius: 4px;border-radius: 4px;}}.yafnet .userLinkContainer:hover{{border: 1px solid #ddd;background-color: #eee;}} &lt;/style&gt; &lt;span class="userLinkContainer"&gt; &lt;a href="{0}yaf_profile1234.aspx" rel="nofollow" title="View profile" target="_blank" id="UserLinkBBCodeFor12224" class="UserLinkBBCode"&gt;Username&lt;/a&gt; &lt;img id="OnlineStatusImage" src="{0}/Themes/OrangeGrey/icon_useronline.png" alt="Online" style="vertical-align: bottom" title="User is Online"/&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="header2" colspan="2"&gt;Stop BB Code Parsing&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; The [noparse] tag allows you to stop the parsing of BB code inside the tag.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Usage&lt;/strong&gt; &lt;/td&gt; &lt;td&gt; [ noparse][noparse][b]Sample text.[/b][/noparse][/ noparse]&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width:15%;padding-left:10px;vertical-align:top;"&gt; &lt;strong&gt;Output&lt;/strong&gt; &lt;/td&gt; &lt;td&gt;[noparse][b]Sample text.[/b][/noparse] &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;p&gt;NOTE: Don't forget to close an open BB Code tag. Tags that are not closed will be not formatted.&lt;/p&gt;</Resource> <Resource tag="BBCODESTITLE">BB Codes List</Resource> <Resource tag="BUDDIESCONTENT">&lt;p&gt;Friends are a friendship function and are a two-way relationship between two users. It is initiated by one user and accepted by the other. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Where is list of Friends displayed?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Your Friends are displayed on the 'My Friends' you can access this page from the Header Link 'My Friends', or from the &lt;strong&gt;User Control Panel&lt;/strong&gt; Link 'Edit Friends'. &lt;/p&gt; &lt;p&gt;&lt;em&gt;Note: If you don't See this Link you don't have any Friends, didn't send any Request or you didn't have any Pending Friend Requests.&lt;/em&gt;&lt;/p&gt; &lt;p&gt;Your Friends are also displayed in your profile page.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How can I request a User as Friend or accept a Friend Request?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;To request a user as Friend, view the profile page of the person you want to become friends with and click the 'Add as Friend' link.&lt;/p&gt; &lt;p&gt;To accept a Friend request friend, go to your 'My Friends' page. On the Tab 'Pending Requests' you see The List of Users with pending requests. There you have three choices...&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;strong&gt;Approve&lt;/strong&gt; - You Become Friend of the User who requests it &lt;/li&gt; &lt;li&gt;&lt;strong&gt;Deny&lt;/strong&gt; - Reject the request&lt;/li&gt; &lt;li&gt;&lt;strong&gt; Approve and Add - &lt;/strong&gt;You become Friend of the User who requests it, and also the User becomes a Friend in your List.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Remove Friend&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;To remove a Friend from Your List go to your 'My Friends' page. On the Tab 'Friend List' Click on the Button 'Remove Friend' of the User you want to remove&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Your Requests&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The Third Tab of the 'My Friends' Page shows your the Pending Request you have made.&lt;/p&gt;</Resource> <Resource tag="BUDDIESTITLE">Friends</Resource> <Resource tag="DISPLAYCONTENT">&lt;p&gt;You have a choice over how you view topics. When you're in a thread, look at the top bar. On the right hand side you'll see 'View'. Click on this and it lets you change how posts are ordered.&lt;/p&gt; &lt;p&gt;You have two choices:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;strong&gt;Normal&lt;/strong&gt; - Posts are displayed chronologically, usually from oldest to newest. Posts are shown in a flat mode so that many posts can be viewed simultaneously. &lt;/li&gt; &lt;li&gt;&lt;strong&gt;Threaded&lt;/strong&gt; - A tree is shown along with every post. This shows you the relationship each post has to the others. It's easy to see who responded to whom. Only one post is shown at a time. By clicking on a single post in the post tree, the page will show that post and all posts made in response to it.&lt;/li&gt; &lt;/ul&gt; </Resource> <Resource tag="DISPLAYTITLE">Thread Display Options</Resource> <Resource tag="EDITDELETECONTENT">&lt;p&gt;If you are currently registered and logged in, you may be able to edit and delete your messages (if the administrator doesn’t turned off this option). &lt;/p&gt; &lt;p&gt;To edit or delete your posts, click the 'Edit' button by the particular post. If your post was the first in the thread, then deleting it may remove the entire thread.&lt;/p&gt; &lt;p&gt;Once you've made your modifications, a note, on the bottom of the post, appear to inform other users that you have edited your post.&lt;/p&gt; &lt;p&gt;Please also enter in The Field 'Reason for edit' a reason why you edited this Message.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Can others edit my posts?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Administrators and moderators may also edit your messages. If they do, a note at the bottom appear telling other users that the post was modified.&lt;/p&gt;</Resource> <Resource tag="EDITDELETETITLE">Editing and Deleting your Posts</Resource> <Resource tag="EDITPROFILECONTENT">&lt;p&gt;You can change your account information using Personal Profile -&amp;gt; 'Edit Profile' option from within the &lt;strong&gt;User Control Panel&lt;/strong&gt;. If you want to change your Password there is an extra Page (Change Password) for that in the &lt;strong&gt;User Control Panel&lt;/strong&gt;, where you can set a new Password.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Edit Profile Page&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;This page allows you to set a number of required and optional details, some of which will be displayed on your public profile. With the exception of your e-mail address, do not enter information that you do not wish to be publicly viewable.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;About You&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;These are the Basic Information about you&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Location&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Here you can optionally enter the Place where you live&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Home Page&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Here you can optionally enter a Home page and/or a Blog.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Instant messaging services&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Here you can optionally enter your messenger Ids of services such as MSN, YAHOO, AIM, ICQ, XMPP, SKYPE, Facebook and Twitter.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Time Zone&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Here you can specify the Time Zone to adjust the board Time and Date to your local time. And set the Daylight Saving Time should it be automatically adjusted.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Forum Settings&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Here you change your Email Address.&lt;/p&gt; &lt;p&gt;And if the Administrator has enabled it you can change the Forum &lt;strong&gt;Language&lt;/strong&gt;, &lt;strong&gt;Theme&lt;/strong&gt; of the Site and the &lt;strong&gt;Text Editor&lt;/strong&gt; (That is used for posting messages).&lt;/p&gt; &lt;p&gt;There is also a Setting &amp;quot;Single Sign On&amp;quot; (If it&amp;rsquo;s activated). If you turn it on you can login thru Facebook, you also enter your Facebook ID above.&lt;/p&gt; </Resource> <Resource tag="EDITPROFILETITLE">Editing User Profile &amp; Forum Settings</Resource> <Resource tag="FORUMSCONTENT">&lt;p&gt;&lt;strong&gt;What is YAF?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;YetAnotherForum.NET (YAF) is The Open Source Discussion Forum for sites running ASP.NET. 100% written in C#, YAF (pronounced like &amp;quot;laugh&amp;quot;) is a unique combination of Open Source, Microsoft's .NET platform and an international collaboration of the .NET developer community. Growing and changing daily, the YAF project is led by Ingo Herbote. YAF runs on any web server that supports ASP.NET v4.0 (and above) and SQL Server. YAF is licensed under Apache 2.0.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How is all of this structured?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;A Forum contains various areas, which themselves contain forums (more specific subject areas) which contain topics which are made up of individual messages (where a user writes something).&lt;/p&gt; &lt;p&gt;The Forums home page has a list of categories and forums, with basic statistics for each, including the number of topics and messages, and which member posted the most recent message.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How do I find my way around?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;When you click on a forum's name, you are taken to the list of topics it contains. A topic is a conversation between members or guests. Each topic starts out as a single message and grows as more individual messages are added by different users. &lt;/p&gt; &lt;p&gt;To start a new Topic simply click on the 'New Topic' button (If you have access to it).&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Paging&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;When there are more topics to display than will fit on a single page, you may see the Pager, which contains page numbers. This indicates that the list of topics has been split over two or more pages.&lt;/p&gt; &lt;p&gt;This method of splitting lists of items over many pages is used throughout the board.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;What are sticky topics?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;'Sticky' Topics can be created by moderators or administrators, and remain 'stuck' to the top of the listing, even if they haven't had any messages recently. Their purpose is to keep important information visible and accessible at all times.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How do I read a topic?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;To read a topic, click on its title. Each message in a topic is created by a member or a guest. You'll see some brief information about the member who created the topic on the left side of the message.&lt;/p&gt; &lt;p&gt;To message a reply to an existing topic, click on the 'Post Reply' button. If the 'Post Reply' button does not appear, it could mean that you are not logged in as a member, or that you do not have permission to reply, or that the topic has been closed for new replies.&lt;/p&gt; &lt;p&gt;If enabled, there will also be a 'Quick Reply' box where you can quickly enter a reply without having to go to the 'Post Reply' page. You need to click the 'Quick Reply' button in a message to activate the quick reply box before you can type into it.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How do I find out more about members?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;To view information about a particular member, click on the user name. This will take you to their public profile page.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;What is the Header?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The Header on top of every page has links to help you move around. With one click you can reach areas such as: My Profile, Help (which you are reading now), Search and other useful features..&lt;/p&gt;</Resource> <Resource tag="FORUMSTITLE">Forums, Topics and Messages</Resource> <Resource tag="GENERALTOPICS">General Forum Usage</Resource> <Resource tag="INDEX">Index</Resource> <Resource tag="MAILSETTINGSCONTENT">&lt;p&gt;On the 'Email Notification Preferences' Page inside your User Control Panel you can set up, what type of Email Notifications you want to receive.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Turn off notifications - &lt;/strong&gt;This Options turns off all Notifications and you won’t receive any emails.&lt;/p&gt; &lt;p&gt; &lt;strong&gt;Notification for all posts on all topics&lt;/strong&gt; - You will receive Instant Email Notifications when someone has posted a new Message.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Notification for topics you've posted to, watched or marked as favorite&lt;/strong&gt; - You will receive Instant Email Notifications when someone has posted a new Message in a topic, you have posted before, a topic you watch, marked as favorite, or a forum.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Notification for topics or forums you've selectively watched (listed below)&lt;/strong&gt; - You will receive Instant Email Notifications when someone has posted a new Message in a topic or forum you have selected to watch (See List Below).&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Receive once daily digest/summary of activity?&lt;/strong&gt; - If this Function is enabled you can turn this option on to get an Email with all new Activities about new topics and messages from current day as daily digest (summary) in one mail&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Receive an email notification when you get a new private message? &lt;/strong&gt; - You can also turn on/off Email Notifications when you receive a private message.&lt;/p&gt; </Resource> <Resource tag="MAILSETTINGSTITLE">Email Notification Preferences</Resource> <Resource tag="MEMBERSLISTCONTENT">&lt;p&gt;The members list shows the registered members of the board. You can view the member list ordered alphabetically by user name, &amp;quot;Joined“ Date , or „last visit“,&lt;/p&gt; &lt;p&gt;There is also a Search Box where you can search for an specific user.&lt;/p&gt; &lt;p&gt;To view the members list, click on 'Members' on main Header at the top of the page (If you don't see the link you didn't have access to that page).&lt;/p&gt; </Resource> <Resource tag="MEMBERSLISTTITLE">Members List</Resource> <Resource tag="MESSENGERCONTENT"> &lt;p&gt;Registered members may be able to send messages to other members of this forum using the private messaging system (If enabled by the Administrator). &lt;/p&gt; &lt;p&gt;When you receive a Private Message you will be notified in the Forum Header, about how many unread message you have, also a Notification will Pop Up. You can also enable an E-Mail Notification&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How do I send Private Messages?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Private messages are similar to emails, but are limited to registered members of this forum. You may be able to include BB code, smilies and images in private messages that you send.&lt;br /&gt; You can send a Private message to a user by clicking on the &amp;ldquo;PM&amp;rdquo; Button on the User Profile of the user, or you click on the &amp;ldquo;New Message&amp;rdquo; Link in your User Control Panel. The message you send will be stored in the &amp;ldquo;Sent Items&amp;rdquo; folder after you send it.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Private Message Folders&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Just like an Email Program you have 3 Folders the Inbox, the Sent Items and the Archive Folder...&lt;/p&gt; &lt;ul&gt; &lt;li&gt;The &amp;ldquo;Inbox&amp;rdquo; Folder contains any new messages you receive. It allows you to view all the messages you have received, along with the name of the person who sent it, the subject of the message, and the date and time it was sent.&lt;/li&gt; &lt;li&gt;The &amp;ldquo;Sent Items&amp;rdquo; copies of all the Private Messages you have sent.&lt;/li&gt; &lt;li&gt;The &amp;ldquo;Archive&amp;rdquo; folder contains only messages you moved to that folder.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;From Each folder you have Options what you want to do with the messages that are in the folder you can simply mark a message and …&lt;br /&gt; &lt;/p&gt; &lt;ul&gt; &lt;li&gt;Archive Selected / Archive All – Move the Message(s) to the archive folder&lt;/li&gt; &lt;li&gt;Export Selected / Export All – Export the Message(s) as file (You Can select the export format bellow –XML-/CSV-/Text-File)&lt;/li&gt; &lt;li&gt;Delete Selected / Delete All – Delete the Message(s)&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;Depending on how many Messages you are allowed to have you should delete some of them from time (You can export them before you delete them to keep them on your local computer). Otherwise when your Mailbox is full you are not able to receive new messages. On the Bottom you will be informed how many Messages you have and how many you can Maximal have.&lt;/p&gt; </Resource> <Resource tag="MESSENGERTITLE">Private Messages (Messenger)</Resource> <Resource tag="MODSADMINSCONTENT">&lt;p&gt;Moderators oversee specific forums. They generally have the ability to edit and delete posts, move topics, and perform other actions. Becoming a moderator for a specific forum is usually rewarded to users who are particularly helpful and knowledgeable in the subject of the forum they are moderating.&lt;/p&gt; &lt;p&gt;Administrators are the people who have overall control of everything that happens on the board. They oversee how the board is styled, what forums to create and how to organize them, what information to require from members and who to appoint as moderators.&lt;/p&gt;</Resource> <Resource tag="MODSADMINSTITLE">Moderators and Administrators</Resource> <Resource tag="MYALBUMSCONTENT">&lt;p&gt;If the Administrator has enable the Album Feature and you are a member who has access to add Albums, you can create Albums of images that are linked to your public profile. Albums can be created by visiting the &lt;strong&gt;User Control Panel&lt;/strong&gt;, and clicking on the 'Edit Albums' link, and then clicking on 'Add New Album'. The Number of how many Albums and how many Images depends on what the Admin has Setup for your User Group which you are in.&lt;/p&gt; &lt;p&gt;Each album can have a title and you can set a Cover for it (Image from the Album) or use random, you can also add a caption for every Image.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How do I upload pictures?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;If you are on the Add/Edit Album Page you select an Image on your Computer and Click Upload to add it to the Album.&lt;/p&gt; &lt;p&gt;You'll have the option to give each picture a caption, and to set one image as the Album cover, which will be displayed on the public profile. To delete an album or edit the title, add image(s) or delete(s) image, click on 'Edit'. To edit or add a caption of an image click on the text bellow the image. If you want to Set a Cover or Remove the Cover Click on the Button bellow the Cover.&lt;/p&gt;</Resource> <Resource tag="MYALBUMSTITLE">Albums</Resource> <Resource tag="MYPICSCONTENT">&lt;p&gt;&lt;strong&gt;What are Avatars?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Avatars are small images that people use to identify or distinguish themselves to other forum members. These Avatars will be displayed as part of the user info in posts, as well as in the public profile.&lt;/p&gt; &lt;p&gt;You can modify your Avatar by clicking on 'Modify Avatar' under the 'Personal Profile' area of the navigation bar within the &lt;strong&gt;User Control Panel&lt;/strong&gt;.&lt;/p&gt; &lt;p&gt;There are three ways to add an Avatar (Maybe less if deactivated by the Administrator)...&lt;/p&gt; &lt;ul&gt; &lt;li&gt;If available in the forum you can choose from an existing collection of Avatars&lt;/li&gt; &lt;li&gt;Enter an existing URL to an Image on a Remote Server&lt;/li&gt; &lt;li&gt;Select an Image from Your Computer and Upload it&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;em&gt;Be aware that the Administrator can set the Allowed Image File types, Image Size, and Image Dimensions (Max Width and Height of an Image).&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;What are signatures?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;'Signatures' contain information that you want to include at the bottom of all your posts. This might include pictures, links to your site(s), quotes, etc.&lt;/p&gt; &lt;p&gt;To modify signatures, click on 'Signature' under the 'Personal Profile' area of the navigation bar within the User CP. On this Page you will be Informed which BB Codes and which HTML Tags you can use, and how long the Signature can be.&lt;/p&gt;</Resource> <Resource tag="MYPICSTITLE">Signatures, Avatars Pictures</Resource> <Resource tag="MYSETTINGSCONTENT">&lt;p&gt;The &lt;strong&gt;User Control Panel&lt;/strong&gt; is where you control your personal settings, options and preferences.&lt;/p&gt; &lt;p&gt;The &lt;strong&gt;Control Panel&lt;/strong&gt; main page will show your Account Summary including your User Name, Email Address, and Number of posts, Member of Groups you are in and since when you are member.&lt;/p&gt; &lt;p&gt;On the Left Side you will find Links to all Sub Pages and Forms that allow you to control..&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Messenger&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Inbox&lt;/li&gt; &lt;li&gt;Sent Items&lt;/li&gt; &lt;li&gt;Archive&lt;/li&gt; &lt;li&gt;New Message&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Personal Profile&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;View Profile&lt;/li&gt; &lt;li&gt;Edit Profile&lt;/li&gt; &lt;li&gt;View Thanks&lt;br /&gt;&lt;/li&gt; &lt;li&gt;Edit Albums&lt;/li&gt; &lt;li&gt;Modify Avatar&lt;/li&gt; &lt;li&gt;Signature&lt;/li&gt; &lt;li&gt;Email Notification Preferences&lt;/li&gt; &lt;li&gt;Change Password&lt;/li&gt; &lt;/ul&gt;</Resource> <Resource tag="MYSETTINGSTITLE">My Settings (User Control Panel)</Resource> <Resource tag="NAVIGATION">Navigation</Resource> <Resource tag="NEWPOSTSCONTENT"> &lt;p&gt;If you are not logged in, the 'Active Topics' link in the Header will show a list of all topics that have been created or updated since your last visit, and on the Second Tab there is a List with showing all Unanswered Topics.&lt;/p&gt; &lt;p&gt;If you are logged in, the 'Active Topics' link will change to 'My Topics'. On the My Topics Page there are 5 Tabs that shows the…&lt;/p&gt; &lt;li&gt;&lt;strong&gt;Active Topics&lt;/strong&gt; - Show a list of all topics that have been created or updated since your last visit.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Unanswered Topics&lt;/strong&gt; - Shows all Topics which have no Replies.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Unread Topics&lt;/strong&gt; - Shows all Topics containing unread messages.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Topics you've posted in&lt;/strong&gt; - Shows all Topics you have created or posted in.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Favorite Topics&lt;/strong&gt; - Shows all Topics which you have tagged as Favorite Topic.&lt;/li&gt; </Resource> <Resource tag="NEWPOSTSTITLE">Viewing New Posts</Resource> <Resource tag="NORESULTS">No Results found.</Resource> <Resource tag="PMCONTENT">&lt;p&gt;You can contact another by sending an E-Mail, you find them on the member list.&lt;/p&gt; &lt;p&gt;This will usually open a page that contains a form where you can enter your message. When you have finished typing your message, press the 'Send E-mail' button and your message will be sent instantly.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Can I see e-mail addresses?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;For privacy reasons, the recipient's e-mail address is not revealed to you during this process, or at any other location in the forums.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Why can't I send an e-mail to someone?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;If you cannot find an e-mail button or link for a member, it means either that the administrator has disabled e-mail functions for this forum, or that the member has said that they do not wish to receive e-mail from other members.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;What is private messaging?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Registered members may also be able to send messages to other members of this forum using the private messaging system.&lt;/p&gt;</Resource> <Resource tag="PMTITLE">Contacting other Members</Resource> <Resource tag="POLLSCONTENT">&lt;p&gt;&lt;em&gt;Polls are an Option to vote on an issue or a question.&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Create a new poll?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;When you post a new Topic, you have the option 'Add Poll?' to create a new poll. If you don't see that option you may not have access to that option.&lt;/p&gt; &lt;p&gt;You can also add new Polls to existing ones. A Topic can have as many Polls you want.&lt;/p&gt; &lt;p&gt;This allows you to ask a question and specify a number of possible responses (Max 10 or the Administrator has set up a higher number) - &lt;em&gt;An Administrator can attach Images (Remote Urls) as Responses&lt;/em&gt;. Other members will then be able to vote for the response they wish, and the results of the voting will be displayed in the thread.&lt;/p&gt; &lt;p&gt;&lt;em&gt;An example poll might be:&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;What is your favorite color?&lt;/em&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt;Blue&lt;/em&gt;&lt;/li&gt; &lt;li&gt;&lt;em&gt;Red&lt;/em&gt;&lt;/li&gt; &lt;li&gt;&lt;em&gt;Yellow&lt;/em&gt;&lt;/li&gt; &lt;li&gt;&lt;em&gt;Green&lt;/em&gt;&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;You may also want to specify a time limit for the poll. For example: run the poll for 10 Days or you can also set it to never expire.&lt;/p&gt; &lt;p&gt;You can also decide if the user should be able to see the results without making a vote or if you enable the Check box 'You should vote in all polls to see results.&lt;em&gt;'&lt;/em&gt; you need to vote before seeing any results.&lt;/p&gt; &lt;p&gt;'Bound voting' Option don't show results, if the poll didn't expire.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Grouping Polls&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;All Polls attached to a Topic are automatically combined as a Group. You can display this Group with Polls on any other Topic you want.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How to vote?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;To vote in a poll, simply click on the option you want to vote for.&lt;/p&gt; &lt;p&gt;Generally, once you have voted in a poll, you will not be able to change your vote later, so place your vote carefully!&lt;/p&gt;</Resource> <Resource tag="POLLSCONTENT">&lt;p&gt;Polls are an Option to vote on an issue or a question.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Create a new poll?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;When you post a new Topic, you have the Option 'Add Poll?' to create a new poll. If you don't see that Option you don’t have access to that Option.&lt;/p&gt; &lt;p&gt;This allows you to ask a question and specify a number of possible responses (Max 10 or the Administrator has set up a higher number) - &lt;em&gt;you can choose Images as Responses&lt;/em&gt;. Other members will then be able to vote for the response they wish, and the results of the voting will be displayed in the thread.&lt;/p&gt; &lt;p&gt;&lt;em&gt;An example poll might be:&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;What is your favorite color?&lt;/em&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt;Blue&lt;/em&gt;&lt;/li&gt; &lt;li&gt;&lt;em&gt;Red&lt;/em&gt;&lt;/li&gt; &lt;li&gt;&lt;em&gt;Yellow&lt;/em&gt;&lt;/li&gt; &lt;li&gt;&lt;em&gt;Green&lt;/em&gt;&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;You may also want to specify a time limit for the poll. For example: run the poll for 10 Days or you can also set it to never expire.&lt;/p&gt; &lt;p&gt;You can also decide if the user should be able to see the results without making a vote or if you enable the Check box 'You should vote in all polls to see results.&lt;em&gt;'&lt;/em&gt; you need to vote before seeing any results.&lt;/p&gt; &lt;p&gt;'Bound voting' Option doesn't show results if group is open for voting.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How to vote?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;To vote in a poll, simply click on the option you want to vote for.&lt;/p&gt; &lt;p&gt;Generally, once you have voted in a poll, you will not be able to change your vote later, so place your vote carefully!&lt;/p&gt; </Resource> <Resource tag="POLLSTITLE">Creating and Participating in Polls</Resource> <Resource tag="POLLSTITLE">Creating and Participating in Polls</Resource> <Resource tag="POPUPSCONTENT">&lt;p&gt;When you have logged in and load the Page you may receive an Pop Up Notification on the center of your Browser Window.&lt;/p&gt; &lt;p&gt;This will inform you about several actions...&lt;/p&gt; &lt;ul&gt; &lt;li&gt;New Private Message(s)&lt;/li&gt; &lt;li&gt;New Friend Requests&lt;/li&gt; &lt;li&gt;Approved Friend Requests&lt;/li&gt; &lt;li&gt;Denied Friend Requests&lt;br /&gt; &lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;em&gt;You may also receive a couple of Information and Error Messages in the same way.&lt;/em&gt;&lt;/p&gt;</Resource> <Resource tag="POPUPSTITLE">PopUp Notifications</Resource> <Resource tag="POSTINGCONTENT">&lt;p&gt;When posting messages you may wish to include some formatting such as bold text, italic text and underlined text.&lt;/p&gt; &lt;p&gt;Adding formatting to your post can be done in two ways:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Using clickable controls similar to those found in most word processors&lt;/li&gt; &lt;li&gt;Typing formatting commands in BB code&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;Clickable controls are available in the Standard and Enhanced WYSIWYG (What You See Is What You Get) editors. The difference between these is that the standard editor will show the BB code in your message and be processed when it is displayed. The enhanced WYSIWYG editor will show your message as it will be displayed while you are typing.&lt;/p&gt; &lt;p&gt;Currently it depends on the Administrator which Editor is enabled ether WYSIWYG or the BB Code Editor.&lt;/p&gt; &lt;p&gt;To use these, simply click the button, for example the B (bold) button and then type to get bold text. Click the button again to stop using that formatting. You can also highlight text that you have already typed then click the formatting button to format existing text.&lt;/p&gt; &lt;p&gt;BB code is a special set of codes similar to HTML that can be used in posts to the board.&lt;/p&gt;</Resource> <Resource tag="POSTINGTITLE">Posting New Topics and Posts</Resource> <Resource tag="PROFILETOPICS">Setting and Profile Features</Resource> <Resource tag="PUBLICPROFILECONTENT">&lt;p&gt;As member you have a publicly viewable profile page. This page includes information provided by the member, either during the registration process or later on via the User Control Panel.&lt;/p&gt; &lt;p&gt;&lt;em&gt;There are a multiple ways to view a members profile...&lt;/em&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;When you see an username click on the name and you will see a dropdown menu which contains an Link 'User Profile' to view the Profile..&lt;/li&gt; &lt;li&gt;The members list allows you to browse all registered members, and quickly click through to public profiles.&lt;/li&gt; &lt;li&gt;When logged in, you can also view your own public profile by logging into the forums and clicking on The 'My Profile' Link in the header at the top of the page, to open the User Control Panel.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Which Informations are shown on that Page?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The Public Profile Page is grouped into 5 Tabs.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;strong&gt;About&lt;/strong&gt; - Shows all Informations the user has provided on his Profile Page such as Real name, gender, Status if User is Online/Offline, Forum Rank, and other.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Statistics&lt;/strong&gt; - Shows statistical information such as Joined date, Last Visit, Number of thanks, Number of times this user was thanked and Number of posts for which this user was thanked.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Last 10 Post&lt;/strong&gt; - Shows if available the Last 10 Messages the User has written&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Friends - &lt;/strong&gt;Shows the Friends the User has in the Forum.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Albums - &lt;/strong&gt;Shows the Albums (if enabled) that the User has generated.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;Personal information such as E-Mail Address or Passwords are &lt;strong&gt;NOT&lt;/strong&gt; shown.&lt;/p&gt;</Resource> <Resource tag="PUBLICPROFILETITLE">My Public Profile</Resource> <Resource tag="READPOSTTOPICS">Reading and Posting Messages</Resource> <Resource tag="RECOVERCONTENT">&lt;p&gt;If you forget your password, you can click on the "&lt;a href="{0}"&gt;Lost Password&lt;/a&gt;" link. This will appear on any page that requires you to fill in your password. &lt;/p&gt; &lt;p&gt;This link brings up a page where you should enter your User Name. An email will be sent to that address shortly, with instructions for resetting your password.&lt;/p&gt; &lt;p&gt; Since passwords are encrypted, there is no way to resend your original password. This option provides you with the ability to reset your password. &lt;/p&gt; &lt;p&gt;You must be able to receive emails to your registered email address for this to work. You may need to check your spam filters and folder if you do not see this email in a few minutes. &lt;/p&gt;</Resource> <Resource tag="RECOVERTITLE">Recover lost password</Resource> <Resource tag="REGISTRATIONCONTENT">&lt;p&gt;The administrator will probably require you to register in order to use all the features of the forum. Being registered gives you an identity on the board, a fixed username on all messages you post and an online public profile.&lt;/p&gt; &lt;p&gt;Registration is free (unless otherwise specified), and offers an extended range of features, including:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Posting new Topics&lt;/li&gt; &lt;li&gt;Replying to other peoples' Topics&lt;/li&gt; &lt;li&gt;Editing your messages&lt;/li&gt; &lt;li&gt;Receiving email notification of replies to messages and topics you specify&lt;/li&gt; &lt;li&gt;Sending private messages to other members&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;strong&gt;How do I register?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;You register by clicking on the 'Register' in the Header. First You have to agree to the Forum Rules and Policies. Then You will be asked to choose a user name, password, a Security Question/Answer, and enter a valid email address. And if the Administrator you need to enter the Shown Captcha code in order to proceed. On the next Page you can optional Provide some basic Profile Settings.&lt;/p&gt; </Resource> <Resource tag="REGISTRATIONTITLE">Registration</Resource> <Resource tag="REPLYINGCONTENT">&lt;p&gt;On some boards you might be able to post and reply as a guest user. But most communities require registration.&lt;/p&gt; &lt;p&gt;A registered user can go to a forum on a board where he has permission to view Topics and leave replies. To reply you have a few options. You can click on the 'Post Reply' button and add a new Message to the end of the Topic. Alternatively, you can leave a quick reply in a Quick Reply box listed below the posts in the Topic.&lt;/p&gt; &lt;p&gt;If you want to Reply to a Message hit the 'Quote' button and you can Reply to a Message with the Quoted Text.&lt;/p&gt;</Resource> <Resource tag="REPLYINGTITLE">Replying to a Message</Resource> <Resource tag="RSSCONTENT">&lt;p&gt;The feeds are currently provided in two formats, RSS and Atom.&lt;/p&gt; &lt;p&gt;If the administrator has enabled Feed syndication, you can get the Feeds for a forums, topics and active topics.&lt;/p&gt; &lt;p&gt;Most modern browsers have facilities for reading RSS feeds and will automatically detect the availability of feeds on YAF forum pages.&lt;/p&gt;</Resource> <Resource tag="RSSTITLE">RSS &amp; Atom Feeds</Resource> <Resource tag="SEARCHFOR">Enter keywords to search for:</Resource> <Resource tag="SEARCHHELP">Search Help</Resource> <Resource tag="SEARCHHELPTITLE">Search Help Topics</Resource> <Resource tag="SEARCHINGCONTENT">&lt;p&gt;To quickly find a thread or post of interest anywhere on the forums, click on the 'Search' link in the Header. Then, type in the keyword or phrase you wish to search for.&lt;/p&gt; &lt;p&gt;For more control over the search, you can restrict your search to individual forums, or find posts or topics written by a specified user. You can also select how many Results should be shown per page.&lt;/p&gt;</Resource> <Resource tag="SEARCHINGTITLE">Searching Forums and Topics</Resource> <Resource tag="SEARCHLONGER">Search Input is to short, must be at least 3 letters.</Resource> <Resource tag="SUBSCRIPTIONSCONTENT">&lt;p&gt;Subscriptions are a way to keep track of different topics and/or forums. You can choose how you are notified about updates.&lt;/p&gt; &lt;p&gt;Or if you don't want to manually subscribe to a topic you want to follow you can turn on the Option 'Notification for topics you've posted to, watched or marked as favorite' in the E-mail Notification Preferences Page inside the User CP.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How to watch a topic?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;To subscribe to a topic, click the 'Options' link at the top of the list of posts then click 'Watch this topic'.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How to watch a forum?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;To subscribe to a forum, click on the 'Watch Forum' link bellow the list of topics.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How do I manage my Subscriptions of Watched topics and forums?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;You can see the List of 'Watched Forums' and 'Watched Topics' from the 'Email Notification Preferences' Page of your User Controp Panel. There you can select which subscriptions you wish to delete by Clicking on the Unwatch button.&lt;/p&gt;</Resource> <Resource tag="SUBSCRIPTIONSTITLE">Subscriptions &amp; Notifications</Resource> <Resource tag="SUBTITLE">Forum Help</Resource> <Resource tag="THANKSCONTENT">&lt;p&gt;The 'Thanks' - System is a function that allows you to give back another user a positive feedback, for example he or she has posted a message you find useful or helps you to solve a problem.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;How to give a User a Thanks?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;If you want to give an User an 'Thank' press the 'Thank' Button inside the Post you want to add it, after that you find your Name in the List of User who gave a Thank at the end of the Message. You can also remove your Thank at any time.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;View all Thanks&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;If you want to view all Posts you gave Thank, or show the list of posts you received thanks got to the page Personal Profile -&amp;gt; 'View Thanks' from within the User Control Panel. There you see Two Tabs...&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;strong&gt;thanked&lt;/strong&gt; - Shows the List of Messages where you gave a thank.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;was thanked -&lt;/strong&gt; Shows the List your Messages where you received thanks.&lt;/li&gt; &lt;/ul&gt;</Resource> <Resource tag="THANKSTITLE">Thanks Feature</Resource> <Resource tag="THREADOPTCONTENT">&lt;p&gt;At the top of each Topic, there is a link 'Options'. By clicking on this link, a menu will appear with a number of options:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;strong&gt;Watch this topic&lt;/strong&gt; - by subscribing to a thread, you will receive periodic email updates on recent activity within it.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Print this topic&lt;/strong&gt; - This will show you a page with the thread post content in a reduced graphics format that is more 'printer friendly'.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Atom Feed&lt;/strong&gt; - This will show the Feed of this Topic with all Post as Feed Items.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Rss Feed&lt;/strong&gt; - This will show the Feed of this Topic with all Post as Feed Items.&lt;/li&gt; &lt;/ul&gt; </Resource> <Resource tag="THREADOPTTITLE">Topic Options</Resource> <Resource tag="TITLE">YetAnotherForum.NET Help</Resource> <Resource tag="WELCOME">Here you can find answers to questions about how the board works. Use the links on the left or the search box below to find what you are looking for. </Resource> </page> <page name="ICONLEGEND"> <Resource tag="ANNOUNCEMENT">Avisos</Resource> <Resource tag="ANNOUNCEMENT_NEW">Aviso (Novas Participações)</Resource> <Resource tag="FORUM_LOCKED">Fórum Bloqueado</Resource> <Resource tag="HOT_NEW_POSTS">Hot Topic (New Posts)</Resource> <Resource tag="HOT_NO_NEW_POSTS">Hot Topic</Resource> <Resource tag="MOVED">Movido</Resource> <Resource tag="NEW_POSTS">Novas Participações</Resource> <Resource tag="NEW_POSTS_LOCKED">Novas Participações (Bloqueado)</Resource> <Resource tag="NO_NEW_POSTS">Nenhuma Nova Participação</Resource> <Resource tag="NO_NEW_POSTS_LOCKED">Nenhuma Nova Participação (Bloqueado)</Resource> <Resource tag="POLL">Enquete</Resource> <Resource tag="POLL_NEW">Enquete (Novas Participações)</Resource> <Resource tag="STICKY">Destacado</Resource> <Resource tag="STICKY_NEW">Sticky (New Posts)</Resource> </page> <page name="IM_AIM"> <Resource tag="TITLE">AOL Messenger</Resource> </page> <page name="IM_EMAIL"> <Resource tag="BODY">Digite sua mensagem aqui:</Resource> <Resource tag="ERROR">Ocorreu um problema ao enviar sua mensagem.</Resource> <Resource tag="SEND">Enviar E-mail</Resource> <Resource tag="SUBJECT">Assunto:</Resource> <Resource tag="TITLE">E-mail</Resource> </page> <page name="IM_ICQ"> <Resource tag="BODY">Digite a sua mensagem aqui:</Resource> <Resource tag="EMAIL">Seu E-mail:</Resource> <Resource tag="NAME">Seu Nome:</Resource> <Resource tag="SEND">Enviar Mensagem</Resource> <Resource tag="TITLE">ICQ</Resource> </page> <page name="IM_MSN"> <Resource tag="TITLE">MSN Messenger</Resource> </page> <page name="IM_SKYPE"> <Resource tag="TITLE">Skype(tm) Calling</Resource> </page> <page name="IM_XMPP"> <Resource tag="SERVEROTHER">The user uses the servers {0}. To communicate to him you should register there, as you don't have an account.</Resource> <Resource tag="SERVERSAME">The user uses the same XMPP server - you can connect to him using a client like Pidgin. His account is {0}</Resource> <Resource tag="SERVERYOU">Are you sure you want speak to yourself?</Resource> <Resource tag="TITLE">XMPP Messenger</Resource> </page> <page name="IM_YIM"> <Resource tag="TITLE">Yahoo! Messenger</Resource> </page> <page name="INFO"> <Resource tag="ACCESSDENIED">Você tentou ter acesso a uma área não disponível para você.</Resource> <Resource tag="CONTINUE">Continue...</Resource> <Resource tag="COOKIES">To use the forum you should enable cookies in your browser.</Resource> <Resource tag="DISABLED">The administrator of this forum has disabled this feature.</Resource> <Resource tag="ECMAREQUIRED">To use the forum you should enable JavaScript in your browser.</Resource> <Resource tag="ECMAVERSION">The JavaScript version is unsupported. Please use a more new browser version/</Resource> <Resource tag="EXCEPTION">Você está conectado como</Resource> <Resource tag="FAILURE">There's been a system error processing your request. Please contact the forum admin explaining what you were doing when it happened.</Resource> <Resource tag="HOSTADMINPERMISSIONSREQUIRED">To access the area your board's Host Admin should set some extra permissions for you.</Resource> <Resource tag="INVALID">You've passed an invalid value to the forum.</Resource> <Resource tag="MODERATED">Uma vez que você participou de um fórum moderado, o moderador precisa aprovar sua mensagem para que ela seja exibida.</Resource> <Resource tag="REGISTRATION">Uma mensagem foi enviada para o endereço de email que você forneceu. Por favor, leia as instruções contidas nesta mensagem para ter acesso completo ao fórum.</Resource> <Resource tag="SUSPENDED">Sua conta foi temporariamente suspensa. Esta suspensão deve terminar em {0}.</Resource> <Resource tag="SUSPENDED_REASON">&lt;br /&gt;&lt;br /&gt;For the following Reason: "{0}".</Resource> <Resource tag="TITLE_ACCESSDENIED">Acesso Negado</Resource> <Resource tag="TITLE_COOKIES">Requires cookies</Resource> <Resource tag="TITLE_ECMAREQUIRED">JavaScript required</Resource> <Resource tag="TITLE_ECMAVERSION">JavaScript version</Resource> <Resource tag="TITLE_EXCEPTION">Informação</Resource> <Resource tag="TITLE_FAILURE">Failure</Resource> <Resource tag="TITLE_HOSTADMINPERMISSIONSREQUIRED">Host Admin permissions required!</Resource> <Resource tag="TITLE_INVALID">Invalid</Resource> <Resource tag="TITLE_MODERATED">Informação</Resource> <Resource tag="TITLE_REGISTRATION">Obrigado</Resource> <Resource tag="TITLE_SUSPENDED">Suspenso</Resource> </page> <page name="LANGUAGE"> <Resource tag="CHARSET">#ABCDEFGHIJKLMNOPQRSTUVWXYZ</Resource> </page> <page name="LOGIN"> <Resource tag="AUTH_CONNECT">Login or Register with {0}</Resource> <Resource tag="AUTH_CONNECT_ACCOUNT">Connect an Existing forums account with your {0} account You need to login thru the forums first. {1}</Resource> <Resource tag="AUTH_CONNECT_FACEBOOK">&lt;strong&gt;The Facebook email address must match the forum user email address to connect the user.&lt;/strong&gt;</Resource> <Resource tag="AUTH_CONNECT_GOOGLE">&lt;strong&gt;The Google email address must match the forum user email address to connect the user.&lt;/strong&gt;</Resource> <Resource tag="AUTH_CONNECT_HELP">Login or Register with {0} or connect an existing User Account with {0}.</Resource> <Resource tag="AUTH_CONNECT_TWITTER">&lt;strong&gt;The Twitter user name must match the forum user name to connect the user.&lt;/strong&gt;</Resource> <Resource tag="AUTH_LOGIN_EXISTING">Login with an user Account that is connected with {0}. Or if no account is found a new account will be automatically created in the forums.</Resource> <Resource tag="AUTH_NO_ACCESS_TOKEN">Could not get access_token!</Resource> <Resource tag="AUTO">Acesso Automático:</Resource> <Resource tag="BOTH_USERNAME_EMAIL">Tanto o nome de usuário como o endereço de email devem ser digitados.</Resource> <Resource tag="CAPS_LOCK">Caps Lock is on</Resource> <Resource tag="CONNECT_VIA">Or Connect via</Resource> <Resource tag="EMAIL">Endereço de Email</Resource> <Resource tag="EMAIL_SENT_PASSWORD">Uma mensagem voi enviada com sua nova senha.</Resource> <Resource tag="FACEBOOK_LOGIN">Login with Facebook</Resource> <Resource tag="FORUM_LOGIN">Acesso ao Fórum</Resource> <Resource tag="GOOGLE_LOGIN">Login with Google</Resource> <Resource tag="LOSTPASSWORD">Esqueceu a Senha</Resource> <Resource tag="PASSWORD">Senha:</Resource> <Resource tag="PASSWORD_ERROR">O nome de usuário e/ou a senha informados estão incorretos. Por favor, tente novamente.</Resource> <Resource tag="RECOVER">Recuperar Senha</Resource> <Resource tag="RECOVER_ERROR">Ocorreu um problema ao tentar criar sua nova senha.</Resource> <Resource tag="REGISTER_INSTEAD">Register Instead as new User</Resource> <Resource tag="SENDPASSWORD">Enviar Senha</Resource> <Resource tag="SSO_DEACTIVATED">Single Sign On is currently deactivated by the Administrator!</Resource> <Resource tag="SSO_DEACTIVATED_BYUSER">Single Sign On is deactivated for that User, you need to activate it in your Profile Settings to use that feature.</Resource> <Resource tag="SSO_FACEBOOK_FAILED">The Facebook Login failed, User does not exists, or the account is not connected.</Resource> <Resource tag="SSO_FACEBOOK_FAILED2">The Facebook Login failed, an user account with the same email address as the facebook account already exists, please try to connect you your forum account instead.</Resource> <Resource tag="SSO_FACEBOOK_FAILED3">The Facebook Login failed, because the user does not provide a email address for the account.</Resource> <Resource tag="SSO_FACEBOOKNAME_NOTMATCH">The Facebook email address must match the Forum email adress!</Resource> <Resource tag="SSO_FAILED">New Registrations are disabled.</Resource> <Resource tag="SSO_GOOGLE_FAILED">The Google Login failed, User does not exists, or the account is not connected.</Resource> <Resource tag="SSO_GOOGLE_FAILED2">The Google Login failed, an user account with the same email address as the Google account already exists, please try to connect you your forum account instead.</Resource> <Resource tag="SSO_GOOGLENAME_NOTMATCH">The Google email address must match the Forum email adress!</Resource> <Resource tag="SSO_ID_NOTMATCH">The User Account is not connected or not found</Resource> <Resource tag="SSO_TWITTER_FAILED">The Twitter Login failed, User does not exists.</Resource> <Resource tag="SSO_TWITTER_FAILED2">The Twitter Login failed, an user account with the same user name as the Twitter account already exists, please try to connect you your forum account instead.</Resource> <Resource tag="SSO_TWITTERNAME_NOTMATCH">The Twitter User Name must match the Forum Username!</Resource> <Resource tag="TITLE">Acesso</Resource> <Resource tag="TWITTER_DM">You have received further Information to your new Account as Private Message on the Forum.</Resource> <Resource tag="TWITTER_DM_ACCOUNT">Your {0} Forum Account Information: Username "{1}" Password "{2}"</Resource> <Resource tag="TWITTER_LOGIN">Login with Twitter</Resource> <Resource tag="UPDATE_EMAIL">Please Update Your E-Mail Adress now!</Resource> <Resource tag="USERNAME">Nome do Usuário:</Resource> <Resource tag="WRONG_USERNAME_EMAIL">Nome de usuário ou endereço de email incorreto.</Resource> </page> <page name="MEMBERS"> <Resource tag="ALL">All</Resource> <Resource tag="AVATAR">Avatar</Resource> <Resource tag="INVALIDPOSTSVALUE">You've entered an invalid value for number of posts.</Resource> <Resource tag="JOINED">Associado em</Resource> <Resource tag="JOINED_ASC">Joined asc</Resource> <Resource tag="JOINED_DESC">Joined desc</Resource> <Resource tag="LASTVISIT">Last visit</Resource> <Resource tag="LASTVISIT_ASC">Last visit asc</Resource> <Resource tag="LASTVISIT_DESC">Last visit desc</Resource> <Resource tag="NUMPOSTSEQUAL">is equal to</Resource> <Resource tag="NUMPOSTSLESSOREQUAL">is less or equal to</Resource> <Resource tag="NUMPOSTSMOREOREQUAL">is more or equal to</Resource> <Resource tag="PAGES">{0} Páginas:</Resource> <Resource tag="POSTS">Participações</Resource> <Resource tag="POSTS_ASC">Posts asc</Resource> <Resource tag="POSTS_DESC">Posts desc</Resource> <Resource tag="RANK">Classe</Resource> <Resource tag="RANK_ASC">Rank A-Z</Resource> <Resource tag="RANK_DESC">Rank Z-A</Resource> <Resource tag="SEARCH_MEMBER">Member Name Contains:</Resource> <Resource tag="SEARCH_MEMBERS">Search Members</Resource> <Resource tag="SEARCH_RANK">Rank:</Resource> <Resource tag="SEARCH_ROLE">Role:</Resource> <Resource tag="SORT_BY">Sort by</Resource> <Resource tag="TITLE">Membros</Resource> <Resource tag="USERNAME">Nome do Usuário</Resource> <Resource tag="USERNAME_ASC">Name A-Z</Resource> <Resource tag="USERNAME_DESC">Name Z-A</Resource> </page> <page name="MESSAGE"> <Resource tag="INBOX">Caixa de Entrada</Resource> <Resource tag="MSG_DELETED">Mensagem excluída.</Resource> <Resource tag="POSTED">Enviado:</Resource> <Resource tag="SENTITEMS">Itens Enviados</Resource> </page> <page name="MESSAGEHISTORY"> <Resource tag="COMPARE_TITLE">Message Edit History Post Comparsion</Resource> <Resource tag="COMPARE_VERSIONS">Compare versions</Resource> <Resource tag="CONFIRM_RESTORE">Are you really want to restore that Message version?</Resource> <Resource tag="CURRENTMESSAGE">Current edition</Resource> <Resource tag="EDITED">Edited:</Resource> <Resource tag="EDITEDBY">Edited by:</Resource> <Resource tag="EDITEDBY_MOD">Edited By an Moderator</Resource> <Resource tag="EDITEREASON">Edit reason:</Resource> <Resource tag="GOMODERATE">Continue moderate</Resource> <Resource tag="HISTORYSTART">History editions</Resource> <Resource tag="MESSAGE_EDITEDAT">Message Edited at </Resource> <Resource tag="MESSAGE_RESTORED">Message was successfully restored!</Resource> <Resource tag="NEW">New</Resource> <Resource tag="NOTHING_SELECTED">Nothing selected</Resource> <Resource tag="OLD">Old</Resource> <Resource tag="ORIGINALMESSAGE">Original edition</Resource> <Resource tag="POSTED">Posted:</Resource> <Resource tag="RESTORE_MESSAGE">Restore Version</Resource> <Resource tag="SELECT_BOTH">Please select one old and one new Message</Resource> <Resource tag="SELECT_DIFFERENT">You must select two different versions to make a valid comparison.</Resource> <Resource tag="TEXT_CHANGES">Text Changes</Resource> <Resource tag="TITLE">Message History</Resource> <Resource tag="TOMESSAGE">Go to message</Resource> </page> <page name="MOD_FORUMUSER"> <Resource tag="ACCESSMASK">Permissão de Acesso:</Resource> <Resource tag="CANCEL">Cancel</Resource> <Resource tag="FIND">Localizar Usuários</Resource> <Resource tag="TITLE">Usuário do Fórum</Resource> <Resource tag="UPDATE">Atualizar</Resource> <Resource tag="USER">Usuário:</Resource> </page> <page name="MODERATE"> <Resource tag="ACCEPTED">Aceito</Resource> <Resource tag="ACCESSMASK">Máscara de Acesso</Resource> <Resource tag="BY">por {0}</Resource> <Resource tag="CONFIRM_DELETE">Excluir este Tópico?</Resource> <Resource tag="CONFIRM_DELETE_USER">Delete this user?</Resource> <Resource tag="CONFIRM_DELETETOPICLINK">Delete the topic link? The topic itself will not be deleted.</Resource> <Resource tag="DELETED">Tópico excluído.</Resource> <Resource tag="EDIT">Editar</Resource> <Resource tag="INVITE">Convidar Usuário</Resource> <Resource tag="LASTPOST">Última Participação</Resource> <Resource tag="MEMBERS">Membros</Resource> <Resource tag="MODERATEINDEX_TITLE">Moderate Reported Posts and Not Approved Posts</Resource> <Resource tag="MOVE_TO_DIFFERENT">The forum you want to move the topic(s) must be different then the current forum.</Resource> <Resource tag="MOVED">Topic(s) Moved</Resource> <Resource tag="NO_POSTS">Nenhuma participação</Resource> <Resource tag="NOMODERATION">Currently there are no Posts that need approval. And there are also no Posts that were reported.</Resource> <Resource tag="NOTHING">You need to select atleast one topic</Resource> <Resource tag="REMOVE">Remover</Resource> <Resource tag="REPLIES">Respostas</Resource> <Resource tag="TITLE">Moderar</Resource> <Resource tag="TOPIC_STARTER">Tópico Inicial</Resource> <Resource tag="TOPICLINK_DELETED">The topic link is deleted.</Resource> <Resource tag="TOPICS">Tópicos</Resource> <Resource tag="USER">Usuário</Resource> <Resource tag="VIEWS">Visualizações</Resource> </page> <page name="MODERATE_DEFAULT"> <Resource tag="CATEGORY">Categoria</Resource> <Resource tag="FORUM">Fórum</Resource> <Resource tag="REPORTED">Reported as Abuse Posts</Resource> <Resource tag="SPAM_REPORTED">Message was successfully reported as SPAM to the Akismet SPAM Service</Resource> <Resource tag="SPAM_REPORTED_FAILED">SPAM Reporting has been failed. Please Check your API Key!</Resource> <Resource tag="TITLE">Moderação</Resource> <Resource tag="UNAPPROVED">Não Aprovadas</Resource> </page> <page name="MODERATE_FORUM"> <Resource tag="APPROVE">Aprovar Participação</Resource> <Resource tag="APPROVED">Participação Aprovada.</Resource> <Resource tag="ASK_DELETE">Excluir esta participação?</Resource> <Resource tag="COPYOVER">Update message text</Resource> <Resource tag="DELETE">Excluir Participação</Resource> <Resource tag="DELETED">Participação Excluída.</Resource> <Resource tag="HISTORY">History</Resource> <Resource tag="MODIFIED">Post has been changed!</Resource> <Resource tag="NUMBERREPORTED">Number of times reported:</Resource> <Resource tag="ORIGINALMESSAGE">Original message:</Resource> <Resource tag="REPLYTO">Reply by private message to</Resource> <Resource tag="REPORT_SPAM">Report as SPAM</Resource> <Resource tag="REPORTED">Reported posts</Resource> <Resource tag="REPORTEDBY">Reported by:</Resource> <Resource tag="RESOLVE">Resolve Post Copies</Resource> <Resource tag="RESOLVED">Mark as resolved</Resource> <Resource tag="RESOLVEDBY">Resolved by:</Resource> <Resource tag="RESOLVEDFEEDBACK">Message has been marked as resolved.</Resource> <Resource tag="TOP">Voltar ao Topo</Resource> <Resource tag="TOPIC">Topic:</Resource> <Resource tag="UNAPPROVED">Não Aprovadas</Resource> </page> <page name="MOVEMESSAGE"> <Resource tag="CREATE_TOPIC">Create Topic From Message</Resource> <Resource tag="EMPTY_TOPIC">Topic name is empty</Resource> <Resource tag="MOVE" /> <Resource tag="MOVE_MESSAGE">Move Message</Resource> <Resource tag="MOVE_TITLE">Move Message to a Different Topic</Resource> <Resource tag="NEW_TOPIC">Create Topic to move to:</Resource> <Resource tag="SELECT_FORUM_MOVETO">Select Forum to move to:</Resource> <Resource tag="SELECT_TOPIC_MOVETO">Select Topic to move to:</Resource> <Resource tag="SPLIT_TITLE">Split Message in to a new Topic</Resource> <Resource tag="TITLE">Move Message to a Different Topic or split in to a new Topic</Resource> </page> <page name="MOVETOPIC"> <Resource tag="LEAVE_POINTER">Leave link to moved topic in original forum</Resource> <Resource tag="MOVE">Mover Tópico</Resource> <Resource tag="POINTER_DAYS">Days to keep link to topic:</Resource> <Resource tag="POINTER_DAYS_INVALID">You should enter a positive integer value for the link</Resource> <Resource tag="SELECT_FORUM">Selecione o fórum para o qual você deseja mover:</Resource> <Resource tag="TITLE">Mover Tópico</Resource> </page> <page name="MYTOPICS"> <Resource tag="ACTIVETOPICS">Active Topics</Resource> <Resource tag="ATOMFEED">Atom Feed</Resource> <Resource tag="BY">by {0}</Resource> <Resource tag="FAVORITETOPICS">Favorite Topics</Resource> <Resource tag="GUESTTITLE">Active Topics</Resource> <Resource tag="LAST_24">( Last 24 Hours )</Resource> <Resource tag="LAST_DAY">last day</Resource> <Resource tag="LAST_EIGHT_HOURS">last 8 hours</Resource> <Resource tag="LAST_HOUR">last hour</Resource> <Resource tag="LAST_MONTH">last month</Resource> <Resource tag="LAST_TWO_DAYS">last two days</Resource> <Resource tag="LAST_TWO_HOURS">last two hours</Resource> <Resource tag="LAST_TWO_WEEKS">last two weeks</Resource> <Resource tag="LAST_VISIT">last visit at {0}</Resource> <Resource tag="LAST_WEEK">last week</Resource> <Resource tag="LASTPOST">Last Post</Resource> <Resource tag="MEMBERTITLE">My Topics</Resource> <Resource tag="MYTOPICS">Topics you've posted in</Resource> <Resource tag="NO_POSTS">No Posts</Resource> <Resource tag="REPLIES">Replies</Resource> <Resource tag="RSSFEED">Rss Feed</Resource> <Resource tag="SHOW_ALL">Show All</Resource> <Resource tag="SINCE">Since</Resource> <Resource tag="TOPIC_STARTER">Topic Starter</Resource> <Resource tag="TOPICS">Topics</Resource> <Resource tag="UNANSWEREDTOPICS">Unanswered Topics</Resource> <Resource tag="UNREADTOPICS">Unread Topics</Resource> <Resource tag="VIEWS">Views</Resource> </page> <page name="PM"> <Resource tag="ARCHIVE">Archive</Resource> <Resource tag="ARCHIVEALL">Archive All</Resource> <Resource tag="ARCHIVESELECTED">Archive Selected</Resource> <Resource tag="CONFIRM_ARCHIVEALL">Archive all messages?</Resource> <Resource tag="CONFIRM_DELETE">Delete all selected messages?</Resource> <Resource tag="CONFIRM_DELETEALL">Delete all messages?</Resource> <Resource tag="DATE">Date</Resource> <Resource tag="DATE_ASC">Date asc</Resource> <Resource tag="DATE_DESC">Date desc</Resource> <Resource tag="DELETEALL">Delete All</Resource> <Resource tag="DELETESELECTED">Delete Selected</Resource> <Resource tag="EXPORTALL">Export All</Resource> <Resource tag="EXPORTFORMAT">Export Format:</Resource> <Resource tag="EXPORTSELECTED">Export Selected</Resource> <Resource tag="FROM">From</Resource> <Resource tag="FROM_ASC">From A-Z</Resource> <Resource tag="FROM_DESC">From Z-A</Resource> <Resource tag="INBOX">Inbox</Resource> <Resource tag="MARK_ALL_ASREAD">Mark All As Read</Resource> <Resource tag="MARK_ASREAD">Mark As Read</Resource> <Resource tag="MSG_ARCHIVED">Message was archived.</Resource> <Resource tag="MSG_ARCHIVED+">{0} messages were archived.</Resource> <Resource tag="MSG_DELETED">Message was deleted.</Resource> <Resource tag="MSG_NOSELECTED">No Message Selected, nothing Exported.</Resource> <Resource tag="MSGDELETED1">1 message was deleted.</Resource> <Resource tag="MSGDELETED2">{0} messages were deleted.</Resource> <Resource tag="NEW_MESSAGE">New Message</Resource> <Resource tag="NO_MESSAGES">No messages were found.</Resource> <Resource tag="POSTED">Posted:</Resource> <Resource tag="SENTITEMS">Sent Items</Resource> <Resource tag="SUBJECT">Subject</Resource> <Resource tag="SUBJECT_ASC">Subject A-Z</Resource> <Resource tag="SUBJECT_DESC">Subject Z-A</Resource> <Resource tag="TITLE">Private Messages</Resource> <Resource tag="TO">To</Resource> <Resource tag="TO_ASC">To A-Z</Resource> <Resource tag="TO_DESC">To Z-A</Resource> </page> <page name="PMESSAGE"> <Resource tag="ALLBUDDIES">All Friends</Resource> <Resource tag="ALLUSERS">Todos os Usuários</Resource> <Resource tag="CLEAR">Clear</Resource> <Resource tag="FINDUSERS">Localizar Usuários</Resource> <Resource tag="MAX_RECIPIENT_INFO">You can send message to maximum of [b]{0}[/b] users at a time.</Resource> <Resource tag="MESSAGE">Mensagem:</Resource> <Resource tag="MULTI_RECEIVER_INFO">Separate multiple user names with ';'</Resource> <Resource tag="NEED_MESSAGE">O conteúdo da mensagem está em branco.</Resource> <Resource tag="NEED_MORE_LETTERS">Please enter, at least, the first two letters of the user you wish to locate.</Resource> <Resource tag="NEED_SUBJECT">Você deve digitar um assunto.</Resource> <Resource tag="NEED_TO">Você não informou o destinatário da mensagem.</Resource> <Resource tag="NO_SUCH_USER">Usuário não encontrado.</Resource> <Resource tag="NOT_GUEST">Você não pode enviar mensagens privadas para usuários convidados.</Resource> <Resource tag="OWN_PMBOX_FULL">Your Private Message box is full. Maximum allowed is {0}. Please delete messages to free up space.</Resource> <Resource tag="PMLIMIT_ALL"> You have {0} private messages: {1} in Inbox and {2} in Outbox, {3} In Archive from total {4} allowed. Your mail is box filled on {5}%. </Resource> <Resource tag="PREVIEWTITLE">Preview:</Resource> <Resource tag="RECIPIENTS_PMBOX_FULL">User {0} has a full Private Message Inbox. Sorry, they will not receive your PM until they free up space.</Resource> <Resource tag="REPORT_BODY">I would like to Report the Message: {0} for the following Reason...</Resource> <Resource tag="REPORT_SUBJECT">Report a Private Message from User: {0}</Resource> <Resource tag="REPORTED_SUBJECT">Re: Reply to you post report.</Resource> <Resource tag="SAVE">Enviar</Resource> <Resource tag="SUBJECT">Assunto:</Resource> <Resource tag="TITLE">Enviar uma Mensagem Privada</Resource> <Resource tag="TO">Para:</Resource> <Resource tag="TOO_MANY_RECIPIENTS">Too many recipients. Maximum allowed is {0}.</Resource> <Resource tag="USER_NOTFOUND">The User you are looking for does not exist. Please try again or use the show "All Users" Button.</Resource> </page> <page name="POLLEDIT"> <Resource tag="ASK_POLL_DELETE">Do you really want to remove the poll?</Resource> <Resource tag="ASK_POLL_DELETE_ALL">Do you really want to remove the poll completely?</Resource> <Resource tag="ASK_POLLGROUP_DELETE">Do you really want to remove the poll group?</Resource> <Resource tag="ASK_POLLGROUP_DETACH">Do you really want to detach the poll group?</Resource> <Resource tag="ASK_POLLROUP_DELETE_ALL">Do you really want to remove the poll group completely?</Resource> <Resource tag="ASK_POLLROUP_DELETE_EVR">Do you really want to remove the poll group from every place?</Resource> <Resource tag="ASK_POLLROUP_DETACH_EVR">Do you really want to detach the poll group from every place?</Resource> <Resource tag="CHOICE">Choice {0}:</Resource> <Resource tag="CREATEPOLL">Create Poll</Resource> <Resource tag="DETACHGROUP_EVERYWHERE">Detach Group Everywhere</Resource> <Resource tag="DETACHPOLL">Detach Poll</Resource> <Resource tag="DETACHPOLLGROUP">Detach Group</Resource> <Resource tag="EDITPOLL">Edit Poll</Resource> <Resource tag="EXPIRE_BAD">Incorrect expiration date</Resource> <Resource tag="NEED_CHOICES">A poll needs at least two choices.</Resource> <Resource tag="NEED_QUESTION">You must enter a poll question.</Resource> <Resource tag="POLL_ALLOWSKIPVOTE">Allow to not vote and see results.</Resource> <Resource tag="POLL_ALLOWSKIPVOTE_INFO">You can skip voting and results.</Resource> <Resource tag="POLL_CLOSEDBOUND">You can't see results before the poll expires.</Resource> <Resource tag="POLL_EXPIRE">Run Poll For:</Resource> <Resource tag="POLL_EXPIRE_EXPLAIN">[b]Days[/b] [ Leave blank to never expire ]</Resource> <Resource tag="POLL_EXPIRED">The poll is expired.</Resource> <Resource tag="POLL_IMGWIDTH">Image width in px:</Resource> <Resource tag="POLL_MULTIPLECHOICES">Allow to vote for many choices</Resource> <Resource tag="POLL_MULTIPLECHOICES_INFO">You can vote for many choices.</Resource> <Resource tag="POLL_NOPERM_GUEST">Guests can't vote. Try login or register.</Resource> <Resource tag="POLL_PLEASEVOTE">Click to vote</Resource> <Resource tag="POLL_SHOWVOTERS">Show who is voted</Resource> <Resource tag="POLL_SHOWVOTERS_INFO">Show who is voted.</Resource> <Resource tag="POLL_VOTED">You already voted.</Resource> <Resource tag="POLL_WILLEXPIRE">The poll will be closed in {0} days.</Resource> <Resource tag="POLL_WILLEXPIRE_HOURS">Last hours to vote!</Resource> <Resource tag="POLLADD">Add Poll</Resource> <Resource tag="POLLGROUP_ATTACHED">Can't attach the group. A group is already attached.</Resource> <Resource tag="POLLGROUP_BOUNDWARN">You should vote in all polls to see results.</Resource> <Resource tag="POLLGROUP_CLOSEDBOUND">Bound voting</Resource> <Resource tag="POLLGROUP_CLOSEDBOUND">Don't show results if group is open</Resource> <Resource tag="POLLGROUP_CLOSEDBOUND_WARN">Don't show results if the poll didn't expire</Resource> <Resource tag="POLLGROUP_LIST">Choose an existing poll group:</Resource> <Resource tag="POLLGROUP_LIST_BOARD">Board Poll:</Resource> <Resource tag="POLLGROUP_LIST_BOARD_HELP">Choose an existing poll as board Poll</Resource> <Resource tag="POLLGROUPISBOUND">Your vote will be counted when you'll vote in all the polls.</Resource> <Resource tag="POLLHEADER">Create Or Edit Poll</Resource> <Resource tag="POLLIMAGE_INVALID">The image or its path is invalid for {0}.</Resource> <Resource tag="POLLIMAGE_TEXT">Image path:</Resource> <Resource tag="POLLIMAGE_TOOBIG">Your image file size is {0} KB, it should not be more than {1} KB. Image path: {2}. </Resource> <Resource tag="POLLOPTIONSHIDDEN_GUEST">Guests can't see poll choices and poll results. Try login or register.</Resource> <Resource tag="POLLQUESTION">Poll Question:</Resource> <Resource tag="POLLRESULTSHIDDEN">You can't see poll results before voting.</Resource> <Resource tag="POLLRESULTSHIDDEN_GUEST">Guests can't see poll results before voting. Try login or register.</Resource> <Resource tag="POLLRESULTSHIDDEN_SHORT">Results hidden</Resource> <Resource tag="POLLSAVE">Save Poll</Resource> <Resource tag="REMOVEPOLL">Remove Poll</Resource> <Resource tag="REMOVEPOLL_ALL">Remove Poll Completely</Resource> <Resource tag="REMOVEPOLLGROUP">Remove Group</Resource> <Resource tag="REMOVEPOLLGROUP_ALL">Remove Group Completely</Resource> <Resource tag="REMOVEPOLLGROUP_EVERYWHERE">Remove Group Everywhere</Resource> </page> <page name="POSTMESSAGE"> <Resource tag="ANNOUNCEMENT">Aviso</Resource> <Resource tag="ASK_POLL_DELETE">Do you really want to remove poll from this topic?</Resource> <Resource tag="BLOG_PASSWORD">Blog Password:</Resource> <Resource tag="BLOG_POST">Post to blog?</Resource> <Resource tag="CANCEL_TITLE">Cancel Message editing/creating</Resource> <Resource tag="DESCRIPTION">Description:</Resource> <Resource tag="EDIT">Editar Participação</Resource> <Resource tag="EDITREASON">Reason for edit:</Resource> <Resource tag="FROM">De:</Resource> <Resource tag="GUEST_NAME_TOOLONG">Guest Username cannot be more than 100 characters.</Resource> <Resource tag="ISQUESTION">Is this topic in question and answer format?</Resource> <Resource tag="LAST10">Últimas 10 Participações (em ordem inversa)</Resource> <Resource tag="MESSAGE">Mensagem:</Resource> <Resource tag="NEED_SUBJECT">Por favor digite um assunto para este tópico.</Resource> <Resource tag="NEWPOSTOPTIONS">Options:</Resource> <Resource tag="NEWTOPIC">Enviar Novo Tópico</Resource> <Resource tag="NORMAL">Normal</Resource> <Resource tag="PERSISTENCY">Persistent:</Resource> <Resource tag="PERSISTENCY_INFO">Persistent topics are not pruned</Resource> <Resource tag="POSTED">Enviado:</Resource> <Resource tag="POSTTOBLOG_FAILED">An error occurred posting to your blog. The authentication might have failed.</Resource> <Resource tag="PREVIEW">Visualizar</Resource> <Resource tag="PREVIEW_TITLE">Get a Preview of the Message</Resource> <Resource tag="PREVIEWTITLE">Visualizar:</Resource> <Resource tag="PRIORITY">Prioridade:</Resource> <Resource tag="REPLY">Enviar uma Resposta</Resource> <Resource tag="SAVE">Enviar</Resource> <Resource tag="SAVE_TITLE">Post/Edit the Message</Resource> <Resource tag="SPAM_MESSAGE">Your Message was rejected because it was detected as SPAM!</Resource> <Resource tag="STATUS">Status:</Resource> <Resource tag="STICKY">Destacado</Resource> <Resource tag="SUBJECT">Assunto:</Resource> <Resource tag="SUBJECT_DUPLICATE">A topic with the subject already exists or the subject is not unique enough to be added.</Resource> <Resource tag="TOPIC_DESCRIPTION_TOOLONG">Topic description length cannot be more than 255 characters.</Resource> <Resource tag="TOPIC_DESCRIPTION_WORDTOOLONG">Topic description single word length cannot be be more than {0} characters. Suggestion: use abbreviations to shorten.</Resource> <Resource tag="TOPIC_NAME_TOOLONG">Topic name length cannot be more than 255 characters.</Resource> <Resource tag="TOPIC_NAME_WORDTOOLONG">Topic name single word length cannot be be more than {0} characters. Suggestion: use abbreviations to shorten.</Resource> <Resource tag="TOPICATTACH">Attach files to this post?</Resource> <Resource tag="TOPICNAME_TOOLONG">Maximal tolic name length should not be more than {0} characters. Use abbreviations.</Resource> <Resource tag="TOPICWATCH">Watch this topic and receive notifications of activity via e-mail?</Resource> <Resource tag="WAIT">Você não pode enviar nada nos próximos {0:N0} segundos.</Resource> </page> <page name="POSTS"> <Resource tag="AD_SIGNATURE" /> <Resource tag="AD_USERNAME">Responsável</Resource> <Resource tag="AIM">AIM</Resource> <Resource tag="AIM_TITLE">Contact {0} via AOL Instant Messenger</Resource> <Resource tag="ATOMTOPIC">Atom Feed</Resource> <Resource tag="ATTACHMENTINFO">({0:N0}kb) baixados [b]{1:N0}[/b] vezes(s).</Resource> <Resource tag="ATTACHMENTS">Arquivo(s) Anexado(s):</Resource> <Resource tag="BLOG">BLOG</Resource> <Resource tag="BLOG_TITLE">Visit {0}'s Blog</Resource> <Resource tag="CANT_DOWNLOAD">You don't have permission to view/download attachments.</Resource> <Resource tag="CANT_DOWNLOAD_REGISTER">You [b]cannot[/b] view/download attachments. Try register.</Resource> <Resource tag="CHOICE">Escolha</Resource> <Resource tag="CLOSE_TEXT">Close</Resource> <Resource tag="CONFIRM_DELETEMESSAGE">Excluir esta mensagem?</Resource> <Resource tag="CONFIRM_DELETETOPIC">Excluir este tópico?</Resource> <Resource tag="CONFIRM_REPORTPOST">Are you sure you want to report this post as abusive?</Resource> <Resource tag="DIGG_TOPIC">Digg this Topic</Resource> <Resource tag="EDIT_REASON">Reason</Resource> <Resource tag="EDIT_REASON_NA">Not specified</Resource> <Resource tag="EDITED">Edited</Resource> <Resource tag="EDITED_BY_MOD">by moderator</Resource> <Resource tag="EDITED_BY_USER">by user</Resource> <Resource tag="EDITUSER">Edit User</Resource> <Resource tag="EMAIL">Email</Resource> <Resource tag="EMAIL_TITLE">Send {0} an Email</Resource> <Resource tag="EMAILTOPIC">Enviar este tópico por Email</Resource> <Resource tag="EMPTY_MESSAGE">You must enter something into your post.</Resource> <Resource tag="FACEBOOK">Facebook</Resource> <Resource tag="FACEBOOK_SHARE_TOPIC">Share on Facebook</Resource> <Resource tag="FACEBOOK_TITLE">Visit {0}'s Facebook Profile</Resource> <Resource tag="FACEBOOK_TOPIC">Like this Topic</Resource> <Resource tag="FORUM_JUMP">Ir para o Fórum</Resource> <Resource tag="GO_TO_ANSWER">Go to the topic answer</Resource> <Resource tag="GOOGLE">Google+</Resource> <Resource tag="GOOGLE_TITLE">Visit {0}'s Google+ Profile</Resource> <Resource tag="GOOGLEPLUS_TOPIC">Share Topic on Google+</Resource> <Resource tag="GROUPS">Grupos</Resource> <Resource tag="HOME">WWW</Resource> <Resource tag="HOME_TITLE">Visit {0}'s Homepage</Resource> <Resource tag="ICQ">ICQ</Resource> <Resource tag="ICQ_TITLE">Contact {0} via ICQ</Resource> <Resource tag="IMAGE_ATTACHMENT_TEXT">{0} anexadas as seguintes imagens:</Resource> <Resource tag="IMAGE_DOWNLOAD">Download Image</Resource> <Resource tag="IMAGE_RESIZE_ENLARGE">Click to View Image</Resource> <Resource tag="IMAGE_RESIZE_VIEWS">{0} View(s)</Resource> <Resource tag="IMAGE_TEXT">Image</Resource> <Resource tag="INFO_NOMORETOPICS">Nenhum tópico a mais neste Fórum.</Resource> <Resource tag="INFO_TOPIC_LOCKED">O tópico estava bloqueado.</Resource> <Resource tag="INFO_TOPIC_UNLOCKED">O tópico estava desbloqueado.</Resource> <Resource tag="INFO_UNWATCH_TOPIC">Você não será mais notificado quando uma nova participação ocorrer neste tópico.</Resource> <Resource tag="INFO_VOTED">Obrigado por seu voto!</Resource> <Resource tag="INFO_WATCH_TOPIC">Você será notificado quando uma nova participação ocorrer neste tópico.</Resource> <Resource tag="IP">IP</Resource> <Resource tag="JOINED">Desde</Resource> <Resource tag="LINKBACK_TOPIC">LinkBack Topic URL</Resource> <Resource tag="LINKBACK_TOPIC_PROMT">Use the URL below if you want to LinkBack the topic URL on another website.</Resource> <Resource tag="LOCATION">Localização</Resource> <Resource tag="MANAGE_POST">Manage Message</Resource> <Resource tag="MANAGE_TOPIC">Manage Topic</Resource> <Resource tag="MARK_ANSWER">Mark As Answer</Resource> <Resource tag="MARK_ANSWER_REMOVE">Remove As Answer</Resource> <Resource tag="MARK_ANSWER_REMOVE_TITLE">Unmark this Message as answer</Resource> <Resource tag="MARK_ANSWER_TITLE">Mark this Message as answer</Resource> <Resource tag="MESSAGE_ANSWER">Answer</Resource> <Resource tag="MESSAGE_ANSWER_HELP">Marked as answer</Resource> <Resource tag="MESSAGEDELETED_MOD">Message was deleted by Moderator.</Resource> <Resource tag="MESSAGEDELETED_USER">Message was deleted by User.</Resource> <Resource tag="MSN">MSN</Resource> <Resource tag="MSN_TITLE">Contact {0} via MSN</Resource> <Resource tag="NEXTTOPIC">Próximo Tópico</Resource> <Resource tag="NORMAL">Normal</Resource> <Resource tag="OPTIONS">Opções</Resource> <Resource tag="OPTIONS_TOOLTIP">Topic Options to Subscribe via Email, RSS, Atom, and to view Printer Friendly Page.</Resource> <Resource tag="PM">MP</Resource> <Resource tag="PM_TITLE">Send {0} a Private Message</Resource> <Resource tag="POINTS">Pontos</Resource> <Resource tag="POLL_CLOSED">(Enquete fechada)</Resource> <Resource tag="POST_REPLY">Enviar Resposta</Resource> <Resource tag="POSTED">Enviado</Resource> <Resource tag="POSTS">Envios</Resource> <Resource tag="PREVTOPIC">Tópico Anterior</Resource> <Resource tag="PRINTTOPIC">Imprimir este tópico</Resource> <Resource tag="QUESTION">Questão da Enquete</Resource> <Resource tag="QUICKREPLY">Resposta Rápida</Resource> <Resource tag="QUICKREPLY_HIDE">Ocultar Resposta Rápida</Resource> <Resource tag="QUICKREPLY_SHOW">Exibir Resposta Rápida</Resource> <Resource tag="QUOTE_SELECTED">Quote Selected Message</Resource> <Resource tag="RANK">Classificação</Resource> <Resource tag="REDDIT_TOPIC">Reddit this Topic</Resource> <Resource tag="REP_VOTE_DOWN_MSG">You have successfully removed -1 Reputation to {0}.</Resource> <Resource tag="REP_VOTE_TITLE">Thanks for your Voting!</Resource> <Resource tag="REP_VOTE_UP_MSG">You have successfully given +1 Reputation to {0}.</Resource> <Resource tag="REPORTEDFEEDBACK">Thank you for reporting this post.</Resource> <Resource tag="REPORTPOST">Report Abusive</Resource> <Resource tag="REPORTPOST_TITLE">Report Post</Resource> <Resource tag="REPUTATION">Reputation</Resource> <Resource tag="RETWEET_TOPIC">Retweet this Topic</Resource> <Resource tag="RSSTOPIC">Notícias RSS</Resource> <Resource tag="SHARE">Share</Resource> <Resource tag="SHARE_TOOLTIP">Share this Topic via Email, Twitter, Google+, Facebook, Digg, Reddit or Tumblr.</Resource> <Resource tag="SIMILAR_TOPICS">Similar Topics</Resource> <Resource tag="SKYPE">SKYPE</Resource> <Resource tag="SKYPE_TITLE">Contact {0} via Skype</Resource> <Resource tag="STATISTICS">Estatísticas</Resource> <Resource tag="THANKSFROM">Thanks: {0} times</Resource> <Resource tag="THANKSFROM_FEM">Thanks: {0} times</Resource> <Resource tag="THANKSFROM_MUSC">Thanks: {0} times</Resource> <Resource tag="THANKSINFO">{0} users thanked {1} for this useful post.</Resource> <Resource tag="THANKSINFOSINGLE">1 user thanked {0} for this useful post.</Resource> <Resource tag="THANKSTO">Was thanked: {0} time(s) in {1} post(s)</Resource> <Resource tag="THREADED">Indentada</Resource> <Resource tag="TIP_DELETE_TOPIC">Excluir este Tópico</Resource> <Resource tag="TIP_LOCK_TOPIC">Bloquear este Tópico</Resource> <Resource tag="TIP_MOVE_TOPIC">Mover este Tópico</Resource> <Resource tag="TIP_NEW_TOPIC">Enviar novo Tópico</Resource> <Resource tag="TIP_REPLY_TOPIC">Enviar Resposta</Resource> <Resource tag="TIP_UNLOCK_TOPIC">Desbloquear este Tópico</Resource> <Resource tag="TOGGLEPOST">Show/Hide Post</Resource> <Resource tag="TOGGLEUSERPOSTS_HIDE">Hide User Posts</Resource> <Resource tag="TOGGLEUSERPOSTS_SHOW">Show User Posts</Resource> <Resource tag="TOOLS">Tools</Resource> <Resource tag="TOP">Voltar ao início</Resource> <Resource tag="TOPIC_STARTER">Topic Starter</Resource> <Resource tag="TOPIC_STARTER_HELP">Indicates that this user has started this topic</Resource> <Resource tag="TOPICBROWSERS">Usuários visualizando este tópico</Resource> <Resource tag="TOTAL">Total</Resource> <Resource tag="TUMBLR_TOPIC">Share on Tumblr</Resource> <Resource tag="Twitter">Twitter</Resource> <Resource tag="TWITTER_TITLE">Visit {0}'s Twitter Profile</Resource> <Resource tag="UNWATCHTOPIC">Não ver este tópico</Resource> <Resource tag="USERGENDER_FEM">Woman</Resource> <Resource tag="USERGENDER_MAS">Man</Resource> <Resource tag="USEROFFLINESTATUS">User Is Offline</Resource> <Resource tag="USERONLINESTATUS">User Is Online</Resource> <Resource tag="USERPROFILE">User Profile</Resource> <Resource tag="USERSUSPENDED">User is suspended until {0}</Resource> <Resource tag="VIEW">Visualizar</Resource> <Resource tag="VIEW_TOOLTIP">Change Topic View between Normal or Thread View.</Resource> <Resource tag="VOTES">Votos</Resource> <Resource tag="WARN_ALREADY_VOTED">Você já votou.</Resource> <Resource tag="WARN_EMAILLOGIN">Você precisa estar conectado para enviar emails.</Resource> <Resource tag="WARN_FORUM_LOCKED">O Fórum está fechado.</Resource> <Resource tag="WARN_PMLOGIN">Você precisa estar conectado para enviar mensagens privadas.</Resource> <Resource tag="WARN_POLL_CLOSED">A Enquete está fechada.</Resource> <Resource tag="WARN_TOPIC_LOCKED">O Tópico está fechado.</Resource> <Resource tag="WARN_WATCHLOGIN">Você precisa estar conectado para visualizar tópicos.</Resource> <Resource tag="WATCHTOPIC">Ver este tópico</Resource> <Resource tag="XMPP">XMPP</Resource> <Resource tag="XMPP_TITLE">Contact {0} via Jabber</Resource> <Resource tag="YIM">YAHOO</Resource> <Resource tag="YIM_TITLE">Contact {0} via Yahoo Instant Messenger</Resource> </page> <page name="POSTTOPIC"> <Resource tag="MESSAGE">Message:</Resource> <Resource tag="TAGS">Tags:</Resource> </page> <page name="PRINTTOPIC"> <Resource tag="POSTEDBY">Enviado por</Resource> </page> <page name="PROFILE"> <Resource tag="ABOUT">Sobre</Resource> <Resource tag="ADMIN_USER">Admin User</Resource> <Resource tag="AIM">Nome AIM:</Resource> <Resource tag="ALBUMS">Albums</Resource> <Resource tag="AVATAR">Avatar</Resource> <Resource tag="BIRTHDAY">Birthday</Resource> <Resource tag="CITY">City:</Resource> <Resource tag="CONTACT">Contato</Resource> <Resource tag="COUNTRY:">Country</Resource> <Resource tag="DAYS">dias</Resource> <Resource tag="EMAIL">E-mail:</Resource> <Resource tag="ENDS">Suspensão do Usuário termina em:</Resource> <Resource tag="ERROR_ADMINISTRATORS">Você não pode suspender administradores.</Resource> <Resource tag="ERROR_FORUMMODERATORS">Você não pode suspender moderadores.</Resource> <Resource tag="ERROR_GUESTACCOUNT">Você não pode suspender a conta de convidados.</Resource> <Resource tag="FACEBOOK">Facebook Profile:</Resource> <Resource tag="FORUM_ACCESS">Forum Access</Resource> <Resource tag="GENDER">Sexo:</Resource> <Resource tag="GENDER0">Não informado</Resource> <Resource tag="GENDER1">Masculino</Resource> <Resource tag="GENDER2">Feminino</Resource> <Resource tag="GOOGLE">Google+ Profile:</Resource> <Resource tag="GROUPS">Grupos:</Resource> <Resource tag="HOURS">horas</Resource> <Resource tag="ICQ">Número ICQ:</Resource> <Resource tag="INTERESTS">Interesses:</Resource> <Resource tag="JOINED">Participante:</Resource> <Resource tag="LAST10">Últimas 10 Participações</Resource> <Resource tag="LASTVISIT">Última Visita:</Resource> <Resource tag="LOCATION">Location:</Resource> <Resource tag="MEDALS">Medals:</Resource> <Resource tag="MEMBERS">Membros</Resource> <Resource tag="MINUTES">minutos</Resource> <Resource tag="MODERATION">Moderation</Resource> <Resource tag="MONTH">month</Resource> <Resource tag="MSN">MSN Messenger:</Resource> <Resource tag="NUMALL">{0:N2}% de todas as participações</Resource> <Resource tag="NUMDAY">{0:N2} participações por dia</Resource> <Resource tag="NUMPOSTS">Número de Participações:</Resource> <Resource tag="OCCUPATION">Ocupação:</Resource> <Resource tag="PM">Mensagem Privada:</Resource> <Resource tag="POSTED">Enviado:</Resource> <Resource tag="PROFILE">Perfil:</Resource> <Resource tag="RANK">Classe Fóruns:</Resource> <Resource tag="REALNAME">Nome Real:</Resource> <Resource tag="REGION">State:</Resource> <Resource tag="REMOVESUSPENSION">Remover Suspensão</Resource> <Resource tag="REPUTATION_RECEIVED">Numer of Reputation received from other users</Resource> <Resource tag="SEARCHUSER">View All Posts by User</Resource> <Resource tag="SKYPE">Skype(tm) ID:</Resource> <Resource tag="SOCIAL_MEDIA">Social Media</Resource> <Resource tag="STATISTICS">Estatísticas</Resource> <Resource tag="SUSPEND">Suspender</Resource> <Resource tag="SUSPEND_BY">Suspended By:</Resource> <Resource tag="SUSPEND_CURRENT">Current Suspension</Resource> <Resource tag="SUSPEND_INFO">&lt;strong&gt;NOTE&lt;/strong&gt; The Suspension is based on the Users current Date and Time which is Now: {0}.</Resource> <Resource tag="SUSPEND_NEW">New Suspension</Resource> <Resource tag="SUSPEND_REASON">Suspend Reason:</Resource> <Resource tag="SUSPEND_USER">Suspend User:</Resource> <Resource tag="THANKSFROM">Number of thanks</Resource> <Resource tag="THANKSTOPOSTS">Number of posts for which this user was thanked</Resource> <Resource tag="THANKSTOTIMES">Number of times this user was thanked</Resource> <Resource tag="TOPIC">Tópico:</Resource> <Resource tag="Twitter">Twitter Name:</Resource> <Resource tag="USERNAME">Nome do Usuário:</Resource> <Resource tag="WEBLOG">Weblog:</Resource> <Resource tag="WEBSITE">Home Page:</Resource> <Resource tag="XMPP">XMPP Name:</Resource> <Resource tag="YEARS">Year(s)</Resource> <Resource tag="YIM">Yahoo Messenger:</Resource> </page> <page name="RECOVER_PASSWORD"> <Resource tag="ACCOUNT_NOT_APPROVED">Your account has not been approved by the administrator yet. You cannot reset your password unless you are approved.</Resource> <Resource tag="ACCOUNT_NOT_APPROVED_VERIFICATION">Your account is not approved yet because you have not validated your email. A new email validation has been sent to {0}. Please verify so you can login.</Resource> <Resource tag="GENERAL_FAILURE">Attempt to retrieve your password was not successful.</Resource> <Resource tag="IDENTITY_CONFIRMATION_TITLE">Password Retrieval Identity Confirmation</Resource> <Resource tag="PAGE1_INSTRUCTIONS">Enter your User Name to retrieve your password:</Resource> <Resource tag="PAGE2_INSTRUCTIONS">Answer the following question to receive your password:</Resource> <Resource tag="PASSWORD_SENT">Your password has been sent to your e-mail address on file.</Resource> <Resource tag="PASSWORDRETRIEVAL_EMAIL_SUBJECT">Password Retrieval for {0} Forum</Resource> <Resource tag="QUESTION_FAILURE">Your answer could not be verified. Please try again.</Resource> <Resource tag="TITLE">Lost Password</Resource> <Resource tag="USERNAME_FAILURE">Unable to locate the user name entered.</Resource> </page> <page name="Region_CH"> <Resource tag="RGN_CH_AG">Aargau</Resource> <Resource tag="RGN_CH_AI">Appenzell Inner-Rhodes</Resource> <Resource tag="RGN_CH_AR">Appenzell Outer-Rhodes</Resource> <Resource tag="RGN_CH_BE">Bern</Resource> <Resource tag="RGN_CH_BL">Basel District</Resource> <Resource tag="RGN_CH_BS">Basel</Resource> <Resource tag="RGN_CH_FR">Fribourg</Resource> <Resource tag="RGN_CH_GE">Geneva</Resource> <Resource tag="RGN_CH_GL">Glarus</Resource> <Resource tag="RGN_CH_GR">Grisons</Resource> <Resource tag="RGN_CH_JU">Jura</Resource> <Resource tag="RGN_CH_LU">Lucerne</Resource> <Resource tag="RGN_CH_NE">Neuchâtel</Resource> <Resource tag="RGN_CH_NW">Nidwalden</Resource> <Resource tag="RGN_CH_OW">Obwalden</Resource> <Resource tag="RGN_CH_SG">St. Gallen</Resource> <Resource tag="RGN_CH_SH">Schaffhausen</Resource> <Resource tag="RGN_CH_SO">Solothurn</Resource> <Resource tag="RGN_CH_SZ">Schwyz</Resource> <Resource tag="RGN_CH_TG">Thurgau</Resource> <Resource tag="RGN_CH_TI">Ticino</Resource> <Resource tag="RGN_CH_UR">Uri</Resource> <Resource tag="RGN_CH_VD">Vaud</Resource> <Resource tag="RGN_CH_VS">Valais</Resource> <Resource tag="RGN_CH_ZG">Zug</Resource> <Resource tag="RGN_CH_ZH">Zurich</Resource> </page> <page name="REGION_DE"> <Resource tag="RGN_DE_BA">Bavaria</Resource> <Resource tag="RGN_DE_BB">Brandenburg</Resource> <Resource tag="RGN_DE_BER">Berlin</Resource> <Resource tag="RGN_DE_BRE">Bremen</Resource> <Resource tag="RGN_DE_BW">Baden-Württemberg</Resource> <Resource tag="RGN_DE_HE">Hessen</Resource> <Resource tag="RGN_DE_HH">Hamburg</Resource> <Resource tag="RGN_DE_MV">Mecklenburg-Vorpommern</Resource> <Resource tag="RGN_DE_NI">Lower Saxony</Resource> <Resource tag="RGN_DE_NRW">North Rhine-Westphalia</Resource> <Resource tag="RGN_DE_RP">Rhineland-Palatinate</Resource> <Resource tag="RGN_DE_SA">Saxony-Anhalt</Resource> <Resource tag="RGN_DE_SAA">Saarland</Resource> <Resource tag="RGN_DE_SACH">Saxony</Resource> <Resource tag="RGN_DE_SW">Schleswig-Holstein</Resource> <Resource tag="RGN_DE_TH">Thuringia</Resource> </page> <page name="REGION_US"> <Resource tag="RGN_US_AK">Alaska</Resource> <Resource tag="RGN_US_AL">Alabama</Resource> <Resource tag="RGN_US_AR">Arkansas</Resource> <Resource tag="RGN_US_AS">American Samoa</Resource> <Resource tag="RGN_US_AZ">Arizona</Resource> <Resource tag="RGN_US_CA">California</Resource> <Resource tag="RGN_US_CO">Colorado</Resource> <Resource tag="RGN_US_CT">Connecticut</Resource> <Resource tag="RGN_US_DC">District of Columbia</Resource> <Resource tag="RGN_US_DE">Delaware</Resource> <Resource tag="RGN_US_FL">Florida</Resource> <Resource tag="RGN_US_GA">Georgia</Resource> <Resource tag="RGN_US_GU">Guam</Resource> <Resource tag="RGN_US_HI">Hawaii</Resource> <Resource tag="RGN_US_IA">Iowa</Resource> <Resource tag="RGN_US_ID">Idaho</Resource> <Resource tag="RGN_US_IL">Illinois</Resource> <Resource tag="RGN_US_IN">Indiana</Resource> <Resource tag="RGN_US_KS">Kansas</Resource> <Resource tag="RGN_US_KY">Kentucky</Resource> <Resource tag="RGN_US_LA">Louisiana</Resource> <Resource tag="RGN_US_MA">Massachusetts</Resource> <Resource tag="RGN_US_MD">Maryland</Resource> <Resource tag="RGN_US_ME">Maine</Resource> <Resource tag="RGN_US_MI">Michigan</Resource> <Resource tag="RGN_US_MN">Minnesota</Resource> <Resource tag="RGN_US_MO">Missouri</Resource> <Resource tag="RGN_US_MP">Northern Mariana Islands</Resource> <Resource tag="RGN_US_MS">Mississippi</Resource> <Resource tag="RGN_US_MT">Montana</Resource> <Resource tag="RGN_US_NC">North Carolina</Resource> <Resource tag="RGN_US_ND">North Dakota</Resource> <Resource tag="RGN_US_NE">Nebraska</Resource> <Resource tag="RGN_US_NH">New Hampshire</Resource> <Resource tag="RGN_US_NJ">New Jersey</Resource> <Resource tag="RGN_US_NM">New Mexico</Resource> <Resource tag="RGN_US_NV">Nevada</Resource> <Resource tag="RGN_US_NY">New York</Resource> <Resource tag="RGN_US_OH">Ohio</Resource> <Resource tag="RGN_US_OK">Oklahoma</Resource> <Resource tag="RGN_US_OR">Oregon</Resource> <Resource tag="RGN_US_PA">Pennsylvania</Resource> <Resource tag="RGN_US_PR">Puerto Rico</Resource> <Resource tag="RGN_US_RI">Rhode Island</Resource> <Resource tag="RGN_US_SC">South Carolina</Resource> <Resource tag="RGN_US_SD">South Dakota</Resource> <Resource tag="RGN_US_TN">Tennessee</Resource> <Resource tag="RGN_US_TX">Texas</Resource> <Resource tag="RGN_US_UT">Utah</Resource> <Resource tag="RGN_US_VA">Virginia</Resource> <Resource tag="RGN_US_VI">Virgin Islands</Resource> <Resource tag="RGN_US_VT">Vermont</Resource> <Resource tag="RGN_US_WA">Washington</Resource> <Resource tag="RGN_US_WI">Wisconsin</Resource> <Resource tag="RGN_US_WV">West Virginia</Resource> <Resource tag="RGN_US_WY">Wyoming</Resource> </page> <page name="REGISTER"> <Resource tag="ACCOUNT_CREATED">[center]Your account has been successfully created.[/center]</Resource> <Resource tag="ACCOUNT_CREATED_VERIFICATION">[center]Your account has been successfully created. Although, you still need to confirm your e-mail account before you can login. Please check your e-mail account for verification instructions.[/center]</Resource> <Resource tag="ALREADY_REGISTERED">Seu nome de usuário ou email já cadastrado.</Resource> <Resource tag="ALREADY_REGISTERED_DISPLAYNAME">Your display name is already registered.</Resource> <Resource tag="BAD_EMAIL">Você digitou um endereço de email inválido.</Resource> <Resource tag="BAD_PASSWORD">Please pick a more complex password that includes punctuation (!?) or numbers.</Resource> <Resource tag="BASIC_ACCOUNT">Account</Resource> <Resource tag="BOT_MESSAGE">Sorry Spammers are not allowed in the Forum!</Resource> <Resource tag="CONFIRM_PASSWORD">Confirm Password</Resource> <Resource tag="CONTINUE">Continue</Resource> <Resource tag="CREATE_USER">Create User</Resource> <Resource tag="DETAILS">Detalhes do Cadastro</Resource> <Resource tag="DISPLAYNAME">Display Name</Resource> <Resource tag="EMAIL">Endereço de Email</Resource> <Resource tag="GENERATE_CAPTCHA">Generate New Image</Resource> <Resource tag="HOMEPAGE">Home Page</Resource> <Resource tag="INVALID_ANSWER">Please pick a different answer.</Resource> <Resource tag="INVALID_DISPLAYNAME">Please pick a different display name.</Resource> <Resource tag="INVALID_QUESTION">Please pick a different question.</Resource> <Resource tag="INVALID_USERNAME">Please pick a different username.</Resource> <Resource tag="LOCATION">Localização</Resource> <Resource tag="LOGIN_INSTEAD">Already Signed Up? Click Sign In to login your account.</Resource> <Resource tag="NEED_ANSWER">Security answer is required.</Resource> <Resource tag="NEED_DISPLAYNAME">Display Name is required.</Resource> <Resource tag="NEED_EMAIL">E-mail is required.</Resource> <Resource tag="NEED_MATCH">As Senhas não coincidem.</Resource> <Resource tag="NEED_PASSWORD">Senha requerida.</Resource> <Resource tag="NEED_QUESTION">Security question is required.</Resource> <Resource tag="NEED_USERNAME">Nome do Usuário requerido.</Resource> <Resource tag="PASSWORD">Senha</Resource> <Resource tag="PASSWORD_GOOD">Good Password!</Resource> <Resource tag="PASSWORD_MIN">Password must be {0} characters long.</Resource> <Resource tag="PASSWORD_NOTMATCH">Password and Confirm Password do not match!</Resource> <Resource tag="PASSWORD_REQUIREMENTS_TITLE">Password Requirements</Resource> <Resource tag="PASSWORD_REQUIREMENTS_WARN">{0} min length. {1} minimum non-alphanumeric characters ($#@!).</Resource> <Resource tag="PASSWORD_STRONGER">Make your password stronger with more capital letters, more numbers and special characters!</Resource> <Resource tag="PASSWORD_WEAK">Weak Password, try using numbers and capital letters.</Resource> <Resource tag="PREFERENCES">Preferência de Fóruns</Resource> <Resource tag="PROFILE">Informação de Perfil</Resource> <Resource tag="RECAPTCHA_BADSETTING">Recapture settings are bad. Report it to administration.</Resource> <Resource tag="RECATCHA_BADWORDS">You are wrong! Try again.</Resource> <Resource tag="REGISTER">Cadastrar</Resource> <Resource tag="REGISTER_AUTH">Register with {0}</Resource> <Resource tag="RETYPE_PASSWORD">Redigite a senha</Resource> <Resource tag="SECURITY_ANSWER">Security Answer</Resource> <Resource tag="SECURITY_QUESTION">Security Question</Resource> <Resource tag="TERMS_AND_CONDITIONS_TITLE">Terms and Conditions</Resource> <Resource tag="TIMEZONE">Zona de Horário</Resource> <Resource tag="TITLE">Cadastro de Novo Usuário</Resource> <Resource tag="TITLE2">Register a new account</Resource> <Resource tag="USERNAME">Nome do Usuário</Resource> <Resource tag="USERNAME_LENGTH_WARN">User name should not contain more than {0} characters.</Resource> <Resource tag="VERIFICATION_EMAIL_SUBJECT">Registration Verification for {0} Forum</Resource> </page> <page name="REPORTPOST"> <Resource tag="CANCEL">Cancel</Resource> <Resource tag="CANCEL_TITLE">Cancel Message Report</Resource> <Resource tag="ENTER_TEXT">Enter report text here.</Resource> <Resource tag="HEADER">Report post</Resource> <Resource tag="POSTEDBY">Posted by:</Resource> <Resource tag="REPORTTEXT_ALLTAGSFORBIDDEN">Tags are not allowed in reports.</Resource> <Resource tag="REPORTTEXT_FORBIDDENTAG">The tag [{0}] is not allowed in reports.</Resource> <Resource tag="REPORTTEXT_TOOLONG">Your report text length should not be more than {0} characters.</Resource> <Resource tag="SEND">Report</Resource> <Resource tag="SEND_TITLE">Report the Message, with the above Reason</Resource> </page> <page name="REPUTATION_VALUES"> <Resource tag="EXALTED">Exalted</Resource> <Resource tag="FRIENDLY">Friendly</Resource> <Resource tag="HONORED">Honored</Resource> <Resource tag="NEUTRAL">Neutral</Resource> <Resource tag="UNFRIENDLY">Unfriendly</Resource> <Resource tag="VALUE_0">Hated</Resource> <Resource tag="VALUE_20">Hostile</Resource> </page> <page name="RTE"> <Resource tag="BOLD">Negrito</Resource> <Resource tag="CENTER">Centralizado</Resource> <Resource tag="CLEAR">Limpar Formatação</Resource> <Resource tag="FORMATTED">Formatado</Resource> <Resource tag="IMAGE">Adicionar Imagem</Resource> <Resource tag="INDENT">Indentar</Resource> <Resource tag="ITALIC">Itálico</Resource> <Resource tag="LEFT">Esquerda</Resource> <Resource tag="LINK">Inserir Link</Resource> <Resource tag="NORMAL">Normal</Resource> <Resource tag="ORDERED">Lista Ordenada</Resource> <Resource tag="OUTDENT">Desdentar</Resource> <Resource tag="RIGHT">Direita</Resource> <Resource tag="SPELL">Verificar Ortografia</Resource> <Resource tag="SPELL_CORRECT">There are no incorrectly spelt words.</Resource> <Resource tag="UNDERLINE">Sublinhado</Resource> <Resource tag="UNORDERED">Lista Sem Ordem</Resource> </page> <page name="RULES"> <Resource tag="ACCEPT">I agree to these Rules and Policies</Resource> <Resource tag="DECLINE">I do not agree to these Rules and Policies</Resource> <Resource tag="RULES_TEXT"> [size=7][b]Rules[/b][/size][br] It is impossible for owners and operators of this forum to confirm the validity of all posts on this forum. Posts reflect the views and opinion of the author, but not necessarily of the forum owners and operators. If you feel that a posted message is questionable, you are encouraged to notify an administrator of this forum immediately. [br]You agree not to post any abusive, vulgar, obscene, hateful, slanderous, threatening, sexually-oriented or any other material that may violate any applicable laws. Doing so may lead to you being permanently banned from this forum. Note that all IP addresses are logged and may aid in enforcing these conditions. [br]You agree that the owners and operators of this forum have the right to remove, edit, move or close any topic at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the owners and operators cannot be held responsible for any hacking attempt that may lead to the data being compromised. [br]You agree not to use any automated tools for registering and/or posting on this bulletin board. By failing to obey this rule you would be granting us permission to repeatedly query your web server. [br][size=7][b]Privacy Policy[/b][/size][br] [br][size=6][b]1. An overview of data protection[/b][/size][br] [br][size=5][b]General information[/b][/size][br] The following information will provide you with an easy to navigate overview of what will happen with your personal data when you visit our website. The term “personal data” comprises all data that can be used to personally identify you. For detailed information about the subject matter of data protection, please consult our Data Protection Declaration, which we have included beneath this copy. [br][size=5][b]Data recording on our website[/b][/size][br] [br][b]Who is the responsible party for the recording of data on this website (i.e. the “controller”)?[/b][br] [br]The data on this website is processed by the operator of the website, whose contact information is available under section “Information about the responsible party” on this website. [br][b]How do we record your data?[/b][br] [br]We collect your data as a result of your sharing of your data with us. This may, for instance be information you enter into our contact form. [br]Our IT systems automatically record other data when you visit our website. This data comprises primarily technical information (e.g. web browser, operating system or time the site was accessed). This information is recorded automatically when you access our website. [br][b]What are the purposes we use your data for?[/b][br] [br]A portion of the information is generated to guarantee the error free provision of the website. Other data may be used to analyse your user patterns. [br][b]What rights do you have as far as your information is concerned?[/b][br] [br]You have the right to receive information about the source, recipients and purposes of your archived personal data at any time without having to pay a fee for such disclosures. You also have the right to demand that your data are rectified, blocked or eradicated. Please do not hesitate to contact us at any time under the address disclosed in section “Information about the responsible party” on this website if you have questions about this or any other data protection related issues. You also have the right to log a complaint with the competent supervising agency. [br][br] [br]Moreover, under certain circumstances, you have the right to demand the restriction of the processing of your personal data. For details, please consult the Data Protection Declaration under section “Right to demand processing restrictions.” [br][size=6][b]2. General information and mandatory information[/b][/size][br] [br][size=5][b]Data protection[/b][/size][br] [br]The operators of this website and its pages take the protection of your personal data very seriously. Hence, we handle your personal data as confidential information and in compliance with the statutory data protection regulations and this Data Protection Declaration. [br]Whenever you use this website, a variety of personal information will be collected. Personal data comprises data that can be used to personally identify you. This Data Protection Declaration explains which data we collect as well as the purposes we use this data for. It also explains how, and for which purpose the information is collected. [br]We herewith advise you that the transmission of data via the Internet (i.e. through e-mail communications) may be prone to security gaps. It is not possible to completely protect data against third party access. [br][size=5][b]Information about the responsible party (referred to as the “controller” in the GDPR)[/b][/size][br] [br]The data processing controller on this website is: [br][br] {0} [br][br] [br]The controller is the natural person or legal entity that single-handedly or jointly with others makes decisions as to the purposes of and resources for the processing of personal data (e.g. names, e-mail addresses, etc.). [br][size=5][b]Revocation of your consent to the processing of data[/b][/size][br] [br]A wide range of data processing transactions are possible only subject to your express consent. You can also revoke at any time any consent you have already given us. To do so, all you are required to do is sent us an informal notification via e-mail. This shall be without prejudice to the lawfulness of any data collection that occurred prior to your revocation. [br][size=5][b]Right to object to the collection of data in special cases; right to object to direct advertising (Art. 21 GDPR)[/b][/size][br] [br][b]In the event that data are processed on the basis of Art. 6 Sect. 1 lit. e or f GDPR, you have the right to at any time object to the processing of your personal data based on grounds arising from your unique situation. This also applies to any profiling based on these provisions. To determine the legal basis, on which any processing of data is based, please consult this Data Protection Declaration. If you log an objection, we will no longer process your affected personal data, unless we are in a position to present compelling protection worthy grounds for the processing of your data, that outweigh your interests, rights and freedoms or if the purpose of the processing is the claiming, exercising or defence of legal entitlements (objection pursuant to Art. 21 Sect. 1 GDPR).[/b] [/b] [br][b]If your personal data is being processed in order to engage in direct advertising, you have the right to at any time object to the processing of your affected personal data for the purposes of such advertising. This also applies to profiling to the extent that it is affiliated with such direct advertising. If you object, your personal data will subsequently no longer be used for direct advertising purposes (objection pursuant to Art. 21 Sect. 2 GDPR).[/b] [br][size=5][b]Right to log a complaint with the competent supervisory agency[/b][/size][br] [br]In the event of violations of the GDPR, data subjects are entitled to log a complaint with a supervisory agency, in particular in the member state where they usually maintain their domicile, place of work or at the place where the alleged violation occurred. The right to log a complaint is in effect regardless of any other administrative or court proceedings available as legal recourses. [br][size=5][b]Right to data portability[/b][/size][br] [br]You have the right to demand that we hand over any data we automatically process on the basis of your consent or in order to fulfil a contract be handed over to you or a third party in a commonly used, machine readable format. If you should demand the direct transfer of the data to another controller, this will be done only if it is technically feasible. [br][size=5][b]Information about, blockage, rectification and eradication of data[/b][/size][br] [br]Within the scope of the applicable statutory provisions, you have the right to at any time demand information about your archived personal data, their source and recipients as well as the purpose of the processing of your data. You may also have a right to have your data rectified, blocked or eradicated. If you have questions about this subject matter or any other questions about personal data, please do not hesitate to contact us at any time at the address provided in section “Information about the responsible party”. [br][size=5][b]Right to demand processing restrictions[/b][/size][br] [br]You have the right to demand the imposition of restrictions as far as the processing of your personal data is concerned. To do so, you may contact us at any time at the address provided in section “Information about the responsible party”. The right to demand restriction of processing applies in the following cases: [list] [*]In the event that you should dispute the correctness of your data archived by us, we will usually need some time to verify this claim. During the time that this investigation is ongoing, you have the right to demand that we restrict the processing of your personal data. [*]If the processing of your personal data was/is conducted in an unlawful manner, you have the option to demand the restriction of the processing of your data in lieu of demanding the eradication of this data. [*]If we do not need your personal data any longer and you need it to exercise, defend or claim legal entitlements, you have the right to demand the restriction of the processing of your personal data instead of its eradication. [*]If you have raised an objection pursuant to Art. 21 Sect. 1 GDPR, your rights and our rights will have to be weighed against each other. As long as it has not been determined whose interests prevail, you have the right to demand a restriction of the processing of your personal data. [/list] [br]If you have restricted the processing of your personal data, these data – with the exception of their archiving – may be processed only subject to your consent or to claim, exercise or defend legal entitlements or to protect the rights of other natural persons or legal entities or for important public interest reasons cited by the European Union or a member state of the EU. [br][size=6][b]3. Recording of data on our website[/b][/size][br] [br][size=5][b]Cookies[/b][/size][br] [br]In some instances, our website and its pages use so-called cookies. Cookies do not cause any damage to your computer and do not contain viruses. The purpose of cookies is to make our website more user friendly, effective and more secure. Cookies are small text files that are placed on your computer and stored by your browser. [br] [br]Most of the cookies we use are so-called “session cookies.” They are automatically deleted after your leave our site. Other cookies will remain archived on your device until you delete them. These cookies enable us to recognise your browser the next time you visit our website. [br] [br]You can adjust the settings of your browser to make sure that you are notified every time cookies are placed and to enable you to accept cookies only in specific cases or to exclude the acceptance of cookies for specific situations or in general and to activate the automatic deletion of cookies when you close your browser. If you deactivate cookies, the functions of this website may be limited. [br] [br]Cookies that are required for the performance of the electronic communications transaction or to provide certain functions you want to use (e.g. the shopping cart function), are stored on the basis of Art. 6 Sect. 1 lit. f GDPR. The website operator has a legitimate interest in storing cookies to ensure the technically error free and optimised provision of the operator’s services. If other cookies (e.g. cookies for the analysis of your browsing patterns) should be stored, they are addressed separately in this Data Protection Declaration. [br][size=5][b]Server log files[/b][/size][br] [br]The provider of this website and its pages automatically collects and stores information in so-called server log files, which your browser communicates to us automatically. The information comprises: [list] [*]The type and version of browser used [*]The used operating system [*]Referrer URL [*]The hostname of the accessing computer [*]The time of the server inquiry [*]The IP address [/list] [br]This data is not merged with other data sources. [br] [br]This data is recorded on the basis of Art. 6 Sect. 1 lit. f GDPR. The operator of the website has a legitimate interest in the technically error free depiction and the optimization of the operator’s website. In order to achieve this, server log files must be recorded. [br][size=5][b]Registration on this board[/b][/size][br] [br]You have the option to register on our website to be able to use additional website functions. We shall use the data you enter only for the purpose of using the respective offer or service you have registered for. The required information we request at the time of registration must be entered in full. Otherwise we shall reject the registration. [br] [br]To notify you of any important changes to the scope of our portfolio or in the event of technical modifications, we shall use the e-mail address provided during the registration process. [br]The basis for the processing of data is Art. 6 Sect. 1 lit. b GDPR, which permits the processing of data for the fulfilment of a contract or for pre-contractual actions. [br]The data recorded during the registration process shall be stored by us as long as you are registered on our website. Subsequently, such data shall be deleted. This shall be without prejudice to mandatory statutory retention obligations. [br][size=6][b]4. Plug-ins and Tools[/b][/size][br] [br][size=5][b]Google reCAPTCHA[/b][/size][br] [br]We use “Google reCAPTCHA” (hereinafter referred to as “reCAPTCHA”) on our websites. The provider is Google Inc., 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA (“Google”). [br] [br]The purpose of reCAPTCHA is to determine whether data entered on our websites (e.g. information entered into a contact form) is being provided by a human user or by an automated program. To determine this, reCAPTCHA analyses the behaviour of the website visitors based on a variety of parameters. This analysis is triggered automatically as soon as the website visitor enters the site. For this analysis, reCAPTCHA evaluates a variety of data (e.g. IP address, time the website visitor spent on the site or cursor movements initiated by the user). The data tracked during such analyses are forwarded to Google. [br] [br]reCAPTCHA analyses run entirely in the background. Website visitors are not alerted that an analysis is underway. [br] [br]The data is processed on the basis of Art. 6 Sect. 1 lit. f GDPR. It is in the website operators legitimate interest, to protect the operator’s web content against misuse by automated industrial espionage systems and against SPAM. [br] [br]For more information about Google reCAPTCHA and to review the Data Privacy Declaration of Google, please follow these link: [url]https://policies.google.com/privacy?hl=en[/url]. [br][size=5][b]BlogSpam.net[/b][/size][br] [br]This Service if enabled sends the user name and message to the service to determine if the message is spam. [br][size=5][b]Akismet[/b][/size][br] [br]This Service, if enabled sends the user name and message to the service to determine if the message is spam. [br][url=https://automattic.com/privacy/]Privacy Policy[/url]. [br][size=5][b]StopForumSpam[/b][/size][br] [br]This Service, if enabled passes the user name, email address and IP address of the registering member to the service to determine the likelihood a registering account is a spam source. [br][url=https://www.stopforumspam.com/gdpr]Privacy Policy[/url]. [br][size=5][b]BotScout[/b][/size][br] [br]This Service, if enabled passes the user name, email address and IP address of the registering member to the service to determine the likelihood a registering account is a spam source. [br][url=http://botscout.com/w3c/]Privacy Policy[/url]. </Resource> <Resource tag="TITLE">Forum Rules and Policies</Resource> </page> <page name="SEARCH"> <Resource tag="ALLFORUMS">Todos os Fóruns</Resource> <Resource tag="BTNSEARCH">Pesquisar</Resource> <Resource tag="BTNSEARCH_EXTERNAL">Search {0}</Resource> <Resource tag="BY">por</Resource> <Resource tag="KEYWORDS">Keyword(s)</Resource> <Resource tag="LOADING_SEARCH">Loading Search Results...</Resource> <Resource tag="MATCH_ALL">Localizar Todas as Palavras</Resource> <Resource tag="MATCH_ANY">Localizar Qualquer Palavra</Resource> <Resource tag="MATCH_EXACT">Localizar a Frase Exata</Resource> <Resource tag="NO_SEARCH_RESULTS">[b]Nenhum resultado encontrado na pesquisa.[/b]</Resource> <Resource tag="POST_AND_TITLE">Search Entire Posts</Resource> <Resource tag="POSTED">Enviado:</Resource> <Resource tag="POSTEDBY">Enviado por</Resource> <Resource tag="POSTS">Envios</Resource> <Resource tag="RESULT10">10 resultados por página</Resource> <Resource tag="RESULT25">25 resultados por página</Resource> <Resource tag="RESULT5">5 resultados por página</Resource> <Resource tag="RESULT50">50 resultados por página</Resource> <Resource tag="RESULTS">Resultados</Resource> <Resource tag="SEARCH_CRITERIA_ERROR_MAX">Search texts must be less than {0} character long and compliant with forum rules for search (see forum FAQ for more info).</Resource> <Resource tag="SEARCH_CRITERIA_ERROR_MIN">Search texts must be at least {0} character long and compliant with forum rules for search (see forum FAQ for more info).</Resource> <Resource tag="SEARCH_IN">Search in Forum(s)</Resource> <Resource tag="SEARCH_OPTIONS">Search Options</Resource> <Resource tag="SEARCH_RESULTS">Search Results per Page</Resource> <Resource tag="SEARCH_TITLEORBOTH">Search entire Posts or Titles only</Resource> <Resource tag="TITLE">Pesquisa</Resource> <Resource tag="TITLE_ONLY">Search Titles Only</Resource> <Resource tag="TOPIC">Tópico:</Resource> </page> <page name="SHOUTBOX"> <Resource tag="CLEAR">Clear</Resource> <Resource tag="FLYOUT">Fly Out</Resource> <Resource tag="HEADING">Chat with other members</Resource> <Resource tag="MUSTBELOGGEDIN">You must be logged in to use the shoutbox.</Resource> <Resource tag="SUBMIT">Submit</Resource> <Resource tag="TITLE">ShoutBox</Resource> </page> <page name="SUBSCRIPTIONS"> <Resource tag="ALLTOPICS">Notification for [b]all posts on all topics[/b]</Resource> <Resource tag="DAILY_DIGEST">Receive once daily digest/summary of activity?</Resource> <Resource tag="FORUM">Fórum</Resource> <Resource tag="FORUMS">Fóruns</Resource> <Resource tag="LASTPOST">Último Envio</Resource> <Resource tag="LASTPOSTLINK">{0} por {1}</Resource> <Resource tag="NONOTIFICATION">Turn off notifications</Resource> <Resource tag="NOTIFICATIONSELECTION">Select email notification preference:</Resource> <Resource tag="REPLIES">Respostas</Resource> <Resource tag="SAVED_NOTIFICATION_SETTING">Notification Email Settings Updated</Resource> <Resource tag="TITLE">Inscrições</Resource> <Resource tag="TOPIC">Tópico</Resource> <Resource tag="TOPICS">Tópicos</Resource> <Resource tag="TOPICSIPOSTTOORSUBSCRIBETO">Notification for topics [b]you've posted to[/b] or watched</Resource> <Resource tag="TOPICSISUBSCRIBETO">Notification for topics or forums you've selectively watched (listed below)</Resource> <Resource tag="UNSUBSCRIBE">Cancelar Inscrição</Resource> <Resource tag="VIEWS">Visualizações</Resource> <Resource tag="WARN_SELECTFORUMS">Por favor, selecione os fóruns a terem a inscrição cancelada.</Resource> <Resource tag="WARN_SELECTTOPICS">Por favor, selecione os tópicos a terem a inscrição cancelada.</Resource> </page> <page name="TEAM"> <Resource tag="ADMINS">Administrators</Resource> <Resource tag="FORUMS">Forums</Resource> <Resource tag="FORUMS_ALL">All Forums...</Resource> <Resource tag="GO">Go</Resource> <Resource tag="MODS">Moderators</Resource> <Resource tag="TITLE">Council Members</Resource> <Resource tag="USER">User</Resource> <Resource tag="VIEW_FORUMS">View Forums ({0} total)...</Resource> </page> <page name="TEMPLATES"> <Resource tag="CHANGEEMAIL_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt; Hello &lt;strong&gt;{user}&lt;/strong&gt;,&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt; Your request to change your email address to &lt;strong&gt;{newemail}&lt;/strong&gt; is almost complete!&lt;/p&gt; &lt;p&gt; Just confirm the change by clicking this link:&lt;/p&gt; &lt;p class="mt-3 mb-3 text-center"&gt;&lt;a href="{link}"&gt;{link}&lt;/a&gt;&lt;/p&gt; &lt;p&gt;And enter approval key:&lt;/p&gt; &lt;pre class="text-center"&gt;&lt;strong&gt;{key}&lt;/strong&gt;&lt;/pre&gt; &lt;p&gt; If you did not request a change to your email address please simply ignore this email.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="CHANGEEMAIL_TEXT"> Hello {user}, Your request to change your email address to {newemail} is almost complete! Just confirm the change by clicking this link: {link} And enter approval key: {key} If you did not request a change to your email address please simply ignore this email. {forumname} at {forumlink} </Resource> <Resource tag="EMAILTOPIC"> Hello! {user} thought you might be interested in reading this: {link} </Resource> <Resource tag="EMAILTOPIC_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt; {message}&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="EMAILTOPIC_TEXT"> {message} {forumname} at {forumlink} </Resource> <Resource tag="NOTIFICATION_ON_BOT_USER_REGISTER"> Hello! A new user has registered on the {forumname} forum (Be Aware the SPAM BOT Protection System has detected the user as possible BOT!): User Name: {user} User Email: {email} Administration Link: {adminlink} </Resource> <Resource tag="NOTIFICATION_ON_BOT_USER_REGISTER_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt;Hello !&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;A new user has registered on the {forumname} forum (Be Aware the SPAM BOT Protection System has detected the user as possible BOT!):&lt;/p&gt; &lt;p class="text-center"&gt;User Name: {user}&lt;/p&gt; &lt;p class="text-center"&gt;User Email: {email}&lt;/p&gt; &lt;p class="text-center"&gt;Administration Link: {adminlink}&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ON_BOT_USER_REGISTER_TEXT"> Hello! A new user has registered on the {forumname} forum (Be Aware the SPAM BOT Protection System has detected the user as possible BOT!): User Name: {user} User Email: {email} Administration Link: {adminlink} </Resource> <Resource tag="NOTIFICATION_ON_FACEBOOK_REGISTER"> Hello {user}. You have been successfully registered on the {forumname} forum using Facebook Login: User Name: {user} Auto Generated Password: {pass} Auto Generated Security Answer: {answer} User Email: {email} (Please don't change your email, or you are unable to login with facebook) </Resource> <Resource tag="NOTIFICATION_ON_FACEBOOK_REGISTER_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt; Hello &lt;strong&gt;{user}&lt;/strong&gt;,&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;You have been successfully registered on the {forumname} forum using Facebook Login:&lt;/p&gt; &lt;p class="text-center"&gt;User Name: {user}&lt;/p&gt; &lt;p class="text-center"&gt;Auto Generated Password: {pass}&lt;/p&gt; &lt;p class="text-center"&gt;Auto Generated Security Answer: {answer}&lt;/p&gt; &lt;p class="text-center"&gt;User Email: {email} (Please don't change your email, or you are unable to login with Facebook)&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ON_FACEBOOK_REGISTER_TEXT"> Hello {user}. You have been successfully registered on the {forumname} forum using Facebook Login: User Name: {user} Auto Generated Password: {pass} Auto Generated Security Answer: {answer} User Email: {email} (Please don't change your email, or you are unable to login with Facebook) </Resource> <Resource tag="NOTIFICATION_ON_GOOGLE_REGISTER"> Hello {user}. You have been successfully registered on the {forumname} forum using Google Login: User Name: {user} Auto Generated Password: {pass} Auto Generated Security Answer: {answer} User Email: {email} (Please don't change your email, or you are unable to login with Google) </Resource> <Resource tag="NOTIFICATION_ON_GOOGLE_REGISTER_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt; Hello &lt;strong&gt;{user}&lt;/strong&gt;,&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;You have been successfully registered on the {forumname} forum using Google Login:&lt;/p&gt; &lt;p class="text-center"&gt;User Name: {user}&lt;/p&gt; &lt;p class="text-center"&gt;Auto Generated Password: {pass}&lt;/p&gt; &lt;p class="text-center"&gt;Auto Generated Security Answer: {answer}&lt;/p&gt; &lt;p class="text-center"&gt;User Email: {email} (Please don't change your email, or you are unable to login with Google)&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ON_GOOGLE_REGISTER_TEXT"> Hello {user}. You have been successfully registered on the {forumname} forum using Google Login: User Name: {user} Auto Generated Password: {pass} Auto Generated Security Answer: {answer} User Email: {email} (Please don't change your email, or you are unable to login with Google) </Resource> <Resource tag="NOTIFICATION_ON_MEDAL_AWARDED_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt; Hello &lt;strong&gt;{user}&lt;/strong&gt;,&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;Congratulations you have been awarded with the {medalname} on the {forumname} forum.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ON_MEDAL_AWARDED_TEXT"> Hello {user}. Congratulations you have been awarded with the {medalname} on the {forumname} forum. </Resource> <Resource tag="NOTIFICATION_ON_MODERATOR_MESSAGE_APPROVAL_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt; Hello &lt;strong&gt;{user}&lt;/strong&gt;,&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;A new message that needs to be approved has been posted in the {forumname} forum&lt;/p&gt; &lt;p class="text-center"&gt;Administration Link: {adminlink}&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ON_MODERATOR_MESSAGE_APPROVAL_TEXT"> A new message that needs to be approved has been posted in the {forumname} forum: Administration Link: {adminlink} </Resource> <Resource tag="NOTIFICATION_ON_MODERATOR_REPORTED_MESSAGE_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt; Hello &lt;strong&gt;{user}&lt;/strong&gt;,&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;A message was reported by {reporter} for the following reason: {reason}&lt;/p&gt; &lt;p&gt;The Message was posted in the {forumname} forum.&lt;/p&gt; &lt;p class="text-center"&gt;Administration Link: {adminlink}&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ON_MODERATOR_REPORTED_MESSAGE_TEXT"> A message was reported by {reporter} for the following reason: {reason} The Message was posted in the {forumname} forum. Administration Link: {adminlink} </Resource> <Resource tag="NOTIFICATION_ON_MODERATOR_SPAMMESSAGE_APPROVAL_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt; Hello &lt;strong&gt;{user}&lt;/strong&gt;,&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;A new message (posted in the {forumname} forum) was detected as SPAM, needs to be checked&lt;/p&gt; &lt;p class="text-center"&gt;Administration Link: {adminlink}&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ON_MODERATOR_SPAMMESSAGE_APPROVAL_TEXT"> A new message (posted in the {forumname} forum) was detected as SPAM, needs to be checked: Administration Link: {adminlink} </Resource> <Resource tag="NOTIFICATION_ON_REGISTER"> Hello {user}. You have been successfully registered on the {forumname} forum: User Name: {user} Auto Generated Password: {pass} Auto Generated Security Answer: {answer} User Email: {email} </Resource> <Resource tag="NOTIFICATION_ON_REGISTER_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt; Hello &lt;strong&gt;{user}&lt;/strong&gt;,&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;You have been successfully registered on the {forumname} forum:&lt;/p&gt; &lt;p class="text-center"&gt;User Name: {user}&lt;/p&gt; &lt;p class="text-center"&gt;Auto Generated Password: {pass}&lt;/p&gt; &lt;p class="text-center"&gt;Auto Generated Security Answer: {answer}&lt;/p&gt; &lt;p class="text-center"&gt;User Email: {email}&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ON_REGISTER_TEXT"> Hello {user}. You have been successfully registered on the {forumname} forum: User Name: {user} Auto Generated Password: {pass} Auto Generated Security Answer: {answer} User Email: {email} </Resource> <Resource tag="NOTIFICATION_ON_SUSPENDING_ENDED_USER"> Hello {user}, The suspension of your forum account has ended or was lifted. Thanks! The {forumname} Team {forumurl} </Resource> <Resource tag="NOTIFICATION_ON_SUSPENDING_ENDED_USER_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt;Hello {user},&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;The suspension of your forum account has ended or was lifted.&lt;/p&gt; &lt;p&gt;Thanks!&lt;br /&gt; The {forumname} Team&lt;br /&gt; {forumurl} &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ON_SUSPENDING_ENDED_USER_TEXT"> Hello {user}, The suspension of your forum account has ended or was lifted. Thanks! The {forumname} Team {forumurl} </Resource> <Resource tag="NOTIFICATION_ON_SUSPENDING_USER"> Hello {user}, Your forum account on the {forumname} forum has been temporarily suspended. This suspension is due to end on {suspendedUntil}. For the following Reason: '{suspendReason}' Thanks! The {forumname} Team {forumurl} </Resource> <Resource tag="NOTIFICATION_ON_SUSPENDING_USER_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt;Hello {user},&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;Your forum account on the {forumname} forum has been temporarily suspended.&lt;/p&gt; &lt;p&gt;This suspension is due to end on {suspendedUntil}.&lt;/p&gt; &lt;p&gt;For the following Reason: '{suspendReason}'&lt;/p&gt; &lt;p&gt;Thanks!&lt;br /&gt; The {forumname} Team&lt;br /&gt; {forumurl} &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ON_SUSPENDING_USER_TEXT"> Hello {user}, Your forum account on the {forumname} forum has been temporarily suspended. This suspension is due to end on {suspendedUntil}. For the following Reason: '{suspendReason}' Thanks! The {forumname} Team {forumurl} </Resource> <Resource tag="NOTIFICATION_ON_TWITTER_REGISTER"> Hello {user}. You have been successfully registered on the {forumname} forum using Twitter Login: User Name: {user} Auto Generated Password: {pass} Auto Generated Security Answer: {answer} User Email: {email} (Please change your Email adress to your real one in order to Receive E-Mails) </Resource> <Resource tag="NOTIFICATION_ON_USER_REGISTER"> Hello! A new user has registered on the {forumname} forum: User Name: {user} User Email: {email} Administration Link: {adminlink} </Resource> <Resource tag="NOTIFICATION_ON_USER_REGISTER_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt;Hello !&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;A new user has registered on the {forumname} forum:&lt;/p&gt; &lt;p class="text-center"&gt;User Name: {user}&lt;/p&gt; &lt;p class="text-center"&gt;User Email: {email}&lt;/p&gt; &lt;p class="text-center"&gt;Administration Link: {adminlink}&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ON_USER_REGISTER_TEXT"> Hello! A new user has registered on the {forumname} forum: User Name: {user} User Email: {email} Administration Link: {adminlink} </Resource> <Resource tag="NOTIFICATION_ON_WELCOME_USER"> Hello {user}, You have been successfully registered on the {forumname} forum. You're all ready to go! Before posting, consider other ways of finding information: - Use the help pages to find out how the forum works - Try the Forum Search, often times your questions are already been answered - Do not post any abusive, vulgar, obscene, hateful, slanderous, threatening, sexually-oriented or any other material that may violate any applicable laws. Doing so may lead to you being permanently banned from this forum. Note that all IP addresses are logged and may aid in enforcing these conditions. Thanks! The {forumname} Team {forumurl} </Resource> <Resource tag="NOTIFICATION_ON_WELCOME_USER_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt;Hello {user},&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;You have been successfully registered on the {forumname} forum. You're all ready to go!&lt;/p&gt; &lt;p&gt;Before posting, consider other ways of finding information:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Use the help pages to find out how the forum works&lt;/li&gt; &lt;li&gt;Try the Forum Search, often times your questions are already been answered&lt;/li&gt; &lt;li&gt;Do not post any abusive, vulgar, obscene, hateful, slanderous, threatening, sexually-oriented or any other material that may violate any applicable laws.&lt;/li&gt; &lt;li&gt;Doing so may lead to you being permanently banned from this forum. Note that all IP addresses are logged and may aid in enforcing these conditions.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;Thanks!&lt;br /&gt; The {forumname} Team&lt;br /&gt; {forumurl} &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ON_WELCOME_USER_TEXT"> Hello {user}, You have been successfully registered on the {forumname} forum. You're all ready to go! Before posting, consider other ways of finding information: - Use the help pages to find out how the forum works - Try the Forum Search, often times your questions are already been answered - Do not post any abusive, vulgar, obscene, hateful, slanderous, threatening, sexually-oriented or any other material that may violate any applicable laws. Doing so may lead to you being permanently banned from this forum. Note that all IP addresses are logged and may aid in enforcing these conditions. Thanks! The {forumname} Team {forumurl} </Resource> <Resource tag="NOTIFICATION_ROLE_ASSIGNMENT"> Hello {user}, Your user account on the {forumname} forum has has been recently updated to include access to the following Group(s): {roles} Thanks! The {forumname} Team {forumurl} </Resource> <Resource tag="NOTIFICATION_ROLE_ASSIGNMENT_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt;Hello {user},&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;Your user account on the {forumname} forum has has been recently updated to include access to the following Group(s):&lt;/p&gt; &lt;p class="text-center"&gt;{roles}&lt;/p&gt; &lt;p&gt;Thanks!&lt;br /&gt; The {forumname} Team&lt;br /&gt; {forumurl} &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ROLE_ASSIGNMENT_TEXT"> Hello {user}, Your user account on the {forumname} forum has has been recently updated to include access to the following Group(s): {roles} Thanks! The {forumname} Team {forumurl} </Resource> <Resource tag="NOTIFICATION_ROLE_UNASSIGNMENT"> Hello {user}, Your user account on the {forumname} forum has been recently updated to restrict access to the following Groups(s): {roles} Thanks! The {forumname} Team {forumurl} </Resource> <Resource tag="NOTIFICATION_ROLE_UNASSIGNMENT_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt;Hello {user},&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;Your user account on the {forumname} forum has been recently updated to restrict access to the following Groups(s):&lt;/p&gt; &lt;p class="text-center"&gt;{roles}&lt;/p&gt; &lt;p&gt;Thanks!&lt;br /&gt; The {forumname} Team&lt;br /&gt; {forumurl} &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="NOTIFICATION_ROLE_UNASSIGNMENT_TEXT"> Hello {user}, Your user account on the {forumname} forum has been recently updated to restrict access to the following Groups(s): {roles} Thanks! The {forumname} Team {forumurl} </Resource> <Resource tag="PASSWORDRETRIEVAL_ADMIN_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt;Hello &lt;strong&gt;{username}&lt;/strong&gt;,&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;Your password has been resetted for the {forumname}, and new password has been generated for you at {forumlink}.&lt;/p&gt; &lt;p&gt;Please return to the site and login using the following information:&lt;/p&gt; &lt;div class="text-center"&gt;&lt;code&gt; User Name: &lt;strong&gt;{username}&lt;/strong&gt;&lt;br /&gt; Password: &lt;strong&gt;{password}&lt;/strong&gt; &lt;/code&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="PASSWORDRETRIEVAL_ADMIN_TEXT"> Hello {username}, Your password has been resetted for the {forumname}, and new password has been generated for you at {forumlink}. Please return to the site and login using the following information: User Name: {username} Password: {password} </Resource> <Resource tag="PASSWORDRETRIEVAL_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt;Hello &lt;strong&gt;{username}&lt;/strong&gt;,&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;You or someone (with the IP Address: {ipaddress}) has requested to reset your password because you have forgotten your password.&lt;/p&gt; &lt;p&gt;Please return to the site and login using the following information:&lt;/p&gt; &lt;div class="text-center"&gt;&lt;code&gt; User Name: &lt;strong&gt;{username}&lt;/strong&gt;&lt;br /&gt; Password: &lt;strong&gt;{password}&lt;/strong&gt; &lt;/code&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="PASSWORDRETRIEVAL_TEXT"> Hello {username}, You or someone (with the IP Address: {ipaddress}) has requested to reset your password because you have forgotten your password. A new password has been generated for you on {forumname} at {forumlink}. Please return to the site and login using the following information: User Name: {username} Password: {password} </Resource> <Resource tag="PMNOTIFICATION_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt;Hello &lt;strong&gt;{username}&lt;/strong&gt;,&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;A new Private Message from {fromuser} about {subject} was send to you at {forumname}.&lt;/p&gt; &lt;p&gt;To read the message, open the following link in your browser:&lt;/p&gt; &lt;p class="text-center"&gt;&lt;a href="{link}"&gt;{link}&lt;/a&gt;&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="PMNOTIFICATION_TEXT"> A new Private Message from {fromuser} about {subject} was send to you at {forumname}. To read the message, open the following link in your browser: {link} </Resource> <Resource tag="TOPICPOST_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;p class="mt-3 mb-4"&gt;There's a new post in topic "{topic}" at {forumname} By {postedby}:&lt;/p&gt; &lt;p&gt;"{bodytruncated}" &lt;p&gt;To read more, click or copy and paste the following link into your browser:&lt;/p&gt; &lt;p class="text-center"&gt;&lt;a href="{link}"&gt;{link}&lt;/a&gt;&lt;/p&gt; &lt;p&gt;You can manage your subscriptions here:&lt;/p&gt; &lt;p class="text-center"&gt;&lt;a href="{subscriptionlink}"&gt;{subscriptionlink}&lt;/a&gt;&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="TOPICPOST_TEXT"> A new message has been posted in the thread {topic} at {forumname}. To read the message, open the following link in your browser: {link} You can manage your subscriptions here: {subscriptionlink} </Resource> <Resource tag="VERIFYEMAIL_HTML"> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link rel="stylesheet" media="all" href="{themecss}" /&gt; &lt;/head&gt; &lt;body class="bg-light"&gt; &lt;div class="container"&gt; &lt;div class="mx-auto mt-4 mb-3 text-center" style="width:100px;height:40px;background: url('{logo}') no-repeat"&gt; &lt;/div&gt; &lt;div class="card mb-4" style="border-top: 5px solid #3761b5;"&gt; &lt;div class="card-body"&gt; &lt;h4 class="text-center"&gt;Hello &lt;strong&gt;{username}&lt;/strong&gt;,&lt;/h4&gt; &lt;p class="mt-3 mb-4"&gt;You have requested to join {forumname}, but before you can join your email address must be verified.&lt;/p&gt; &lt;p&gt;To verify your email address open the following link in your web browser:&lt;/p&gt; &lt;p class="text-center"&gt;&lt;a href="{link}"&gt;{link}&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Your approval key is:&lt;/p&gt; &lt;p class="text-center"&gt;{key}&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="text-center text-muted"&gt;&lt;strong&gt;{forumname}&lt;/strong&gt; at &lt;a href="{forumlink}"&gt;{forumlink}&lt;/a&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </Resource> <Resource tag="VERIFYEMAIL_TEXT"> You have requested to join {forumname}, but before you can join your email address must be verified. To verify your email address open the following link in your web browser: {link} Your approval key is: {key} Visit {forumname} at {forumlink} </Resource> </page> <page name="TOOLBAR"> <Resource tag="ACTIVETOPICS">Tópicos Ativos</Resource> <Resource tag="ACTIVETOPICS_TITLE">Shows the Active Topics Page.</Resource> <Resource tag="ADMIN">Administrar</Resource> <Resource tag="ADMIN_TITLE">Shows the Admin Index.</Resource> <Resource tag="BUDDIES">Friends</Resource> <Resource tag="BUDDIES_TITLE">Shows your Friend List.</Resource> <Resource tag="BUDDYREQUEST">({0} pending)</Resource> <Resource tag="DISABLED_REGISTER"> New Registrations are disabled.</Resource> <Resource tag="FORUM_TITLE">Shows the Forum Mainpage.</Resource> <Resource tag="HELP">Ajuda</Resource> <Resource tag="HELP_TITLE">Shows the Help Pages.</Resource> <Resource tag="HOST">Host</Resource> <Resource tag="HOST_TITLE">Shows the Hostsettings.</Resource> <Resource tag="INBOX">My Inbox</Resource> <Resource tag="INBOX_TITLE">Shows Private Messages Inbox.</Resource> <Resource tag="LOGGED_IN_AS">Conectado como: {0}</Resource> <Resource tag="LOGIN">Entrar</Resource> <Resource tag="LOGIN_CONNECT">Login to your {0} forum account</Resource> <Resource tag="LOGIN_TITLE">Shows the Login Control to the Forum.</Resource> <Resource tag="LOGOUT">Sair</Resource> <Resource tag="LOGOUT_QUESTION">Are you sure you want to logout?</Resource> <Resource tag="LOGOUT_TITLE">Logout from the Forum.</Resource> <Resource tag="MEMBERS">Membros</Resource> <Resource tag="MEMBERS_TITLE">Opens the Member list page.</Resource> <Resource tag="MODERATE">Moderar</Resource> <Resource tag="MODERATE_NEW">({0} Need Moderating)</Resource> <Resource tag="MODERATE_TITLE">Shows the Moderate Page where you can view unapproved and reported Posts..</Resource> <Resource tag="MYACTIVITY">My Activity</Resource> <Resource tag="MYACTIVITY_TITLE">Shows your activity and Received Thanks, Mentions and Quotes.</Resource> <Resource tag="MYALBUMS">My Albums</Resource> <Resource tag="MYALBUMS_TITLE">Shows the Albums Page which shows all your albums.</Resource> <Resource tag="MYNOTIFY">My Notifications</Resource> <Resource tag="MYNOTIFY_TITLE">Shows your unread Received Thanks, Mentions and Quotes.</Resource> <Resource tag="MYPROFILE">Meu Perfil</Resource> <Resource tag="MYPROFILE_TITLE">Shows the User Control Panel.</Resource> <Resource tag="MYSETTINGS">My Settings</Resource> <Resource tag="MYSETTINGs_TITLE">Edit your user details and settings.</Resource> <Resource tag="MYTOPICS">My Topics</Resource> <Resource tag="MYTOPICS_TITLE">Shows the Active and Favorite Topics.</Resource> <Resource tag="NEWPM">({0} Unread)</Resource> <Resource tag="REGISTER">Registrar</Resource> <Resource tag="REGISTER_CONNECT">or Register a new forum account</Resource> <Resource tag="REGISTER_TITLE">Shows the Registration Form.</Resource> <Resource tag="SEARCH">Pesquisar</Resource> <Resource tag="SEARCH_TITLE">Use the Forum Search.</Resource> <Resource tag="SEARCHKEYWORD">Search Keyword...</Resource> <Resource tag="TEAM">Team</Resource> <Resource tag="TEAM_TITLE">Shows the Team Page which shows all Moderators and Admins..</Resource> <Resource tag="UNREADTOPICS">There are {0} Topic(s) with unread Messages</Resource> <Resource tag="WELCOME_GUEST">Bem-vindo Convidado</Resource> <Resource tag="WELCOME_GUEST_CONNECT">Wanna join the discussion?! </Resource> <Resource tag="WELCOME_GUEST_FULL">Welcome Guest! To enable all features please </Resource> <Resource tag="WELCOME_GUEST_NO">Welcome Guest! You can &lt;strong&gt;not&lt;/strong&gt; login or register.</Resource> </page> <page name="TOPICS"> <Resource tag="ALL">Todos</Resource> <Resource tag="ATOMFEED">Atom Feed</Resource> <Resource tag="BY">por {0}</Resource> <Resource tag="CREATED">Criado</Resource> <Resource tag="FAVORITE_COUNT_TT">How many times added to favorites</Resource> <Resource tag="FORUM">Forum</Resource> <Resource tag="FORUMUSERS">Usuários visitando este fórum</Resource> <Resource tag="GOTO_POST_PAGER">[ Ir para a Página: {0} ]</Resource> <Resource tag="INFO_UNWATCH_FORUM">Você não será mais notificado de novas participações neste fórum.</Resource> <Resource tag="INFO_WATCH_FORUM">Você será notificado de novas participações neste fórum.</Resource> <Resource tag="LAST_DAY">desde o último dia</Resource> <Resource tag="LAST_MONTH">desde o último mês</Resource> <Resource tag="LAST_SIX_MONTHS">desde os últimos seis meses</Resource> <Resource tag="LAST_TWO_DAYS">desde os últimos dois dias</Resource> <Resource tag="LAST_TWO_MONTHS">desde os últimos dois meses</Resource> <Resource tag="LAST_TWO_WEEKS">desde as últimas duas semanas</Resource> <Resource tag="LAST_WEEK">desde a última semana</Resource> <Resource tag="LAST_YEAR">desde o último ano</Resource> <Resource tag="LASTPOST">Última Participação</Resource> <Resource tag="MARKREAD">Marcar este fórum como lido</Resource> <Resource tag="NO_POSTS">Nenhuma Participação</Resource> <Resource tag="NO_TOPICS">The Forum currently has no Topics</Resource> <Resource tag="OK_TT">Search this Forum</Resource> <Resource tag="POSTS">Posts</Resource> <Resource tag="REPLIES">Respostas</Resource> <Resource tag="RSSFEED">Notícias RSS</Resource> <Resource tag="SEARCH_FORUM">Search Forum</Resource> <Resource tag="SHOWTOPICS">Mostrar Tópicos</Resource> <Resource tag="SUBFORUMS">{0} Subforuns</Resource> <Resource tag="TODAYAT">[b]Hoje[/b] às {0:T}</Resource> <Resource tag="TOPIC_STARTER">Tópico Inicial</Resource> <Resource tag="TOPICS">Tópicos</Resource> <Resource tag="UNWATCHFORUM">Fórum Não Visitado</Resource> <Resource tag="USER_AVATAR">{0}'s Avatar</Resource> <Resource tag="VIEWS">Visitas</Resource> <Resource tag="WARN_FORUM_LOCKED">O fórum está fechado.</Resource> <Resource tag="WARN_LOGIN_FORUMWATCH">Você precisa estar conectado para visitar os fóruns.</Resource> <Resource tag="WATCHFORUM">Fórum Visitado</Resource> <Resource tag="YESTERDAYAT">[b]Ontem[/b] às {0:T}</Resource> </page> <page name="VIEWTHANKS"> <Resource tag="NO_THANKS">[b]No thanks found.[/b]</Resource> <Resource tag="THANKSFROMUSER">{0} thanked</Resource> <Resource tag="THANKSNUMBER">Was thanked: [b]{0}[/b] time(s)</Resource> <Resource tag="THANKSTOUSER">{0} was thanked</Resource> <Resource tag="TITLE">View Thanks</Resource> </page> </Resources>
{ "content_hash": "3742fd776fa74483b223fd784695d387", "timestamp": "", "source": "github", "line_count": 6392, "max_line_length": 801, "avg_line_length": 64.80334793491865, "alnum_prop": 0.7095091291405837, "repo_name": "Pathfinder-Fr/YAFNET", "id": "befceb6b2ed3b1ce276a8d2b53e202df040059f4", "size": "414783", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "yafsrc/YetAnotherForum.NET/languages/portugues.xml", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "ASP", "bytes": "1160769" }, { "name": "Batchfile", "bytes": "4612" }, { "name": "C#", "bytes": "32268813" }, { "name": "CSS", "bytes": "1119799" }, { "name": "HTML", "bytes": "14854" }, { "name": "JavaScript", "bytes": "5789303" }, { "name": "PLSQL", "bytes": "34218" }, { "name": "PLpgSQL", "bytes": "53478" }, { "name": "TSQL", "bytes": "706921" } ], "symlink_target": "" }
package org.camunda.bpm.engine.variable.value.builder; import org.camunda.bpm.engine.variable.value.ObjectValue; import org.camunda.bpm.engine.variable.value.SerializationDataFormat; /** * @author Daniel Meyer * */ public interface ObjectValueBuilder extends TypedValueBuilder<ObjectValue> { ObjectValueBuilder serializationDataFormat(String dataFormatName); ObjectValueBuilder serializationDataFormat(SerializationDataFormat dataFormat); }
{ "content_hash": "e30462f7cb7295a607c632496d69c3bf", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 81, "avg_line_length": 26.705882352941178, "alnum_prop": 0.8281938325991189, "repo_name": "falko/camunda-bpm-platform", "id": "1c212e93e92637296787a979f8fb50f9d5e1a672", "size": "1261", "binary": false, "copies": "4", "ref": "refs/heads/master", "path": "typed-values/src/main/java/org/camunda/bpm/engine/variable/value/builder/ObjectValueBuilder.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Batchfile", "bytes": "7146" }, { "name": "CSS", "bytes": "2750" }, { "name": "Groovy", "bytes": "1594" }, { "name": "HTML", "bytes": "43707" }, { "name": "Java", "bytes": "34666044" }, { "name": "JavaScript", "bytes": "43" }, { "name": "Python", "bytes": "187" }, { "name": "Ruby", "bytes": "60" }, { "name": "Shell", "bytes": "8400" }, { "name": "TSQL", "bytes": "913884" } ], "symlink_target": "" }
from unittest import TestCase from unittest import main from pylegos.core import Inspector #USE CASE 1: Called from the different types of methods that can be contained inside a class class sut1(object): #USE CASE 2: Called from a nested class class sut1nested(object): @staticmethod def getCallerFromNestedStaticMethod(sutMethod): return sutMethod() @classmethod def getCallerFromNestedClassMethod(cls,sutMethod): return sutMethod() def getCallerFromNestedObjMethod(self,sutMethod): return sutMethod() @staticmethod def getCallerFromStaticMethod(sutMethod): return sutMethod() @classmethod def getCallerFromClassMethod(cls,sutMethod): return sutMethod() def getCallerFromObjMethod(self,sutMethod): return sutMethod() #USE CASE 3: Called from a module level method def test_getCallerFromModMethod(sutMethod): return sutMethod() #USE CASE 4: Caller is from different types of methods in a class class sut2(object): #USE CASE 5: Caller is from a nested class # This will also have calls from this nested class to # the sut1nested class. Will come as as the sut1method arg class sut2nested(object): @staticmethod def calledFromNestedStaticMethod(sut1Method,sutTestMethod): return sut1Method(sutMethod=sutTestMethod) @classmethod def calledFromNestedClassMethod(cls,sut1Method,sutTestMethod): return sut1Method(sutMethod=sutTestMethod) def calledFromNestedObjMethod(self,sut1Method,sutTestMethod): return sut1Method(sutMethod=sutTestMethod) @staticmethod def calledFromStaticMethod(sut1Method,sutTestMethod): return sut1Method(sutMethod=sutTestMethod) @classmethod def calledFromClassMethod(cls,sut1Method,sutTestMethod): return sut1Method(sutMethod=sutTestMethod) #USE CASE 6: Caller is a module level method def test_calledFromModMethod(): # THIS NEEDS TO BE IN THE FORMAT OF Inspector.<methodToTest>:'<ExpectedValueToReturn> sutTestMethods = {Inspector.getCallerFQN:'test_inspector.test_calledFromModMethod', Inspector.getCallerClass:None, Inspector.getCallerMod:'test_inspector', Inspector.getCallerFunc:'test_calledFromModMethod'} for testFx,expectVal in sutTestMethods.items(): for sutTest in [sut1.getCallerFromStaticMethod, sut1.getCallerFromClassMethod, sut1().getCallerFromObjMethod, sut1.sut1nested.getCallerFromNestedStaticMethod, sut1.sut1nested.getCallerFromNestedClassMethod, sut1.sut1nested().getCallerFromNestedObjMethod]: testRetVal = sutTest(sutMethod=testFx) TestCase().assertEqual(expectVal,testRetVal,'Failed on call to |::|'+str(testFx)+'|::| for function type |::|'+str(sutTest)+'|::| from module method |::|test_calledFromModMethod|::|') testRetval = test_getCallerFromModMethod(sutMethod=testFx) TestCase().assertEqual(expectVal,testRetVal,'Failed on call to |::|'+str(testFx)+'|::| from function type |::|test_getCallerFromModMethod|::| from module method |::|test_calledFromModMethod|::|') class TestInspector(TestCase): def test_Inspector(self): # THIS WILL CALL ALL CALLER TESTS FOR NORMAL USE CASE WHERE CALLER WILL COME FROM # A STANDARD CLASS/METHOD inspector = Inspector.Instance() # THIS NEEDS TO BE IN THE FORMAT OF Inspector.<methodToTest>:'<ExpectedValueToReturn> sutTestMethods = {inspector.getCallerFQN:'test_inspector.TestInspector.test_Inspector', inspector.getCallerClass:'TestInspector', inspector.getCallerMod:'test_inspector', inspector.getCallerFunc:'test_Inspector'} for testFx,expectVal in sutTestMethods.items(): for sutTest in [sut1.getCallerFromStaticMethod, sut1.getCallerFromClassMethod, sut1().getCallerFromObjMethod, sut1.sut1nested.getCallerFromNestedStaticMethod, sut1.sut1nested.getCallerFromNestedClassMethod, sut1.sut1nested().getCallerFromNestedObjMethod]: testRetVal = sutTest(sutMethod=testFx) self.assertEqual(expectVal,testRetVal,'Failed on call to <'+str(testFx)+'> for function type ['+str(sutTest)+']') testRetval = test_getCallerFromModMethod(sutMethod=testFx) self.assertEqual(expectVal,testRetVal,'Failed on call to <'+str(testFx)+'> for function type [test_getCallerFromModMethod]') # NOW CALL ALL TESTS FOR USE CASES FOR DIFFERENT TYPES OF CALLERS test_calledFromModMethod() #rv = sut2.calledFromStaticMethod(sut1Method=sut1.getCallerFromStaticMethod,sutTestMethod=Inspector.getCallerFQN) #self.assertEqual('test_inspector.sut2.calledFromStaticMethod',rv,'failed on poc') # TODO FIX CALL TO GET CLASS WHEN CALLED FROM STATIC METHOD #rv = sut2.calledFromStaticMethod(sut1Method=sut1.getCallerFromStaticMethod,sutTestMethod=Inspector.getCallerClass) #self.assertEqual('calledFromStaticMethod',rv,'failed on poc') @classmethod def test_InspectorFromStatic(cls): inspector = Inspector.Instance() rv = sut1().getCallerFromStaticMethod(sutMethod=inspector.getCallerClass) TestCase().assertEqual('TestInspector',rv) if __name__ == '__main__': #TestInspector.test_InspectorStatics() main()
{ "content_hash": "9c849c2cb63df92e191181fa0fa4db52", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 204, "avg_line_length": 47.61666666666667, "alnum_prop": 0.6825341267063353, "repo_name": "velexio/pyLegos", "id": "50470837b38c1d876838c23e8664e85075605158", "size": "5714", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "tests/test_inspector.py", "mode": "33261", "license": "mit", "language": [ { "name": "Python", "bytes": "456342" }, { "name": "Shell", "bytes": "3694" }, { "name": "Smarty", "bytes": "22363" } ], "symlink_target": "" }
package org.assertj.core.api.abstract_; import static org.mockito.Mockito.verify; import org.assertj.core.api.AbstractAssert; import org.assertj.core.api.AbstractAssertBaseTest; import org.assertj.core.api.ConcreteAssert; import org.junit.jupiter.api.Test; /** * Tests for <code>{@link AbstractAssert#isNull()}</code>. * * @author Alex Ruiz */ public class AbstractAssert_isNull_Test extends AbstractAssertBaseTest{ @Test public void should_verify_that_actual_value_is_null() { } @Override protected ConcreteAssert invoke_api_method() { assertions.isNull(); return null; } @Override protected void verify_internal_effects() { verify(objects).assertNull(getInfo(assertions), getActual(assertions)); } @Override @Test public void should_return_this() { // Disable this test, the isNull method is void. } }
{ "content_hash": "f0f460cf19a54cd9c5b50f6a943697d0", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 75, "avg_line_length": 22.102564102564102, "alnum_prop": 0.7262180974477959, "repo_name": "xasx/assertj-core", "id": "174dc29658c30a84003a598a3b5cf740f7ed40a8", "size": "1468", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "src/test/java/org/assertj/core/api/abstract_/AbstractAssert_isNull_Test.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "13307657" }, { "name": "Shell", "bytes": "37294" } ], "symlink_target": "" }
#import "Icon.h" #import "Trace.h" @implementation Icon #pragma mark - #pragma mark Properties: @synthesize type; @synthesize uriString; @synthesize creativeType; @synthesize program; @synthesize width; @synthesize height; @synthesize xPosition; @synthesize yPosition; @synthesize duration; @synthesize offset; @synthesize apiFramework; @synthesize iconClicks; #pragma mark - #pragma mark Destructor: - (void) dealloc { SEQUENCER_LOG(@"Icon dealloc called."); [type release]; [uriString release]; [creativeType release]; [program release]; [apiFramework release]; [iconClicks release]; [super dealloc]; } @end
{ "content_hash": "90009708827665bade78bff6924eddd2", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 43, "avg_line_length": 17.475, "alnum_prop": 0.670958512160229, "repo_name": "FeedStream/azure-media-player-framework", "id": "54b87482aa9ba88abec87914669444811c7b6a8b", "size": "1435", "binary": false, "copies": "4", "ref": "refs/heads/master", "path": "src/iOS/lib/SequencerWrapper/Classes/Icon.m", "mode": "33261", "license": "apache-2.0", "language": [], "symlink_target": "" }
<?php declare(strict_types=1); namespace Biplane\YandexDirect\Api\V5\Contract; /** * Auto-generated code. */ class IncomeGradeAdjustmentFieldEnum { public const GRADE = 'Grade'; public const BID_MODIFIER = 'BidModifier'; public const ENABLED = 'Enabled'; }
{ "content_hash": "9fe6e6d8135352f8dd7953df0d2bf13f", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 47, "avg_line_length": 16.235294117647058, "alnum_prop": 0.7028985507246377, "repo_name": "biplane/yandex-direct", "id": "724b34f4fb21a658aa76ba56d9f7bfa45c0c5c10", "size": "276", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/Api/V5/Contract/IncomeGradeAdjustmentFieldEnum.php", "mode": "33188", "license": "mit", "language": [ { "name": "PHP", "bytes": "1596128" } ], "symlink_target": "" }
package com.cloud.api.command.admin.storage; import static com.cloud.api.ApiConstants.S3_ACCESS_KEY; import static com.cloud.api.ApiConstants.S3_BUCKET_NAME; import static com.cloud.api.ApiConstants.S3_CONNECTION_TIMEOUT; import static com.cloud.api.ApiConstants.S3_CONNECTION_TTL; import static com.cloud.api.ApiConstants.S3_END_POINT; import static com.cloud.api.ApiConstants.S3_HTTPS_FLAG; import static com.cloud.api.ApiConstants.S3_MAX_ERROR_RETRY; import static com.cloud.api.ApiConstants.S3_SECRET_KEY; import static com.cloud.api.ApiConstants.S3_SIGNER; import static com.cloud.api.ApiConstants.S3_SOCKET_TIMEOUT; import static com.cloud.api.ApiConstants.S3_USE_TCP_KEEPALIVE; import static com.cloud.api.BaseCmd.CommandType.BOOLEAN; import static com.cloud.api.BaseCmd.CommandType.INTEGER; import static com.cloud.api.BaseCmd.CommandType.STRING; import static com.cloud.user.Account.ACCOUNT_ID_SYSTEM; import com.cloud.api.APICommand; import com.cloud.api.ApiConstants; import com.cloud.api.ApiErrorCode; import com.cloud.api.BaseCmd; import com.cloud.api.Parameter; import com.cloud.api.ServerApiException; import com.cloud.api.response.ImageStoreResponse; import com.cloud.exception.ConcurrentOperationException; import com.cloud.exception.DiscoveryException; import com.cloud.exception.InsufficientCapacityException; import com.cloud.exception.NetworkRuleConflictException; import com.cloud.exception.ResourceAllocationException; import com.cloud.exception.ResourceUnavailableException; import com.cloud.storage.ImageStore; import com.cloud.utils.storage.S3.ClientOptions; import java.util.HashMap; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @APICommand(name = "addImageStoreS3", description = "Adds S3 Image Store", responseObject = ImageStoreResponse.class, since = "4.7.0", requestHasSensitiveInfo = true, responseHasSensitiveInfo = false) public final class AddImageStoreS3CMD extends BaseCmd implements ClientOptions { public static final Logger s_logger = LoggerFactory.getLogger(AddImageStoreS3CMD.class.getName()); private static final String s_name = "addImageStoreS3Response"; @Parameter(name = S3_ACCESS_KEY, type = STRING, required = true, description = "S3 access key") private String accessKey; @Parameter(name = S3_SECRET_KEY, type = STRING, required = true, description = "S3 secret key") private String secretKey; @Parameter(name = S3_END_POINT, type = STRING, required = true, description = "S3 endpoint") private String endPoint; @Parameter(name = S3_BUCKET_NAME, type = STRING, required = true, description = "Name of the storage bucket") private String bucketName; @Parameter(name = S3_SIGNER, type = STRING, required = false, description = "Signer Algorithm to use, either S3SignerType or AWSS3V4SignerType") private String signer; @Parameter(name = S3_HTTPS_FLAG, type = BOOLEAN, required = false, description = "Use HTTPS instead of HTTP") private Boolean httpsFlag; @Parameter(name = S3_CONNECTION_TIMEOUT, type = INTEGER, required = false, description = "Connection timeout (milliseconds)") private Integer connectionTimeout; @Parameter(name = S3_MAX_ERROR_RETRY, type = INTEGER, required = false, description = "Maximum number of times to retry on error") private Integer maxErrorRetry; @Parameter(name = S3_SOCKET_TIMEOUT, type = INTEGER, required = false, description = "Socket timeout (milliseconds)") private Integer socketTimeout; @Parameter(name = S3_CONNECTION_TTL, type = INTEGER, required = false, description = "Connection TTL (milliseconds)") private Integer connectionTtl; @Parameter(name = S3_USE_TCP_KEEPALIVE, type = BOOLEAN, required = false, description = "Whether TCP keep-alive is used") private Boolean useTCPKeepAlive; @Override public void execute() throws ResourceUnavailableException, InsufficientCapacityException, ServerApiException, ConcurrentOperationException, ResourceAllocationException, NetworkRuleConflictException { final Map<String, String> dm = new HashMap(); dm.put(ApiConstants.S3_ACCESS_KEY, getAccessKey()); dm.put(ApiConstants.S3_SECRET_KEY, getSecretKey()); dm.put(ApiConstants.S3_END_POINT, getEndPoint()); dm.put(ApiConstants.S3_BUCKET_NAME, getBucketName()); if (getSigner() != null && (getSigner().equals(ApiConstants.S3_V3_SIGNER) || getSigner().equals(ApiConstants.S3_V4_SIGNER))) { dm.put(ApiConstants.S3_SIGNER, getSigner()); } if (isHttps() != null) { dm.put(ApiConstants.S3_HTTPS_FLAG, isHttps().toString()); } if (getConnectionTimeout() != null) { dm.put(ApiConstants.S3_CONNECTION_TIMEOUT, getConnectionTimeout().toString()); } if (getMaxErrorRetry() != null) { dm.put(ApiConstants.S3_MAX_ERROR_RETRY, getMaxErrorRetry().toString()); } if (getSocketTimeout() != null) { dm.put(ApiConstants.S3_SOCKET_TIMEOUT, getSocketTimeout().toString()); } if (getConnectionTtl() != null) { dm.put(ApiConstants.S3_CONNECTION_TTL, getConnectionTtl().toString()); } if (getUseTCPKeepAlive() != null) { dm.put(ApiConstants.S3_USE_TCP_KEEPALIVE, getUseTCPKeepAlive().toString()); } try { final ImageStore result = _storageService.discoverImageStore(null, null, "S3", null, dm); final ImageStoreResponse storeResponse; if (result != null) { storeResponse = _responseGenerator.createImageStoreResponse(result); storeResponse.setResponseName(getCommandName()); storeResponse.setObjectName("imagestore"); setResponseObject(storeResponse); } else { throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to add S3 Image Store."); } } catch (final DiscoveryException ex) { s_logger.warn("Exception: ", ex); throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, ex.getMessage()); } } @Override public String getCommandName() { return s_name; } @Override public long getEntityOwnerId() { return ACCOUNT_ID_SYSTEM; } public String getAccessKey() { return accessKey; } public String getSecretKey() { return secretKey; } public String getEndPoint() { return endPoint; } public String getSigner() { return signer; } public Boolean isHttps() { return httpsFlag; } public Integer getConnectionTimeout() { return connectionTimeout; } public Integer getMaxErrorRetry() { return maxErrorRetry; } public Integer getSocketTimeout() { return socketTimeout; } public Boolean getUseTCPKeepAlive() { return useTCPKeepAlive; } public Integer getConnectionTtl() { return connectionTtl; } public String getBucketName() { return bucketName; } @Override public int hashCode() { int result = accessKey != null ? accessKey.hashCode() : 0; result = 31 * result + (secretKey != null ? secretKey.hashCode() : 0); result = 31 * result + (endPoint != null ? endPoint.hashCode() : 0); result = 31 * result + (bucketName != null ? bucketName.hashCode() : 0); result = 31 * result + (signer != null ? signer.hashCode() : 0); result = 31 * result + (httpsFlag != null && httpsFlag ? 1 : 0); result = 31 * result + (connectionTimeout != null ? connectionTimeout.hashCode() : 0); result = 31 * result + (maxErrorRetry != null ? maxErrorRetry.hashCode() : 0); result = 31 * result + (socketTimeout != null ? socketTimeout.hashCode() : 0); result = 31 * result + (connectionTtl != null ? connectionTtl.hashCode() : 0); result = 31 * result + (useTCPKeepAlive != null && useTCPKeepAlive ? 1 : 0); return result; } @Override public boolean equals(final Object thatObject) { if (this == thatObject) { return true; } if (thatObject == null || this.getClass() != thatObject.getClass()) { return false; } final AddImageStoreS3CMD thatAddS3Cmd = (AddImageStoreS3CMD) thatObject; if (httpsFlag != null ? !httpsFlag.equals(thatAddS3Cmd.httpsFlag) : thatAddS3Cmd.httpsFlag != null) { return false; } if (accessKey != null ? !accessKey.equals(thatAddS3Cmd.accessKey) : thatAddS3Cmd.accessKey != null) { return false; } if (connectionTimeout != null ? !connectionTimeout.equals(thatAddS3Cmd.connectionTimeout) : thatAddS3Cmd.connectionTimeout != null) { return false; } if (endPoint != null ? !endPoint.equals(thatAddS3Cmd.endPoint) : thatAddS3Cmd.endPoint != null) { return false; } if (maxErrorRetry != null ? !maxErrorRetry.equals(thatAddS3Cmd.maxErrorRetry) : thatAddS3Cmd.maxErrorRetry != null) { return false; } if (secretKey != null ? !secretKey.equals(thatAddS3Cmd.secretKey) : thatAddS3Cmd.secretKey != null) { return false; } if (socketTimeout != null ? !socketTimeout.equals(thatAddS3Cmd.socketTimeout) : thatAddS3Cmd.socketTimeout != null) { return false; } if (bucketName != null ? !bucketName.equals(thatAddS3Cmd.bucketName) : thatAddS3Cmd.bucketName != null) { return false; } if (connectionTtl != null ? !connectionTtl.equals(thatAddS3Cmd.connectionTtl) : thatAddS3Cmd.connectionTtl != null) { return false; } if (useTCPKeepAlive != null ? !useTCPKeepAlive.equals(thatAddS3Cmd.useTCPKeepAlive) : thatAddS3Cmd.useTCPKeepAlive != null) { return false; } return true; } }
{ "content_hash": "48fd45e2cb677eb7cc58d37b71d1f3fc", "timestamp": "", "source": "github", "line_count": 258, "max_line_length": 148, "avg_line_length": 38.94961240310077, "alnum_prop": 0.6716091153348592, "repo_name": "remibergsma/cosmic", "id": "5a08d9769249f30c857fc9f8fbdb02f86b66c07e", "size": "10049", "binary": false, "copies": "1", "ref": "refs/heads/play/serviceofferings", "path": "cosmic-core/api/src/main/java/com/cloud/api/command/admin/storage/AddImageStoreS3CMD.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "ApacheConf", "bytes": "1451" }, { "name": "CSS", "bytes": "355524" }, { "name": "FreeMarker", "bytes": "1832" }, { "name": "Groovy", "bytes": "135777" }, { "name": "HTML", "bytes": "142254" }, { "name": "Java", "bytes": "19541615" }, { "name": "JavaScript", "bytes": "4569018" }, { "name": "Python", "bytes": "1940322" }, { "name": "Shell", "bytes": "274412" }, { "name": "XSLT", "bytes": "165385" } ], "symlink_target": "" }
package matrixPerspective import "testing" func TestRun(t *testing.T) { Run() }
{ "content_hash": "9fd4000827bd778a1468f29fa63bf606", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 28, "avg_line_length": 11.857142857142858, "alnum_prop": 0.7228915662650602, "repo_name": "alexozer/opengl-samples-golang", "id": "bb0caa720762de74c74f820423f7d37c64639a47", "size": "83", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "tut04/matrixPerspective/matrixPerspective_test.go", "mode": "33188", "license": "mit", "language": [ { "name": "Go", "bytes": "113112" }, { "name": "Shell", "bytes": "287" } ], "symlink_target": "" }
<html lang="en-US" class="csstransforms csstransforms3d csstransitions"><!--<![endif]--> <head> <meta charset="UTF-8"> <title>SHAFQAT ALI </title> <link rel="shortcut icon" href="favicon.ico" /> <link rel="stylesheet" id="basic-css" href="css/basic.css" type="text/css" media="all"> <link rel="stylesheet" id="headers-css" href="css/headers.css" type="text/css" media="all"> <link rel="stylesheet" id="stylesheet-css" href="css/style.css" type="text/css" media="all"> <!-- jQuery library (served from Google) --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <!-- bxSlider Javascript file --> <script src="js/jquery.bxslider.min.js"></script> <!-- bxSlider CSS file --> <link href="css/jquery.bxslider.css" rel="stylesheet" /> <script> $(document).ready(function(){ $('.bxslider').bxSlider({ mode: 'fade', auto: true, captions: false }); }) </script> <style> body{ font-family: arial, Arial, Helvetica, sans-serif; font-size: 13px; font-weight: normal; color: #777777; } h1{ font-family: arial, Arial, Helvetica, sans-serif; font-size: 32px; font-weight: normal; color: #666666; } h2{ font-family: Trebuchet MS, Arial, Helvetica, sans-serif; font-size: 24px; font-weight: normal; color: #666666; } h3{ font-family: arial, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: normal; color: #666666; } h4{ font-family: arial, Arial, Helvetica, sans-serif; font-size: 16px; font-weight: normal; color: #666666; } h5{ font-family: arial, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal; color: #666666; } h6{ font-family: arial, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; color: #666666; } h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { font-weight: inherit; color: inherit; } h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, a:hover h1, a:hover h2, a:hover h3, a:hover h4, a:hover h5, a:hover h6 { color: #515151; } .text-input{ font-family: arial, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color: #424242 !important; } #header .logo{ margin-top: 33px; margin-bottom: ; } a, a:visited{ color: #ff1414; } a:hover, a:focus{ color: #515151; } #upper-widgets{ position: ; } /* Upper Socket ------------------------------------------------------------------------ */ #socket{ background: white; border-bottom: 2px solid #ff0000; } #socket .text-input { color: #424242; } #socket .text-input a { color: #424242; } #socket .text-input a:hover { color: #ff1414; } @media only screen and (max-width: 767px) { #socket .text-input{ background: #dbdbdb; } } #header{ background: #ffffff; } .header .slogan{ font-family: , Arial, Helvetica, sans-serif; font-size: ; font-weight: ; color: ; } /* Header V1 ------------------------------------------------------------------------ */ #header { height: 60px; } #header .logo{ margin-top: 33px; } #header .select-menu{ background: #ffffff; } #header #nav .sub-menu{ top: 27px; } #header #header-searchform{ margin-top: 29px; } /*#header #nav li.current-menu-item a, #header #nav li.current-menu-item a:hover, #header #nav li.current-page-ancestor a, #header #nav li.current-page-ancestor a:hover, #header #nav li.current-menu-ancestor a, #header #nav li.current-menu-ancestor a:hover, #header #nav li.current-menu-parent a, #header #nav li.current-menu-parent a:hover, #header #nav li.current_page_ancestor a, #header #nav li.current_page_ancestor a:hover { color: #ff1414; border-color: #ff1414; }*/ /* Header V2 ------------------------------------------------------------------------ */ #header-v2 .header-v2-container{ height: 90px; } #header-v2 .logo{ margin-top: 33px; } #header-v2 #header-searchform{ margin-top: 28px; } #header-v2 .slogan{ margin-top: 33px; } #header-v2 #nav .sub-menu{ top: 41px; } #header-v2 #nav ul li a { font-family: arial, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal; color: #777777; } #header-v2 #nav ul li a:hover { color: #ff1111; border-color: #ff1111; } #header-v2 #nav li.current-menu-item a, #header-v2 #nav li.current-menu-item a:hover, #header-v2 #nav li.current-page-ancestor a, #header-v2 #nav li.current-page-ancestor a:hover, #header-v2 #nav li.current-menu-ancestor a, #header-v2 #nav li.current-menu-ancestor a:hover, #header-v2 #nav li.current-menu-parent a, #header-v2 #nav li.current-menu-parent a:hover, #header-v2 #nav li.current_page_ancestor a, #header-v2 #nav li.current_page_ancestor a:hover { color: #ff1414; border-color: #ff1414; } #header-v2 #nav li.current-menu-item a:after, #header-v2 #nav li.current-page-ancestor a:after, #header-v2 #nav li.current-menu-ancestor a:after, #header-v2 #nav li.current-menu-parent a:after, #header-v2 #nav li.current_page_ancestor a:after{ border-color: #ff1414 transparent transparent transparent; } /* Header V3 ------------------------------------------------------------------------ */ #header-v3 { height: 90px; } #header-v3 .logo{ margin-top: 33px; } #header-v3 #nav ul{ margin-top: ; } #header-v3 #header-searchform{ margin-top: 30px; } #header-v3 #nav .sub-menu{ top: 37px; } #header-v3 #nav ul li a { font-family: arial, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal; color: #777777; } #header-v3 #nav ul li a:hover, #header-v3 #nav ul li.sfHover a { background: #ff1111; } #header-v3 #nav li.current-menu-item a, #header-v3 #nav li.current-menu-item a:hover, #header-v3 #nav li.current-page-ancestor a, #header-v3 #nav li.current-page-ancestor a:hover, #header-v3 #nav li.current-menu-ancestor a, #header-v3 #nav li.current-menu-ancestor a:hover, #header-v3 #nav li.current-menu-parent a, #header-v3 #nav li.current-menu-parent a:hover, #header-v3 #nav li.current_page_ancestor a, #header-v3 #nav li.current_page_ancestor a:hover { background: #ff1414; } /* Header V4 ------------------------------------------------------------------------ */ #header-v4 .header-v4-container{ height: 90px; } #header-v4 .logo{ margin-top: 33px; } #header-v4 #header-searchform{ margin-top: 28px; } #header-v4 .slogan{ margin-top: 33px; } #header-v4 #nav .sub-menu{ top: 41px; } #header-v4 #nav{ background: ; } #header-v4 #nav ul li a { font-family: arial, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal; color: #777777; } #header-v4 #nav ul li a:hover, #header-v4 #nav ul li.sfHover a { background: #ff1111; } #header-v4 #nav li.current-menu-item a, #header-v4 #nav li.current-menu-item a:hover, #header-v4 #nav li.current-page-ancestor a, #header-v4 #nav li.current-page-ancestor a:hover, #header-v4 #nav li.current-menu-ancestor a, #header-v4 #nav li.current-menu-ancestor a:hover, #header-v4 #nav li.current-menu-parent a, #header-v4 #nav li.current-menu-parent a:hover, #header-v4 #nav li.current_page_ancestor a, #header-v4 #nav li.current_page_ancestor a:hover { background: #ff1414; } /* Header V5 ------------------------------------------------------------------------ */ #header-v5 .header-v5-container{ height: 107px; } #header-v5 .logo{ margin-top: 33px; } #header-v5 .slogan{ margin-top: 4px; } #header-v5 #nav .sub-menu{ top: 41px; } #header-v5 #nav ul li a { font-family: arial, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal; color: #777777; } #header-v5 #nav ul li a:hover { color: #ff1111; } /* Active Status ---------------------------------------------------- */ #header-v5 #nav li.current-menu-item a, #header-v5 #nav li.current-menu-item a:hover, #header-v5 #nav li.current-page-ancestor a, #header-v5 #nav li.current-page-ancestor a:hover, #header-v5 #nav li.current-menu-ancestor a, #header-v5 #nav li.current-menu-ancestor a:hover, #header-v5 #nav li.current-menu-parent a, #header-v5 #nav li.current-menu-parent a:hover, #header-v5 #nav li.current_page_ancestor a, #header-v5 #nav li.current_page_ancestor a:hover { color: #ff1414; border-color:#ff1414; } /* Sub-Menu nav ------------------------------------------------------------------------ */ html body #nav .sub-menu{ background: #ffffff !important; border-color: #ff1111 !important; } html body #nav .sub-menu li a, html body #nav .sub-menu li .sub-menu li a, html body #nav .sub-menu li .sub-menu li .sub-menu li a { font-family: arial, Arial, Helvetica, sans-serif !important; font-size: 13px !important; font-weight: normal !important; color: #515151 !important; } #nav .sub-menu li{ border-color: #f2f2f2; } #nav .sub-menu li a:hover, #nav .sub-menu li .sub-menu li a:hover, #nav .sub-menu li.current-menu-item a, #nav .sub-menu li.current-menu-item a:hover, #nav .sub-menu li.current_page_item a, #nav .sub-menu li.current_page_item a:hover { color: #ff1414 !important; } #titlebar { background: #e01111; background-image: linear-gradient(bottom, #ff1111 0%, #e01111 100%); background-image: -o-linear-gradient(bottom, #ff1111 0%, #e01111 100%); background-image: -moz-linear-gradient(bottom, #ff1111 0%, #e01111 100%); background-image: -webkit-linear-gradient(bottom, #ff1111 0%, #e01111 100%); background-image: -ms-linear-gradient(bottom, #ff1111 0%, #e01111 100%); border-bottom: 1px solid #ff0c0c; border-top: px ; } #titlebar h1 { font-family: arial, Arial, Helvetica, sans-serif; font-size: 30px; font-weight: normal; color: #ffffff; } #titlebar h2 { font-family: arial, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal; color: #ffffff; } #titlebar #breadcrumbs { color: #ffffff; } #titlebar #breadcrumbs a { color: #ffffff; } #titlebar #breadcrumbs a:hover { color: #ededed; } #no-heading { background: ;border-bottom: px ; color: ; } #no-heading #breadcrumbs{ color: } #no-heading #breadcrumbs a { color: } #no-heading #breadcrumbs a:hover { color: } #sidebar .widget h3 { font: normal 16px arial, Arial, Helvetica, sans-serif; color: #777777; } /* Footer ------------------------------------------------------------------------ */ #footer{ background:#333333; border-top: 2px solid #444444; } #footer, #upper-widgets { border-top-color: #444444; color:#999999; } #footer a, #upper-widgets a{ color:#999999; } #footer a:hover, #upper-widgets a:hover{ color:#ffffff; } #footer .widget h3, #upper-widgets .widget h3 { font-family: arial, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal !important; color: #ffffff !important; border-bottom:1px solid #444444; } #upper-widgets .no-widgets{ color:#999999; } /* Copyright ------------------------------------------------------------------------ */ #copyright { background:#232323; border-top-style:solid;border-top-width:1px; border-top-color:#444444; color: #777777; } #copyright a { color: #888888; } #copyright a:hover { color: #ffffff; } /* Forms ------------------------------------------------------------------------ */ input[type="text"], input[type="password"], input[type="email"], textarea, select, button, input[type="submit"], input[type="reset"], input[type="button"] { font-family: arial, Arial, Helvetica, sans-serif; font-size: 13px; } /* Accent Color ------------------------------------------------------------------------ */ ::selection { background: #ff1414 } ::-moz-selection { background: #ff1414 } .highlight { color: #ff1414 } .entry-icon { background-color: #ff1414 } .single .entry-tags a:hover { background: #ff1414; border-color: #ff1414; } #pagination a:hover { border-color: #ff1414; background: #ff1414; } #filter ul li a { background-color: #ff1414; } #filter ul li a.active { background-color: #ff1414; } .projects-nav a:hover, .entry-nav a:hover { background-color: #ff1414 } .sidenav li a:hover { color: #ff1414 } .sidenav li.current_page_item a { border-left-color: #ff1414; color: #ff1414; } #back-to-top a:hover { background-color: #ff1414 } .widget_tag_cloud a:hover { background: #ff1414; border-color: #ff1414; } .widget_flickr #flickr_tab a:hover { background: #ff1414; border-color: #ff1414; } .widget_portfolio .portfolio-widget-item .portfolio-pic:hover { background: #ff1414; border-color: #ff1414; } #footer .widget_tag_cloud a:hover, #footer .widget_portfolio .portfolio-widget-item .portfolio-pic:hover { background: #ff1414; border-color: #ff1414; } .flex-direction-nav a:hover { background-color: #ff1414 } a.button.alternative-1 { background: #ff1414; border-color: #ff1414; } .gallery img:hover { background: #ff1414; border-color: #ff1414 !important; } .skillbar .skill-percentage { background: #ff1414 } .latest-blog .blog-item:hover h4 { color: #ff1414 } .tp-caption.big_colorbg{ background: #ff1414; } .tp-caption.medium_colorbg{ background: #ff1414; } .tp-caption.small_colorbg{ background: #ff1414; } .tp-caption.customfont_color{ color: #ff1414; } .tp-caption a { color: #ff1414; } .tp-leftarrow:hover, .tp-rightarrow:hover { background-color: #ff1414; } .portfolio-post .portfolio-overlay .overlay-link, .portfolio-post-one .portfolio-overlay .overlay-link, .portfolio-post .portfolio-overlay .overlay-lightbox, .portfolio-post-one .portfolio-overlay .overlay-lightbox { background-color: #ff1414; } .portfolio-post.four .portfolio-overlay, .portfolio-post.one-third .portfolio-overlay, .portfolio-post.eight .portfolio-overlay{ background-color: #ff1414; } .portfolio-post .portfolio-overlay a.icon i {color: #ff1414; } .portfolio-post .meta a { color: #777777;} .portfolio-post .meta a:hover {color: #ff1414; } .latest-portfolio .portfolio-post .portfolio-it:hover {border-bottom: 2px solid #ff1414;} .iconbox [class^="icon-"], .iconbox [class*=" icon-"] {background:#ff1414;} .iconbox.horz [class^="icon-"], .iconbox.horz [class*=" icon-"] {color:#ff1414; border: 3px solid #ff1414;} .iconbox.horz:hover [class^="icon-"], .iconbox.horz:hover [class*=" icon-"] {background:#ff1414;} .carousel-nav a {background:#ff1414;} .accordion .accordion-title.active a i {color:#ff1414 !important;} .toggle .toggle-title.active i {color:#ff1414 !important;} /* WooCommerce */ .product .onsale {color:#ff1414 } .woocommerce button, .woocommerce input[type=submit]{color:#ff1414 } .products li .price {color:#ff1414 } .product .price {color:#ff1414 } .woocommerce-tabs .panel h2 {color:#ff1414 } .checkout .shop_table .total {color:#ff1414 } .woocommerce .form-row input[type=submit], .woocommerce .form-row button {color:#ff1414 } .bx-wrapper, .bx-viewport { width: 100% !important; padding: 0; margin: 0; } .bxslider img { margin: 0 auto; } </style> </head> <body class="home page page-id-110 page-template page-template-template-wide-sections-php"> <div id="socket" class="clearfix "> <div class="wrapper"> <div class="four spans" style="padding-top: 12px; vertical-align: middle; margin: auto;"> <div class="logo" style="font-size: 24px; font-weight: 500; font-family:Palatino, serif;"> <a href="/"><img src="img/logo.png" id="shafqat_logo" /></a> </div> </div> <div class="four spans"> <div class="text-input">&nbsp;</div> <div class="clear"></div> </div> <div class="eight spans"> <div class="sociable-ico clearfix"> <ul> <li class="sociable-facebook"><a href="https://www.facebook.com/pages/Support-Shafqat-Ali-for-Liberal-Nomination/1416396095257204" target="_blank" data-original-title="Facebook">Facebook</a></li> <li class="sociable-linkedin"><a href="http://ca.linkedin.com/pub/shafqat-ali/65/a74/544" target="_blank" data-original-title="LinkedIn">LinkedIn</a></li> </ul> <br /> <br /> <div class="header-contact"> Call: 416-602-7933 | Email: [email protected] </div> </div> </div> </div> </div> <!-- end socket --> <div id="wrap nopadding"> <div id="main-content"> <article id="post-110" class="post-110 page type-page status-publish hentry"> <div class="entry"> <div class="sticky-wrapper" style="height: 46px;"><header id="header" class="header clearfix"> <div class="wrapper" style="width: 100% !important; background: #AD0000;"> <div id="nav" style="width: 960px; margin: 0 auto;"> <div class="menu-shafqatali-v1-container"> <ul id="nav" class="menu sf-js-enabled"> <li id="menu-item-3126" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-110 current_page_item menu-item-3126"><a href="home.html">Home</a></li> <li id="menu-item-3128" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3128"><a href="biography.html">Biography</a></li> <li id="menu-item-3300" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3300"><a href="message.html">Shafqat's Message</a></li> <li id="menu-item-3199" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3199"><a href="priorities.html">Priorities</a></li> <li id="menu-item-3225" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3225"><a href="involvement.html">Political/Community Involvement</a></li> <li id="menu-item-3225" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3225"><a href="map.html">Riding Map</a></li> <li id="menu-item-3127" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3127 last-element"><a href="contact.html">Contact</a></li> </ul> </div> </div> </header></div> <div class="slider-container"> <ul class="bxslider" style="list-style: none outside none; padding:0px !important; margin: 0px !important"> <li><img src="img/shafqat1.jpg" /></li> <li><img src="img/shafqat3.jpg" /></li> <li><img src="img/shafqat6.jpg" /></li> <li><img src="img/shafqat8.jpg" /></li> <li><img src="img/shafqat9.jpg" /></li> </ul> </div> <!-- <div class="banner" style="margin:0; padding:0;"> <p><img src="img/canada-banner.png" alt="" style="margin: 0 auto; padding-right: 30px; width: 940px;"></p> </div> --> <div class="section section-parallax" style="background-color: #ffffff; border-top: ; border-bottom: ; padding: 0 0 30px 0; margin: ; "> <div class="wrapper clearfix"> <div class="sixteen spans"> <h2 style="font-family: Palatino, serif; color: #444444;">About Shafqat Ali</h2> <br /> <p>Shafqat Ali is a passionate community leader who firmly believes that all Canadians should actively participate in the democratic process to better their lives and the lives of fellow Canadians. He also has a strong dedication to community service. Shafqat has volunteered as the Youth Coordinator and youth mentor at Local Community where he lives in, for the past 13 years. His contributions have included forming a youth sports club, organizing festivals and fundraising for Local Hospital, Local Food Bank and various other community organizations. Shafqat has also championed many community initiatives including being a leading voice in successfully advocating for the cricket pitch on White Clover Way in Mississauga.</p> <p>He has been involved in the Liberal party both at the provincial and federal level for many years. Shafqat has been a dedicated political volunteer for many local elected MPs, MPPs as well as Councillors. Throughout the years he has devoted his time to various leadership roles in the local Liberal riding associations. Recently he was the riding chair in his home riding of Mississauga-Erindale for Justin Trudeau’s Liberal Leadership Campaign.</p> </div> </div> </div> </article> <div id="comments"> <p class="hidden">Comments are closed.</p> </div> </div> <!-- end main content --> </div> <!-- end wrap --> <div class="clear"></div> <footer id="footer"> <div class="wrapper"> <div class="sixteen spans"> <p style="font-size: 14px;"> <strong>Candidate For Nomination</strong> <br /> Mississauga Erin Mills - Federal </p> </div> </div> </div> </footer> <div class="clear"></div> </body></html>
{ "content_hash": "87c91f74329b269ca94e452971a95551", "timestamp": "", "source": "github", "line_count": 437, "max_line_length": 739, "avg_line_length": 46.890160183066364, "alnum_prop": 0.6474549802352252, "repo_name": "sshariff01/LiberalCandidate", "id": "dbc459427b7a5058f8260d4eb86816e987a29a5c", "size": "20493", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "home.html", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "145521" }, { "name": "JavaScript", "bytes": "64627" }, { "name": "PHP", "bytes": "35" } ], "symlink_target": "" }
import http from "k6/http"; import { check, sleep, fail, group } from "k6"; const users = JSON.parse(open("./users.json")); const __VU = 1; function test1() { const user = users[__VU - 1]; console.log(`${user.username}, ${user.password}`); sleep(3); } const binFile1 = open("/path/to/file.bin", "b"); export default function test2() { const data = { field: "this is a standard form field", file: http.file(binFile1, "test.bin") }; const res = http.post("https://example.com/upload", data); sleep(3); } function test3() { const res = http.get("http://httpbin.org"); check(res, { "response code was 200": (res) => res.status === 200, "body size was 1234 bytes": (res) => res.body.length === 1234, }); } function test4() { const res = http.get("https://loadimpact.com"); check(res, { "status code MUST be 200": (res) => res.status === 200, }) || fail("status code was *not* 200"); } function test5() { group("my user scenario", () => { group("front page", () => { const res = http.get("https://loadimpact.com"); check(res, { "status code is 200": (res) => res.status === 200, }); }); group("features page", () => { const res = http.get("https://loadimpact.com/features"); check(res, { "status code is 200": (res) => res.status === 200, "h1 message is correct": (res) => res.html("h1").text().startsWith("Simple yet realistic load testing"), }); }); }); } function test6() { http.get("https://loadimpact.com"); sleep(Math.random() * 30); http.get("https://loadimpact.com/features"); } function httpTest1() { const responses = http.batch([ "http://test.loadimpact.com", "http://test.loadimpact.com/style.css", "http://test.loadimpact.com/images/logo.png", ]); check(responses[0], { "main page status was 200": res => res.status === 200, }); } function httpTest2() { const req1 = { method: "GET", url: "http://httpbin.org/get", }; const req2 = { method: "GET", url: "http://test.loadimpact.com", }; const req3 = { method: "POST", url: "http://httpbin.org/post", body: { hello: "world!", }, params: { headers: { "Content-Type": "application/x-www-form-urlencoded" } } }; const responses = http.batch([req1, req2, req3]); // httpbin.org should return our POST data in the response body, so // we check the third response object to see that the POST worked. check(responses[2], { "form data OK": (res) => JSON.parse(res.body)["form"]["hello"] === "world!", }); } const binFile = open("/path/to/file.bin", "b"); function httpTest3() { const data = { field: "this is a standard form field", file: http.file(binFile, "test.bin") }; const res = http.post("https://example.com/upload", data); sleep(3); } function httpTest4() { return http.get("https://loadimpact.com"); } function httpTest5() { const options = { maxRedirects: 10 }; const baseURL = "https://dev-li-david.pantheonsite.io"; // Fetch the login page, with the login HTML form const res1 = http.get(baseURL + "/user/login"); // Extract hidden value needed to POST form const formBuildID = (res1.body.match('name="form_build_id" value="(.*)"') || [])[1]; // Create an Object containing the form data const formdata = { name: "testuser1", pass: "testuser1", form_build_id: formBuildID, form_id: "user_login", op: "Log in", }; const headers = { "Content-Type": "application/x-www-form-urlencoded" }; // Send login request const res2 = http.post(baseURL + "/user/login", formdata, { headers }); // Verify that we ended up on the user page check(res2, { "login succeeded": (res2) => res2.url === `${baseURL}/users/testuser1`, }) || fail("login failed"); } function httpTest6() { const params = { cookies: { my_cookie: "value" }, headers: { "X-MyHeader": "k6test" }, redirects: 5, tags: { k6test: "yes" } }; http.get("https://loadimpact.com", params); } function httpTest7() { const url1 = "https://api.loadimpact.com/v3/account/me"; const url2 = "http://httpbin.org/get"; const apiToken = "f232831bda15dd233c53b9c548732c0197619a3d3c451134d9abded7eb5bb195"; const requestHeaders = { "User-Agent": "k6", Authorization: "Token " + apiToken }; http.batch([ { method: "GET", url: url1, params: { headers: requestHeaders } }, { method: "GET", url: url2 } ]); } function httpTest8() { // Passing username and password as part of URL plus the auth option will authenticate using HTTP Digest authentication const res = http.get("http://user:[email protected]/digest-auth/auth/user/passwd", {auth: "digest"}); // Verify response check(res, { "status is 200": (r) => r.status === 200, "is authenticated": (r) => r.json().authenticated === true, "is correct user": (r) => r.json().user === "user" }); } function httpTest9() { const res = http.get("https://loadimpact.com"); for (const p in res.headers) { if (res.headers.hasOwnProperty(p)) { console.log(`${p} : ${res.headers[p]}`); } } check(res, { "status is 200": (r) => r.status === 200, "caption is correct": (r) => r.html("h1").text() === "Example Domain", }); } function httpTest10() { // Request page with links let res = http.get("https://httpbin.org/links/10/0"); // Now, click the 4th link on the page res = res.clickLink({ selector: 'a:nth-child(4)' }); } function httpTest11() { // Request page containing a form let res = http.get("https://httpbin.org/forms/post"); // Now, submit form setting/overriding some fields of the form res = res.submitForm({ fields: { custname: "test", extradata: "test2" }, submitSelector: "mySubmit" }); }
{ "content_hash": "f1beb04e4fc642fda9fff52a09d935c8", "timestamp": "", "source": "github", "line_count": 205, "max_line_length": 123, "avg_line_length": 29, "alnum_prop": 0.5925988225399496, "repo_name": "AgentME/DefinitelyTyped", "id": "e40bc2e99cf8e819e7b9657fd858a57c141281c6", "size": "5945", "binary": false, "copies": "25", "ref": "refs/heads/master", "path": "types/k6/k6-tests.ts", "mode": "33188", "license": "mit", "language": [ { "name": "JavaScript", "bytes": "10652407" }, { "name": "Ruby", "bytes": "40" }, { "name": "Shell", "bytes": "60" }, { "name": "TypeScript", "bytes": "11370242" } ], "symlink_target": "" }
<PackageItem xmlns:tcm="http://www.tridion.com/ContentManager/5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.sdltridion.com/ContentManager/ImportExport/Package/2013"> <Data> <tcm:Data> <tcm:Title>Default Finish Actions</tcm:Title> <tcm:Type>CompoundTemplate</tcm:Type> <tcm:Content> <tcm:PublisherScript>&lt;CompoundTemplate xmlns="http://www.tridion.com/ContentManager/5.3/CompoundTemplate"&gt; &lt;TemplateInvocation&gt; &lt;Template xlink:href="/webdav/000%20Empty/Building%20Blocks/Default%20Templates/Publish%20Binaries%20in%20Package.tbbcs" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:title="Publish Binaries in Package" /&gt; &lt;/TemplateInvocation&gt; &lt;TemplateInvocation&gt; &lt;Template xlink:href="/webdav/000%20Empty/Building%20Blocks/Default%20Templates/Link%20Resolver.tbbcs" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:title="Link Resolver" /&gt; &lt;/TemplateInvocation&gt; &lt;TemplateInvocation&gt; &lt;Template xlink:href="/webdav/000%20Empty/Building%20Blocks/Default%20Templates/Target%20Group%20Personalization.tbbcs" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:title="Target Group Personalization" /&gt; &lt;/TemplateInvocation&gt; &lt;TemplateInvocation&gt; &lt;Template xlink:href="/webdav/000%20Empty/Building%20Blocks/Default%20Templates/Cleanup%20Template.tbbcs" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:title="Cleanup Template" /&gt; &lt;/TemplateInvocation&gt; &lt;TemplateInvocation&gt; &lt;Template xlink:href="/webdav/000%20Empty/Building%20Blocks/Default%20Templates/Convert%20Xml%20to%20Html.tbbcs" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:title="Convert Xml to Html" /&gt; &lt;/TemplateInvocation&gt; &lt;/CompoundTemplate&gt;</tcm:PublisherScript> </tcm:Content> <tcm:MetadataSchema xlink:type="simple" xlink:title="" xlink:href="tcm:0-0-0" /> <tcm:ParameterSchema xlink:type="simple" xlink:title="Default Finish Actions" xlink:href="/webdav/000%20Empty/Building%20Blocks/Default%20Templates/Default%20Finish%20Actions.xsd" /> <tcm:Metadata /> <tcm:TemplatePurpose>Rendering</tcm:TemplatePurpose> </tcm:Data> </Data> <Dependencies> <Dependency dependencyType="Publication" itemUrl="/webdav/000%20Empty" linkName="LocationInfo/ContextRepository" /> <Dependency dependencyType="OrganizationalItemFolder" itemUrl="/webdav/000%20Empty/Building%20Blocks/Default%20Templates" linkName="LocationInfo/OrganizationalItem" /> <Dependency dependencyType="ParameterSchema" itemUrl="/webdav/000%20Empty/Building%20Blocks/Default%20Templates/Default%20Finish%20Actions.xsd" linkName="ParameterSchema" /> <Dependency dependencyType="TemplateLinkedItem" itemUrl="/webdav/000%20Empty/Building%20Blocks/Default%20Templates/Cleanup%20Template.tbbcs" linkName="ExtractedReferences[0]" /> <Dependency dependencyType="TemplateLinkedItem" itemUrl="/webdav/000%20Empty/Building%20Blocks/Default%20Templates/Convert%20Xml%20to%20Html.tbbcs" linkName="ExtractedReferences[1]" /> <Dependency dependencyType="TemplateLinkedItem" itemUrl="/webdav/000%20Empty/Building%20Blocks/Default%20Templates/Link%20Resolver.tbbcs" linkName="ExtractedReferences[2]" /> <Dependency dependencyType="TemplateLinkedItem" itemUrl="/webdav/000%20Empty/Building%20Blocks/Default%20Templates/Publish%20Binaries%20in%20Package.tbbcs" linkName="ExtractedReferences[3]" /> <Dependency dependencyType="TemplateLinkedItem" itemUrl="/webdav/000%20Empty/Building%20Blocks/Default%20Templates/Target%20Group%20Personalization.tbbcs" linkName="ExtractedReferences[4]" /> </Dependencies> </PackageItem>
{ "content_hash": "21990555db072902618c1e4742044ffc", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 218, "avg_line_length": 89.70731707317073, "alnum_prop": 0.7743338771071234, "repo_name": "sdl/dxa-content-management", "id": "7e7648e4b8e75f1313c7361d1b94bb943597b3d7", "size": "3678", "binary": false, "copies": "3", "ref": "refs/heads/release/2.2", "path": "cms/content/sites9/framework-only/TemplateBuildingBlocks/1-34-2048.xml", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "ASP", "bytes": "4491" }, { "name": "Batchfile", "bytes": "275" }, { "name": "C#", "bytes": "431001" }, { "name": "CSS", "bytes": "1972" }, { "name": "JavaScript", "bytes": "14521" }, { "name": "XSLT", "bytes": "7263" } ], "symlink_target": "" }
package org.apache.cassandra.io.sstable; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import org.apache.cassandra.config.DatabaseDescriptor; import org.apache.cassandra.db.DecoratedKey; import org.apache.cassandra.dht.IPartitioner; import org.apache.cassandra.utils.ByteBufferUtil; /** * Two approaches to building an IndexSummary: * 1. Call maybeAddEntry with every potential index entry * 2. Call shouldAddEntry, [addEntry,] incrementRowid */ public class IndexSummary { public static final IndexSummarySerializer serializer = new IndexSummarySerializer(); private final ArrayList<Long> positions; private final ArrayList<DecoratedKey> keys; private long keysWritten = 0; public IndexSummary(long expectedKeys) { long expectedEntries = expectedKeys / DatabaseDescriptor.getIndexInterval(); if (expectedEntries > Integer.MAX_VALUE) // TODO: that's a _lot_ of keys, or a very low interval throw new RuntimeException("Cannot use index_interval of " + DatabaseDescriptor.getIndexInterval() + " with " + expectedKeys + " (expected) keys."); positions = new ArrayList<Long>((int)expectedEntries); keys = new ArrayList<DecoratedKey>((int)expectedEntries); } private IndexSummary() { positions = new ArrayList<Long>(); keys = new ArrayList<DecoratedKey>(); } public void incrementRowid() { keysWritten++; } public boolean shouldAddEntry() { return keysWritten % DatabaseDescriptor.getIndexInterval() == 0; } public void addEntry(DecoratedKey key, long indexPosition) { keys.add(SSTable.getMinimalKey(key)); positions.add(indexPosition); } public void maybeAddEntry(DecoratedKey decoratedKey, long indexPosition) { if (shouldAddEntry()) addEntry(decoratedKey, indexPosition); incrementRowid(); } public List<DecoratedKey> getKeys() { return keys; } public long getPosition(int index) { return positions.get(index); } public void complete() { keys.trimToSize(); positions.trimToSize(); } public static class IndexSummarySerializer { public void serialize(IndexSummary t, DataOutput dos) throws IOException { assert t.keys.size() == t.positions.size() : "keysize and the position sizes are not same."; dos.writeInt(DatabaseDescriptor.getIndexInterval()); dos.writeInt(t.keys.size()); for (int i = 0; i < t.keys.size(); i++) { dos.writeLong(t.positions.get(i)); ByteBufferUtil.writeWithLength(t.keys.get(i).key, dos); } } public IndexSummary deserialize(DataInput dis, IPartitioner partitioner) throws IOException { IndexSummary summary = new IndexSummary(); if (dis.readInt() != DatabaseDescriptor.getIndexInterval()) throw new IOException("Cannot read the saved summary because Index Interval changed."); int size = dis.readInt(); for (int i = 0; i < size; i++) { long location = dis.readLong(); ByteBuffer key = ByteBufferUtil.readWithLength(dis); summary.addEntry(partitioner.decorateKey(key), location); } return summary; } } }
{ "content_hash": "44d15d01a53de8c6f87d1f41ac0b1e60", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 160, "avg_line_length": 31.486725663716815, "alnum_prop": 0.6422147273749297, "repo_name": "bcoverston/apache-hosted-cassandra", "id": "1b9291bb92ddada0e377484500ca4505c2682331", "size": "4363", "binary": false, "copies": "2", "ref": "refs/heads/4784", "path": "src/java/org/apache/cassandra/io/sstable/IndexSummary.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "3325" }, { "name": "Java", "bytes": "7835468" }, { "name": "Python", "bytes": "296773" }, { "name": "Shell", "bytes": "151727" } ], "symlink_target": "" }
<?php namespace HiPay\Wallet\Mirakl\Integration\Command\Cashout; use Exception; use HiPay\Wallet\Mirakl\Cashout\TransactionStatus as TransactionStatusProcessor; use HiPay\Wallet\Mirakl\Integration\Command\AbstractCommand; use Psr\Log\LoggerInterface; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use HiPay\Wallet\Mirakl\Integration\Entity\Batch; use HiPay\Wallet\Mirakl\Integration\Entity\BatchRepository; class TransactionStatusCommand extends AbstractCommand { /** @var CashoutProcessor */ protected $processor; protected $batchManager; public function __construct(LoggerInterface $logger, BatchRepository $batchManager, TransactionStatusProcessor $processor) { parent::__construct($logger); $this->processor = $processor; $this->batchManager = $batchManager; } protected function configure() { $this->setName('cashout:transaction:status:sync') ->setDescription('Synchronized Transaction status'); } protected function execute(InputInterface $input, OutputInterface $output) { $batch = new Batch($this->getName()); $this->batchManager->save($batch); try { $this->processor->process(); $batch->setEndedAt(new \DateTime()); $this->batchManager->save($batch); } catch (Exception $e) { $batch->setError($e->getMessage()); $this->batchManager->save($batch); $this->logger->critical($e->getMessage()); } } }
{ "content_hash": "aa0cd44236b6e121e4e1460ea5b1a7a8", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 126, "avg_line_length": 30.692307692307693, "alnum_prop": 0.6735588972431078, "repo_name": "hipay/hipay-wallet-cashout-mirakl-integration", "id": "5a9f5d4883bdd0f9453d19e55128bcddef28e481", "size": "1596", "binary": false, "copies": "1", "ref": "refs/heads/develop", "path": "src/Command/Cashout/TransactionStatusCommand.php", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "463" }, { "name": "Dockerfile", "bytes": "1000" }, { "name": "JavaScript", "bytes": "119573" }, { "name": "PHP", "bytes": "195447" }, { "name": "Shell", "bytes": "7091" }, { "name": "Twig", "bytes": "39187" } ], "symlink_target": "" }
package com.all.client.services; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Set; import java.util.concurrent.CyclicBarrier; import java.util.concurrent.TimeUnit; import javax.annotation.PostConstruct; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.all.core.common.ClientConstants; import com.all.messengine.MessEngine; import com.all.messengine.MessageListener; import com.all.shared.messages.MessEngineConstants; import com.all.shared.model.AllMessage; import com.all.shared.model.ContactInfo; @Service public class ContactMessageService { @Autowired private MessEngine messEngine; private List<ContactInfo> contactInfoList = null; private List<ContactInfo> onlineUsers = null; private CyclicBarrier requestLockForContactlistRequest = new CyclicBarrier(2); private CyclicBarrier onlienUsersRequestLock = new CyclicBarrier(2); private Log log = LogFactory.getLog(this.getClass()); @PostConstruct public void init() { messEngine.addMessageListener(MessEngineConstants.CONTACT_LIST_RESPONSE_TYPE, new MessageListener<AllMessage<ArrayList<ContactInfo>>>() { @Override public void onMessage(AllMessage<ArrayList<ContactInfo>> message) { processContactListResponse(message); } }); messEngine.addMessageListener(MessEngineConstants.ONLINE_USERS_LIST_RESPONSE_TYPE, new MessageListener<AllMessage<List<ContactInfo>>>() { @Override public void onMessage(AllMessage<List<ContactInfo>> message) { processOnlineUsersResponse(message); } }); } private void processContactListResponse(AllMessage<ArrayList<ContactInfo>> message) { contactInfoList = message.getBody(); try { requestLockForContactlistRequest.await(); } catch (Exception e) { log.error(e, e); } } private void processOnlineUsersResponse(AllMessage<List<ContactInfo>> message) { onlineUsers = message.getBody(); try { onlienUsersRequestLock.await(); } catch (Exception e) { log.error(e, e); } } public void deleteContacts(Long userId, Set<ContactInfo> contacts) { AllMessage<String> message = new AllMessage<String>(MessEngineConstants.DELETE_CONTACTS_TYPE, getIdsAsString(contacts)); message.putProperty(MessEngineConstants.SENDER_ID, userId.toString()); messEngine.send(message); } public void deletePendingEmails(Set<ContactInfo> pendingEmails) { AllMessage<String> message = new AllMessage<String>(MessEngineConstants.DELETE_PENDING_EMAILS_TYPE, getIdsAsString(pendingEmails)); messEngine.send(message); } public List<ContactInfo> getUserContacts(Long userId) { AllMessage<String> message = new AllMessage<String>(MessEngineConstants.CONTACT_LIST_REQUEST_TYPE, userId.toString()); sendAndWait(message, requestLockForContactlistRequest, ClientConstants.CONTACT_LIST_RETRIVAL_TIMEOUT); return contactInfoList; } public List<ContactInfo> getOnlineUsers() { AllMessage<String> message = new AllMessage<String>(MessEngineConstants.ONLINE_USERS_LIST_REQUEST_TYPE, ""); sendAndWait(message, onlienUsersRequestLock, ClientConstants.ONLINE_USERS_REQUEST_TIMEOUT); if (onlineUsers == null) { return Collections.emptyList(); } return onlineUsers; } private void sendAndWait(AllMessage<?> message, CyclicBarrier lock, long timeout) { lock.reset(); messEngine.send(message); try { lock.await(timeout, TimeUnit.MILLISECONDS); } catch (Exception e) { log.error(e, e); } } String getIdsAsString(Set<ContactInfo> contacts) { StringBuffer sb = new StringBuffer(); for (ContactInfo contact : contacts) { sb.append(contact.getId()); sb.append(","); } sb.delete(sb.length() - 1, sb.length()); return sb.toString(); } }
{ "content_hash": "8220eb5160c95b5ada43c1ce8096de1d", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 133, "avg_line_length": 33.18333333333333, "alnum_prop": 0.7433450527373179, "repo_name": "josdem/client", "id": "32ffebab72e30105e09928368b60c06498a28d1e", "size": "15544", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "client-services/src/main/java/com/all/client/services/ContactMessageService.java", "mode": "33261", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "13516347" }, { "name": "JavaScript", "bytes": "2520155" }, { "name": "Shell", "bytes": "34062" } ], "symlink_target": "" }
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayOpenPublicContentCancelModel Data Structure. /// </summary> [Serializable] public class AlipayOpenPublicContentCancelModel : AopObject { /// <summary> /// message_id 是发布接口调用之后拿到的返回值,用来撤回已经发布的对应内容 /// </summary> [XmlElement("message_id")] public string MessageId { get; set; } } }
{ "content_hash": "aebb898c24900ac81a6f3be38eb64d55", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 63, "avg_line_length": 24.77777777777778, "alnum_prop": 0.6345291479820628, "repo_name": "erikzhouxin/CSharpSolution", "id": "f6a2544966ccaa8ffa43e369866c4821aeadcce9", "size": "504", "binary": false, "copies": "4", "ref": "refs/heads/master", "path": "OSS/Alipay/AopSdk/Domain/AlipayOpenPublicContentCancelModel.cs", "mode": "33188", "license": "mit", "language": [ { "name": "ASP", "bytes": "153832" }, { "name": "Batchfile", "bytes": "104" }, { "name": "C#", "bytes": "16507100" }, { "name": "CSS", "bytes": "1339701" }, { "name": "HTML", "bytes": "25059213" }, { "name": "Java", "bytes": "10698" }, { "name": "JavaScript", "bytes": "53532704" }, { "name": "PHP", "bytes": "48348" }, { "name": "PLSQL", "bytes": "8976" }, { "name": "PowerShell", "bytes": "471" }, { "name": "Ruby", "bytes": "1030" } ], "symlink_target": "" }
using EOLib.Domain.Chat; using EOLib.Extensions; using EOLib.Graphics; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Optional.Unsafe; namespace EndlessClient.Rendering.Chat { public class ChatRenderable : IChatRenderable { private const int ICON_GRAPHIC_X_OFF = 3; private const int CHAT_MESSAGE_X_OFF = 20; private static readonly Vector2 TOP_LEFT = new Vector2(102, 330); private readonly INativeGraphicsManager _nativeGraphicsManager; private readonly string _partialMessage; protected virtual int HeaderYOffset => 3; public int DisplayIndex { get; set; } public ChatData Data { get; private set; } public ChatRenderable(INativeGraphicsManager nativeGraphicsManager, int displayIndex, ChatData data, string partialMessage = null) { _nativeGraphicsManager = nativeGraphicsManager; DisplayIndex = displayIndex; Data = data; _partialMessage = partialMessage; } public override bool Equals(object obj) { if (!(obj is ChatRenderable)) return false; var other = (ChatRenderable) obj; return other.Data.Equals(Data) && other._partialMessage.Equals(_partialMessage); } public override int GetHashCode() { var hash = 397 ^ Data.GetHashCode(); hash = (hash*397) ^ DisplayIndex.GetHashCode(); hash = (hash*397) ^ _partialMessage.GetHashCode(); return hash; } public void Render(SpriteBatch spriteBatch, SpriteFont chatFont) { spriteBatch.Begin(); var pos = TOP_LEFT + new Vector2(0, DisplayIndex*13); spriteBatch.Draw(_nativeGraphicsManager.TextureFromResource(GFXTypes.PostLoginUI, 32, true), new Vector2(pos.X + ICON_GRAPHIC_X_OFF, pos.Y + HeaderYOffset), GetChatIconRectangle(Data.Icon), Color.White); string strToDraw; if (string.IsNullOrEmpty(Data.Who)) strToDraw = _partialMessage; else strToDraw = Data.Who + " " + _partialMessage; spriteBatch.DrawString(chatFont, strToDraw, new Vector2(pos.X + CHAT_MESSAGE_X_OFF, pos.Y + HeaderYOffset), Data.ChatColor.ToColor()); spriteBatch.End(); } private static Rectangle? GetChatIconRectangle(ChatIcon icon) { var (x, y, width, height) = icon.GetChatIconRectangleBounds().ValueOrDefault(); return new Rectangle(x, y, width, height); } } public class NewsChatRenderable : ChatRenderable { protected override int HeaderYOffset => 23; public NewsChatRenderable(INativeGraphicsManager nativeGraphicsManager, int displayIndex, ChatData data, string partialMessage) : base(nativeGraphicsManager, displayIndex, data, partialMessage) { } } }
{ "content_hash": "e3ceace23952d06b5106e8f4052519c0", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 135, "avg_line_length": 34.305263157894736, "alnum_prop": 0.5820803927585149, "repo_name": "ethanmoffat/EndlessClient", "id": "c1e97de94f0e3cf45d25142e470e70d933c464c9", "size": "3259", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "EndlessClient/Rendering/Chat/ChatRenderable.cs", "mode": "33188", "license": "mit", "language": [ { "name": "C#", "bytes": "2416390" }, { "name": "HLSL", "bytes": "292" } ], "symlink_target": "" }
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "aab877991be7e8cdde9f0e4141b53cb8", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "7a0b389ce97cde3c66e60683679c7ad3cfe16c28", "size": "182", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "life/Plantae/Magnoliophyta/Liliopsida/Arecales/Arecaceae/Bactris/Bactris brongniartii/ Syn. Guilielma tenera/README.md", "mode": "33188", "license": "apache-2.0", "language": [], "symlink_target": "" }
<?php /** * DbSync * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://code.google.com/p/php-dbsync/wiki/License * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * @category DbSync * @package DbSync_Model * @subpackage Table * @license http://code.google.com/p/php-dbsync/wiki/License New BSD License * @version $Id$ */ /** * DbSync_Model_Table_Data * * @category DbSync * @package DbSync_Model * @subpackage Table * @version $Id$ */ class DbSync_Model_Table_Data extends DbSync_Model_Table_AbstractTable { const PUSH_TYPE_FORCE = 1; const PUSH_TYPE_MERGE = 2; /** * Get data to store in config file * * @return array */ public function generateConfigData() { return $this->_dbAdapter->fetchData($this->getTableName()); } /** * Push data to db table * * @param integer $type * @return boolen * @throws DbSync_Exception */ public function push($type = null) { if (!$filename = $this->getFilePath()) { throw new $this->_exceptionClass("Config for '{$this->getTableName()}' not found"); } $data = $this->_fileAdapter->load($filename); if (!current($data)) { return false; } if (!$this->isEmptyTable()) { if (self::PUSH_TYPE_MERGE == $type) { return $this->_dbAdapter->merge($data, $this->getTableName()); } if (self::PUSH_TYPE_FORCE != $type) { throw new $this->_exceptionClass("Table '{$this->getTableName()}' is not empty"); } $this->_dbAdapter->truncate($this->getTableName()); } return $this->_dbAdapter->insert($data, $this->getTableName()); } /** * Is db table dirty * * @return boolean * @throws DbSync_Exception */ public function isEmptyTable() { if (!$this->hasDbTable()) { throw new $this->_exceptionClass("Table '{$this->getTableName()}' not found"); } return $this->_dbAdapter->isEmpty($this->getTableName()); } }
{ "content_hash": "2a9970e88bbf09fb3b9526be88395650", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 97, "avg_line_length": 26.42391304347826, "alnum_prop": 0.5787741670094612, "repo_name": "simha95/php-dbsync", "id": "f84d2b90f7e8c30f9d893ac5a4767a092a87a613", "size": "2431", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "DbSync/Model/Table/Data.php", "mode": "33188", "license": "bsd-2-clause", "language": [ { "name": "PHP", "bytes": "159702" }, { "name": "Shell", "bytes": "95" } ], "symlink_target": "" }
module FortuneTeller VERSION = "0.0.6" end
{ "content_hash": "9afaf139984e40631e0125ef96c9730c", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 20, "avg_line_length": 15, "alnum_prop": 0.7111111111111111, "repo_name": "JayTeeSF/fortune_teller", "id": "dd26e9a1a80a9545852aee2e25b5c362df5a952c", "size": "45", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "lib/fortune_teller/version.rb", "mode": "33188", "license": "mit", "language": [ { "name": "Ruby", "bytes": "6592" } ], "symlink_target": "" }
package main import ( "fmt" ) type Printer[T ~string] struct { PrintFn func(T) } func Print[T ~string](s T) { fmt.Println(s) } func PrintWithPrinter[T ~string, S interface { ~struct { ID T PrintFn_ func(T) } PrintFn() func(T) }](message T, obj S) { obj.PrintFn()(message) } func main() { PrintWithPrinter( "Hello, world.", StructWithPrinter{ID: "fake", PrintFn_: Print[string]}, ) } type StructWithPrinter struct { ID string PrintFn_ func(string) } // Field accesses through type parameters are disabled // until we have a more thorough understanding of the // implications on the spec. See issue #51576. // Use accessor method instead. func (s StructWithPrinter) PrintFn() func(string) { return s.PrintFn_ }
{ "content_hash": "a0c620ed830dd31c3de5b9044cbf509a", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 57, "avg_line_length": 17.022727272727273, "alnum_prop": 0.6795727636849133, "repo_name": "CAFxX/go", "id": "2db1487ecb188a95d554f8d6fb9c1959b9de424e", "size": "917", "binary": false, "copies": "6", "ref": "refs/heads/master", "path": "test/typeparam/issue50690c.go", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "Assembly", "bytes": "2544097" }, { "name": "Awk", "bytes": "450" }, { "name": "Batchfile", "bytes": "8202" }, { "name": "C", "bytes": "107970" }, { "name": "C++", "bytes": "917" }, { "name": "Dockerfile", "bytes": "506" }, { "name": "Fortran", "bytes": "394" }, { "name": "Go", "bytes": "44135746" }, { "name": "HTML", "bytes": "2621340" }, { "name": "JavaScript", "bytes": "20486" }, { "name": "Makefile", "bytes": "748" }, { "name": "Perl", "bytes": "31365" }, { "name": "Python", "bytes": "15702" }, { "name": "Shell", "bytes": "54296" } ], "symlink_target": "" }