Freiheit
MarieJacobs
/var/www/protected/views/image/download_menu.php(2)
01 <?php 02 session_start(); 03 $session_id = stripslashes(strip_tags(session_id())); 04 if($_GET["postId"]){$postId = $_GET["postId"];} 05 if(!$postId){$postId = 0;} 06 echo" 07 <div class='worklet-title hide'>".$this->t('Download image')."</div> 08 <div id='download_wrapper' style='width:650px; font-size:12px'> 09 <div style='float:left'> 10 <div rel='tooltip' title='".$this->t('Up to 400x400px')."' id='download_small' onclick='download_image(1,".$postId.",\"".$session_id."\",1)' class='fade download_choice foto_preview'><strong>".$this->t('SMALL')."</strong><br>".$this->t('With Logo')."<br>".$this->t('Free')."</div> 11 <div rel='tooltip' title='".$this->t('Up to 800x800px')."' id='download_small' onclick='download_image(2,".$postId.",\"".$session_id."\",1)' class='fade download_choice foto_preview'><strong>".$this->t('MEDIUM')."</strong><br>".$this->t('With Logo')."<br>".$this->t('Members only')."</div> 12 13 <div class='clearfix'></div> 14 <div class='alert hide' id='download_alert' style='padding-right:20px; margin-top:10px'>
#0 |
+
–
/var/www/protected/views/image/download_menu.php(2): session_start() 1 <?php 2 session_start(); 3 $session_id = stripslashes(strip_tags(session_id())); 4 if($_GET["postId"]){$postId = $_GET["postId"];} 5 if(!$postId){$postId = 0;} 6 echo" 7 <div class='worklet-title hide'>".$this->t('Download image')."</div> |
#1 |
+
–
/var/www/framework/yii/framework/web/CBaseController.php(119): require("/var/www/protected/views/image/download_menu.php") 114 $data=$_data_; 115 if($_return_) 116 { 117 ob_start(); 118 ob_implicit_flush(false); 119 require($_viewFile_); 120 return ob_get_clean(); 121 } 122 else 123 require($_viewFile_); 124 } |
#2 |
+
–
/var/www/framework/yii/framework/web/CBaseController.php(88): CBaseController->renderInternal("/var/www/protected/views/image/download_menu.php", array("postId" => "235175"), true) 83 { 84 $widgetCount=count($this->_widgetStack); 85 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 86 $content=$renderer->renderFile($this,$viewFile,$data,$return); 87 else 88 $content=$this->renderInternal($viewFile,$data,$return); 89 if(count($this->_widgetStack)===$widgetCount) 90 return $content; 91 else 92 { 93 $widget=end($this->_widgetStack); |
#3 |
+
–
/var/www/framework/yii/framework/web/CController.php(866): CBaseController->renderFile("/var/www/protected/views/image/download_menu.php", array("postId" => "235175"), true) 861 */ 862 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 863 { 864 if(($viewFile=$this->getViewFile($view))!==false) 865 { 866 $output=$this->renderFile($viewFile,$data,true); 867 if($processOutput) 868 $output=$this->processOutput($output); 869 if($return) 870 return $output; 871 else |
#4 |
+
–
/var/www/protected/modules/picture/worklets/WPictureView.php(76): CController->renderPartial("/image/download_menu", array("postId" => "235175")) 71 72 73 echo" 74 <hr> 75 <div style='width:100px'><strong>".$this->t('Download Image')."</strong></div>"; 76 app()->controller->renderPartial('/image/download_menu',array("postId"=>$this->post->id)); 77 78 echo"<hr>"; 79 80 app()->controller->worklet('picture.comment.list', array('postId' => $this->post->id, 'asView' => 1)); 81 app()->controller->worklet('picture.likes.list', array('postId' => $this->post->id)); |
#5 |
unknown(0): WPictureView->taskRenderOutput()
|
#6 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWorklet.php(94): call_user_func_array(array(WPictureView, "taskrenderOutput"), array()) 89 if(method_exists($this,'before'.$name)) 90 if(($before = call_user_func_array(array($this,'before'.$name),$parameters))!==null) 91 return $before; 92 // worklet task 93 $result = method_exists($this,'task'.$name) 94 ? call_user_func_array(array($this,'task'.$name),$parameters) 95 : parent::__call('task'.$name,$parameters); 96 // worklet after 97 $parameters['result'] = $result; 98 if(method_exists($this,'after'.$name)) 99 if(($after = call_user_func_array(array($this,'after'.$name),$parameters))!==null) |
#7 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWidgetWorklet.php(65): UWorklet->__call("renderOutput", array()) 60 * @return string worklet output. 61 */ 62 public function run($return=false) 63 { 64 ob_start(); ob_implicit_flush(false); 65 $this->renderOutput(); 66 $output = ob_get_clean(); 67 68 $this->registerScripts(); 69 70 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) |
#8 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWidgetWorklet.php(65): WPictureView->renderOutput() 60 * @return string worklet output. 61 */ 62 public function run($return=false) 63 { 64 ob_start(); ob_implicit_flush(false); 65 $this->renderOutput(); 66 $output = ob_get_clean(); 67 68 $this->registerScripts(); 69 70 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) |
#9 |
+
–
/var/www/protected/modules/base/worklets/WBaseInit.php(273): UWidgetWorklet->run() 268 $orderer = new UWorkletOrderer($ids); 269 $ids = $orderer->order(); 270 271 app()->controller->beginClip($space); 272 foreach($ids as $id) 273 wm()->worklets->itemAt($id)->run(); 274 app()->controller->endClip(); 275 } 276 } 277 278 /** |
#10 |
unknown(0): WBaseInit->taskRecordClips()
|
#11 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWorklet.php(94): call_user_func_array(array(WBaseInit, "taskrecordClips"), array()) 89 if(method_exists($this,'before'.$name)) 90 if(($before = call_user_func_array(array($this,'before'.$name),$parameters))!==null) 91 return $before; 92 // worklet task 93 $result = method_exists($this,'task'.$name) 94 ? call_user_func_array(array($this,'task'.$name),$parameters) 95 : parent::__call('task'.$name,$parameters); 96 // worklet after 97 $parameters['result'] = $result; 98 if(method_exists($this,'after'.$name)) 99 if(($after = call_user_func_array(array($this,'after'.$name),$parameters))!==null) |
#12 |
+
–
/var/www/protected/modules/base/worklets/WBaseInit.php(132): UWorklet->__call("recordClips", array()) 127 // finally it will render using renderText 128 case 'normal': 129 wm()->add('base.dialog'); 130 wm()->add('base.modal'); 131 $this->metaData(); 132 $this->recordClips(); 133 app()->controller->renderText($content); 134 break; 135 // ajax page render first records clips (worklets) 136 // then it renders "ajax" layout with an empty content 137 case 'ajax': |
#13 |
+
–
/var/www/protected/modules/base/worklets/WBaseInit.php(132): WBaseInit->recordClips() 127 // finally it will render using renderText 128 case 'normal': 129 wm()->add('base.dialog'); 130 wm()->add('base.modal'); 131 $this->metaData(); 132 $this->recordClips(); 133 app()->controller->renderText($content); 134 break; 135 // ajax page render first records clips (worklets) 136 // then it renders "ajax" layout with an empty content 137 case 'ajax': |
#14 |
unknown(0): WBaseInit->taskRenderPage()
|
#15 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWorklet.php(94): call_user_func_array(array(WBaseInit, "taskrenderPage"), array()) 89 if(method_exists($this,'before'.$name)) 90 if(($before = call_user_func_array(array($this,'before'.$name),$parameters))!==null) 91 return $before; 92 // worklet task 93 $result = method_exists($this,'task'.$name) 94 ? call_user_func_array(array($this,'task'.$name),$parameters) 95 : parent::__call('task'.$name,$parameters); 96 // worklet after 97 $parameters['result'] = $result; 98 if(method_exists($this,'after'.$name)) 99 if(($after = call_user_func_array(array($this,'after'.$name),$parameters))!==null) |
#16 |
+
–
/var/www/protected/modules/base/worklets/WBaseInit.php(42): UWorklet->__call("renderPage", array()) 37 38 public function taskBuild() 39 { 40 $this->config(); 41 $this->worklet(); 42 $this->renderPage(); 43 } 44 45 /** 46 * Initialization: verify current language, set render type to "ajax" 47 * if this is an ajax request. Register scripts otherwise. |
#17 |
+
–
/var/www/protected/modules/base/worklets/WBaseInit.php(42): WBaseInit->renderPage() 37 38 public function taskBuild() 39 { 40 $this->config(); 41 $this->worklet(); 42 $this->renderPage(); 43 } 44 45 /** 46 * Initialization: verify current language, set render type to "ajax" 47 * if this is an ajax request. Register scripts otherwise. |
#18 |
unknown(0): WBaseInit->taskBuild()
|
#19 |
+
–
/var/www/framework/uniprogy/framework/worklets/UWorklet.php(94): call_user_func_array(array(WBaseInit, "taskbuild"), array()) 89 if(method_exists($this,'before'.$name)) 90 if(($before = call_user_func_array(array($this,'before'.$name),$parameters))!==null) 91 return $before; 92 // worklet task 93 $result = method_exists($this,'task'.$name) 94 ? call_user_func_array(array($this,'task'.$name),$parameters) 95 : parent::__call('task'.$name,$parameters); 96 // worklet after 97 $parameters['result'] = $result; 98 if(method_exists($this,'after'.$name)) 99 if(($after = call_user_func_array(array($this,'after'.$name),$parameters))!==null) |
#20 |
+
–
/var/www/framework/uniprogy/framework/yii/web/actions/UAction.php(28): UWorklet->__call("build", array()) 23 /** 24 * UAction does only one thing - it launches an initial worklet. 25 */ 26 public function run() 27 { 28 wm()->get(wm()->getInitialWorklet())->build(); 29 } 30 } |
#21 |
+
–
/var/www/framework/uniprogy/framework/yii/web/actions/UAction.php(28): WBaseInit->build() 23 /** 24 * UAction does only one thing - it launches an initial worklet. 25 */ 26 public function run() 27 { 28 wm()->get(wm()->getInitialWorklet())->build(); 29 } 30 } |
#22 |
+
–
/var/www/framework/yii/framework/web/actions/CAction.php(72): UAction->run() 67 { 68 $method=new ReflectionMethod($this, 'run'); 69 if($method->getNumberOfParameters()>0) 70 return $this->runWithParamsInternal($this, $method, $params); 71 else 72 return $this->run(); 73 } 74 75 /** 76 * Executes a method of an object with the supplied named parameters. 77 * This method is internally used. |
#23 |
+
–
/var/www/framework/yii/framework/web/CController.php(300): CAction->runWithParams(array("language" => "de", "id" => "235175", "Freiheit" => "")) 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 if($action->runWithParams($this->getActionParams())===false) 301 $this->invalidActionParams($action); 302 else 303 $this->afterAction($action); 304 } 305 $this->_action=$priorAction; |
#24 |
+
–
/var/www/framework/yii/framework/web/filters/CFilterChain.php(134): CController->runAction(UAction) 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#25 |
+
–
/var/www/framework/yii/framework/web/filters/CFilter.php(41): CFilterChain->run() 36 */ 37 public function filter($filterChain) 38 { 39 if($this->preFilter($filterChain)) 40 { 41 $filterChain->run(); 42 $this->postFilter($filterChain); 43 } 44 } 45 46 /** |
#26 |
+
–
/var/www/framework/yii/framework/web/filters/CFilterChain.php(131): CFilter->filter(CFilterChain) 126 { 127 if($this->offsetExists($this->filterIndex)) 128 { 129 $filter=$this->itemAt($this->filterIndex++); 130 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 131 $filter->filter($this); 132 } 133 else 134 $this->controller->runAction($this->action); 135 } 136 } |
#27 |
+
–
/var/www/framework/yii/framework/web/CController.php(283): CFilterChain->run() 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); 284 $this->_action=$priorAction; 285 } 286 } 287 288 /** |
#28 |
+
–
/var/www/framework/yii/framework/web/CController.php(257): CController->runActionWithFilters(UAction, array(array("UAccessFilter"))) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#29 |
+
–
/var/www/framework/yii/framework/web/CWebApplication.php(277): CController->run("view") 272 { 273 list($controller,$actionID)=$ca; 274 $oldController=$this->_controller; 275 $this->_controller=$controller; 276 $controller->init(); 277 $controller->run($actionID); 278 $this->_controller=$oldController; 279 } 280 else 281 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 282 array('{route}'=>$route===''?$this->defaultController:$route))); |
#30 |
+
–
/var/www/framework/yii/framework/web/CWebApplication.php(136): CWebApplication->runController("picture/view") 131 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 132 $_GET[$name]=$value; 133 } 134 else 135 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 136 $this->runController($route); 137 } 138 139 /** 140 * Registers the core application components. 141 * This method overrides the parent implementation by registering additional core components. |
#31 |
+
–
/var/www/framework/yii/framework/base/CApplication.php(158): CWebApplication->processRequest() 153 */ 154 public function run() 155 { 156 if($this->hasEventHandler('onBeginRequest')) 157 $this->onBeginRequest(new CEvent($this)); 158 $this->processRequest(); 159 if($this->hasEventHandler('onEndRequest')) 160 $this->onEndRequest(new CEvent($this)); 161 } 162 163 /** |
#32 |
+
–
/var/www/index.php(15): CApplication->run() 10 // ini_set('display_errors', 'Off'); 11 12 require_once($yii); 13 require_once(dirname(__FILE__).'/protected/components/UApp.php'); 14 15 Yii::createApplication('UApp',$config)->run(); |