News:

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

Main Menu

aeva media greške

Started by antivladinforum, February 16, 2013, 01:52:22 PM

Previous topic - Next topic

antivladinforum

kad instaliram ovaj mod dobijam ovu grešku, većina modova nije ispravna za ovu verziju 2.0.4

57:





$results = array('aeva_lookup_test' => time(), 'aeva_lookup_result' => $test);
58:





if (!isset($modSettings['aeva_lookups']))
59:







$results['aeva_lookups'] = (int) $modSettings['aeva_lookup_result'];
60:





updateSettings($results);
61:
62:





$test = $txt['aeva_lookup_' . (empty($test) ? 'fail' : 'success')];
63:



}
64:



else
65:





$test = $txt['aeva_lookup_' . (empty($modSettings['aeva_lookup_result']) ? 'fail' : 'success')];
66:
67:



$is_curve = $settings['name'] == 'Curve' || $settings['name'] == 'Courbes'; // Replace Courbes with your theme name if you're using a Curve-based theme with a different name!
68:
69:



// If we're on the main settings page, fill the settings list, obviously... Duh!
70:



if (!$is_sites)
71:



{
72:





// Emphasis the result
73:





$test = $txt['aeva_lookups_desc'] . '<br /><span style="font-weight: bold; color: ' . (empty($modSettings['aeva_lookup_result']) ? 'red' : 'green') . '">' . $test . '</span>';
74:
75:





// Settings - SMF does the hard work for these. Apart from the various site sections which we have to build ourselves
76:





$config_vars = array(
==>77:







$warning_message,
78:







'',
79:







array('check', 'aeva_enable', null, 'aeva_enable'),
80:







'',
81:







array('check', 'aeva_lookups', null, 'aeva_lookups', 'subtext' => $test, 'disabled' => $modSettings['aeva_lookup_result'] ? 0 : 1),
82:







array('select', 'aeva_yq', array(&$txt['aeva_yq_default'], &$txt['aeva_yq_hd'])),
83:







'',
84:







array('select', 'aeva_titles', array(&$txt['aeva_titles_yes'], &$txt['aeva_titles_yes2'], &$txt['aeva_titles_no'], &$txt['aeva_titles_no2']), 'subtext' => $txt['aeva_titles_desc']),
85:







array('check', 'aeva_lookup_titles', 'subtext' => $txt['aeva_lookup_titles_desc']),
86:







array('select', 'aeva_inlinetitles', array(&$txt['aeva_inlinetitles_yes'], &$txt['aeva_inlinetitles_maybe'], &$txt['aeva_inlinetitles_no']), 'subtext' => $txt['aeva_inlinetitles_desc']),
87:







'',
88:







array('check', 'aeva_center', 'subtext' => $txt['aeva_center_desc']),
89:







array('check', 'aeva_incontext'),
90:







array('check', 'aeva_quotes'),
91:







array('check', 'aeva_fix_html'),
92:







array('check', 'aeva_includeurl', 'subtext' => $txt['aeva_includeurl_desc']),
93:







'',
94:







array('check', 'aeva_noscript', 'subtext' => $txt['aeva_noscript_desc']),
95:







array('check', 'aeva_expins', 'subtext' => $txt['aeva_expins_desc']),
96:







array('check', 'aeva_debug', 'subtext' => $txt['aeva_debug_desc']),
97:







'',

Advertisement: