1<?php 2/** 3 * Options for the ryubin plugin 4 * 5 * @author Robert Kormann <ryubin@kormann.info> 6 */ 7 8$meta['primary_xml'] = array('string','_pattern'=>'/^[a-zA-Z0-9_]+.xml$/'); 9$meta['playmode'] = array('multichoice','_choices' => array('cube3x2','cube2x3','cube6','cube24','cylinder','doughnut','dualfisheye','fish2rect','fisheye','flat','simpleflat','sphere','sphere8','verticalfish2rect','verticalfisheye')); 10$meta['fov'] = array('numeric','_min'=>20,'_max'=>130); 11$meta['yaw'] = array('numeric','_min'=>-180,'_max'=>180); 12$meta['pitch'] = array('numeric','_min'=>-180,'_max'=>180); 13$meta['view_mode'] = array('multichoice','_choices' => array('1 rectilinear mode','2 orthogonal mode','3 hyperbolic mode')); 14$meta['hv_ratio'] = array('numeric','_min'=>0.1,'_max'=>10.0); 15$meta['lock_nadirs'] = array('onoff'); 16$meta['lock_vertical'] = array('onoff'); 17$meta['lock_fov'] = array('onoff'); 18$meta['limit_vertical'] = array('onoff'); 19$meta['top_limit'] = array('numeric','_min'=>10,'_max'=>90); 20$meta['bottom_limit'] = array('numeric','_min'=>10,'_max'=>90); 21$meta['limit_horizontal'] = array('onoff'); 22$meta['right_limit'] = array('numeric','_min'=>10,'_max'=>90); 23$meta['left_limit'] = array('numeric','_min'=>10,'_max'=>90); 24$meta['proj_implicit'] = array('onoff'); 25$meta['elevation'] = array('numeric','_min'=>1,'_max'=>90); 26$meta['depression'] = array('numeric','_min'=>1,'_max'=>90); 27$meta['proj_type'] = array('multichoice','_choices' => array('1 equi-distance projection','2 orthogonal projection')); 28$meta['adminMode'] = array('onoff'); 29$meta['width'] = array('numeric','_min'=>320,'_max'=>1920); 30$meta['height'] = array('numeric','_min'=>240,'_max'=>1080); 31$meta['bgcolor'] = array('string','_pattern'=>'/^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/'); 32$meta['smooth'] = array('onoff'); 33$meta['disable_wheel'] = array('onoff'); 34$meta['allowFullScreen'] = array('onoff'); 35$meta['allowScriptAccess'] = array('multichoice','_choices' => array('sameDomain','always')); 36