Skip to content

Commit

Permalink
Fixed a bug in recent and removed title clean
Browse files Browse the repository at this point in the history
  • Loading branch information
MightyGorgon committed Feb 3, 2016
1 parent 0ef612e commit e470725
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
2 changes: 1 addition & 1 deletion glacier_phoenix/overall_header.tpl
Expand Up @@ -176,7 +176,7 @@ var ajax_page_charset = '{S_CONTENT_ENCODING}';
<!-- END js_include -->

<!-- IF S_SLIDESHOW -->
<!-- INCLUDE album_slideshow_inc_js.tpl -->
<!-- INCLUDE ../../plugins/album/templates/default/album_slideshow_inc_js.tpl -->
<!-- ENDIF -->

{EXTRA_CSS_JS}
Expand Down
42 changes: 41 additions & 1 deletion prosilver_ip/posting_body.tpl
Expand Up @@ -25,6 +25,32 @@ function attach_rules(forum_id)
// ]]>
</script>

<!-- IF S_JQUERY_TOPIC_TAGS -->
<script type="text/javascript">
// <![CDATA[
$(function() {
$('input.tag').tagedit({
texts: { // some texts
removeLinkTitle: '{L_TAGS_REMOVE_ITEM}',
saveEditLinkTitle: '{L_TAGS_EDIT_ITEM}',
deleteLinkTitle: '{L_TAGS_DELETE_ITEM}',
deleteConfirmation: '{L_TAGS_DELETE_CONFIRM}',
deletedElementTitle: '{L_TAGS_DELETED_ITEM}',
breakEditLinkTitle: '{L_TAGS_BREAK_EDIT}'
},
autocompleteURL: 'ajax.php?mode=tags_search_json&json=1&sid={S_SID}',
//autocompleteOptions: {minLength: 0},
// put a classname here if the wrapper ul shoud receive a special class
//additionalListClass: 'post',
// return, comma, space, period, semicolon
//breakKeyCodes: [ 13, 44, 32, 46, 59 ]
});
});
// ]]>
</script>
<!-- ENDIF -->

<!-- BEGIN switch_privmsg -->
{CPL_MENU_OUTPUT}
<table>
Expand Down Expand Up @@ -161,15 +187,29 @@ function attach_rules(forum_id)
<!-- END switch_edit -->
<!-- IF S_POSTING_TOPIC -->
<!-- IF S_ADMIN or S_MOD -->
<!--
<tr>
<td class="row1"><span class="gen"><b>{L_CLEAN_NAME}</b></span><br /><span class="gensmall">{L_CLEAN_NAME_EXPLAIN}</span></td>
<td class="row2"><span class="gen"><input type="text" name="topic_title_clean" size="45" maxlength="240" style="width: 98%;" tabindex="6" class="post" value="{TOPIC_TITLE_CLEAN}" /></span></td>
</tr>
-->
<!-- ENDIF -->
<!-- IF S_TOPIC_TAGS -->
<tr>
<td class="row1"><span class="gen"><b>{L_TOPIC_TAGS}</b></span><br /><span class="gensmall">{L_TOPIC_TAGS_EXPLAIN}</span></td>
<td class="row2"><span class="gen"><input type="text" name="topic_tags" size="45" maxlength="240" style="width: 98%;" tabindex="7" class="post" value="{TOPIC_TAGS}" /></span></td>
<!-- <td class="row2"><span class="gen"><input type="text" id="topic_tags" name="topic_tags" size="45" maxlength="240" style="width: 98%;" tabindex="8" class="post" value="{TOPIC_TAGS}" /></span></td> -->
<td class="row2">
<span class="gen">
<!-- IF S_JQUERY_TOPIC_TAGS -->
<!-- BEGIN ttag -->
<input type="text" name="ttag[]" size="45" maxlength="240" style="width: 98%;" class="tag" value="{ttag.TTAG}" />
<!-- END ttag -->
<input type="text" name="ttag[]" size="45" maxlength="240" style="width: 98%;" tabindex="8" class="tag" value="" />
<!-- ELSE -->
<input type="text" name="topic_tags" size="45" maxlength="240" style="width: 98%;" tabindex="8" class="post" value="{TOPIC_TAGS}" />
<!-- ENDIF -->
</span>
</td>
</tr>
<!-- ENDIF -->
<!-- ENDIF -->
Expand Down
2 changes: 2 additions & 0 deletions prosilver_ip/recent_body.tpl
@@ -1,5 +1,6 @@
<!-- INCLUDE overall_header.tpl -->

<!-- IF not IS_USER_RECENT -->
{IMG_TBL}<div class="forumline nav-div" style="background: none; border-width: 0px;">
<p class="nav-header" style="background: none; border-width: 0px;"><a href="#" class="nav-current">{STATUS}</a></p>
<div class="nav-transparent gensmall">
Expand All @@ -15,6 +16,7 @@
</form>
</div>
</div>{IMG_TBR}
<!-- ENDIF -->

{IMG_THL}{IMG_THC}<span class="forumlink">{L_RECENT_TITLE}</span>{IMG_THR}<table class="forumlinenb">
<tr>
Expand Down

0 comments on commit e470725

Please sign in to comment.