Changeset - 5bd6b2bdbe58
[Not reviewed]
0 1 0
Chel Sea (chain) - 5 years ago 2020-11-17 10:22:30
chain@rpgfiction.net
use default instead of global templates
1 file changed with 19 insertions and 19 deletions:
0 comments (0 inline, 0 general)
inc/plugins/inplaytracker.php
Show inline comments
 
@@ -296,7 +296,7 @@ if(use_xmlhttprequest == "1")
 
}
 
// -->
 
</script>'),
 
		'sid'		=> '-1',
 
		'sid'		=> '-2',
 
		'version'	=> '',
 
		'dateline'	=> TIME_NOW
 
	);
 
@@ -309,7 +309,7 @@ if(use_xmlhttprequest == "1")
 
<td class="trow1"><span class="smalltext"><select name="day">{$day_bit}</select> <select name="month">{$month_bit}</select>
 
<input type="text" name="year" value="{$year}" style="width: 55px;" /></td>
 
</tr>'),
 
		'sid'		=> '-1',
 
		'sid'		=> '-2',
 
		'version'	=> '',
 
		'dateline'	=> TIME_NOW
 
	);
 
@@ -321,7 +321,7 @@ if(use_xmlhttprequest == "1")
 
<td class="trow1" width="20%"><strong>{$lang->inplaytracker_location}</strong></td>
 
<td class="trow1"><span class="smalltext"><input type="text" class="textbox" name="iport" size="40" maxlength="155" value="{$iport}" /> <br />{$lang->inplaytracker_location_desc}</span> </td>
 
</tr>'),
 
        'sid'        => '-1',
 
        'sid'        => '-2',
 
        'version'    => '',
 
        'dateline'    => TIME_NOW
 
    );
 
@@ -333,7 +333,7 @@ if(use_xmlhttprequest == "1")
 
	<td class="trow1" width="20%"><strong>{$lang->inplaytracker_daytime}</strong></td>
 
	<td class="trow1"><span class="smalltext"><input type="text" class="textbox" name="ipdaytime" size="40" maxlength="155" value="{$ipdaytime}" /> <br />{$lang->inplaytracker_daytime_desc}</span> </td>
 
	</tr>'),
 
	        'sid'        => '-1',
 
	        'sid'        => '-2',
 
	        'version'    => '',
 
	        'dateline'    => TIME_NOW
 
	    );
 
@@ -362,7 +362,7 @@ if(use_xmlhttprequest == "1")
 
{$footer}
 
</body>
 
</html>'),
 
		'sid'		=> '-1',
 
		'sid'		=> '-2',
 
		'version'	=> '',
 
		'dateline'	=> TIME_NOW
 
	);
 
@@ -389,7 +389,7 @@ if(use_xmlhttprequest == "1")
 
</tr>
 
{$scenes_bit}
 
</table>'),
 
		'sid'		=> '-1',
 
		'sid'		=> '-2',
 
		'version'	=> '',
 
		'dateline'	=> TIME_NOW
 
	);
 
@@ -411,7 +411,7 @@ if(use_xmlhttprequest == "1")
 
	{$szene[\'lastposter\']}
 
	</td>
 
</tr>'),
 
		'sid'		=> '-1',
 
		'sid'		=> '-2',
 
		'version'	=> '',
 
		'dateline'	=> TIME_NOW
 
	);
 
@@ -470,7 +470,7 @@ if(use_xmlhttprequest == "1")
 
{$footer}
 
</body>
 
</html>'),
 
		'sid'		=> '-1',
 
		'sid'		=> '-2',
 
		'version'	=> '',
 
		'dateline'	=> TIME_NOW
 
	);
 
@@ -479,7 +479,7 @@ if(use_xmlhttprequest == "1")
 
  $insert_array = array(
 
		'title'		=> 'header_inplaytracker',
 
		'template'	=> $db->escape_string('<li><a href="{$mybb->settings[\'bburl\']}/misc.php?action=scenes" class="search">{$lang->inplaytracker_scenes} ({$opengesamt}/{$countgesamt})</a></li><li><a href="{$mybb->settings[\'bburl\']}/misc.php?action=inplay" class="search">{$lang->inplaytracker}</a></li>'),
 
		'sid'		=> '-1',
 
		'sid'		=> '-2',
 
		'version'	=> '',
 
		'dateline'	=> TIME_NOW
 
	);
 
