News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[Theme] Pn-Pn for 1.1 RC 3

Started by weber, February 14, 2006, 09:35:58 PM

Previous topic - Next topic

Basie

Quote from: Jalkson on June 27, 2007, 11:40:33 PM
To answer your question god_made_me_do_it. 

Find this.
// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '<td class="maintab_off_' . $first . '">&nbsp;</td>' , '
<td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'off_back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '<td class="maintab_off_' . $last . '">&nbsp;</td>';


And after it add this.
// Show the [gallery] button.
echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '<td class="maintab_off_' . $first . '">&nbsp;</td>' , '
<td valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'off_back' , '">
<a href="', $scripturl, '?action=gallery">' , $txt['gallery'] , '</a>
</td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '<td class="maintab_off_' . $last . '">&nbsp;</td>';


Then open up the modifications.english.php file, and

After this
// Pn-Pn ADD

Add this
$txt['gallery'] = "Gallery";

This would be my first time telling someone how to edit.  If you have any trouble feel free to ask.

The above fix adds a new tab to access the gallery, however the link to the gallery settings (in the config menu of the admin pannel) is still missing.

Could someone please post the fix for this. Thanks.

Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Advertisement: