[Redizajn 1KA] - Moje ankete --> Uvoz besedila - v4
This commit is contained in:
parent
f15e50390f
commit
db9eda8981
@ -7,7 +7,7 @@ class Help {
|
|||||||
* ce smo v editmodu se bo prikazal textbox za urejanje helpa
|
* ce smo v editmodu se bo prikazal textbox za urejanje helpa
|
||||||
* ce smo v navadnem modu se bo prikazal help box
|
* ce smo v navadnem modu se bo prikazal help box
|
||||||
*/
|
*/
|
||||||
public static function display ($what) {
|
public static function display ($what, $title) {
|
||||||
global $admin_type, $lang;
|
global $admin_type, $lang;
|
||||||
|
|
||||||
$sql = sisplet_query("SELECT help FROM srv_help WHERE what='$what' AND lang='$lang[id]'");
|
$sql = sisplet_query("SELECT help FROM srv_help WHERE what='$what' AND lang='$lang[id]'");
|
||||||
@ -15,10 +15,10 @@ class Help {
|
|||||||
$help = $row['help'];
|
$help = $row['help'];
|
||||||
|
|
||||||
if ($admin_type == 0 && isset($_COOKIE['edithelp'])) {
|
if ($admin_type == 0 && isset($_COOKIE['edithelp'])) {
|
||||||
return ' <a href="/" id="help_'.$what.'" lang="'.$lang['id'].'" class="edithelp" onclick="return false;" title_txt="">(?)</a>';
|
return ' <a href="/" id="help_'.$what.'" lang="'.$lang['id'].'" class="edithelp" onclick="return false;" title_txt="">'.(empty($title) ? '(?)' : '<span class="faicon help2 title20"></span>').'</a>';
|
||||||
}
|
}
|
||||||
elseif ($help != '') {
|
elseif ($help != '') {
|
||||||
return ' <a href="/" id="help_'.$what.'" lang="'.$lang['id'].'" class="help" onclick="return false;" title_txt="">(?)</a>';
|
return ' <a href="/" id="help_'.$what.'" lang="'.$lang['id'].'" class="help" onclick="return false;" title_txt="">'.(empty($title) ? '(?)' : '<span class="faicon help2 title20"></span>').'</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -653,7 +653,7 @@ class NewSurvey{
|
|||||||
echo '<div class="fieldset anketa_from_text">';
|
echo '<div class="fieldset anketa_from_text">';
|
||||||
|
|
||||||
// Naslov
|
// Naslov
|
||||||
echo '<div class="title">' . $lang['srv_newSurvey_survey_from_text_title'] . ' '.Help::display('srv_create_survey_from_text').'</div>';
|
echo '<div class="title">' . $lang['srv_newSurvey_survey_from_text_title'] . ' '.Help::display('srv_create_survey_from_text', "title").'</div>';
|
||||||
echo '<p>' . $lang['srv_newSurvey_survey_from_text_text1'] . '</p>';
|
echo '<p>' . $lang['srv_newSurvey_survey_from_text_text1'] . '</p>';
|
||||||
echo '<p>' . $lang['srv_newSurvey_survey_from_text_text2'] . '</p>';
|
echo '<p>' . $lang['srv_newSurvey_survey_from_text_text2'] . '</p>';
|
||||||
echo '<p class="bottom32">' . $lang['srv_newSurvey_survey_from_text_text3'] . '</p>';
|
echo '<p class="bottom32">' . $lang['srv_newSurvey_survey_from_text_text3'] . '</p>';
|
||||||
@ -840,7 +840,7 @@ class NewSurvey{
|
|||||||
// Dodamo se textbox ce je samo vprasanje
|
// Dodamo se textbox ce je samo vprasanje
|
||||||
$text = preg_replace(
|
$text = preg_replace(
|
||||||
'/(<span class="variable_title">[^<>]+<\/span>)<br \/><br \/>/',
|
'/(<span class="variable_title">[^<>]+<\/span>)<br \/><br \/>/',
|
||||||
'$1<br /><input type="text" class="large" /><br /><br />',
|
'$1<br /><input type="text" class="large" /><br />',
|
||||||
$text
|
$text
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -853,13 +853,13 @@ class NewSurvey{
|
|||||||
// Dodamo se textbox na zadnjo vrstico ce je potrebno
|
// Dodamo se textbox na zadnjo vrstico ce je potrebno
|
||||||
$text = preg_replace(
|
$text = preg_replace(
|
||||||
'/(<span class="variable_title">[^<>]+<\/span>)\Z/',
|
'/(<span class="variable_title">[^<>]+<\/span>)\Z/',
|
||||||
'$1<br /><input type="text" class="large" />',
|
'$1<br /><input type="text" class="large" /><br />',
|
||||||
$text
|
$text
|
||||||
);
|
);
|
||||||
// Dodamo se textbox na prvo vrstico ce je potrebno
|
// Dodamo se textbox na prvo vrstico, ce je potrebno
|
||||||
$text = preg_replace(
|
$text = preg_replace(
|
||||||
'/(<span class="variable_title">[^<>]+<\/span>)<br \/><br \/>/',
|
'/(<span class="variable_title">[^<>]+<\/span>)<br \/>/',
|
||||||
'$1<br /><input type="text" class="large" /><br /><br />',
|
'$1<br /><input type="text" class="large" /><br />',
|
||||||
$text, 1
|
$text, 1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -5157,6 +5157,11 @@ span.faicon.medium::before,
|
|||||||
a.faicon.medium::before {
|
a.faicon.medium::before {
|
||||||
font-size: 24px !important;
|
font-size: 24px !important;
|
||||||
}
|
}
|
||||||
|
span.faicon.title20::before,
|
||||||
|
a.faicon.title20::before {
|
||||||
|
font-size: 20px !important;
|
||||||
|
margin-left: 16px;
|
||||||
|
}
|
||||||
span.faicon.normal::before,
|
span.faicon.normal::before,
|
||||||
a.faicon.normal::before {
|
a.faicon.normal::before {
|
||||||
font-size: 16px !important;
|
font-size: 16px !important;
|
||||||
@ -14329,7 +14334,7 @@ and open the template in the editor.
|
|||||||
}
|
}
|
||||||
#new_anketa_div .layout_right_item .layout_right_centering .anketa_from_text .from_text_sidebyside_holder #input_field_holder #input_field textarea {
|
#new_anketa_div .layout_right_item .layout_right_centering .anketa_from_text .from_text_sidebyside_holder #input_field_holder #input_field textarea {
|
||||||
width: 519px;
|
width: 519px;
|
||||||
height: 509px;
|
height: 370px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-color: #E5E5E5;
|
border-color: #E5E5E5;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
@ -14347,7 +14352,7 @@ and open the template in the editor.
|
|||||||
}
|
}
|
||||||
#new_anketa_div .layout_right_item .layout_right_centering .anketa_from_text .from_text_sidebyside_holder #preview_field_holder #preview_field {
|
#new_anketa_div .layout_right_item .layout_right_centering .anketa_from_text .from_text_sidebyside_holder #preview_field_holder #preview_field {
|
||||||
width: 519px;
|
width: 519px;
|
||||||
height: 509px;
|
height: 370px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
|
@ -26,6 +26,11 @@ a.faicon{
|
|||||||
font-size: 24px !important;
|
font-size: 24px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.title20::before {
|
||||||
|
font-size: 20px !important;
|
||||||
|
margin-left: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
&.normal::before {
|
&.normal::before {
|
||||||
font-size: 16px !important;
|
font-size: 16px !important;
|
||||||
}
|
}
|
||||||
|
@ -465,7 +465,7 @@ $skin_selector: $red;
|
|||||||
|
|
||||||
textarea{
|
textarea{
|
||||||
width: 519px;
|
width: 519px;
|
||||||
height: 509px;
|
height: 370px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
border-color: $gray;
|
border-color: $gray;
|
||||||
@ -488,7 +488,7 @@ $skin_selector: $red;
|
|||||||
|
|
||||||
#preview_field{
|
#preview_field{
|
||||||
width: 519px;
|
width: 519px;
|
||||||
height: 509px;
|
height: 370px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user