Witam! Czy ten "przepis" będzi działał z wersią LMS-a 1.8.1 Shyla
poniżej modyfikacja dla... 1.8.0rc3 Rosha (1.757.2.5/1.13.2.1) /lms/templates/welcome.html //line 270 wklej:
<TABLE WIDTH="100%" CELLPADDING="3"> <TR CLASS="DARK"> <TD COLSPAN="2" ALIGN="CENTER" CLASS="FALL"> <IMG SRC="img/cms.gif" ALT=""> <B>{t}Userpanel:{/t}</B> </TD> </TR> <TR CLASS="LIGHT"> {if $fields_changed} <TD WIDTH="50%" ALIGN="RIGHT" CLASS="FLEFTU"> <B><A HREF="?m=userpanel&module=info&f=changes"> {t}Userpanel changes for aply:{/t}</A></B> </TD> <TD WIDTH="50%" CLASS="FRIGHTU"> {$fields_changed} {else} <TD WIDTH="50%" ALIGN="CENTER" CLASS="FALL"> {t}No changes send from userpanel{/t}<BR> {/if} </TD> </TR> </TABLE>
/lms/modules/welcome.php //line 43 wklej
if($CONFIG['directories']['userpanel_dir']) { $fields_changed = count($DB->GetAll('SELECT id FROM up_info_changes')); $SMARTY->assign('fields_changed', $fields_changed); }
/lms/lib/locale/pl/strings.php //line 1623 wklej
$_LANG['Userpanel changes for aply:'] = 'Zmiany do zatwierdzenia'; $_LANG['No changes send from userpanel'] = ' Nie zgloszono zmian';
uczestnicy (1)
-
m.michalik