SMF Support > SMF 2.0.x Support

Change location of gif files

<< < (4/5) > >>

Arantor:
Search the files in Themes/default/ for collapse.gif, I guarantee you'll find them.

colorpinpoint:
Searched all files in Themes/default/ for collapse.gif and found not a single word of .gif or collapse

Arantor:
I don't know how you searched, but I guarantee you it didn't work.

I just fired it up on Notepad++ to search the PHP files, and on my lightly modified test site:


--- Code: ---Search "collapse.gif" (30 hits in 13 files)
  C:\wamp\www\smf202\Sources\Subs-BoardIndex.php (1 hits)
Line 98: 'collapse_image' => isset($row_board['can_collapse']) ? '<img src="' . $settings['images_url'] . '/' . $context['theme_variant_url'] . ($row_board['is_collapsed'] > 0 ? 'expand.gif" alt="+"' : 'collapse.gif" alt="-"') . ' />' : '',
  C:\wamp\www\smf202\Themes\core\BoardIndex.template.php (4 hits)
Line 31: <img id="newsupshrink" src="', $settings['images_url'], '/collapse.gif" alt="*" title="', $txt['upshrink_description'], '" align="bottom" style="display: none;" />
Line 63: srcExpanded: smf_images_url + \'/collapse.gif\',
Line 251: <img id="upshrink_ic" src="', $settings['images_url'], '/collapse.gif" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />
Line 490: srcExpanded: smf_images_url + \'/collapse.gif\',
  C:\wamp\www\smf202\Themes\core\Display.template.php (1 hits)
Line 720: sImageCollapsed: "collapse.gif",
  C:\wamp\www\smf202\Themes\core\PersonalMessage.template.php (1 hits)
Line 648: document.getElementById("expandLabelsIcon").src = smf_images_url + (current ? "/expand.gif" : "/collapse.gif");
  C:\wamp\www\smf202\Themes\core\Stats.template.php (4 hits)
Line 209: <img id="year_img_', $id, '" src="', $settings['images_url'], '/collapse.gif" alt="*" /> <a href="#year_', $id, '" id="year_link_', $id, '">', $year['year'], '</a>
Line 226: <img src="', $settings['images_url'], '/', $month['expanded'] ? 'collapse.gif' : 'expand.gif', '" alt="" id="img_', $month['id'], '" /> <a id="m', $month['id'], '" href="', $month['href'], '" onclick="return doingExpandCollapse;">', $month['month'], ' ', $month['year'], '</a>
Line 270: sYearImageExpanded: \'collapse.gif\',
Line 276: sMonthImageExpanded: \'collapse.gif\',
  C:\wamp\www\smf202\Themes\default\BoardIndex.template.php (4 hits)
Line 44: <img id="newsupshrink" src="', $settings['images_url'], '/collapse.gif" alt="*" title="', $txt['upshrink_description'], '" align="bottom" style="display: none;" />
Line 78: srcExpanded: smf_images_url + \'/collapse.gif\',
Line 311: <img class="icon" id="upshrink_ic" src="', $settings['images_url'], '/collapse.gif" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />
Line 515: srcExpanded: smf_images_url + \'/collapse.gif\',
  C:\wamp\www\smf202\Themes\default\Display.template.php (1 hits)
Line 980: sImageCollapsed: "collapse.gif",
  C:\wamp\www\smf202\Themes\default\ManageMaintenance.template.php (2 hits)
Line 228: document.getElementById("membersIcon").src = smf_images_url + (membersSwap ? "/collapse.gif" : "/expand.gif");
Line 382: document.getElementById("rotIcon").src = smf_images_url + (rotSwap ? "/collapse.gif" : "/expand.gif");
  C:\wamp\www\smf202\Themes\default\PersonalMessage.template.php (1 hits)
Line 653: document.getElementById("expandLabelsIcon").src = smf_images_url + (current ? "/expand.gif" : "/collapse.gif");
  C:\wamp\www\smf202\Themes\default\Post.template.php (2 hits)
Line 418: <img src="', $settings['images_url'], '/collapse.gif" alt="-" id="postMoreExpand" style="display: none;" /> <strong><a href="#" id="postMoreExpandLink">', $txt['post_additionalopt'], '</a></strong>
Line 761: srcExpanded: smf_images_url + \'/collapse.gif\',
  C:\wamp\www\smf202\Themes\default\Search.template.php (1 hits)
Line 222: document.getElementById("expandBoardsIcon").src = smf_images_url + (current ? "/expand.gif" : "/collapse.gif");
  C:\wamp\www\smf202\Themes\default\Stats.template.php (4 hits)
Line 367: <img id="year_img_', $id, '" src="', $settings['images_url'], '/collapse.gif" alt="*" /> <a href="#year_', $id, '" id="year_link_', $id, '">', $year['year'], '</a>
Line 386: <img src="', $settings['images_url'], '/', $month['expanded'] ? 'collapse.gif' : 'expand.gif', '" alt="" id="img_', $month['id'], '" /> <a id="m', $month['id'], '" href="', $month['href'], '" onclick="return doingExpandCollapse;">', $month['month'], ' ', $month['year'], '</a>
Line 435: sYearImageExpanded: \'collapse.gif\',
Line 441: sMonthImageExpanded: \'collapse.gif\',
  C:\wamp\www\smf202\Themes\zone99_20\BoardIndex.template.php (4 hits)
Line 32: <img id="newsupshrink" src="', $settings['images_url'], '/collapse.gif" alt="*" title="', $txt['upshrink_description'], '" align="bottom" style="display: none;" />
Line 66: srcExpanded: smf_images_url + \'/collapse.gif\',
Line 294: <img class="icon" id="upshrink_ic" src="', $settings['images_url'], '/collapse.gif" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />
Line 498: srcExpanded: smf_images_url + \'/collapse.gif\',
--- End code ---

So, yes, it does find some cases (I have 3 themes installed but as you see, it's in the default theme)

Texan78:
It doesn't exist, it's a figment of your imagination.

Can you please explain why you want to change the location? As in you want to move it to a different directory? If so please see the first question as please explain why you are wanting to do this so other can help you better. There may be a better solution for what you are trying to accomplish.

colorpinpoint:
@Arantor what program did u use to search the files

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version