Official eMule-Board: Via Webserver Is Not Possible To Search ".emulecollection"" - Official eMule-Board

Jump to content


Page 1 of 1

Via Webserver Is Not Possible To Search ".emulecollection"" possible fixs

#1 User is offline   Riso64Bit 

  • Magnificent Member
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 339
  • Joined: 24-March 09

Posted 12 February 2014 - 07:43 PM

add this
<option value="eMuleCollection">[eMuleCollection] (.emulecollection)</option>

in line 1944 of eMule.tmpl & in line 1086 in eMule Light.tmpl

in WebServer.cpp add at

if (thePrefs.GetCatCount()>1) 
		InsertCatBox(Out,0,pThis->m_Templates.sCatArrow,false,false,sSession,_T(""));
	else Out.Replace(_T("[CATBOX]"),_T(""));
        ...[CUT]
        Out.Replace(_T("[eMuleCollection")_GetPlainResString(IDS_SEARCH_EMULECOLLECTION));   //<------ add this



CString CWebServer::GetSubCatLabel(int cat) {
	switch (cat) {
		case -1: return _GetPlainResString(IDS_ALLOTHERS);
		case -2: return _GetPlainResString(IDS_STATUS_NOTCOMPLETED);
		case -3: return _GetPlainResString(IDS_DL_TRANSFCOMPL);
		case -4: return _GetPlainResString(IDS_WAITING);
		case -5: return _GetPlainResString(IDS_DOWNLOADING);
		case -6: return _GetPlainResString(IDS_ERRORLIKE);
		case -7: return _GetPlainResString(IDS_PAUSED);
		case -8: return _GetPlainResString(IDS_SEENCOMPL);
		case -9: return _GetPlainResString(IDS_VIDEO);
		case -10: return _GetPlainResString(IDS_AUDIO);
		case -11: return _GetPlainResString(IDS_SEARCH_ARC);
		case -12: return _GetPlainResString(IDS_SEARCH_CDIMG);
		case -13: return _GetPlainResString(IDS_SEARCH_DOC);
		case -14: return _GetPlainResString(IDS_SEARCH_PICS);
		case -15: return _GetPlainResString(IDS_SEARCH_PRG);
                case -16: return _GetPlainResString(IDS_SEARCH_EMULECOLLECTION) // <------ add this
	}
	return _T("?");
}


This post has been edited by Riso64Bit: 12 February 2014 - 07:49 PM

0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users