<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
    <title>mod_rewrite_content</title>
{_META_HEAD_CONTENIDO_}
{_CSS_HEAD_CONTENIDO_}
    <link rel="stylesheet" type="text/css" href="plugins/mod_rewrite/styles/styles.css">
{_JS_HEAD_CONTENIDO_}
</head>

<body class="mrPlugin mrPluginSettings">

<div class="headerBox">
    <div class="pluginInfo">
        <div><span class="blockLeft">Plugin Advanced Mod Rewrite</span>
            <a href="#" id="pluginInfoDetails-link" class="main i-link infoButton" title=""></a><div class="clear"></div></div>
        <div id="pluginInfoDetails" class="nodisplay">
            <ul class="list">
                <li class="first"><strong>{LNG_AUTHOR}:</strong> Murat Pur&ccedil;, <a href="mailto:murat@purc.de" title="{LNG_MAIL_TO_AUTHOR}">murat@purc.de</a></li>
                <li><strong>{LNG_PLUGINPAGE}:</strong> <a href="http://www.purc.de/playground-coding-contenido_plugin_-_advanced_mod_rewrite-a.109.html" onclick="window.open(this.href); return false;" title="{LNG_VISIT_PLUGINPAGE} ({LNG_OPENS_IN_NEW_WINDOW})">{LNG_VISIT_PLUGINPAGE}</a></li>
                <li><strong>{LNG_CONTENIDO_FORUM}:</strong> <a href="http://forum.contenido.org/viewtopic.php?t=21578" onclick="window.open(this.href); return false;" title="{LNG_PLUGINTHREAD_IN_CONTENIDO_FORUM} ({LNG_OPENS_IN_NEW_WINDOW})">{LNG_PLUGINTHREAD_IN_CONTENIDO_FORUM}</a></li>
            </ul>
        </div>
    </div>
</div>

{CONTENT_BEFORE}

<form name="mr_configuration" id="mr_configuration" method="post" action="main.php">

    <input type="hidden" name="contenido" value="{_SID_}">
    <input type="hidden" name="area" value="{AREA}">
    <input type="hidden" name="mr_action" value="save">
    <input type="hidden" name="frame" value="4">
    <input type="hidden" name="idclient" value="{IDCLIENT}">

<table id="contenttable" cellspacing="0" cellpadding="3" border="0">
<colgroup>
    <col width="30%">
    <col width="70%">
</colgroup>
<tr class="bgcE2">
    <th colspan="2" class="text_medium col-I borderrB3">{LNG_PLUGIN_SETTINGS}</th>
</tr>

<!-- htaccess info / empty aliases -->
<tr style="{HEADER_NOTES_CSS}" class="marked">
    <td colspan="2" class="text_medium col-I" style="padding:13px 3px;">
        <strong>{LNG_NOTE}</strong><br>
        <p style="{HTACCESS_INFO_CSS}">
            {LNG_MSG_NO_HTACCESS_FOUND}<br>
        </p>
        <p style="{EMPTYALIASES_INFO_CSS}">
            {LNG_MSG_NO_EMPTYALIASES_FOUND}<br>
        </p>
    </td>
</tr>

<!-- enable/disable mod rewrite -->
<tr>
    <td colspan="2" class="text_medium col-I">
        <div class="blockLeft">
            <input type="checkbox" id="mr_use" name="use" value="1"{USE_CHK}>
            <label for="mr_use">{LNG_ENABLE_AMR}</label>
        </div>
        <a href="#" id="enableInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="enableInfo1" class="nodisplay">
            <strong>{LNG_NOTE}</strong><br>
            {LNG_MSG_ENABLE_AMR_INFO}<br>
            <br>
            <strong>{LNG_EXAMPLE}:</strong>
            <pre class="example">{LNG_MSG_ENABLE_AMR_INFO_EXAMPLE}</pre>
        </div>
    </td>
</tr>

