شما که طبق گفته خودتون به پشتیبانی وی بی ایران نیازی ندارید و خودتون کار ها رو انجام میدید .
درون ادمین سی پی --> css.php
کد:
// REPLACEMENT VARS
if ($vbulletin->GPC['dowhat'] == 'replacements' OR $vbulletin->GPC['dowhat'] == 'all')
{
construct_hidden_code('dowhat[replacements]', 1);
if (sizeof($replacement) > 0)
{
print_table_header($vbphrase['replacement_variables'], 3);
print_cells_row(array($vbphrase['search_for_text'], $vbphrase['replace_with_text'], ''), 1);
foreach($replacement AS $findword => $replaceword)
{
print_replacement_row($findword, $replaceword);
}
}
else
{
print_description_row($vbphrase['no_replacements_defined']);
}
print_table_break("<center>".
construct_link_code($vbphrase['add_new_replacement_variable'], "replacement.php?" . $vbulletin->session->vars['sessionurl'] . "do=add&dostyleid=" . $vbulletin->GPC['dostyleid']).
"</center>");
}
if ($vbulletin->GPC['dowhat'] == 'maincss' OR $vbulletin->GPC['dowhat'] == 'css')
{
$footerhtml = '';
}
else
{
$footerhtml = '
<input type="submit" class="button" value="' . $vbphrase['save'] . '" accesskey="s" tabindex="1" />
<input type="reset" class="button" value="' . $vbphrase['reset'] . '" accesskey="r" tabindex="1" onclick="this.form.reset(); init_color_preview(); return false;" />
';
}
print_table_footer(2, $footerhtml);
echo $colorPicker;
?>
<script type="text/javascript">
<!--
var bburl = "<?php echo $vbulletin->options['bburl']; ?>/";
var cpstylefolder = "<?php echo $vbulletin->options['cpstylefolder']; ?>";
var numColors = <?php echo intval($numcolors); ?>;
var colorPickerWidth = <?php echo intval($colorPickerWidth); ?>;
var colorPickerType = <?php echo intval($colorPickerType); ?>;
//-->
</script>
<?php
}
رو با
کد:
// REPLACEMENT VARS
if ($vbulletin->GPC['dowhat'] == 'replacements' OR $vbulletin->GPC['dowhat'] == 'all')
{
construct_hidden_code('dowhat[replacements]', 1);
if (sizeof($replacement) > 0)
{
print_table_header($vbphrase['replacement_variables'], 3);
print_cells_row(array($vbphrase['search_for_text'], $vbphrase['replace_with_text'], ''), 1);
foreach($replacement AS $findword => $replaceword)
{
print_replacement_row($findword, $replaceword);
}
}
else
{
print_description_row($vbphrase['no_replacements_defined']);
}
print_table_break("<center>".
construct_link_code($vbphrase['add_new_replacement_variable'], "replacement.php?" . $vbulletin->session->vars['sessionurl'] . "do=add&dostyleid=" . $vbulletin->GPC['dostyleid']).
"</center>");
}
print_table_footer(2, '
<input type="submit" class="button" value="' . $vbphrase['save'] . '" accesskey="s" tabindex="1" />
<input type="reset" class="button" value="' . $vbphrase['reset'] . '" accesskey="r" tabindex="1" onclick="this.form.reset(); init_color_preview(); return false;" />
');
echo $colorPicker;
?>
<script type="text/javascript">
<!--
var bburl = "<?php echo $vbulletin->options['bburl']; ?>/";
var cpstylefolder = "<?php echo $vbulletin->options['cpstylefolder']; ?>";
var numColors = <?php echo intval($numcolors); ?>;
var colorPickerWidth = <?php echo intval($colorPickerWidth); ?>;
var colorPickerType = <?php echo intval($colorPickerType); ?>;
//-->
</script>
<?php
}
عوض کنید.
علاقه مندی ها (Bookmarks)