@@ -501,7 +501,7 @@ if(use_xmlhttprequest == "1")
 
	</div>
 
</td>
 
</table>'),
 
		'sid'		=> '-1',
 
		'sid'		=> '-2',
 
		'version'	=> '',
 
		'dateline'	=> TIME_NOW
 
	);
 
@@ -514,7 +514,7 @@ if(use_xmlhttprequest == "1")
 
		<span class="smalltext">{$szenen[\'ipdate\']}<br /><i>{$lang->inplaytracker_characters}</i>: {$szenen[\'partners\']}</span>
 
	</td>
 
</tr>'),
 
		'sid'		=> '-1',
 
		'sid'		=> '-2',
 
		'version'	=> '',
 
		'dateline'	=> TIME_NOW
 
	);
 
@@ -526,7 +526,7 @@ if(use_xmlhttprequest == "1")
 
					<td class="trow2"><strong>{$lang->inplaytracker_last_post}:</strong></td>
 
					<td class="trow2">{$last_inplaypost}</td>
 
				</tr>'),
 
		'sid'		=> '-1',
 
		'sid'		=> '-2',
 
		'version'	=> '',
 
		'dateline'	=> TIME_NOW
 
	);
 
@@ -565,7 +565,7 @@ if(use_xmlhttprequest == "1")
 
	</table>
 
	</td>
 
</tr>'),
 
				'sid'        => '-1',
 
				'sid'        => '-2',
 
				'version'    => '',
 
				'dateline'    => TIME_NOW
 
		);
 
@@ -581,7 +581,7 @@ if(use_xmlhttprequest == "1")
 
		{$thread[\'iport\']}
 
	</td>
 
</tr>'),
 
				'sid'        => '-1',
 
				'sid'        => '-2',
 
				'version'    => '',
 
				'dateline'    => TIME_NOW
 
		);
 
@@ -597,7 +597,7 @@ if(use_xmlhttprequest == "1")
 
		{$thread[\'ipdaytime\']}
 
	</td>
 
</tr>'),
 
				'sid'        => '-1',
 
				'sid'        => '-2',
 
				'version'    => '',
 
				'dateline'    => TIME_NOW
 
		);
 
@@ -613,7 +613,7 @@ if(use_xmlhttprequest == "1")
 
		{$lang->inplaytracker_scene_halfopen}
 
	</td>
 
</tr>'),
 
				'sid'        => '-1',
 
				'sid'        => '-2',
 
				'version'    => '',
 
				'dateline'    => TIME_NOW
 
		);
 
@@ -629,7 +629,7 @@ if(use_xmlhttprequest == "1")
 
		{$lang->inplaytracker_scene_open} <a href="misc.php?action=add_partner&tid={$thread[\'tid\']}&uid={$mybb->user[\'uid\']}">{$lang->inplaytracker_add_partner}</a>
 
	</td>
 
</tr>'),
 
				'sid'        => '-1',
 
				'sid'        => '-2',
 
				'version'    => '',
 
				'dateline'    => TIME_NOW
 
		);
 
@@ -645,7 +645,7 @@ if(use_xmlhttprequest == "1")
 
		{$lang->inplaytracker_scene_no_order}</a>
 
	</td>
 
</tr>'),
 
				'sid'        => '-1',
 
				'sid'        => '-2',
 
				'version'    => '',
 
				'dateline'    => TIME_NOW
 
		);
 
@@ -671,7 +671,7 @@ function inplaytracker_deactivate()
 
	find_replace_templatesets("showthread", "#".preg_quote('{$inplaytracker}')."#i", '', 0);
 

	
 
	// Templates entfernen
 
  $db->delete_query("templates", "title LIKE '%inplaytracker%'");
 
  $db->delete_query("templates", "title LIKE '%inplaytracker%' AND sid='-2'");
 
}
 

	
 
function inplaytracker_newthread()
0 comments (0 inline, 0 general)