<!-- root dir -->
<tr>
    <td class="text_medium col-I">{LNG_ROOTDIR}</td>
    <td class="text_medium col-II" align="left">
        {ROOTDIR_ERROR}
        <input class="text_medium blockLeft" type="text" name="rootdir" size="50" maxlength="64" value="{ROOTDIR}">
        <a href="#" id="rootdirInfo1-link" title="" class="main i-link infoButton"></a><div class="clear"></div>
        <div id="rootdirInfo1" class="nodisplay">{LNG_ROOTDIR_INFO}</div>
        <br>
        <div class="blockLeft">
            <input type="checkbox" id="mr_checkrootdir" name="checkrootdir" value="1"{CHECKROOTDIR_CHK}>
            <label for="mr_checkrootdir">{LNG_CHECKROOTDIR}</label>
        </div>
        <a href="#" id="rootdirInfo2-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="rootdirInfo2" class="nodisplay">{LNG_CHECKROOTDIR_INFO}</div>
    </td>
</tr>

<!-- use client/use client name -->
<tr>
    <td class="text_medium col-I">{LNG_USE_CLIENT}</td>
    <td class="text_medium col-II" align="left">
        <input type="checkbox" id="mr_use_client" name="use_client" value="1"{USE_CLIENT_CHK}>
        <label for="mr_use_client">{LNG_USE_CLIENT_LBL}</label><br>
        <br>
        <input type="checkbox" id="mr_use_client_name" name="use_client_name" value="1"{USE_CLIENT_NAME_CHK}{USE_CLIENT_NAME_DISABLED}>
        <label for="mr_use_client_name">{LNG_USE_CLIENT_NAME_LBL}</label><br>
    </td>
</tr>

<!-- use language/use language name -->
<tr>
    <td class="text_medium col-I">{LNG_USE_LANGUAGE}</td>
    <td class="text_medium col-II" align="left">
        <input type="checkbox" id="mr_use_language" name="use_language" value="1"{USE_LANGUAGE_CHK}>
        <label for="mr_use_language">{LNG_USE_LANGUAGE_LBL}</label><br>
        <br>
        <input type="checkbox" id="mr_use_language_name" name="use_language_name" value="1"{USE_LANGUAGE_NAME_CHK}{USE_LANGUAGE_NAME_DISABLED}>
        <label for="mr_use_language_name">{LNG_USE_LANGUAGE_NAME_LBL}</label><br>
    </td>
</tr>

<!-- start from root -->
<tr>
    <td class="text_medium col-I">{LNG_STARTFROMROOT}</td>
    <td class="text_medium col-II" align="left">
        <div class="blockLeft">
            <input type="checkbox" id="mr_startfromroot" name="startfromroot" value="1"{STARTFROMROOT_CHK}>
            <label for="mr_startfromroot">{LNG_STARTFROMROOT_LBL}</label>
        </div>
        <a href="#" id="startFromRootInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="startFromRootInfo1" class="nodisplay">{LNG_STARTFROMROOT_INFO}</div>
    </td>
</tr>

<!-- activate userdefined separator settings -->
<tr>
    <td colspan="2" class="text_medium col-I altBg">
        <strong class="blockLeft">{LNG_USERDEFINED_SEPARATORS_HEADER}</strong>
        <a href="#" id="userdefSeparatorInfo1-link2" title="" class="main i-link infoButton"></a><div class="clear"></div>
        <div id="userdefSeparatorInfo1" class="nodisplay">
            <strong>{LNG_EXAMPLE}:</strong>
            <pre class="example">{LNG_USERDEFINED_SEPARATORS_EXAMPLE}</pre>

            <strong>{LNG_NOTE}:</strong>
            <ul>
                <li>{LNG_USERDEFINED_SEPARATORS_EXAMPLE_A}
                    <pre class="example">{LNG_USERDEFINED_SEPARATORS_EXAMPLE_A_EXAMPLE}</pre>
                </li>
                <li>{LNG_USERDEFINED_SEPARATORS_EXAMPLE_B}
                    <pre class="example">{LNG_USERDEFINED_SEPARATORS_EXAMPLE_B_EXAMPLE}</pre>
                </li>
                <li>{LNG_USERDEFINED_SEPARATORS_EXAMPLE_C}
                    <pre class="example">{LNG_USERDEFINED_SEPARATORS_EXAMPLE_C_EXAMPLE}</pre>
                </li>
            </ul>
        </div>
    </td>
