瀏覽代碼

! having a text variable name be gif with contents of png is lazy :P

Spuds 12 年之前
父節點
當前提交
ebbb6121fa
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 1
      Themes/default/ManageSmileys.template.php
  2. 1 0
      Themes/default/languages/ManageSmileys.english.php

+ 1 - 1
Themes/default/ManageSmileys.template.php

@@ -489,7 +489,7 @@ function template_editicon()
 						</dd>';
 	echo '
 						<dt>
-							<strong><label for="icon_filename">', $txt['smileys_filename'], '</label>: </strong><br /><span class="smalltext">', $txt['icons_filename_all_gif'], '</span>
+							<strong><label for="icon_filename">', $txt['smileys_filename'], '</label>: </strong><br /><span class="smalltext">', $txt['icons_filename_all_png'], '</span>
 						</dt>
 						<dd>
 							<input type="text" name="icon_filename" id="icon_filename" value="', !empty($context['icon']['filename']) ? $context['icon']['filename'] . '.gif' : '', '" class="input_text" />

+ 1 - 0
Themes/default/languages/ManageSmileys.english.php

@@ -92,5 +92,6 @@ $txt['icons_new_icon'] = 'New Message Icon';
 $txt['icons_location_first_icon'] = 'As First Icon';
 $txt['icons_location_after'] = 'After';
 $txt['icons_filename_all_gif'] = 'All files must be &quot;gif&quot; files';
+$txt['icons_filename_all_png'] = 'All files must be &quot;png&quot; files';
 $txt['icons_no_entries'] = 'There are currently no message icons configured.';
 ?>