BUGS-974: Image hot spot - dodajanje slike: ureditev porusenega okna pop-up in gumbov Potrdi-Zapri
This commit is contained in:
parent
d1fc5c65d5
commit
a0c60c3848
@ -2986,16 +2986,18 @@ class Vprasanje {
|
|||||||
echo '<div><textarea id="hotspot_image" name="hotspot_image" style="width:99%">'.$hotspot_image.'</textarea></div>';
|
echo '<div><textarea id="hotspot_image" name="hotspot_image" style="width:99%">'.$hotspot_image.'</textarea></div>';
|
||||||
|
|
||||||
echo '<br />';
|
echo '<br />';
|
||||||
|
|
||||||
//gumb Potrdi
|
|
||||||
echo '<span class="buttonwrapper spaceRight floatLeft">';
|
|
||||||
echo '<a class="ovalbutton ovalbutton_orange" href="#" onclick="hotspot_image_save(\''.$row['id'].'\'); hotspot_image_resize(\''.$row['id'].'\'); show_hot_spot_settings_from_editor (\''.$row['id'].'\', \''.$enota_orientation.'\', \''.$row['tip'].'\'); hotspot_image_button_update(\''.$row['id'].'\', \''.$lang['srv_hot_spot_load_image'].'\', \''.$lang['srv_hot_spot_edit_image'].'\'); return false; "><span>'.$lang['srv_potrdi'].'</span></a>';
|
|
||||||
echo '</span>';
|
|
||||||
|
|
||||||
|
//Gumba Potrdi in Zapri
|
||||||
|
echo '<div class="button_holder">';
|
||||||
|
|
||||||
|
//gumb Potrdi
|
||||||
|
echo '<button class="small white-blue" href="#" onclick="hotspot_image_save(\''.$row['id'].'\'); hotspot_image_resize(\''.$row['id'].'\'); show_hot_spot_settings_from_editor (\''.$row['id'].'\', \''.$enota_orientation.'\', \''.$row['tip'].'\'); hotspot_image_button_update(\''.$row['id'].'\', \''.$lang['srv_hot_spot_load_image'].'\', \''.$lang['srv_hot_spot_edit_image'].'\'); return false; "><span>'.$lang['srv_potrdi'].'</span></button>';
|
||||||
|
|
||||||
//gumb Zapri
|
//gumb Zapri
|
||||||
echo '<span class="buttonwrapper spaceRight floatLeft">';
|
echo '<button class="small blue" href="#" onclick="vrednost_cancel(); return false;"><span>'.$lang['srv_close_profile'].'</span></button>'."\n\r";
|
||||||
echo '<a class="ovalbutton ovalbutton_gray" href="#" onclick="vrednost_cancel(); return false;"><span>'.$lang['srv_close_profile'].'</span></a>'."\n\r";
|
|
||||||
echo '</span>';
|
echo '</div>';
|
||||||
|
//Gumba Potrdi in Zapri - konec
|
||||||
|
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
}
|
}
|
||||||
@ -3105,30 +3107,25 @@ class Vprasanje {
|
|||||||
|
|
||||||
echo '<br />';
|
echo '<br />';
|
||||||
|
|
||||||
|
|
||||||
//polje za vnos imena obmocja
|
//polje za vnos imena obmocja
|
||||||
echo '<span class="buttonwrapper spaceRight">';
|
|
||||||
echo $lang['srv_hot_spot_region_name'].': ';
|
echo $lang['srv_hot_spot_region_name'].': ';
|
||||||
echo '<input name="hotspot_region_name" value="'.$region_name.'">';
|
echo '<input name="hotspot_region_name" value="'.$region_name.'">';
|
||||||
echo '</span>';
|
|
||||||
|
|
||||||
echo '<br />';
|
|
||||||
echo '<br />';
|
|
||||||
|
|
||||||
|
//Gumba Potrdi in Zapri
|
||||||
|
echo '<div class="button_holder">';
|
||||||
// gumb Potrdi
|
// gumb Potrdi
|
||||||
echo '<span class="buttonwrapper spaceRight floatLeft">';
|
echo '<button class="small white-blue" href="#" onclick="hotspot_save_regions('.$row['spr_id'].', '.$last_hotspot_region_index.', '.$vrednost.', '.$hotspot_region_index.'); return false; "><span>'.$lang['srv_potrdi'].'</span></button>';
|
||||||
echo '<a class="ovalbutton ovalbutton_orange" href="#" onclick="hotspot_save_regions('.$row['spr_id'].', '.$last_hotspot_region_index.', '.$vrednost.', '.$hotspot_region_index.'); return false; "><span>'.$lang['srv_potrdi'].'</span></a>';
|
|
||||||
echo '</span>';
|
|
||||||
|
|
||||||
// gumb Zapri - konec
|
// gumb Zapri - konec
|
||||||
echo '<span class="buttonwrapper spaceRight floatLeft">';
|
echo '<button class="small blue" href="#" onclick="hotspot_region_cancel('.$row['spr_id'].', '.$vrednost.'); vrednost_cancel(); return false;"><span>'.$lang['srv_close_profile'].'</span></button>'."\n\r";
|
||||||
echo '<a class="ovalbutton ovalbutton_gray" href="#" onclick="hotspot_region_cancel('.$row['spr_id'].', '.$vrednost.'); vrednost_cancel(); return false;"><span>'.$lang['srv_close_profile'].'</span></a>'."\n\r";
|
|
||||||
echo '</span>';
|
echo '</div>';
|
||||||
|
//Gumba Potrdi in Zapri - konec
|
||||||
|
|
||||||
// tekst z navodili
|
// tekst z navodili
|
||||||
echo '<br />';
|
|
||||||
echo '<br />'.$lang['srv_hotspot_edit_region_msg'];
|
echo '<br />'.$lang['srv_hotspot_edit_region_msg'];
|
||||||
echo '<div id="hotspot_tips_'.$row['spr_id'].'" style="display:none">'.$lang['srv_hotspot_edit_region_tip_delete'].' <br />'.$lang['srv_hotspot_edit_region_tip_move'].'</div>';
|
echo '<div id="hotspot_tips_'.$row['spr_id'].'" style="display:none">'.$lang['srv_hotspot_edit_region_tip_delete'].' <br />'.$lang['srv_hotspot_edit_region_tip_move'].'</div>';
|
||||||
|
// tekst z navodili - konec
|
||||||
|
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -95,4 +95,12 @@ div.button_holder.editor_button_holder{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cke_reset{
|
||||||
|
width: 600px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.cke_toolgroup{
|
||||||
|
.cke_button{
|
||||||
|
position: inherit !important;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user