</tr>

<tr>
    <td class="text_medium col-I altBg">{LNG_CATEGORY_SEPARATOR}</td>
    <td class="text_medium col-II" align="left">
        {CATEGORY_SEPARATOR_ERROR}
        <input class="text_medium" type="text" id="mr_category_seperator" name="category_seperator" size="5" maxlength="1" value="{CATEGORY_SEPARATOR}"{CATEGORY_SEPARATOR_ATTRIB}>
        <small>{LNG_CATART_SEPARATOR_INFO}</small>
    </td>
</tr>

<tr>
    <td class="text_medium col-I altBg">{LNG_CATEGORY_WORD_SEPARATOR}</td>
    <td class="text_medium col-II" align="left">
        {CATEGORY_WORD_SEPARATOR_ERROR}
        <input class="text_medium" type="text" id="mr_category_word_seperator" name="category_word_seperator" size="5" maxlength="1" value="{CATEGORY_WORD_SEPARATOR}"{CATEGORY_WORD_SEPARATOR_ATTRIB}>
        <small>{LNG_WORD_SEPARATOR_INFO}</small>
    </td>
</tr>

<tr>
    <td class="text_medium col-I altBg">{LNG_ARTICLE_SEPARATOR}</td>
    <td class="text_medium col-II" align="left">
        {ARTICLE_SEPARATOR_ERROR}
        <input class="text_medium" type="text" id="mr_article_seperator" name="article_seperator" size="5" maxlength="1" value="{ARTICLE_SEPARATOR}"{ARTICLE_SEPARATOR_ATTRIB}>
        <small>{LNG_CATART_SEPARATOR_INFO}</small>
    </td>
</tr>
<tr>
    <td class="text_medium col-I altBg">{LNG_ARTICLE_WORD_SEPARATOR}</td>
    <td class="text_medium col-II" align="left">
        {ARTICLE_WORD_SEPARATOR_ERROR}
        <input class="text_medium" type="text" id="mr_article_word_seperator" name="article_word_seperator" size="5" maxlength="1" value="{ARTICLE_WORD_SEPARATOR}"{ARTICLE_WORD_SEPARATOR_ATTRIB}>
        <small>{LNG_WORD_SEPARATOR_INFO}</small>
    </td>
</tr>

<!-- add start article name to url -->
<tr>
    <td class="text_medium col-I">{LNG_ADD_STARTART_NAME_TO_URL}</td>
    <td class="text_medium col-II" align="left">
        {ADD_STARTART_NAME_TO_URL_ERROR}
        <input type="checkbox" id="mr_add_startart_name_to_url" name="add_startart_name_to_url" value="1"{ADD_STARTART_NAME_TO_URL_CHK}>
        <label for="mr_add_startart_name_to_url">{LNG_ADD_STARTART_NAME_TO_URL_LBL}</label><br>
        <br>
        <div class="blockLeft">
            <label for="mr_default_startart_name">{LNG_DEFAULT_STARTART_NAME}</label><br>
            <input class="text_medium" type="text" id="mr_default_startart_name" name="default_startart_name" size="50" maxlength="64" value="{DEFAULT_STARTART_NAME}">
        </div>
        <a href="#" id="defaultStartArtNameInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="defaultStartArtNameInfo1" class="nodisplay">{LNG_DEFAULT_STARTART_NAME_INFO}</div>
    </td>
</tr>

<!-- file extension -->
<tr>
    <td class="text_medium col-I">{LNG_FILE_EXTENSION}</td>
    <td class="text_medium col-II" align="left">
        {FILE_EXTENSION_ERROR}
        <div class="blockLeft">
            <input class="text_medium" type="text" name="file_extension" size="10" maxlength="10" value="{FILE_EXTENSION}"><br>
        </div>
        <a href="#" id="fileExtensionInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="fileExtensionInfo1" class="nodisplay">
            {LNG_FILE_EXTENSION_INFO}<br><br>
            <strong>{LNG_NOTE}:</strong><br>
            {LNG_FILE_EXTENSION_INFO2}
        </div>
        <p class="red">{LNG_FILE_EXTENSION_INFO3}</p>
    </td>
</tr>

<!-- use lowercase url -->
<tr>
    <td class="text_medium col-I">{LNG_USE_LOWERCASE_URI}</td>
    <td class="text_medium col-II" align="left">
        <input type="checkbox" id="mr_use_lowercase_uri" name="use_lowercase_uri" value="1"{USE_LOWERCASE_URI_CHK}>
        <label for="mr_use_lowercase_uri">{LNG_USE_LOWERCASE_URI_LBL}</label>
    </td>
</tr>

<!-- prevent duplicated content -->
<tr>
    <td class="text_medium col-I">{LNG_PREVENT_DUPLICATED_CONTENT}</td>
    <td class="text_medium col-II" align="left">
        <div class="blockLeft">
            <input type="checkbox" id="mr_prevent_duplicated_content" name="prevent_duplicated_content" value="1"{PREVENT_DUPLICATED_CONTENT_CHK}> <label for="mr_prevent_duplicated_content">{LNG_PREVENT_DUPLICATED_CONTENT_LBL}</label><br>
        </div>
        <a href="#" id="preventDuplicatedContentInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="preventDuplicatedContentInfo1" class="nodisplay">
            {LNG_PREVENT_DUPLICATED_CONTENT_INFO}:<br>
            <ul>
            {LNG_PREVENT_DUPLICATED_CONTENT_INFO2}
            </ul>
        </div>
    </td>
</tr>

<!-- category resolve min percentage -->
<tr>
    <td class="text_medium col-I">{LNG_CATEGORY_RESOLVE_MIN_PERCENTAGE}</td>
    <td class="text_medium col-II" align="left">
        {CATEGORY_RESOLVE_MIN_PERCENTAGE_ERROR}
        <div class="blockLeft">
            <input class="text_medium" type="text" name="category_resolve_min_percentage" size="5" maxlength="3" value="{CATEGORY_RESOLVE_MIN_PERCENTAGE}"> (0 - 100)
        </div>
        <a href="#" id="categoryResolveMinPercentageInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="categoryResolveMinPercentageInfo1" class="nodisplay">
            <p>{LNG_CATEGORY_RESOLVE_MIN_PERCENTAGE_INFO}</p>
            <strong>{LNG_EXAMPLE}:</strong>
            <pre class="example">{LNG_CATEGORY_RESOLVE_MIN_PERCENTAGE_EXAMPLE}</pre>
      </div>
    </td>
</tr>

<!-- redirect invalid article to errorsite -->
<tr>
    <td class="text_medium col-I">{LNG_REDIRECT_INVALID_ARTICLE_TO_ERRORSITE}</td>
    <td class="text_medium col-II" align="left">
        <div class="blockLeft">
            <input type="checkbox" id="mr_redirect_invalid_article_to_errorsite" name="redirect_invalid_article_to_errorsite" value="1"{REDIRECT_INVALID_ARTICLE_TO_ERRORSITE_CHK}>
            <label for="mr_redirect_invalid_article_to_errorsite">{LNG_REDIRECT_INVALID_ARTICLE_TO_ERRORSITE_LBL}</label><br>
        </div>
        <a href="#" id="redirectInvalidArticleToErrorsiteInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="redirectInvalidArticleToErrorsiteInfo1" class="nodisplay">
            {LNG_REDIRECT_INVALID_ARTICLE_TO_ERRORSITE_INFO}
        </div>
    </td>
</tr>

<!-- rewrite urls at -->
<tr>
    <td class="text_medium col-I">{LNG_REWRITE_URLS_AT}</td>
    <td class="text_medium col-II" align="left">
        <div class="blockLeft">
            <input type="radio" id="rewrite_urls_at_front_content_output" name="rewrite_urls_at" value="front_content_output"{REWRITE_URLS_AT_FRONT_CONTENT_OUTPUT_CHK}>
            <label for="rewrite_urls_at_front_content_output">{LNG_REWRITE_URLS_AT_FRONT_CONTENT_OUTPUT_LBL}</label>
        </div>
        <a href="#" id="rewriteUrlsAtInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="rewriteUrlsAtInfo1" class="nodisplay">
            {LNG_REWRITE_URLS_AT_FRONT_CONTENT_OUTPUT_INFO}<br>
            <br>
            <strong>{LNG_REWRITE_URLS_AT_FRONT_CONTENT_OUTPUT_INFO2}:</strong>
            <ul>
            {LNG_REWRITE_URLS_AT_FRONT_CONTENT_OUTPUT_INFO3}
            </ul>
        </div>
        <br>

        <div class="blockLeft">
            <input type="radio" id="rewrite_urls_at_congeneratecode" name="rewrite_urls_at" value="congeneratecode"{REWRITE_URLS_AT_CONGENERATECODE_CHK}>
            <label for="rewrite_urls_at_congeneratecode">{LNG_REWRITE_URLS_AT_CONGENERATECODE_LBL}</label><br>
        </div>
        <a href="#" id="rewriteUrlsAtInfo2-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="rewriteUrlsAtInfo2" class="nodisplay">
        {LNG_REWRITE_URLS_AT_CONGENERATECODE_INFO}<br>
<pre class="example">{LNG_REWRITE_URLS_AT_CONGENERATECODE_EXAMPLE}</pre>

            <strong>{LNG_REWRITE_URLS_AT_CONGENERATECODE_INFO2}:</strong>
            <ul>
            {LNG_REWRITE_URLS_AT_CONGENERATECODE_INFO3}
            </ul>
        </div>
    </td>
</tr>

<!-- routing -->
<tr>
    <td class="text_medium col-I">{LNG_REWRITE_ROUTING}</td>
    <td class="text_medium col-II" align="left">
        <div class="blockLeft">{LNG_REWRITE_ROUTING_INFO}</div>
        <a href="#" id="routingInfo1-link" title="" class="main i-link infoButton"></a><div class="clear"></div>
        <div id="routingInfo1" class="nodisplay">
{LNG_REWRITE_ROUTING_INFO2}
<pre class="example">{LNG_REWRITE_ROUTING_EXAMPLE}</pre>
<br>
            <ul>
            {LNG_REWRITE_ROUTING_INFO3}
            </ul>
        </div>
        <textarea class="txt width99 heightpx100" id="rewrite_routing" name="rewrite_routing" rows="5" cols="80">{REWRITE_ROUTING}</textarea>
    </td>
</tr>

<tr>
    <td colspan="2" class="text_medium col-I tgright noborderb">
        <a accesskey="c" href="main.php?area={AREA}&amp;frame=4&amp;idclient={IDCLIENT}&amp;contenido={_SID_}">
            <img src="images/but_cancel.gif" alt="" title="{LNG_DISCARD_CHANGES}"></a>
        <input class="mgl20" accesskey="s" type="image" src="images/but_ok.gif" alt="" title="{LNG_SAVE_CHANGES}">
    </td>
</tr>
</table>

</form>

{CONTENT_AFTER}

<script type="text/javascript" src="plugins/mod_rewrite/scripts/mod_rewrite.js"></script>
<script type="text/javascript">
(function(Con, $) {
    $(function() {
        new Con.Plugin.ModRewrite('settings', {lng: {more_informations: "{LNG_MORE_INFORMATIONS}"}});
    });
})(Con, Con.$);
</script>

</body>
</html>